Allow developers to set different content insets on toolbars and
action bars to be used when navigation buttons or menu actions are
present. Set the default values for these according to the material
spec.
Bug 19317855
Change-Id: I13e04e1f19f0982bf551a3027eb70904d6b4674c
am: 5393784
* commit '53937849fcb4f2e33072997bd8a7cee40137495c':
Moving app process logging from AMS to PMS
Change-Id: Ief43c8c50770fff78ec198b2b1a03165fcc3e60d
For StandardMenuPopup, if user opens a submenu, the ondismiss listener is no
longer called. Instead, it is called when the submenu (which is now open in
the top level menu's place) is dismissed.
Bug: 27877103
Change-Id: I069388fd173142620c667fa8d1cb21e88d5266fe
am: e6ef0f9
* commit 'e6ef0f9d77efdd5852ac2e3d768280dc3571dcf7':
Ensure window has been added in isTopOfTask
Change-Id: I16c17d62a344f4fcf71b817ab2228b13261aae7e
am: 58cf2c3
* commit '58cf2c3da028c9e091eed03868eaaa38625b12b7':
Run cleanup before end actions of ViewPropertyAnimator.
Change-Id: I4ea31dc25223445e2aab2f2ab0c69030a53b57f3
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
Removes mPopupWidth/Height, which have been moved entirely into the
width and height of the LayoutParams.
Bug: 27878812
Change-Id: Id9fe99c7d57d5c15c7fe10ea95d97be562301a8e
am: f25ea2f
* commit 'f25ea2fece6dfe3c63cd063e5342e0102ee6d1f3':
Use default implementation for onForwardingStopped() in action menu
Change-Id: I884e15fce160a4cdefbad3418bfe6213f1977a1e
am: 09d83b0
* commit '09d83b032e5f456750f2f3149aa4932836643957':
Clean up a couple of bugs about transport init staging
Change-Id: I0c32b31bf82b1d3ed798263816ca789c3a7305d8
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
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
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
am: bf0982d
* commit 'bf0982d01135d544e9057efbab66b95592823c3f':
Remove the system api method WebViewFactory.getWebViewPackageName
Change-Id: Ic58bb541715ca43b8d4101107b063a01e0fc6880
- 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