summaryrefslogtreecommitdiffstats
path: root/native
diff options
context:
space:
mode:
authorJeff Brown <jeffbrown@google.com>2011-03-02 14:41:58 -0800
committerJeff Brown <jeffbrown@google.com>2011-03-02 15:37:57 -0800
commit05dc66ada6b61a6bdf806ffaa62617ac5394695d (patch)
treea7e395476241706de31498185a5c2ccb979bcb54 /native
parente43111fad31ad8e36a66df52a8c6002799996413 (diff)
downloadframeworks_base-05dc66ada6b61a6bdf806ffaa62617ac5394695d.zip
frameworks_base-05dc66ada6b61a6bdf806ffaa62617ac5394695d.tar.gz
frameworks_base-05dc66ada6b61a6bdf806ffaa62617ac5394695d.tar.bz2
Fade out the mouse pointer after inactivity or other events.
Fades out the mouse pointer: - after 15 seconds of inactivity normally - after 3 seconds of inactivity in lights out mode - after a non-modifier key down - after a touch down Extended the native Looper to support enqueuing time delayed messages. This is used by the PointerController to control pointer fade timing. Change-Id: I87792fea7dbe2d9376c78cf354fe3189a484d9da
Diffstat (limited to 'native')
-rw-r--r--native/include/android/looper.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/native/include/android/looper.h b/native/include/android/looper.h
index a9d8426..24e3967 100644
--- a/native/include/android/looper.h
+++ b/native/include/android/looper.h
@@ -148,7 +148,8 @@ enum {
/**
* For callback-based event loops, this is the prototype of the function
- * that is called. It is given the file descriptor it is associated with,
+ * that is called when a file descriptor event occurs.
+ * It is given the file descriptor it is associated with,
* a bitmask of the poll events that were triggered (typically ALOOPER_EVENT_INPUT),
* and the data pointer that was originally supplied.
*