863 Commits

Author SHA1 Message Date
John Spurlock
e648c5f1cb Merge "Zen: Add warning text if total silence will eat the next alarm." into mnc-dev 2015-05-29 18:07:36 +00:00
John Spurlock
8be53eaaf7 Zen: Add warning text if total silence will eat the next alarm.
Bug: 21359239
Change-Id: I8a69738e6488f40f24eed622529c913b6c3865a0
2015-05-29 12:18:34 -04:00
John Spurlock
4402f4bb12 Merge "Tuner: add battery pct preference." into mnc-dev 2015-05-29 15:03:16 +00:00
John Spurlock
f40d08f8a3 Tuner: add battery pct preference.
And fix questionable code organization choices in BatteryMeterView.

Change-Id: I7c13197892b33aa0df9af51fbabb81e0ad0e00e1
2015-05-29 10:52:29 -04:00
Selim Cinek
ff3bf4b12f Increased the falsing treashold for quick settings
Bug: 21433654
Change-Id: I593297e4577a40762e926353da046a53b9876245
2015-05-29 13:06:49 +00:00
Jorim Jaggi
be4116a347 Round rect clipping for notification contents
Enable round rect clipping on notifications for the following kind
of notifications:
- Big picture style.
- Big media narrow style.
- Custom notifications.

Bug: 16142505
Change-Id: I157650fe470636ed624a81557c08135827eac0cb
2015-05-26 14:14:10 -07:00
Dan Sandler
696f6a3c48 Mmm mmm mmm mmm.
Change-Id: I23b560694b9cc0eb2103ec16769b0446099d1e83
2015-05-15 16:10:22 -04:00
Jason Monk
7853e137ed Merge "Add QS Tuner" into mnc-dev 2015-05-14 01:02:13 +00:00
Jason Monk
11a77446c5 Add QS Tuner
Change-Id: I908d0161b7209b8e99299f5cb3eb58f3d7b52752
2015-05-13 20:59:23 -04:00
Jorim Jaggi
3b028d754f Use platform delay for assist long press gesture
Bug: 20853645
Change-Id: I1f25a04bfc7d07077211743b9d258fd637a402e6
2015-05-13 14:17:16 -07:00
Jason Monk
295a337781 Add SysUI Tuner
Change-Id: I9b0fabbe913b8297d8c668b6416a7be856adb9d5
2015-05-12 11:01:02 -04:00
Selim Cinek
7c4b054ebf Gave more context on an accesibility string
Bug: 21024091
Change-Id: I298786cc71a7368298df620d699a49ef29adec06
2015-05-12 00:45:34 +00:00
John Spurlock
77bb25af3d Volume: Separate tint colors for active vs inactive sliders.
Bug: 20889746
Change-Id: I98f6a0eab8f2db41ea7e1ba8e141752ef774de9e
2015-05-11 12:12:07 -04:00
John Spurlock
fbc1fdf88a Zen QS: Tweak segmented button + introduction styling.
- Add a rounded rect background to the segmented buttons.
 - Remove the spacing between the segmented buttons.
 - Increase the minheight + font weight of the button text.
 - Remove the embedded divider line.
 - Add a rounded rect background to the intro messages.
 - Tweak margins, mostly 8dp -> 16dp in a few places.

Bug: 20949290
Bug: 20947407
Change-Id: Ic497c772aa7228423c8884d6ec7b9ccbfdda365a
2015-05-08 18:19:44 -04:00
John Spurlock
401943053f Volume a11y: Rename introduction 'confirm' button to 'close'.
For the benefit of screen readers.

Bug: 20813824
Change-Id: I776cf75d3c0f2e2d5b67bcbad476a28f9ef37c5f
2015-05-06 16:53:21 -04:00
Selim Cinek
6329bbceeb Merge "The voice assist may now be launched above the lockscreen" into mnc-dev 2015-05-05 23:52:35 +00:00
Selim Cinek
e70d653523 The voice assist may now be launched above the lockscreen
A possibility was introduced to launch voice assist over
the lockscreen using the left keyguard affordance.

Change-Id: Ic4618d24256b65441a50d77d0ef59b0ec99b6ead
2015-05-05 14:52:52 -07:00
John Spurlock
5adeabc61d Volume A11y: Prevent auto-dismiss when feedback enabled.
- Prevent the volume dialog from timing out when feedback is enabled.
 - Use the a11y events as an additional user activity signal.
 - Add content descriptions for the dialog icon buttons.

Bug: 20172022
Change-Id: Id5cd29d9cee27fded2fc8a029913cfcc2b68c152
2015-05-05 14:53:13 -04:00
Lorenzo Colitti
0fdf7eee67 Merge "Add a status bar icon for Ethernet." into mnc-dev 2015-05-04 01:01:51 +00:00
Lorenzo Colitti
d46bb58fa6 Add a status bar icon for Ethernet.
Bug: 20613953
Change-Id: I52970b4f5fb6429876d1a2eb195a834c9e020021
2015-05-02 10:43:31 +09:00
Chris Wren
b1ad8e9ea0 Merge changes from topic 'tron' into mnc-dev
* changes:
  remove unused edge border dimension.
  log clear all button
2015-05-01 18:46:42 +00:00
Benjamin Franz
a7cba44a22 Merge "Improve Accessibility behaviour in recents" into mnc-dev 2015-05-01 17:56:18 +00:00
Chris Wren
9c4ba332e9 remove unused edge border dimension.
Change-Id: I9f763aa130b76179d98288601f023038f086756b
2015-05-01 11:09:39 -04:00
John Spurlock
24ea865f0f Merge "Volume l10n: Increase charlimits on zen submode strings." into mnc-dev 2015-04-30 18:31:59 +00:00
John Spurlock
f6ed7249cf Volume l10n: Increase charlimits on zen submode strings.
Bug: 20713756
Change-Id: Ib8f65997bfbd2c5a042bc02ff13ef9d5c8f90ecb
2015-04-30 14:29:33 -04:00
Robin Lee
ef25597acf SystemUI strings: prospective VPN strings for apps
Bug: 20516964
Change-Id: Ifaeb388896145fd71ff9aa9fab6e2b04af807631
(cherry picked from commit 63539bd5fac53d90adff35df340562a1926d610e)
2015-04-30 17:38:29 +00:00
Benjamin Franz
b7a42fda31 Improve Accessibility behaviour in recents
Currently accessibility services use the activity label that is also
displayed in recents, which can be very confusing as it does not
represent necessarily represent the app that the recent item is
running. To improve this we use a combination of the application label
and the activity label. The application label is also badged to
distinguish between different users.

Bug: 19688800
Change-Id: Ibead6c87767649aa11cf2fe086924a4b69bf187c
2015-04-30 17:40:26 +01:00
John Spurlock
8dbcda1b33 Merge "Volume: Simple dialog footer, DND in quick settings." into mnc-dev 2015-04-29 14:02:52 +00:00
John Spurlock
d9c75dba75 Volume: Simple dialog footer, DND in quick settings.
- Show DND tile by default, this is now the only
   place to manage DND modes / end conditions.
 - Remove super footer from volume dialog, replace with
   a simplified version that displays the current mode
   and allows ending DND.
 - Remove obsolete text-only footer from codebase.
 - Migrate remaining volume items into main resource files.
 - Rename "No interruptions" to "Total silence".
 - Add new user information banner for "Total silence"
 - Crude media filtering for Total Silence.
   (deeper muting changes will be done as a followup)
 - Disable volume dialog sliders completely if muted due
   to zen.
 - Cleanup ZenModePanel: assume embedded mode, remove
   expandable subhead
 - Remember "favorite" DND mode inside the DND config panel.
 - AudioService: consult ringer-mode-delegate before voluming
   down into silent.
 - Add new hour options to time-based exit conditions.
 - Volume dialog visual updates to move closer to final visuals.
 - Unify ringer=silent with DND.

Bug: 19260237
Change-Id: I05d7e001eca3b5125418ec3bc4087d0cb8866717
2015-04-29 09:58:38 -04:00
Selim Cinek
684a442b81 Follow up CL for heads up notification refactoring
Change-Id: Iaf286dfd30a86d3d7d6dd947d3c10ac9eb8c2b1e
2015-04-28 16:24:40 -07:00
Jorim Jaggi
a47f4d7c4d Merge "Position panel dynamically when expanding" 2015-04-23 18:53:18 +00:00
Jorim Jaggi
6d4a27fb7f Position panel dynamically when expanding
Bug: 17125022
Change-Id: Ia39aa40c27958a6ba4eb183522d22bfad958fe5e
2015-04-23 11:48:22 -07:00
Selim Cinek
6746c28b81 Improved the usablility of the lockscreen affordances
Bug: 19563694
Change-Id: I47c24eae432ae168f6a3eaaed57fbcc59a411f8a
2015-04-22 20:28:11 -07:00
Robin Lee
9cb1d5f641 SecurityController: track VPN for all users
Fixes inconsistencies when switching users.

Bug: 17763561
Bug: 17506956
Bug: 18419023
Change-Id: I65988e6c45afd00a402d1e266922d5648fd12743
2015-04-21 15:28:20 +01:00
John Spurlock
90be37953d An update on VolumePanel.
Retired, and removed all claimed resources.

VolumeDialog is now the only option.

Bug: 19260237
Change-Id: I6e8abff0f8c16c4e02c47c8b7f24d5703cb3dbdf
2015-04-16 12:14:56 -04:00
Andrew Flynn
a478d70a68 SysUI: Carrier Network Change icon
- Listen for new PhoneStateListener.CARRIER_NETWORK_CHANGE events.
- Show/hide a new unique animated icon in status bar and quick settings during
  Carrier Network Change events if we are instructed by PhoneStateListener
  and it's during a period without connectivity.
- ObjectAnimator doesn't let you animate colors between themed colors, so
  there's quite a bit of boilerplate duplication in the animation xml.
- Add a new demo mode command to toggle it on/off.

Change-Id: Ic5bb2aa7444303c6b7f2456526a9c25325c6e1f4
2015-04-16 08:37:43 -04:00
John Spurlock
dd5b1f5f2f Mark sysui string reference as untranslatable.
Bug: 19260237
Change-Id: I4a2267462ece1d21ced0156cb1e99be913ea2ada
2015-04-16 06:04:00 -04:00
Selim Cinek
aac932591d Added the heads up scrim back
Also fixed a bug where the notification panel would
keep a hardware layer.
Also improved the interal structure of the HeadsUpManager

Change-Id: I635e4a89b0a32573c26515cc3e65e142d77593ec
2015-04-15 13:14:27 -07:00
Selim Cinek
b8f09cf553 Integrate Heads-up notifications into the shade
Change-Id: I4ca0fb4e76e7c974490538c168da0564fe97e0ae
2015-04-15 12:32:00 -07:00
John Spurlock
691ae9dc25 Merge "Zen: Add new user introduction msg for "Priority only"." 2015-04-14 20:00:22 +00:00
Fyodor Kupolov
a08c444d1d Merge "Display a notification for a new guest" 2015-04-14 17:43:45 +00:00
Fyodor Kupolov
f4d6ad2663 Display a notification for a new guest
Display a notification for a new guest, which includes information that they
are using the device as a guest and how to remove guest.

Bug: 16956833
Change-Id: I21711949d3a80eaca47251faa6ee0cf04b5bf3e6
2015-04-14 10:36:53 -07:00
John Spurlock
f55b7f2fb6 Zen: Add new user introduction msg for "Priority only".
Bug: 19260237
Change-Id: I3b5785befc05685c7f676e918710fb7500221172
2015-04-14 10:18:34 -04:00
Kenny Guy
dae30d5dd3 Display toast when screen is unlocked to a work app.
Display a toast when the screen is unlocked and an
app from a managed profile is in the foreground.

Bug: 19539451
Bug: 19532135

Change-Id: Ic57e235b05ac4f47d2c944175461294dff083724
2015-04-13 16:49:55 +01:00
Jorim Jaggi
e144bb15d0 Merge "Keyguard FP UX update" 2015-04-10 21:46:06 +00:00
Jorim Jaggi
27c9b74350 Keyguard FP UX update
- Add scanning and error states to UI.
- Do not delay dismissing the panel when authenticating via
fingerprint.

Change-Id: I82e71c554c56e53ddf0677dca3e6909f7cedd59d
2015-04-10 14:43:08 -07:00
John Spurlock
b2278d6571 An update on Downtime.
The update is that Downtime is obsolete.  Replaced by the
ability to define multiple named schedule calendars.

 - Make changes to ZenModeConfig to properly model manual
   and automatic rules.
 - Refactor the zen mode helper (and supporting classes) to
   properly handle / report multiple claims on zen mode.
   The "manual" rule (specified by the user in the UI) vs
   one or more automatic rules.
 - Automatic rules are still backed by condition providers,
   but the layering is now cleaner.  ConditionProviders is now
   completely generic, has no ties to zen mode.
 - Specifically, the new layering for zen mode (below noman) is:
   ZenModeHelper: Source of truth for zen state
     ZenModeFiltering: Subhelper dedicated to filtering rules.
     ZenModeConditions: Subhelper dedicated to managing automatic rules.
       ConditionProviders:  Underlying engine for reporting named boolean state.
 - Migration story for users with existing downtime config, migrated
   to a single new calendar named downtime.
 - For users with no existing downtime, two default calendars are created
   for weeknights + weekends (icu4j for all locales will be done in a followup).
 - Remove obsolete DowntimeConditionProvider/NextAlarmConditionProvider and tracking.
 - Clean up obsolete resources.
 - Add common zen summary description string computation.
 - Add proper noman wrappers for the new model.
 - Change the semantics of the global zen setting.  It is now read-only.  Setters
   must call noman, added a "reason" to all calls for better attribution.
 - Update zenmodepanel + volumedialog to the new model.
 - Display the one or more automatic rules in the new zen footer summary.
 - "Snooze" the automatic rules when the user explicitly turns zen off.

Bug: 20064962
Change-Id: Idd9deb865a6035ad0cfae660198dccb517e6d7cc
2015-04-09 21:45:08 -04:00
Jorim Jaggi
64e71cd6cc Merge changes from topic 'assist'
* changes:
  Add test assist to implement motion study
  Implement new assist gesture and motion
  Add flag to voice interactor for supporting assist gesture
  Add more internal API's for assist
  Add ability to start voice interaction session directly
2015-04-03 18:26:41 +00:00
Jorim Jaggi
2fdeeabe78 Implement new assist gesture and motion
Change-Id: Ic8ba18c200058062f4d38ac4226d3516af3d3df0
2015-04-03 11:12:27 -07:00
John Spurlock
ad80b437f9 Merge "Zen: Add a new level: alarms-only." 2015-04-03 03:03:46 +00:00