We are now measuring all notifications content views
with AT_MOST but with an upperboundary. This allows us
to put custom views inside our normal views and still not
blow up the small size. Also adapted the dimens not to
clamp the templates
Bug: 24866646
Change-Id: If9053d84a9d91e6bc9964f64b170e3c3260a807d
This CL increases the touch target size of the gear beneath
a notification.
It also adds the logic:
- If the gear is displayed and the notification is touched
then the notification slides back over the gear
- If the grey background is touched rather than the gear
nothing happens
Bug: 22451710
Change-Id: I7c1d8943e066fdd821446c2f90807891d6b74e5c
- Added a view to display / control the gear behind the noti
- Updated SwipeHelper to hide / show the gear based on the gesture
- Only one notification or notification group can show the gear
at a time
Couple of things left to do that will come in a follow up CL:
- Animation (to / from inline controls, fading gear based on movement)
- For children in a group there needs to be a grey background
Bug: 22451710
Change-Id: I2f93edf48109a82bab0839c73cbaba1535caee9a
Add new usage graph view to SettingsLib that shows usage with
same labels and whatnot.
Use that graph in the battery detail panel to show more stuffs.
Change-Id: I397b1314f65f668df566e93bdbc15420e1b3a280
- Properly setting view outline alpha
- Ensuring that dismissing while in focused state will return to
non-focused state
- Fixing mis-calculation with bottom stack area
Change-Id: I281b7707421ffde4225180c63c7d40bf325f7f72
- Initializing to focused state when going into Recents
- Dimming the front-most tasks to highlight the focused task
- Fixing wrong call to resize in the LruCache
Change-Id: I41833a9dc59a9bdf4a94b698e4800c1019bceb01
The top stack is now removed and the notifications
can scroll below the quick settings header.
Bug: 24866646
Change-Id: Ia480a0efb3ed70a072e0596633063cc0cbbdf1fb
The volume dialog originally had the same dimensions as the regular
notification panel. However, Android Auto wants a larger dialog. As a
result, separate out the icon size and dialog size so that they can be
customized.
Change-Id: Idcaf94d64bcd5ce7d8f6f0ad5da916cf7226a527
- Should be updating the app text color to match the activity text color
- Fixing issue with indicator showing when fast toggle is disabled but
the indicator flag is enabled
- Tweaking layout so that the buttons are flush with the borders so that
we capture the full area for press/long press
Change-Id: Ia9b081883562ef4fd1c01fd42bc786a1feeb0854
- Now that we are sorting tasks for freeform and history, ensure that
the affiliated tasks have a useful active time (based on the task
they are affiliated with) for sorting
- Fix issue with the initial stack and focus state not taking the
launch task into account due to the launchTask flag not being set
until the activity was started (now set in RecentsTaskLoadPlan)
- Fixing issue with affiliated tasks not being launched from the stack
due to the animation trigger not firing when the action button is
already hidden/visible
- Fixing issue with title text being occasionally hidden (something we
only need for freeform tasks)
- Tweaking the launch/enter animations for tasks occluded affiliated
tasks
Bug: 26685208
Change-Id: I0f6e9dbf8deec2e4fc15364e686367cc0f57b41f
- Exposing members of PhoneStatusBar, StatusBarKeyguardViewManager and
KeyguardBouncer to sub class;
- Add a configuable SystemUIFactory as class factory for components;
- Add logoutCurrentUser and switchToByUserId to UserSwitcherController;
BUG:22407003
Change-Id: I3902baf3c721d89217b27a6310c4202a198cb209
- Removed unused ripple logic in the task header background, simplifying
the background and highlight drawing
- Calculating the header highlight from the actual task color now
- Preventing some extra work from happening when the task view size
changes
Change-Id: I775651f4b9ce8c1cdfa6fb3d77fd6912fd99a93b
The notifications are now measured at wrap_content such
that the layout still looks good even if the text
was ommited instead of arbitrarily making it bigger.
This also fixes some small rounding issues where the
expanded notification was just a pixel bigger than
the collapsed version.
Bug: 26185377
Change-Id: Ie3339ff75680ab512446605055304576e058f588
- Fixing regression where we were clobbering the freeform stack order
- Ensure there is padding between tasks
- Fix the header bar animation
Change-Id: I69ced3e3cb2f0c761ddf0c3bd00b17c847d74c0b
* changes:
Fixed a bug where the heads up had the wrong size
Adapted the appear animation for notification children
Added darkmode for notification groups
And suddenly notification children appeared
Some work (mostly on the new QS only) to make things more like they
will be.
- Remove Quick Tiles
- Remove Dual Tiles
- All tiles are the same, with slightly different UI in the header
- QS tiles in the header match the beginning of QS
- handleClick is a click from QS, handleSecondaryClick is a click
from the header, but defaults to normal behavior.
- Opening a detail panel from the header opens QS and the detail
selected
- Fix onStartListening bug in CustomTile
- UI updates towards how QS will look
Change-Id: Id820586ccdaa258a5bcb72cadbeb14941fc5f935