Commit Graph

57213 Commits

Author SHA1 Message Date
Suprabh Shukla
13638e29df Merge "Removing unused intent extra" into nyc-dev
am: 7a3bff1

* commit '7a3bff184731912ddcf3c88da1a6c58c956e01f2':
  Removing unused intent extra

Change-Id: I28eedcdb71c0241bcc0f2227a554d499ef7350b8
2016-03-29 21:58:08 +00:00
Suprabh Shukla
7a3bff1847 Merge "Removing unused intent extra" into nyc-dev 2016-03-29 21:48:37 +00:00
Alan Viverette
ab985f95e5 Merge "Always use existing PopupWindow dimension if not otherwise specified" into nyc-dev
am: 11c0415

* commit '11c041576d3d3ea2059387ac7be89c561467b0ef':
  Always use existing PopupWindow dimension if not otherwise specified

Change-Id: Id3a4f82e97a1f2e770340fcde2c7010159230bf9
2016-03-29 20:43:33 +00:00
Michal Karpinski
acc9468e33 Merge "Moving app process logging from AMS to PMS" into nyc-dev
am: 5393784

* commit '53937849fcb4f2e33072997bd8a7cee40137495c':
  Moving app process logging from AMS to PMS

Change-Id: Ief43c8c50770fff78ec198b2b1a03165fcc3e60d
2016-03-29 20:43:31 +00:00
Alan Viverette
11c041576d Merge "Always use existing PopupWindow dimension if not otherwise specified" into nyc-dev 2016-03-29 20:35:59 +00:00
Michal Karpinski
53937849fc Merge "Moving app process logging from AMS to PMS" into nyc-dev 2016-03-29 20:35:47 +00:00
George Mount
5659056da7 Merge "Ensure window has been added in isTopOfTask" into nyc-dev
am: e6ef0f9

* commit 'e6ef0f9d77efdd5852ac2e3d768280dc3571dcf7':
  Ensure window has been added in isTopOfTask

Change-Id: I16c17d62a344f4fcf71b817ab2228b13261aae7e
2016-03-29 20:07:21 +00:00
George Mount
e6ef0f9d77 Merge "Ensure window has been added in isTopOfTask" into nyc-dev 2016-03-29 20:02:27 +00:00
George Mount
3bed2e9ab1 Merge "Run cleanup before end actions of ViewPropertyAnimator." into nyc-dev
am: 58cf2c3

* commit '58cf2c3da028c9e091eed03868eaaa38625b12b7':
  Run cleanup before end actions of ViewPropertyAnimator.

Change-Id: I4ea31dc25223445e2aab2f2ab0c69030a53b57f3
2016-03-29 20:01:29 +00:00
George Mount
58cf2c3da0 Merge "Run cleanup before end actions of ViewPropertyAnimator." into nyc-dev 2016-03-29 19:54:36 +00:00
Jorim Jaggi
44af2a68f3 Revert "Start drawing immediately"
am: 75c21ca

* commit '75c21ca948aabbcd8b87196e966771b1dd976686':
  Revert "Start drawing immediately"

Change-Id: I1b07eeaf65ca76f740393d89218d2d75ba8e5f9f
2016-03-29 19:40:50 +00:00
Chet Haase
927e3c7a60 Merge "Add setHasOverlappingRendering() method" into nyc-dev
am: fd48a32

* commit 'fd48a321c9be5e46224222c46be8667bec6f631a':
  Add setHasOverlappingRendering() method

Change-Id: Ifbb72d9f334c60e1b0d964aab650dc85cba9890f
2016-03-29 19:33:12 +00:00
Jorim Jaggi
75c21ca948 Revert "Start drawing immediately"
This reverts commit 3127c2a471.

The original CL caused various issues for which we don't have the
time/not willing to take the risk.

Bug: 27864389
Bug: 27451341
2016-03-29 19:30:21 +00:00
Chet Haase
fd48a321c9 Merge "Add setHasOverlappingRendering() method" into nyc-dev 2016-03-29 19:19:14 +00:00
Alan Viverette
b91d6d06b8 Always use existing PopupWindow dimension if not otherwise specified
Removes mPopupWidth/Height, which have been moved entirely into the
width and height of the LayoutParams.

Bug: 27878812
Change-Id: Id9fe99c7d57d5c15c7fe10ea95d97be562301a8e
2016-03-29 14:55:04 -04:00
Markus Michler
e113d6a669 Merge "Fix javadoc for View.getMeasuredHeight() and View.getMeasuredHeightAndState()" am: 7160459
am: ae975ab

* commit 'ae975aba7372b18cbf7f30cdc4b74cff32cc3558':
  Fix javadoc for View.getMeasuredHeight() and View.getMeasuredHeightAndState()

Change-Id: I565ec862ff883bac9894aeec6fc63b7ce323e00c
2016-03-29 18:34:03 +00:00
Markus Michler
ae975aba73 Merge "Fix javadoc for View.getMeasuredHeight() and View.getMeasuredHeightAndState()"
am: 7160459

* commit '71604596117c02a885da356cd0015c29493e48bc':
  Fix javadoc for View.getMeasuredHeight() and View.getMeasuredHeightAndState()

Change-Id: I5d522742dc4c7a46a74dfe4838c5bde8aadd8789
2016-03-29 18:30:31 +00:00
Adam Lesinski
7160459611 Merge "Fix javadoc for View.getMeasuredHeight() and View.getMeasuredHeightAndState()" 2016-03-29 18:24:39 +00:00
Michal Karpinski
b52a461851 Moving app process logging from AMS to PMS
Bug: 26796347
Change-Id: I21894c2edb41929f6ecd3880667c53e00acef677
2016-03-29 19:07:29 +01:00
Chet Haase
15b6ba5859 Add setHasOverlappingRendering() method
View.hasOverlappingRendering() is an important performance tweak that
subclasses can override to do the right thing return false when appropriate
to avoid expensive operations when view is translucent).
But this requires subclassing View to get this behavior.

This new API allows the property to be set from outside, enabling
standard views to have this behavior set. When the new method is called,
the behavior will derive from whatever it was set to. Otherwise, it
will default to the old/overriden behavior.

Issue #16561361  Make hasOverlappingRendering settable from outside/XML

Change-Id: If0fbc8667cdb82b1d85e795e782716a07196f3c0
2016-03-29 11:01:27 -07:00
George Mount
d0ca0e0984 Ensure window has been added in isTopOfTask
Bug 27893230

When isTopOfTask is called prior to the window being added, it
will throw an IllegalArgumentException. This checks that the
window has been added before making the call.

Change-Id: Idd14c0f1051e16d96a0a1fa9f990f380a1f69911
2016-03-29 10:35:03 -07:00
Makoto Onuki
74b8a6545d Merge "ShortcutManager: Fix work profile" into nyc-dev
am: bdda585

* commit 'bdda585f862bd2880c98dabe1a981f9559d29662':
  ShortcutManager: Fix work profile

Change-Id: If2a197a16b3715d2da8e16b14c4fe10414660e65
2016-03-29 15:43:49 +00:00
Makoto Onuki
bdda585f86 Merge "ShortcutManager: Fix work profile" into nyc-dev 2016-03-29 15:35:50 +00:00
Alan Viverette
99eaf2cd21 Merge "Various fixes for MagnificationController" into nyc-dev
am: 4d2a423

* commit '4d2a42336be1dc57093c70a351f407cf0f58c967':
  Various fixes for MagnificationController

Change-Id: I502d206e7ecf1d685fb323a965c1e879e123b80b
2016-03-29 15:18:14 +00:00
Alan Viverette
4d2a42336b Merge "Various fixes for MagnificationController" into nyc-dev 2016-03-29 15:13:04 +00:00
George Mount
e9a4f87852 Run cleanup before end actions of ViewPropertyAnimator.
Bug 27788719

The end action of a ViewPropertyAnimator may do anything,
including starting a new animator. If the next animator has
started prior to cleaning up the previous one, it will capture
the dirty state as the final state. This CL runs the cleanup
Runnables before running the end actions so that any captured
state is the clean state.

Change-Id: Ib005b817d420e79b636e61987669a852e15df9ce
2016-03-29 07:39:02 -07:00
Gustav Sennton
d187015b0d Merge "Remove the system api method WebViewFactory.getWebViewPackageName" into nyc-dev
am: bf0982d

* commit 'bf0982d01135d544e9057efbab66b95592823c3f':
  Remove the system api method WebViewFactory.getWebViewPackageName

Change-Id: Ic58bb541715ca43b8d4101107b063a01e0fc6880
2016-03-29 13:53:45 +00:00
Gustav Sennton
79f1216eb1 Remove the system api method WebViewFactory.getWebViewPackageName
We no longer user this method and it doesn't return any useful
information.

Bug: 27719581

Change-Id: Id282f1501cde9a7d7cc1fe66016cfb54956686c5
2016-03-29 13:36:02 +01:00
Makoto Onuki
d99c6f04bb ShortcutManager: Fix work profile
- Pinned shortcuts need to know not only which package
has pinned them, but also on which user's, due to work profile.

- Launcher can always launch shortcuts that it has pinned.

Bug 27548047

Change-Id: I23b4e7dfbb6ecc42099d31008bcfd61d44e2c7fb
2016-03-28 18:47:39 -07:00
Jungshik Shin
5e3bbb0a95 Merge "Load hyphenator for 22 new languages" into nyc-dev
am: 3b26279

* commit '3b262793a0ae15b96ed270eef8f41ac781740b1c':
  Load hyphenator for 22 new languages
2016-03-29 00:18:45 +00:00
Jungshik Shin
3b262793a0 Merge "Load hyphenator for 22 new languages" into nyc-dev 2016-03-29 00:06:36 +00:00
Suprabh Shukla
2810b694f5 Removing unused intent extra
Change-Id: If3904d0b3878390e6a49776aa8fcbd4d8592016d
2016-03-28 16:44:04 -07:00
Siyamed Sinir
28b538aa77 Merge "Update get/setFontFeatureSettings JavaDoc" into nyc-dev
am: eb90e44

* commit 'eb90e4406f93aafde20e43773d33b4b496292239':
  Update get/setFontFeatureSettings JavaDoc
2016-03-28 23:35:09 +00:00
Siyamed Sinir
eb90e4406f Merge "Update get/setFontFeatureSettings JavaDoc" into nyc-dev 2016-03-28 23:16:20 +00:00
Siyamed Sinir
0925f40372 Update get/setFontFeatureSettings JavaDoc
Add CSS font-feature-settings URL to get/setFontFeatureSettings method
JavaDoc in both TextView and Paint.

Bug: 27857640
Change-Id: I8c20068801032407d493e4f4a15b89dcf35949d2
2016-03-28 16:14:46 -07:00
Jungshik Shin
31445528c0 Load hyphenator for 22 new languages
In addition, all English locales other than those explicitly mapped
to en-US are mapped to en-GB.

BUG: 26405413
Change-Id: Ie5b77af164c95a6ed5639da5752ddf21f92181bc
2016-03-28 16:05:22 -07:00
Jorim Jaggi
99821d54b1 Merge "Fix nav bar consuming" into nyc-dev
am: 15d4b5a

* commit '15d4b5aae852f4c4df9b4a97d86fb4e304cfd677':
  Fix nav bar consuming
2016-03-28 22:28:24 +00:00
Jorim Jaggi
c2b545c2d7 Merge "Cleanup window callbacks locking" into nyc-dev
am: 2eb6273

* commit '2eb62737af8be74ce7a8e314b8ee134a7f28b1fd':
  Cleanup window callbacks locking
2016-03-28 22:28:22 +00:00
Christopher Tate
721426b967 Merge "Don\'t back up / restore "we\'re in night mode"" into nyc-dev
am: a3e8bf3

* commit 'a3e8bf3b9f8d146c2128171c546c5a272038ea0f':
  Don't back up / restore "we're in night mode"
2016-03-28 22:28:20 +00:00
Jorim Jaggi
15d4b5aae8 Merge "Fix nav bar consuming" into nyc-dev 2016-03-28 22:16:44 +00:00
Jorim Jaggi
2eb62737af Merge "Cleanup window callbacks locking" into nyc-dev 2016-03-28 22:16:18 +00:00
Chris Tate
a3e8bf3b9f Merge "Don't back up / restore "we're in night mode"" into nyc-dev 2016-03-28 22:14:43 +00:00
sergeyv
cd9180d743 Merge "Fix NPE while using mLayerPaint" into nyc-dev
am: 4edfdd5

* commit '4edfdd55cf0459c0d02b073ac38053b20060ec2f':
  Fix NPE while using mLayerPaint
2016-03-28 22:05:09 +00:00
Jorim Jaggi
e5638a6f75 Fix nav bar consuming
- Cache shouldAlwaysConsumeNavbar so it doesn't get reset when
insets == null
- Remove logic with frame comparison when determining whether to
consume nav bar. Not sure how that ever worked.
- Make sure shouldAlwaysConsumeNavBar survives when consuming
insets.

Bug: 27157904
Change-Id: I35f209ab27cc12240038da7efa9e79c95f70c6ce
2016-03-28 21:58:30 +00:00
Christopher Tate
009938c984 Don't back up / restore "we're in night mode"
Bug 27880039

Change-Id: Ida59c9e602b939038e4bb3f55a6bf96db8897348
2016-03-28 14:32:15 -07:00
Sergei Vasilinetc
4edfdd55cf Merge "Fix NPE while using mLayerPaint" into nyc-dev 2016-03-28 21:21:45 +00:00
Jorim Jaggi
16b631923d Cleanup window callbacks locking
- Also get rid of USE_MT_RENDERER, because there is no point in
having a flag if the other path never gets tested.

Bug: 27738239
Change-Id: Ic76115962940e72f2c59b8d291d078d15f8d493c
2016-03-28 21:19:17 +00:00
Joe Onorato
ee93672b78 Merge "Refactor ProcessStats." into nyc-dev
am: 0caf007

* commit '0caf007b3f0b4cd21be285820c270c51a8e502b7':
  Refactor ProcessStats.
2016-03-28 21:06:08 +00:00
Wale Ogunwale
ff064a4679 Merge "Show non-top tasks in the docked stack in recents." into nyc-dev
am: ddfc6f7

* commit 'ddfc6f7dc9e2b2a5b5c2cab033bf894c5cf1a59b':
  Show non-top tasks in the docked stack in recents.
2016-03-28 21:06:04 +00:00
Tao Bao
85b0ba3cc3 Merge "UpdateEngine: Add resetStatus() as system API." into nyc-dev
am: 9971d02

* commit '9971d02c38151a4289552d5b1cfb7b3c7c0acec6':
  UpdateEngine: Add resetStatus() as system API.
2016-03-28 21:05:36 +00:00