Commit Graph

235150 Commits

Author SHA1 Message Date
Selim Cinek
0d9b9bdcb4 Merge "Cleaned up the logic for the picture end margin" into nyc-dev am: 54c857cda6
am: 9867f9ae34

* commit '9867f9ae3425fb355b21dd818737e290444cdc2a':
  Cleaned up the logic for the picture end margin
2016-02-19 23:40:46 +00:00
Selim Cinek
7b832944fe Merge "Media notifications now properly respect font size changes" into nyc-dev am: 24ffe236b1
am: bf920eac45

* commit 'bf920eac458f2c16d2b0a508c1ee810c0317c130':
  Media notifications now properly respect font size changes
2016-02-19 23:38:51 +00:00
Shreyas Basarge
a962d9eba7 NPE fix for SyncStorageEngine read authority
Add a null check after an authority is read
from disk.

Bug: 26513719
Change-Id: I18f01828141110e776cc96f3b3be3d80125e70c1
2016-02-19 23:38:33 +00:00
Selim Cinek
bb2fecda85 Merge "Adapted the measuring of notification content view" into nyc-dev am: 79fa406933
am: 10a16df62d

* commit '10a16df62d08be7eec4b04fb1cfcb0e9cb98c7f9':
  Adapted the measuring of notification content view
2016-02-19 23:37:04 +00:00
Aurimas Liutikas
abf9e5695d Merge "Fix a set of random warnings in frameworks/base/" into nyc-dev
am: 359df40aaf

* commit '359df40aaf4be97e94e78465fa06a6b6a018466b':
  Fix a set of random warnings in frameworks/base/
2016-02-19 23:37:01 +00:00
Wale Ogunwale
9ecf7cfee8 Merge "Clean-up WindowState if exit animation is done before app finishes" into nyc-dev 2016-02-19 23:35:41 +00:00
Shreyas Basarge
7503d06e5e Merge "NPE Fix in SyncStorageEngine" into nyc-dev 2016-02-19 23:31:24 +00:00
Selim Cinek
4e0b58be83 Merge "Fixed a clicking bug on the lockscreen" into nyc-dev
am: e961f32b0f

* commit 'e961f32b0f96902276c69f25a35e89aa8cc34ea0':
  Fixed a clicking bug on the lockscreen
2016-02-19 23:20:46 +00:00
Aurimas Liutikas
359df40aaf Merge "Fix a set of random warnings in frameworks/base/" into nyc-dev 2016-02-19 23:20:06 +00:00
Selim Cinek
147ad1680b Merge "Add support for custom media notifications" into nyc-dev
am: c68190ae90

* commit 'c68190ae903685a8243e82f94c03c325ba00e121':
  Add support for custom media notifications
2016-02-19 23:19:35 +00:00
Wale Ogunwale
c48a354733 Clean-up WindowState if exit animation is done before app finishes
In ag/862571 we prevent window states from been removed before the
app is stopped since it can still be rendering to the surface.
The CL also left WindowState.mExiting as true after the exit
transition animation runs. This is okay if the app finishes before
the exit animation is done, but if the exit animation finishes before
the app finishes, then we will always think we need to run an exit
animation and not remove the windows when the app and later activity
manager tries to remove the windows.
mExiting is used to mean exiting animation is running, if it is set to
true then all the code assumes an exit animation is still running and
doesn't remove the window state.
- Always set mExiting when animation is done.
- Renamed mExiting to mAnimatingExit so it is more clear what it is used
for
- Allow window state to be removed is the current surface isn't shown.
This should be save since there won't be any visual effect to the user.
- Rename WindowState.mClientRemoveRequested to WindowState.mWindowRemovalAllowed
and move setting it to true into WMS.removeWindow() so it catches all cases.
- Cleaned-up the code some to be a little clearer.

Bug: 27112965
Change-Id: I6f03d3c75b5b7728e42ceadc8703df40a3b4ae63
2016-02-19 15:18:45 -08:00
Selim Cinek
9867f9ae34 Merge "Cleaned up the logic for the picture end margin" into nyc-dev
am: 54c857cda6

* commit '54c857cda62fbd3a86f5a74924fcea23b89bb1f5':
  Cleaned up the logic for the picture end margin
2016-02-19 23:17:45 +00:00
Selim Cinek
10bfbf6261 Merge "Added the possibility to show custom notifications decorated." into nyc-dev am: 3c306d8acd
am: 3145572f64

* commit '3145572f64eed125d8eba856a4552e98d61af263':
  Added the possibility to show custom notifications decorated.
2016-02-19 23:16:59 +00:00
Selim Cinek
bf920eac45 Merge "Media notifications now properly respect font size changes" into nyc-dev
am: 24ffe236b1

* commit '24ffe236b1ca89b6088a5488c591ea836ee59e1c':
  Media notifications now properly respect font size changes
2016-02-19 23:15:27 +00:00
Jorim Jaggi
bb735beb2c Fix configuration calculation when task is non-fullscreen am: 82c9dc951e
am: c8749149d8

* commit 'c8749149d89ae17cfec9ac6ecffce623959d170e':
  Fix configuration calculation when task is non-fullscreen
2016-02-19 23:13:45 +00:00
Selim Cinek
10a16df62d Merge "Adapted the measuring of notification content view" into nyc-dev
am: 79fa406933

* commit '79fa406933c5ec65e2d48279dc9e0011809512b3':
  Adapted the measuring of notification content view
2016-02-19 23:11:28 +00:00
Selim Cinek
3145572f64 Merge "Added the possibility to show custom notifications decorated." into nyc-dev
am: 3c306d8acd

* commit '3c306d8acdb34b667ad55ad30a9a2119cad0e0ab':
  Added the possibility to show custom notifications decorated.
2016-02-19 23:09:22 +00:00
Jorim Jaggi
c8749149d8 Fix configuration calculation when task is non-fullscreen
am: 82c9dc951e

* commit '82c9dc951e8e19b9eab6120b6465e08c5d69beba':
  Fix configuration calculation when task is non-fullscreen
2016-02-19 23:07:46 +00:00
Arunesh Mishra
933da8150c Fix minor bugs:
- Fix issue when multiple starts cause multiple spurious loads to be sent to
   the native layer.
 - Fix scrolling issue in the native app.

Bug: 27222043
Change-Id: Iddf36a8b68637f478dc23b001ecbde352db3a5f0
2016-02-19 15:06:27 -08:00
Selim Cinek
e961f32b0f Merge "Fixed a clicking bug on the lockscreen" into nyc-dev 2016-02-19 23:04:55 +00:00
Selim Cinek
c68190ae90 Merge "Add support for custom media notifications" into nyc-dev 2016-02-19 23:04:42 +00:00
Selim Cinek
54c857cda6 Merge "Cleaned up the logic for the picture end margin" into nyc-dev 2016-02-19 23:04:26 +00:00
Selim Cinek
24ffe236b1 Merge "Media notifications now properly respect font size changes" into nyc-dev 2016-02-19 23:04:15 +00:00
Selim Cinek
79fa406933 Merge "Adapted the measuring of notification content view" into nyc-dev 2016-02-19 23:03:59 +00:00
Selim Cinek
3c306d8acd Merge "Added the possibility to show custom notifications decorated." into nyc-dev 2016-02-19 23:03:38 +00:00
Doris Liu
6d97471714 Merge "End staging animators when destroy RootRenderNode" into nyc-dev am: 46151a4739
am: edbb35074d

* commit 'edbb35074d56c3de14f468d59be5fffbea5053bd':
  End staging animators when destroy RootRenderNode
2016-02-19 23:02:28 +00:00
Jorim Jaggi
82c9dc951e Fix configuration calculation when task is non-fullscreen
Apparently only the navigation bar is excluded when calculating
Configuration.screenLayout. Make the calculation for non-fullscreen
tasks consistent with fullscreen tasks.

Change-Id: I027e41e49ffe95245116f3d134e0bc93af0ee450
2016-02-19 22:59:34 +00:00
Doris Liu
1fc1fd3dcf Merge "Revert "Revert "Check RenderNode\'s owning view before attaching animators""" into nyc-dev am: e87a74e1a3
am: d1dd6ade33

* commit 'd1dd6ade3322db8a504b041fad28c7b59a6e5d50':
  Revert "Revert "Check RenderNode's owning view before attaching animators""
2016-02-19 22:57:51 +00:00
Doris Liu
940eba12c3 Merge "VectorDrawable native rendering - Step 5 of MANY" into nyc-dev am: 0a1cdee33e
am: 1a6d0bbed5

* commit '1a6d0bbed5e2f46bd5683317b6c278d9e369e6a8':
  VectorDrawable native rendering - Step 5 of MANY
2016-02-19 22:56:08 +00:00
Doris Liu
edbb35074d Merge "End staging animators when destroy RootRenderNode" into nyc-dev
am: 46151a4739

* commit '46151a4739b0ab9620010b16551e60471c959244':
  End staging animators when destroy RootRenderNode
2016-02-19 22:55:57 +00:00
Doris Liu
d1dd6ade33 Merge "Revert "Revert "Check RenderNode\'s owning view before attaching animators""" into nyc-dev
am: e87a74e1a3

* commit 'e87a74e1a3511b2bc5a5c15936a9a52bd8724ea3':
  Revert "Revert "Check RenderNode's owning view before attaching animators""
2016-02-19 22:53:00 +00:00
Doris Liu
1a6d0bbed5 Merge "VectorDrawable native rendering - Step 5 of MANY" into nyc-dev
am: 0a1cdee33e

* commit '0a1cdee33e279463e40c43c0fac31e581b25ad4b':
  VectorDrawable native rendering - Step 5 of MANY
2016-02-19 22:51:20 +00:00
Toni Barzic
aa401afb4c Properly handle non split system user when showing bouncer
For system user, there should be no atempt to dismiss keyguard,
but only if system user is split (i.e. not a meat user).

Change-Id: Ia2c1e7a3e197c5be72446f21b3883e853485ff26
2016-02-19 14:51:16 -08:00
Toni Barzic
1865bd614e Merge "Try to dismiss Keyguard bypassing bouncer only for active users" 2016-02-19 22:49:59 +00:00
Yorke Lee
dcd93cc21a Add Wallpaper.getBitmapAsUser()
Add a new API to allow a wallpaper bitmap to be obtained for
a specific user.

Without this API, using only getWallpaperFile(..., userId), one
can't get a default wallpaper bitmap if the wallpaper is not set.

Bug: 25185253
Change-Id: Ibe1e9a49d22bee08fd4bed415573c1ee28526aea
2016-02-19 14:47:39 -08:00
Doris Liu
46151a4739 Merge "End staging animators when destroy RootRenderNode" into nyc-dev 2016-02-19 22:45:55 +00:00
Doris Liu
e87a74e1a3 Merge "Revert "Revert "Check RenderNode's owning view before attaching animators""" into nyc-dev 2016-02-19 22:45:16 +00:00
Doris Liu
0a1cdee33e Merge "VectorDrawable native rendering - Step 5 of MANY" into nyc-dev 2016-02-19 22:44:52 +00:00
Jorim Jaggi
29ead30222 Merge "Fix clip reveal animation in docked window case" into nyc-dev am: 36548847f2
am: 659653ab50

* commit '659653ab50d6b7bbc270a716b0488c5937a12884':
  Fix clip reveal animation in docked window case
2016-02-19 22:40:04 +00:00
Jorim Jaggi
659653ab50 Merge "Fix clip reveal animation in docked window case" into nyc-dev
am: 36548847f2

* commit '36548847f27d4f912104ff2e547bd3b6ec23a01c':
  Fix clip reveal animation in docked window case
2016-02-19 22:36:00 +00:00
Doris Liu
c21e8bcb01 Ensure invalidate is called after start()/reverse()
Change-Id: Iec96ada74cc7b845e21b5f0eb208ff7c7b1071ed
2016-02-19 14:35:55 -08:00
Mady Mellor
474da7a67b Merge "Improve touch target for the gear beneath a notification" into nyc-dev am: ed8f6cff50
am: 8205e5bd5e

* commit '8205e5bd5edfa4295a522a5c748b67b5e7d2dd96':
  Improve touch target for the gear beneath a notification
2016-02-19 22:30:18 +00:00
Jorim Jaggi
36548847f2 Merge "Fix clip reveal animation in docked window case" into nyc-dev 2016-02-19 22:27:32 +00:00
Mady Mellor
8205e5bd5e Merge "Improve touch target for the gear beneath a notification" into nyc-dev
am: ed8f6cff50

* commit 'ed8f6cff50e495329f33535e5302c70e3439e838':
  Improve touch target for the gear beneath a notification
2016-02-19 22:24:53 +00:00
Jorim Jaggi
58fc7f274a Merge "New behavior for docked stack when going home" into nyc-dev am: 0bea7ebf56
am: 7e17f73b69

* commit '7e17f73b6931993c43573cd1f9c28a7c3a7ca9a9':
  New behavior for docked stack when going home
2016-02-19 22:23:57 +00:00
Doris Liu
350e65206c End staging animators when destroy RootRenderNode
When animation happens in a dialog, it is possible for the dialog to
be dismissed and RootRenderNode to be destroyed before we create
animation handle for the staged animators. In that case, we need
to remove the staged animators so they will not run without a
animation handle.

Bug: 26975079
Change-Id: I0c2c6c1b530beaec3984c0b1c410df4fd8f25c95
2016-02-19 14:20:37 -08:00
Jorim Jaggi
7e17f73b69 Merge "New behavior for docked stack when going home" into nyc-dev
am: 0bea7ebf56

* commit '0bea7ebf56d00513411378d6b287878ccaa028e1':
  New behavior for docked stack when going home
2016-02-19 22:19:02 +00:00
Mady Mellor
1d08e4e819 Merge "Initial implementation of dismiss gesture + inline settings icon" into nyc-dev am: 15d6eafec5
am: f7acbef6a9

* commit 'f7acbef6a9b0bed46da903958ac3e3880155918b':
  Initial implementation of dismiss gesture + inline settings icon
2016-02-19 22:19:02 +00:00
Mady Mellor
ed8f6cff50 Merge "Improve touch target for the gear beneath a notification" into nyc-dev 2016-02-19 22:15:55 +00:00
Jorim Jaggi
8fe7e0a88e Fix clip reveal animation in docked window case
- Move ClipRectTB/LRAnimation to wm package, because that's the only
place we use it.
- Extend ClipRectTBAnimation to combine it with translation animation
so the clipping gets applied after the translation.
- Fix clip reveal transitions when a window is docked.
- Make the docked divider minimizing animations synchronized with clip
reveal animation.

Bug: 27154882
Bug: 22174716

Change-Id: If5c94c777f3b51c6f53f6f34cc261bf3439cfc88
2016-02-19 14:15:20 -08:00