Kirill Grouchnikov
b2a44f0ec0
Mark a hidden MotionEvent method to be visible for tests
...
This allows CTS coverage for MotionEvent.isButtonPressed.
Bug: 31441257
Change-Id: I885b596f9f6f94c1cb48ff61c8002a28b4dd5ead
2016-09-14 17:49:36 -07:00
Kirill Grouchnikov
33d21b1a7a
Merge "Mark a hidden MotionEvent method to be visible for tests"
2016-09-14 21:39:14 +00:00
Kirill Grouchnikov
c0b0ba5532
Mark a hidden MotionEvent method to be visible for tests
...
This allows CTS coverage for MotionEvent.getActionButton.
Bug: 31441257
Change-Id: I9e9c9462a09f9ea82bb17cb53dc70c42fb4759e7
2016-09-13 17:28:56 -07:00
Vladislav Kaznacheev
048cc637c7
Update JavaDoc for DragEvent.getLocalState am: 048f3bfaf0 am: f96d962aac
...
am: ad4df22dc6
Change-Id: Ic45bc7172e9dcdb5f58db23809a38f0fb5b5da52
2016-09-13 08:18:00 +00:00
Phil Weaver
fc42d07993
Merge "Fix docs for AccessibilityAction."
2016-09-12 20:50:27 +00:00
Phil Weaver
c379129b15
Fix docs for AccessibilityAction.
...
Bug: 31428314
Change-Id: Ifd28b470f1bcd1c59f1456294c8d8bea986a27a4
2016-09-12 11:10:53 -07:00
John Reck
106253bdf2
Merge "Illegal behavior -> Exception"
2016-09-12 17:17:13 +00:00
John Reck
d94094e062
Illegal behavior -> Exception
...
Throw an IllegalStateException if the contract
of OnDrawListener is violated.
Change-Id: Ic86f6a0c8cd69ee7a8daa0ba135a3df76f56a213
2016-09-12 08:20:00 -07:00
Phil Weaver
7021998cdc
Merge "Make deep copies of a11y data."
2016-09-09 21:22:37 +00:00
Vladislav Kaznacheev
ad4df22dc6
Update JavaDoc for DragEvent.getLocalState am: 048f3bfaf0
...
am: f96d962aac
Change-Id: I7d46354086a490cf1716cca95cf88b39c5e850e1
2016-09-09 18:47:46 +00:00
Vladislav Kaznacheev
f96d962aac
Update JavaDoc for DragEvent.getLocalState
...
am: 048f3bfaf0
Change-Id: I53373b3292c4a10a01afa73eb417c105a83c970e
2016-09-09 18:42:35 +00:00
Vladislav Kaznacheev
048f3bfaf0
Update JavaDoc for DragEvent.getLocalState
...
Explicitly state that "local state" is local to the window
which has started the drag operation.
Bug: 31372686
Change-Id: Idbea7586c4e74097362067fa90390b97744181bb
2016-09-08 16:37:23 -07:00
Alan Viverette
dab82cc04c
Change density for the correct user am: df3a7cab8f am: 55768028fd
...
am: 48818fa811
Change-Id: I19f5810159ed772ac8ed1e9d498f8fe0036a95d0
2016-09-08 21:27:04 +00:00
Alan Viverette
48818fa811
Change density for the correct user am: df3a7cab8f
...
am: 55768028fd
Change-Id: I7d4eff0c732f0e3e83adc0044ab7ab015da74993
2016-09-08 21:19:24 +00:00
Alan Viverette
55768028fd
Change density for the correct user
...
am: df3a7cab8f
Change-Id: I4f4dfaa8f9035cdd4939d1d40e66ebac51811f73
2016-09-08 21:13:39 +00:00
Phil Weaver
552df581b9
Merge "Keep services updated of added views."
2016-09-08 16:35:19 +00:00
John Reck
b5c30800e5
Merge "Add API to copy a window"
2016-09-08 16:23:45 +00:00
Mark Lu
e88e093319
docs: fix grammar mistake in TextureView am: e8691d19cb am: 4ff96480b3
...
am: 43e0737ce0
Change-Id: Iba626dce4bea3d1426665e45f392e78f214dec30
2016-09-07 23:42:42 +00:00
Mark Lu
303fc8f54d
docs: fix grammar mistake in TextureView am: e8691d19cb am: c657eed270
...
am: c76ea3d727
Change-Id: I81b1b747ad06a78ca6a56fc1d281adf45aa0921b
2016-09-07 23:42:13 +00:00
Mark Lu
43e0737ce0
docs: fix grammar mistake in TextureView am: e8691d19cb
...
am: 4ff96480b3
Change-Id: I13790afb7f25cd73ce24ae84de63b1bf3b56332e
2016-09-07 23:35:46 +00:00
Mark Lu
c76ea3d727
docs: fix grammar mistake in TextureView am: e8691d19cb
...
am: c657eed270
Change-Id: Ie27e53ef83f31dc528df7db8973e6484d1b53230
2016-09-07 23:35:43 +00:00
Mark Lu
4ff96480b3
docs: fix grammar mistake in TextureView
...
am: e8691d19cb
Change-Id: I06b70cf94595bbb1b3903b1d17d201ac86f169a0
2016-09-07 23:29:26 +00:00
Mark Lu
c657eed270
docs: fix grammar mistake in TextureView
...
am: e8691d19cb
Change-Id: I857deef5cf08c9cdaf0d6e8e99449e688bec5ba5
2016-09-07 23:29:20 +00:00
Robert Carr
4522876250
SurfaceView: Correct coordinate space in windowPositionLostRT. am: 3387913237 am: d0c9771e49
...
am: bdf5fecc10
Change-Id: I3577db32b29be5ad42335e5eec5314ce50b3b878
2016-09-07 20:13:59 +00:00
Robert Carr
bdf5fecc10
SurfaceView: Correct coordinate space in windowPositionLostRT. am: 3387913237
...
am: d0c9771e49
Change-Id: I8cdb9f48a0c78e1c620b8e2c52a3dd7a45f8a90a
2016-09-07 19:34:49 +00:00
Robert Carr
d0c9771e49
SurfaceView: Correct coordinate space in windowPositionLostRT.
...
am: 3387913237
Change-Id: I7f28aab013bd6fe213a90e293664cc59ee6d23cf
2016-09-07 19:25:20 +00:00
John Reck
9580146f50
Add API to copy a window
...
Change-Id: I9bb5209010db6665be4b6f8db81a6fc1b7debc45
2016-09-07 11:41:15 -07:00
Robert Carr
3387913237
SurfaceView: Correct coordinate space in windowPositionLostRT.
...
mWinFrame as set when returning from relayout will be in screen
space coordinates. repositionChild however expects coordinates relative to the
parent position (like relayout).
Bug: 31112993
Change-Id: Id4fcd7fcb771908e8a7db981207d19c99fb51b98
2016-09-07 11:07:18 -07:00
Alan Viverette
df3a7cab8f
Change density for the correct user
...
Bug: 30839993
Change-Id: I5368accddfc4a03b8025a257b4155fcdc6197f11
2016-09-06 17:13:41 -04:00
Phil Weaver
93521c0043
Stop double notifying a11y about Toasts. am: 532c7999c5 am: de13bcf08b
...
am: 6e56bb4c14
Change-Id: Ia95d2eb44f3deee794986a420a622fb1c7de9e15
2016-09-06 19:21:33 +00:00
Phil Weaver
4d3eec411b
Keep services updated of added views.
...
We were marking subtree events as not important for
accessibility based on the root view, but that doesn't
take into account the fact that important children may have
changed. In particular, adding a View to the hierarchy was
sometimes marked as not important because the layout it was
attached to was not important.
Also fixing an issue with UiAutomation where it called out
to the test filter with a lock held.
Also fixing an issue where nodes that are the source of
accessibility events are always marked as important for
accessibility.
Bug: 31226561
Change-Id: Ib619948ba1bbcfd00aef1d10726152f6cf2dfccd
2016-09-06 10:05:27 -07:00
Phil Weaver
6e56bb4c14
Stop double notifying a11y about Toasts. am: 532c7999c5
...
am: de13bcf08b
Change-Id: Ie3ed51a4fe4c6c818bc96e98c214ec7b610f507d
2016-09-06 16:46:46 +00:00
Phil Weaver
de13bcf08b
Stop double notifying a11y about Toasts.
...
am: 532c7999c5
Change-Id: If8d025884b8a941386cd472403c1c93fee5a70af
2016-09-06 16:40:15 +00:00
Phil Weaver
85d18cce6d
Merge "Stop double notifying a11y about Toasts." into nyc-mr1-dev
2016-09-06 16:33:42 +00:00
Svetoslav Ganov
71c510236c
resolve merge conflicts of bde1d34 to master
...
Change-Id: Id3cef32bb97cfe8483001e71207b65bc0bc6e304
2016-09-02 18:04:29 -07:00
Svetoslav Ganov
bde1d3458f
Prevent apps to overlay other apps via toast windows am: aa07653d2e
...
am: dea62c6f58
Change-Id: I7ee488e4ac0fc312405680d04a480d473c176ac5
2016-09-02 23:46:20 +00:00
Svetoslav Ganov
dea62c6f58
Prevent apps to overlay other apps via toast windows
...
am: aa07653d2e
Change-Id: I309615a989eade43401b086da42ff6522d000b68
2016-09-02 23:36:59 +00:00
Svetoslav Ganov
aa07653d2e
Prevent apps to overlay other apps via toast windows
...
It was possible for apps to put toast type windows
that overlay other apps which toast winodws aren't
removed after a timeout.
Now for apps targeting SDK greater than N MR1 to add a
toast window one needs to have a special token. The token
is added by the notificatoion manager service only for
the lifetime of the shown toast and is then removed
including all windows associated with this token. This
prevents apps to add arbitrary toast windows.
Since legacy apps may rely on the ability to directly
add toasts we mitigate by allowing these apps to still
add such windows for unlimited duration if this app is
the currently focused one, i.e. the user interacts with
it then it can overlay itself, otherwise we make sure
these toast windows are removed after a timeout like
a toast would be.
We don't allow more that one toast window per UID being
added at a time which prevents 1) legacy apps to put the
same toast after a timeout to go around our new policy
of hiding toasts after a while; 2) modern apps to reuse
the passed token to add more than one window; Note that
the notification manager shows toasts one at a time.
bug:30150688
Change-Id: Ia1dae626bd9e22541be46edb072aa288eb1ae414
2016-09-02 14:00:07 -07:00
Yohei Yukawa
bce2195b9f
Fix typos in JavaDoc for InputConnection am: 1ab959a6e0 am: 1a000651d5
...
am: cc2a206d92
Change-Id: Ia3d7a6f3a2ed2dc846642ce51c6b5e46ab72d0f2
2016-09-02 20:22:45 +00:00
Yohei Yukawa
cc2a206d92
Fix typos in JavaDoc for InputConnection am: 1ab959a6e0
...
am: 1a000651d5
Change-Id: Ia5dd58a4c85c871a3bae9536f6571fba9930e64a
2016-09-02 17:50:16 +00:00
Yohei Yukawa
1a000651d5
Fix typos in JavaDoc for InputConnection
...
am: 1ab959a6e0
Change-Id: I8e945ed58761262ebe3b7521de1c4b701ab6e195
2016-09-02 00:21:37 +00:00
Yohei Yukawa
1ab959a6e0
Fix typos in JavaDoc for InputConnection
...
This CL fixes typos in JavaDoc for InputConnection.
This CL slso updates the content regarding a new API that was added in
API 25 [1][2].
[1]: Iaadf934a997ffcd6000a516cc3c1873db56e60ad
152944f490
[2]: Ica1ba3154795c1bf44e140dfe639b299f83cd8af
adebb52588
Bug: 31249896
Change-Id: Icafedb15943a84f8e5b03ef9eb3a50627d508bdd
2016-09-01 15:42:29 -07:00
Phil Weaver
5ef2e14b59
Merge "Add tests for accessibility cache."
2016-09-01 15:57:09 +00:00
sergeyv
22ddb31dce
TextureView: clean up displaylists am: 17dd01b693 am: ac2ca87e92
...
am: bb37b7b613
Change-Id: I12252ddc60ad7f52fe1604ac84042a759b8373c4
2016-08-31 23:47:32 +00:00
Eino-Ville Talvala
749967cfa5
android.view.Surface: Add parceling warning am: f005f5ed88 am: 286b1a83e4
...
am: b13b6bd20e
Change-Id: I05b118022efb506ba57e93e1f58a077ebb951f55
2016-08-31 22:53:05 +00:00
Jorim Jaggi
32cbdcc8c0
resolve merge conflicts of c5bafe2 to master
...
Change-Id: I19dd5c88c664313c2f8b47d8f8fd556f630c8bf1
2016-08-31 13:51:50 -07:00
Pablo Ceballos
1209bc144b
Fail createVirtualDisplay with single-buffered Surface am: aff2f94939 am: d387b20dcb
...
am: 658f26634f
Change-Id: I499988d911ffd5ccd4b5bc10c75f3e0ed9a897c8
2016-08-31 02:56:35 +00:00
Adam Powell
8c52bf51a2
Fixes for ImageView drawable visibility dispatch am: 06f9eb8b62 am: fd86f7fdfd am: ee2f4d890e
...
am: 393279da8f
Change-Id: I7e42805b096de31e388cd86ee87b44f312841aed
2016-08-31 00:54:04 +00:00
Mark Lu
e8691d19cb
docs: fix grammar mistake in TextureView
...
Bug: 6441115
2016-08-30 17:38:42 -07:00
sergeyv
bb37b7b613
TextureView: clean up displaylists am: 17dd01b693
...
am: ac2ca87e92
Change-Id: I69adecc118bed63acf46f6a1a64c9cc7e376edaa
2016-08-31 00:37:51 +00:00