summaryrefslogtreecommitdiffstats
path: root/services
Commit message (Collapse)AuthorAgeFilesLines
* am 5665770b: Merge "Fix deadlock in dispatcher. (DO NOT MERGE)" into ↵Jeff Brown2011-05-251-1/+0
|\ | | | | | | | | | | | | honeycomb-mr2 * commit '5665770bc4449a96f2365bec71fb012ca2e7bc81': Fix deadlock in dispatcher. (DO NOT MERGE)
| * Fix deadlock in dispatcher. (DO NOT MERGE)Jeff Brown2011-05-251-1/+0
| | | | | | | | | | | | This regression was caused due to a bad cherry-pick / merge. Change-Id: I79e84285bbfd4cd4b66681461543fb185b60d3ba
* | am b416e241: Fix bug reporting presence of orientation axis. (DO NOT MERGE)Jeff Brown2011-05-251-0/+2
|\ \ | |/ | | | | | | * commit 'b416e241db85b678cdfcdee1c74a7f356a5554ef': Fix bug reporting presence of orientation axis. (DO NOT MERGE)
| * Fix bug reporting presence of orientation axis. (DO NOT MERGE)Jeff Brown2011-05-251-0/+2
| | | | | | | | Change-Id: I20aecca392d2843601e6e0ec4ac913c8ccdbbf89
* | am 325bd07b: Add tap/drag touchpad gesture. (DO NOT MERGE)Jeff Brown2011-05-253-68/+162
|\ \ | |/ | | | | | | * commit '325bd07b311f8ba68079000e9fe8afbcc076d7b6': Add tap/drag touchpad gesture. (DO NOT MERGE)
| * Add tap/drag touchpad gesture. (DO NOT MERGE)Jeff Brown2011-05-253-68/+162
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The mapper sends a DOWN when the finger is released then starts a short timer. If the finger is not pressed again before the timer elapses, then the mapper sends an UP to complete the tap. If the finger is pressed again then the mapper starts sending MOVEs as part of a drag. Double/triple taps work as intended because we also start watching for a new tap when the finger is pressed again. If a new tap occurs the old tap is also finished. So each individual finger short press/release cycle constitutes a distinct tap. Change-Id: Id0a6ee10dd27e723f6cb04e56b43939abe9e940c
* | am 86ea1f5f: Initial checkin of spot presentation for touchpad gestures. (DO ↵Jeff Brown2011-05-2512-726/+1263
|\ \ | |/ | | | | | | | | | | NOT MERGE) * commit '86ea1f5f521981d075aef56f11693e4f3bc32fdb': Initial checkin of spot presentation for touchpad gestures. (DO NOT MERGE)
| * Initial checkin of spot presentation for touchpad gestures. (DO NOT MERGE)Jeff Brown2011-05-2512-726/+1263
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added a new PointerIcon API (hidden for now) for loading pointer icons. Fixed a starvation problem in the native Looper's sendMessage implementation which caused new messages to be posted ahead of old messages sent with sendMessageDelayed. Redesigned the touch pad gestures to be defined in terms of more fluid finger / spot movements. The objective is to reinforce the natural mapping between fingers and spots which means there must not be any discontinuities in spot motion relative to the fingers. Removed the SpotController stub and folded its responsibilities into PointerController. Change-Id: Ib647dbd7a57a7f30dd9c6e2c260df51d7bbdd18e
* | am a6dbfdd3: Add a sprite controller. (DO NOT MERGE)Jeff Brown2011-05-2510-219/+904
|\ \ | |/ | | | | | | * commit 'a6dbfdd3a858aac52cc87f80f91e8eef7d613605': Add a sprite controller. (DO NOT MERGE)
| * Add a sprite controller. (DO NOT MERGE)Jeff Brown2011-05-2510-219/+904
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refactored PointerController to extract the surface management code to a new component called a SpriteController so that it can be used to move finger tracking spots around the screen as well. The SpriteController is designed to fully decouple the client from any latency introduced by surface transactions and drawing. All sprite updates are performed asynchronously on the Looper using a copy of the sprite state. Added a stub SpotController implementation for touch pad UX. It will be implemented in a subsequent patch. Fixed a little bug in pointer orientation changes when entering DISPLAY_ORIENTATION_90 the x offset was clobbered. Change-Id: I6d59d80df9af61e93af50290e7776337d10c9d5a
* | am 5ced76a1: Coalesce input events that arrive faster than 333Hz. (DO NOT MERGE)Jeff Brown2011-05-253-21/+101
|\ \ | |/ | | | | | | * commit '5ced76a14350db56f1a80f00076f8be3d982c389': Coalesce input events that arrive faster than 333Hz. (DO NOT MERGE)
| * Coalesce input events that arrive faster than 333Hz. (DO NOT MERGE)Jeff Brown2011-05-253-21/+101
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some drivers report individual finger updates one at a time instead of all at once. When 10 fingers are down, this can cause the framework to have to handle 10 times as many events each with 10 times as much data. Applications like PointerLocation would get significantly bogged down by all of the redundant samples. This change coalesces samples that are closely spaced in time, before they are dispatched, as part of the motion event batching protocol. Increased the size of the InputChannel shared memory buffer so that applications can catch up faster if they accumulate a backlog of samples. Change-Id: Ibc6abf8af027d9003011ac75caa12941080caba3
* | am 7157f6fe: Allow batching samples onto the pending motion event. (DO NOT ↵Jeff Brown2011-05-251-0/+28
|\ \ | |/ | | | | | | | | | | MERGE) * commit '7157f6fe13ab7e2fef44cc33c95d1c531418220f': Allow batching samples onto the pending motion event. (DO NOT MERGE)
| * Allow batching samples onto the pending motion event. (DO NOT MERGE)Jeff Brown2011-05-251-0/+28
| | | | | | | | | | | | | | | | This enlarges the window of opportunity for batching to encompass time spent for the window to become ready (while it is busy processing the last event). Change-Id: I8870cc3081d27a4de659fb4e375f888fe966460b
* | am 36001a9f: Merge "Support chorded fallback keys. (DO NOT MERGE)" into ↵Jeff Brown2011-05-253-101/+227
|\ \ | |/ | | | | | | | | | | honeycomb-mr2 * commit '36001a9f48a1ff70504db4d2d8039f4a5f385caa': Support chorded fallback keys. (DO NOT MERGE)
| * Merge "Support chorded fallback keys. (DO NOT MERGE)" into honeycomb-mr2Jeff Brown2011-05-253-101/+227
| |\
| | * Support chorded fallback keys. (DO NOT MERGE)Jeff Brown2011-05-243-101/+227
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also be more careful about canceling fallback keys during focus transitions, when the application handles the key, or when the policy decides to do something different. Fixed a crash due to JNI CallObjectMethod returning an undefined value (not null) when an exception is thrown. Fixed a crash due to the policy trying to create a Dialog for recent apps on the dispatcher thread. It should happen on the policy's Looper instead. Bug: 4187302 Change-Id: I043f82913830f411b3bb4018d6422467b6ca454f
* | | am c2d200d4: Merge "Fix focused application handle. (DO NOT MERGE)" into ↵Jeff Brown2011-05-252-4/+5
|\ \ \ | |/ / | | | | | | | | | | | | | | | honeycomb-mr2 * commit 'c2d200d4fbf3b0a39bf7518cd9d97afec061c6bb': Fix focused application handle. (DO NOT MERGE)
| * | Merge "Fix focused application handle. (DO NOT MERGE)" into honeycomb-mr2Jeff Brown2011-05-252-4/+5
| |\ \ | | |/
| | * Fix focused application handle. (DO NOT MERGE)Jeff Brown2011-05-242-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix a bug where we were always setting the focused application handle to NULL. This broke ANR processing while starting applications and caused input events to be dropped while starting applications. Bug: 4174573 Change-Id: Ice7ce3a2b65219568a8227fc1383bafb294666b5
* | | am 266ea6b0: Merge "Optimize EventHub to process events in big chunks. (DO ↵Jeff Brown2011-05-255-138/+183
|\ \ \ | |/ / | | | | | | | | | | | | | | | NOT MERGE)" into honeycomb-mr2 * commit '266ea6b091d572eaa153e70574da97752b97180b': Optimize EventHub to process events in big chunks. (DO NOT MERGE)
| * | Merge "Optimize EventHub to process events in big chunks. (DO NOT MERGE)" ↵Jeff Brown2011-05-255-138/+183
| |\ \ | | |/ | | | | | | into honeycomb-mr2
| | * Optimize EventHub to process events in big chunks. (DO NOT MERGE)Jeff Brown2011-05-245-138/+183
| | | | | | | | | | | | | | | | | | | | | When 10 fingers are down, reduces the CPU time spent by the InputReader thread from ~30% to ~5% on Stingray. Change-Id: I42ee5c67b8521af715cbab43e763a4af4eb1f914
* | | am 85a7f99c: Merge "Refactor how timeouts are calculated. (DO NOT MERGE)" ↵Jeff Brown2011-05-256-24/+94
|\ \ \ | |/ / | | | | | | | | | | | | | | | into honeycomb-mr2 * commit '85a7f99cfe066f054d4ddf4feb737f0395c9943b': Refactor how timeouts are calculated. (DO NOT MERGE)
| * | Merge "Refactor how timeouts are calculated. (DO NOT MERGE)" into honeycomb-mr2Jeff Brown2011-05-256-24/+94
| |\ \ | | |/
| | * Refactor how timeouts are calculated. (DO NOT MERGE)Jeff Brown2011-05-236-24/+94
| | | | | | | | | | | | | | | | | | | | | | | | Added a timeout mechanism to EventHub and InputReader so that InputMappers can request timeouts to perform delayed processing of input when needed. Change-Id: I89c1171c9326c6e413042e3ee13aa9f7f1fc0454
* | | am 94e838f6: Merge "Improve VelocityTracker numerical stability. (DO NOT ↵Jeff Brown2011-05-251-4/+3
|\ \ \ | |/ / | | | | | | | | | | | | | | | MERGE)" into honeycomb-mr2 * commit '94e838f6e113f8cad30086a18f68da99976101d0': Improve VelocityTracker numerical stability. (DO NOT MERGE)
| * | Merge "Improve VelocityTracker numerical stability. (DO NOT MERGE)" into ↵Jeff Brown2011-05-251-4/+3
| |\ \ | | |/ | | | | | | honeycomb-mr2
| | * Improve VelocityTracker numerical stability. (DO NOT MERGE)Jeff Brown2011-05-231-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Replaced VelocityTracker with a faster and more accurate native implementation. This avoids the duplicate maintenance overhead of having two implementations. The new algorithm requires that the sample duration be at least 10ms in order to contribute to the velocity calculation. This ensures that the velocity is not severely overestimated when samples arrive in bursts. The new algorithm computes the exponentially weighted moving average using weights based on the relative duration of successive sample periods. The new algorithm is also more careful about how it handles individual pointers going down or up and their effects on the collected movement traces. The intent is to preserve the last known velocity of pointers as they go up while also ensuring that other motion samples do not count twice in that case. Bug: 4086785 Change-Id: I95054102397c4b6a9076dc6a0fc841b4beec7920
* | | am 82e4373e: Merge "Use touch pad gestures to manipulate the pointer. (DO ↵Jeff Brown2011-05-254-262/+1384
|\ \ \ | |/ / | | | | | | | | | | | | | | | NOT MERGE)" into honeycomb-mr2 * commit '82e4373ed3775395a23d161e58c003e82511921a': Use touch pad gestures to manipulate the pointer. (DO NOT MERGE)
| * | Merge "Use touch pad gestures to manipulate the pointer. (DO NOT MERGE)" ↵Jeff Brown2011-05-254-262/+1384
| |\ \ | | |/ | | | | | | into honeycomb-mr2
| | * Use touch pad gestures to manipulate the pointer. (DO NOT MERGE)Jeff Brown2011-05-234-262/+1384
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Single finger tap performs a click. 2. Single finger movement moves the pointer (hovers). 3. Button press plus movement performs click or drag. While dragging, the pointer follows the finger that is moving fastest. This is important if there are additional fingers down on the touch pad for the purpose of applying force to an integrated button underneath. 4. Two fingers near each other moving in the same direction are coalesced as a swipe gesture under the pointer. 5. Two or more fingers moving in arbitrary directions are transformed into touches in the vicinity of the pointer. This makes scale/zoom and rotate gestures possible. Added a native VelocityTracker implementation to enable intelligent switching of the active pointer during drags. Change-Id: I7b7ddacc724fb1306e1590dbaebb740d3130d7cd
* | | am 5520610c: Merge "Make adb shell am display-size persistent." into ↵Joe Onorato2011-05-251-1/+31
|\ \ \ | |/ / | | | | | | | | | | | | | | | honeycomb-mr2 * commit '5520610cb2612054c5d0bcec9d031f7b71faa349': Make adb shell am display-size persistent.
| * | Merge "Make adb shell am display-size persistent." into honeycomb-mr2Joe Onorato2011-05-251-1/+31
| |\ \
| | * | Make adb shell am display-size persistent.Joe Onorato2011-05-251-1/+31
| | | | | | | | | | | | | | | | Change-Id: If3d5d18729f4e89eb7e689994deadd996fd487e9
* | | | am 2a15eb55: Merge "Fix issue #4445007: DPM initializes some values to 1, ↵Dianne Hackborn2011-05-251-38/+79
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | instead of 0" into honeycomb-mr2 * commit '2a15eb559cfc18800b3e345995df76695a3ae4b2': Fix issue #4445007: DPM initializes some values to 1, instead of 0
| * | | Fix issue #4445007: DPM initializes some values to 1, instead of 0Dianne Hackborn2011-05-251-38/+79
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | Also fix not writing the settings file when an admin is removed. And take care of an old to-do about not removing an admin until after it has received the broadcast about it being disabled. Change-Id: I4ebe0ea0461222b65425b2c5438b646b572f18c8
* | | am 5d78e0b8: Merge "GPS: Change NTP polling interval from 4 to 24 hours" ↵Mike Lockwood2011-05-231-2/+2
|\ \ \ | |/ / | | | | | | | | | | | | | | | into honeycomb-mr2 * commit '5d78e0b8ea548da3fa88ae2190a9334297b992b6': GPS: Change NTP polling interval from 4 to 24 hours
| * | Merge "GPS: Change NTP polling interval from 4 to 24 hours" into honeycomb-mr2Mike Lockwood2011-05-231-2/+2
| |\ \
| | * | GPS: Change NTP polling interval from 4 to 24 hoursMike Lockwood2011-05-231-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 4 hours is excessive, and we want to save bandwidth on the NTP servers Change-Id: Ic5ac4f4a8e62167206f3f620ea51635a2ea771d6 Signed-off-by: Mike Lockwood <lockwood@android.com>
* | | | am 988b6648: Merge "MountService: Add StorageVolume as extra in storage ↵Mike Lockwood2011-05-231-30/+36
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | related broadcasts." into honeycomb-mr2 * commit '988b6648b0138fe1294228e17164b2f1d6a4042d': MountService: Add StorageVolume as extra in storage related broadcasts.
| * | | MountService: Add StorageVolume as extra in storage related broadcasts.Mike Lockwood2011-05-231-30/+36
| | |/ | |/| | | | | | | | | | Change-Id: I8e1a21ae233ba9812e58b363b59a66b260a01cbf Signed-off-by: Mike Lockwood <lockwood@android.com>
* | | Simplfy getActive* calls in ConnectivityServiceRobert Greenwalt2011-05-201-27/+2
| | | | | | | | | | | | | | | | | | | | | One had been simplified on GB, but somehow it didn't make it here. bug: 4463770 Change-Id: Ica51e836b1a7a489526a223168910b8e06c99c2b
* | | am b4788fdb: Do not merge. Backport two fixes for InputMethethodFrameworksatok2011-05-201-19/+58
|\ \ \ | |/ / | | | | | | | | | * commit 'b4788fdbfdda97bd9cfd0e483276934114d9c438': Do not merge. Backport two fixes for InputMethethodFramework
| * | Do not merge. Backport two fixes for InputMethethodFrameworksatok2011-05-201-19/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 3420384 backport cl1: Iaf293cf6c6fb35a994f344b0afc30e9f523032f4 backport cl2: I29d2555aeb7d0e51205d9f1fe0da708df0890942 Change-Id: Ia71ba27957fa818dc4ef8ff05b5fdb120b9650e0
* | | am 69cb8757: Add new "-swNNNdp" resource qualifier.Dianne Hackborn2011-05-191-11/+39
|\ \ \ | |/ / | | | | | | | | | * commit '69cb87576ba163b61bb0e6477a3b7c57a9b11d40': Add new "-swNNNdp" resource qualifier.
| * | Add new "-swNNNdp" resource qualifier.Dianne Hackborn2011-05-191-11/+39
| |/ | | | | | | Change-Id: I0101e88ca9d8d44138bdcaf571f24b0352f4f6ce
* | am 9c9088a5: Merge "Move softap config handling to WifiConfigStore" into ↵Irfan Sheriff2011-05-191-45/+6
|\ \ | |/ | | | | | | | | | | honeycomb-mr2 * commit '9c9088a54f6dee7a13dcc7a12297137147b01baa': Move softap config handling to WifiConfigStore
| * Merge "Move softap config handling to WifiConfigStore" into honeycomb-mr2Irfan Sheriff2011-05-191-45/+6
| |\
| | * Move softap config handling to WifiConfigStoreIrfan Sheriff2011-05-181-45/+6
| | | | | | | | | | | | | | | | | | | | | | | | Move softap config to flat file and read/write on a seperate handler thread Bug: 4391796 Change-Id: Iafe43200d7f829df7ced20a4e7b0ed451ad22a05