Filip Gruszczynski
300ccf4ab5
am 0ec1328f: Calculate outset hint when adding window.
...
* commit '0ec1328f85a08a610868856c688ebb8196c79c17':
Calculate outset hint when adding window.
2015-06-30 20:20:48 +00:00
Filip Gruszczynski
0ec1328f85
Calculate outset hint when adding window.
...
Outsets aren't dynamic so they are a great candidate for a hint when the
window is added through the window manager. Thanks to this during first
view hierarchy measure or wallpaper window layout they are immediately
available and don't require multiple measure/layout passes.
Bug: 21593814
Change-Id: I573c15ffbbe4fcd8a6ed9c5e4fcd6cfbbcd7434f
2015-06-30 12:42:17 -07:00
Anthony Hugh
a50fa71044
am 001df9ca: DO NOT MERGE: Introduce stem keycodes for Wear
...
* commit '001df9ca900f3098222a4920a0048d2eb947bd4e':
DO NOT MERGE: Introduce stem keycodes for Wear
2015-06-25 01:27:41 +00:00
Anthony Hugh
001df9ca90
DO NOT MERGE: Introduce stem keycodes for Wear
...
Cherry-pick from master
This change adds four new stem keycodes for Android Wear. These
keycodes are intended to represent the various hardware buttons
around the watch. There is one primary stem key that will be used
for power/settings and three generic stem keys that will be
customizable.
BUG: 21903503
Change-Id: I867cf79554c72d42c8acbb3ff8b1678e482d4fe2
2015-06-24 16:13:19 -07:00
Filip Gruszczynski
47249f2a9e
am cb89ac84: Merge "Support for devices with a chin." into cw-d-mr1-dev
...
* commit 'cb89ac84c621e047d81873428325dfd747b90a6b':
Support for devices with a chin.
2015-05-20 22:54:14 +00:00
Filip Gruszczynski
3e11bf33a6
Support for devices with a chin.
...
Information about the chin is now part of the config.xml instead of the
theme. It is retrieved by WindowManagerService and passed to the clients
as insets. Clients can adjust their behavior in a way that makes it
invisible to the user, that part of the surface doesn't actually exist.
Bug: 19908853
Change-Id: Iedf57bf3c848201b854f91ffeb3b59187d375c1f
2015-05-20 14:20:30 -07:00
Yigit Boyar
21cdbd298d
Revert "Make VPA.setInterpolator(null) unset the interpolator."
...
This reverts commit 58ae164100 .
Change-Id: I6d9942b41694f6a5e6c211df839aa385eea0c496
2015-05-18 23:38:41 +00:00
Vladislav Kaznacheev
58ae164100
Make VPA.setInterpolator(null) unset the interpolator.
...
Bug:21199392
Change-Id: Iae4b82254ddf6b60d442258e79ff0ea4d54c0a4d
2015-05-15 13:01:32 -07:00
John Reck
951f23478d
am d955dceb: am 862540cd: Merge "Revert "DO NOT MERGE Backport of limited jank-tracking metrics"" into lmp-mr1-dev
...
* commit 'd955dceb4f38f214e62024e808b2b1a21be41940':
Revert "DO NOT MERGE Backport of limited jank-tracking metrics"
2015-05-14 01:05:47 +00:00
John Reck
d955dceb4f
am 862540cd: Merge "Revert "DO NOT MERGE Backport of limited jank-tracking metrics"" into lmp-mr1-dev
...
* commit '862540cdb11a7128ae1fd670136f398645b4af7b':
Revert "DO NOT MERGE Backport of limited jank-tracking metrics"
2015-05-14 00:51:07 +00:00
John Reck
862540cdb1
Merge "Revert "DO NOT MERGE Backport of limited jank-tracking metrics"" into lmp-mr1-dev
2015-05-14 00:40:45 +00:00
John Reck
e869835d6a
am a5b28b92: am 69355eaa: Merge "DO NOT MERGE Backport of limited jank-tracking metrics" into lmp-mr1-dev
...
* commit 'a5b28b92b14d0949d43be6198fedc31872ad07f6':
DO NOT MERGE Backport of limited jank-tracking metrics
2015-05-13 22:07:15 +00:00
John Reck
a5b28b92b1
am 69355eaa: Merge "DO NOT MERGE Backport of limited jank-tracking metrics" into lmp-mr1-dev
...
* commit '69355eaa1c1f4bfc961d5dd9fdb0f3817d36d5f0':
DO NOT MERGE Backport of limited jank-tracking metrics
2015-05-13 21:52:50 +00:00
John Reck
25607a6642
Revert "DO NOT MERGE Backport of limited jank-tracking metrics"
...
This reverts commit 2614bd225f .
Change-Id: I344b4cbaa0bb0caf50bceb806d1446ee27ea52d8
2015-05-13 21:42:28 +00:00
John Reck
69355eaa1c
Merge "DO NOT MERGE Backport of limited jank-tracking metrics" into lmp-mr1-dev
2015-05-13 21:42:13 +00:00
Mathieu Chartier
765d7c3048
am ba6783b6: Merge "Update getExportedPropertyMethods to new reflection API"
...
* commit 'ba6783b69a34b05123d1e3da51e6a11a9e0ca115':
Update getExportedPropertyMethods to new reflection API
2015-04-21 23:26:49 +00:00
Mathieu Chartier
a8a6516f62
Update getExportedPropertyMethods to new reflection API
...
Bug: 19264997
Change-Id: Ife79c469fdb09f30e3aefcfc3e0ce5ed32303fce
2015-04-21 11:52:10 -07:00
Svetoslav
ffd24a58c8
am 13d8e41d: am c6be7545: am 37661db7: AccessibilityNodeInfo refresh returns a stale state. - DO NOT MERGE
...
* commit '13d8e41d3a866df0899a89c44c6afc4e2eb31bdc':
AccessibilityNodeInfo refresh returns a stale state. - DO NOT MERGE
2015-03-31 16:46:44 +00:00
Svetoslav
13d8e41d3a
am c6be7545: am 37661db7: AccessibilityNodeInfo refresh returns a stale state. - DO NOT MERGE
...
* commit 'c6be7545b4106b9ba586e365f2d2ab911cafea93':
AccessibilityNodeInfo refresh returns a stale state. - DO NOT MERGE
2015-03-31 16:41:00 +00:00
Svetoslav
c6be7545b4
am 37661db7: AccessibilityNodeInfo refresh returns a stale state. - DO NOT MERGE
...
* commit '37661db7fa58c0559ef2b73b6f8c38124e3acd4a':
AccessibilityNodeInfo refresh returns a stale state. - DO NOT MERGE
2015-03-31 16:33:21 +00:00
Svetoslav
37661db7fa
AccessibilityNodeInfo refresh returns a stale state. - DO NOT MERGE
...
AccessibilityNodeInfo refresh was getting the latest cached
state but this is not good enough as an accessibility service
can execute an action on the node and then refresh it to get
the new state.
bug:16954787
Change-Id: I004b4987b8dc423a2ab7031a4fbfe64365ddd7fe
(cherry picked from commit 5738fec00d )
2015-03-31 01:25:35 +00:00
Mathieu Chartier
d9dddea504
am 631565ab: Merge "Change getDeclaredFieldsUnchecked call to new return value"
...
* commit '631565abd6cadd65befe197afa7bac0d44f70fb2':
Change getDeclaredFieldsUnchecked call to new return value
2015-03-29 22:42:53 +00:00
Mathieu Chartier
3d529c5b0a
Change getDeclaredFieldsUnchecked call to new return value
...
Required for related libcore change.
Bug: 19264997
Change-Id: I17ca0cf4b9ba853e59f4a6eff3a05d9d90cf23f9
2015-03-27 18:55:50 -07:00
Griff Hazen
38f75097ff
am 0b42ff79: Merge "Allow emulator to select a window outset bottom" into lmp-mr1-modular-dev
...
* commit '0b42ff7916e6cc32c812a3be8f3e4ebdf96e8553':
Allow emulator to select a window outset bottom
2015-03-22 00:05:48 +00:00
Andreas Gampe
b078ff16a3
am 13dbc3d4: Merge "Frameworks/base: Fix potential NPE in InputMethod"
...
* commit '13dbc3d48d1c4ea8854f952f9ced4b7617ae5e87':
Frameworks/base: Fix potential NPE in InputMethod
2015-03-18 22:33:28 +00:00
John Reck
2614bd225f
DO NOT MERGE Backport of limited jank-tracking metrics
...
Bug: 19821830
Cherry-pick of ba6adf66d3
Cherry-pick of e70c5754d0
Change-Id: Id342fa0ab345f204bec58acf45ce72f6de950cfb
2015-03-18 14:22:01 -07:00
Andreas Gampe
4236ad7a2f
Frameworks/base: Fix potential NPE in InputMethod
...
Don't read the size of an unchecked list.
Bug: 19797138
Change-Id: I9d8c087aff7bc9cc1e8aae9a0b489e23b5442765
2015-03-17 21:07:21 -07:00
Andreas Gampe
14e436aec4
am 345a8f69: Merge "Frameworks/base: Fix a comparison"
...
* commit '345a8f69ea2acd6d3ecf4c200cb33e8037f8798c':
Frameworks/base: Fix a comparison
2015-03-17 00:25:04 +00:00
Andreas Gampe
345a8f69ea
Merge "Frameworks/base: Fix a comparison"
2015-03-17 00:12:25 +00:00
Andreas Gampe
038b846284
am 5abcd06b: Merge "Frameworks/base: Fix always-false equals"
...
* commit '5abcd06b1f673a2d59d1aba5f4b95fe741ace274':
Frameworks/base: Fix always-false equals
2015-03-16 15:43:37 +00:00
Andreas Gampe
650989b0b5
Frameworks/base: Fix a comparison
...
Change-Id: I80d62869920e77110c95f20369ec2631c75f6ed4
2015-03-15 18:04:41 -07:00
Andreas Gampe
007cfa73b8
Frameworks/base: Fix always-false equals
...
Rect != Insets.
Change-Id: I3d4ff890608e446b51f09a1b633af742f0c069d4
2015-03-15 14:19:43 -07:00
Griff Hazen
a093802171
Allow emulator to select a window outset bottom
...
And clean up some copied around code.
Bug: 17440607
Change-Id: I5cf9c58b49110c4be1a77dc9c410fedc6b99aef3
2015-03-13 10:01:41 -07:00
Joe LaPenna
57bb5f5c8b
am c0c39516: Merge "Hold a wake lock while dozing when display updates are pending." into lmp-mr1-modular-dev
...
* commit 'c0c395162ff14b83694158663470ad60e065d9a9':
Hold a wake lock while dozing when display updates are pending.
2015-02-24 00:46:48 +00:00
Jeff Brown
c2932a1be3
Hold a wake lock while dozing when display updates are pending.
...
When the display state is DOZE or DOZE_SUSPEND, assume this means
that the AP may go to sleep at any time so hold a wake lock for
a little while starting when traversals are scheduled to ensure
that the AP remains awake long enough to draw and post the frame
to the display hardware.
This patch is somewhat approximate but should be good enough for
most devices today.
Note that the implementation uses the window manager to ensure that
the window which wants to draw is actually visible before acquiring
the wake lock. There is a cost to this test (a round-trip) which
should not be significant today since we do not expect apps to draw
more than one frame or two while dozing. However, if we wanted to
support animations in general, we might want to optimize it or
eliminate the check altogether (since we can already account for
the app's use of the wake lock).
Another way to implement this functionality might be for the view
hierarchy to listen for the power manager to report that it has entered
a non-interactive power state before deciding to poke draw locks.
This would be somewhat more accurate than watching the display state.
Also, the draw lock timeout logic could be implemented more directly
instead of using an ordinary timed wake lock.
Bug: 18284212
Change-Id: I84b341c678303e8b7481bd1620e634fe82cc4350
2015-02-20 10:54:09 -08:00
Svetoslav
04057e5d14
am 5136791b: am 599c1042: Accessibility: Ensure fresh accessilbity focused and input focused nodes. automerge: 27ad2e9
...
* commit '5136791b3429d1964b9202fb7caad52719408a61':
Accessibility: Ensure fresh accessilbity focused and input focused nodes.
2015-02-13 03:49:40 +00:00
Svetoslav
5136791b34
am 599c1042: Accessibility: Ensure fresh accessilbity focused and input focused nodes. automerge: 27ad2e9
...
* commit '599c1042896564906935bc688bbb85515a6dfa45':
Accessibility: Ensure fresh accessilbity focused and input focused nodes.
2015-02-13 03:43:29 +00:00
Svetoslav
599c104289
Accessibility: Ensure fresh accessilbity focused and input focused nodes.
...
automerge: 27ad2e9
* commit '27ad2e95b40fd0ca76de384695498ea114d627ca':
Accessibility: Ensure fresh accessilbity focused and input focused nodes.
2015-02-13 03:37:00 +00:00
Jeff Brown
f80fa0b5d9
am 6c477a29: am ec403e8f: Merge "Call startInput on return from sleep mode"
...
* commit '6c477a29bfc604f6dbf90e0d4ac5c99bc0ed2ff7':
Call startInput on return from sleep mode
2015-02-13 02:11:43 +00:00
Svetoslav
27ad2e95b4
Accessibility: Ensure fresh accessilbity focused and input focused nodes.
...
Change-Id: Ia3c84284843a415cdbbc2b6a9b06d9ddffbe0e04
2015-02-13 01:59:11 +00:00
Svetoslav
c052b0efce
am cf2c8545: am 5521f39f: am c73cfa0f: Accessibiltiy: missed update to the previous patch.
...
* commit 'cf2c8545bd6a8888801fa8c04d263879602eeb36':
Accessibiltiy: missed update to the previous patch.
2015-02-10 03:09:20 +00:00
Svetoslav
cf2c8545bd
am 5521f39f: am c73cfa0f: Accessibiltiy: missed update to the previous patch.
...
* commit '5521f39ff75d2af909061581e27810afaa9ed242':
Accessibiltiy: missed update to the previous patch.
2015-02-10 03:01:50 +00:00
Svetoslav
5521f39ff7
am c73cfa0f: Accessibiltiy: missed update to the previous patch.
...
* commit 'c73cfa0ffba344a83d61e2f4eb9715152a2807b8':
Accessibiltiy: missed update to the previous patch.
2015-02-10 02:51:30 +00:00
Svetoslav
c73cfa0ffb
Accessibiltiy: missed update to the previous patch.
...
Change-Id: I4c47d38f5e137dcc1c6db0561b3824a26572027d
2015-02-09 18:33:07 -08:00
Baligh Uddin
a314754575
am 2083173a: am fbf9666f: am b2ba6dfc: Merge "Accessibility: Handle a missed case when clicking focused views." into lmp-mr1-dev
...
* commit '2083173af997419fbc2e92627fe5500f91ac7e5b':
Accessibility: Handle a missed case when clicking focused views.
2015-02-10 01:25:54 +00:00
Baligh Uddin
2083173af9
am fbf9666f: am b2ba6dfc: Merge "Accessibility: Handle a missed case when clicking focused views." into lmp-mr1-dev
...
* commit 'fbf9666f846284ee1d4d09e2d36f0d2b92120656':
Accessibility: Handle a missed case when clicking focused views.
2015-02-10 01:17:42 +00:00
Baligh Uddin
fbf9666f84
am b2ba6dfc: Merge "Accessibility: Handle a missed case when clicking focused views." into lmp-mr1-dev
...
* commit 'b2ba6dfc7b33ec9e58d9f556206440a26069e264':
Accessibility: Handle a missed case when clicking focused views.
2015-02-10 01:07:08 +00:00
Svet Ganov
f33fe1f486
Accessibility: Handle a missed case when clicking focused views.
...
The special logic for clicking on views in accessibility mode should not
prevent event interception and if a view interceptes the gesture we must
clear the special flag and do normal event dispatch. Also once we have a
view handling the touch gesture we do not need the special flag as we
know what will handle the event. This tightly follows standard event
dispatching.
bug:19252492
Change-Id: I0c9764c5050ec73f5f7980f3f0340dd9509a725a
2015-02-07 10:36:59 -08:00
Bryce Lee
d1444b63a1
am 1d97aa4d: Merge "Allow single press of physical button to go home without sleeping." into lmp-mr1-modular-dev
...
* commit '1d97aa4d209d7019402a2925c2ca7eb2e36901c7':
Allow single press of physical button to go home without sleeping.
2015-02-07 00:39:18 +00:00
Bryce Lee
1d97aa4d20
Merge "Allow single press of physical button to go home without sleeping." into lmp-mr1-modular-dev
2015-02-07 00:32:27 +00:00