229565 Commits

Author SHA1 Message Date
Doris Liu
e410a357f5 Properly handle the negative scaling factor of canvas in VectorDrawable
Bug: 26489687
Change-Id: I91cce34759fbbac206cd59f4636fd92194396c87
2016-01-13 17:23:33 -08:00
Sandra Kwan
f56a60fab2 Merge "AccountManager: make account session APIs SystemApi." 2016-01-13 19:46:21 +00:00
Filip Gruszczynski
3e979d6229 Merge "Only request stack resize after non full screen bounds were set." 2016-01-13 19:31:31 +00:00
Filip Gruszczynski
dce2d16170 Only request stack resize after non full screen bounds were set.
Also make sure that the bounds passed to stacks and tasks are not bogus,
as these would mess up the configuration.

Bug: 26512887
Change-Id: I1a3a9c867a2c258a326b31df2bac614ccbb00579
2016-01-13 11:30:58 -08:00
Chet Haase
f73363cf51 Merge "Make Animation.cancel() actually work" 2016-01-13 19:30:29 +00:00
Chong Zhang
71888e9ff8 Merge "Launch non-resizeable task with fullscreen bounds in docked stack." 2016-01-13 19:18:39 +00:00
Chris Craik
3cfc373127 Merge "Skip layer updates for layerless nodes" 2016-01-13 19:16:16 +00:00
Chris Craik
e9c5fd888b Skip layer updates for layerless nodes
bug:26535405

Change-Id: I4d5ea8401f59815715c5b51f88d549474876160c
2016-01-13 11:13:01 -08:00
Jason Monk
561e219033 Merge "Round out the QS API" 2016-01-13 19:07:33 +00:00
Matthew Bouyack
b79151759a Merge "In CanvasContext::doFrame, make a separate call to computeFrameTimeNanos and save the result. Then pass that value to UiFrameInfoBuilder::setVsync as both arguments." into cw-e-dev am: eebf168e43 am: e0845e8629 am: 6222bb0f6a
am: 099bd9ca8f

* commit '099bd9ca8fea02795424d62c05c723290d68ae14':
  In CanvasContext::doFrame, make a separate call to computeFrameTimeNanos and save the result. Then pass that value to UiFrameInfoBuilder::setVsync as both arguments.
2016-01-13 19:00:07 +00:00
Michael Wright
9b974bf25b Merge "Make sure NaturalSurfaceLayout is consistent with SurfaceControl" am: 6fa9c5cd01
am: 35bdda107f

* commit '35bdda107fe76ab62087527946b201551ddfe965':
  Animate backlight quickly when display state request to change or power mode changed
  Make sure NaturalSurfaceLayout is consistent with SurfaceControl
2016-01-13 18:57:49 +00:00
Alan Viverette
7a66ba9ddb Merge "Clean up lint warnings in popup menu presenter classes" 2016-01-13 18:56:24 +00:00
Kenny Root
5be30a6d49 Merge "Track changes in libcore" am: a15ef2abab
am: 5defc912cd

* commit '5defc912cd2d8f15d03226b901ffc43db9f2d39e':
  Track changes in libcore
2016-01-13 18:53:10 +00:00
Alan Viverette
61a8fa83ff Merge branch 'master' of /usr/local/google/game/mirror/googleplex-android_googlesource_com/platform/frameworks/base 2016-01-13 18:51:40 +00:00
Alan Viverette
03d50e4855 Merge "Avoid drawable invalidation during draw()" into mnc-dr1.5-dev am: cf6885b7b7 am: c783ebc13a
am: ea2e422c23

* commit 'ea2e422c2381298b67f3ce81d01b454e85dbe269':
  Avoid drawable invalidation during draw()
2016-01-13 18:51:02 +00:00
Chris Craik
8e77ff5eff Merge "Disable buildLayer crash" 2016-01-13 18:50:56 +00:00
Alan Viverette
beb0978401 Merge "Handle null result from getVirtualChildAt()" into mnc-dr1.5-dev am: d9434699e4 am: 9c0890ea4b
am: 19150f05c4

* commit '19150f05c4c3b4b73175edc764fbd64fe6988197':
  Handle null result from getVirtualChildAt()
2016-01-13 18:47:59 +00:00
Jason Monk
5bdfd8c126 Get data type from service state as well am: 67b2c16a9a am: 05130f3f23
am: 8ced692e44

* commit '8ced692e445526a74d51391f2c7c30bd43322d46':
  Get data type from service state as well
2016-01-13 18:46:13 +00:00
Chong Zhang
7d5f510e6c Launch non-resizeable task with fullscreen bounds in docked stack.
This case could happen in real world if a non-resizeable activity opens
another activity (eg. Messenger app opens an activity to write up the
message). Need to make sure the new activity is not resized.

Change-Id: I222985fa7ee2cbd94c843ac1190239cce31d3c0c
2016-01-13 10:40:59 -08:00
Alan Viverette
02cd0f9105 Clean up lint warnings in popup menu presenter classes
Change-Id: I6b4cce1c4788b408615af0c93575e02e75b4c3ca
2016-01-13 13:33:17 -05:00
Steve McKay
f3b34603de Merge "Stop listening root change events when the activity is destroyed." 2016-01-13 18:21:08 +00:00
Dongwon Kang
ab064b3b36 Merge "Add a way for SystemUI to receive media resource (e.g. A/V codec) usage" 2016-01-13 18:21:00 +00:00
Clara Bayarri
4fce66668e Merge "Request Keyboard Shortcuts for SysUI Dialog via Window" 2016-01-13 18:06:38 +00:00
Jae Seo
1365602813 Merge "TIF: Fix typos" 2016-01-13 17:50:19 +00:00
Robert Sesek
81d867f5db Merge "Add external services, a way to run isolated processes as a different package." 2016-01-13 17:23:36 +00:00
Geoff Mendal
61f8f5d6a7 Merge "Import translations. DO NOT MERGE" 2016-01-13 17:05:42 +00:00
Clara Bayarri
75e097965c Request Keyboard Shortcuts for SysUI Dialog via Window
Keyboard shortcuts are requested via WindowManager, and
the request pipes through to the view root and the window
callback.

Bug: 22405482
Change-Id: Ic0071e91c7b554be3ac9df71e9539ee8a60e822e
2016-01-13 16:56:56 +00:00
Geoff Mendal
76cc58e19c Import translations. DO NOT MERGE
Change-Id: I02b0f5198801a8c8f836a123d15bd1dd8e2caf52
Auto-generated-cl: translation import
2016-01-13 17:56:52 +01:00
Jason Monk
a5abf80104 Merge "Make QS only have one Host and Tiles" 2016-01-13 15:58:42 +00:00
Adrian Roos
dc5b453516 Scroll to RemoteInputView
Scrolls to the RemoteInputView when it's beneath the IME.
Also fixes ViewRootImpl to take into account translation
when calculating the location of the focused rect.

Bug: 22452379
Change-Id: I9b9649edeabf9bcab8fc487fe92dec62f388737e
2016-01-13 15:40:42 +00:00
Chet Haase
f83464ed0a Make Animation.cancel() actually work
Cancel() has apparently never worked. Calling cancel() results
in the startTime being set to Long.MIN_VALUE. In theory, this means that
on the next animation frame (getTransformation()), the elapsed time
(currentTime - startTime) should result in a large positive number, which
is way more than needed to prove that the elapsed fraction is >1 and
therefore that the animation has ended. But in practice, anything subtracting
MIN_VALUE will result in a large negative number due to Long wraparound, so the
end check fails and the animation continues. Forever.

Moreover, event fixing the cancel issue results in a repeating animation
continuing to repeat, because the logic was never there to determine whether
a repeating animation was canceled.

This fix addresses both issues, but in a minimal way. The risk in fixing this
for real is changing the behavior of cancel in a way that existing apps would not
expect. For example, it's weird that cancel causes one more frame to run. And even weirder
that it does so with a negative elapsed duration (resulting in an animation fraction of 0).
But I wouldn't want to change that behavior for fear that I'd break apps who rely on
that weird behavior.

Instead, there's a simple check for for the "expired" check and the "repeat?" check that
sees whether the startTime has the magic value of MIN_VALUE, which should only happen
when an animation has been canceled. If this is the case, it ensures that the animation ends.
For real.

Issue #24984018 canceled animation runs forever

Change-Id: Ia137eb04bd7df3976a4d9cef86fd39a78dc56f39
2016-01-13 07:37:29 -08:00
Derek Sollenberger
613e5a0ee6 Merge "CreateLightingFilter is now on SkColorMatrixFilter" 2016-01-13 15:34:57 +00:00
Alan Viverette
8a77da8626 Merge "Apply tick mark tint during view construction" 2016-01-13 15:16:11 +00:00
Alan Viverette
d154a5bb8d Apply tick mark tint during view construction
...otherwise it never gets applied.

Change-Id: I06991b3cedcf3dcfb8e98ae61e3d679c35b68839
2016-01-13 10:10:22 -05:00
Mike Reed
8ee246b4c7 CreateLightingFilter is now on SkColorMatrixFilter
Change-Id: Ic53071aa5dc618ce1a72c531180d18304c7e522a
2016-01-13 14:35:45 +00:00
Alan Treadway
fd53d56e38 Merge "Add extra to control USER_SETUP_COMPLETE behavior." 2016-01-13 14:07:38 +00:00
Clara Bayarri
25a2c21360 Merge "Fix missing MANAGE_USER error on calls to isDeviceSecure" 2016-01-13 14:04:20 +00:00
Geoff Mendal
57072d09c8 Merge "Import translations. DO NOT MERGE" 2016-01-13 13:58:38 +00:00
Geoff Mendal
5378a5bf3a Merge "Import translations. DO NOT MERGE" 2016-01-13 13:58:06 +00:00
Geoff Mendal
4da11f31c3 Import translations. DO NOT MERGE
Change-Id: If349d6b1bd99c61e78a7076d4c7b506abb7c9ac0
Auto-generated-cl: translation import
2016-01-13 05:55:54 -08:00
Geoff Mendal
be84a1b1e6 Import translations. DO NOT MERGE
Change-Id: I81cf6e3ce955937cc57289a59ffb794e75f72d20
Auto-generated-cl: translation import
2016-01-13 05:52:37 -08:00
Geoff Mendal
0cfb11063d Merge "Import translations. DO NOT MERGE" 2016-01-13 13:43:16 +00:00
Geoff Mendal
3e3a451f79 Import translations. DO NOT MERGE
Change-Id: I488d48ed5a95fb2764dd2129fc512fa1c2db5fdb
Auto-generated-cl: translation import
2016-01-13 05:37:19 -08:00
Clara Bayarri
8d35de8445 Fix missing MANAGE_USER error on calls to isDeviceSecure
A poorly placed clear identity was causing some crashes as
apps were required to have the MANAGE_USERS permission to
query if the current user is secured.

Change-Id: I1120b1e4405e78389fcbcb3e7d1dba8c80500da3
2016-01-13 13:21:03 +00:00
Geoff Mendal
899a711591 Merge "Import translations. DO NOT MERGE" 2016-01-13 13:15:14 +00:00
Adrian Roos
acc11c0701 Improve bouncer restart prompt message
Bug: 26325366
Change-Id: I21ce92b763417f8f9cef571ceab840db71224bb7
2016-01-13 13:06:39 +00:00
Geoff Mendal
e1161b06d1 Import translations. DO NOT MERGE
Change-Id: I7e6b5a16f8f7c7835fb85abf4453ef979b2cfb2e
Auto-generated-cl: translation import
2016-01-13 05:06:28 -08:00
Alan Treadway
94de8c890c Add extra to control USER_SETUP_COMPLETE behavior.
For split-user cases it has been identified that provisioning
a profile-owner during user setup-wizard shouldn't cause
the setup-wizard to exit early generally. Adding this extra
allows a DPC to control whether the user can take further steps
in the setup-wizard after management provisioning completes.

Adding as a hidden extra since we don't expect this to be useful
until after N release.

Bug: 25858670
Change-Id: I599a5df4aef659769a6323402efe078d0d12d2ed
2016-01-13 12:49:23 +00:00
Clara Bayarri
a1771110d6 Create Work Challenge per-user condition
Change the current static condition to a per-user condition so we
can check and enable/disable the work challenge properly. Also add
an isAllowed API, as the Work Challenge can only be used when the
user's DPC targets N or above to maintain backwards compatibility.

Change-Id: I0cb8b475838816801868ffb24726407aa257b4de
2016-01-13 10:27:12 +00:00
Keisuke Kuroyanagi
2d12690d70 Merge "TextView: Offer suggestions in context menu." 2016-01-13 08:02:00 +00:00