Commit Graph

250481 Commits

Author SHA1 Message Date
Tyler Gunn
aa9b18f90a Merge "Add missing remote conference property set." into nyc-mr1-dev 2016-08-15 22:32:03 +00:00
Selim Cinek
d381bc3133 Fixed an issue where the background could show in a wrong way
Change-Id: Icefeb2275d6cbabc576c35990ce4441b3a41ebd9
Fixes: 30855224
2016-08-15 21:42:09 +00:00
Dianne Hackborn
6af2db3824 Merge "Docs only: N is no longer a shrug." into nyc-mr1-dev 2016-08-15 21:16:43 +00:00
Chong Zhang
b0d267043a 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
2016-08-15 20:08:06 +00:00
Julius D'souza
e543fb29b2 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
2016-08-15 19:47:33 +00:00
Julius D'souza
f51dfc24d1 DO NOT MERGE ANYWHERE: Make slow brightness display ramp rate configurable. am: 13edf0a70b -s ours
am: 0903c5fe7a  -s ours

Change-Id: Iba7ccc2ec071ea8c13d146b39aab48d2f4fc4977
2016-08-15 19:33:29 +00:00
TreeHugger Robot
aedfa81517 Merge "QS Footer: Don't update icon from wrong thread." into nyc-mr1-dev 2016-08-15 19:25:46 +00:00
Julius D'souza
0903c5fe7a DO NOT MERGE ANYWHERE: Make slow brightness display ramp rate configurable.
am: 13edf0a70b  -s ours

Change-Id: I7c02cea3ea0008f3f112063b6a06d08049c4998b
2016-08-15 19:25:33 +00:00
Julius D'souza
13edf0a70b DO NOT MERGE ANYWHERE: Make slow brightness display ramp rate configurable.
Add overlay setting with current default value.

Bug: 30085530
Change-Id: Ib5d2448b88cfb66a97febcdf06e2118c84b16cd0
2016-08-15 12:15:29 -07:00
Chong Zhang
f96cb3c34d Revert "DO NOT MERGE -- Revert the following two commits as they're causing flickering"
This reverts commit 44bd57ee25.

bug: 30831873
bug: 30790402
2016-08-15 19:09:57 +00:00
Chong Zhang
1fb9466c1d Merge "Allow performShowLocked when transition animation started" into nyc-mr1-dev 2016-08-15 19:04:48 +00:00
Selim Cinek
45d2ff9b6a Merge "Fixed that HUNs wouldn't show when the keyguard is occluded" into nyc-mr1-dev 2016-08-15 18:35:59 +00:00
Jason Monk
f9c6026a7d QS Footer: Don't update icon from wrong thread.
Change-Id: I25191818579fac57236b67d7291b6ee00dd838b5
Fixes: 30748384
2016-08-15 13:57:43 -04:00
Tyler Gunn
04ce757860 Add missing remote conference property set.
When creating a new remote conference, there was a missing call to
"setConnectionProperties".  This would prevent remote conferences from
being created with the correct properties as defined in the actual
conference.

Bug: 30383741
Change-Id: I335e35c222ae18b0d6ea7e750b91bcc36aa40ece
2016-08-15 10:56:12 -07:00
Chong Zhang
83caa366f4 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
2016-08-15 17:52:59 +00:00
David Gross
375ac04044 Merge "Update RenderScript docs: reduction, other API 23/24 changes, cleanup." into nyc-dev
am: 8cb4ca439e

Change-Id: I1507e8d3d8bf588ea48e17b3d93ced19228d5d21
2016-08-15 17:23:17 +00:00
David Gross
1f5b0ea408 Update RenderScript docs: reduction, other API 23/24 changes, cleanup.
am: b50e856fc7

Change-Id: I37cf0227be2a32261b44f19f6d45a5ea4ff6f624
2016-08-15 17:23:14 +00:00
David Gross
8cb4ca439e Merge "Update RenderScript docs: reduction, other API 23/24 changes, cleanup." into nyc-dev 2016-08-15 17:17:02 +00:00
TreeHugger Robot
8aacc3cf98 Merge "SamplingTimer: Fix issue with summary recording too much" into nyc-mr1-dev 2016-08-13 00:40:53 +00:00
TreeHugger Robot
6ae8693cd7 Merge "Remember all wallpapers' backup-allow state" into nyc-mr1-dev 2016-08-13 00:24:11 +00:00
TreeHugger Robot
6912cf9b30 Merge "Fix LockscreenWallpaper jank" into nyc-mr1-dev 2016-08-13 00:13:00 +00:00
Dianne Hackborn
c1b607df71 Docs only: N is no longer a shrug.
Change-Id: I6fa8f77d93f53b7969ec6aab4c7e9ca27d17d01f
2016-08-12 17:01:35 -07:00
TreeHugger Robot
64d7220153 Merge "Copy exiting app token list while stepping animation." into nyc-mr1-dev 2016-08-12 23:48:14 +00:00
Adam Lesinski
9edd6be542 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
2016-08-12 15:49:44 -07:00
Adrian Roos
d866b02d54 Fix LockscreenWallpaper jank
Change-Id: I3f11d26eaa51eb509284fb1bb25eab03a4f243a0
Fixes: 30493315
2016-08-12 15:31:24 -07:00
Robert Carr
46831fa9ff 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
2016-08-12 14:36:04 -07:00
Hui Shu
caef4afe42 Merge "Fix documentation." into nyc-mr1-dev 2016-08-12 21:24:44 +00:00
Christopher Tate
c613c63096 Remember all wallpapers' backup-allow state
...not just system wallpapers.

Bug 30751829

Change-Id: If9f5df33e587e31080a7e65b1cbcae03f9a39f3c
2016-08-12 14:13:02 -07:00
Phil Weaver
b0d9af4e2b Limit capabilities of a11y gesture dispatch.
am: 157f416a35

Change-Id: I260318856e390a585b0fdf404a10916f2ee5af82
2016-08-12 21:05:15 +00:00
TreeHugger Robot
1ee928a62a Merge "Assist: Allow disabling the disclosure animation" into nyc-mr1-dev 2016-08-12 20:28:12 +00:00
Alison Cichowlas
c7d6af6cd0 Merge "Add restart to GlobalActions." into nyc-mr1-dev 2016-08-12 20:12:38 +00:00
TreeHugger Robot
54250f58b2 Merge "Add property to force restorecon to run." into nyc-mr1-dev 2016-08-12 20:12:17 +00:00
Rob Carr
4a86fbc4d9 Merge "Fix NPE in deferToPendingTransaction." into nyc-mr1-dev 2016-08-12 20:00:07 +00:00
Chong Zhang
b6ee436eee Merge "DO NO MERGE -- Revert the following two commits as they're causing flickering" into nyc-mr1-dev 2016-08-12 19:44:12 +00:00
Chong Zhang
44bd57ee25 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.
2016-08-12 19:40:28 +00:00
Rob Carr
60ce77aa38 Merge "Account for scaling of surfaceInset area in magnification." into nyc-mr1-dev 2016-08-12 19:37:16 +00:00
Adrian Roos
2335bd6787 Assist: Allow disabling the disclosure animation
Change-Id: I6e7ed00f066fda7cc268119e7aa4133010aa69c1
Fixes: 30809067
2016-08-12 12:04:53 -07:00
Jeff Sharkey
6da39a4406 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
2016-08-12 18:34:09 +00:00
David Gross
b50e856fc7 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 05eef3040e)
2016-08-12 11:06:29 -07:00
Yohei Yukawa
41941689b7 Merge "Fix a race to detemine IME switcher visibilityde" into nyc-mr1-dev 2016-08-12 17:43:43 +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
Jason Monk
de214f40cf Merge "Start listening on notifications/QS panels on expansion started" into nyc-mr1-dev 2016-08-12 17:04:47 +00:00
Tyler Gunn
34910458c4 Merge "Add ImsReason codes and DisconnectCauses for data disconnects." into nyc-mr1-dev 2016-08-12 14:54:27 +00:00
John Reck
4804404e11 Merge "Fix NPE in TextureView" into nyc-mr1-dev 2016-08-12 14:25:15 +00:00
TreeHugger Robot
ccd9ff6157 Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev 2016-08-12 10:44:41 +00:00
TreeHugger Robot
d97f049315 Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev 2016-08-12 09:24:39 +00:00
TreeHugger Robot
438c3cbffe Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev 2016-08-12 09:24:20 +00:00
Bill Yi
7e33c8c4d2 Import translations. DO NOT MERGE
Change-Id: Ib152ecb48817f123084dd0c776f3aa6393fc3f83
Auto-generated-cl: translation import
2016-08-12 00:26:31 -07:00
Bill Yi
cf9a807e7e Import translations. DO NOT MERGE
Change-Id: I27949ecc8590b8c00ddac9c45000e34c11205a29
Auto-generated-cl: translation import
2016-08-12 00:13:54 -07:00
Bill Yi
ab3feb2c95 Import translations. DO NOT MERGE
Change-Id: I617474f76296482b1eade0ad6ed909b4c4fd25c7
Auto-generated-cl: translation import
2016-08-12 00:06:34 -07:00