These popup menus are shown when a clicked app has > 1 recent tasks.
We still activate the latest task in addition to showing the menu.
Showing task icons in the menu, as well as showing the menu in its UX-polished
form is not yet implemented.
Bug: 20024603
Change-Id: I05e8fe9592501fdd01cbc9032080e4286a658a65
- Add info/remove drop targets that appear during dragging
- Move drag start into NonPagedTileLayout so that both start
and end of tile move drags are in the same place.
- Still needs way to add tiles
Change-Id: If843ebbb86f393b461289c1407c6a82b6a5aed9d
Start adding prototype to long-press to go to customization view
for QS. Currently it allows re-arranging and resetting. Later
it will have more.
Change-Id: Ib2ba0f93ac2f4cced4f146d39771a8a17ac05bc2
We finally get a UX decision for the Shelf.
Shelf won't have 2 parts - pinned and recents; it will have only 1 list where
all pinned and recent activities of the same kind are grouped under a single icon.
Clicking at that icon activates the latest running activity if it's present, or
starts a new one otherwise.
The above part is implemented in this CL. I removed stuff related to the separate
Recents pane, and moved surviving code to NavigationBarApps.
Later, we'll have menus popping up from the icon, which will allow pinning and unpinning,
and choosing a concrete activity to activate.
Bug: 20024603
Change-Id: Ia08fe62939f92c7ee4f102c07a31e7168a11f010
When the navigation bar was originally introduced to phones
(in change Ic613a335) we wanted it to stick to the same spot
on the display so that it felt as much as possible like a
physical button array; pressing the same fingertip-sized
spot on the glass should always invoke BACK, etc. This meant
flipping the nav bar to a vertical orientation when the
phone was in landscape, and then juggling around the window
insets and other system windows to make room for it.
For reasons that are now lost to time, in that original
implementation we made the vertical navigation bar narrower:
42dp (versus 48dp for the horizontal navigation bar, which
incidentally is always horizontal on tablet-type devices).
Nobody really noticed (except app developers looking to
hardcode this value instead of just using fitSystemWindows
or the new WindowInsets).
Here we finally make the navigation bars match perfectly in
portrait and landscape.
Bug: 23724209
Change-Id: I861be84b41c6a227d269469686c8c66a32029f1d
- All work is defaulted to off, with no changes to UI
- Add 'quick' QS tiles, which have circles around them and no text,
they just toggle things like wifi
- Add tuner switch to hide brightness from QS panel
- Add paginated QS layout, it shows a row of the circle tiles across
the top, followed by 3 rows of normal tiles, following pages
have 4 rows, dual tiles are not allowed in this mode
- Add tuner switch to turn on paging for QS, and set to a set of tiles
that look ok with it
Change-Id: Ia2d2eb36f8953033ce4810cd3628fcb86315fe46
- Scrims: When dismissing Keyguard, don't wait until the next frame
to start the animation. Saves 16ms
- Scrims: Skip first frame, because it's completely black anyways.
Saves 16ms.
- Don't wait with navigation bar to show until the screen has turned
on. Window manager is blocked on DisplayPowerController anyways, so
the animation will exactly be started when the screen turns on. Fixes
some jank as well.
- Window manager: Don't wait for the window below Keyguard for draw
completion until turning on screen. Saves a lot of time depending on
how the app is behaving.
Bug: 23401557
Change-Id: I9734f9a12143f0e3c0647e9aa066831a29a6de63
- Move all fingerprint related to logic in on central class in
SystemUI that knows all the state of the UI so there is exactly ONE
place in which we decide what to do when we acquire a fingerprint.
- When pulsing and we get a valid finger, we fade the contents of the
Keyguard out and fade the scrim out almost the same way as we would do
in a normal wake-and-unlock sequence.
- Hide shadows while dozing, so we don't see the artifacts when we fade
the dozed Keyguard out.
Bug: 23225107
Change-Id: I82f78e61f2530cf7d507ade80f6f0a340c082567
- Add a FULLSCREEN_USER_SWITCHER status bar state;
- Switch to this state when lock screen is shown and fullscreen
user switcher is enabled;
- Add a build config and a test boolean system setting to enable
fullscreen switcher;
- Placeholder GridView UI for fullscreen user switcher;
Bug:19908596
Change-Id: Ief1bc987532522245f4172beca19053d34004cee