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
TwilightService:
- Add support for locking on/off twilight globally
- Change twilight state to have float amount rather than
having clients calculate it using the sunrise/set values
- State controlled through secure setting
- Override mode which locks to a state for a couple hours then
resets
- Add broadcast for SysUI to listen to
Brightness/Power:
- Updates to handle TwilightService changes
- Added secure setting to control whether or not to use
twilight when calculating brightness.
Tuner:
- UI Overhall
- NightModeController will set the values of the custom color matrix
taking into account the current twilight service state and any
custom calibration set by the user.
- Probably other stuff.
Change-Id: I213f1f76a143e711c507b2ba7d784f581bfc32b4
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
- the "save" string is a duplicate, and is overriden by the next definition below it.
Due to the way AAPT handles overlays, this was accepted.
- the style attribute should not start with '@'.
- the 'raw' type is reserved for file references. Values should not be 'raw'.
Change-Id: Id611d5915207ce624d7a743b5d79bbb1258d3d51
- 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
- This simplifies code and also prepares the code for dimming certain
tasks when focused.
- Ensuring that cancelling transitions will completely remove all
listeners in a given animation.
Change-Id: I77050d94097f9af404250c287522d83c146cfb25
The top stack is now removed and the notifications
can scroll below the quick settings header.
Bug: 24866646
Change-Id: Ia480a0efb3ed70a072e0596633063cc0cbbdf1fb
Clean up the code, introduce and use a separator, fix the
existing end-of-groups separator.
Bug: 26848253
Change-Id: I2b7723ebf257e7176f08551766c59d86d01cf6a6
- Fixing issue where the animation props was not applied to the progress
and callback animations correctly
- Ensuring that all tasks animate the same distance on enter/exit, and
not just to the edge of the screen
- Removing unused styles and animation resources
Change-Id: I88bd0f79f386304373fe63b49e92f02eeb882e55
Instead of custom draginess, use RecyclerView with a GridLayoutManager.
Still needs a bit of work, but the overall feel is significantly better
than before.
Change-Id: I3b3927472f69721e265ef7591de2f3052862f392
The title is now not using the spanned styling anymore
and the overflow is divided differently. Also fixed the
layout for RTL languagues and BIDI.
Change-Id: I5963e1990fe0efefd0355fcaae249546cbb75181
This change will be immediately integrated into master.
This dialog will be also used by the alternate lock screen.
Bug: 25192625
Change-Id: Idc374312fe884af104e342d58f207e0510b9754a
(cherry picked from commit b29374806c393a06c993e5c6b92c62f06d5978c7)
This is the first UI iteration which contains elements for
displaying the keyboard shortcuts. Is is by no means final,
the following items (and maybe more) still need to be actioned:
* no UI for phone
* no view for system shortcuts (which contain icons)
* the shortcut items container needs a custom layout which
needs to wrap and right align elements (prototype done)
* find or build an util which can produce human readable
names of the baseCharacter and the modifiers (so far I
found a few functions, none of them good)
* not pixel-perfect
* the scrollbar does not show
* the last separator (before the DONE button) is not
visible
Change-Id: I0d191e9516ab8f4728f40b3eefe9d854249ee7a8