Commit Graph

266851 Commits

Author SHA1 Message Date
John Reck
2ccaf6a448 Change overdraw test to use windowbackground
Bug: 28786023

Fixes an issue where the first couple frames would
be extremely slow due to the simpleness of HWUI's
overdraw rejection optimization.

Change-Id: I1fe3d83f7e2e0eb3299124b00b9f877c2c3aebf9
2016-05-26 14:36:42 -07:00
Robert Carr
fed1007420 Ensure surfaces only resize during relayout.
For clients which use an indeterminate measure spec in their
layout params (MATCH_PARENT). We could try and change their window size
due to a stack resize, before the client calls relayout. This isn't
safe as the client never had an opportunity to pause rendering, so it
could be in the middle of producing a frame for the old size to suddenly
find the buffer size change underneath it.

Bug: 28559097
Change-Id: I3982936fdf85c22def2f9c754d5508e029e4a84d
2016-05-26 14:33:44 -07:00
Alan Viverette
ae2a646295 Merge "Prevent callbacks during DrawableContainer child initialization" into nyc-dev
am: 0f1ae5fa0f

* commit '0f1ae5fa0f405bc3ec040fe512f7fad86577ce9f':
  Prevent callbacks during DrawableContainer child initialization

Change-Id: Iaabeeac46bf1e2205e629375fb8e0bfa9bfa9761
2016-05-26 21:25:41 +00:00
Chris Wren
6abeeb9119 add metrics for gestural notification expansions
Bug: 28146482
Change-Id: If202846c0d235830c7b41d76b55bdcc21d0ab90d
2016-05-26 17:20:33 -04:00
Alan Viverette
0f1ae5fa0f Merge "Prevent callbacks during DrawableContainer child initialization" into nyc-dev 2016-05-26 21:20:02 +00:00
Kevin Hufnagle
7f7eec31f8 Merge "Cherry pick: docs: Edited "Features Reference" section in "<uses-feature>" page." into mnc-io-docs
am: f23477385e

* commit 'f23477385edbf1e8ecc8c280867fb39698da4b8d':
  Cherry pick: docs: Edited "Features Reference" section in "<uses-feature>" page.

Change-Id: I59ebda20856fd90f50968f9a341b8f87ce2bd9c1
2016-05-26 20:59:57 +00:00
Kevin Hufnagle
f23477385e Merge "Cherry pick: docs: Edited "Features Reference" section in "<uses-feature>" page." into mnc-io-docs 2016-05-26 20:55:56 +00:00
John Reck
e221f808e5 Merge "Add lock-clocks script for bullhead/angler" 2016-05-26 20:52:05 +00:00
Alan Viverette
2b561f1c35 Prevent callbacks during DrawableContainer child initialization
Bug: 28900939
Change-Id: I9c6c8af1665c2dc0bfa8bc8fc773c81e14f6aab1
2016-05-26 16:49:29 -04:00
Doris Liu
f143417bab Merge "Handle hidden RT VectorDrawable animators" 2016-05-26 20:45:33 +00:00
Winson
c1434b4559 Merge "Fixing crash in SysUI due to invalid group." into nyc-dev
am: 814358a24f

* commit '814358a24f7bf045cdd8261f15aefff59936287b':
  Fixing crash in SysUI due to invalid group.

Change-Id: I21a46f388ad01f5f4aa370b7a39e78737e30fc71
2016-05-26 20:44:21 +00:00
Winson Chung
814358a24f Merge "Fixing crash in SysUI due to invalid group." into nyc-dev 2016-05-26 20:39:28 +00:00
Christine Hallstrom
995c90aa18 Properly check if BT is off when shutting down radios
Use BluetoothAdapter#getState() instead of
BluetoothAdapter#isEnabled() when checking if Bluetooth has turned
off, as isEnabled() is set to false early in the shutdown process
and getState() provides a better indication of the state of BT.

Bug: 27354612
Change-Id: Ic7828f0726491d49c9a14ba5d654b24f66743662
2016-05-26 13:20:56 -07:00
Dan Sandler
82aba559fa Merge "Time to #NameAndroidN!" into nyc-dev
am: 45caebe035

* commit '45caebe035a67db18d06c4f4e4f124246fb5321d':
  Time to #NameAndroidN!

Change-Id: I12f2fd8c169059cb454e8a8d63e1a0110321aaf6
2016-05-26 20:14:40 +00:00
Adrian Roos
b1f427c7c4 Fix bad one-line MessagingStyle
The one-line non-group version of MessagingStyle causes
a bug with the action bar and generally looks bad because
it is too short. To fix, show this variant like a BigText
notification.

Change-Id: I8af9e9da8286599b81ccb7c4637471ac01795366
Fixes: 28767094
2016-05-26 13:13:47 -07:00
Jeff Sharkey
ec298b1567 Merge "Delay PACKAGE_RESTARTED until after data cleared." into nyc-dev
am: d6ee899397

* commit 'd6ee8993973050befff3a5f10f273ef9e8a050e2':
  Delay PACKAGE_RESTARTED until after data cleared.

Change-Id: I77f3923a2988dfe1375008f26a532e2adf2f8d1e
2016-05-26 20:10:43 +00:00
Jeff Sharkey
2efd671e48 Merge "Careful process validation for unaware providers." into nyc-dev
am: 678dba737b

* commit '678dba737bed94eb5eeeed63db74aa811ee896cb':
  Careful process validation for unaware providers.

Change-Id: I20d3b078d389f1d91d28926853fc6a7c7d9a269c
2016-05-26 20:10:28 +00:00
Daniel Sandler
45caebe035 Merge "Time to #NameAndroidN!" into nyc-dev 2016-05-26 20:07:09 +00:00
Winson
d5fada7253 Defer calling the stack task removed callbacks.
am: 6c8217ab30

* commit '6c8217ab3072fa65851316a922b482506b3c2a4c':
  Defer calling the stack task removed callbacks.

Change-Id: Ib8b7b0c17f529ab2b22f79542720655b0d1e7343
2016-05-26 20:04:18 +00:00
Jeff Sharkey
d6ee899397 Merge "Delay PACKAGE_RESTARTED until after data cleared." into nyc-dev 2016-05-26 20:04:16 +00:00
Jeff Sharkey
3f9059fb8d Merge "Suppress unlock notifications on non-FBE devices." into nyc-dev
am: a39d888651

* commit 'a39d888651493d20f3814cd88a39a521450b3eac':
  Suppress unlock notifications on non-FBE devices.

Change-Id: I0b1417d3035f528c397ef368b1fb6e19e522788a
2016-05-26 20:04:15 +00:00
Jeff Sharkey
678dba737b Merge "Careful process validation for unaware providers." into nyc-dev 2016-05-26 20:03:41 +00:00
Winson
8a3ef375ee Fixing crash in SysUI due to invalid group.
- Adding a null check for tasks that have already been removed, but may
  be launched.

Bug: 28890599
Change-Id: Idde322c737a5543e639e693fbe7615e720a12c1e
2016-05-26 19:57:44 +00:00
Winson
6c8217ab30 Defer calling the stack task removed callbacks.
- When updating a TaskStack, defer calling any callbacks until the stack
  is updated.  Otherwise, the handler may incorrectly check the size of
  the stack to be empty, which triggers Recents to go home.
- This CL also removes an erroneous double call to onStackTaskRemoved()
  when updating, one explicit call and the call that is made internally
  in removeTask().

Bug: 28941269
  

Change-Id: I37b93bd959a625096925a16a426269a0c79de4e7
2016-05-26 19:57:34 +00:00
Danny Epstein
8b4d90f297 Top and bottom padding for watch preferences.
BUG: 27779149
Change-Id: I4a2a79e249d30c58d7729876adf58935b81015e4
2016-05-26 12:56:27 -07:00
Jeff Sharkey
a39d888651 Merge "Suppress unlock notifications on non-FBE devices." into nyc-dev 2016-05-26 19:53:17 +00:00
Hyunyoung Song
7eb7b41510 Merge "Replace caribou wallpaper without the stars b/28339724" into nyc-dev
am: b3d4ad2205

* commit 'b3d4ad220598beffb30ac4cd44741ff19da2c57a':
  Replace caribou wallpaper without the stars b/28339724

Change-Id: Iceb91e62d226dd491587e7389fbf2a2507e9de9a
2016-05-26 19:51:16 +00:00
Adam Cohen
b3d4ad2205 Merge "Replace caribou wallpaper without the stars b/28339724" into nyc-dev 2016-05-26 19:44:26 +00:00
Eric Schmidt
26ae893c03 Merge "docs: Removing CLI steps in getting started docs" into mnc-io-docs am: 8e08dbe8f8 am: 400aed3556
am: 28bdf2907a

* commit '28bdf2907aa5448f455475fde399870c22c4180a':
  docs: Removing CLI steps in getting started docs

Change-Id: I157d01739b3ffc1ad54dbfca2db8c25b6e0f5f25
2016-05-26 19:40:14 +00:00
Eric Schmidt
28bdf2907a Merge "docs: Removing CLI steps in getting started docs" into mnc-io-docs am: 8e08dbe8f8
am: 400aed3556

* commit '400aed3556d837e746252e1be03dd1ac54a383e5':
  docs: Removing CLI steps in getting started docs

Change-Id: Id585f59925373bda46a34c9bd6811603ea5ee66a
2016-05-26 19:35:13 +00:00
Eric Schmidt
400aed3556 Merge "docs: Removing CLI steps in getting started docs" into mnc-io-docs
am: 8e08dbe8f8

* commit '8e08dbe8f825e2de9cd79bf155a255543efb4c6c':
  docs: Removing CLI steps in getting started docs

Change-Id: If7ce2cdf3f9b27dd8f7ab36a83fe38d26a70e7ca
2016-05-26 19:30:14 +00:00
Eric Schmidt
8e08dbe8f8 Merge "docs: Removing CLI steps in getting started docs" into mnc-io-docs 2016-05-26 19:26:32 +00:00
Wale Ogunwale
d6ac76284d Protect against NPE while to updating service connection activities.
Bug: 28972558
Change-Id: I83f6e33248bb5b5c6ed34a3590d594bf82463a96
2016-05-26 12:07:21 -07:00
Adrian Roos
bb73e9c65a Notification: Fix bug with sliding action list
Fixes a bug where the action bar was not where it
was supposed to be if the expanded notification
was smaller than the collapsed + action height.

Bug: 28767094
Change-Id: I30c0ae430d4d5f9e88a02f5143094e90cf31b620
2016-05-26 12:06:46 -07:00
Julia Reynolds
3b46f0e8a1 Merge "Unlocked access of mServices is bad." into nyc-dev
am: d9599faf6b

* commit 'd9599faf6b872fb5e1db72f7239b21d05050bd47':
  Unlocked access of mServices is bad.

Change-Id: Ibbaddadfdb3589765b2eee941b19b8dde6c749fa
2016-05-26 18:52:31 +00:00
Julia Reynolds
f031dbe7b4 Merge "Reset slider animator on density change" into nyc-dev
am: d52a81eeae

* commit 'd52a81eeae2b9b8425a75ee8906ed7b94b5c471a':
  Reset slider animator on density change

Change-Id: Ice27584a57b9bc22c85acb77564612c06906db37
2016-05-26 18:52:27 +00:00
Eric Schmidt
18e457900b docs: Removing CLI steps in getting started docs
Bug: 22875456
Bug: 21026809
Change-Id: I8f4fcca73c779407aac0b96299c60f8d6adae214
2016-05-26 18:50:51 +00:00
Doris Ling
93ae564ea8 resolve merge conflicts of 09c511f to master
Change-Id: I816f248822cb787f5ce35f3184def0f1fe45169e
2016-05-26 11:50:37 -07:00
Julia Reynolds
d9599faf6b Merge "Unlocked access of mServices is bad." into nyc-dev 2016-05-26 18:46:39 +00:00
Julia Reynolds
d52a81eeae Merge "Reset slider animator on density change" into nyc-dev 2016-05-26 18:46:10 +00:00
Lajos Molnar
0d8337c314 media: avoid NPE in CodecCapabilities.createFromProfileLevel
Bug: 28980577
Change-Id: Id020ed350e2a16b7772e05bd6a10235481903b40
2016-05-26 11:45:16 -07:00
Jonathan Basseri
04c35e78db resolve merge conflicts of 4c04097 to nyc-mr1-dev
Change-Id: I256514588af20985108f72a5e204811904f87c9c
2016-05-26 11:41:17 -07:00
Fyodor Kupolov
a32f7ac4a5 Merge "Remove ActivityManager calls with PM.mInstallLock held" into nyc-dev
am: a4dbdaf5e9

* commit 'a4dbdaf5e96273dccd474e31700d84a1ad907503':
  Remove ActivityManager calls with PM.mInstallLock held

Change-Id: Ibc2ccaffa7468df05cf8045fcafbe62387a5d6e0
2016-05-26 18:29:49 +00:00
Fyodor Kupolov
a4dbdaf5e9 Merge "Remove ActivityManager calls with PM.mInstallLock held" into nyc-dev 2016-05-26 18:20:36 +00:00
smain@google.com
0a659f8480 add redirect for Espresso Test Recorder doc that will soon be on TAC site. am: 8f60544180 am: e1bd7e15c5
am: 5d3ca78d3f

* commit '5d3ca78d3f561e98ae67cf97caa58a4e9e2ed5cd':
  add redirect for Espresso Test Recorder doc that will soon be on TAC site.

Change-Id: If8e81269bfe8af70912ecd63900378f4b867e08c
2016-05-26 18:19:41 +00:00
Ruchi Kandoi
c45908d196 PowerManager: Adds Documentation to
isSustainedPerformanceModeSupported()

Bug: 28775592
Change-Id: Iea4f77d2508141ac0748165f68e6e1ca235ab804
Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
2016-05-26 11:18:52 -07:00
Teng-Hui Zhu
6b62d73517 Initial setup Java level graphics perf test
Change-Id: I6c584faa125bfb70923759974536503dbbd717de
2016-05-26 11:14:39 -07:00
Doris Liu
67ce99b66e Handle hidden RT VectorDrawable animators
This CL changes the target of VD specific animators to VectorDrawable,
instead of RenderNode. The benefit of doing so is that animators can
now detect whether the animation is meaningful by checking whether
their VD target is in the display list. If not, that means the VD is
not drawing for the current frame, in which case we can be smarter
and more power efficient by removing the animator from the list and
posting a delayed onFinished listener callback.

By setting VD as the animation target, when an ImageView decides to
update its drawable from one AVD to something else, we'll be able
to detect that the previous AVD is no longer in the display list,
and stop providing animation pulse to the stale AVD, which is
something we couldn't do previously.  This change also
handles the case where one AVD instance could be drawn in two
different views.

Bug: 27441375
Change-Id: Id4b3b37f28274c917cb9beb9dcd3d1e6991b5c5d
2016-05-26 11:13:19 -07:00
Paul Jensen
aa98ab568c Merge "Don\'t pass URL path and username/password to PAC scripts" into klp-dev am: af0b4466ff am: 8940d2b0ff am: bb27626141 am: 6c35cf2434 am: 42a5983364 am: 75095e6f02 am: 7c625e1938 am: 54a62d5feb am: a5a2c88fb3 am: 7ff57eaff9 am: 94c8855da6
am: 50615e498e

* commit '50615e498e11f356ef582af0f9616945d04faa80':
  Don't pass URL path and username/password to PAC scripts

Change-Id: Id0ad43abbf8bb1c290912ccc0b6e501ffe998ba2
2016-05-26 18:07:45 +00:00
smain@google.com
5d3ca78d3f add redirect for Espresso Test Recorder doc that will soon be on TAC site. am: 8f60544180
am: e1bd7e15c5

* commit 'e1bd7e15c5958769025ba5c8bbf0d18d8e9bfb20':
  add redirect for Espresso Test Recorder doc that will soon be on TAC site.

Change-Id: I9a5f32d1828970a96dea0a31e62e1b80f564fed4
2016-05-26 18:05:08 +00:00