276 Commits

Author SHA1 Message Date
Winson Chung
cdc3a47d4f Merge "Overriding application icon with activity icon where available." 2014-04-21 22:05:20 +00:00
Winson Chung
11e41baac6 Overriding application icon with activity icon where available.
Change-Id: I03ee8f806b3853183db7f96e71f1684c72b79c57
2014-04-21 12:40:52 -07:00
Winson Chung
deb1f268b7 Merge "Initial changes to add search bar." 2014-04-21 19:26:09 +00:00
John Spurlock
507288322b Remove obsolete settings panel artifacts.
I don't always have quick settings.  But when I do,
they live in a flip view, not a separate panel.

Bug:14133785
Change-Id: I3df11d7de308a36a800eb7582a71e3febc897fec
2014-04-21 07:16:15 -04:00
Winson Chung
ecd9b3031c Initial changes to add search bar.
- Scaling touch overscroll

Change-Id: Iee0523ca32efaae3491cbf5dbf3ea2e388f9d644
2014-04-17 10:52:34 -07:00
John Spurlock
73203ebf97 Interim quick settings update.
Make existing QS panel available via pulldown from header
(or keyguard status view on keyguard), update the affordances
as a hint.

Don't allow QS to scroll, cap to max rows.

Add scrim over panel to indicate that this is purely temporary.

Bug:14081801
Bug:14059974
Change-Id: I166033975cbc44b91f45ee70ea5c7540390670dd
2014-04-17 10:26:45 -04:00
Jorim Jaggi
c5dc0d0cce Zoom notifications on lockscreen after tapping.
For the double tap interaction, this change introduces a new cue
that the notifications must be double-tapped: With the first tap,
the tapped notifications gets larger and the others fade out a bit.

Change-Id: Ib48ff0291aee1a5ec083b9e7ed1021bc420514cf
2014-04-15 17:04:49 +02:00
Winson Chung
9f9679d91e Adding experiment for app-info pane.
Change-Id: I647de1a71a2ac82da0a4f8a24125496dd5457441
2014-04-14 12:38:47 -07:00
Dan Sandler
352e108259 Merge "Merge remote-tracking branch 'goog/master-lockscreen-dev'" 2014-04-14 17:54:22 +00:00
Alan Viverette
e8ebaf3f6f Clean up VolumePanel, tweak volume & brightness dialog styling
Change-Id: Ibd008fbc6acab00bf642422cb322ec147799d3d7
2014-04-11 15:44:15 -07:00
Alan Viverette
55e41ea6df am 316e533a: Merge "Update brightness icons to use color attribute"
* commit '316e533ab0ac9888af9e6c3db44e886dd50312e1':
  Update brightness icons to use color attribute
2014-04-10 23:17:50 +00:00
Alan Viverette
515a48a018 Update brightness icons to use color attribute
BUG: 13961573
Change-Id: I6c7f85c8cda739cb1e5e14c39c7e4a9fe20a8650
2014-04-10 16:14:40 -07:00
Adrian Roos
0c5c18a2be Merge "Implement camera affordance" into master-lockscreen-dev 2014-04-10 19:43:41 +00:00
Adrian Roos
5e25caae7a Implement camera affordance
Makes camera on lockscreen work again.

Bug: 13635952
Change-Id: Iec6324651a23289932a5e9816332b6727c23d096
2014-04-10 17:37:08 +02:00
Jorim Jaggi
d4a57440ca Limit notifications on lockscreen to a maximum 4.
All the other notifications are going to be collapsed in a "n more"
card.

Bug: 13635952
Change-Id: I18471c7b18d05d27e92c49ee8214605f1a151927
2014-04-10 16:51:15 +02:00
Winson Chung
00cecfbb32 am 2adb9586: Merge "Allow for different rects when animating to a single task stack view and a multiple task stack view."
* commit '2adb95860f9682ed2c4893da58679540cd8cac56':
  Allow for different rects when animating to a single task stack view and a multiple task stack view.
2014-04-09 23:54:49 +00:00
Winson Chung
2adb95860f Merge "Allow for different rects when animating to a single task stack view and a multiple task stack view." 2014-04-09 23:50:33 +00:00
Winson Chung
0d767551c5 Allow for different rects when animating to a single task stack view and a multiple task stack view.
- Fixing regression in task bar enter animation duration
- Fixing issue with extra long titles in the task bar
- Cleaning up some constants and unused code
2014-04-09 14:33:23 -07:00
Jorim Jaggi
251957d76e Double tap interaction for notifications on lockscreen.
This change also uses a different background for notifications on the
lockscreen and moves the background drawable from the templates to
SystemUI.

Bug: 13635952
Change-Id: Icf09178065aa7fc0472adef70342d637fbcca785
2014-04-09 18:11:45 +02:00
Alan Viverette
cedef17fa6 am 18c7f559: Merge "Make toggle slider use default assets"
* commit '18c7f559a02d3c1a250ecb0aebcd76d5291110b9':
  Make toggle slider use default assets
2014-04-09 00:45:24 +00:00
Alan Viverette
f6a679870f Make toggle slider use default assets
BUG: 13817697
Change-Id: Ibae671a35b55a195b40d8c943f45685fb7b3ac4f
2014-04-08 15:27:24 -07:00
Adrian Roos
9a0a4c9d7e Enable quick settings from lockscreen and merge into one shade.
Change-Id: Ic5b5f54bcfe3816549287f707715e29340522d9b
2014-04-08 18:25:34 +02:00
Adrian Roos
5a46cd37c2 Add a temporary user switcher to quick settings
Change-Id: I7ebe29049812fe5ac98b702f3378a1121d5d6bb7
2014-04-08 16:07:46 +02:00
Jorim Jaggi
03c701ec58 Basic implementation for notifications on lockscreen.
This change makes PhoneStatusBar expand while the lockscreen is
showing. Further, the KeyguardSimpleHostView is shown by
KeyguardBouncer, and the Bouncer is shown whenever the user tries to
unlock the phone (closing the shade).

Bug: 13635952
Change-Id: I4354b7a7937af6e1c93abf16ad6e485376d16bc2
2014-04-05 16:50:36 +02:00
Winson Chung
7631b3ee27 am b9a7d8c2: Merge "Adding activity icon to the task view"
* commit 'b9a7d8c2c46e71f756da69d7682bfc594b2a91ed':
  Adding activity icon to the task view
2014-04-03 21:11:25 +00:00
Winson Chung
b9a7d8c2c4 Merge "Adding activity icon to the task view" 2014-04-03 21:07:56 +00:00
Jorim Jaggi
18d084698c resolved conflicts for merge of 93160828 to master-lockscreen-dev
Change-Id: Ief6d6b8b8cc9ae2eb38442a3ba9ecae4637b75d6
2014-04-03 21:07:39 +02:00
Selim Cinek
b6d85ebfe4 Enabled the new notification shade and improved expanding logic
Made the NotificationStackScroller now the default and only shade.
When the notification shade is expanded, the NotificationStackScroller
now also expands revealing the notifications.

Change-Id: If989ed848f684b3ac4e687d9642289db4599553b
2014-04-03 18:59:37 +02:00
Winson Chung
5e3e5d8945 Adding activity icon to the task view
- Also fixing issue where the activity icon was being used as the application icon to filter with
2014-04-02 15:44:55 -07:00
Winson Chung
faa8fb5c77 am 6ac3367d: Merge "Enabling filtering by base intent package."
* commit '6ac3367d5df999736470f29a2bbb623864f06d1a':
  Enabling filtering by base intent package.
2014-04-01 23:14:38 +00:00
Winson Chung
c6a1623cc4 Enabling filtering by base intent package.
- Toggling recents now unfilters the current stack before dismissing recents

Change-Id: Id0d240bf16bc32957ee7e5a9882a453044903d29
2014-04-01 15:31:52 -07:00
Jorim Jaggi
5cf17879a3 Reuse KeyguardViewMediator for new Keyguard implementation.
This change reuses KeyguardViewMediator for the new Keyguard
implementation in status bar. KeyguardViewManager is replaced by
StatusBarKeyguardManager which handles adding the view, setting the
state etc. StatusBarWindowManager is introduced to managed the window
of the status bar, which has the logic of both the old Keyguard window
and the old status bar window. In the current implementation, Keyguard
gets displayed like it would be in the bouncer state, but that's likely
to change in the future. Also, setHidden in IKeyguardService is also
renamed to setOccluded, as the word hidden interferes with the
terminology when dismissing the Keyguard.

Bug: 13635952
Change-Id: I1c5d5a49d810d8532089f464cb2efe35e577f517
2014-03-31 20:58:31 +02:00
Jorim Jaggi
380ecb81db Make Keyguard a library and make StatusBar the new Keyguard.
This change achieves a couple of things:
- Let Keyguard be a library, so we can use it in SystemUI.
- Introduce FLAG_KEYGUARD for windows and deprecate TYPE_KEYGUARD. Make
all the TYPE_KEYGUARD behaviour dependant on the flag.
- Implement a new KeyguardService in SystemUI, and bind that service
from PhoneWindowManager.
- Introduce BaseStatusBar.setKeyguardState and inflate
KeyguardSimpleHostView there and use FLAG_KEYGUARD for the window, such
that the status bar window essentially gets the Keyguard.

Bug: 13635952
Change-Id: I059d80d8b9b9818a778ab685f4672ea2694def63
2014-03-28 22:35:03 +01:00
Selim Cinek
67b2260093 Initial implementation of NotificationStackScroller
Change-Id: Ida9a90ca4c9645166794afea8cf0c1d1b7afe1b4
2014-03-27 14:56:07 +01:00
Winson Chung
37c8d8ef85 Moving task view layout into resource.
- Using new activity icon/labels

Change-Id: If27bf60d2df75813213e9f3095baeb03085da8f7
2014-03-24 15:55:39 -07:00
John Spurlock
d389ff7d89 Move zen-mode systemui affordance to quick settings.
Remove the gesture-based invocation from the notifcation
panel, create a new QS tile to display current state.

Clicking the tile reveals an interstitial dialog for
confirmation of mode changes.

Change-Id: I6760ce3f097d5dcfd0af5177287dbf4ff632b47e
2014-03-12 17:26:09 -04:00
Winson Chung
303e1ff1fe Initial changes for recents.
Change-Id: Ide2c202b4a5b25410f0f32bd0a81ccf817ede38f
2014-03-11 12:03:08 -07:00
John Spurlock
dfae159bb8 Merge "Introduce zen mode." 2014-02-27 17:29:55 +00:00
John Spurlock
e677d7113f Introduce zen mode.
- New global zen mode setting with three values:
   ZEN_MODE_OFF, ZEN_MODE_LIMITED, ZEN_MODE_FULL
 - Status bar icon (on lhs)  when in _LIMITED / _FULL
 - Rules are hardcoded for now:
   _LIMITED = intercept all notifications except calls/alarms
   _FULL = intercept everything
 - UI affordance in shade to set mode
 - Only one exit condition: "Until you delete this"
 - Intercepted notifications:
   - appear darker in the shade
   - do not cause sound/vibration
   - do not fire fullScreenIntents
   - do not contribute an icon to the status bar

Change-Id: Ic36c95982b483432006bf9dab102a31370382aa9
2014-02-27 11:53:30 -05:00
Chris Wren
9924e13037 improvements to heads up interface
remove shadow
quick hack to open shade from HUN
over status bar instead of under and below it
dismiss by pushing up
tablets: shadow remains on left, right, and bottom

Bug: 13208692
Change-Id: Ie3abb762fb1388be68353c7e3111fe4708ab8110
2014-02-27 11:38:21 -05:00
John Spurlock
29786fc72d Make QS battery composite color match others.
Change-Id: I2a906cd997d2372f5740532a159f04ad857d393d
2014-02-04 17:55:47 -05:00
Dan Sandler
a5e0f415d3 SystemUI support for notification visibility.
In this implementation, DISABLE_NOTIFICATION_TICKER (which was never
really used on its own and can be safely subsumed by
DISABLE_NOTIFICATION_ICONS) is now DISABLE_PRIVATE_NOTIFICATIONS;
when this SystemUI bit is set by the keyguard, SystemUI knows to switch
its presentation into "public" mode, in which
VISIBILITY_PRIVATE notifications are replaced with their
publicVersion's contentView (or a placeholder view,
synthesized by SystemUI, that leaks no additional
information about the notification). VISIBILITY_SECRET
notifications are suppressed altogether in this mode.

This behavior is enabled but not activated by default. To
turn it on, run:

  $ adb shell settings put secure lock_screen_allow_notifications 1

and restart SystemUI.

Change-Id: Id660bef7737580e16a83f60567c22b53ee81c602
2014-01-30 13:23:14 -05:00
John Spurlock
74d2480845 Move moveable non-public framework resources up to SystemUI
Specifically, non-public resources only referenced by SystemUI
and nowhere else in frameworks or system apps (via @*android:)

Remove orphan resources found during the process.

Change-Id: I005514ff1ce52e1622849bc01cd825b09fa55842
2013-12-02 17:37:40 -05:00
Daniel Sandler
b65da9e720 Bespoke, handcrafted, artisanal assist affordance assets.
Bug: 11243771
Change-Id: I6eb320ca78ccafc435259d30df95582aa7e3c53c
2013-11-12 20:54:31 -05:00
Michael Jurka
b922178dce Merge "More background protection in Recents for status bar" into klp-dev 2013-11-06 12:38:23 +00:00
John Spurlock
d8595fd8fe Battery icon tweaks.
Fix bottom padding, better bolt placement on non-HH devices.

Bug:11412369
Change-Id: I102a5ece73b2fcb5f78305c925fc2ed5fe9b2884
2013-11-05 11:55:04 -05:00
Michael Jurka
9b0b59e6d1 More background protection in Recents for status bar
Bug: 11255407
2013-11-04 16:11:11 +01:00
Chris Craik
aa4ec54269 Remove unused time tile and resources
bug:10641374
Change-Id: I7f5d46588929d3906a77afafc1c2ec4f4e5ca2f5
2013-10-08 11:06:24 -07:00
John Spurlock
bd95740648 Transparent system ui flags -> Translucent WM flags.
Migrate View.SYSTEM_UI_FLAG_TRANSPARENT_(STATUS/NAVIGATION) to
WindowManager.LayoutParams.FLAG_TRANSLUCENT_(STATUS|NAVIGATION).

Add associated public attrs for both new window flags:
  windowTranslucentStatus
  windowTranslucentNavigation

Introduce convenient four new themes that set translucent decor:
  Theme.Holo.NoActionBar.TranslucentDecor
  Theme.Holo.Light.NoActionBar.TranslucentDecor
  Theme.DeviceDefault.NoActionBar.TranslucentDecor
  Theme.DeviceDefault.Light.NoActionBar.TranslucentDecor

Update PhoneWindowManager mechanism to plumb these values back to
SystemUI to drive bar mode state.

The new translucent flags come from the top fullscreen window, not
the focused window, so translucency does not change when opening
dialogs.

Imply some window-level system-ui visibility if one or both of these
new flags are present, specifically:
  FLAG_TRANSLUCENT_STATUS implies LAYOUT_STABLE, LAYOUT_FULLSCREEN
  FLAG_TRANSLUCENT_NAVIGATION implies LAYOUT STABLE, LAYOUT_HIDE_NAV

Rename all associated variable & resource names to use the term
translucent instead of transparent. (Retain the term semi-transparent
for the transient bar style).

Recents activity allowed to inherit translucent decor state via the
new PRIVATE_FLAG_INHERIT_TRANSLUCENT_DECOR.  Compensating changes
to use the full screen area more appropriately.

Update keyguard to use new WM flags.

Update docs and various api artifacts.

Sanity-check fixes:
 - Toasts and alerts given stable layout.
 - Suppress nu-gradient when in transient (hidey) mode.
 - New translucent flags use top-fullscreen window, dialogs don't clear.

Bug:10674960
Bug:11062108
Bug:10987178
Bug:10786445
Bug:10781433
Change-Id: If667a55bea4cf5e008549524b9899197fab55ebe
2013-10-06 16:03:53 -04:00
John Spurlock
91949b20c9 Merge "New battery meter view bolt shape + color." into klp-dev 2013-09-26 20:10:20 +00:00