hi dianne,
i checked the android issue list,, issues 1497 and 1740 are relevent to my
problem? willl these be fixed in comming release?

*http://code.google.com/p/android/issues/detail?id=1497#makechanges*<http://code.google.com/p/android/issues/detail?id=1497#makechanges>
-vinay

On Fri, Jan 30, 2009 at 3:08 PM, vinay <vinc...@gmail.com> wrote:

> ok, to be more specific scrolling is very jumpy..
> In ApiDemo->view -> Array option when I move the styllus very very slowly,
> in the begining screen scrolls slwoly and looks nice, as soon as I pick up
> the styllus (pen-up), Page scrolls abruplty up/down..how to fix this ?
>
>   On Fri, Jan 30, 2009 at 3:02 PM, Dianne Hackborn <hack...@android.com>wrote:
>
>> Are you saying that your hardware is behaving worse or different than the
>> G1, or that you want to change the framework to do something different?
>>
>> On Thu, Jan 29, 2009 at 11:48 PM, vinay harugop <vinc...@gmail.com>wrote:
>>
>>>
>>> hi,
>>> Is there a way in android to change UI response/speed/behaviour for
>>> touchpad event and during  scrolling ?
>>>
>>> Touch scrreen driver is wroking quite well and sending x, y and
>>> pressure during pen down/up.
>>>
>>> In Api Demos -> View > Lists > Array if stylus is moved very slowly
>>> (no pen-up) then whole screen automatically moves up/down. Some kind
>>> of more inertial behaviour for the current screen.
>>> below inetruupt handler routine snipp..
>>> regards,
>>> -vinay harugop
>>> --------------
>>> if( pin_value == 1)
>>>    {
>>> //pen up
>>>      input_report_abs(&d->idev, ABS_X, lastx);
>>>      input_report_abs(&d->idev, ABS_Y, lasty);
>>>      input_report_abs(&d->idev, ABS_PRESSURE, 0);
>>>      input_report_key(&d->idev, BTN_TOUCH,0 );
>>>      input_sync(&d->idev);
>>>      return;
>>>    }
>>>
>>>      tsc2003_read_xpos(d, PD_PENIRQ_DISARM, &x);
>>>      tsc2003_read_ypos(d, PD_PENIRQ_DISARM, &y);
>>>      tsc2003_read_pressure(d, PD_PENIRQ_DISARM, &p);
>>>
>>> //pen down
>>>      x=andrx(x);
>>>      y=andry(y);
>>>      lastx=x;lasty=y;
>>>      input_report_abs(&d->idev, ABS_X, x);
>>>      input_report_abs(&d->idev, ABS_Y, y);
>>>      input_report_abs(&d->idev, ABS_PRESSURE, p);
>>>      input_report_key(&d->idev, BTN_TOUCH,1 );
>>>      input_sync(&d->idev);
>>>      ReactivatePenIRQ(d);
>>>      tsc2003_restart_pen_up_timer(d);
>>>    return;
>>>
>>>
>>
>>
>> --
>> Dianne Hackborn
>> Android framework engineer
>> hack...@android.com
>>
>> Note: please don't send private questions to me, as I don't have time to
>> provide private support.  All such questions should be posted on public
>> forums, where I and others can see and answer them.
>>
>>
>> >>
>>
>

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---

Reply via email to