Evan Rosky
d114e0fc59
Improve rect-level focus ordering
...
Previously views were ordered strictly by their tops. This
lead to many cases of tab-focus moving "backwards". For example
a horizontal row of views with different heights would not
always move start-to-end.
Bug: 34854951
Bug: 33848452
Test: Run against UX-provided localized focus-orders to make sure
it improves behavior. Added a sanity-check CTS test for
well-behaved (simple) layouts.
Change-Id: I5b01a301e0bbcbcad472ffdb26ebf4fbb6380756
2017-04-12 17:15:43 -07:00
Chad Brubaker
055b51af28
Merge "Expose more settings to Instant Apps" into oc-dev
2017-04-12 23:51:42 +00:00
Evan Rosky
a0ce440d60
Merge "Fix focus ordering with duplicate ids" into oc-dev
2017-04-12 23:50:04 +00:00
Roozbeh Pournader
d39388219f
Merge "Revert "Make selection end handle stick to selection at line end."" into oc-dev
2017-04-12 23:22:40 +00:00
Rob Carr
7040f573f3
Merge "Fix auto-pip visibility issues." into oc-dev
2017-04-12 22:46:26 +00:00
TreeHugger Robot
18d993bb72
Merge changes from topics 'KeyboardFocusHighlight-oc-dev', 'KeyboardFocusHighlight_ mDefaultFocusHighlightEnabled-oc-dev', 'KeyboardFocusHighlight_ hasFocusStateSpecified-oc-dev' into oc-dev
...
* changes:
Fix broken CTS tests.
Draw a default focus highlight if needed.
Add a public API defaultFocusHighlightEnabled.
Detect unhandled keyboard focused state.
2017-04-12 22:40:15 +00:00
TreeHugger Robot
c240c9b134
Merge "clear calling identity before calling settings provider" into oc-dev
2017-04-12 22:09:24 +00:00
Amit Mahajan
682ce66309
Merge "Add p2 option in openLogicalChannel." into oc-dev
2017-04-12 22:02:39 +00:00
Dianne Hackborn
81bfe1f62e
Merge "Allow appops command to modify uid ops." into oc-dev
2017-04-12 21:37:52 +00:00
Svet Ganov
84ec9cbace
Merge "[DO NOT MERGE] Allow multiple toasts for the focused app" into cw-f-dev am: 39c3d2cf16
...
am: 91ed4d7553 -s ours
Change-Id: Ia744f56107b83b6a5d5e236d24641bd7db71ab02
2017-04-12 21:21:56 +00:00
Julius D'souza
3a967f92f2
DO NOT MERGE: Remove the development privelege level from SET_DISPLAY_OFFSET. am: 0a8ecc6886
...
am: f72dd4142b -s ours
Change-Id: Ia99beb815b720219daecfdc9446c5ff2c4d1b16f
2017-04-12 21:20:47 +00:00
TreeHugger Robot
a402d6dd2f
Merge "Add autofill feature API" into oc-dev
2017-04-12 21:17:33 +00:00
Svet Ganov
91ed4d7553
Merge "[DO NOT MERGE] Allow multiple toasts for the focused app" into cw-f-dev
...
am: 39c3d2cf16
Change-Id: I3ddf7e0ceadd7c179f3c7de198658af190985f1b
2017-04-12 21:11:57 +00:00
Dianne Hackborn
ad6ab44e15
Merge "Add API to get a uid's current importance." into oc-dev
2017-04-12 21:11:46 +00:00
Julius D'souza
f72dd4142b
DO NOT MERGE: Remove the development privelege level from SET_DISPLAY_OFFSET.
...
am: 0a8ecc6886
Change-Id: I262e7497e9256f708847ba7c767f202c91aa1739
2017-04-12 21:10:49 +00:00
Makoto Onuki
b4c2e6f468
Merge ""bmgr restore" really should wait until operation finishes." into oc-dev
2017-04-12 21:10:37 +00:00
Dianne Hackborn
f74210c3a3
Merge "Fix issue #37220301 : Allow broadcasts with permissions to not be restricted" into oc-dev
2017-04-12 21:10:03 +00:00
Selim Gurun
c68b1a8aef
Merge "Deprecate findAddress() method" into oc-dev
2017-04-12 21:05:07 +00:00
TreeHugger Robot
39c3d2cf16
Merge "[DO NOT MERGE] Allow multiple toasts for the focused app" into cw-f-dev
2017-04-12 21:00:25 +00:00
TreeHugger Robot
755138bb1c
Merge "Make QS light" into oc-dev
2017-04-12 20:43:16 +00:00
Bill Yi
88ab6c1304
Merge "Import translations. DO NOT MERGE" into oc-dev
2017-04-12 20:19:39 +00:00
TreeHugger Robot
e7b806e9d2
Merge "Allow instant app resolution for any user" into oc-dev
2017-04-12 19:45:55 +00:00
Seigo Nonaka
1e924df63e
Merge "Update Typeface.Builder API to reflect API feedback." into oc-dev
2017-04-12 19:39:50 +00:00
TreeHugger Robot
684b5381e9
Merge "Rename WEB_ACTION_ENABLED to INSTANT_APPS_ENABLED" into oc-dev
2017-04-12 19:39:16 +00:00
TreeHugger Robot
e7ce1d40e1
Merge "Add documentation for 'am start-foreground-service'" into oc-dev
2017-04-12 19:37:26 +00:00
Julia Reynolds
43dd3ba3c4
Merge "Clear calling identity before verifying listeners" into oc-dev
2017-04-12 19:13:05 +00:00
Julius D'souza
0a8ecc6886
DO NOT MERGE: Remove the development privelege level from SET_DISPLAY_OFFSET.
...
Bug: 36515029
Test: the build still works.
Change-Id: I39ae2c55b6b2b0d6547f75f4ef06e62e3e5f0b84
(cherry picked from commit 8e9ea907448c49f573dd045707e37dd14efdf152)
2017-04-12 12:06:50 -07:00
Casey Burkhardt
9aa64e6cfa
Merge "Improved multiuser support for A11y button/Magnification" into oc-dev
2017-04-12 19:04:18 +00:00
TreeHugger Robot
c9a83326c2
Merge "Fill UI polish" into oc-dev
2017-04-12 18:54:32 +00:00
TreeHugger Robot
1f477fb270
Merge "Updates reportChooserSelection to be synchronized with queryUsageStats in UsageStatsService, to fix a flaky test." into oc-dev
2017-04-12 18:33:23 +00:00
Mady Mellor
8f395a16fb
Merge "Don't offer snooze for foreground service notifications" into oc-dev
2017-04-12 18:27:29 +00:00
Charles He
9f074e2224
Merge "Disallow direct-boot aware activities to bypass work lock" into oc-dev
2017-04-12 18:25:49 +00:00
Jiaquan He
fb62ecb220
Fix broken CTS tests.
...
The default focus highlight should be necessary when the view is
attached to window.
Test: cts-tradefed run singleCommand cts --skip-device-info
--skip-preconditions --abi armeabi-v7a -m CtsViewTestCases -t
android.view.cts.ViewTest
Test: cts-tradefed run singleCommand cts --skip-device-info
--skip-preconditions --abi armeabi-v7a -m CtsWidgetTestCases -t
android.widget.cts.MediaControllerTest
Bug: 37082416
Change-Id: I5d6b0c00b5ba03c8f62e4f71be9336823a73134b
2017-04-12 18:25:26 +00:00
Jiaquan He
8062949ece
Draw a default focus highlight if needed.
...
This commit draws a default highlight for a focused
View if it's detected to have no state_focused defined
and its useDefaultFocusHighlight attribute is true.
When we detect a default highlight is needed, we show it
on top of the view to. Once we detect that it's no longer
needed, we remove it.
Test: Check that views without a focused_state in its
state spec have a default highlight when they get focused.
Bug: 35096940
Change-Id: Ifbe4bb9e1297d98845314e24d8b758f14e5987a9
2017-04-12 18:24:52 +00:00
Jiaquan He
b7daaf8b5f
Add a public API defaultFocusHighlightEnabled.
...
This commit adds a public API to turn on/off default
focus highlights. When a focused View is detected to
have no state_focused defined, we can use this API to
decide wether we should show a default highlight for it.
Test: cts-tradefed run singleCommand cts --skip-device-info
--skip-preconditions --abi armeabi-v7a -m CtsViewTestCases
-t android.view.cts.View_DefaultFocusHighlightTest
Bug: 35096940
Change-Id: I76b45d6bf5761641a0ed7f4d0b04cb325ed72b52
2017-04-12 18:23:43 +00:00
TreeHugger Robot
2d1fb47916
Merge "Import translations. DO NOT MERGE" into oc-dev
2017-04-12 18:17:56 +00:00
Siyamed Sinir
37bfd57ead
Merge "Do not enforce paragraph constraint for copy ctr" into oc-dev
2017-04-12 18:09:58 +00:00
Makoto Onuki
a56ba60c94
"bmgr restore" really should wait until operation finishes.
...
Test: manual test
Bug 37246838
Change-Id: Ice381dc250e2d2a59cff48152dd3c8d6897d0804
2017-04-12 11:08:49 -07:00
Dianne Hackborn
0a0a63c8b1
Merge "Add new "work queue" feature to JobScheduler." into oc-dev
2017-04-12 17:55:56 +00:00
Dianne Hackborn
83249ec4f1
Add API to get a uid's current importance.
...
This is kind-of useful to go along with monitoring
uid importance changes.
Test: none yet
Change-Id: Ic0f8418955d17ea21d06f49dcd9641bc5f32387b
2017-04-12 10:54:31 -07:00
TreeHugger Robot
f63cb49b15
Merge "Revert "Transition from Activity to Broadcast for TV Search"" into oc-dev
2017-04-12 17:53:02 +00:00
TreeHugger Robot
7944962b7e
Merge "Change behavior of setBitmap to cleanly reset the canvas" into oc-dev
2017-04-12 17:37:08 +00:00
TreeHugger Robot
feaa8b0f01
Merge "Remove unused public APIs." into oc-dev
2017-04-12 17:31:44 +00:00
Soonil Nagarkar
25a263a303
Merge "Fix foreground importance bug in LocationManagerService." into oc-dev
2017-04-12 17:27:47 +00:00
Chad Brubaker
562afaf1e7
Expose more settings to Instant Apps
...
Test: Settings are accessible from an instant app
Change-Id: Ib6e5f603184bc94c8a47f010e1609b3021765403
2017-04-12 10:21:15 -07:00
Dongwon Kang
bf02434e79
Merge "TIF: add review rating columns to programs" into oc-dev
2017-04-12 17:12:23 +00:00
Jorim Jaggi
fe99773a70
Merge "Disallow task snapshot starting window for intent != ACTION_MAIN" into oc-dev
2017-04-12 17:06:15 +00:00
Jorim Jaggi
6846676b9b
Merge "Fix NPE in TaskSnapshotController" into oc-dev
2017-04-12 17:04:13 +00:00
Jason Monk
88b8dc5211
Merge "Updates for QS DND tile" into oc-dev
2017-04-12 17:00:39 +00:00
Jason Monk
ec9afcd4c5
Merge "Visual changes to dual target tiles" into oc-dev
2017-04-12 17:00:02 +00:00