Teng-Hui Zhu
17890318a5
Correctly report the transparent region am: f8da30dc65 am: 94a2f7e6fd
...
am: 0b1ef056cc
Change-Id: Ib2bb687e8c87332f3a915c3c312d55aaa50018f9
2016-08-23 16:17:57 +00:00
Andrei Stingaceanu
dc3b96ffec
Merge "GestureDetector - fix longPress timeout"
2016-08-23 15:56:30 +00:00
Teng-Hui Zhu
0b1ef056cc
Correctly report the transparent region am: f8da30dc65
...
am: 94a2f7e6fd
Change-Id: Ice979b549a74f1e8e59210f2b7c7e5a6f141b9f6
2016-08-23 15:15:06 +00:00
Teng-Hui Zhu
94a2f7e6fd
Correctly report the transparent region
...
am: f8da30dc65
Change-Id: I2fa623c2893a6cea96843f78d46fe753913b6f4d
2016-08-23 14:45:55 +00:00
Phil Weaver
31f764496f
Dispatch a11y events in separate thread. am: c34649411d
...
am: d4847f282d
Change-Id: I0e55dfc4563418ebe30a690fa2348a8093187fde
2016-08-19 23:08:51 +00:00
Phil Weaver
d4847f282d
Dispatch a11y events in separate thread.
...
am: c34649411d
Change-Id: Ie19da4e16b9bc78574545bbba1d44f28ef065b3d
2016-08-19 22:46:13 +00:00
Phil Weaver
c34649411d
Dispatch a11y events in separate thread.
...
Moves the IPCs into a separate thread, where they should affect
jank a lot less.
Bug: 30183085
Change-Id: Ib76159d158e7a867e76cdd5c8ea3a318949fcc5b
2016-08-19 09:22:10 -07:00
Ned Burns
be92fca27c
Merge "Add ViewConfiguration.getScaledScrollFactor()"
2016-08-18 21:16:49 +00:00
Ned Burns
69af432039
Add ViewConfiguration.getScaledScrollFactor()
...
This value is used to convert ACTION_SCROLL axis values into raw
pixel distances.
Change-Id: I537af010610bb374ab29a41aff4fae5b07bece6e
2016-08-18 15:07:05 -04:00
Andrei Stingaceanu
a13f7f363f
GestureDetector - fix longPress timeout
...
Remove adding the TAP_TIMEOUT to the LONGPRESS_TIMEOUT
in order to inline the longpress detection logic with
the non-GestureDetector framework implementations.
Bug: 30895236
Bug: 30937837
Change-Id: I67f4fa141804ae645553eb4edc8a80a512d018c5
2016-08-18 15:44:38 +01:00
Yohei Yukawa
64ea28e4f0
Make View#isTemporarilyDetached() less confusing am: ed841cbdd7 am: 6bc17c7320
...
am: 8c8477d036
Change-Id: I5a4a16d4a1922a71def989b3bdf44810d6334100
2016-08-18 00:23:39 +00:00
Chong Zhang
921f8e35d8
resolve merge conflicts of 9391bc5 to master
...
Change-Id: I6de231781233826b399688dc8ead70ba515b1ccb
2016-08-17 14:38:12 -07:00
Yohei Yukawa
8c8477d036
Make View#isTemporarilyDetached() less confusing am: ed841cbdd7
...
am: 6bc17c7320
Change-Id: Iec61193cd1d1902aa9aad1ad9ac1d6f4944c748b
2016-08-17 19:55:47 +00:00
Yohei Yukawa
6bc17c7320
Make View#isTemporarilyDetached() less confusing
...
am: ed841cbdd7
Change-Id: I2df97c1babb9fc515295c527a18d9f88546dfad7
2016-08-17 19:49:01 +00:00
Yohei Yukawa
4aa5325ba8
Merge "Make View#isTemporarilyDetached() less confusing" into nyc-mr1-dev
2016-08-17 19:41:40 +00:00
John Reck
5ab0541052
Fix maps resume being blank am: 03df0834e6 am: 08669fff33
...
am: 28f4ee5f7b
Change-Id: I5d6ea69cb13a43401a6cdc7039eafc1186a2fa85
2016-08-17 18:28:51 +00:00
Chong Zhang
9391bc557c
Add new window type TYPE_DRAWN_APPLICATION am: fea963edee
...
am: 5e09ceb641
Change-Id: I955b985c47ca10a17dec6921af0277d1d6a7431d
2016-08-17 18:22:10 +00:00
John Reck
28f4ee5f7b
Fix maps resume being blank am: 03df0834e6
...
am: 08669fff33
Change-Id: If87b076b6c03b7018485ddd4438aeaac7abd1562
2016-08-17 18:04:21 +00:00
Chong Zhang
5e09ceb641
Add new window type TYPE_DRAWN_APPLICATION
...
am: fea963edee
Change-Id: If7acf1349b87d4be88a9b4f9fbd984bbd4aca8ad
2016-08-17 17:16:18 +00:00
John Reck
08669fff33
Fix maps resume being blank
...
am: 03df0834e6
Change-Id: Iad93e1b11e74acf2356d59c271892d6741b53fef
2016-08-17 17:14:23 +00:00
Teng-Hui Zhu
f8da30dc65
Correctly report the transparent region
...
First, we fix the transparent region computation to use the order as the
drawing. Previously, it is using the tree traverse order, not the draw order.
Second, add the y offset for any view with positive z value, this will allow
some space for shadow.
b/30124573
Change-Id: I98d38261ffd346b762651e087cb243e45fed6952
2016-08-16 15:43:47 -07:00
Chong Zhang
f925b8df92
Merge "Add new window type TYPE_DRAWN_APPLICATION" into nyc-mr1-dev
2016-08-16 19:49:29 +00:00
John Reck
03df0834e6
Fix maps resume being blank
...
Bug: 30889568
Fixes an issue where mLayer didn't have
the mSurface set on it in certain resume
scenarios.
Change-Id: Ib75065d3d75e6141d6cd8f306584f6a569b9907c
2016-08-16 09:44:23 -07:00
Robert Carr
9d9ee4e5a3
Introduce new constant for double tap gesture rotation hint. am: 57d9fbd17f am: 5f684d92b6
...
am: bdbc23bebe
Change-Id: I6a9b2a55148a1c2428e871337bb300a84887adc7
2016-08-16 01:54:11 +00:00
Robert Carr
bdbc23bebe
Introduce new constant for double tap gesture rotation hint. am: 57d9fbd17f
...
am: 5f684d92b6
Change-Id: Idf2bb8511e24732018ff59ffbf30f440cb7f9779
2016-08-16 01:44:07 +00:00
Robert Carr
5f684d92b6
Introduce new constant for double tap gesture rotation hint.
...
am: 57d9fbd17f
Change-Id: I994c15c692ec52160deb3d29b46396802562588a
2016-08-16 01:35:59 +00:00
TreeHugger Robot
b14543d9d8
Merge "Introduce new constant for double tap gesture rotation hint." into nyc-mr1-dev
2016-08-16 01:21:57 +00:00
Chong Zhang
fea963edee
Add new window type TYPE_DRAWN_APPLICATION
...
This type behaves like a normal TYPE_APPLICATION, except that WM
will always wait for it to be drawn before starting a transition.
WM always waits for TYPE_BASE_APPLICATION (main window), but for
TYPE_APPLICATION, it only waits if the window relayouts to visible
and gets a surface before the main window is drawn. If main window
itself is ready very fast, transition could start without the other
window.
bug: 30830849
Change-Id: Ife71a9812db7c8eba6ee4ead10ce4f31d9e93b40
2016-08-15 17:36:40 -07:00
Robert Carr
57d9fbd17f
Introduce new constant for double tap gesture rotation hint.
...
As discussed in ag/1192965/ we have a special case for rotation
animation selection in launch from double tap. This was set to
ROTATION_ANIMATION_CROSSFADE as the goal was just to avoid
ROTATION_ANIMATION_ROTATE on the viewfinder surface and
seamless rotation in launch scenarios was initially descoped. Now we
are aiming at fixing this though, and ROTATION_ANIMATION_CROSSFADE
does not quality for seamless rotation. ROTATION_ANIMATION_JUMPCUT
also would not be a good choice because in the situation that the
rotation occurs before the app starting window appears, then we would
jump cut from unrotated wallpaper to rotated app, I think we want
a crossfade in this scenario. To this end introduce and use a new @hide constant
ROTATION_ANIMATION_SEAMLESS which qualifies for seamless but falls back
to CROSSFADE if seamless can't occur.
Bug: 30171992
Change-Id: If1945b17b5159be4cd5ba0b139d6bea9f7fcca33
2016-08-15 12:25:37 -07:00
Hui Shu
1fa574c3c5
Fix documentation. am: bd042e666a am: 440d84f99a
...
am: 68cee7e245
Change-Id: I33cc61c64c85a8b0bee7338feb55d5551cc2fd26
2016-08-14 00:41:33 +00:00
Colin Cross
2c5439972f
resolve merge conflicts of f95418e to master
...
Change-Id: If2b4d34b3ba64f61214b72fd71f8767500e68a53
2016-08-13 11:20:37 -07:00
Hui Shu
68cee7e245
Fix documentation. am: bd042e666a
...
am: 440d84f99a
Change-Id: I1d0c75c6692557e1d66ca66036bceda6ca62c702
2016-08-12 23:19:41 +00:00
Hui Shu
440d84f99a
Fix documentation.
...
am: bd042e666a
Change-Id: Ib749bd51c24a2012cd2b0d87ed70c034f410bc58
2016-08-12 21:29:47 +00:00
Hui Shu
caef4afe42
Merge "Fix documentation." into nyc-mr1-dev
2016-08-12 21:24:44 +00:00
Alison Cichowlas
f95418e0cb
Add restart to GlobalActions. am: f8eca405c1
...
am: 091fc718d4
Change-Id: Ib0cc25ec7887366ee65a27aed7497cdbbac861b1
2016-08-12 20:35:27 +00:00
Alison Cichowlas
091fc718d4
Add restart to GlobalActions.
...
am: f8eca405c1
Change-Id: Ib9664d086e2ac57db905fbfa03329c1a990051fc
2016-08-12 20:18:41 +00:00
Alison Cichowlas
c7d6af6cd0
Merge "Add restart to GlobalActions." into nyc-mr1-dev
2016-08-12 20:12:38 +00:00
Kirill Grouchnikov
9cce5d04ca
Merge "Document exception thrown in SoundEffectConstants"
2016-08-12 19:02:56 +00:00
Aga Madurska
e27c677f33
Avoid an NPE while checking view location on screen. am: a56454645f
...
am: a78e8d6219
Change-Id: I70f2333d6f09d7d608a5c201ac3d5be7780bda9e
2016-08-12 18:24:42 +00:00
Aga Madurska
a78e8d6219
Avoid an NPE while checking view location on screen.
...
am: a56454645f
Change-Id: I052e1e3f18a1df3a4ef43b87a1709d14eef21df1
2016-08-12 18:18:01 +00:00
Agnieszka Madurska
5e933c1e43
Merge "Avoid an NPE while checking view location on screen." into cw-f-dev
2016-08-12 18:08:25 +00:00
TreeHugger Robot
9d911ea5c2
Merge "Enable StrictMode.detectFileUriExposure() for drag and drop"
2016-08-12 17:53:33 +00:00
Alison Cichowlas
f8eca405c1
Add restart to GlobalActions.
...
Update power icon in GlobalActions for consistency
with new restart icon.
Bug: 30395806
Change-Id: I5ab20c15c889384fb685fc678fbf9ed912fcde5d
2016-08-12 13:41:00 -04:00
Kirill Grouchnikov
35d5b0fdea
Document exception thrown in SoundEffectConstants
...
Change-Id: Id4ecf66c8c2ac6ead2a79438e4db702fd6dd196e
2016-08-12 13:12:23 -04:00
Aga Madurska
a56454645f
Avoid an NPE while checking view location on screen.
...
Bug:30483148
Change-Id: I115da4fefff5fecc04135e2b150e1e77445cb86e
2016-08-12 18:00:25 +01:00
John Reck
e886ad2c95
resolve merge conflicts of cdbdd46 to master
...
Change-Id: I18a60477799865973fc9d6c876d95e3cee6e5031
2016-08-12 08:24:33 -07:00
John Reck
cdbdd46fb3
Fix NPE in TextureView am: 7e237189c2
...
am: ed1f1399d4
Change-Id: I1166edf4590e2846e6c115cbe9c9455ee46b64b5
2016-08-12 14:39:36 +00:00
John Reck
ed1f1399d4
Fix NPE in TextureView
...
am: 7e237189c2
Change-Id: I16d37e5c8ab6b81b57f510be5cdea09047cdbd79
2016-08-12 14:31:49 +00:00
Hui Shu
bd042e666a
Fix documentation.
...
Remove spurious duplicate line in JavaDoc.
Change-Id: I7ee7339d2ef21241ff21e66683e37e8ea0bbfaa4
2016-08-12 00:27:39 +00:00
TreeHugger Robot
e74f34b6cf
Merge "Bring back old constructor for layoutlib."
2016-08-12 00:26:36 +00:00