219674 Commits

Author SHA1 Message Date
Wale Ogunwale
be6555105a Merge "Disassociate system windows from apps" into mnc-dr-dev 2015-10-16 16:14:45 +00:00
Wale Ogunwale
9b34442568 Use StringBuilder to construct window title string.
Change-Id: I9193b7f5180f165d517cbfe0345f84e161b851d2
2015-10-16 09:07:45 -07:00
tiger_huang
20ebb4c2d4 Disassociate system windows from apps
With the original logic, if an app creates a system window, when the
user goes to home screen, the system window will be still there and
become unable to receive input events, because the system window will
be also changed to the stopped state with the app window, and the
current logic of ViewRootImpl forbid a stopped window receiving input
events.

This change prevents assigning the token of the app window to system
windows created by the app, so that when the app goes to the stopped
state, its system windows won't be affected (can still receive input
events).

This change is related to the following changes:
a5d29971f8
15ed2754a3
c3672cd3f7
41725dedc3

Bug: 24967303
Bug: https://code.google.com/p/android/issues/detail?id=189710

Change-Id: I515e47bafcf39a2b1bdf92f11f623bef8fb6263c
2015-10-16 08:21:45 -07:00
Abodunrinwa Toki
a6200068af DO NOT MERGE: Reduce delay of floating toolbar appearance.
Bug: 21956394
Change-Id: I3db39e84afd3474b5bb53522c5a4c738ec1511bf
2015-10-16 16:01:00 +01:00
Wale Ogunwale
d4f2b641d3 am be02134c: am fceaedda: am 75693994: Merge "Disassociate system windows from apps"
* commit 'be02134cbc7ef98e73f118aba45a92908d818553':
  Disassociate system windows from apps
2015-10-16 14:08:14 +00:00
Wale Ogunwale
be02134cbc am fceaedda: am 75693994: Merge "Disassociate system windows from apps"
* commit 'fceaedda41f9133a4d4213720b15950ef43dd00c':
  Disassociate system windows from apps
2015-10-16 14:00:47 +00:00
Wale Ogunwale
fceaedda41 am 75693994: Merge "Disassociate system windows from apps"
* commit '75693994f60bdec9a10db98ddb8addd2bc3f8bbb':
  Disassociate system windows from apps
2015-10-16 13:54:54 +00:00
Wale Ogunwale
75693994f6 Merge "Disassociate system windows from apps" 2015-10-16 13:50:35 +00:00
Sanket Padawe
4ae088957f am 902cb106: am cf471efd: am 001a651e: am 8d6d735f: Merge "Mask IccId which gets printed in bug reports & radio logs." into mnc-dr-dev
* commit '902cb106fe8d06274462e4cea4afb29c1ffa0c03':
  Mask IccId which gets printed in bug reports & radio logs.
2015-10-16 12:07:57 +00:00
Dianne Hackborn
604834cadb am 700d1fbd: am 401f68b9: am 510f03c5: am 56f41971: Merge "Fix issue #24571425: Device does not come out of idle mode for maintenance" into mnc-dr-dev
* commit '700d1fbd0ee0e65a3bf6587f6dd0e7d9a4e114a2':
  Fix issue #24571425: Device does not come out of idle mode for maintenance
2015-10-16 12:07:32 +00:00
Alan Viverette
7de90e23e2 am d76757d7: am b36aebbe: am ffa8fd0e: am 6a032a3a: Don\'t project ripple for adequately tall spinners
* commit 'd76757d7ad1bd8fa1b45b9aefa5ddafafedffb55':
  Don't project ripple for adequately tall spinners
2015-10-16 12:07:23 +00:00
tiger_huang
ff58e30aca Disassociate system windows from apps
With the original logic, if an app creates a system window, when the
user goes to home screen, the system window will be still there and
become unable to receive input events, because the system window will
be also changed to the stopped state with the app window, and the
current logic of ViewRootImpl forbid a stopped window receiving input
events.

This change prevents assigning the token of the app window to system
windows created by the app, so that when the app goes to the stopped
state, its system windows won't be affected (can still receive input
events).

This change is related to the following changes:
a5d29971f8
15ed2754a3
c3672cd3f7
41725dedc3

Bug:
https://code.google.com/p/android/issues/detail?id=189710

Change-Id: I515e47bafcf39a2b1bdf92f11f623bef8fb6263c
2015-10-16 12:30:38 +08:00
Filip Gruszczynski
7be9a8c8af Also calculate minimal task size when window manager is set.
Bug: 21409825
Change-Id: If0dbbd8976607a5c0db13f608af01f21c41f45ed
2015-10-15 18:20:30 -07:00
Sanket Padawe
902cb106fe am cf471efd: am 001a651e: am 8d6d735f: Merge "Mask IccId which gets printed in bug reports & radio logs." into mnc-dr-dev
* commit 'cf471efd5f722a4cb7c1094e30b111ef312ef133':
  Mask IccId which gets printed in bug reports & radio logs.
2015-10-16 00:57:02 +00:00
Sanket Padawe
cf471efd5f am 001a651e: am 8d6d735f: Merge "Mask IccId which gets printed in bug reports & radio logs." into mnc-dr-dev
* commit '001a651e4b0919239f09b25ae99d132585b5d382':
  Mask IccId which gets printed in bug reports & radio logs.
2015-10-16 00:51:49 +00:00
Sanket Padawe
001a651e4b am 8d6d735f: Merge "Mask IccId which gets printed in bug reports & radio logs." into mnc-dr-dev
* commit '8d6d735fa8cea74f53ba29063b72b856fef69d8e':
  Mask IccId which gets printed in bug reports & radio logs.
2015-10-16 00:41:44 +00:00
Sanket Padawe
8d6d735fa8 Merge "Mask IccId which gets printed in bug reports & radio logs." into mnc-dr-dev 2015-10-16 00:38:55 +00:00
Chris Craik
81a1d2a159 Add LinearStdAllocator
Also fixes microbench DisplayListData leak.

Change-Id: I1c46f6d0d38650327f3df90e7b278fa7765083dc
2015-10-15 17:14:45 -07:00
Filip Gruszczynski
d2f1d94fe5 API for minimal width/height of an activity.
Bug: 21409825

Change-Id: Id6286064713672366dd4dc1f80258450a8039c36
2015-10-15 17:02:59 -07:00
Matthew Williams
b91987634b DO NOT MERGE Change scheduling logic to run network jobs sooner
BUG: 24385082
BUG: 23144425
BUG: 18117279

Run jobs with connectivity constraints as soon as the developer-allotted
delay has expired, rather than waiting for the override deadline. This
is more in tune with what developers expect, although it reduces the
amount of batching the scheduler can theoretically do.
This will also have the side effect of fixing several failing cts
tests that started breaking b/c the signal to 'run connectivity
jobs early' was removed in M and nothing was put in to replace it.

Change-Id: I7e63c2b62f2882ee906f748445bbf10c32e19c5f
(cherry picked from commit aa9843198dec910a581bdc509d3937a9ea6ceca9)
2015-10-15 23:33:06 +00:00
Matthew Williams
7d4f5b3239 Merge "Change scheduling logic to run network jobs sooner" 2015-10-15 23:31:45 +00:00
Dianne Hackborn
700d1fbd0e am 401f68b9: am 510f03c5: am 56f41971: Merge "Fix issue #24571425: Device does not come out of idle mode for maintenance" into mnc-dr-dev
* commit '401f68b93aa9eca88d8dd126b92128bdc3371064':
  Fix issue #24571425: Device does not come out of idle mode for maintenance
2015-10-15 23:22:10 +00:00
Alan Viverette
d76757d7ad am b36aebbe: am ffa8fd0e: am 6a032a3a: Don\'t project ripple for adequately tall spinners
* commit 'b36aebbe69c368294694a0c7c84e692167132037':
  Don't project ripple for adequately tall spinners
2015-10-15 23:22:04 +00:00
Dianne Hackborn
401f68b93a am 510f03c5: am 56f41971: Merge "Fix issue #24571425: Device does not come out of idle mode for maintenance" into mnc-dr-dev
* commit '510f03c5ac057122569264bd005b2e26f96236ae':
  Fix issue #24571425: Device does not come out of idle mode for maintenance
2015-10-15 23:19:06 +00:00
Alan Viverette
b36aebbe69 am ffa8fd0e: am 6a032a3a: Don\'t project ripple for adequately tall spinners
* commit 'ffa8fd0ed4a624833e1da10cbabeec175eef7b35':
  Don't project ripple for adequately tall spinners
2015-10-15 23:19:00 +00:00
Dianne Hackborn
510f03c5ac am 56f41971: Merge "Fix issue #24571425: Device does not come out of idle mode for maintenance" into mnc-dr-dev
* commit '56f41971483647e954179301ae40180063d0eba8':
  Fix issue #24571425: Device does not come out of idle mode for maintenance
2015-10-15 23:12:39 +00:00
Alan Viverette
ffa8fd0ed4 am 6a032a3a: Don\'t project ripple for adequately tall spinners
* commit '6a032a3aba3741ce55679b97c2f048b523d465de':
  Don't project ripple for adequately tall spinners
2015-10-15 23:12:34 +00:00
Dianne Hackborn
56f4197148 Merge "Fix issue #24571425: Device does not come out of idle mode for maintenance" into mnc-dr-dev 2015-10-15 23:11:12 +00:00
Matthew Williams
aa9843198d Change scheduling logic to run network jobs sooner
BUG: 24385082
BUG: 23144425
BUG: 18117279

Run jobs with connectivity constraints as soon as the developer-allotted
delay has expired, rather than waiting for the override deadline. This
is more in tune with what developers expect, although it reduces the
amount of batching the scheduler can theoretically do.
This will also have the side effect of fixing several failing cts
tests that started breaking b/c the signal to 'run connectivity
jobs early' was removed in M and nothing was put in to replace it.

Change-Id: I7e63c2b62f2882ee906f748445bbf10c32e19c5f
2015-10-15 16:08:05 -07:00
Sasha Levitskiy
468ae2daca meminfo: Change size suffix to comply with iec, make it parseable with numfmt.
Re-factor to allow for future format flexibility
Add locale-specific large number thousand separator

Change-Id: If4b7c958b5f5fb7094dd4c10b4532e156e983935
Signed-off-by: Sasha Levitskiy <sanek@google.com>
2015-10-15 16:04:05 -07:00
Rob Carr
cbc4e08fb5 Merge "Revert "Sync SurfaceView position changes to parent render."" 2015-10-15 22:54:11 +00:00
Rob Carr
7e1d861a9a Revert "Sync SurfaceView position changes to parent render."
This reverts commit 6104dc95606b3399356dd011ca6d71fcd954154c.

Change-Id: If9d709bc65e7a817bd2c1b5768c7c33a9317638f
2015-10-15 22:53:30 +00:00
Rob Carr
70b7073fea Merge "Sync SurfaceView position changes to parent render." 2015-10-15 22:53:15 +00:00
Alan Viverette
6a032a3aba Don't project ripple for adequately tall spinners
Bug: 24674907
Change-Id: I1674c14f321600a40ca20adab1d40459963d2d1b
2015-10-15 22:53:04 +00:00
Sanket Padawe
fb34a123ed Mask IccId which gets printed in bug reports & radio logs.
Bug: 24941148
Change-Id: Ibe397f5d9b0da245e3e64f626937db4792c7f3c2
2015-10-15 15:46:39 -07:00
Robert Carr
6104dc9560 Sync SurfaceView position changes to parent render.
In order to provide pixel perfect movement of SurfaceViews
'within' other views (e.g. scrolling) we need to be able to
synchronize the attached (parent window) painting with the
movement of the SurfaceView (recall, SurfaceViews are positioned
behind their attached windows and the parent must render a
transparent region for the SurfaceView to appear). Provide
a new WindowManager method to reposition an attaching window
(that is to say, a window which has an attached window like
SurfaceView) and defer the transaction until the parent frame.
SurfaceView is hooked up to use this for movement. This is still
'racy' in the hardware accelerated case as the render thread
could be on either side of dequeing the frame we are working on.

Change-Id: Ic33915043380ab8cd9eb4920e224b35234ed867d
2015-10-15 22:35:48 +00:00
Tyler Gunn
d666a8d959 Merge "Move position of bundle parceling for PA extras." 2015-10-15 22:20:15 +00:00
Xiaohui Chen
fd5b77444e Add UM.isSameProfileGroup()
This optimizes the performance to check if two users are in the same
profile group.

Change-Id: I493a3475b848487836f4dbe01529c63165ace483
2015-10-15 22:02:07 +00:00
Dianne Hackborn
f383129b09 Fix issue #24571425: Device does not come out of idle mode for maintenance
Don't allow alarms to push the idle maintenance alarm later
than it was set for.

Change-Id: I947718ffc9d2b984a793d7e4f2d027d8ddeee41b
2015-10-15 14:51:06 -07:00
Xiaohui Chen
1fa7680c9c Add UserHandle.isSystem() api
This is added in order to deprecate the isOwner() api.

Bug: 24869636
Change-Id: I80a7a5559525faf261b9d9c7a8593e6ff5db4b22
2015-10-15 12:09:32 -07:00
Rob Carr
3128c842e7 am 2f8c74ab: am 0a543fac: am 111b378a: am 575b629e: Merge "WindowStateAnimation: Clear transformation clip rect." into mnc-dr-dev
* commit '2f8c74ab53a924d26c51c760148a7acfae6eb193':
  WindowStateAnimation: Clear transformation clip rect.
2015-10-15 19:00:59 +00:00
Rob Carr
2f8c74ab53 am 0a543fac: am 111b378a: am 575b629e: Merge "WindowStateAnimation: Clear transformation clip rect." into mnc-dr-dev
* commit '0a543fac0f30c38d791cb108e521998333363104':
  WindowStateAnimation: Clear transformation clip rect.
2015-10-15 18:53:59 +00:00
Steve McKay
5ff818e985 Merge "Performe save when ENTER is pressed." 2015-10-15 18:48:19 +00:00
Rob Carr
0a543fac0f am 111b378a: am 575b629e: Merge "WindowStateAnimation: Clear transformation clip rect." into mnc-dr-dev
* commit '111b378a4e20b9eb2deada94458bae16b91601ff':
  WindowStateAnimation: Clear transformation clip rect.
2015-10-15 18:46:57 +00:00
Rob Carr
111b378a4e am 575b629e: Merge "WindowStateAnimation: Clear transformation clip rect." into mnc-dr-dev
* commit '575b629ef8e21cca5a40acaafeee7653d90956fe':
  WindowStateAnimation: Clear transformation clip rect.
2015-10-15 18:42:07 +00:00
Rob Carr
575b629ef8 Merge "WindowStateAnimation: Clear transformation clip rect." into mnc-dr-dev 2015-10-15 18:38:28 +00:00
Jason Monk
b451c2c75b Merge "Make QS header less broken on tablets" 2015-10-15 18:14:41 +00:00
Chris Craik
10ed692118 Use typedefs to differentiate between flavors of DisplayLists
Change-Id: Id3b0a5aa045f2343fb046ca0889b375a7d00e03f
2015-10-15 10:55:15 -07:00
Chris Craik
2eb4ca6114 Merge "Add partial damage support to new draw path" 2015-10-15 17:48:35 +00:00
Jason Monk
42c8b4e734 Make QS header less broken on tablets
Instead have the prototype header a little broken

Bug: 24963222
Change-Id: Ic6f2aa2dc003fbb603feb01bef3af79314d6f24e
2015-10-15 13:46:47 -04:00