OSDN Git Service

android-x86/frameworks-base.git
7 years agoWallpaper target selection during animation
Chong Zhang [Mon, 15 Aug 2016 20:51:52 +0000 (20:51 +0000)]
Wallpaper target selection during animation
am: b0d267043a

Change-Id: Ib649f9399d6c9f7f84f05ddef8dd8e3d87bb7923

7 years agoWallpaper target selection during animation
Chong Zhang [Fri, 12 Aug 2016 23:03:29 +0000 (16:03 -0700)]
Wallpaper target selection during animation

In case of double tapping from Home, there could be two set of
transitions, first is launcher->Recents, followed shortly by
Recents->app. On the second transition, it should be running
a wallpaper close, but because of the way we pick wallpaper
target, sometimes we pick launcher if both launcher & Recents
are animating away. This makes us to run a different animation
which could involve dimming the wallpaper briefly.

Also, findWallpaperTarget() sometimes could toggle between two
valid wallpaper targets, picking either of them gives correct
result for showing the wallpaper, but could result in different
exit transition.

This change prefers the visible target if there is only one
visible, otherwise the one in opening or closing app list. This
helps maybeUpdateTransitToWallpaper to better choose transition.

bug: 30831873
Change-Id: I0eaa89bdc35f5f51875d5cbeceba11ce40f4791f

7 years agoDO NOT MERGE ANYWHERE: Make slow brightness display ramp rate configurable. am: 13edf...
Julius D'souza [Mon, 15 Aug 2016 19:55:56 +0000 (19:55 +0000)]
DO NOT MERGE ANYWHERE: Make slow brightness display ramp rate configurable. am: 13edf0a70b  -s ours am: 0903c5fe7a  -s ours am: f51dfc24d1  -s ours
am: e543fb29b2  -s ours

Change-Id: Ic9de880e84205d0bed213e56cf476e1d15dfcfa9

7 years agoDO NOT MERGE ANYWHERE: Make slow brightness display ramp rate configurable. am: 13edf...
Julius D'souza [Mon, 15 Aug 2016 19:47:33 +0000 (19:47 +0000)]
DO NOT MERGE ANYWHERE: Make slow brightness display ramp rate configurable. am: 13edf0a70b  -s ours am: 0903c5fe7a  -s ours
am: f51dfc24d1  -s ours

Change-Id: Iada12a5685d32efafedd18b4d6fba5b8cc642f60

7 years agoMerge "QS Footer: Don't update icon from wrong thread." into nyc-mr1-dev
Jason Monk [Mon, 15 Aug 2016 19:35:00 +0000 (19:35 +0000)]
Merge "QS Footer: Don't update icon from wrong thread." into nyc-mr1-dev
am: aedfa81517

Change-Id: I281d14459a03556d96236a9ebb2a08ebd2c53110

7 years agoQS Footer: Don't update icon from wrong thread.
Jason Monk [Mon, 15 Aug 2016 19:34:58 +0000 (19:34 +0000)]
QS Footer: Don't update icon from wrong thread.
am: f9c6026a7d

Change-Id: Ie473b181aaf6fc4ea91d8e986188cdc6f06d87ef

7 years agoDO NOT MERGE ANYWHERE: Make slow brightness display ramp rate configurable. am: 13edf...
Julius D'souza [Mon, 15 Aug 2016 19:33:29 +0000 (19:33 +0000)]
DO NOT MERGE ANYWHERE: Make slow brightness display ramp rate configurable. am: 13edf0a70b  -s ours
am: 0903c5fe7a  -s ours

Change-Id: Iba7ccc2ec071ea8c13d146b39aab48d2f4fc4977

7 years agoMerge "QS Footer: Don't update icon from wrong thread." into nyc-mr1-dev
TreeHugger Robot [Mon, 15 Aug 2016 19:25:45 +0000 (19:25 +0000)]
Merge "QS Footer: Don't update icon from wrong thread." into nyc-mr1-dev

7 years agoDO NOT MERGE ANYWHERE: Make slow brightness display ramp rate configurable.
Julius D'souza [Mon, 15 Aug 2016 19:25:33 +0000 (19:25 +0000)]
DO NOT MERGE ANYWHERE: Make slow brightness display ramp rate configurable.
am: 13edf0a70b  -s ours

Change-Id: I7c02cea3ea0008f3f112063b6a06d08049c4998b

7 years agoDO NOT MERGE ANYWHERE: Make slow brightness display ramp rate configurable.
Julius D'souza [Fri, 5 Aug 2016 21:34:38 +0000 (14:34 -0700)]
DO NOT MERGE ANYWHERE: Make slow brightness display ramp rate configurable.

Add overlay setting with current default value.

Bug: 30085530
Change-Id: Ib5d2448b88cfb66a97febcdf06e2118c84b16cd0

7 years agoRevert "DO NOT MERGE -- Revert the following two commits as they're causing flickering"
Chong Zhang [Mon, 15 Aug 2016 19:14:52 +0000 (19:14 +0000)]
Revert "DO NOT MERGE -- Revert the following two commits as they're causing flickering"
am: f96cb3c34d

Change-Id: I1756346f1713f758374f2b8476c70a60119986dd

7 years agoMerge "Allow performShowLocked when transition animation started" into nyc-mr1-dev
Chong Zhang [Mon, 15 Aug 2016 19:14:50 +0000 (19:14 +0000)]
Merge "Allow performShowLocked when transition animation started" into nyc-mr1-dev
am: 1fb9466c1d

Change-Id: I47692dcaef58641e1fbf6632cfb59d843c43d667

7 years agoAllow performShowLocked when transition animation started
Chong Zhang [Mon, 15 Aug 2016 19:14:48 +0000 (19:14 +0000)]
Allow performShowLocked when transition animation started
am: 83caa366f4

Change-Id: I6897267073728cf236e1ad98c3092666bb246e49

7 years agoRevert "DO NOT MERGE -- Revert the following two commits as they're causing flickering"
Chong Zhang [Mon, 15 Aug 2016 18:09:29 +0000 (11:09 -0700)]
Revert "DO NOT MERGE -- Revert the following two commits as they're causing flickering"

This reverts commit 44bd57ee25484bd74025c116f8a83d1df5990f34.

bug: 30831873
bug: 30790402

7 years agoMerge "Allow performShowLocked when transition animation started" into nyc-mr1-dev
Chong Zhang [Mon, 15 Aug 2016 19:04:47 +0000 (19:04 +0000)]
Merge "Allow performShowLocked when transition animation started" into nyc-mr1-dev

7 years agoMerge "Fixed that HUNs wouldn't show when the keyguard is occluded" into nyc-mr1-dev
Selim Cinek [Mon, 15 Aug 2016 18:46:07 +0000 (18:46 +0000)]
Merge "Fixed that HUNs wouldn't show when the keyguard is occluded" into nyc-mr1-dev
am: 45d2ff9b6a

Change-Id: I53aea1f2845dc56cad468c793e32db4dcf5065fe

7 years agoFixed that HUNs wouldn't show when the keyguard is occluded
Selim Cinek [Mon, 15 Aug 2016 18:46:04 +0000 (18:46 +0000)]
Fixed that HUNs wouldn't show when the keyguard is occluded
am: 2dabc8286b

Change-Id: If70dd09b854dfdd5964733d802d95185ee04b841

7 years agoMerge "Fixed that HUNs wouldn't show when the keyguard is occluded" into nyc-mr1-dev
Selim Cinek [Mon, 15 Aug 2016 18:35:57 +0000 (18:35 +0000)]
Merge "Fixed that HUNs wouldn't show when the keyguard is occluded" into nyc-mr1-dev

7 years agoQS Footer: Don't update icon from wrong thread.
Jason Monk [Mon, 15 Aug 2016 17:57:43 +0000 (13:57 -0400)]
QS Footer: Don't update icon from wrong thread.

Change-Id: I25191818579fac57236b67d7291b6ee00dd838b5
Fixes: 30748384

7 years agoAllow performShowLocked when transition animation started
Chong Zhang [Mon, 15 Aug 2016 01:47:54 +0000 (18:47 -0700)]
Allow performShowLocked when transition animation started

Some transitions can have no animation, in which case
isReadyForDisplayIgnoringKeyguard() will wait for VIEW visibility
to become VISIBLE. But if we have a saved surface, the transition
could have already started. This causes exiting app to be hidden,
while entering app's performShowLocked() still hold back waiting
for the relayout to visible.

If we started animating with saved surface, it should also count
as transition animation started.

b/30855380

Change-Id: I6260a323b48e57d8337267d9136f630226a48dc8

7 years agoMerge "Update RenderScript docs: reduction, other API 23/24 changes, cleanup." into...
David Gross [Mon, 15 Aug 2016 17:40:18 +0000 (17:40 +0000)]
Merge "Update RenderScript docs: reduction, other API 23/24 changes, cleanup." into nyc-dev am: 8cb4ca439e
am: 375ac04044

Change-Id: Ib3a19c1c2814f1359b4e78a809f2e53f76a27158

7 years agoUpdate RenderScript docs: reduction, other API 23/24 changes, cleanup. am: b50e856fc7
David Gross [Mon, 15 Aug 2016 17:40:16 +0000 (17:40 +0000)]
Update RenderScript docs: reduction, other API 23/24 changes, cleanup. am: b50e856fc7
am: 1f5b0ea408

Change-Id: I2bccf9a9e112ed1320b7782f724879793cc54baf

7 years agoMerge "Update RenderScript docs: reduction, other API 23/24 changes, cleanup." into...
David Gross [Mon, 15 Aug 2016 17:23:17 +0000 (17:23 +0000)]
Merge "Update RenderScript docs: reduction, other API 23/24 changes, cleanup." into nyc-dev
am: 8cb4ca439e

Change-Id: I1507e8d3d8bf588ea48e17b3d93ced19228d5d21

7 years agoUpdate RenderScript docs: reduction, other API 23/24 changes, cleanup.
David Gross [Mon, 15 Aug 2016 17:23:14 +0000 (17:23 +0000)]
Update RenderScript docs: reduction, other API 23/24 changes, cleanup.
am: b50e856fc7

Change-Id: I37cf0227be2a32261b44f19f6d45a5ea4ff6f624

7 years agoMerge "Update RenderScript docs: reduction, other API 23/24 changes, cleanup." into...
David Gross [Mon, 15 Aug 2016 17:17:01 +0000 (17:17 +0000)]
Merge "Update RenderScript docs: reduction, other API 23/24 changes, cleanup." into nyc-dev

7 years agoMerge "SamplingTimer: Fix issue with summary recording too much" into nyc-mr1-dev
Adam Lesinski [Sat, 13 Aug 2016 00:52:05 +0000 (00:52 +0000)]
Merge "SamplingTimer: Fix issue with summary recording too much" into nyc-mr1-dev
am: 8aacc3cf98

Change-Id: Id8d2f7214393e08c771cc8e49884b76b1501054e

7 years agoSamplingTimer: Fix issue with summary recording too much
Adam Lesinski [Sat, 13 Aug 2016 00:52:03 +0000 (00:52 +0000)]
SamplingTimer: Fix issue with summary recording too much
am: 9edd6be542

Change-Id: Id423f0343c2d435281d47cd6edacb6816baaace8

7 years agoMerge "SamplingTimer: Fix issue with summary recording too much" into nyc-mr1-dev
TreeHugger Robot [Sat, 13 Aug 2016 00:40:52 +0000 (00:40 +0000)]
Merge "SamplingTimer: Fix issue with summary recording too much" into nyc-mr1-dev

7 years agoMerge "Remember all wallpapers' backup-allow state" into nyc-mr1-dev
Christopher Tate [Sat, 13 Aug 2016 00:39:07 +0000 (00:39 +0000)]
Merge "Remember all wallpapers' backup-allow state" into nyc-mr1-dev
am: 6ae8693cd7

Change-Id: Iade90bf272d1b05c18b79c679c53ada2a8782742

7 years agoRemember all wallpapers' backup-allow state
Christopher Tate [Sat, 13 Aug 2016 00:39:01 +0000 (00:39 +0000)]
Remember all wallpapers' backup-allow state
am: c613c63096

Change-Id: I0f1e1bf9c747c6b8678e121517f230d6a9e934dc

7 years agoMerge "Remember all wallpapers' backup-allow state" into nyc-mr1-dev
TreeHugger Robot [Sat, 13 Aug 2016 00:24:10 +0000 (00:24 +0000)]
Merge "Remember all wallpapers' backup-allow state" into nyc-mr1-dev

7 years agoMerge "Fix LockscreenWallpaper jank" into nyc-mr1-dev
Adrian Roos [Sat, 13 Aug 2016 00:20:10 +0000 (00:20 +0000)]
Merge "Fix LockscreenWallpaper jank" into nyc-mr1-dev
am: 6912cf9b30

Change-Id: Ib9c4252cf57d59daded6f2c5cdec143ece1a28fb

7 years agoFix LockscreenWallpaper jank
Adrian Roos [Sat, 13 Aug 2016 00:20:08 +0000 (00:20 +0000)]
Fix LockscreenWallpaper jank
am: d866b02d54

Change-Id: Iad0c7104d644ebe5fa86a12cc765fc0916103c19

7 years agoMerge "Fix LockscreenWallpaper jank" into nyc-mr1-dev
TreeHugger Robot [Sat, 13 Aug 2016 00:12:59 +0000 (00:12 +0000)]
Merge "Fix LockscreenWallpaper jank" into nyc-mr1-dev

7 years agoMerge "Copy exiting app token list while stepping animation." into nyc-mr1-dev
Robert Carr [Fri, 12 Aug 2016 23:55:31 +0000 (23:55 +0000)]
Merge "Copy exiting app token list while stepping animation." into nyc-mr1-dev
am: 64d7220153

Change-Id: I02e3fc3a6738f6b691b57fa3f2771d647e93cd7a

7 years agoCopy exiting app token list while stepping animation.
Robert Carr [Fri, 12 Aug 2016 23:55:28 +0000 (23:55 +0000)]
Copy exiting app token list while stepping animation.
am: 46831fa9ff

Change-Id: I53c41afd54b9a315a0734dce357b1eef8485b84b

7 years agoMerge "Copy exiting app token list while stepping animation." into nyc-mr1-dev
TreeHugger Robot [Fri, 12 Aug 2016 23:48:12 +0000 (23:48 +0000)]
Merge "Copy exiting app token list while stepping animation." into nyc-mr1-dev

7 years agoSamplingTimer: Fix issue with summary recording too much
Adam Lesinski [Fri, 12 Aug 2016 22:49:44 +0000 (15:49 -0700)]
SamplingTimer: Fix issue with summary recording too much

The summary is supposed to just hold enough data to continue counting
once the device has reset. Since kernel stats reset when the device
resets, and the first update is ignored to account for soft resets where the
kernel continues running, SamplingTimer should not be recording the last value
it saw from /proc/wakelocks in the summary.

Bug:30575302
Change-Id: Ic193bc5af9a0ede514e3abc8146523d7316c47d3

7 years agoFix LockscreenWallpaper jank
Adrian Roos [Fri, 12 Aug 2016 22:29:36 +0000 (15:29 -0700)]
Fix LockscreenWallpaper jank

Change-Id: I3f11d26eaa51eb509284fb1bb25eab03a4f243a0
Fixes: 30493315

7 years agoCopy exiting app token list while stepping animation.
Robert Carr [Fri, 12 Aug 2016 20:50:38 +0000 (13:50 -0700)]
Copy exiting app token list while stepping animation.

Stepping the animation can lead to WindowStateAnimator#finishExit,
which can lead to WindowManagerService#removeWindowInnerLocked, which
can immediately call WindowSurfacePlacer.performSurfacePlacement. From
here we will directly modify mExitingAppTokens for each stack and remove
tokens where exiting is complete. I think removeWindowInnerLocked making
a direct call to performSurfacePlacement is questionable...but changing
semantics there is very risky. For now, simply avoid processing tokens
in the animator if the surface placer has removed them. It seems all we
would want to do is trigger a layout pass, which has just occured anyway.

Bug: 30813094
Change-Id: Iaff77d227e09839f7e6edda6b8f188d164e6da74

7 years agoMerge "Fix documentation." into nyc-mr1-dev
Hui Shu [Fri, 12 Aug 2016 21:29:50 +0000 (21:29 +0000)]
Merge "Fix documentation." into nyc-mr1-dev
am: caef4afe42

Change-Id: Icae5423ea33b2cbbfe120540818a23bdab0a8d2b

7 years agoFix documentation.
Hui Shu [Fri, 12 Aug 2016 21:29:47 +0000 (21:29 +0000)]
Fix documentation.
am: bd042e666a

Change-Id: Ib749bd51c24a2012cd2b0d87ed70c034f410bc58

7 years agoMerge "Fix documentation." into nyc-mr1-dev
Hui Shu [Fri, 12 Aug 2016 21:24:42 +0000 (21:24 +0000)]
Merge "Fix documentation." into nyc-mr1-dev

7 years agoLimit capabilities of a11y gesture dispatch. am: 157f416a35
Phil Weaver [Fri, 12 Aug 2016 21:14:48 +0000 (21:14 +0000)]
Limit capabilities of a11y gesture dispatch. am: 157f416a35
am: b0d9af4e2b

Change-Id: I95224013192c03b686be454fccf5aef65717a699

7 years agoRemember all wallpapers' backup-allow state
Christopher Tate [Fri, 12 Aug 2016 21:13:02 +0000 (14:13 -0700)]
Remember all wallpapers' backup-allow state

...not just system wallpapers.

Bug 30751829

Change-Id: If9f5df33e587e31080a7e65b1cbcae03f9a39f3c

7 years agoLimit capabilities of a11y gesture dispatch.
Phil Weaver [Fri, 12 Aug 2016 21:05:15 +0000 (21:05 +0000)]
Limit capabilities of a11y gesture dispatch.
am: 157f416a35

Change-Id: I260318856e390a585b0fdf404a10916f2ee5af82

7 years agoMerge "Assist: Allow disabling the disclosure animation" into nyc-mr1-dev
Adrian Roos [Fri, 12 Aug 2016 20:35:38 +0000 (20:35 +0000)]
Merge "Assist: Allow disabling the disclosure animation" into nyc-mr1-dev
am: 1ee928a62a

Change-Id: Ia37585801686d1533dfec798a2928469907a0477

7 years agoAssist: Allow disabling the disclosure animation
Adrian Roos [Fri, 12 Aug 2016 20:35:22 +0000 (20:35 +0000)]
Assist: Allow disabling the disclosure animation
am: 2335bd6787

Change-Id: I2a88e088da3062b7bd10581650de526629973c67

7 years agoMerge "Assist: Allow disabling the disclosure animation" into nyc-mr1-dev
TreeHugger Robot [Fri, 12 Aug 2016 20:28:10 +0000 (20:28 +0000)]
Merge "Assist: Allow disabling the disclosure animation" into nyc-mr1-dev

7 years agoMerge "Add restart to GlobalActions." into nyc-mr1-dev
Alison Cichowlas [Fri, 12 Aug 2016 20:18:44 +0000 (20:18 +0000)]
Merge "Add restart to GlobalActions." into nyc-mr1-dev
am: c7d6af6cd0

Change-Id: I171146f2ebce01147af8816ee8b69765d46f7ecf

7 years agoAdd restart to GlobalActions.
Alison Cichowlas [Fri, 12 Aug 2016 20:18:41 +0000 (20:18 +0000)]
Add restart to GlobalActions.
am: f8eca405c1

Change-Id: Ib9664d086e2ac57db905fbfa03329c1a990051fc

7 years agoMerge "Add property to force restorecon to run." into nyc-mr1-dev
Jeff Sharkey [Fri, 12 Aug 2016 20:18:38 +0000 (20:18 +0000)]
Merge "Add property to force restorecon to run." into nyc-mr1-dev
am: 54250f58b2

Change-Id: Ie7fedd80755d76f144a6bfdd50c3c34dc6da7f0e

7 years agoAdd property to force restorecon to run.
Jeff Sharkey [Fri, 12 Aug 2016 20:18:35 +0000 (20:18 +0000)]
Add property to force restorecon to run.
am: 6da39a4406

Change-Id: I5eb34da7d5e9a30c23c338cfe1f69d8d3a01854e

7 years agoMerge "Add restart to GlobalActions." into nyc-mr1-dev
Alison Cichowlas [Fri, 12 Aug 2016 20:12:37 +0000 (20:12 +0000)]
Merge "Add restart to GlobalActions." into nyc-mr1-dev

7 years agoMerge "Add property to force restorecon to run." into nyc-mr1-dev
TreeHugger Robot [Fri, 12 Aug 2016 20:12:15 +0000 (20:12 +0000)]
Merge "Add property to force restorecon to run." into nyc-mr1-dev

7 years agoMerge "Fix NPE in deferToPendingTransaction." into nyc-mr1-dev
Rob Carr [Fri, 12 Aug 2016 20:10:46 +0000 (20:10 +0000)]
Merge "Fix NPE in deferToPendingTransaction." into nyc-mr1-dev
am: 4a86fbc4d9

Change-Id: I9d36ac2b39d872dd91d0888e355f7c7098522c30

7 years agoFix NPE in deferToPendingTransaction.
Robert Carr [Fri, 12 Aug 2016 20:10:43 +0000 (20:10 +0000)]
Fix NPE in deferToPendingTransaction.
am: c24078f1a2

Change-Id: I9755399b591ab66e35884bdd37432a2350ad68e0

7 years agoMerge "Fix NPE in deferToPendingTransaction." into nyc-mr1-dev
Rob Carr [Fri, 12 Aug 2016 20:00:05 +0000 (20:00 +0000)]
Merge "Fix NPE in deferToPendingTransaction." into nyc-mr1-dev

7 years agoMerge "DO NO MERGE -- Revert the following two commits as they're causing flickering...
Chong Zhang [Fri, 12 Aug 2016 19:49:18 +0000 (19:49 +0000)]
Merge "DO NO MERGE -- Revert the following two commits as they're causing flickering" into nyc-mr1-dev
am: b6ee436eee

Change-Id: If0dbc782680fe95d1a460ab8109ed94fd0419e25

7 years agoDO NO MERGE -- Revert the following two commits as they're causing flickering
Chong Zhang [Fri, 12 Aug 2016 19:49:16 +0000 (19:49 +0000)]
DO NO MERGE -- Revert the following two commits as they're causing flickering
am: 44bd57ee25

Change-Id: Ie4504d027160fd58c3dab7dc372849f2a1e4ae51

7 years agoMerge "DO NO MERGE -- Revert the following two commits as they're causing flickering...
Chong Zhang [Fri, 12 Aug 2016 19:44:11 +0000 (19:44 +0000)]
Merge "DO NO MERGE -- Revert the following two commits as they're causing flickering" into nyc-mr1-dev

7 years agoMerge "Account for scaling of surfaceInset area in magnification." into nyc-mr1-dev
Rob Carr [Fri, 12 Aug 2016 19:42:52 +0000 (19:42 +0000)]
Merge "Account for scaling of surfaceInset area in magnification." into nyc-mr1-dev
am: 60ce77aa38

Change-Id: I5950a6c5643152d95f0e108250d71b93c96ebf76

7 years agoAccount for scaling of surfaceInset area in magnification.
Robert Carr [Fri, 12 Aug 2016 19:42:46 +0000 (19:42 +0000)]
Account for scaling of surfaceInset area in magnification.
am: 298f9278fd

Change-Id: I252c1d7810fb877c478f9042a01bc6577bf24179

7 years agoDO NO MERGE -- Revert the following two commits as they're causing flickering
Chong Zhang [Fri, 12 Aug 2016 18:44:52 +0000 (11:44 -0700)]
DO NO MERGE -- Revert the following two commits as they're causing flickering

When double tapping Recents, need to reinvestigate.

b/30831873
b/30790402

Revert "Clear WS.mDestroying on AWT.clearAnimatingFlags"

This reverts commit c2661e52eae3161ac8c02e831290ad50ad395be2.

Revert "Some fixes for transition animation selection"

This reverts commit 73e9bc3f1557f0320c8af843dfb051f27187361d.

7 years agoMerge "Account for scaling of surfaceInset area in magnification." into nyc-mr1-dev
Rob Carr [Fri, 12 Aug 2016 19:37:15 +0000 (19:37 +0000)]
Merge "Account for scaling of surfaceInset area in magnification." into nyc-mr1-dev

7 years agoAssist: Allow disabling the disclosure animation
Adrian Roos [Thu, 11 Aug 2016 22:42:40 +0000 (15:42 -0700)]
Assist: Allow disabling the disclosure animation

Change-Id: I6e7ed00f066fda7cc268119e7aa4133010aa69c1
Fixes: 30809067

7 years agoAdd property to force restorecon to run.
Jeff Sharkey [Fri, 12 Aug 2016 18:26:54 +0000 (12:26 -0600)]
Add property to force restorecon to run.

As an optimization, we typically only run restorecon when
seapp_contexts changes.  This CL checks a property that can be used
to always force a restorecon to help investigate boot timing.

Bug: 30213213
Change-Id: I4d65c1a4e4a0830ef4a32cd2fae1d3ab188b65cc

7 years agoMerge "Avoid an NPE while checking view location on screen." into cw-f-dev
Agnieszka Madurska [Fri, 12 Aug 2016 18:08:23 +0000 (18:08 +0000)]
Merge "Avoid an NPE while checking view location on screen." into cw-f-dev

7 years agoUpdate RenderScript docs: reduction, other API 23/24 changes, cleanup.
David Gross [Fri, 12 Aug 2016 18:06:29 +0000 (11:06 -0700)]
Update RenderScript docs: reduction, other API 23/24 changes, cleanup.

Substantive changes:
- Add discussion of reduction kernels.
- Use RS_KERNEL in place of __attribute__((kernel)).
- Discuss "context" special argument.
- Special arguments x, y, z may be of type int.
- Discuss multiple inputs for mapping kernels.
- Mention that script-side global writes are not visible in Java.
- Rewrite part of discussion regarding when to use support library.
- Change minimum device version for support library from Android 2.2 (API level 8)
  to Android 2.3 (API level 9).

Stylistic changes (better conformance with style guide):
- Proper use of <i> (italic) versus <em> (emphasis).
- Proper case for headings.
- Proper pattern for Android version numbers.
- Do not use e.g. or i.e.
- Prefer active rather than passive voice.
- Prefer present rather than future tense.

Miscellaneous minor editorial changes.

Bug: 27299393
Bug: 30000147

Change-Id: Ie0a26152714cf8f619d4914218f7262d675bb25f
(cherry picked from commit 05eef3040ed1bbd7640151b395072b8264b6d53d)

7 years agoMerge "Fix a race to detemine IME switcher visibilityde" into nyc-mr1-dev
Yohei Yukawa [Fri, 12 Aug 2016 17:50:07 +0000 (17:50 +0000)]
Merge "Fix a race to detemine IME switcher visibilityde" into nyc-mr1-dev
am: 41941689b7

Change-Id: Iba7b21e59241d67feff11346ae4f591d9946ed1f

7 years agoFix a race to detemine IME switcher visibilityde
Yohei Yukawa [Fri, 12 Aug 2016 17:50:05 +0000 (17:50 +0000)]
Fix a race to detemine IME switcher visibilityde
am: 982a94c5e3

Change-Id: I03f2a9377a72d9c9e826bf4bffd81a85b90eca83

7 years agoMerge "Fix a race to detemine IME switcher visibilityde" into nyc-mr1-dev
Yohei Yukawa [Fri, 12 Aug 2016 17:43:42 +0000 (17:43 +0000)]
Merge "Fix a race to detemine IME switcher visibilityde" into nyc-mr1-dev

7 years agoAdd restart to GlobalActions.
Alison Cichowlas [Fri, 5 Aug 2016 18:50:27 +0000 (14:50 -0400)]
Add restart to GlobalActions.

Update power icon in GlobalActions for consistency
with new restart icon.

Bug: 30395806
Change-Id: I5ab20c15c889384fb685fc678fbf9ed912fcde5d

7 years agoMerge "Start listening on notifications/QS panels on expansion started" into nyc...
Jason Monk [Fri, 12 Aug 2016 17:12:37 +0000 (17:12 +0000)]
Merge "Start listening on notifications/QS panels on expansion started" into nyc-mr1-dev
am: de214f40cf

Change-Id: Ib59d84910f053548e8a019e7c8be2c9b0b025dbe

7 years agoStart listening on notifications/QS panels on expansion started
Jason Monk [Fri, 12 Aug 2016 17:12:35 +0000 (17:12 +0000)]
Start listening on notifications/QS panels on expansion started
am: b5ece9a9d6

Change-Id: I948930f17c1d0e08ba3d33ea5db48e3071b2fe03

7 years agoMerge "Start listening on notifications/QS panels on expansion started" into nyc...
Jason Monk [Fri, 12 Aug 2016 17:04:45 +0000 (17:04 +0000)]
Merge "Start listening on notifications/QS panels on expansion started" into nyc-mr1-dev

7 years agoAvoid an NPE while checking view location on screen.
Aga Madurska [Fri, 12 Aug 2016 09:17:49 +0000 (10:17 +0100)]
Avoid an NPE while checking view location on screen.

Bug:30483148

Change-Id: I115da4fefff5fecc04135e2b150e1e77445cb86e

7 years agoMerge "Add ImsReason codes and DisconnectCauses for data disconnects." into nyc-mr1-dev
Tyler Gunn [Fri, 12 Aug 2016 14:59:37 +0000 (14:59 +0000)]
Merge "Add ImsReason codes and DisconnectCauses for data disconnects." into nyc-mr1-dev
am: 34910458c4

Change-Id: I5d1d6a7067376dc765224ef27fbee25b86334a9a

7 years agoAdd ImsReason codes and DisconnectCauses for data disconnects.
Tyler Gunn [Fri, 12 Aug 2016 14:59:27 +0000 (14:59 +0000)]
Add ImsReason codes and DisconnectCauses for data disconnects.
am: ed21e8fc0c

Change-Id: I468ab4a5e16bd08aa80c50c1cfc583e0004ea1ab

7 years agoMerge "Add ImsReason codes and DisconnectCauses for data disconnects." into nyc-mr1-dev
Tyler Gunn [Fri, 12 Aug 2016 14:54:26 +0000 (14:54 +0000)]
Merge "Add ImsReason codes and DisconnectCauses for data disconnects." into nyc-mr1-dev

7 years agoMerge "Fix NPE in TextureView" into nyc-mr1-dev
John Reck [Fri, 12 Aug 2016 14:31:52 +0000 (14:31 +0000)]
Merge "Fix NPE in TextureView" into nyc-mr1-dev
am: 4804404e11

Change-Id: Iab6ecc3b6a5bf9d8921297dec9a0f93ff1abc397

7 years agoFix NPE in TextureView
John Reck [Fri, 12 Aug 2016 14:31:49 +0000 (14:31 +0000)]
Fix NPE in TextureView
am: 7e237189c2

Change-Id: I16d37e5c8ab6b81b57f510be5cdea09047cdbd79

7 years agoMerge "Fix NPE in TextureView" into nyc-mr1-dev
John Reck [Fri, 12 Aug 2016 14:25:14 +0000 (14:25 +0000)]
Merge "Fix NPE in TextureView" into nyc-mr1-dev

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr1-dev
Bill Yi [Fri, 12 Aug 2016 10:51:37 +0000 (10:51 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev
am: ccd9ff6157  -s ours

Change-Id: I2191e7d4670a9852c72bf18cef1513cd7236ee80

7 years agoImport translations. DO NOT MERGE
Bill Yi [Fri, 12 Aug 2016 10:51:35 +0000 (10:51 +0000)]
Import translations. DO NOT MERGE
am: 7e33c8c4d2  -s ours

Change-Id: Iafc428588907eee40e8d1f8a3f306179c0cf83ff

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr1-dev
TreeHugger Robot [Fri, 12 Aug 2016 10:44:40 +0000 (10:44 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr1-dev
Bill Yi [Fri, 12 Aug 2016 09:32:00 +0000 (09:32 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev
am: d97f049315  -s ours

Change-Id: I33e2836cf2560848cbb35d25df34757672960ac1

7 years agoImport translations. DO NOT MERGE
Bill Yi [Fri, 12 Aug 2016 09:31:58 +0000 (09:31 +0000)]
Import translations. DO NOT MERGE
am: ab3feb2c95  -s ours

Change-Id: Ic1d0955c598c90d8d86a99d6dc19f7a12d476541

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr1-dev
Bill Yi [Fri, 12 Aug 2016 09:31:55 +0000 (09:31 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev
am: 438c3cbffe  -s ours

Change-Id: I1678c90c02ce16239aabcbf66aa3573d33ea1fca

7 years agoImport translations. DO NOT MERGE
Bill Yi [Fri, 12 Aug 2016 09:31:54 +0000 (09:31 +0000)]
Import translations. DO NOT MERGE
am: cf9a807e7e  -s ours

Change-Id: Ib6dd7fb5af9678f7e8bfc8ce55d4f34e9b7a7b59

7 years agoMerge "Import translations. DO NOT MERGE" into cw-f-dev
TreeHugger Robot [Fri, 12 Aug 2016 09:25:27 +0000 (09:25 +0000)]
Merge "Import translations. DO NOT MERGE" into cw-f-dev

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr1-dev
TreeHugger Robot [Fri, 12 Aug 2016 09:24:37 +0000 (09:24 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr1-dev
TreeHugger Robot [Fri, 12 Aug 2016 09:24:19 +0000 (09:24 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev

7 years agoImport translations. DO NOT MERGE
Bill Yi [Fri, 12 Aug 2016 07:26:31 +0000 (00:26 -0700)]
Import translations. DO NOT MERGE

Change-Id: Ib152ecb48817f123084dd0c776f3aa6393fc3f83
Auto-generated-cl: translation import

7 years agoImport translations. DO NOT MERGE
Bill Yi [Fri, 12 Aug 2016 07:13:54 +0000 (00:13 -0700)]
Import translations. DO NOT MERGE

Change-Id: I27949ecc8590b8c00ddac9c45000e34c11205a29
Auto-generated-cl: translation import

7 years agoImport translations. DO NOT MERGE
Bill Yi [Fri, 12 Aug 2016 07:06:34 +0000 (00:06 -0700)]
Import translations. DO NOT MERGE

Change-Id: I617474f76296482b1eade0ad6ed909b4c4fd25c7
Auto-generated-cl: translation import

7 years agoImport translations. DO NOT MERGE
Bill Yi [Fri, 12 Aug 2016 02:18:50 +0000 (19:18 -0700)]
Import translations. DO NOT MERGE

Change-Id: I2adf619d5a27506386d4f59beda29537734437c1
Auto-generated-cl: translation import

7 years agoFix a race to detemine IME switcher visibilityde
Yohei Yukawa [Fri, 12 Aug 2016 02:16:02 +0000 (19:16 -0700)]
Fix a race to detemine IME switcher visibilityde

When the current user is switching to a user who requires password to
unlock, there is a chance that InputMethodManagerService has not
completed InputMethodManagerService#onSwitchUser() when the keyguard is
calling InputMethodManager#getEnabledInputMethodList() to detemine
whether the IME switcher icon should be shown or not.  If this occurs,
and if the previous user enables only one IME but the new user enables
multiple IMEs, it's possible that the IME switcher icon is not shown
when it should be.  Although the user is still able to work around this
by switch back to the previous user then the current user again until
the icon shows up, or can rely on a way to switch to next
IME (e.g. globe key) if it's available, the lack of the IME switcher
is still concerning since it can prevent the user from unlocking the
device.

As a quick workaround for this situation, this CL introduces a delayed
task to re-evaluate if we need to show the IME switcher icon on the
keyguard or not (currently the delay is set to 500msec) until this race
condition is fundamentally fixed.

Bug: 30640917
Change-Id: I93ea71d73540c31fbbe1cc4bd6747871f957dcc6

7 years agoMerge "Make data warning notification heads up." into nyc-mr1-dev
Sanket Padawe [Fri, 12 Aug 2016 01:49:23 +0000 (01:49 +0000)]
Merge "Make data warning notification heads up." into nyc-mr1-dev
am: 36879a9d82

Change-Id: I8c5e00081e54134c61a5ca5fc9504e897f22f125

7 years agoMake data warning notification heads up.
Sanket Padawe [Fri, 12 Aug 2016 01:49:21 +0000 (01:49 +0000)]
Make data warning notification heads up.
am: c015e1c63c

Change-Id: I826fadc6fdda8707ec280b11379201f72b861362