sergeyv
024cdbc740
TextureView: destroy layer on destroyHardwareResources event am: 1c16c37d86 am: ab7b865ef6
...
am: 221b1f7b46
Change-Id: I7f7d9133e168906524b892a5c4e5388e0b3a33bc
2016-08-03 22:32:28 +00:00
sergeyv
221b1f7b46
TextureView: destroy layer on destroyHardwareResources event am: 1c16c37d86
...
am: ab7b865ef6
Change-Id: Idb0c2484c3ef2230bc4637c6b9cfaa9fe636e95e
2016-08-03 22:24:23 +00:00
sergeyv
ab7b865ef6
TextureView: destroy layer on destroyHardwareResources event
...
am: 1c16c37d86
Change-Id: I75a9c06c81f696b8a65d128f4ec20ca9d3083a07
2016-08-03 22:08:13 +00:00
Yigit Boyar
bb1115f1ff
Target API check for margin params fix am: 2dd20a61e9 am: 6efd207022
...
am: 5eede8910b
Change-Id: I748d223c4dcec4f0234b0e4e808ae982efbd0bd5
2016-08-03 19:46:33 +00:00
sergeyv
1c16c37d86
TextureView: destroy layer on destroyHardwareResources event
...
bug:30468770
Change-Id: I5174808e3fa6e4a87e3522246522c4e6d7ee2c3c
2016-08-02 15:40:27 -07:00
Yigit Boyar
5eede8910b
Target API check for margin params fix am: 2dd20a61e9
...
am: 6efd207022
Change-Id: Ic05edff9014a74cd543d0eef03ba8862a198613a
2016-08-02 20:57:22 +00:00
Yigit Boyar
6efd207022
Target API check for margin params fix
...
am: 2dd20a61e9
Change-Id: I745d44946585e08143e76b7d9da1a7302b4d66b9
2016-08-02 20:50:52 +00:00
John Reck
a25e710181
Fix FrameMetricsObserver crash am: 65ddb154c7 am: 6e30f4c789
...
am: c7a8458205
Change-Id: If95aff273d4a32a7434042a13b8d373276f05d6a
2016-08-02 18:32:12 +00:00
Yigit Boyar
2dd20a61e9
Target API check for margin params fix
...
Prior to N, our widgets were not converting MarginLayoutParams
properly between ViewGroups. The fix intrudced some issues in
older apps as the broken conversion code would hide developer
errors. This CL guards the change with a target API check so
that we don't affect older apps.
Bug: 30378230
Change-Id: I215281d261b553c3b4cedcd29ea0a861df809471
2016-08-02 11:27:18 -07:00
John Reck
c7a8458205
Fix FrameMetricsObserver crash am: 65ddb154c7
...
am: 6e30f4c789
Change-Id: Ic1bc80f8bbd20ce73f9e32c3a7457ad876c28476
2016-08-02 18:24:34 +00:00
John Reck
6e30f4c789
Fix FrameMetricsObserver crash
...
am: 65ddb154c7
Change-Id: I48a04e9ba2674da351d227ba7f6d6069fd3e4727
2016-08-02 18:15:39 +00:00
Phil Weaver
f546b86584
Reduce extra a11y events when alpha changes. am: 9937f81ac6 am: 2dd6ce7aff
...
am: fc5164a615
Change-Id: If23ebf9b114d1d9f7fcf3c76e1f39dede082dc67
2016-08-02 17:56:57 +00:00
Phil Weaver
fc5164a615
Reduce extra a11y events when alpha changes. am: 9937f81ac6
...
am: 2dd6ce7aff
Change-Id: I70adc04b7890ce4a9b207c34d77461bcf22d413c
2016-08-02 17:15:20 +00:00
Phil Weaver
2dd6ce7aff
Reduce extra a11y events when alpha changes.
...
am: 9937f81ac6
Change-Id: I23a097e1de51449b7dfa4a4986255fec4c8c3b05
2016-08-02 17:10:03 +00:00
Phil Weaver
41e185e73b
Merge "Reduce extra a11y events when alpha changes." into nyc-mr1-dev
2016-08-02 16:54:43 +00:00
John Reck
65ddb154c7
Fix FrameMetricsObserver crash
...
Bug: 30587465
Someday maybe the technology will exist to
allow sharing a simple constant between
Java and C++, but today is not that day.
Change-Id: I17694746cb8712058133cd5ea10c47b9909f740b
2016-08-02 09:38:26 -07:00
Svetoslav Ganov
e1c3ca5270
Revert "Prevent apps to overlay other apps via toast windows" am: 2fc661a453
...
am: 74b90c7d85
Change-Id: I6829cf6f04155a951bcfe79fcc13dbc2104a00ae
2016-08-02 02:17:56 +00:00
Svetoslav Ganov
74b90c7d85
Revert "Prevent apps to overlay other apps via toast windows"
...
am: 2fc661a453
Change-Id: I37bfb7dc01ad512f34332e83f6cc6be31d1feaab
2016-08-02 02:01:40 +00:00
Svetoslav Ganov
a2f247e6a6
Merge "Revert "Prevent apps to overlay other apps via toast windows"" into nyc-mr1-dev
2016-08-02 01:56:10 +00:00
Svetoslav Ganov
2fc661a453
Revert "Prevent apps to overlay other apps via toast windows"
...
bug:30150688
This reverts commit dc24f937b0 .
Change-Id: Id7e8ddbf82ab426f55a5296791f1e8ebb61514bc
2016-08-02 01:55:01 +00:00
Phil Weaver
9937f81ac6
Reduce extra a11y events when alpha changes.
...
Changes in alpha only matter if they affect visibility,
so only 0 <-> nonzero changes are worth reporting. Report
them as subtree changes, as visibility affects subviews.
Not reporting every change greatly reduces the number of
event reported when alpha is animated.
Bug: 30183085
Change-Id: I905d53aa81ca8248b3aed86a91842ef499f303a8
2016-08-01 17:41:19 -07:00
Svet Ganov
a0030632f8
Prevent apps to overlay other apps via toast windows am: dc24f937b0
...
am: fd8ffb62a9
Change-Id: I94077046a2f38a7cffce5cc73f805f671c35db23
2016-08-01 19:02:53 +00:00
Svet Ganov
fd8ffb62a9
Prevent apps to overlay other apps via toast windows
...
am: dc24f937b0
Change-Id: Ib3a97103f0f9aa980ab72412d4881d609178e641
2016-08-01 18:56:37 +00:00
Svetoslav Ganov
fea7cfce8b
Merge "Prevent apps to overlay other apps via toast windows" into nyc-mr1-dev
2016-08-01 18:48:11 +00:00
Svet Ganov
dc24f937b0
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: Icc8f8dbd060762ae1a7b1720e96c5afdb8aff3fd
2016-08-01 11:46:02 -07:00
Prashant Malani
e481885e18
Let Rotary encoder events skip IME am: fecbc67e0d
...
am: a6bc98c003
Change-Id: Iecf4f32e56e3fac398b8ded665285af5e3632d2f
2016-07-31 02:59:11 +00:00
Prashant Malani
a6bc98c003
Let Rotary encoder events skip IME
...
am: fecbc67e0d
Change-Id: If46602275688cceef347b593571e50196bfdaba1
2016-07-30 06:30:14 +00:00
Andrii Kulian
6bb7cacc3b
Merge \\\"Correctly finish activity in non-focused stack\\\" into nyc-mr1-dev am: d3786148f3 am: 4cad633101
...
am: 498ad9a370
Change-Id: I4f081328330d121fa70a0e202d1f163dda157ebf
2016-07-29 00:37:04 +00:00
Prashant Malani
fecbc67e0d
Let Rotary encoder events skip IME
...
Rotary Encoder input events don't need to go through the IME, and hence
should skip it. This will save IPC round trip time, and cut down on
latency.
Bug: 29207649
Change-Id: I8b5062b9c409b338b2254232a2e0f7819d9b71de
2016-07-28 06:24:31 +00:00
Jiaquan He
dd1e66f737
Add more onTopLauncher support.
...
- Add onTopLauncher checking for TaskRecord.
- Add onTopLauncher to the window manager.
Bug: 28425537
Change-Id: Ic9e53db891dc42463a1a77b106ba93438a052181
2016-07-27 23:57:23 +00:00
Aga Madurska
498ad9a370
Ignore padding for drawing round scrollbars. am: c283507246
...
am: 9bafa17869
Change-Id: Icd0e134b0b596dae3300829a121caa903d828523
2016-07-27 22:55:11 +00:00
Aga Madurska
9bafa17869
Ignore padding for drawing round scrollbars.
...
am: c283507246
Change-Id: Ia60e140beaa24b445d7f9949de8dbc946c05d828
2016-07-27 22:05:42 +00:00
Adrian Roos
a6b50d5f2b
ViewRootImpl: Initialize sysui visibility am: 1b2bf00098
...
am: e616a42716
Change-Id: I32984bff654a285dfc553fb89ea2e95e8ec60d29
2016-07-27 22:00:47 +00:00
Agnieszka Madurska
9801935b95
Merge "Ignore padding for drawing round scrollbars." into nyc-mr1-dev
2016-07-27 21:36:55 +00:00
Adrian Roos
e616a42716
ViewRootImpl: Initialize sysui visibility
...
am: 1b2bf00098
Change-Id: I5d206d031a193777b67cb44af5b70bbc4997c2f3
2016-07-27 21:24:39 +00:00
Aga Madurska
c283507246
Ignore padding for drawing round scrollbars.
...
This change is needed to correctly cope eg. with list views
which introduce header and footer view through additional
list view padding.
See ag/1221005 for details.
Bug:30420573
Change-Id: I7c9c0ce2b5ba85429b7921c42e4f97e139814e17
2016-07-27 22:22:11 +01:00
Adrian Roos
25582f21cd
Merge "ViewRootImpl: Initialize sysui visibility" into nyc-mr1-dev
2016-07-27 18:39:17 +00:00
TreeHugger Robot
581c35d124
Merge "Make DragEvent.getClipDescription() return null for ACTION_DRAG_ENDED"
2016-07-27 16:41:21 +00:00
Vladislav Kaznacheev
cd84cfab79
Make DragEvent.getClipDescription() return null for ACTION_DRAG_ENDED
...
This is required to bring the DragEvent behavior in line with JavaDoc.
Bug: 30407098
Change-Id: I87b7f3ed3fe56681ca54a44e5cdeaf32966ad495
2016-07-27 16:39:51 +00:00
Michael Wright
2a788b2b67
Actually compare supported color modes. am: 16ae042351
...
am: 7b17faad2c
Change-Id: I994180c3a3d68bae1e250635407eb5e5ac551b6b
2016-07-27 13:29:04 +00:00
Michael Wright
7b17faad2c
Actually compare supported color modes.
...
am: 16ae042351
Change-Id: If33235e3debdca951856fcc74c5189cd936b6129
2016-07-27 13:23:47 +00:00
Michael Wright
1df0020f2d
Merge "Actually compare supported color modes." into nyc-mr1-dev
2016-07-27 13:14:04 +00:00
Adrian Roos
1b2bf00098
ViewRootImpl: Initialize sysui visibility
...
Fixes a bug where the sysui visibility flags
were not dispatched when they changed if the
visibility changes the first time to a zero
value.
Change-Id: I4d6c990ca493b144f24c75e95b4ff18c4c0a029c
Fixes: 30259249
2016-07-26 14:27:37 -07:00
Aga Madurska
e2250ca54f
Use correct bounds for scroll bar rendering. am: 8cc883de9e
...
am: f4b8e7d969
Change-Id: I08e2c8b988c1e472950515ee719ecd7022fd45e7
2016-07-26 18:17:58 +00:00
Aga Madurska
f4b8e7d969
Use correct bounds for scroll bar rendering.
...
am: 8cc883de9e
Change-Id: Ie82427a678241e7237144bbe76493c055a17bc2d
2016-07-26 18:08:47 +00:00
Phil Weaver
6f80ecb7d7
Merge "Clarifying docs for lifecycle of 3 a11y objects."
2016-07-26 18:07:44 +00:00
Michael Wright
16ae042351
Actually compare supported color modes.
...
Also, provide an equals implemenation for HdrCapabilities.
Bug: 30311415
Bug: 30367543
Change-Id: Ib8b9c9283519ae9baa48ecfecb8035848a9b29f0
2016-07-26 18:18:53 +01:00
Aga Madurska
8cc883de9e
Use correct bounds for scroll bar rendering.
...
Bug:30001373
Change-Id: I20c77a2d97096bda451c3a871fd6be7ad699b047
2016-07-26 17:07:28 +01:00
Chris Craik
79db372111
Avoid destroying TextureView surfaces for onStop am: 391d560402
...
am: 5fbbcdcd32
Change-Id: I1bda6841c540572ff9390c0124cb1ac9f6f22c83
2016-07-26 15:18:45 +00:00
Chris Craik
5fbbcdcd32
Avoid destroying TextureView surfaces for onStop
...
am: 391d560402
Change-Id: I6e1e5a5f024410e7e0288910386cbc439b8a9039
2016-07-26 00:29:44 +00:00