4156 Commits

Author SHA1 Message Date
Winson Chung
6ec89da16e am ceb9b437: Merge "Adding system service proxy to help test UI/performance."
* commit 'ceb9b437f701f68411fcbef7e83b5df45834f9d9':
  Adding system service proxy to help test UI/performance.
2014-04-02 22:18:55 +00:00
Jorim Jaggi
ae6ffcc3c7 Merge "Wait for Keyguard to be drawn after boot." into master-lockscreen-dev 2014-04-02 21:22:59 +00:00
Jorim Jaggi
cff0acb6b1 Wait for Keyguard to be drawn after boot.
The old logic with waiting for the Keyguard to be drawn assumed that
it is in an own window, and just checked for the visibility. This is
no longer possible as the Keyguard is in the status bar, and the status
bar might have been drawn without the Keyguard. So we have to wait
explicitely until Keyguard told PhoneWindowManager that it has now been
drawn and we can turn on the screen.

In addition, the starting logic of SystemUI is moved into
SystemUIApplication such the we can make sure that the status bar
already exists when the callbacks from PhoneWindowManager reach
KeyguardService. This simplifies the logic a lot.

Bug: 13635952
Change-Id: Ifd6ba795647edcf3501641e39052e4d04bc826fb
2014-04-02 22:11:19 +02:00
Winson Chung
a10370fc2e Adding system service proxy to help test UI/performance.
Change-Id: I29851ff7b7ced0a69b041e5aa5c9070fc4ab43a5
2014-04-02 12:25:04 -07:00
Christoph Studer
359cf4024c am 892c574e: Merge "Expose locations from NotifStackScrollLayout"
* commit '892c574ecca0cd5bfc2444bbb6ca7204a296de3c':
  Expose locations from NotifStackScrollLayout
2014-04-02 13:18:29 +00:00
Christoph Studer
892c574ecc Merge "Expose locations from NotifStackScrollLayout" 2014-04-02 13:14:03 +00:00
Kenny Guy
ffa80df578 am 1ccace91: Merge "Rename related users to profiles."
* commit '1ccace916c8fdc61f1a8db6677aed518d31647e6':
  Rename related users to profiles.
2014-04-02 13:10:07 +00:00
Kenny Guy
1ccace916c Merge "Rename related users to profiles." 2014-04-02 13:06:28 +00:00
Christoph Studer
6e3ecebcec Expose locations from NotifStackScrollLayout
Expose the position each child is rendered at from
NotificationStackScrollLayout.

Also add OnChildLocationsChangedListener interface so listeners
can be notified whenever the rendering changes.

Change-Id: Iab8706fc2c435f2ddf64d280f428ed562db94f19
2014-04-02 14:47:18 +02:00
Kenny Guy
2a764949c9 Rename related users to profiles.
Rename the related user concept as profiles.
When returning profiles of a user include the
user as a profile of itself.

Change-Id: Id5d4f29017b7ca6844632ce643f10331ad733e1d
2014-04-02 13:44:50 +01: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
6ac3367d5d Merge "Enabling filtering by base intent package." 2014-04-01 23:10:26 +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
John Spurlock
ab1eea5464 am f96b6c42: Merge "Zen Mode QS tweaks."
* commit 'f96b6c427fc8c3593de3edc1c857b27ed7810f4c':
  Zen Mode QS tweaks.
2014-04-01 20:45:27 +00:00
John Spurlock
1bdb48e31a Zen Mode QS tweaks.
- Move settings button to the bottom.
 - Align title left.
 - Fix padding.
 - Auto-activate on dialog launch.

Bug:13670014
Change-Id: I5a88e97a84b66bf6200473c147b71cc7ceeb0b95
2014-04-01 16:38:05 -04:00
Paul Lawrence
d2cf756996 am df42723d: Merge "Don\'t double prompt on booting encrypted device"
* commit 'df42723d6b717fd2882c98c930a0f93c75af2474':
  Don't double prompt on booting encrypted device
2014-04-01 15:12:17 +00:00
Jorim Jaggi
e111c73205 Add missing permission to SystemUI package.
Bug: 13635952
Change-Id: I09f7533e59d39b1653a44552fcbe05b0dbde828a
2014-03-31 22:50:13 +02:00
Jorim Jaggi
8533b95b4c Merge "Switch to KeyguardHostView to reenable clock and multi user switch." into master-lockscreen-dev 2014-03-31 19:45:11 +00:00
Adrian Roos
78d9aece82 am 46842d94: Make Keyguard trust aware
* commit '46842d946d1777c22f05e6bb96933c1b5cbd00d4':
  Make Keyguard trust aware
2014-03-31 19:26:14 +00:00
Jorim Jaggi
13b67a9cd5 Switch to KeyguardHostView to reenable clock and multi user switch.
Bug: 13635952
Change-Id: I8996dd55be220637bc028cfedc62583850a538a2
2014-03-31 21:14:38 +02:00
Jorim Jaggi
d529e294ae Merge "Reuse KeyguardViewMediator for new Keyguard implementation." into master-lockscreen-dev 2014-03-31 19:11:32 +00:00
Chris Wren
bf430edf3e am e1791add: Merge "add a null check around scrollAdapter access"
* commit 'e1791add1a19f1860084889188168ca32fdf3924':
  add a null check around scrollAdapter access
2014-03-31 18:59:03 +00: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
Chris Wren
de3b1a2b2d add a null check around scrollAdapter access
Bug: 13727213
Change-Id: Ia92c06b66fc4712a758bf813c30f543b08546a80
2014-03-31 14:47:59 -04:00
Jorim Jaggi
8ae65aecc8 Address comments for I059d80d8b9b9818a778ab685f4672ea2694def63
Bug: 13635952
Change-Id: I5d2bd44b3588621f26d94baab161e4e2444197a8
2014-03-31 12:15:18 +00: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
John Spurlock
0e14f2d455 Merge "Remove obsolete MultiWaveView" 2014-03-28 13:11:09 +00:00
Selim Cinek
ba6ae57f64 Merge "Improved expansion logic of NotificationStackScroller" 2014-03-28 12:19:01 +00:00
Selim Cinek
fab078b01f Improved expansion logic of NotificationStackScroller
Expansion of a notification with a single finger is now possible
if the NotificationStackScroller has not started scrolling yet.

Change-Id: I96b622632b448915526dd08cc2e4771d404b096f
2014-03-28 12:00:55 +00:00
Baligh Uddin
70039b67a5 Merge "Import translations. DO NOT MERGE" 2014-03-27 21:43:30 +00:00
Selim Cinek
80a14e5d1b Improved integration of NotificationStackScroller
Quicksettings and clear all buttons now work correctly with
NotificationStackScroller but visuals are still tbd

Change-Id: Ia8a0895f66e0b682f39ac62d92c6b6cfccce2ee2
2014-03-27 18:18:49 +01:00
Selim Cinek
ddaba4360b Merge "Initial implementation of NotificationStackScroller" 2014-03-27 14:28:56 +00:00
Jorim Jaggi
73581effb0 Merge "Move legacy notification processing to Notification.Builder" 2014-03-27 14:25:17 +00:00
Selim Cinek
67b2260093 Initial implementation of NotificationStackScroller
Change-Id: Ida9a90ca4c9645166794afea8cf0c1d1b7afe1b4
2014-03-27 14:56:07 +01:00
Jorim Jaggi
5c2d84675b Move legacy notification processing to Notification.Builder
Bug: 13485610
Change-Id: I5466d3dbc328c77876dc701c17e7a5a06777dbbe
2014-03-27 12:08:55 +01:00
John Spurlock
4f0db5e23a Remove obsolete MultiWaveView
Change-Id: Ic878221c873d29577928aed2669f967851307e4d
2014-03-26 21:52:03 -04:00
Baligh Uddin
2ab8525654 Import translations. DO NOT MERGE
Change-Id: I2a3bcccf660a5a5247b3f54a8a3783ddeae7ccfa
Auto-generated-cl: translation import
2014-03-26 11:50:47 -07:00
John Spurlock
1dd9c53a40 Merge "Zen mode updates." 2014-03-26 17:44:16 +00:00
John Spurlock
eeb397b77f Zen mode updates.
- Now only two modes, no more ZEN_MODE_FULL.
 - Alarms are allowed by default.
 - Interstitial dialog cleanup to follow current UX.

Change-Id: I8e4c8f64854dabfef69ad33b3eb35bee07e55ef7
2014-03-26 13:41:54 -04:00
Chris Wren
4c31999282 Merge "always clear the HeadsUpDecayTimer" 2014-03-26 17:09:55 +00:00
Chris Wren
7fd2a3bf6a always clear the HeadsUpDecayTimer
for non-clearable heads up notifications,
a decay timer may be left in the queue

Bug: 13652819
Change-Id: I533db43484731922790f8501250b5a1ca7d4ba0b
2014-03-26 13:09:18 -04:00
Dan Sandler
59f0258a27 Categorize some system notifications.
Change-Id: Ia343bc276f50f488e2165056cff249a02f01d45a
2014-03-26 01:31:04 +00:00
Baligh Uddin
20de38b9ab Merge "Import translations. DO NOT MERGE" 2014-03-25 18:56:23 +00:00
Winson Chung
c9b0d58207 Merge "Fixing issue where we were relaunching each activity from recents instead of bringing them to the front." 2014-03-25 00:24:14 +00:00
Winson Chung
4be0445c66 Fixing issue where we were relaunching each activity from recents instead of bringing them to the front. 2014-03-24 17:22:30 -07:00
Winson Chung
75c549c537 Merge "Moving task view layout into resource." 2014-03-24 23:03:37 +00: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
Chris Wren
8ed3b587f0 Merge "add more dump info for heads up notifications" 2014-03-24 18:57:06 +00:00
Baligh Uddin
ce5ff4b193 Import translations. DO NOT MERGE
Change-Id: I3ac485cae338d17582e3570775d6121f368ecb8a
Auto-generated-cl: translation import
2014-03-24 10:32:44 -07:00
Winson Chung
e9c77aee60 Merge "Fixing crash with multiple touch pointers" 2014-03-21 23:03:16 +00:00