summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Rewrite touch navigation dpad synthesis.Jeff Brown2013-04-105-255/+495
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The new implementation more accurately tracks the velocity of flings and takes care to avoid obvious discontinuities. The main goal is for a fling to appear to be a linear extension of the movement already in progress. The minimum fling velocity is set to ensure that flings appear to be fairly smooth despite being discretized. Use sequences of repeated key events instead of individual down/up events to represent continuous motions in one direction which can be helpful for stopping flings at boundaries such as when flinging the cursor position within a text view. Compute the movement thresholds based on the physical size of the touch pad, if known. If not known, we assume a nominal size. Support stopping flings with a tap just like we do for normal touch events elsewhere in the framework. Moved the detection of ASSIST swipes into the InputReader where it belongs. These swipes must be detected globally to ensure consistent behavior across the all applications. Added a custom protocol in EventHub to enable input device drivers to override the timestamp of the following events in a packet. This change enables input device drivers that have a better idea of when an input event was actually generated to pass this information to the input system. Particularly useful with uinput. Bug: 8583760 Change-Id: I8ef4e827804786d549cfaa00793a2b9dd0fda465
* Add touchnavigation to input debugging command.Jeff Brown2013-04-101-3/+7
| | | | | Bug: 8583760 Change-Id: I9b150133e3d9ca9fe970550f5c0d7c18e6c7b558
* Split up the event synthesis code by source.Jeff Brown2013-04-102-569/+561
| | | | | | | | | | The goal is to better encapsulate this code to make it easier to maintain and to facilitate some upcoming changes. Some of the variables have been renamed but the logic is unchanged. Bug: 8583760 Change-Id: I45501f7dabebcb938e42c386291d615d088a4c8c
* Merge "Fix docs with deprecated resize1D" into jb-mr2-devJason Sams2013-04-101-1/+3
|\
| * Fix docs with deprecated resize1DJason Sams2013-04-091-1/+3
| | | | | | | | Change-Id: Id1774e1e8be1c1600efaa535cf330e659addb703
* | Merge "Add liblog" into jb-mr2-devYing Wang2013-04-1026-21/+40
|\ \ | |/ |/|
| * Add liblogYing Wang2013-04-0926-21/+40
| | | | | | | | | | Bug: 8580410 Change-Id: I746aa8258866508c3a725d0773faf4518096548f
* | Merge "Implement RS GC worker thread." into jb-mr2-devJason Sams2013-04-104-1/+75
|\ \
| * | Implement RS GC worker thread.Tim Murray2013-04-094-1/+75
| | | | | | | | | | | | | | | | | | Bug 8579360 Change-Id: I98a5509b68e592bcbb4958f2ca72c236a22910b5
* | | Merge "Cleanup Allocation and add 3D copies." into jb-mr2-devJason Sams2013-04-104-55/+270
|\ \ \
| * | | Cleanup Allocation and add 3D copies.Jason Sams2013-04-094-55/+270
| | | | | | | | | | | | | | | | | | | | | | | | bug 8567058 Change-Id: Ib05ff3de851bccfea1531ca6c1801153632a2a85
* | | | Merge "Integrate inverted menu panel assets" into jb-mr2-devAdam Powell2013-04-1010-2/+46
|\ \ \ \
| * | | | Integrate inverted menu panel assetsAdam Powell2013-04-0910-2/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add assets for menu panels when holo menus appear above their anchor rather than below. Bug 7049080 Change-Id: I7803f9414c2b2cb96274bf062adeccfc302a0d43
* | | | | Merge "rework GLSurfaceView so it can use the choreographer" into jb-mr2-devMathias Agopian2013-04-101-660/+378
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | rework GLSurfaceView so it can use the choreographerMathias Agopian2013-04-091-660/+378
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | GLSurfaceView will now automatically use the Choreographer to schedule render updates on VSYNC. This happens only in RENDERMODE_CONTINUOUSLY. GLSurfaceView was rewriten to use a Looper and a HandlerThread instead of a custom thread. The basic mode of operation is unchanged, however the implementation is largely different. Removed support for older GPUs which had a limited number of contexts. Bug: 8485730 Change-Id: I7b270f7ad7bb1259e858429054b1c8c9cc159dc6
* | | | | Merge "Fix a monkey bug with AbsListView data set observers" into jb-mr2-devAdam Powell2013-04-101-1/+1
|\ \ \ \ \
| * | | | | Fix a monkey bug with AbsListView data set observersAdam Powell2013-04-091-1/+1
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Several conditions can cause an AbsListView's data set observer to be removed and nulled out. If for some reason the view receives duplicate onDetachedFromWindow events this could cause AbsListView to attempt to unregister a null observer. Skip this unregister process if this happens. Bug 7088152 Change-Id: Ib0c630d1ee598640512023e4ef158f01e3ed474d
* | | | | Merge "Fix crash bug with mismatched iface names" into jb-mr2-devRobert Greenwalt2013-04-101-5/+7
|\ \ \ \ \
| * | | | | Fix crash bug with mismatched iface namesRobert Greenwalt2013-04-081-5/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The copied-to LinkProperties needs the same iface name as the copied from. Since we were copying into an empty LP this was trivial, but I changed the params to tighten up this contract - don't want to accidentally change an LP's iface name when we shouldn't. bug:8569797 Change-Id: I5f88826e37271a0549c14d004bb2f16983b950e6
* | | | | | Merge "Fix for ActionBar#setSelectedNavigationItem() in collapsed tab mode" ↵Adam Powell2013-04-091-0/+3
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | into jb-mr2-dev
| * | | | | | Fix for ActionBar#setSelectedNavigationItem() in collapsed tab modeAdam Powell2013-04-091-0/+3
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make sure the selected item is properly propagated to the collapsed spinner. Bug 6754308 Change-Id: Iaa4e331b00106b31c5984980d33e3ac88853ae4d
* | | | | | Update function comment for getAllCellInfoWink Saville2013-04-091-1/+2
| |_|_|/ / |/| | | | | | | | | | | | | | | | | | | Bug: 8235566 Change-Id: Iae9b11480605d5302ee45601d1357fc07f9bd3e1
* | | | | Merge "Add FW support for CellInfo RIL commands." into jb-mr2-devWink Saville2013-04-0910-17/+48
|\ \ \ \ \
| * | | | | Add FW support for CellInfo RIL commands.Wink Saville2013-04-0810-17/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 8235566 Change-Id: I7ad7dabc4b6c38bfba4461b08e6e30d0eb9efea1
* | | | | | Merge "Add APIs for application-generated systrace events" into jb-mr2-devJamie Gennis2013-04-093-15/+116
|\ \ \ \ \ \
| * | | | | | Add APIs for application-generated systrace eventsJamie Gennis2013-04-093-15/+116
| | |_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change adds new APIs to enable applications to generate custom Systrace begin/end events. Application-generated events use the ATRACE_APP_TAG tag, which is enabled only if either the application has declared itself debuggable in its manifest or ro.debuggable is set to 1 on the device. Change-Id: I311d09e2e6ed1a30f5ffa84907f250e11cc0d48d
* | | | | | Merge "Change the dither texture's swizzling" into jb-mr2-devRomain Guy2013-04-092-1/+5
|\ \ \ \ \ \
| * | | | | | Change the dither texture's swizzlingRomain Guy2013-04-092-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a more elegant way to sample from a float alpha texture. Instead of sampling from the red channel in the fragment shader we can set the alpha channel swizzle to redirect it to the red channel. This lets us sample from the alpha channel in the fragment shader and get the correct value. Change-Id: I95bbf7a82964e1bf42c0fee1b782b6bdbbcef618
* | | | | | | Adding public api support for finding contact changes.Chiao Cheng2013-04-092-2/+78
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | DeletedContacts holds a log of deleted contacts which will be pruned after a certain amount of time. A timestamp field has been added to contacts so clients can query for changes. Bug: 8182147 Change-Id: Ic6e56e567892712da3c3941400dfb3ddc565aaac
* | | | | | | Merge "Hide PlusinsEnabled/PluginsPath methods" into jb-mr2-devJonathan Dixon2013-04-092-4/+4
|\ \ \ \ \ \ \
| * | | | | | | Hide PlusinsEnabled/PluginsPath methodsJonathan Dixon2013-04-082-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These have been deprecated since API level 8 / 9. Plugins are deprecated overall now, so there's no requirement for apps to call these any more. Change-Id: I1a27557644238477df00979f9badc9aab0a526c6
* | | | | | | | Merge "Turn back on global proxy support." into jb-mr2-devRobert Greenwalt2013-04-091-15/+16
|\ \ \ \ \ \ \ \ | |_|_|/ / / / / |/| | | | | | |
| * | | | | | | Turn back on global proxy support.Robert Greenwalt2013-04-081-15/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts 138626. Bug:8557674 Change-Id: I7b117d313c424d75bdeeea507541a96342f256f0
* | | | | | | | am 405c6e2d: am d3724e02: am 2568d7f0: am 0bf013fd: am f417fc4a: fix xml ↵Scott Main2013-04-091-1/+1
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | error in sample * commit '405c6e2d656b628262ff3e3d0b79f58a46c839ec': fix xml error in sample
| * \ \ \ \ \ \ \ am d3724e02: am 2568d7f0: am 0bf013fd: am f417fc4a: fix xml error in sampleScott Main2013-04-091-1/+1
| |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'd3724e02d898b66a5b94cf0f2d3bbfaec5295b32': fix xml error in sample
| | * \ \ \ \ \ \ \ am 2568d7f0: am 0bf013fd: am f417fc4a: fix xml error in sampleScott Main2013-04-091-1/+1
| | |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '2568d7f0cb9ee568309a0347805a12b9e771b689': fix xml error in sample
| | | * \ \ \ \ \ \ \ am 0bf013fd: am f417fc4a: fix xml error in sampleScott Main2013-04-091-1/+1
| | | |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '0bf013fdbd11a18c010147aed5899034172feb9a': fix xml error in sample
| | | | * \ \ \ \ \ \ \ am f417fc4a: fix xml error in sampleScott Main2013-04-091-1/+1
| | | | |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'f417fc4a4f6aa577e0af08776825aa4569638f51': fix xml error in sample
| | | | | * | | | | | | | fix xml error in sampleScott Main2013-04-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I59ca15028c52e0be081f4e65308f88e06115f7fd
* | | | | | | | | | | | | Merge "Kill processes when permissions are revoked." into jb-mr2-devDianne Hackborn2013-04-094-13/+78
|\ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | Kill processes when permissions are revoked.Dianne Hackborn2013-04-084-13/+78
| | |_|_|_|_|_|_|_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some permissions are associated with gids, so we need to kill any running processes if their permission is revoked. We will do this for any permission being revoked, since the association between gids and permissions can change over time. Change-Id: Ieb7408e032539c4f21eb089d65a7a7e6c289f010
* | | | | | | | | | | | | Merge "Import translations. DO NOT MERGE" into jb-mr2-devBaligh Uddin2013-04-0949-1/+589
|\ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | Import translations. DO NOT MERGEBaligh Uddin2013-04-0849-1/+589
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ia150446de499f4272f73b1c5f30bf5adc7b0ae39 Auto-generated-cl: translation import
* | | | | | | | | | | | | | Merge "Update Droid Serif" into jb-mr2-devRaph Levien2013-04-094-0/+0
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|_|_|_|/ / / |/| | | | | | | | | | | | |
| * | | | | | | | | | | | | Update Droid SerifRaph Levien2013-04-084-0/+0
| | |_|_|_|_|_|_|_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch updates the Droid Serif fonts to version 20130131. This fixes bug 6180699 and should expand the range of combining marks (e.g. Polytonic Greek, African, Canadian aboriginal languages) significantly. Change-Id: I31975d0b35f5164b2da9fd7a5df0474aaed3ed5c
* | | | | | | | | | | | | Merge "Fix [-] buttons in the notification builder test." into jb-mr2-devDaniel Sandler2013-04-091-10/+14
|\ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | Fix [-] buttons in the notification builder test.Daniel Sandler2013-04-091-10/+14
| | |_|/ / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (Broken by change I9fae5a4a). Bug: 8564511 Change-Id: I0d5b65e6678018630c812c5616e9b3f068029e66
* | | | | | | | | | | | | Merge "Fix janky icon fade-in animation in Recents" into jb-mr2-devMichael Jurka2013-04-092-47/+155
|\ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | |
| * | | | | | | | | | | | Fix janky icon fade-in animation in RecentsMichael Jurka2013-04-082-47/+155
| | |_|/ / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | Change-Id: I15d2274add8903820dac3da0fa47c9e54f6ec97d
* | | | | | | | | | | | Fix tests build.Ying Wang2013-04-082-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I24d65c18018a8d6df6fa3414306fc0d586d4cfa2