Require software cursor for Android to make operations smooth

Bug #771674 reported by Jim Huang on 2011-04-27
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro Android
Fix Released
Undecided
Jim Huang

Bug Description

Because evaluation boards lack of usable touchscreen or input devices, we would like to implement software cursor for Android to make UI operation usable and smooth.

Jim Huang (jserv) wrote :

Incomplete but usable software cursor implementation for Android Gingerbread

Jim Huang (jserv) on 2011-04-27
Changed in linaro-android:
assignee: nobody → Jim Huang (jserv)
status: New → In Progress
Patrik Ryd (patrik-ryd) wrote :

Have verified the patch on Panda. It is usable.

Some problems found.
* Mouse does not move smoothly when dialog active on screen
* If the mouse has not been used for a while a keypress (on keyboard) is needed to wake mouse up again.

The patch was pushed to the linaro_android_2.3.3 branch to have some mouse support for the release.
http://git.linaro.org/gitweb?p=android/platform/frameworks/base.git;a=commit;h=3537671d57c0412427df095bf15828dfafe83a80

Changed in linaro-android:
status: In Progress → Fix Committed
Patrik Ryd (patrik-ryd) wrote :

<jserv--> patrikryd, In fact, I am going to submit new patch for software cursor
<jserv--> patrikryd, I'm afraid the incomplete patch confuses people already.

Changed in linaro-android:
status: Fix Committed → In Progress
Jim Huang (jserv) wrote :

Mouse does not move smoothly when dialog active on screen => Known to be an issue inside Android framework. 0xlab's Julian Chu is looking at this part already.

Jim Huang (jserv) wrote :

If the mouse has not been used for a while a keypress (on keyboard) is needed to wake mouse up again. => under investigation

Thanks for pointing out this.

Jim Huang (jserv) wrote :

NOTE: the implementation is reworked and inspired by discussion in android-x86. Android-x86 has its own final version though:
    http://git.android-x86.org/?p=platform/frameworks/base.git;a=commit;h=0b43638f3d3287e74bccdc6240556464b846ec28

Julian Chu (walkingice) wrote :

I have found that asac merged a patch which enable mouse cursor. Although it is usable, the cursor is still not smoothly once dialog show up.

If we compute dirty region aggressively to make composite region as less as possible, it might improve efficiency. The attachment should work.

Jim Huang (jserv) wrote :

Thanks for Julian's efforts. MERGED.

Changed in linaro-android:
status: In Progress → Fix Released
status: Fix Released → Fix Committed
Fathi Boudra (fboudra) wrote :
Changed in linaro-android:
milestone: none → 11.05
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers