-added padding to portrait and landscape layout recent item
-updated drawable stroke on press and drag
Change-Id: I98e0073f5fba6d13f041871337e4dc534bbc1460
It was possible for a device to be configured to use a navigation bar
(by setting config_showNavigationBar to true in a config.xml file)
and to use a system bar (by being a tablet device of sufficient size).
The display metrics would be set up for both, but the SystemUI would ignore
the navigation bar, leading to conflict in what would be displayed and how
much room there was on the display. This change throws an exception,
causing SystemUI to fail, when this conflict is detected.
Change-Id: Ib5c19d50ff9444bc33fd53d3dcfa016adc4872ef
This also refreshes the data type icon when the data
connection state changes, so it'll pick up network speed
changes (3G->4G, e.g.) that aren't accompanied by some other
radio state change.
Bug: 5278165
Bug: 5274807
Change-Id: Ic97252a9fb29bd3f2a927f6a57666809297ad60e
Touching StatusBar.disable() directly can make the cached value over
in StatusBarManagerService stale. Instead, dispatch DISABLE_BACK
through setSystemUiVisibility() on tablets; it's unused on phones.
Also DISABLE_NOTIFICATION_TICKER when showing secure lockscreen, and
watch for TIME_CHANGED in DateView.
Bug: 5255469
Bug: 5242677
Change-Id: I4efaf9799b2f229f49d7024da5dafceacd5e08bb
(Only applies to high-end devices. In situations where
memory budget or GPU/overlay support are lacking these will
still be done in software.)
Bug: 5233443
Change-Id: I668def10598f6a818d8011ba6dd8d1dd5440ae5e
-Increased quicksettings and clearall inherent asset padding to 32 from 16dp
-new touchstates for quicksettings and clearall
-clear all remains on the right and quicksettings remains left aligned to the right of the date
Bug: 5076789
Change-Id: I45d7da2d79b94822c04aa162ebef99ac79ce0368
Also use the same style for the date in the phone
notification panel (which already had the same net
appearance).
Bug: 5231182
Change-Id: Ie0b44c2b9021a4f6ad56b0e1a78fdc9d8cf16f88
If it doesn't catch touches, the stream is dropped on floor, leaving
no event stream for swiping to intercept. Also connect up
NotificationClicker to large_icon.
Bug: 5068171
Change-Id: I51e74dd1cdc2749554c591432a48fad35de993ff
Logic in performTraversals() starts a transition running at the
proper time. But when a view's parent window goes away, this transition
may not start at that time because drawing gets canceled. But the
transition still hung off of the ViewRoot, waiting until some later
drawing operation to kick it off. This resulted in some weird animations
like the Recents panel appearing and having a single item animate off of it.
The fix is to delete pending transitions when drawing is skipped.
Change-Id: I3ab7702c16e069644a163424f977350743e2cecc
also:
- when using menu to "remove from list" in landscape, animate items upward (5149577)
- dismiss recents when tapping on whitespace regions (5115883)
Change-Id: I0f38c7567281583898a49f572cf92d6c59464649
Persistent process can no longer use hardware acclerated drawing
when running on a low-memory device.
Change-Id: I3110335617af1c98fcede9bf41f4a1d0c20d0e87
The animation that runs when the NotificationPanel appears
used to start, then pause for a long time as the window/surface/layer
was created, then by the time it started to be visible, the animation
was over. This new approach delays starting the animation until the
layer has been drawn, so the animation can actually run a few frames after
that before finishing.
Change-Id: I998f01fd48cb762178021ad99e2b919b58a1ef3f
- replacing background PNGs with 9 patches
- removing border around thumbnails by default
- when swiping thumbnails, draw a border around them
- fix callout line length
- make recents window smaller on tablets
- deleting unused assets
Change-Id: If5bb1ba0d55a6d10e36ee14274c23596f0ba73b9
When the lockscreen is up we still enable the home and recent app buttons,
but the back button is only enabled if the lockscreen is not obscured by other activities
Fixes problem escaping from the DeskClock app when the screen is locked.
Bug: 5206013
Change-Id: I68c9e4513018f51e2ee4fc11254e42ecbef834e4
Signed-off-by: Mike Lockwood <lockwood@android.com>
- 20fps improvement using software rendering
- 10fps improvement using hardware rendering
- in sw mode, rendering recents background in the recent items themselves and using a bitmap cache to draw individual items (gives perf gains for sw mode)
- in sw and hw mode, no longer doing a fade on the recents scroll view (gives perf gains for hw mode) - instead we draw a black gradient where we would normally fade
- fading recents & notifications immediately when swiped
- removing unused code
Change-Id: I908e2a25b89c9dfbf9b8c8f3810fa43064261b33
Useful for checking if on a wifi-only device.
Similar to asking for NetworkInfo for a network type and checking for
null, though here the intent is explicit.
bug:5087537
Change-Id: Ia3ddd09b6b735b8b3ceb7a347891e015fd96b218
When showing lockscreen, hide clock and navigation. Clean up logic
to be easier to understand.
Bug: 5112812
Change-Id: I20e3563aa36644db678c7839d47f01f223fe8d37