Phil Weaver
cf190ce1d2
Merge "Revert "Prohibit using recycled AccessibilityNodeInfos.""
2017-08-21 15:13:16 +00:00
TreeHugger Robot
a55e5640ed
Merge "Fix typo in Window.onDetachedFromWindow()"
2017-08-19 00:32:48 +00:00
Chet Haase
e7bf2191c9
Fix typo in Window.onDetachedFromWindow()
...
Bug: 64788487 Wrong description of the Window.Callback.onDetachedFromWindow()
Test: N/A (doc-only fix)
Change-Id: I33ee34e10fed64c593f74942e28e187358b6b212
2017-08-18 15:27:18 -07:00
Phil Weaver
e195129019
Revert "Prohibit using recycled AccessibilityNodeInfos."
...
This reverts commit 11e5e3f875 .
Change-Id: I389ab13ce63282f9e556ca63b61e392567de9bab
2017-08-18 17:56:04 +00:00
Wale Ogunwale
822e512127
Introducing WindowConfiguration
...
Used to house configurations that don't affect resources and that
we don't want to communicate to apps, but need to be propagated
along side Configuration.
Test: bit FrameworksServicesTests:com.android.server.wm.WindowConfigurationTests
Test: adb shell am instrument -w -e package com.android.server.wm com.android.frameworks.servicestests/android.support.test.runner.AndroidJUnitRunner
Change-Id: I97de3efbe6d5e1d3b07156a8cfbce9be5eae5cb5
2017-08-18 07:57:06 -07:00
Casey Burkhardt
4262286fda
Merge "Make isAccessibilityButtonSupported public" into oc-mr1-dev am: 8e74686fb4
...
am: 58770c5759
Change-Id: I65262bf2903b72d60bb4d9cef5be145d8f1f0acd
2017-08-18 01:11:03 +00:00
Doris Liu
f374446100
Merge "Expose necessary methods/fields to CTS using testApi"
2017-08-18 00:30:14 +00:00
Casey Burkhardt
02f3b807db
Make isAccessibilityButtonSupported public
...
Bug: 62342696
Test: Builds
Change-Id: I02082f2db349181473b2a7fd367fc8892d495fc1
2017-08-17 02:50:45 -07:00
Felipe Leme
e48324fecd
Merge "Revert "Dismiss Autofill Save UI when a new Activity is launched."" into oc-mr1-dev am: 10d176009d
...
am: d946caaaef
Change-Id: Icff915376a79348074c2b84ef9e52cc15e27d35c
2017-08-17 06:05:30 +00:00
Philip P. Moltmann
e066ae3661
Merge "Don't get struct of children of !laidout viewGroup" into oc-mr1-dev am: 4c0e55d0fc
...
am: a6338b9dae
Change-Id: Ia1b71dbcfd9bc5560aaa810faf26ad9c3244f783
2017-08-17 04:17:47 +00:00
Romain Guy
11159d15ed
Merge "Merge "Hide shared buffer mode/auto refresh on Surface" into oc-mr1-dev am: ee3602595a" into oc-mr1-dev-plus-aosp
...
am: 9446e27025
Change-Id: Ib0068aee9bc2c4c7b605c5ba024c1fa7c0b59cf4
2017-08-17 03:17:39 +00:00
TreeHugger Robot
10d176009d
Merge "Revert "Dismiss Autofill Save UI when a new Activity is launched."" into oc-mr1-dev
2017-08-17 03:07:02 +00:00
Doris Liu
197a67435d
Expose necessary methods/fields to CTS using testApi
...
BUG: 62066083
Test: CtsViewTestCases
Change-Id: Iea7d752e38d046e3547c41cb987115472a7630f6
2017-08-17 01:04:45 +00:00
Philip P. Moltmann
4c0e55d0fc
Merge "Don't get struct of children of !laidout viewGroup" into oc-mr1-dev
2017-08-16 23:49:21 +00:00
Felipe Leme
cf1ff6ca3d
Revert "Dismiss Autofill Save UI when a new Activity is launched."
...
This reverts commit 05ea98a3f9 .
Bug: 64693551
Change-Id: I8e7a7b2c5f575cee28f977ae7f3c10752a15d49c
2017-08-16 23:34:06 +00:00
TreeHugger Robot
abe61c2a47
Merge "Add deltaX/Y to a11y scroll events"
2017-08-16 23:33:09 +00:00
Romain Guy
010f082490
Hide shared buffer mode/auto refresh on Surface
...
Bug: 63858546
Test: Compile & boot
Change-Id: I34372593d4b47b143e65d30f669f883c69653f62
2017-08-16 10:02:10 -07:00
Philip P. Moltmann
083d8aace7
Don't get struct of children of !laidout viewGroup
...
Some view groups (e.g. the support.v4.viewPager) need to be laid out
to determine the order of it's children. As we need the order before
being able to collect the structure of the children we need to skip
their collection until they are laid out.
Fixes: 38198484
Test: cts-tradefed run cts-dev -m CtsAutoFillServiceTestCases
cts-tradefed run cts-dev -m CtsAccessibilityTestCases
cts-tradefed run cts-dev -m CtsAccessibilityServiceTestCases
Change-Id: I1f7bee1505edaf70c9d9a686be6f9a76d8aedd0b
2017-08-16 16:03:15 +00:00
Felipe Leme
50563050c6
Merge "Dismiss Autofill Save UI when a new Activity is launched." into oc-mr1-dev am: 3568046048
...
am: 409ae8857e
Change-Id: I0d48ebe7fa7c5b033e2f3b72d6444ada8c05200f
2017-08-15 18:36:44 +00:00
Felipe Leme
05ea98a3f9
Dismiss Autofill Save UI when a new Activity is launched.
...
Test: manual verification using Settings
Test: cts-tradefed run commandAndExit cts-dev -m CtsAutoFillServiceTestCases -tandroid.autofillservice.cts.SimpleSaveActivityTest#testDismissSave_byLaunchingNewActivity
Test: cts-tradefed run commandAndExit cts-dev -m CtsAutoFillServiceTestCases -tandroid.autofillservice.cts.LoginActivityTest#testSaveGoesAwayWhenLaunchingNewActivity
Test: cts-tradefed run commandAndExit cts-dev -m CtsAutoFillServiceTestCases
Fixes: 64693551
Change-Id: I323031c7285a4b49f9f0ca06618425a0ab7833da
2017-08-14 17:56:30 -07:00
Steven Timotius
af03df6a7a
Update WindowManager to output dumpsys in protobuf format
...
Implement enough functionality in protobuf dumpsys to replicate
old functionaltiy in android.server.cts.WindowManagerState
Test: cts-tradefed run commandAndExit cts-dev --module CtsWindowManagerHostTestCases
cts-tradefed run commandAndExit cts-dev --module CtsServicesHostTestCases
Change-Id: Ib527ab3f44620a08cf03b77c37c2bae883d90e13
2017-08-14 17:06:17 -07:00
Cindy Kuang
a585058b54
Merge "Merge "docs: replaced "i.e." to fix formatting error" into oc-dev am: 0580ac8a65 am: 1e6401b07e" into oc-dr1-dev-plus-aosp am: a54ab7edf4
...
am: 3e85fa11ea
Change-Id: I3219a23702cb0d597093f03d2bebcf21722ca695
2017-08-11 21:43:11 +00:00
Cindy Kuang
61130c49a3
Merge "docs: replaced "i.e." to fix formatting error" into oc-dev am: 0580ac8a65
...
am: 07f5257b19
Change-Id: I0ac6fa46922bb2866cfb416763dfcfac10fdd909
2017-08-11 21:34:57 +00:00
Cindy Kuang
3e85fa11ea
Merge "Merge "docs: replaced "i.e." to fix formatting error" into oc-dev am: 0580ac8a65 am: 1e6401b07e" into oc-dr1-dev-plus-aosp
...
am: a54ab7edf4
Change-Id: I0350cf5af828990539d0fa9ec925feef54348a49
2017-08-11 21:16:29 +00:00
Cindy Kuang
07f5257b19
Merge "docs: replaced "i.e." to fix formatting error" into oc-dev
...
am: 0580ac8a65
Change-Id: I094bd99bcaaf51633ac887d38a9323ed5fdc54e2
2017-08-11 21:01:15 +00:00
Cindy Kuang
43adc3d4e3
Merge "docs: replaced "i.e." to fix formatting error" into oc-dev am: 0580ac8a65
...
am: 1e6401b07e
Change-Id: I48f9a5fc207a2c884e51c9091bd19db9bdf15471
2017-08-11 21:01:11 +00:00
Phil Weaver
5e64084a6e
resolve merge conflicts of b90e2c85c0 to master
...
Test: I solemnly swear I tested this conflict resolution.
Change-Id: Iea5014345e8a1efd9a30cd8bb18684bdc310ac85
2017-08-10 18:07:33 -07:00
Phil Weaver
34f79a67ee
Merge "Stop focusing views before layout." into oc-dr1-dev
...
am: a5dab05b61
Change-Id: I31f4ce541ac56887549a654b5e313e1f361152c3
2017-08-10 22:44:39 +00:00
Phil Weaver
a5dab05b61
Merge "Stop focusing views before layout." into oc-dr1-dev
2017-08-10 22:34:03 +00:00
Evan Rosky
c10cc1185b
Merge "Disabled views won't receive focus"
2017-08-10 20:32:03 +00:00
Phil Weaver
edbcf2c4bf
Stop focusing views before layout.
...
Rolls back one line of ag/2257919.
Bug: 63811145
Test: TalkBack no longer reads the page backwards in:
Settings > System > Reset > Factory data reset
Settings > Connected devices > Android Beam
Change-Id: I6b04e64cd650ebda193da4a54bf0721bd256820c
2017-08-10 12:31:34 -07:00
Cindy Kuang
12d3747c0b
docs: replaced "i.e." to fix formatting error
...
Test: make ds-docs
Bug: 6440865
Change-Id: I428476ddfe55f14df531ea6a1c3e3a09f7a29e7d
2017-08-10 09:59:58 -07:00
Phil Weaver
dd42d9329c
Merge "Merge "Fix source for PiP hover accessibility events" into oc-dr1-dev am: a4b5e0893f" into oc-mr1-dev am: 794d663e42
...
am: 03023d28a3
Change-Id: Iddf9666cd9f61cc54e006118cdaf51c70ce35d54
2017-08-10 01:35:52 +00:00
Phil Weaver
7cf51ed889
Merge "Fix source for PiP hover accessibility events" into oc-dr1-dev
...
am: a4b5e0893f
Change-Id: I5e79cbadd085c2ce3eacae628388ce13bdded508
2017-08-10 00:19:04 +00:00
Phil Weaver
a4b5e0893f
Merge "Fix source for PiP hover accessibility events" into oc-dr1-dev
2017-08-10 00:13:04 +00:00
Tony Mak
fe931c058b
Merge "Optimize filterByLanguage by caching locale objects" into oc-mr1-dev am: cb5a109d17
...
am: 3c5890286b
Change-Id: Ie6f1892cb334433e1bc38f9bce1a42bf23456d80
2017-08-09 18:52:23 +00:00
TreeHugger Robot
cb5a109d17
Merge "Optimize filterByLanguage by caching locale objects" into oc-mr1-dev
2017-08-09 18:35:01 +00:00
Phil Weaver
0a8caa1ccc
Fix source for PiP hover accessibility events
...
The events were ending up not important for a11y and
with invalid window ids, which prevented TalkBack from
seeing them properly.
Bug: 64428961
Test: Ran YouTube in PiP, now able to select it.
Change-Id: I38ccbf5f2f35ffda255b84f229e98ca23e6b11aa
2017-08-09 11:28:41 -07:00
Tony Mak
afcd19c71e
Optimize filterByLanguage by caching locale objects
...
According to traceview, most of the time spent in filterByLanguage
is calling getLocaleObject to create java.util.Locale objects.
The solution is to cache the object to save the cost. Note that both
mSubtypeLangugageTag and mSubtypeLocale are final, so it is fine to
cache the locale object.
Test: bit FrameworksCoreTests:android.view.inputmethod.InputMethodSubtypeTest
Test: bit FrameworksCoreTests:com.android.internal.inputmethod.LocaleUtilsTest
Test: Try to switch user back and forth, and tap a textview to show IME.
Bug: 37647204
Fix: 37647213
Change-Id: Ib6ff7e97b17fc547c8109af8177f05fc3ea41b08
2017-08-09 15:50:57 +00:00
Felipe Leme
c58ef479e3
Clarifies autofill lifecycle. am: 744976e298 am: af40bb0dc4 am: 9457911997
...
am: 7bf5b6cb58
Change-Id: Id63a96d7c388c69066580163b092d9948c0c8364
2017-08-09 12:56:48 +00:00
Felipe Leme
9457911997
Clarifies autofill lifecycle. am: 744976e298
...
am: af40bb0dc4
Change-Id: I48f797f62c120b352045cb93e5067ee20c3154d3
2017-08-09 12:30:16 +00:00
TreeHugger Robot
891f481ef8
Merge "Refactoring: Deprecate Paint.mNativeTypeface."
2017-08-08 19:48:05 +00:00
Seigo Nonaka
318ca04079
Refactoring: Deprecate Paint.mNativeTypeface.
...
Bug: 64269689
Test: m checkbuild
Test: bit CtsGraphicsTestCases:*
Test: bit CtsViewTestCases:*
Test: bit CtsTextTestCases:*
Change-Id: Idc9f2b4612741be949204cd06efc41e1738d6587
2017-08-08 18:07:28 +00:00
Felipe Leme
af40bb0dc4
Clarifies autofill lifecycle.
...
am: 744976e298
Change-Id: Ia1c9652ded5c5ea6af9dc7872f89bd776a58e6d4
2017-08-08 17:34:14 +00:00
Felipe Leme
744976e298
Clarifies autofill lifecycle.
...
Test: m update-api
Bug: 64125551
Bug: 64114048
Change-Id: I17c5bc2e2e64fa27e877301dbcb983ac8497209e
2017-08-07 17:22:50 -07:00
Andrii Kulian
4e61506474
Merge "Merge "Add black frame behind app window" into oc-dr1-dev am: cbdaf04101 am: cdcc9dd0dd" into oc-mr1-dev-plus-aosp
...
am: 5c6f9676cb
Change-Id: Ifb0afb96bea83d9b05e0fd6db9e78bb8e0375de7
2017-08-07 22:44:41 +00:00
Andrii Kulian
cdea2b5ab8
Merge "Add black frame behind app window" into oc-dr1-dev am: cbdaf04101
...
am: cdcc9dd0dd
Change-Id: I1391ee22429cbc3cefe7f16fb9e2cc76d48ec870
2017-08-07 22:29:34 +00:00
Andrii Kulian
66994114e7
Merge "Add black frame behind app window" into oc-dr1-dev
...
am: cbdaf04101
Change-Id: I9ce5cf5aea7f0fd93fbe24664bbd583d5057d3e6
2017-08-07 22:21:08 +00:00
Jeff Sharkey
1fb3a312e7
Merge "Fix broken javadocs." into oc-mr1-dev am: b79eb54d36
...
am: 1ad38fe278
Change-Id: I21266d20be036196dbeddb9c4366d641ab1b68a8
2017-08-06 17:00:09 +00:00
Jeff Sharkey
67f9d5070a
Fix broken javadocs.
...
Bug: 64337634
Test: make -j32 doc-comment-check-docs
Change-Id: I20fdd3dcddef09111d35946c41c596c7689effa6
2017-08-06 07:37:08 -06:00