History log of /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
07215350f97c46b3c74d0d8757ec12ea61ced258 23-Jun-2016 Adrian Roos <roosa@google.com> HUN: Close RemoteInputView when Home is pressed

CLOSE_SYSTEM_DIALOGS usually dismisses the notification shade,
but that's not the case for HUNs because the shade is not actually
open. However, CLOSE_SYSTEM_DIALOGS will now close the Direct Reply
even with HUNs.

Change-Id: If8e5115e33f93db0f8b4e442331ea3d60fc0c63d
Fixes: 29583313
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
f6967e069198ceba743b0a54eff96bd6d045e1c7 22-Jun-2016 Adrian Roos <roosa@google.com> Notification: Respect disabled HUNs on updates

Fixes a bug where HUNs would be posted on updates
even if HUNs had been disabled.

Fixes: 29520322
Change-Id: I3806b9c5b8835a62f7b58bd0a3bbdd55b02eb892
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
42621023cfac084b8c74fd4d362bc2c64d61674e 01-Jun-2016 Selim Cinek <cinek@google.com> Merge "Fixes a few bugs on the keyguard with font density changes" into nyc-dev
6ebba59aadb287105d4a4bdbf7d1c7851f4fe210 01-Jun-2016 Selim Cinek <cinek@google.com> Fixes a few bugs on the keyguard with font density changes

The reinflation of the system icons was not working correctly
and all the paddings were of.
Also the affordance icons were outdated and had to be reloaded.

Change-Id: I3cf338d33a82c8be94d01561d7b7d9a37a563ad9
Fixes: 28968657
Fixes: 28672410
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
5e47645f6de21c4c673b6702f483cb025e03be03 27-May-2016 Adrian Roos <roosa@google.com> Fix status bar autohide with DirectReply

If a touch outside the status bar window is detected
we schedule autohiding the status bar - which is wrong
when that touch is due to touching the IME for DirectReply.

Bug: 28914905
Change-Id: Ic86612192368181f195fa54ac4f20edaf02af685
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
6abeeb91194818e1d19f75336b03d1e305af0842 26-May-2016 Chris Wren <cwren@android.com> add metrics for gestural notification expansions

Bug: 28146482
Change-Id: If202846c0d235830c7b41d76b55bdcc21d0ab90d
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
0444314f8b0f77519c47b567f970cc95dd568f7f 24-May-2016 Adrian Roos <roosa@google.com> Merge "Keep notifications with active remote inputs" into nyc-dev
a9c0d3ff19461b0384ac4a586cd67e2084193604 24-May-2016 Adrian Roos <roosa@google.com> Merge "Fix janky swiping with RemoteInputViews" into nyc-dev
31e49b0964cfba0b6b91e8ae67cbc04730098569 24-May-2016 Mady Mellor <madym@google.com> Merge "Children should have backgrounds" into nyc-dev
b0a824687f56b6950338aad169d8d837f8ed657b 01-May-2016 Mady Mellor <madym@google.com> Children should have backgrounds

To add a background to children of a group, a couple of things
are changed when a group is in the expanded state:
- The parent's shadow + background is removed
- The group header is given a background and elevation
- The children are elevated to cast a shadow and have backgrounds
- When it's fully expanded the dividers won't be shown
- There's extra height added to the parent so that the child
may cast the bottom shadow of the group
- As the children move into the bottom stack the last visible
one alters its height and the ones below it are hidden
to achieve the clipping effect

Fixes: 27591195
Fixes: 28655641
Change-Id: I0484308843e9b8bc10391387e54de07973a48f7d
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
a56e732c01f10ebd27185a66ee4330f50c8cd57b 23-May-2016 Selim Cinek <cinek@google.com> Merge "Fixed a flashing when the affordances were launched" into nyc-dev
d009ab1e2a57648cac9de93912964e2a36ae1762 21-May-2016 Adrian Roos <roosa@google.com> Fix janky swiping with RemoteInputViews

Change-Id: Ie0f525b886c41fdd0f3ef7cc7efb525ed08f3560
Fixes: 28885122
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
18d099a8fb3eb4332ce7f4cd43b1f00035e16bb4 20-May-2016 Adrian Roos <roosa@google.com> Keep notifications with active remote inputs

Fixes a bad interaction when the app cancels the notification
into which the user is typing. This happens for example when
the user initiates direct reply from the lock screen and the
app is currently open underneath the lockscreen.

Also cleans up the code that clears notification effects by
moving it into the appropriate place (without functional changes).

Fixes: 28745456
Change-Id: I69e076642e93930d41cfb06f2a48836aea34d92d
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
07304f52243d405a0ad79abb3cf49f889a2c2907 20-May-2016 Selim Cinek <cinek@google.com> Fixed a flashing when the affordances were launched

Because we can't draw it as source in that case.

Change-Id: I14039959a5fedbc57358e2e343a3d0d185dcec17
Fixes: 28735933
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
bbd26bc023992ee7bc6a0e682d4a343dfe3dc848 18-May-2016 Nicolas Prévot <nprevot@google.com> Merge "Refactor how StatusBarPolicy knows if keyguard is visible." into nyc-dev
1dbbe7d664b16aad502730933f67a24152a81165 17-May-2016 Nicolas Prevot <nprevot@google.com> Refactor how StatusBarPolicy knows if keyguard is visible.

In the case where the keyguard has never been shown and thus
never been dismissed: StatusBarPolicy thought the keyguard was
still visible.

Instead of StatusBarPolicy keeping its own internal variable
for wether the keyguard is visible, directly use
StatusBarKeyguardViewManager.isShowing()

BUG:28755086
Change-Id: I1b30c0e6985aa7ff35eea41444ab5504c00ff130
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
36b02233fa8a5121e9fabaf5ac447c7ff4bb20a8 12-May-2016 Selim Cinek <cinek@google.com> Fixed a bug with auto cancelling

When clicking on a suppressed child and the child is autocancelled
we need to cancel the summary as well for them if it also has
the flag to auto cancel.

Change-Id: I25bfa7ad79afd406cc647ad6683d0b49c949f909
Fixes: 28642637
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
37a4027131f80709c27a81be0b426b60d33dd6c7 16-May-2016 Selim Cinek <cinek@google.com> Merge "Fixed the remove animations for notification children" into nyc-dev
a5703187a9dba418f742fab0874a8f683b0bbb0e 12-May-2016 Selim Cinek <cinek@google.com> Fixed the remove animations for notification children

Previously the children container wasn't fading out.
In addition was the child added to the wrong overlay leading
to completely wrong animations for the children.

Change-Id: I1ae395dc02cecb8629e509dfb55870f9c79d7854
Fixes: 27719756
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
db1bc6bcc39c8c4deb1a86f889981e734a54fd72 15-Apr-2016 Adrian Roos <roosa@google.com> Force status bar window to be visible when expanded

Also don't collapse status bar if low profile gets set.
Status bar should almost never be collapsed without explicit
user action, and this only leads to issues.

Fixes: 27629489
Change-Id: Ibe5c64df578438c7224985b173a9cd967bf363bf
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
549a822331a522cabfb854b91b1cad5a0f7128ae 11-May-2016 Selim Cinek <cinek@google.com> Merge "Fixed a bug where the positioning on the lockscreen was wrong" into nyc-dev
67b98daaa42d10282f263ce27ca81a42b14413ff 11-May-2016 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Fix density change bugs in SystemUI" into nyc-dev
d390b893eafae634844d7b8b84efaa7baa199119 05-May-2016 Adrian Roos <roosa@google.com> Fix density change bugs in SystemUI

- Reinflate KeyguardUserSwitcher on density changes.
- Update size of UserAvatar on Keyguard.
- Fix brightness slider width in quick settings.
- Refetch and rescale user icons on density changes.

Change-Id: I961c59b8b224d6ac22cbbb8e115b8a12547a04b9
Fixes: 28535987
Fixes: 28454340
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
fa760d46369f1ee7baedd174cc8f973594c52970 10-May-2016 Selim Cinek <cinek@google.com> Fixed a bug where the positioning on the lockscreen was wrong

Because of a circular dependancy of calculating the notification
heights and setting them to GONE, the views could be laid out in a
wrong fashion. Another issue was that ambient notifications would
still be taken into account as well as removed notifications.

This also lead to a bug where the removal of notifications could
lead to unnecessary add animations when swiping them away.

Change-Id: If9ad81237a520b14dc6851df3af52406d192a7a7
Fixes: 28441832
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
9688c2edc962a0d2ef983d4b5cf99be2c764ddb1 10-May-2016 Selim Cinek <cinek@google.com> Merge "Fixed a memory leak with notification children" into nyc-dev
7103fd44a88989952218261b974a353342ffb3c1 10-May-2016 Selim Cinek <cinek@google.com> Fixed a memory leak with notification children

Children where not removed from the stackscrollstate as
their removal was blocked when removing a group.

Change-Id: I0a3bbb91d0df2693e1ec7e89276c8714636a34ad
Fixes: 28670320
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
ed47cf23e89c8af296d69464ac04996fbd7ee9a9 09-May-2016 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Fixed a bug where notifications could become orphaned" into nyc-dev
52941c5618d79c0fb7af655f47f558d956af28c8 08-May-2016 Selim Cinek <cinek@google.com> Fixed a bug where notifications could become orphaned

When a child got set not be a heads up after it was already
removed (When for example it was clicked on shortly after
it got posted) then it got orphaned leading to bad bugs
like the next notification not being visible. This
could happen often with WhatsApp who set the head up flags
on the summary instead of the children.

Change-Id: I52c8f5d9bc50080e4ece530255236d36f998372e
Fixes: 28565942
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
17bc1fd09042f2749a1c822d32bc48eeb3b280f6 05-May-2016 TreeHugger Robot <treehugger-gerrit@google.com> Merge changes I4d34ed4b,Iddfbdf5c into nyc-dev

* changes:
Fixed a bug where the pin wasn't scaled correctly
Fixed a bug where the scrim was transparent
910f69e0bb7fc9a6ef880f27fe99ad3a7abbdf15 05-May-2016 Selim Cinek <cinek@google.com> Merge "Made the dismissal of notifications snappier" into nyc-dev
35a8c2f00e1c3bb2e2cf24260682400d025a49f0 05-May-2016 Selim Cinek <cinek@google.com> Merge "Fixed an issue where children would animate strangely when removed" into nyc-dev
aa8bbf1aefa03e567d56e2b62fe7e5a48e0f82a9 04-May-2016 Selim Cinek <cinek@google.com> Fixed a bug where the pin wasn't scaled correctly

When switching between different users with different
densities, the Pin entry wasn't recreated correctly.

Change-Id: I4d34ed4b2962311f28588b13dd56838c84272edf
Fixes: 27744173
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
92d0e9a4ede2c1b8132d9d980d1e51b2e5558ffb 04-May-2016 Ricky Wai <rickywai@google.com> Merge "Make notification reply can response to work challenge" into nyc-dev
d13956475e97da9de83f6519eab514770118e7af 28-Apr-2016 Selim Cinek <cinek@google.com> Made the dismissal of notifications snappier

The notifications now dismiss as soon as the finger is
lifted from the screen and we don't wait until it's fully
translated.

Change-Id: I2a37e019ce628ccf77e12bf8756bd05e549eca61
Fixes: 27418846
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
3f19f60d654421eee5b35a92129081f08c977629 03-May-2016 Selim Cinek <cinek@google.com> Fixed an issue where children would animate strangely when removed

Previously we tried to fix a notification flicker when the summary
of a group was removed. This lead to a few issues that group children
would now also generate an animation and the whole notification would
just look weird.
We are now cancelling notification children as soon as their parent
is cancelled already in systemUI to ensure that the animations are
properly rendered.

Change-Id: Ie639b4ad28bdb55d922308e04c14a4e5b32b90bb
Fixes: 28190616
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
cd35def3c35f04d7fd056590d4668b5ebbc80490 03-May-2016 Ricky Wai <rickywai@google.com> Make notification reply can response to work challenge

When user clicks work notification reply button while work user has
challenge, it will bring you to work challenge, and click on the reply
button when work challenge is unlock.

Bug: 28036566
Change-Id: I7b8520c4e58c0c0f965e4770ab0c7b926d8fb39a
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
8a1638f66a79dbf471e7e53294ba853b862434e6 02-May-2016 Chris Wren <cwren@android.com> copy auto-group decisions to updates

The rocket runs too late to affect auto-grouping for updates before
the UI reacts to the group change, so make sure it stays the same
until the rocket has an opportunity to reconsider.

Bug: 28517296
Change-Id: I16a0509cac06912c8b3139f06474f312207f9f8c
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
3c37f6ed06adec414419365b745ac34d25fb2780 29-Apr-2016 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Fix DirectReply taking too long in HUNs" into nyc-dev
c721fcc526675956d89c3b1c23d714deff612cba 29-Apr-2016 Adrian Roos <roosa@google.com> Fix DirectReply taking too long in HUNs

The HUN logic delays removing notifications for a second or
two, but this makes Direct Reply stick around too long after
sending. To prevent this, cancel notifications in the sending
state immediately.

Change-Id: I9e655bb17674265761e1f6cc25acb2fb9f0c72a6
Fixes: 28421972
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
fd57ea730e65afd6dcb848664dde0cdb64624659 29-Apr-2016 Jason Monk <jmonk@google.com> Don't show data disabled icon when user isn't setup

Change-Id: I2d540b8c0cb613cbf120ffadc404ee03d0447a8b
Fixes: 28246388
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
a3760a4713de573c88fc9f14e9a25b358ef4eea2 26-Apr-2016 Adrian Roos <roosa@google.com> Show lockscreen wallpaper on SIM screens

Also fixes a bug where the lockscreen wallpaper was
showing in occluded mode and where the regular wallpaper
was flashing when going back from occluded mode.

Change-Id: Ibe6404acc4ed5db8807b3ef223b149e841730c8f
Fixes: 28271756
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
f0fd218382b96f052d22a2e8ee00510cc23a6d1e 20-Apr-2016 Jaewan Kim <jaewan@google.com> PIP: Send KEYCODE_WINDOW to app first if PIP isn't exist

Bug: 27954955
Change-Id: I517e378d5c1672ac0eb87bdf4375b7d733276e58
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
ee5d630459f0f292ad0e3ac1f8002f90897857fc 23-Apr-2016 Felipe Leme <felipeal@google.com> Added a 'deferred' parameter on executeRunnableDismissingKeyguard().

OnDismissAction() should return true only when the dismiss should be
deferred, but the annonymous class on
executeRunnableDismissingKeyguard() was always return true, which was
cause a janky timeout when the runnable didn't launch an activity.

BUG: 28303552

Change-Id: I1f9e299102d6cebba44794c026a69cf43ea06990
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
9b1fdff2e70e695a0104dbc63fc26e434dc7f188 21-Apr-2016 Clara Bayarri <clarabayarri@google.com> Reinflate QS view on Locale configuration change

The existing DensityContainer already did this for density changes,
repurposed it to handle other Configuration changes. Also renamed
to AutoReinflateContainer.

Bug: 27952059
Change-Id: Ieb572abcbafe49aec73b16e1bcb8c294011afdd3
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
751f33f8c73892a34f99eb0f4c8266b87a331283 20-Apr-2016 Adrian Roos <roosa@google.com> Fix NPE in WallpaperDrawable

Fixes: 28272898
Change-Id: I0377a341c253c79f5179b3a9c8eadcf51f9ffad3
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
92c989dc4c4e00ac81988f00577bc8de35e775c1 19-Apr-2016 Tony Mak <tonymak@google.com> Set lock screen to be in public mode if one of its profile is secure

Change-Id: I7d819c7d4a52ff45705b1a1b9e215faf0957cccb
Fix: 27118634
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
3e7592d0cbbde5b0b85d98b82d991ee5d2aab8a9 11-Apr-2016 Selim Cinek <cinek@google.com> Fixed a few issues when adapting the dpi

The statusbar is now behaving nicer and other
parts are behaving similar as if they had been inflated
that way. The signalclusterview is now properly recreated
ensuring that it's scaled correclty.

Fixes: 26844819
Change-Id: Id1aab629204d03c079815358e7a5eb12d2a4e557
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
e803491cb0f4a3d3cb842771757fcf26bed080a0 10-Apr-2016 Selim Cinek <cinek@google.com> Fixed a few issues with status bar density changes

Reinflated the brightnessmirror to have the propper layouting.
Also fixed the height of the heads up scrim.

Bug: 26844819
Change-Id: Idb24dbd40f071a2a722c59cc202ae46c5ace2da8
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
5981b8c2e8f6363d1f3bf09e7f1b3b5fb9a3846a 15-Apr-2016 Andrii Kulian <akulian@google.com> Merge "Remember task which is being locked" into nyc-dev
0f051f5abdb31024d862a954cc4c4716b1dde616 14-Apr-2016 Andrii Kulian <akulian@google.com> Remember task which is being locked

We need to remember task which requested to be locked
because we can accidentally lock another task after
user interacts with pinning request dialog.

Bug: 27876860
Change-Id: Ie8e607df4380dd33ea9b3474afc247b02e31de07
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
3b777cb9b18c3e6f8549cd25695600cd7dd3010b 14-Apr-2016 Adrian Roos <roosa@google.com> Fix LockscreenWallpaper panning

Bug: 27484494
Change-Id: Ic74b447213fcad5b7ca5107c5a0ebd9e76276ea6
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
671e86605c96144066c65704dbd154df5f0a0bad 14-Apr-2016 Andrei Stingaceanu <stg@google.com> Merge "Keyboard shortcuts: one instance refactor" into nyc-dev
f86bc976261d1f9860a4249ce9ef4d0ef4c8c3ef 12-Apr-2016 Andrei Stingaceanu <stg@google.com> Keyboard shortcuts: one instance refactor

Make all the instance public methods private
and add static methods to control the behavior:
* show
* dismiss
* toggle

Make sure we only deal with one instance of the
KeyboardShortcuts (previously both the
KeyboardShortcutsReceiver and BaseStatusBar were
creating instances).

Makes sure the instance is destroyed when dismissing
and when showing it either creates a new one if none
exists or reuses the existing one.

Also fixes an existing nasty issue where in order
to dismiss the dialog from BaseStatusBar we were
always first creating a new instance.

Bug: 28012198
Change-Id: I207553dd45ae535edc64b6292a472fa0899029b0
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
819b9bc9dbf31b8b6db999ff56477038ad95ffcf 13-Apr-2016 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Dismiss keyguard when user button is tapped" into nyc-dev
ccf08d7c84621ced051c1c3b0f52efde10b94569 26-May-2015 Kaori Katou <kaori.x.kato@sonymobile.com> Dismiss keyguard when user button is tapped

When multi-user is disabled and user button is tapped
on the keyguard, the contact app is displayed behind the keyguard.
The keyguard should be dismissed when the contact app is launched.

Change-Id: I7daa0bec84b5172e78668cc71e51955f166ede0a
(cherry picked from commit 0a334053298c988a816a754c4235ed3b01cc9cfc)
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
29379ec859bf7118dec9f3248c63ee369218ad6b 12-Apr-2016 Jorim Jaggi <jjaggi@google.com> TRON refinements for multi-window

Bug: 26013430
Change-Id: I89b139b4ca3e7b6a06d8b5b351d67ffac240f73f
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
8af20ef6a885a50694805a066f02fc643e80b837 12-Apr-2016 Jason Monk <jmonk@google.com> Merge "The return and fixing of demo mode" into nyc-dev
98d7c7a84d007d3de0c3394d8a93253a313eda27 12-Apr-2016 Jason Monk <jmonk@google.com> The return and fixing of demo mode

Change-Id: I2bcf3435b92c80b4ab3c46cba02902820c942c7c
Fixes: 27919212
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
064e612779b960a0694d0334851d59d1c8aaf57d 12-Apr-2016 Daniel Sandler <dsandler@android.com> Merge changes from topic 'vr-fixes' into nyc-dev

* changes:
Suppress immersive mode confirmation in VR mode.
Suppress heads-up notifications in VR mode.
dc34df5d310245a268ee9ea3872a612c6f7950b5 08-Apr-2016 Dan Sandler <dsandler@android.com> Suppress heads-up notifications in VR mode.

Fixes: 27884853
Change-Id: I14d2dd66bea5b18e4d710c74d443e88cfbb3c028
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
469d5cbf070c8a8086f6826c87805563859db30e 11-Apr-2016 Jason Monk <jmonk@google.com> Fix weird broken state from lock screen -> QS edit

Change-Id: I852d28e0bbe682b85178163c362ed8d1b00a1eb7
Fixes: 28075240
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
32f723bfa461e1f3916e411fbb8eb40e90a26176 11-Apr-2016 Selim Cinek <cinek@google.com> Merge "Fixed a bug where the wrong group was HUNd" into nyc-dev
ab713b9c37cfb838d5228f1901a798494048e231 11-Apr-2016 Anthony Chen <ajchen@google.com> Merge "For Auto, display battery status as that of a connected device." into nyc-dev
19cf2972582198484816ac15ba83a4f46946082b 08-Apr-2016 Jorim Jaggi <jjaggi@google.com> Disable snap targets that make apps <220dp

- Make minimal task size 220dp.
- Disable upper and lower targets if they result in less
than 220dp task size.
- If even the middle target doesn't allow 220dp task size,
disable entering split screen altogether.

Bug: 26451260
Change-Id: I06e358c9b3da0172c5def75cdadf975f87f9fa57
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
967ed2a151c9b349734892a2274304acd1bd373c 09-Apr-2016 Selim Cinek <cinek@google.com> Fixed a bug where the wrong group was HUNd

Fixes: 22466201
Fixes: 27925006
Change-Id: Iaaf91b63c0bb218a75b449554f17ed3828fdfff8
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
da62fdcd502e772546bd98c016ab20fff6ee62e7 07-Apr-2016 Anthony Chen <ajchen@google.com> For Auto, display battery status as that of a connected device.

For Android Auto Embedded, we would like to display the battery status
of a device that is connected via Bluetooth and not the battery status
of the device itself (which would not make sense in Auto).

To accomplish this, introduce a new CarBatteryController that only
monitors the status of battery via Bluetooth. Note that AAE is not
explicitly handling the battery icon that appears in the quick settings
because this will be hidden for Auto.

This CarBatteryController implements a new BatteryController interface.
What used to be the BatteryController has been moved to the
BatteryControllerImpl class.

Bug: 28002775
Change-Id: I2285bcbd3d207cdcc1ac5a98ec3685d4fff0f0d9
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
97237ee331716ee5d328c7bbea92e5fc218d2c29 08-Apr-2016 Selim Cinek <cinek@google.com> Merge "Fixed a crash with autobundle grouping" into nyc-dev
c1e389dadc234827354b95bac98a9c7146ed301c 07-Apr-2016 Selim Cinek <cinek@google.com> Fixed a crash with autobundle grouping

Bug: 27997570
Change-Id: I4ec0e312583ddba0ba944aaa6f221cdda22c64dc
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
6de5ce2be0d71b461a2d2becd1c240a9bef538a4 06-Apr-2016 Mady Mellor <madym@google.com> Merge "Adds security challenge when changing notification settings from lock screen" into nyc-dev
11c62e17af9096f76d4532f26cacd809c3a5ef53 06-Apr-2016 Jorim Jaggi <jjaggi@google.com> Dynamic density change handling

- In PWM, make sure to read the height values after the new
configuration has been applied.
- Reset all navigation bar button icons when density changes.
- Adjust height of notification bar.
- Reload divider height values in SysUI and WM.
- Snap divider handle to a new position after loading the
new configuration, as the snap points change.

Bug: 26844819
Bug: 27450471
Bug: 27921696
Change-Id: I9e28f0c49f6367c5fcfac010e7a6e98a42e85996
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
7a9b2a67b71f8f6c5cffc3fe90cc4b513b79a9b2 23-Mar-2016 Mady Mellor <madym@google.com> Close inline controls / hide the gear when interaction outside occurs

This CL adds the behavior so that if the gear or inline controls are
visible, they will close if the user interacts with another area of
the screen (e.g. scrolls, pulls down QS, etc) this is on the lock screen
as well as the shade.

This CL makes an additional change to remove the GearDisplayedListener
and use the StackScroller to maintain state of the gear / reset as
appropriate.

Bug: 27598072
Bug: 27335311

Change-Id: Iebff9aa542c9d91389054a4ff292d0dda11fe950
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
e6e108e0eb5d552e3b35bf1803838f7a00730abd 28-Mar-2016 Jorim Jaggi <jjaggi@google.com> Launch everything from the shade in full-screen stack

Bug: 27864383
Change-Id: I2925661f1c325f4385876188a5866ab6b57a8f19
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
311b98eacd05bda69adcc9c5c80807abaff85fdf 30-Mar-2016 Xiaohui Chen <xiaohuic@google.com> sysui: refactor for extensibility

Bug: 27098123
Change-Id: Iab9b91c06b32030bbeae6a12715ea33867d13e12
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
4de449a3c6b24e409059cfaab891c59eba09ddb8 31-Mar-2016 Adrian Roos <roosa@google.com> Merge "Add option to force remote input history" into nyc-dev
c0a579e5752b38257c31acb2f0b5b08447355205 31-Mar-2016 Adrian Roos <roosa@google.com> Add option to force remote input history

Bug: 27851227
Change-Id: Iced5d24d6cc0894ce7c7e9565722d0ef016a50a5
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
40e1135ea2780fefecf532fb7a1cc43e26bcecc2 23-Mar-2016 Muyuan Li <muyuanli@google.com> sysui: refactor for extensibility

Making mZenModeController in PSB protected.

Bug: 27101250
Change-Id: Ibb3e66fb59b245aa293bbc32d1c1009ac1a0499a
(cherry picked from commit ac72fc49227fc02a919827a877637df4b0a65cf0)
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
2adba07d75419462873dfeef40d4c983d832ed99 03-Mar-2016 Jorim Jaggi <jjaggi@google.com> Show a scrim activity if task is not resizable

Add a callback to TaskStackChangeListener which gets fired when the system
might need to inform the user that a specific app might not work in
multi-window.

Use that callback in SysUI to show a translucent activity which scrims the
activity behind to inform that it might not be resizable.

Debounce the information to once per multi-window session, to not make it
annoying.

Introduce launchTaskId to start an activity in an existing task, and protect
that with START_TASKS_FROM_RECENTS permission.

Bug: 27327287
Bug: 27431869
Change-Id: I89e8d653872ab01ba3c1e252b426e5481da0e6ca
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
53f8e7d5de0ff1672070c3cb38391f58dc58c2fb 25-Mar-2016 Selim Cinek <cinek@google.com> Fixed a bug with the number of notifications visible on lockscreen

It also accounted for invisible groups.

Bug: 24866646
Change-Id: I97de1468bdaaafbdbe69de5d1599555d5cf8f3f7
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
eb04a9992ea995eaf35a9afbdab060af7bd8e775 22-Mar-2016 Xiaohui Chen <xiaohuic@google.com> sysui: refactor for extensibility

Bug: 27357836
Change-Id: I793fc1a6c17a7b5f66e4803e7f51a373b47e5733
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
2a7393410b6390831143dca198438a4e58bdf88a 17-Mar-2016 Selim Cinek <cinek@google.com> Hiding the summary of notification groups with a single child now

Groups with only a single child are now hidden from the user and
the child is directly surfaced.

Bug: 27104166
Change-Id: Ifc1edf0ba857ae2a3c7ef7146dee6aa7fb29fe4b
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
8e8a69e90fbc35f794fa9f6d3bd9e1227ed1a6e8 14-Mar-2016 Mady Mellor <madym@google.com> Adds security challenge when changing notification settings from lock screen

Bug: 27335311
Change-Id: Ifb9391e371472077447db4603b5ac7e9fba93c20
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
d5c2db630fc816e2d9154a61ccbd6770bc57cff8 09-Mar-2016 Adrian Roos <roosa@google.com> Don't show wallpaper when backdrop is visible

Hides the wallpaper when it's not needed and fixes
the unlock animation to not unnecessairly show the
wallpaper if neither the Keyguard nor the underlying
app need it.

Also fixes a bug where the enter animation had a background
set, which led to uglyness when no wallpaper is involved.

Bug: 27533740
Change-Id: I667c6f7ca6c0e1ff7e9f793c6ddc13f6da8387b1
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
00e61f5a6455ba0ae90859acdd76e54efc849c3c 11-Mar-2016 Selim Cinek <cinek@google.com> Merge changes I8c1cd4d4,I5ed13c17,If603049c,I5cb7937c into nyc-dev

* changes:
Fixed a bug where text would still not animate
Reseting user expansions when the shade is collapsed
Added more spacing around notifications
Fixed an bug with the notification backgrounds
78f400840bfc9faa096686e586de03328215f869 11-Mar-2016 Selim Cinek <cinek@google.com> Reseting user expansions when the shade is collapsed

Bug: 27597152
Change-Id: I5ed13c17a95defc9ddc3f5f184f7a98b012baef1
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
c694a509ff768b6a942616676dd8103e20d06e66 11-Mar-2016 Winson <winsonc@google.com> Adding docking checks for multi-window support.

Bug: 27387257
Change-Id: I9f16302e1f9475225538871d9fc09c0706e4dbfb
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
1cf0f76f758fc337b2eed5ccb254a799bc1328db 11-Mar-2016 Muyuan Li <muyuanli@google.com> Merge "Making clearAllNotifications in PSB public." into nyc-dev
e7d7d572a36514b3a6d80f4c4b14b1cf7409d9e8 10-Mar-2016 Vadim Tryshev <vadimt@google.com> Setting mBackdropBack to null if artwork isn't available.

Otherwise, it preserves the old image. Later, mBackdropFront will
get this image and try fading from it. This will suddenly flash the
old image.

Bug: 25185253
Change-Id: I702e73684e692712edf48ce31c152c5f5a8bffdb
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
c510b5ebe843deff800ae592152b6267fa7323a0 10-Mar-2016 Muyuan Li <muyuanli@google.com> Making clearAllNotifications in PSB public.

Change-Id: I5603755e8f66d12d53dc167e1a97045fa93f60a5
(cherry picked from commit 083281681ef711d7cc1ea64d5ef89a4b46c61e35)
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
2f14bb31aeb2a736b5120e8b89abeb260d513e37 10-Mar-2016 Muyuan Li <muyuanli@google.com> Merge "Added shortcut key to dock windows" into nyc-dev
e001805c407a620e9527b467494de3bbdee54be8 09-Mar-2016 Selim Cinek <cinek@google.com> Merge "Fixed a bug where notification icons were not animating when dozing" into nyc-dev
cd5b22f0c272b67a7001867e871ccaedd7641bdb 09-Mar-2016 Selim Cinek <cinek@google.com> Fixed a bug where notification icons were not animating when dozing

This lead to them also being colored.

Bug: 27513595
Change-Id: I2bd5a66128fb550e0eea543fd60d946d36a4635f
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
a212999f245032f033e6a0993fd2be9832a9b9cc 04-Mar-2016 Muyuan Li <muyuanli@google.com> Added shortcut key to dock windows

Meta + [ / ] will dock top window to left / right or cycle
between 1/3 1/2 2/3 of screen if it's already in docking mode

Change-Id: I546418235a9b9699d406b04f52914c85bd950532
(cherry picked from commit 63635675b56564a17e3897a221d73a19cfbc77f7)
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
2289efa6d9b7c185e427b0162a89de8e2b9595c8 09-Mar-2016 Adrian Roos <roosa@google.com> Merge "Fix bug and add logging in FalsingManager" into nyc-dev
f7f4537f4f8f7433f80f5c9eae8a62462ec612ea 08-Mar-2016 Selim Cinek <cinek@google.com> Merge changes I6e5dc836,Ia0c663f0,I97eb6e79,I8a4a0213,I87798da9, ... into nyc-dev

* changes:
Removed the group expand button
Removed the bundle number from the header
Fixed a crash with notification children
Fixed a bug where the media header wasn't indented
Fixed fading and dozemode for custom notifications
Fixed a group bug with a single expanded child
Fixed a bug where the top child notification wasn't expandable
Fixed a bug where heads up where not expandable by touch
Fixed a bug where the wallpaper was shining through the background
2b542424f73e1147671bf80285c84693f647d0dc 05-Mar-2016 Selim Cinek <cinek@google.com> Fixed a crash with notification children

Notification children would animate when removed even
though they were just transferring to a different parent
or to the root.

Bug: 27476798
Change-Id: I97eb6e795d7762fb150b63f49eec9bb6092339be
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
401caaedd871894620accc1d14592c08095b5523 04-Mar-2016 Adrian Roos <roosa@google.com> Fix bug and add logging in FalsingManager

Fixes bug that lead FalsingManager to be incorrect
about the screen on state.

Makes it a fatal error to query whether a touch is
falsing outside of an active session.

Prevents touch collection and logging on the locked
shade which needs no anti-falsing.

Bug: 27227578
Change-Id: I8e330ad28636156a952e61b8fe6a3d201f82e624
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
e5ccccd3beadcc989ba25dc57292724e8f38b574 04-Mar-2016 Yorke Lee <yorkelee@google.com> Merge "Make isPanelFullyCollapsed public" into nyc-dev
255032591826a8a0373505a163d5c96d681541cf 04-Mar-2016 Selim Cinek <cinek@google.com> Fixed a bug where the wallpaper was shining through the background

The wallpaper was shining through the background of notifications
when music was playing even though it shouldn't have.

Bug: 27478285
Change-Id: I419fa47ef34ace72ec911fcb780919f4a7ce786b
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
e4ea6ab1e71b129f08aff118b9dbaab7c559841d 03-Mar-2016 Yorke Lee <yorkelee@google.com> Make isPanelFullyCollapsed public

Change-Id: I3341e5e56a71b0b6cb0c642e8b9f9d13828b898d
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
310b8ed349a7c7eb7282a5e1a5ace89f341ae28b 03-Mar-2016 Jason Monk <jmonk@google.com> Merge "Fix QS edit state being out of sync" into nyc-dev
e06b065f6e0d0f939b8519ccd3699b90aef818e9 02-Mar-2016 Jason Monk <jmonk@google.com> Fix QS edit state being out of sync

Do this by making SignalCallbacks send out initial state immediately
rather than posting this state. This requires a little refactoring
to how SignalControllers work.

Bug: 27061469
Change-Id: Iba6b91a4a5d1d13cce0f0d308b6f85f0340bff39
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
26fa8a54b671719a34290df97d61b60514b0d0ee 24-Feb-2016 Julia Reynolds <juliacr@google.com> Allow notifications to be hidden from lockscreen at a package level.

Bug: 26642033
Change-Id: I67674ea9d42ee6b5865702be5d9ab2b09b53e15f
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
46dbfb475fe0d1644f27f78e35735ba32c92225b 25-Feb-2016 Jason Monk <jmonk@google.com> Handle density changes in QS

Bug: 26845796
Change-Id: Icc783c9d706382e553df49f699aaf44aac943d18
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
f0f629ffe44716b8d900929135142f0ebb9325f4 25-Feb-2016 Julia Reynolds <juliacr@google.com> Introduce IMPORTANCE_MIN.

Allow HUNs for >= IMPORTANCE_HIGH.
Allow full screen intents for IMPORTANCE_MAX.

Bug: 22960980
Bug: 26918284
Change-Id: Id4d2b90ea2e21563dbc716db411060d826e73699
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
8ca583b29f7a06dcd2ccb2da7c4273d4db8bf7fd 26-Feb-2016 Phil Weaver <pweaver@google.com> Merge "Accessibility to toggle multiwindow mode" into nyc-dev
315c34e7d62ce4b609f2d08b18a11a2d44e93aba 20-Feb-2016 Phil Weaver <pweaver@google.com> Accessibility to toggle multiwindow mode

Encapsulating the logic to toggle multiwindow mode from recents,
and plumbing it through to accessibility global actions. Sending
accessibility events when windows bounds change. Exposing the
dock divider window type to accessibility services.

Bug: 27250995
Change-Id: Ib7491f1f853dc7f01bf5c5a4ac1f914f55d0608a
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
d5ec83069dfabf2109a4fbf4c5687901e6ca77ee 25-Feb-2016 Selim Cinek <cinek@google.com> Merge "Allowing to expand the children from the lockscreen now" into nyc-dev
cb24ab8e59753e56d19d3aee78e80ec4d2723b75 25-Feb-2016 Selim Cinek <cinek@google.com> Allowing to expand the children from the lockscreen now

Bug: 24866646
Change-Id: Ibb4dc98e8148b912253153065c9c35e22a06f334
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
12a30e8874cedbc7f0cc3a7ec6821bc42de3280e 13-Feb-2016 Vadim Tryshev <vadimt@google.com> Add support for showing wallpaper for the user selected in UI.

This change will go nyc-dev.

There will be another change in the UI, which will go to our
branch.

Bug: 25185253
Change-Id: I6feac9fa4190b28a8599a18367bea8c6a5a83b9a
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
28540199793c3e0e0cc692a00ce27e7fa2f790b8 20-Feb-2016 Selim Cinek <cinek@google.com> Fixed the usage of the menu key to unlock

The menu key was not unlocking the keyguard properly
and didn't hide the notifications.

Bug: 26539875
Change-Id: I9dd89767f00d29c15d1d4e840a1ab22d59e58c8d
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
3c76d509d362cf5086a63722ab41e04f5d539182 20-Feb-2016 Selim Cinek <cinek@google.com> Allow dismissal of sensitive notification

If the general setting is not to hide sensitive information
we allow the user to dismiss it.

Bug: 26328503
Change-Id: Ibea5d94e544291f00d8a2923b8cbf14170510bd8
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
5da713599f4e83c99b5c52291c967c813350e669 22-Feb-2016 Xiaohui Chen <xiaohuic@google.com> sysui: refactor for extensibility

Bug: 27098035
Change-Id: I9ce480a5995f354ad45b6f13112cfa1ab49934cd
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
f23aa99270606b227d007b8f7c1619f564c55b0f 22-Jan-2016 Jason Monk <jmonk@google.com> Move background data notif to data saver status icon

Bug: 26796370
Change-Id: Ibf53c3affa63100b603e362b58ca6d2958791321
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
865a4ee0cddedc8ef11f8370390e197e9ae95067 20-Feb-2016 Jason Monk <jmonk@google.com> Merge changes Icb8e2097,I9a2a16f9 into nyc-dev

* changes:
Optimization for TouchAnimator
QS Animations - first pass, still not spec
162011ebe8015f44d4d9ced519297a7cfb087af2 19-Feb-2016 Jason Monk <jmonk@google.com> QS Animations - first pass, still not spec

Bug: 27201532

Change-Id: I9a2a16f9d769db1f40ae733ad55a07ede4780698
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
15d6eafec54f8631c908b8a81c997fef8dd4cd8a 19-Feb-2016 Mady Mellor <madym@google.com> Merge "Initial implementation of dismiss gesture + inline settings icon" into nyc-dev
e381c169fc445b961a131ea5553150d4c44f0c9e 12-Feb-2016 Adrian Roos <roosa@google.com> Use actual lockscreen wallpaper

Bug: 25454162
Change-Id: I30ff02420bc4b72d7e4bf9105f2fd4c8017f5756
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
4b80b1025f82fa7becc8e126bfa4aea39affcf65 22-Jan-2016 Mady Mellor <madym@google.com> Initial implementation of dismiss gesture + inline settings icon

- 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
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
ea4b6ba420834ab7df28907ae57aa7dffb4ef0d3 18-Feb-2016 Xiaohui Chen <xiaohuic@google.com> sysui: refactor for extensibility

Bug: 27100755
Change-Id: I7fff6751b7f197e3e66ab1f87690d556f6e66872
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
377e7ad8dc0562c6f445594288e451c377824e4c 16-Feb-2016 Jason Monk <jmonk@google.com> Move detail panel to its own thing

Move pieces of the detail panel from the header and QSPanel to be
in a single container to make the enter/exit be handled better
and code cleaner.

Change-Id: Id1e79b96830ee50051e340fb09ecde537a64e516
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
115d2c189a46f535778d9dd0923f703ff2f888fe 16-Feb-2016 Jeff Sharkey <jsharkey@android.com> Add feature versions for devices and apps.

We're starting to see more instances of device features that will
increment separately from the SDK API level, such as camera HAL,
GPU capabilities, Bluetooth, and other hardware standards.

This change adds the ability for device features to specify a
version, which is defined to be backwards compatible. That is, apps
requesting an older version of a feature must continue working on
devices with a newer version of that same feature.

When a version is undefined, we assume the default version "0".

Bug: 27162500
Change-Id: If890bf3f3dbb715e8feb80e7059a0d65618482ea
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
4f0e1e1d090089f5b0337d53fe77a90a1c796398 12-Feb-2016 Selim Cinek <cinek@google.com> Merge changes If981a380,I48a8f882,I4b248b2f,Id9e6ce2a,Ib5239325, ... into nyc-dev

* changes:
Fixed a bug where custom notifications were invisible
Fixed a transformation error when fading in views
Fixed animation jank in notification groups
Fixed a bug where the single line view would be invisible
Fixed a bug where huns could be invisible
Fixed a crash with notification children
3aec638a7b7f7200f7c82bca527e6aec75440d82 05-Feb-2016 Adrian Roos <roosa@google.com> Add setting for allowing remote input from keyguard

Bug: 26440855
Change-Id: I539b1c7ee6a874283df1104fe0743ef0495f9510
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
e26334ba1a5c7880c67b931a6ca73941167712e9 12-Feb-2016 Jorim Jaggi <jjaggi@google.com> Merge "Handle light status bar for split-screen" into nyc-dev
3362c1306e2d20775266be22acd00720531c126b 12-Feb-2016 Selim Cinek <cinek@google.com> Fixed a bug where huns could be invisible

When an unpinned fullscreen notification was in the shade
all successive normal huns would be invisible.
Also removed the sorted entries as it could lead to stale
data and crashes.

Bug: 27136766
Change-Id: Ib5239325e452a2b949cb4a4b8478d231189c4722
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
322ec7e2793d4bb886f27e0be4eb0317b638fcc9 11-Feb-2016 Selim Cinek <cinek@google.com> Fixed a crash with notification children

When moving children between parents, Sysui could crash
because it wasn't removed yet properly from the old parent.
We are now doing this sequencially, i.e first removing the
children and then adding the new ones.

Bug: 27137301
Change-Id: I1925662a9d7f224f133827d524d080994753ba25
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
86905582411c5c77a3e7641589cf206c6e5770f5 10-Feb-2016 Jorim Jaggi <jjaggi@google.com> Handle light status bar for split-screen

In split-screen the light status bar flag for one side of the
status bar can be different from the other side.
SYSTEM_UI_FLAG_LIGHT_STATUS_BAR is now reported for both
the fullscreen stack and docked stack, but not anymore in the
"default" SysUI visibility field when reporting a visibility
change to SystemUI. The change also reports the docked stack
and the fullscreen stack bounds, so SystemUI can guard tinting
the icons on whether the icon is one of the areas.

When calculating the light status bar flag in PWM, we keep track
of the top fullscreen opaque window state for the docked and
fullscreen stack separately.

Bug: 24365214
Change-Id: Id2240a86d75bf96e0138ec7652a4793859f56e3c
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
738a2b67f16712fc36056c32eb5a652ce0c60f80 11-Feb-2016 Selim Cinek <cinek@google.com> Merge "Notifications now support runtime density changes" into nyc-dev
01af334b70c8ad47c8ce1f465e458863ebe9eae2 10-Feb-2016 Selim Cinek <cinek@google.com> Notifications now support runtime density changes

We reinflate notifications whenever the density or the
font size changes.

Bug: 25613008
Change-Id: I61d48e477b1865e2124d055e537a592aceb667f2
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
16ac3774e394d50600079697ea867a3c847ebd95 10-Feb-2016 Jason Monk <jmonk@google.com> Fix QS input handling

Remove the observable scroll view and put the qs container in its
place. Also update the NotificationStackScrollerLayout to be aware
of the container and not eat up its touches as scroll events.

Change-Id: I8a56254bf8e76a7cdd63bd637a974c1f3aa49482
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
3776fe007550451bb237c705d333247eab2a291c 04-Feb-2016 Selim Cinek <cinek@google.com> Removed the notification scroller top stack

The top stack is now removed and the notifications
can scroll below the quick settings header.

Bug: 24866646
Change-Id: Ia480a0efb3ed70a072e0596633063cc0cbbdf1fb
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
d560729ce3a6f3d51c03d39768815b4c49f7a8f4 05-Feb-2016 Julia Reynolds <juliacr@google.com> Update DND visual interruption choices.

Change-Id: I7050264839c566dcef1dd01d155dda694a8d1ec0
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
ea4a19f1aa27ba4b9fc4ec0af1d19b4177f801df 04-Feb-2016 Jorim Jaggi <jjaggi@google.com> When long pressing recents and already docked, undock

Bug: 26771328
Change-Id: I1fe12181cd80fd948e4184be6a8790c77bfe9e45
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
067e817585524aeb0fb2c5ff4444c21fadc3f0d3 04-Feb-2016 Jorim Jaggi <jjaggi@google.com> Only treat "null" bounds as fullscreen

When long pressing on the recents button, we made it one pixel smaller
than fullscreen so we don't dismiss the stack immediately again.
However, this is a huge hack, and lead to problems with navigation bar
background because there we actually rely on the fact whether
the window is fullscreen or not to determine whether to draw the
navigation bar background, which lead to flickering.

Bug: 26777526
Change-Id: Ifdfcf3ad4138bc88c5164177cd20f1ff1635085f
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
f43491f8f25db4e9967a22aa17add94436b12cf5 01-Feb-2016 Xiaohui Chen <xiaohuic@google.com> sysui: small refactor

Bug: 26161831
Change-Id: I020176d49cb12c7f7b56ad6eb1221e678312f798
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
7e53f20c835ae2614c92717a6fc222b345c75036 28-Jan-2016 Jason Monk <jmonk@google.com> Add some cmds for statusbar

They will be used for tests?!

Also move around where some of the tile lifecycle happens so that
it can easily be shared with these commands.

Change-Id: I72386afce5a2d335df45ecc5946679efcd826bae
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
54fa566ab74368bd0f0a8e9da7c695b2d33d6124 30-Jan-2016 Jaewan Kim <jaewan@google.com> Merge "PIP: Use StatusBarService to handle PIP key"
2307b730a767904af696a60dc1b21e5d3eaf718e 29-Jan-2016 Adrian Roos <roosa@google.com> Merge "Add lockscreen wallpaper support to SystemUI"
52738328bda77ea70f81c3c125aa9c59c9e5d0c2 29-Jan-2016 Adrian Roos <roosa@google.com> Add lockscreen wallpaper support to SystemUI

Bug: 25454162
Change-Id: I38b71ac2efc2a9608ae4e41173b64eca817cd4ea
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
c0d7058b14c24cd07912f5629c26b39b7b4673d5 29-Jan-2016 Winson <winsonc@google.com> Referencing static interpolators.

Change-Id: I5d2292016e869ed533f5873e373a1eccce651fc5
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
c552b04cb4aac9d31dbaf9744f32ddc14886e222 18-Jan-2016 Jaewan Kim <jaewan@google.com> PIP: Use StatusBarService to handle PIP key

Bug: 26591829
Change-Id: I7051fab966e2fc0887b2a21ddbf11aff7e16804b
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
f5b850e694c6ce6cf7e3ee13ab22f2f0008d6d20 25-Jan-2016 Sudheer Shanka <sudheersai@google.com> Update notification title when admin disallows unredacted ones.

Currently, we use "Contents hidden" message in either case where user
wants to hide sensitive content or admin disallows unredacted
notifications. Updated to use a different message when the
admin disallows it.
Change-Id: Idc73968ff7894e96d8f9b5be4621cc02f682e0aa
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
f6e9228b8a97603d3ceb8f0d61e8d87cf19bd21f 27-Jan-2016 Chris Wren <cwren@android.com> move framework metrics over to new proto

Change-Id: Ie46e946dc787350c15c10aa4385a6b7df7e181a8
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
f3e87908cda00443167722b07b473ee96c4da39a 27-Jan-2016 Jorim Jaggi <jjaggi@google.com> Merge changes I10224452,I7af4149f

* changes:
Grow recents when in multi-window on phones
Add animation when docking top task with long press
d35c2793a3f4986f0513c17d729bdca57086c994 21-Jan-2016 Selim Cinek <cinek@google.com> Added transparency to the notification backgrounds on the lockscreen

To achieve a decent lockscreen animation we also need to account for alpha.

Change-Id: Iba75f9c304962da309e0e2d32a58d757b6607b5b
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
c18010f6720f606003cde3cd376ddacaca30f6e5 20-Jan-2016 Selim Cinek <cinek@google.com> Refactored the interpolators to use only one single instance

Previously many objects parsed their own interpolators leading
to memory and computational overhead.
This is now unified into a single Static class.

Change-Id: I0537aca0e6dad10a7ffd52ba64b7356b0c5e4672
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
4fd5dfc1c3c356c62db329b2c1ccc00e3e75dabc 20-Jan-2016 Selim Cinek <cinek@google.com> Removed the visual speedbump

Change-Id: Iaacfc75ba691db07522e9d1d893aecd6b3be6338
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
0971cb076d41f0e57a235588a1dde9ccdfabf0ca 26-Jan-2016 Julia Reynolds <juliacr@google.com> Visual interruptions: stop more full screen intents.

The user options for 'no screen interruptions' needs to stop
peeks and full screen intents when the screen is on.

Bug: 25423508
Change-Id: I49b1c40552c3506fae259364a4d5e49168c8de36
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
cdb06caebb5f6f554b2ed8c76963970d8cc0ab54 26-Jan-2016 Jorim Jaggi <jjaggi@google.com> Grow recents when in multi-window on phones

- Make sure all methods in RecentsImpl are called from the main thread.
- On secondary users, call dockTopTask in correct process.
- When opening recents, split it differently when on phones.

Change-Id: I10224452b1a9c0ae691d64cceeae5bb93cc4f6d8
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
11cc01df271fce5ec3eb05a7281032d1271cc782 23-Jan-2016 Jorim Jaggi <jjaggi@google.com> Add animation when docking top task with long press

Change-Id: I7af4149f2c517e8d6ace22f1e49e319d2461503e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
2790a37e0ff9aa03a29387d6345ec694c98aa062 23-Jan-2016 Rakesh Iyer <rni@google.com> Move FullscreenUserSwitcher into car/

Move the full screen user switcher into the car/ directory
because it is only used there.

Bug: 26559008
Change-Id: I4f24b2029ed11be49a165be35e225e726677d37e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
4f878ef5cc7b543b8cdda1c32d6258de1be001fe 23-Jan-2016 Jason Monk <jmonk@google.com> Re-add support for the app shelf

Accidentally broken as a part of tuner customization of the nav bar.
Now supported for inflation.

Change-Id: Id097fb48d1d77aa37518246cca8c7a9494de2af2
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
8c24cc13b8e82727928b483658393d91420fe049 22-Jan-2016 Xiaohui Chen <xiaohuic@google.com> Merge "sysui: refactor PhoneStatusBar"
a20818257e6927560a676d99dbc563a0394f74d8 18-Jan-2016 Jason Monk <jmonk@google.com> Make nav bar customizable through Tunable

Change-Id: I18c6bc3db1555ca8ec94f1ce594eb01158f32736
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
ef5127ea5f34f7a4c961021f6b691174bcb81d2e 22-Dec-2015 Selim Cinek <cinek@google.com> Isolating heads up children from their groups now

Group children are now isolated into their own group for a few seconds
until it's merged into the group again when they are
heads upped. This makes notifications groups finally usable with
HUNs again.

Change-Id: I0cb5e4f7a70e09989030dfe70ddcbb50575c1c02
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
31aada4ef4ff37f8cdc110b196c06918841647c7 19-Dec-2015 Selim Cinek <cinek@google.com> Enabled usage of expand button in heads up notifications

Heads up notifications can now be expanded with the expand
button. The notification stays there until the user dismisses it
or collapses it again.

Change-Id: I0f1b729915317bbbd6f13c3d968c933ffbe6feeb
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
d839d1ac36cc3628c1800a93b69dcb54d5760a91 21-Jan-2016 Xiaohui Chen <xiaohuic@google.com> sysui: refactor PhoneStatusBar

Bug: 26161831
Change-Id: I906a600b2504b21c28cfe2527d68c2546f11e4ac
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
ada13040d020a289805ddc1f2f49079570cc0e0f 20-Jan-2016 Anthony Chen <ajchen@google.com> Add null checks for various buttons on the Nav Bar.

CarNavigationBarView extends NavigationBarView and provides a different
layout for the navigation bar which does not include all these buttons.
As a result, SystemUI will crash.

Change-Id: I1be079814faa26925721ec86a6f108506f54b99e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
8bdcd1fcaa59e729bcab544aac6cbe2e4ea71c21 19-Jan-2016 Xiaohui Chen <xiaohuic@google.com> sysui: refactor PhoneStatusBar

Change-Id: I4177d1d02fbafc88ad522bc483e22a68ede075ff
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
3e189877aba0285d79ce55349afae60457d95d6f 12-Jan-2016 Jason Monk <jmonk@google.com> SysUI Tuner: Status bar work

Improve general status bar goodness, more exactness, less breakage.

Extra extra icons, disabled by default.

Control all the status bar things!

Probably other stuff (10000).

Change-Id: I5d6282a4dcbcefea9f0880042cdf6293cb693712
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
109423039d0993a8487a336fe1d619b287eb00b7 17-Dec-2015 Xiaohui Chen <xiaohuic@google.com> sysui: small refactor and delete dead code

Bug: 26068752
Change-Id: I1af018ff9b74779ea663fc9e90b47a8fad70447e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
6a13e3be66340c8f408f985219450fec30bbea41 15-Jan-2016 Xiyuan Xia <xiyuan@google.com> Merge "Refactoring for better extendability"
1b30f79cffbe9e0c2b974fa3ee48001edcdd6c05 06-Jan-2016 Xiyuan Xia <xiyuan@google.com> Refactoring for better extendability

- 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
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
1c7cda8bbfb848961536a4adbf2c81c5ffddae16 31-Dec-2015 Sudheer Shanka <sudheersai@google.com> Add restricted padlocks to tiles in quick settings.

Change-Id: Ib11a38f8512b811e5713a33055a04a72f1b825f1
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
e6309aa57ee2e33cf1aa0f177948f5b454d8bb12 08-Jan-2016 Winson <winsonc@google.com> Prevent docking via nav bar until user is set up.

- Also prevents docking if screen pinning is currently active.
- Fixes issue where you could go into recents when setting up a
secondary user.

Bug: 26438797
Bug: 26316912
Change-Id: I30576b52842b76184ef0b2252bc572f74a5d6db8
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
c06fbb12984a3d3e4c80ab9f819841acae5b0133 08-Jan-2016 Jason Monk <jmonk@google.com> Move battery saver notification to QS

Remove the battery saver notification and instead create a detail
panel within QS that allows it to be turned on and off.

Change-Id: I54654d26183586fa171fda04877a840701f8ef33
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
37a106a31d1129f058ea59c7a5a0d89198cb4fa0 11-Jan-2016 Xiaohui Chen <xiaohuic@google.com> Merge "sysui: refactor out PanelHolder"
48426d5943b757bc8929b297d77baec881f6e7d0 08-Jan-2016 Victor Chan <victorchan@google.com> Merge "Fix crash in car system ui."
66c89c15a0baabf001e69498dbc09903f72cc63d 06-Jan-2016 Jason Monk <jmonk@google.com> Add API for System QS tiles to set status icons

Allow system apps that have a Quick Settings tile to show a
status bar icon. If the quick settings tile is removed, the
status bar icon will no longer be shown.

Change-Id: I875b962bbdf4ff863012de688a3dd29a8d7e11ab
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
07473cea3a6007d5e72b25d3445437a175735fa9 05-Jan-2016 Jason Monk <jmonk@google.com> Cleanup the status bar flow.

- Don't round trip to the status bar manager to know the state
- Manage the state of icons closer to where they are displayed
- Move StatusBarIconList into SysUI because it isn't used elsewhere now

Change-Id: I99c4c290c18fc776914a43b1cde157f92bb36ac2
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
ecdb8b0e1568ce49277ce7ed77f52b155c4808f4 08-Jan-2016 Victor Chan <victorchan@google.com> Fix crash in car system ui.

Override repositionNavigationBar() in CarStatusBar
and setNavigationIconHints() in CarNavigationBarView
since they are not used for vehicles.

Bug: 26301185
Change-Id: I1995a514301305bfd2eed64d5f43bc92a6658e15
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
9f96711e1adf4a28f961c440da1626ad40c03bc8 07-Jan-2016 Xiaohui Chen <xiaohuic@google.com> sysui: refactor out PanelHolder

PanelHolder seems obsolete for a long time. Now PanelBar contains only
one PanelView. This simplifies the code a bit.

Change-Id: Ic4da5d4ee72ffe4e36fa084371a8cd6fd102a9bd
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
b96b0b6eac589c557eaabd85c9e018c64bab36c2 07-Jan-2016 Rakesh Iyer <rni@google.com> Merge "System UI for auto."
856590695692cfce816e9e3043ee0d0415f47c8c 07-Jan-2016 Adrian Roos <roosa@google.com> Merge "Show back button while RemoteInput is active on keyguard"
9d9294cc680e258d1370ca355f45d449eed2e984 24-Aug-2015 Andrei Stingaceanu <stg@google.com> Keyboard shortcuts: initial view.

Initial view and functionality for showing/hiding it.

Change-Id: I0e365ecc3ba19110b87b020ff53a6318a7304ce8
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
1186faa9055e48904777b1d7876244776bfb3468 08-Dec-2015 Rakesh Iyer <rni@google.com> System UI for auto.

This change adds in the beginnings of System UI for
the automotive use case. We extend the Phone status
and navigation bar and override the parts which are
customized for auto.

The navigation bar itself is built from a resource
array specified in car_arrays.xml to allow of ease
of customization of the shortcuts that are in the
navigation bar.

Bug: 26301185
Change-Id: I780a2ef9dd5ae2a4be9355b5874d08f521a86fa7
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
d28ccd7cab8e1a187dfd6c5733efe7cdfb652202 06-Jan-2016 Adrian Roos <roosa@google.com> Show back button while RemoteInput is active on keyguard

Bug: 22452379
Change-Id: Iea1cdb885698c717b98904453bf14e2bdd7d7562
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
ed150013e31c0245a7b676f4d5a2f7a1a6ee9e7a 05-Jan-2016 Julia Reynolds <juliacr@google.com> Merge "DND visual interruptions: prevent screen on."
d8b1d63f96580fe961e1751e7b4f56c90c1e0a76 05-Jan-2016 Winson <winsonc@google.com> Fixing issue with exit animation due to incorrect visibility state.

- This CL ensures that only Recents updates the SysUI visibility state
for itself, ensuring that the visibility state reflects the state in
Recents, and allows us to skip unnecessary work to close system
dialogs when it is not required.

Bug: 26390248
Change-Id: Ib6301a8300cc3da6da75fcbbceceb0e1da3beab4
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
617215874db9c208a74dc97f4133e6b6fc96271c 05-Jan-2016 Julia Reynolds <juliacr@google.com> DND visual interruptions: prevent screen on.

Bug: 25423508
Change-Id: Ie935a2051e1ae774fbeaf624f3599b2b1bb8666d
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
b88b1a1dbde3364cd92d6a69a41ef2d4e2877294 10-Dec-2015 Adrian Roos <roosa@google.com> Move RemoteInputView inflation to ContentView

Bug: 22452379
Change-Id: Ieed64f7fa0b0bd742ca8a7746e8baf03ca837e1c
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
a9927325eda025504d59bb6594fee8e240d95b01 13-Dec-2015 Jason Monk <jmonk@google.com> Support dnd condition in Settings

- Add way to open QS detail panels directly
- Add internal broadcast that can launch apps when dnd mode changes

Change-Id: If2b6350dc31623f3bf2f64c7eb141cff5d3d4e89
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
fe412b551bcfddabcaf5f4bf3c6c7ce4dd38c72c 12-Dec-2015 Jorim Jaggi <jjaggi@google.com> Merge "Add multi-window entry points logging"
92de6b63819d7af4a93f1e1da33e89d453a0ad65 10-Dec-2015 Jorim Jaggi <jjaggi@google.com> Add multi-window entry points logging

Bug: 26116313
Change-Id: I159ca53857d382cb74ef8e49f7955946ccea93ca
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
72be84fd8c2e3b6760e95a118d50e203c16ec379 11-Dec-2015 Julia Reynolds <juliacr@google.com> Merge "use importance instead of score"
bdf3376616c276ed18a51185351b44fd16eeae29 04-Dec-2015 Chris Wren <cwren@android.com> use importance instead of score

Change-Id: Id3b0a074671943b4fcabb63fe990cbfd1e46bdfd
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
9c4c41461d98edf622f79c0bd4b2a8af8cfa2de8 05-Dec-2015 Selim Cinek <cinek@google.com> Collapsing groups now on the lockscreen

No more expanded weirdness on the lockscreen

Change-Id: Ia2c40741acc19a1d62bca2c61b0260dc52d3e8e1
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
da42d65ea5a0eec7d1eaf48fee19ead419994b16 05-Dec-2015 Selim Cinek <cinek@google.com> Fixed a bug where groups were layouted too small

If the group was a group of custom views it
was layouted too small.

Change-Id: I88778c9a162e6f3012140d1e7864d66f13da2b1d
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
ba2318eff373a729f9768b146350a001dd22e4c5 08-Dec-2015 Jason Monk <jmonk@google.com> Remove visibility from tiles, make them always visible

Some tiles are statically not available on boot, etc.
based on hardware availability or settings, but most
are just always visible.

Change-Id: Ib1a45ef5b029fe710f9957cb997496dcb14f5875
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
213cbe665b1c45112f46c006f8b7db19b0c7663c 03-Dec-2015 Jorim Jaggi <jjaggi@google.com> When dragging from the left side, dock on the right

In landscape, when dragging up from the left side, dock the current
app on the right side.

Change-Id: I3b1229e0d347db6cc1f55272c7d76694417977d0
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
4fa7892f35268ff7d591928ac9f5a26c267031e3 01-Dec-2015 Jorim Jaggi <jjaggi@google.com> Add flag so apps always draw status bar background

So we don't have to implement crazy magic when one app requests
drawing the status bar by itself, and the other doesn't in split
mode.

Bug: 24365214
Change-Id: I1f6a0efd0865b784402055e008da2f31e626f163
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
570981d5f1bcd0e5186cc02655254a0606b6ec14 01-Dec-2015 Selim Cinek <cinek@google.com> Fixed the handling of the expand on the lockscreen

The user can now directly go to the unlockd shade
by doubletapping the expand button.

Change-Id: Id4c3c901eaa29482e7473480feee5701bbdf29af
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
816c8e4735f975f4d8bffa1a5a37be6557424ea3 19-Nov-2015 Selim Cinek <cinek@google.com> Legacy custom views now get properly layed out again

Since the minheight grew, all notifications grew.
Legacy custom notifications need to stay the same
height though.

Change-Id: I469c448014c3d3c31526466d06a60ac44838b274
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
5f71bee3a83fa9465f03dcd1108c038f0339e3c5 18-Nov-2015 Selim Cinek <cinek@google.com> Determining the number of keyguard notifications dynamically

Instead of having a fixed number, we are now calculating the number
dynamically based on the available notifications.
This is necessary since notifications might have different sizes now.

Change-Id: I0cbe9b1c5fd731a89c242202846f42bec3fc57eb
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
177fd4324ab89dc138b3d4c7472623ae9dc8c9d8 18-Nov-2015 Selim Cinek <cinek@google.com> Fixed a bug where the notifications could get scrolled on keyguard

When dragging down due to falsing, the scrollposition could
become modified and never reset again.

Change-Id: I15d24dc8a5a3302faeaf30fb20a81d77dcceb059
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
9ea2f7ba3155a455724f64e2d6a964ad4e99dfa5 24-Nov-2015 Jorim Jaggi <jjaggi@google.com> Add ability to supply initial bounds when docking task

Add an optional parameter in moveTaskToDockedStack to supply an
initial rect to be used when creating the dockeds tack. Pass in
the adjusted rect when dragging up from the navbar so it doesn't
flicker anymore.

Change-Id: Ieb3c8c73b9e2a769a2ec6270bd76a713201a2aed
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
10613a94720f77d9725ec543eda7a0e054ba4b53 23-Nov-2015 Adrian Roos <roosa@google.com> Merge "Visuals for Inline Reply"
fe84e1f436ad14b1f24cdb9b8bf56a9919f25c93 05-Nov-2015 Adrian Roos <roosa@google.com> Visuals for Inline Reply

Change-Id: I374a7ec82795f95fe2f3ce8c9e6b02c1479433af
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
7c149b529595a158b8954f338554a2b0a5f9ad91 20-Nov-2015 Jorim Jaggi <jjaggi@google.com> Merge "Add gesture to drag in recents from navigation bar"
dd98d41e3a65b3bcb37007ea5b29371cf013f563 19-Nov-2015 Jorim Jaggi <jjaggi@google.com> Add gesture to drag in recents from navigation bar

Change-Id: I672ed08f1019835891411b87e2d0de0290defff7
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
bbadff8603ca6922a0ef89338bee5b59d6dcf641 06-Nov-2015 Jason Monk <jmonk@google.com> Add Quick Settings API

It is a little bit limited right now, but it contains
the lifecycle of a tile getting added/removed, and
listening/not listening and clicks.

SysUI side will need some cleanup later on.

Change-Id: I4db803c8a271f8bf44f2ef710517969a84a95cf0
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
f612869ae1190e0885b58a3c33b23d36d7732f06 05-Nov-2015 Julia Reynolds <juliacr@google.com> Allow DND mode to suppress visual interruptions.

Bug: 25423508
Change-Id: Idd8242e4bc00a749dbe0b5503c458375fc017072
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
2d79f634bd2f6195e046fa5d3b755d57813ae581 03-Nov-2015 Selim Cinek <cinek@google.com> Fixed a bug where a notification could get removed

If the following calls were made, the second notification
would disappear even though it should still be around:

1: addNotification(key) (HUN)
2: cancelNotification(key) (<2s after 1.)
3: addNotification(key)

This is now fixed.

Change-Id: Ibe108d60ca92ed076e4f44694a76904fabeee970
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
83bc78338437a460076a4b5778ded38440ac3501 22-Oct-2015 Selim Cinek <cinek@google.com> Changed the appearance of notification bundles

Children now show up as one line notifications even
if the summary is not expanded. The childrenContainer
shows a summary if there are some which don't fit
in there currently.

Bug: 24866646
Change-Id: I0cfae9342722c9f8941f51704618190cfe4e76b4
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
5243c12f49fbe0ab8fe6b3b2be368783cd2b2a7b 21-Oct-2015 Selim Cinek <cinek@google.com> Fixed a bug where a notification could stay userlocked

Moved the responsibility to remove the userlocked flag
into the DragdownHelper instead of the Callback.

Bug: 24866646
Change-Id: Ib0dbe310f9f7637f9bae466b1029728a6611f291
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
38f426c8083e9aedd17449e0cc3ecacddfaaf2ab 28-Oct-2015 Vladislav Kaznacheev <kaznacheev@google.com> Show the app shelf depending on the platform feature

This CL uses PackageManager.
FEATURE_FREEFORM_WINDOW_MANAGEMENT to determine
whether app shelf should be displayed, and removes
config_enableAppShelf flag that was previously used for that.

Bug: 25329519
Change-Id: I6460eca8e158b0e114e8f2cfdfea4a2e5eadd03b
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
75b2597e5826662c1740d6f3b81966a9e6a9e7b4 21-Oct-2015 Jorim Jaggi <jjaggi@google.com> Add long press on recents to dock top most task

- Change the gesture to unpin a locked task into long pressing
the back button.
- When long pressing recents, dock top most task.

Change-Id: I1386151e781f4034cfb97d3c8d46c709d19fe779
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
62692b22fbb6146613635abea225f4049dae4873 12-Sep-2015 Adrian Roos <roosa@google.com> Send next alarm's show intent via PendingIntent

Also send all IntentTile intents via PendingIntent.

Bug: 23909438
Change-Id: I0bb277c8385b7936fbda03cd76f02248c4fc55de
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
c34befb3197d1ef11f15863dc90f5ac675690c84 07-Oct-2015 Jason Monk <jmonk@google.com> Quick prototype of new header

- Has first 4 quick tiles shown in collapsed mode
- Shows date + settings gear in expanded mode
- Still has a few gaps (alarms probably don't work)
- Fix issue with placement of cell data type indicator

Change-Id: I629798b96f4f088fde47c7b67feea304dcc8450c
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
bb71e813774ef11bd186e72dc853972b4948019b 08-Oct-2015 Adrian Roos <roosa@google.com> Merge "Continue inline reply prototype"
1c0ca508b9d6184beba2050e6ab3a44ac5be137a 07-Oct-2015 Adrian Roos <roosa@google.com> Continue inline reply prototype

Adds IME focus management, prevents HUNs with active
RemoteInput from disappearing and fixes a few issues
with adding RemoteInputs from WearableExtenders.

Bug: 22452379
Change-Id: Ie3bd8e5d4635bd1e967afe2b894ad617dbc4ed10
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
0e1101d58ffc86f2515b4f9aba8d9d31f921199b 07-Oct-2015 Jason Monk <jmonk@google.com> Extract out interface for StatusBarHeader

This will allow side by side experimentation with new headers without
breaking everything accidentally.

Change-Id: I9eb4d310f8927c997b83e65dad301f4ab08f618a
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
85f3402d31b0d00dc352ecae92cf2bd078166fcd 30-Sep-2015 Fyodor Kupolov <fkupolov@google.com> Merge "Check multi-user support in isUserSwitcherEnabled"
cd86ebf1c965c191f46b6480145c9d217a7d841e 30-Sep-2015 Fyodor Kupolov <fkupolov@google.com> Check multi-user support in isUserSwitcherEnabled

isUserSwitcherEnabled now returns false if multi-user is disabled(
supportsMultipleUsers() returns false).

Removed GUEST_USER_ENABLED setting and replaced with DPM.getGuestUserDisabled
check. It currently always returns false, but will be replaced with an actual
policy check.

Bug: 17571233
Change-Id: I41853e8b321b2537952cac5d92e88bfdb8cbd9a8
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
abe1974a11364b577e94966ca87047d7889c8edf 29-Sep-2015 Jason Monk <jmonk@google.com> Add more QS tiles

(only for paging prototype)

Change-Id: Ifb09e3262540a486c9ee7e83a904f96cc4e33fec
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
fc832e3ef270d7c271520a99ffa2f84e82f0b855 25-Sep-2015 Jorim Jaggi <jjaggi@google.com> resolved conflicts for c594e935 to master

Change-Id: Ifaf8c6c2b80e5284e027278f5ff0437202439cf0
40aa8811bc817293d7400c14fa60350d2350d29f 23-Sep-2015 Jorim Jaggi <jjaggi@google.com> Deliver camera launch source for analytics

Bug: 24304031
Change-Id: I606bccf4b62b651e17c6e6d9472648deeab703da
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
3e7e3aa8db12596b82d0e5b78ea36de9df82b546 22-Sep-2015 Winson <winsonc@google.com> Removing RecentsCallbacks.

- We can just refer to the PhoneStatusBar directly
for callbacks similar to the screen pinning request.
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
f669b07c8827db7de9383144c0151f84cd6f2947 17-Sep-2015 Blazej Magnowski <johnasselta@google.com> Merge "Add FalsingManager and Classifier to SystemUI"
235cea07c4475f40dd42374517f6f6e52933c513 17-Sep-2015 Jorim Jaggi <jjaggi@google.com> am ae4874c6: am 7de9e3ea: am 09999fb9: am 18f18ae0: Allow camera launch also when device is interactive

* commit 'ae4874c69dd7d6d41f9e0e1c6025e9111cfc64bf':
Allow camera launch also when device is interactive
18f18ae078ee97bbdfc9da39d4a19866dceb6a3e 11-Sep-2015 Jorim Jaggi <jjaggi@google.com> Allow camera launch also when device is interactive

Bug: 23967648
Change-Id: If91df75e6325b3969dc2351a70af0c160d3eab04
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
0e2ffbd48bbedf47deb7f6aed96bd07e2fc96f53 10-Sep-2015 Blazej Magnowski <johnasselta@google.com> Add FalsingManager and Classifier to SystemUI

Adds the possibility to analyze and classify touch and sensor events as
human or false touches.

Change-Id: I5079c02406d532fea38ca2d302e8606effae0696
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
827ca8a49332c865012f4230409629d6f10a02f7 14-Sep-2015 Adrian Roos <roosa@google.com> am 638aad08: am 9902b3bc: am 699a5376: am 6b04e3a6: Merge "Fix light status bar transitions" into mnc-dr-dev

* commit '638aad08a04fd260246f8c0de7598f7262d4ae66':
Fix light status bar transitions
46df1caf3ba22e8afbc75cb008e0e6d89660beb0 11-Sep-2015 Adrian Roos <roosa@google.com> Fix light status bar transitions

Bug: 23971926
Change-Id: Ia3c6fb18d38fb7479028191ad3df8389adb830ec
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
86ef8e2dbc05f027cd86ee6cd6ceb6bd6f1bfd08 09-Sep-2015 Julia Reynolds <juliacr@google.com> Clear active media notification on user switch.

Bug: 23934806
Change-Id: Ib9dad342ee65299e1dbbc1b9dd91f6f8627d705f
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
528e4684920077f3864648fa33c712abf23a333f 11-Sep-2015 Yohei Yukawa <yukawa@google.com> Remove unused content observer from AssistManager.

Since I45e58de5f48e3769f114ff830d62c287d2b04d4f we always look up
Settings.Secure.ASSISTANT just before the assist activity is launched.
Hence we don't need to monitor following runtime data anymore.
- changes of Settings.Secure.ASSISTANT with a content observer
- switches of the current user id

The primary goal of this CL is to make it clearer that we are lazily
resolving the content of Settings.Secure.ASSISTANT by removing
unnecessary code. No user visible behavior change is intended.

Bug: 23097413
Change-Id: I079807db761c5543ba666c427d9b074794becf6e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
965ca42c0e706dc8fdeeb38dd2751de560f198c0 10-Sep-2015 Selim Cinek <cinek@google.com> am 26a11c28: am d428dc4a: am 12fdaf85: am a4fca2c7: Merge "Fixed a racecondition where the camera would not launch" into mnc-dr-dev

* commit '26a11c28563c497625f00fc4fba319de9119ee60':
Fixed a racecondition where the camera would not launch
a4fca2c7255367b96fc8012b0fcb62a71343e1ff 10-Sep-2015 Selim Cinek <cinek@google.com> Merge "Fixed a racecondition where the camera would not launch" into mnc-dr-dev
1b6f819a649d7c05b22ac420fa6fcf4a634600ba 04-Sep-2015 Selim Cinek <cinek@google.com> Fixed a racecondition where the camera would not launch

If the gesture was detected while turning on, the gesture
would not launch.

Bug: 23636271
Change-Id: I166759a55137163be0c3f38fe8d1dc0c18977e11
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
385ba9a51b5a0c6bc76ab1b61d3c195ff627e329 09-Sep-2015 Zhentao Sun <robinvane@google.com> am d6a94f49: am aded82ce: am 6d8bdb50: am 5536d447: Merge "Changed the vibration duration from 1s to 750ms." into mnc-dr-dev

* commit 'd6a94f495a86561a8e5a7f032e8179eae44abcaf':
Changed the vibration duration from 1s to 750ms.
bc303f4c216a67204894a99364909b47188e3297 09-Sep-2015 Jorim Jaggi <jjaggi@google.com> am 6198a703: am 2a198de7: am 975ceef6: am 52429b4a: Cancel animation when hiding Keyguard

* commit '6198a70371ca799b705d7767ac8c710187ab68f8':
Cancel animation when hiding Keyguard
5536d4477572e437c95111630d5c2723350d99a5 09-Sep-2015 Zhentao Sun <robinvane@google.com> Merge "Changed the vibration duration from 1s to 750ms." into mnc-dr-dev
52429b4a8b9be501f52df62e77c3e4bbb5bf0c3f 04-Sep-2015 Jorim Jaggi <jjaggi@google.com> Cancel animation when hiding Keyguard

So we don't end up in a wrong state.

Bug: 23692022
Change-Id: If40eb66499c95b82d86873dbbd6ccc64468373b2
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
e9cb08209f5871a975b476ace9dc769721264e77 09-Sep-2015 Zhentao Sun <robinvane@google.com> Changed the vibration duration from 1s to 750ms.

Fixed b/23727634.

Change-Id: Ie03b26f7b8faee8d61d772041351729995f7088c
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
efc55f33a86c778190c340c89fe24969340a5678 03-Sep-2015 Selim Cinek <cinek@google.com> am 63210491: am 260ae8e5: am 3e64c75f: am 146dc265: am 9a2d5742: Merge "Fixed when the notification effects are being cleared" into mnc-dev

* commit '63210491b8a167f5cc1208c52b1369a69bcc3d84':
Fixed when the notification effects are being cleared
146dc26511a9a1b82bf62d679b9cae6e8966241f 02-Sep-2015 Selim Cinek <cinek@google.com> am 9a2d5742: Merge "Fixed when the notification effects are being cleared" into mnc-dev

* commit '9a2d5742bd11c2a7a583d53b1ef1ad12d75e239e':
Fixed when the notification effects are being cleared
6a87aed346563980ac29f441125ab0073086f363 01-Sep-2015 Zhentao Sun <robinvane@google.com> am eaed8313: am 0a247995: am aa06c808: am 363c694a: Merge "Don\'t launch the camera if it already in foreground." into mnc-dr-dev

* commit 'eaed83137cd06312f96b2fc5c22de4c1e94e39ca':
Don't launch the camera if it already in foreground.
6577cae4960c51e591d94c69e3747f0b1c6a36f4 01-Sep-2015 Selim Cinek <cinek@google.com> Fixed when the notification effects are being cleared

Previously the notification effects were not correctly cleared in certain
cases and the user could end up in a state where the notification light would
always blink.

Bug: 22931139
Change-Id: I9a71e56cf4479354a9d773b5b6f0edd7693f2b05
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
04f974082e4faca48409c84aa12ed96baf47b4b5 27-Aug-2015 Zhentao Sun <robinvane@google.com> Don't launch the camera if it already in foreground.

b/23431496. This change will not launch the Intent if the target app of
this Intent is already running in the foreground.

Change-Id: Ic8c99cf3312a2ead12dbdb94825181aed934e9f0
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
b81b62515c6078ee762013c03823b5fc7dd61cd6 26-Aug-2015 Selim Cinek <cinek@google.com> am 4c367b1f: am 75713dd5: am 9b4b427a: am e67268e6: Merge "Migrate camera vibration to the systemUI" into mnc-dr-dev

* commit '4c367b1f8f99e84e3baed3cce13b1f56b0b69c10':
Migrate camera vibration to the systemUI
143c93d49f7f9691ad37b8b036731b76f2171241 26-Aug-2015 Selim Cinek <cinek@google.com> resolved conflicts for merge of f1935575 to master

Change-Id: Ic18619bd5a81ae5172eef41bda0f8e473b6bda3f
e67268e66d5507832fa0c53dc7e08a72662610bc 26-Aug-2015 Selim Cinek <cinek@google.com> Merge "Migrate camera vibration to the systemUI" into mnc-dr-dev
a07177f0ad362ab3e03029cf774e55579ea025cf 26-Aug-2015 Selim Cinek <cinek@google.com> Merge "Launching the camera now from systemUI including animations" into mnc-dr-dev
69ff8afceea53851f339bd1dd755ed6f8915692c 26-Aug-2015 Selim Cinek <cinek@google.com> Migrate camera vibration to the systemUI

Also make sure the device is awake before vibrating.

Bug: 23200352
Change-Id: I63d04a82a4b8d9fa3e8f9deff5dd71295c82c930
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
372d1bdd54fe977c71bdaae895687c76ac35202a 14-Aug-2015 Selim Cinek <cinek@google.com> Launching the camera now from systemUI including animations

The GestureLaunchService now informs systemUI that a launch
has been requested and the systemUI, depending on its state
will launch the Camera in the correct mode, including
animations.

Bug: 22957192
Bug: 22958025
Change-Id: I815437c8bd33638245ac61a750f64af74fe3e1e3
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
95d16bffbf9930ad3373a1f4e06702a636c9d49e 25-Aug-2015 Jorim Jaggi <jjaggi@google.com> resolved conflicts for merge of 7dea1b3b to master

Change-Id: I51acda15b42952cda1838d7124fc991d367f0693
d94d3a2aa5cd1f177f61f73733217c952e356c43 22-Aug-2015 Jorim Jaggi <jjaggi@google.com> Fix issues with light status bar and fp wake-and-unlock

- When wake-and-unlocking, make sure to skip the light status bar
transition.
- Fix race condition with window manager when unlocking when device
is interactive for supplying the timings for the light status bar
transition.
- Fix media artwork when wake-and-unlocking while pulsing.

Bug: 23365544
Change-Id: I209ca1e6684811f5f313354ca1614a0ebd49388c
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
c3866bf81f70c91e2af942554eaf9b9c8e5fc078 22-Aug-2015 Blazej Magnowski <johnasselta@google.com> Merge "System to track touch and sensor events before unlocking the phone"
4b27011c6dbde7420f39b61c94960c21314a6dc2 22-Aug-2015 Jorim Jaggi <jjaggi@google.com> am ab023c90: am a1415360: am 2021956a: am ab45a217: Make wake-and-unlock faster

* commit 'ab023c901598ffb478a78550874cb692217a82a8':
Make wake-and-unlock faster
ab45a217b0002dcf586d529ab8581cacbbfc37e9 21-Aug-2015 Jorim Jaggi <jjaggi@google.com> Make wake-and-unlock faster

- Scrims: When dismissing Keyguard, don't wait until the next frame
to start the animation. Saves 16ms
- Scrims: Skip first frame, because it's completely black anyways.
Saves 16ms.
- Don't wait with navigation bar to show until the screen has turned
on. Window manager is blocked on DisplayPowerController anyways, so
the animation will exactly be started when the screen turns on. Fixes
some jank as well.
- Window manager: Don't wait for the window below Keyguard for draw
completion until turning on screen. Saves a lot of time depending on
how the app is behaving.

Bug: 23401557
Change-Id: I9734f9a12143f0e3c0647e9aa066831a29a6de63
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
7232332dc963c2ce55dda1a3a0367080d5494503 24-Jul-2015 Blazej Magnowski <johnasselta@google.com> System to track touch and sensor events before unlocking the phone

Added a new component which tracks touch and sensor events and
also events like showing the bouncer tapping a notification and
others. The collection is enabled when the screen is turned on and
is disabled after the phone is unlocked. The data is saved in a
protobuf file in internal storage in a directory called
"good_touches". There is also an option to collect events which
end with the screen turning off. These are saved in the
"bad_touches" file. Everything is hidden behind the
ENABLE_ANALYTICS flag which is set by default to false and can be
turned on only if Build.IS_DEBUGGABLE is true. Also
behind the ENFORCE_BOUNCER flag the class shows the bouncer before
expanding a notification, showing quick settings or launching an
affordance from one of the bottom corners.

Change-Id: Iaeae0fb7a0d9c707daf7a270201fa5b1cd84c74a
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
0eb6586beff3974361257e22ca421ba5fb25b19b 20-Aug-2015 Jorim Jaggi <jjaggi@google.com> am a0d57270: am e46b5b48: am a2737bee: am 1fa7384a: Merge changes Ie8264c4d,Ic83ac0f1 into mnc-dr-dev

* commit 'a0d5727078bdb47f19613b9c73e5d973281609f5':
Fix jank in wake-and-unlock while pulsing
Don't call authenticate immediately after getting valid fingerprint
1fa7384a101450c4619ed43e176d5a54aa0a54f3 20-Aug-2015 Jorim Jaggi <jjaggi@google.com> Merge changes Ie8264c4d,Ic83ac0f1 into mnc-dr-dev

* changes:
Fix jank in wake-and-unlock while pulsing
Don't call authenticate immediately after getting valid fingerprint
662b33fcffe1aec53ef313fd6e62f998c489b926 20-Aug-2015 Jorim Jaggi <jjaggi@google.com> am 6b0f0dd6: am 66d7cdcd: am df5ca90e: am 37c11800: Don\'t animate in the navigation bar when going to full shade

* commit '6b0f0dd60b7987085543abca519108a057af552d':
Don't animate in the navigation bar when going to full shade
37c11800600bae4f5fe0d4a1df9a8e7e91475574 19-Aug-2015 Jorim Jaggi <jjaggi@google.com> Don't animate in the navigation bar when going to full shade

Fixes some jank.

Bug: 22537253
Change-Id: Ia816fea6274e38cc2b18e2f28008b3a8341d37f7
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
909788500bbe54b14017be3c1f2b4fee7945c63d 19-Aug-2015 Jorim Jaggi <jjaggi@google.com> Fix jank in wake-and-unlock while pulsing

- Don't hide keyguard after the animation is done, because this
would cause a measure in the middle of the fade animation.
- Don't use a layer for the notification panel in this case - we
don't need it and it only adds latency.
- Speed up the whole thing a bit because the animation is now
smoother.

Bug: 23225107
Change-Id: Ie8264c4d0e62bd6a78227e04b9900b4348ddd649
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
0772bfd2069e4776dab3dcdbe2a60241873fcca9 19-Aug-2015 Jorim Jaggi <jjaggi@google.com> "resolved conflicts for merge of caacc8ba to master"

Change-Id: I7904ac66ded45c3173af14d2940dc8210088e387
f0c28807a07207a94e3a00178926c2e558987375 19-Aug-2015 Jorim Jaggi <jjaggi@google.com> am 72964a37: am 1dc1c93b: am caa6cb3a: am 394686ef: Merge "Fix race condition for doze mode and wake-and-unlocking" into mnc-dr-dev

* commit '72964a37e090b17d8dabb05cc7f779237a5f3572':
Fix race condition for doze mode and wake-and-unlocking
83eb6bb5d83d3994a3750b566a2109a049ab1388 18-Aug-2015 Jorim Jaggi <jjaggi@google.com> Improve motion for wake-and-unlocking while pulsing

- Move all fingerprint related to logic in on central class in
SystemUI that knows all the state of the UI so there is exactly ONE
place in which we decide what to do when we acquire a fingerprint.
- When pulsing and we get a valid finger, we fade the contents of the
Keyguard out and fade the scrim out almost the same way as we would do
in a normal wake-and-unlock sequence.
- Hide shadows while dozing, so we don't see the artifacts when we fade
the dozed Keyguard out.

Bug: 23225107
Change-Id: I82f78e61f2530cf7d507ade80f6f0a340c082567
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
007f0e8f207d3d6d2f47d725b72459edf317cce9 14-Aug-2015 Jorim Jaggi <jjaggi@google.com> Fix race condition for doze mode and wake-and-unlocking

When pulse was about to turn on and at the same time we were starting
a wake-and-unlock sequence, there was jank because the scrim handling
was not correct anymore. Now, abort the pulse when we are wake-and-
unlocking so we don't see flickering with the scrims anymore.

Bug: 23217476
Change-Id: I331f513b68fb1832b4372d3e2e518b31b556a43c
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
cc3a74f6ef13ca9a783845e7a04ca6561035c98b 22-Jul-2015 Xiyuan Xia <xiyuan@google.com> Add full screen user switcher to lock screen

- Add a FULLSCREEN_USER_SWITCHER status bar state;
- Switch to this state when lock screen is shown and fullscreen
user switcher is enabled;
- Add a build config and a test boolean system setting to enable
fullscreen switcher;
- Placeholder GridView UI for fullscreen user switcher;

Bug:19908596
Change-Id: Ief1bc987532522245f4172beca19053d34004cee
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
23999bffafb1de67dc03141b0214aa5f2919ebc8 14-Aug-2015 Jorim Jaggi <jjaggi@google.com> am 05b9dc9f: am c74a43bb: am 4fb3e9b3: am 50ff3afb: Start pulse fading exactly when screen is turned on

* commit '05b9dc9fb5ed4b41a5eb44335dd8307171e771ba':
Start pulse fading exactly when screen is turned on
50ff3afb01f2ac4a93dba418a71d54ad8adeba9d 13-Aug-2015 Jorim Jaggi <jjaggi@google.com> Start pulse fading exactly when screen is turned on

Bug: 23163299
Change-Id: I0f6d5dbfa02e455292e06a4f8f69ab68e9da2b6b
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
a393249c3d3d7efad844affade9287202d81e841 14-Aug-2015 Jorim Jaggi <jjaggi@google.com> am a5d38f87: am bafc9eeb: am 7453a0aa: am 587488e0: am 81eeef58: Merge "Update time when turning on screen, in addition to waking up" into mnc-dev

* commit 'a5d38f8782a4fdfeed3c762d775ab470639c056e':
Update time when turning on screen, in addition to waking up
587488e027c41394dc6a1f2248c4dbe8d3530b69 14-Aug-2015 Jorim Jaggi <jjaggi@google.com> am 81eeef58: Merge "Update time when turning on screen, in addition to waking up" into mnc-dev

* commit '81eeef589386483722c21572d9ab6d3f95dd26be':
Update time when turning on screen, in addition to waking up
9373911d41c133fce80b8ecf6e688204f2c667e7 14-Aug-2015 Jorim Jaggi <jjaggi@google.com> Update time when turning on screen, in addition to waking up

When in ambient display mode, we didn't get a callback to
onStartedWakingUp, thus the time was never refreshed. Since
broadcasts are disabled in this low-power state, we need to refresh
the clock manually before turning on the screen, because we can't
rely on the broadcasts to be delivered.

Bug: 23171638
Change-Id: I249f4195a14995f7c1467e73ac2aa400b871f80e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
1ca500cfc2b2a0a7772fbf54985cdf283a4e906c 12-Aug-2015 Selim Cinek <cinek@google.com> am 7f07068d: am 8d97651d: am 13c9828f: am c40d6799: Merge "Indicating fingerprint error messages on the bouncer now" into mnc-dr-dev

* commit '7f07068df990e88e993e44d58d5c5d4acfbc7171':
Indicating fingerprint error messages on the bouncer now
cfafe4ea6ff1610c24d94a9a9ecc7df6b841518c 11-Aug-2015 Selim Cinek <cinek@google.com> Indicating fingerprint error messages on the bouncer now

Also ensure that error messages are surfaced when the screen
comes on such that the user knows why his fingerprint is not
working.

Bug: 22035466
Bug: 22524101
Change-Id: I00b0e833cdb8a3475545ba75b8cb7bf7a419dfd4
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
6fc6195f9d2c58fd1179f2edd447236e53b6bb11 07-Aug-2015 Jason Monk <jmonk@google.com> am ebf94393: am 2ba9fc1b: am e810b397: am 49541edb: am 77566dd1: Merge "Use BluetoothController for status bar icon status" into mnc-dev

* commit 'ebf94393221f9ae936b2c1d4ce9c6e0d45eb5b8d':
Use BluetoothController for status bar icon status
77566dd1e15353eb062503767c6e4a354303fd09 07-Aug-2015 Jason Monk <jmonk@google.com> Merge "Use BluetoothController for status bar icon status" into mnc-dev
7036436014f6fcc6d586c77d93c21c9fb8b0ac51 06-Aug-2015 Jason Monk <jmonk@google.com> Use BluetoothController for status bar icon status

Bug: 22819904
Change-Id: I6ca11c57431f8e930a47144090158363175a3b99
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
a28587169964cc9111c04cff3c3741dca4e00243 06-Aug-2015 Chris Wren <cwren@android.com> am 212157e3: am fd18fc86: am 8a38babb: am 062130d9: am 93f3fc87: Merge "add metrics to assistant" into mnc-dev

* commit '212157e3cdbf4d685927fe8bfc2e5c99bcb8f390':
add metrics to assistant
a35c96eb90f3be5980797b160da3780f2b8f35e6 06-Aug-2015 Chris Wren <cwren@android.com> add metrics to assistant

long press
screenshot enabled
context enabled

Bug: 22949579
Change-Id: Iac178207fa7149cda03c9a817a0d1450e46e1c59
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
e1d440be81e518450c0c013711926f570b928738 29-Jul-2015 Jorim Jaggi <jjaggi@google.com> am 7580672f: am ce58fa95: am fed9b281: am 353fe1c6: am 0d210f63: Animation for touch, wake and unlock

* commit '7580672fa8455dccc78806dcd878a5e191a62a45':
Animation for touch, wake and unlock
0d210f6395072db4a4c53d4cb8fac4a59a3965b4 10-Jul-2015 Jorim Jaggi <jjaggi@google.com> Animation for touch, wake and unlock

- Add callback to inform SysUI when the screen has been unblocked
and turned on.
- Cleanup inconsistent messaging about device interactive/screen on
and off.
- Add callbacks to inform SysUI about screen states
- Implement a quick fade for the scrim after touch, wake, and unlock.
First, start with a black scrim on top of everything, and then fade
it out.
- Make sure we play the normal unlock animation when device is pulsing
- Override navigation bar animations for touch, wake and unlock: Fade
in the same manner as the scrim.

Bug: 22571198
Bug: 21855614
Change-Id: I8ff08d72cced1e0f03c78d71ff710d8a4f6b848c
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
78e72fde59292861aac362c9aa1dc3e5752322dd 28-Jul-2015 Jorim Jaggi <jjaggi@google.com> am b33a12e4: am 0e3e286c: am c925e4d6: am 7d07aff8: am 965bab2b: Merge "Allow assist gesture when notification shade is expanded" into mnc-dev

* commit 'b33a12e46d916c35575c6528f461eb6b7a11ee9a':
Allow assist gesture when notification shade is expanded
965bab2bae4198deaa929c8f36e44c561fb2c72c 28-Jul-2015 Jorim Jaggi <jjaggi@google.com> Merge "Allow assist gesture when notification shade is expanded" into mnc-dev
80996bbf40ff192117c391074ed2f9b2cde4e69a 25-Jul-2015 Adrian Roos <roosa@google.com> resolved conflicts for merge of d4352533 to master

Change-Id: I2b9b39a76fdda1e470cba3634ed9986e658d9810
4629f1c58c00480b0dbd5a541a26b703b0770bf4 24-Jul-2015 Adrian Roos <roosa@google.com> Merge "Fix janky add guest transition" into mnc-dev
18976a51955c897f402b86bd00111a9fc5e958cb 24-Jul-2015 Jorim Jaggi <jjaggi@google.com> Allow assist gesture when notification shade is expanded

Bug: 22669852
Change-Id: Icf7cf981ca9b6cd5547b62fb4ae97f13f1033395
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
7ca1844cbbce38047ece9d2c703ac94404be7129 24-Jul-2015 Julia Reynolds <juliacr@google.com> am f6a39adb: am e0afde9c: am ff42cce4: am e00ab550: am ea00f320: Merge "Prevent lockscreen album art from flickering on metadata change." into mnc-dev

* commit 'f6a39adb1d5701693176adea4d75a61047f77fbb':
Prevent lockscreen album art from flickering on metadata change.
ea00f320ee9caad53d63a3eaaee2d4733c9dca50 24-Jul-2015 Julia Reynolds <juliacr@google.com> Merge "Prevent lockscreen album art from flickering on metadata change." into mnc-dev
9ac7e69eb8974b20d46ca10bd0b412686491822e 24-Jul-2015 Adrian Roos <roosa@google.com> am 86a87d27: am d30691e5: am caf526ef: am 9e289b05: am 0063e0bc: Merge "Disable Keyguard affordances before setup is completed" into mnc-dev

* commit '86a87d27a07aaa6991ed95a33835ae32943f04b0':
Disable Keyguard affordances before setup is completed
a91a49bde215be0d43394c8015be42f1506459b0 24-Jul-2015 Julia Reynolds <juliacr@google.com> am cf533d1c: am 969bc9f7: am 0aea721d: am 9bef274c: am c2df1ab4: Merge "Set \'the\' media notification to the notification actually playing." into mnc-dev

* commit 'cf533d1cf75de224652e236546b4c78c89a7e1ae':
Set 'the' media notification to the notification actually playing.
155fe990a78efba17bcff7f74b0441f110f74be8 24-Jul-2015 Adrian Roos <roosa@google.com> am b6527cd6: am 32e8de05: am 81c6a311: am 6857305f: am 7748ea5f: Merge "Protect demo mode commands with permission" into mnc-dev

* commit 'b6527cd6e85282f5fe93b0d898cc691437845e1d':
Protect demo mode commands with permission
180dff0baecb7c5bf6aabff5dea2c9282004541b 24-Jul-2015 Jason Monk <jmonk@google.com> am bb8b0368: am dea13a96: am c063146f: am 72548325: am 4fc1b707: Merge changes from topic \'TunerLoc\' into mnc-dev

* commit 'bb8b0368c5b4ddf5cbf3cb5c0c9bbe9027bc617b':
Add metrics to tuner
Move tuner enable point to QS
0063e0bcd55d1ed3b6c37c6616c0c858e0784a07 24-Jul-2015 Adrian Roos <roosa@google.com> Merge "Disable Keyguard affordances before setup is completed" into mnc-dev
b734e4a84b246382913711e68662e55c65da3a93 24-Jul-2015 Jason Monk <jmonk@google.com> am d621727d: am 76d79fb0: am f91bc870: am 67091f46: am a910a04b: Merge "Fix crash in NetworkControllerImpl" into mnc-dev

* commit 'd621727d0b785a69dda64ff6f87f52b3aea6014e':
Fix crash in NetworkControllerImpl
ffbc117229bcd856cabf309c2623f1dba7816d38 24-Jul-2015 Jorim Jaggi <jjaggi@google.com> am f30c5f56: am 93a25f77: am fba92611: am fcf9acb9: am 20df6234: Merge "Add callback to voice interaction session for lockscreen shown" into mnc-dev

* commit 'f30c5f56187fed6452d557a44df8b63d8eb130a2':
Add callback to voice interaction session for lockscreen shown
c2df1ab48d4d12fc0e1f68fe6b5cc505e681b9f4 23-Jul-2015 Julia Reynolds <juliacr@google.com> Merge "Set 'the' media notification to the notification actually playing." into mnc-dev
a4eba9fc35165dc3391fb1b9580341bba7928277 23-Jul-2015 Adrian Roos <roosa@google.com> Disable Keyguard affordances before setup is completed

Bug: 22665279
Change-Id: I5d3c62a5b6896b808d55026df67022192f0b8bfd
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
88b1193ea2880683a6a3fdf9a5a397370a166680 22-Jul-2015 Adrian Roos <roosa@google.com> Fix janky add guest transition

Delay updating the user switcher until the
switch is complete, so we aren't showing
an intermediate state while the screen is
frozen.

Also pokes the UserInfoController to update
the user avatar while the screen is still frozen
so it is ready by thawing time.

Bug: 22557684
Change-Id: I020b8c1ad42c03ab9162ed384ecfe54ed12f998d
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
7748ea5fcd0fc32eeae1475e1871835a5aa39a5a 23-Jul-2015 Adrian Roos <roosa@google.com> Merge "Protect demo mode commands with permission" into mnc-dev
4b9658ae9f183811fc7aa851a33f8fc04065dcd1 22-Jul-2015 Julia Reynolds <juliacr@google.com> Prevent lockscreen album art from flickering on metadata change.

Bug: 22626989
Change-Id: Ie3030e570902bf985f02549839eebff4c8a8849b
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
431ad737a4752e9325894211c28bb0f0f97c00a7 16-Jul-2015 Jason Monk <jmonk@google.com> Move tuner enable point to QS

Long clicking on settings gear in QS causes it to accelarate and
spin, when released it will open and enable the tuner. On first
opening there will be a warning dialog.

Also add way to disable tuner from tuner screen. This way it can
be removed from its former home in Developer Settings. All tuner
settings are reset when disabled to match developer settings
behavior.

Bug: 22462605
Change-Id: Ie700a6a15e6c3caccf7cd1885da73328e6fac6ab
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
d30e42da053f8f79a094a19d5f143a57a89f70c9 20-Jul-2015 Julia Reynolds <juliacr@google.com> Set 'the' media notification to the notification actually playing.

Bug: 21554784
Change-Id: Ie6d4e48506805b1d5d45e7e942a259e8268916c1
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
a910a04b8a079a01d684266875eb18c318012de4 22-Jul-2015 Jason Monk <jmonk@google.com> Merge "Fix crash in NetworkControllerImpl" into mnc-dev
20df62345910ad390a3bb321990987757db0831d 22-Jul-2015 Jorim Jaggi <jjaggi@google.com> Merge "Add callback to voice interaction session for lockscreen shown" into mnc-dev
19695d97118d74aa7f54ba09b178e65378825cc0 21-Jul-2015 Jorim Jaggi <jjaggi@google.com> Add callback to voice interaction session for lockscreen shown

Bug: 22402726
Change-Id: Iaf83e2f2b0389d74b6ecf480aa91a34443803f7b
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
68bb2033620931f3ec6ca8e964900bef6d43a5b3 21-Jul-2015 Jason Monk <jmonk@google.com> am 3bb80cd1: am 85670df0: am eeeb45a7: am 47b9d250: am 33c619bb: Merge "Fix hotspot brokenness" into mnc-dev

* commit '3bb80cd19569eb31021eb975091a0d776998e25b':
Fix hotspot brokenness
740452e8756cb7f51ed185c3906a5ca61b8fcdd4 09-Jul-2015 Jorim Jaggi <jjaggi@google.com> Touch, wake and unlock

- Add onFingerprintAcquired, so Keyguard can grab a wakelock to prevent
the device from sleeping.
- If we get a successful fingerprint, wake the device up, immediately
dismiss the keyguard and tell PWM that we kicked off our frame that
will represent the correct state.
- PWM then waits for this frame to be drawn, and then turns on the
screen, which results in unlocking directly to the previsouly
opened app.

Bug: 21855614
Change-Id: I5f43df17fa5e4e9c6a6392eef4a4590b07df4f96
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
47b9d250220f7eaaef7465367fd6ff0d2c86f4e1 20-Jul-2015 Jason Monk <jmonk@google.com> am 33c619bb: Merge "Fix hotspot brokenness" into mnc-dev

* commit '33c619bb52c9e3e62b7243c9b1d9a75189885427':
Fix hotspot brokenness
dd5bdc6a781662e7031b11ea5158b854e32b0e0d 20-Jul-2015 Jason Monk <jmonk@google.com> Fix hotspot brokenness

- Only get state from broadcast to not get out of sync with Settings
- Actually set the state when there isn't a boolean in the refresh
object
- Remove unused things

Bug: 22573156
Change-Id: Ibfb4966c99ba85f83701695c38275ba217854b22
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
1c040dbee62676226349b67d528b3d384c5ecfad 20-Jul-2015 Jason Monk <jmonk@google.com> Fix crash in NetworkControllerImpl

Happened due to multiple entry points of configuration changes
running on different threads.

- Remove the unneeded listening for configuration broadcasts
- Make the handling for configuration changes happen on the right
thread
- Happen to fix the tests :)

Bug: 22560859
Change-Id: I194b4fa233f0a8a33c4ac3252ddec70a93822337
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
b76ed66d4372777c3610da0ee994c991c5548d34 17-Jul-2015 Julia Reynolds <juliacr@google.com> am 35d586c1: am a76265a4: am 46a088e4: am e0746d32: am 3368e69e: Merge "Remove focusablilty of the status bar." into mnc-dev

* commit '35d586c172a91fa7c64be36f696dff74e5555a3e':
Remove focusablilty of the status bar.
e0746d32306ff20d864b465ff1d6cd249daedb9d 17-Jul-2015 Julia Reynolds <juliacr@google.com> am 3368e69e: Merge "Remove focusablilty of the status bar." into mnc-dev

* commit '3368e69e9d7302ffb475a4ddd12bbb9ea8365a8d':
Remove focusablilty of the status bar.
3368e69e9d7302ffb475a4ddd12bbb9ea8365a8d 17-Jul-2015 Julia Reynolds <juliacr@google.com> Merge "Remove focusablilty of the status bar." into mnc-dev
6819b9a85c5de6a115bb0d247e811095b1d46146 16-Jul-2015 Julia Reynolds <juliacr@google.com> Remove focusablilty of the status bar.

This allows TTS readers to announce individual items in
the status bar separately.

Bug: 20536376
Change-Id: I88d9e2b72182814bf8906951b97871ddc697c5e0
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
8e3e83639b04ee3317ce5af7da991fc1afcda48a 17-Jul-2015 Adrian Roos <roosa@google.com> Protect demo mode commands with permission

Bug: 22542269
Change-Id: I828942723c0e4030127915fdce3000ad5f3b7a99
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
e19506c500705e2d5c41bbd91582121bc48c6084 17-Jul-2015 Selim Cinek <cinek@google.com> am 2aaf06a4: am d8a090e7: am 4b385459: am 2a10ff08: am 60e15dae: Merge "Fixed a bug where a fingerprint animation was not running" into mnc-dev

* commit '2aaf06a4c769a62cc4aeef09cee3806e73ad3fca':
Fixed a bug where a fingerprint animation was not running
2a10ff0893ea642316af983b8a0c39b749020c25 17-Jul-2015 Selim Cinek <cinek@google.com> am 60e15dae: Merge "Fixed a bug where a fingerprint animation was not running" into mnc-dev

* commit '60e15dae5aac3ea7529c13981ad339a8312e2fb2':
Fixed a bug where a fingerprint animation was not running
60e15dae5aac3ea7529c13981ad339a8312e2fb2 17-Jul-2015 Selim Cinek <cinek@google.com> Merge "Fixed a bug where a fingerprint animation was not running" into mnc-dev
e8bae6288bf0f241f0cea70f2c5e8294f930d4d8 15-Jul-2015 Selim Cinek <cinek@google.com> Fixed a bug where a fingerprint animation was not running

Previously the fingerprint animation would not run
when we successfully unlocked with the fingerprint,
because we were checking for the wrong state.

Bug: 22483380
Change-Id: I8d3ec303a43323431b8866df29ddd6d668edc1ed
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
aa1a35ba277019827aca33014f1e09d01831fc7d 16-Jul-2015 Jim Miller <jaggies@google.com> am 2e56339a: am bcedcde8: am 204c2de8: am c7b0435c: resolved conflicts for merge of 1d4247c4 to mnc-dr-dev

* commit '2e56339a4a1133e9aface1c851f1ab67cff72109':
Improve tracking of screen on reasons.
c7b0435cc709c328da8e2b515ea04c8bc40d1094 15-Jul-2015 Jim Miller <jaggies@google.com> resolved conflicts for merge of 1d4247c4 to mnc-dr-dev

Change-Id: I057c529dcd5d48e0dcf256a9d096c5d8b815892a
280a64e793d081847c5dcea23ed9be38aa5332d2 13-Jul-2015 Dianne Hackborn <hackbod@google.com> Improve tracking of screen on reasons.

- New screen on app op to record the last time each app has
caused the screen to be turned on.
- New battery stats event that tells us the reason the screen
has been asked to turn on.
- Propagate out power manager API to specify the reason a caller
is asking to have the screen turned on.

Note that currently the window flag to turn the screen on bypasses
much of this because it is being handled in the window manager by
just directly telling the power manager to turn the screen on. To
make this better we need a new API where it can specify who it is
calling the API for.

Change-Id: I667e56cb1f80508d054da004db667efbcc22e971
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
8d3fea15b80ac4fab7abe7a7a07c6368166de5e1 10-Jul-2015 Oren Blasberg <orenb@google.com> Smoothly animate notification pane if opened via keyboard.

Animation would be slow and then 'jump' to the finished state if opened
with Meta-n. This was caused by the panel view calculating the height of
the notification shade based on a pre-expansion value.

The fix uses instantExpand instead of expand (which we no longer need);
the former sets up proper state such that the height of the window is
properly determined prior to the fling height being determined. We just
add an animate option to instantExpand so we can reliably animate open
from a closed starting state.

Bug: 22359801

Change-Id: I8a3a96041a65299ca985010d43bd4aa12827c8fa
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
b2103469d6d380fb7f36a9b52817563e0ade5e2e 15-Jul-2015 Jorim Jaggi <jjaggi@google.com> am b4d4cc9d: am c98e7fa3: am 07e3cbc3: am 4cfdcf5b: Touch, wake and unlock

* commit 'b4d4cc9d5c9e14fc3e830849d64a89f69dd10ddc':
Touch, wake and unlock
4cfdcf5b0551e5656ea379c428e78b812c2e5cbe 09-Jul-2015 Jorim Jaggi <jjaggi@google.com> Touch, wake and unlock

- Add onFingerprintAcquired, so Keyguard can grab a wakelock to prevent
the device from sleeping.
- If we get a successful fingerprint, wake the device up, immediately
dismiss the keyguard and tell PWM that we kicked off our frame that
will represent the correct state.
- PWM then waits for this frame to be drawn, and then turns on the
screen, which results in unlocking directly to the previsouly
opened app.

Bug: 21855614
Change-Id: I0c43bcc9d334b509632704fb0c123ab3351edff2
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
03ce0620928ad44c89710fec6e171010218f6b90 14-Jul-2015 Selim Cinek <cinek@google.com> am d1f52384: am b128187c: am 9a08a4ac: am 92c27550: am f5adce87: Merge "Removed logging for the empty keyguard" into mnc-dev

* commit 'd1f523840b0795ea57a4569aa9ad5e0adfdf1af3':
Removed logging for the empty keyguard
f5adce87581bd3b7e8fd2846a85dbbf8c0dca939 14-Jul-2015 Selim Cinek <cinek@google.com> Merge "Removed logging for the empty keyguard" into mnc-dev
cf5fb9c118ab7d5d13054e114152c0efbacacacf 14-Jul-2015 Jason Monk <jmonk@google.com> am 2d68efc7: am 5c4fcbbb: am 17cfb5ec: am af5b992c: am 9c2182e1: Merge "Add a dumpsys for KeyguardUpdateMonitor" into mnc-dev

* commit '2d68efc77bb51be726b3c31d8640faaf0c819f04':
Add a dumpsys for KeyguardUpdateMonitor
c9cbbf43bfefea75f2bad7258afb39328c171b98 14-Jul-2015 Amith Yamasani <yamasani@google.com> am 09303a48: am ff61f431: am 2ae3ff2d: am 8117c2f8: am 5449ee07: Merge "Avoid IPC call with an empty array" into mnc-dev

* commit '09303a48b7e22ce54f1ea5eb03abcc18afa1d365':
Avoid IPC call with an empty array
6198144f9c44864d598f73fd0afaeaa93c4e051e 14-Jul-2015 Adrian Roos <roosa@google.com> am e552f0a9: am 60e293cf: am 63d58c0a: am dc445a11: am d374c20f: Merge "Fix flash of uninitialized surface" into mnc-dev

* commit 'e552f0a903c0e2de3437320e0fb22e4205ec6146':
Fix flash of uninitialized surface
7025f26a99483d333cd8e4df0b919c3b9e9334b3 14-Jul-2015 Selim Cinek <cinek@google.com> Removed logging for the empty keyguard

Only logging the states in the bugreport now.

Bug: 21701756
Change-Id: I8252583300d0162b878dd217c8098c1d6b970ea4
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
ab5252726211069daf558d40da75e544c341c63b 13-Jul-2015 Jason Monk <jmonk@google.com> Add a dumpsys for KeyguardUpdateMonitor

Include the info used when determining carrier text display.

Bug: 22212693
Change-Id: I12f01683c259ff11c7f27eec5d03d53f0b290d0b
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
5449ee078620255ce9bea60c0a4dbece36e6acf9 11-Jul-2015 Amith Yamasani <yamasani@google.com> Merge "Avoid IPC call with an empty array" into mnc-dev
d374c20fc9269913d19666f0994268ed457e0d42 11-Jul-2015 Adrian Roos <roosa@google.com> Merge "Fix flash of uninitialized surface" into mnc-dev
18a0b9e041a2489d9ebf2339c80fbdb4495b03f6 11-Jul-2015 Adrian Roos <roosa@google.com> Fix flash of uninitialized surface

Fixes a bug where during the animation of
the backdrop uninitialized memory was showing
because the backdrop's alpha was zero, so RenderNode
didn't issue any drawing commands.

Bug: 21472158
Change-Id: I7ad6bb64e739059febffca10463c8097693a9563
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
ed5b3e2cad37a9e8c3b6fdf6de33a66c21db8482 08-Jul-2015 James Cook <jamescook@google.com> Move shelf config setting into SystemUI

It doesn't need to be visible to the rest of the framework.

Also add a system setting so adb can override the default before for demos:
adb shell settings put system demo_app_shelf 0 # Zero forces it off.
adb shell settings put system demo_app_shelf 1 # Non-zero forces it on.

Bug: 22332617
Change-Id: I75b228a24b307447a7e6df11ba0d024b88759beb
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
61a3a523c71ec8fa034932fb14a64fe533978a45 09-Jul-2015 Jorim Jaggi <jjaggi@google.com> am 46e30763: am 5175b3c9: am 9acf475c: am 35094376: am 3cc5c24b: Merge "Fix assist for hardware long-press" into mnc-dev

* commit '46e30763df273ea1ba6f102c8a8557b36ba5cc8a':
Fix assist for hardware long-press
3cc5c24b83edaab66c97b161e25ff0bd93b3e1b4 09-Jul-2015 Jorim Jaggi <jjaggi@google.com> Merge "Fix assist for hardware long-press" into mnc-dev
3de20780cfec8b35ab9ac7df8724573760331516 09-Jul-2015 Selim Cinek <cinek@google.com> am 0274229e: am 1f7ec848: am 52b2821a: am 02f91c02: am 9201385f: Merge "Cleaned up the clipping logic for the dismiss motion." into mnc-dev

* commit '0274229eae93ce99a6cf6086360384110f3726be':
Cleaned up the clipping logic for the dismiss motion.
165ce066b701ba0153000f0692bfc7032655d17d 07-Jul-2015 Jorim Jaggi <jjaggi@google.com> Fix assist for hardware long-press

Activating the assistant will now route through SysUI, so
we have the logic whether to start an activity or to start a voice
interaction session in one single place.

Bug: 22201770
Change-Id: I0f4699533aea2a1e595ee25a844434c82f548c01
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
9c17b7749377a047794157bc066e45d985cabf52 08-Jul-2015 Selim Cinek <cinek@google.com> Cleaned up the clipping logic for the dismiss motion.

Notifications are now not clipped anymore during the animation
and it is ensured that the State is always correctly reset after
the animation.

Bug: 22232352
Change-Id: Ic873a0b119d5f71c29f5fd9b76a7bee1ae74638b
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
28d89f4d85d1f02c6669e2767ddb4da650472bdf 08-Jul-2015 Selim Cinek <cinek@google.com> am ee9b2261: am 71aa3b21: am 0d959fd4: am 7617f55e: am a8c247e0: Merge "Fixed a bug where collapserunnables where dropped" into mnc-dev

* commit 'ee9b2261567e71f4120317946cd702af4f14fe05':
Fixed a bug where collapserunnables where dropped
ae77f8e658897e419dbee9ae2db151baf831fc96 08-Jul-2015 Selim Cinek <cinek@google.com> Fixed a bug where collapserunnables where dropped

When a runnable was added while iterating over it,
it was cleared right after.

Bug: 22260165
Change-Id: I2faf9af61c08853eb8364d49ccd36d686a4b3bf8
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
76495678a4e685f031f532aa8c8e902f54cb5624 08-Jul-2015 Amith Yamasani <yamasani@google.com> Avoid IPC call with an empty array

Don't call setNotificationsShown() from status bar when notifications
are hiding. It should only be called when there's some new notification
to report as seen. This is just an optimization.

Bug: 21785854
Change-Id: I1f6024fea29694201284bd27d4b30460a62f0b57
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
cdbb50899412e5bb4b00160fb0af8d7360efe9ca 07-Jul-2015 Jason Monk <jmonk@google.com> am ba31dff1: am 43d88d9a: am 63138aed: am 9dc0cc00: am f18ed45f: Merge "Fix to work statusbar configs as mcc/mnc" into mnc-dev

* commit 'ba31dff14aa11ba80bb98988042c3e7572925681':
Fix to work statusbar configs as mcc/mnc
6be4f6b18dc6e26065874d8de048e3dad1a21b0d 07-Jul-2015 Sungmin Choi <sungmin.choi@lge.com> Fix to work statusbar configs as mcc/mnc

Call handleConfigurationChanged() at the end of
PhoneStatusBar#onConfigurationChanged to update statusbar configs.

BUG: 22215928
Change-Id: I7329d4949a8a47717ea037cf007ef0baa63507bd
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
a4e0e651eb53e5414363f931d099f0f820f2dafc 16-Apr-2015 James Cook <jamescook@google.com> Optionally add app launch icons to a nav bar "shelf"

* Introduce config parameter config_enableAppShelf
* Shift back/home to the left, shift recents to the right
* Add icons for the first 4 installed packages for the current user
* Launch apps with a scale-up animation
* Add icons for the last 3 recents
* Add simple drag-and-drop reordering

Bug: 20024603
Change-Id: Ia0c53b43915657fea4b0185d675f2e569f820084
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
b659c4f44a839e6ad7ef6834cc0d35954e04460a 25-Jun-2015 Chris Wren <cwren@android.com> report notification load on panel reveal

Counts may differ from user perception. For example, if notifications arrive
after the shade is open (even if it is only peeking) there will not be another
panel_reveal before the user sees the shade. User perception is more accurately
measured by visibility events.

Peek events will report the notificaiton load as 1.

Bug: 20088581
Change-Id: I10221d4b66a18c223aae21e616615f087c65b1e1
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
cd7ceb0711672eabd1de578f2452ddcb8a322f68 26-Jun-2015 Robin Lee <rgl@google.com> Merge "SystemUI: show owner VPN for restricted profile" into mnc-dev
63204eeafe7a51953d346717639f3e6eeb1f9bd5 04-Jun-2015 Robin Lee <rgl@google.com> SystemUI: show owner VPN for restricted profile

Restricted profiles don't have their own VPN configuration - whatever
is in charge of VPN for our USER_OWNER user will have network traffic
routed to it instead.

Bug: 18419023
Bug: 21188177
Change-Id: I7205d90032461c240048a036606c3a7938d0eda2
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
b84ace51b21b9b1d422e96ed023ef3860ca0710d 26-Jun-2015 Selim Cinek <cinek@google.com> Merge "Fixed a crash where onTouch might have been called too early" into mnc-dev
4e6b2d3e7d2c78c0575c14045469c36ab09a6a4e 26-Jun-2015 Selim Cinek <cinek@google.com> Fixed a crash where onTouch might have been called too early

Bug: 21906153
Change-Id: I1fbc8b29f9cb0d7d71d6cb81e95a35da2fe9959e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
7e6571f13da776dca4966dee0159e7741102fca9 25-Jun-2015 Jorim Jaggi <jjaggi@google.com> Use long press of KeyButtonView to invoke assist

This makes sure that accessibility is handled properly.

Bug: 18778078
Change-Id: I967b387aabff973b5a9fea649a805540ee08eea8
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
1689594851a6dd985cff69913e7f4bc548062808 23-Jun-2015 Chris Wren <cwren@android.com> don't clear notification effects in response to peeks

When the heads up appears it generates a visibility event for the panel.
This always clears the notification effects (buzz, beep, blink).
If we suppress that for heads up notifications, we never get another chance.
So we add a new call when we open the shade from the heads up to catch this case.

Bug: 20947591
Change-Id: I233e5346617ca2fce7851bd85154c838849df8f7
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
8a4014d2a4e88b93a7a56a9e062a8b748208bd11 23-Jun-2015 Chris Wren <cwren@android.com> Merge "Only report top peekingcard as visibile." into mnc-dev
35a7c92fdf2f585808a6c994746e5e527e65cf77 22-Jun-2015 Chris Wren <cwren@android.com> Only report top peekingcard as visibile.

Bug: 20751989
Change-Id: I741d5e6fc1dcbe036d2c8ac0d49e2e47fdf7a625
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
de1e281bbc062410a9079d2640b760271bde1043 23-Jun-2015 Selim Cinek <cinek@google.com> Merge "Fixed a bug where the AssistComponent was outdated" into mnc-dev
ca7febf4b8fc429cb222287959da73b5cd16a0e9 23-Jun-2015 Chris Wren <cwren@android.com> Merge "add rank to notification visibility log" into mnc-dev
9a634991cf5fe5c8c44b643554330c87d7672e4a 23-Jun-2015 Selim Cinek <cinek@google.com> Fixed a bug where the AssistComponent was outdated

It also wasn’t updated when switching users.

Bug: 22005038
Change-Id: I45e58de5f48e3769f114ff830d62c287d2b04d4f
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
f8fbc2a7cc1449ba1f8ebc3e8f09359903293ad1 22-Jun-2015 Selim Cinek <cinek@google.com> Showing the bouncer now when waking up from touch while lagging

Bug: 21124013
Change-Id: I21fd26180c3389191e63ca728a651a3fbc98a75e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
d1dbc92d67af4cb72bb2faff9011d36b6833bbfd 19-Jun-2015 Chris Wren <cwren@android.com> add rank to notification visibility log

Only sysui knows the true rank, since it can (and does) reorder things.
The visibility logs are down in the service because it has other bits of data.

Bug: 21395744
Change-Id: Ibf9479dc2306fb27fb5df3bf21e161478d36d587
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
ee43cdfa43b09a79e66d81f6673a79bc26427343 19-Jun-2015 Jason Monk <jmonk@google.com> Fix intent tile to unlock on launching activities

Change-Id: Ibde6a21d5a36d4697101e2201d1d77e26d684753
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
80c2abe5bb896bd31509b201428208dd4fce8c76 18-Jun-2015 Selim Cinek <cinek@google.com> Fixed a potential bug where the keyguard could become empty

Bug: 21124013
Change-Id: Ia955b1426e13d47a8f191817d55615253012acb1
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
6ecdcf2aa01b2510bf6d506b92172dbc32beeec9 16-Jun-2015 Adrian Roos <roosa@google.com> Merge "Add AssistUtils" into mnc-dev
e91750804a5fb4e7beb4f34f2ba40825e4a28e93 15-Jun-2015 Adrian Roos <roosa@google.com> Add AssistUtils

Enables code sharing with Settings for consistent
default value handling.

Bug: 21780590
Change-Id: I669b673f90fab503ae0c2179f09ebac9592bd33a
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
c6cc6266c9325f180b1a073f733fdf0a64e9286f 11-Jun-2015 Jason Monk <jmonk@google.com> Fix EmergencyCallback in NetworkController

- Do some cleanup so that things are more testable
- Test emergency callback since its possible
- Fix emergency callback in no sims case

Bug: 16218652
Change-Id: Ic859eff732cc11c5ae8aa6ced3584905bbe215c7
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
5f2c415fbdaf11e37b1b07298bc037cfcb5fa579 11-Jun-2015 Selim Cinek <cinek@google.com> Merge "Enabled appear and dissappear animations for the overflow card" into mnc-dev
2cd45dfba6a9105a305ea20b110ba5ac078a9dc6 10-Jun-2015 Selim Cinek <cinek@google.com> Enabled appear and dissappear animations for the overflow card

Bug: 21651647
Change-Id: I0732cb27ec8f88ae74fcff11340092879ba8bae3
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
4c7d9603087ffa8daa9a2fb7113fc9c6c523fb19 10-Jun-2015 Adrian Roos <roosa@google.com> Hide keyguard status view from a11y when QS expanded

Bug: 20535583
Bug: 20343910
Change-Id: I1919508ae3c532577e1a9eec4a36aed15a6222de
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
5b7793cacf3910a386182a9b78460934d00dfdae 10-Jun-2015 Adrian Roos <roosa@google.com> Merge "Expand scrim all the way to the right" into mnc-dev
2f2bd9a8f845535b6ecbf1b28aecdbd0ff3bbc63 05-Jun-2015 Adrian Roos <roosa@google.com> Expand scrim all the way to the right

Fixes a bug where the scrim would not cover
the area occupied by the nav bar which looks weird
when the nav bar is hidden.

Bug: 19582019
Change-Id: I7d96ca46a41ec764984be5fe42d225cb94f53497
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
ffc9097d10174968750c7a7b05953cb8f80367e4 10-Jun-2015 Adrian Roos <roosa@google.com> Add content description to keyguard user avatar

Bug: 20535812
Change-Id: I32ff0878c2332681ebd848c9da6e2dc42363b9be
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
b835dd7641c60cd5d2b372331ffc19f7165244bd 08-Jun-2015 Jorim Jaggi <jjaggi@google.com> Close assist when launching intents from notification shade

Bug: 21035363
Change-Id: I51a6dbe5f0d93aaf81a38d1f1afacaaeaf7732e2
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
7b5e6c884dca09f670c471eebf86542c4aa173ad 09-Jun-2015 Jorim Jaggi <jjaggi@google.com> Merge "Only doze when not occluded" into mnc-dev
5cc86599ce0e5596655859d09c52934030da240b 08-Jun-2015 Jorim Jaggi <jjaggi@google.com> Dismiss Keyguard correctly

When authenticating with fingerprint, we didn't go through the
dismiss action, and thus launching intents was broken when
authenticating with fingerprint from the bouncer. Also fixed a crash.

Bug: 21695578
Change-Id: I61f74b5b63d4d6ddf7f8f3ce96feb63b9644cd52
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
839697006511afa61ecd07747523180b513b9b70 05-Jun-2015 Jorim Jaggi <jjaggi@google.com> Only doze when not occluded

This fixes a bug where an activity could have been started on top of
the lockscreen while dozing already. In that case, we would execute a
pulse and reveal the fully colored activity that is occluding the
Keyguard

Bug: 19465785
Change-Id: I9533390e13f11424a20a107005d60050a460e333
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
8a3a964d0ad13374a4c4ee8a8a1b12aa00e577f0 05-Jun-2015 Jason Monk <jmonk@google.com> Show Cast Tile when trusted

Add a trusted state to the KeyguardMonitor and update uses of it
to treat trusted as if it weren't secure.

Bug: 19709691
Change-Id: Ic46818b6c27e0bd093c7c3af904388fcb870c4c4
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
5e745172d93fcd4a90e0c8b216941a10a9994de8 03-Jun-2015 Jason Monk <jmonk@google.com> Setup service for tunable things to use.

Change-Id: I13daa68d3d1ec5584fd84f356f4f5a0d1c0b853a
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
c699b8713080e73be7e479530ea38bf06d0882bb 05-Jun-2015 Selim Cinek <cinek@google.com> Merge "Fixed a bug with HUNS and dreams" into mnc-dev
b18a20f13cc5fc36b84f19bb89a9e479bb1fb4ea 04-Jun-2015 Selim Cinek <cinek@google.com> Fixed a bug with HUNS and dreams

When a notification came in dreamMode and would become a HUN
we were firing its fullscreen intent imediatelly. If that notification
got updated again a moment later, it would also show an additional
HUN even though we just launched the fullscreen intent. This is very
troublesome to handle on the app level, as the notification state
is the same. We are now introducing a cooldown for HUNs when it just
launched a fullscreen intent.

Bug: 19377091
Change-Id: Ib32341c8983f0e977354432ea8d8e98909a13829
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
18d669dc597dc4997ee8d96f38cf138ae31a0cdf 04-Jun-2015 Selim Cinek <cinek@google.com> Merge "Added logging to debug empty keyguard state" into mnc-dev
6a1bd2b3dbc993e63632f12819d77ae5fa872a06 02-Jun-2015 Selim Cinek <cinek@google.com> Added logging to debug empty keyguard state

Bug: 21124013
Change-Id: Icdc085e993aae073ed7c42333f49644624971787
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
21d2a257633fe9a34351f43dd86268e075226480 01-Jun-2015 Adrian Roos <roosa@google.com> Prevent panel and QS expansion before device is decrypted

Bug: 21514179
Change-Id: Ia36409a2645a00fc2c2630eb39c05d3a0599fd8a
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
7d01d2c6cfcdfad74735619ab95f8396be54dc0f 03-Jun-2015 Jorim Jaggi <jjaggi@google.com> Merge "Fix API review: Camera prewarm" into mnc-dev
d944986fbdb3d45fab9ae4120af76ca4f6b0909c 29-May-2015 Jorim Jaggi <jjaggi@google.com> Fix API review: Camera prewarm

Let the intent receiver of a camea launch intent declare a prewarm
service instead of sending broadcasts.

Bug: 21347653
Change-Id: I11e31aad4f788ad90eb46a661b819d3e808ddb51
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
604a5eeed7ffd5b4bd790980a1b3144015d1ea1c 01-Jun-2015 John Spurlock <jspurlock@google.com> Next alarm clock updates.

- Add explicit user setup signal to status bar icon policy.
- Include per-user next alarm clock info in service dump.

Bug: 21551365
Change-Id: Ib16636522bbe04d205a377567007145f146e9d39
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
05b86bc02767e1714712dd0e612068b6da1eee51 19-May-2015 Jason Monk <jmonk@google.com> SysUI: Move LocationControllerImpl receiver to bg

Bug: 19520495
Change-Id: Ia0fbfb663076c296c65bcefdad62d36f98c9e757
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
37c110fa14aed2bb54f685f3855feb30000322fa 22-May-2015 Selim Cinek <cinek@google.com> Fixed a flash when launching keyguard affordances

When media artwork was present the screen would briefly
show the artwork and the scrim when launching the affordances
on the keyguard.

Bug: 21379150
Change-Id: Ica36e7f7ef11beef9b2351af4cf43ab4e20151ac
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
4a21a7fab6c0cca2c668650969e9af50c9c5068e 19-May-2015 Selim Cinek <cinek@google.com> Fixed Focusability issues with heads up

The panel was focusable when a heads up came in which
lead to several bugs. Sometimes the user was not able to
type anymore and focus listeners fired.

Bug: 21153703
Bug: 20892889
Change-Id: Iab86e651ef827767225ca092bb2c1e3fe1ddf385
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
1ca3541857043b549a5aed04559f5e303cb84422 19-May-2015 Xiyuan Xia <xiyuan@google.com> Merge "Abort swipe up gesture when long press is detected" into mnc-dev
07b75fe65dcb5b8add8246654c65f95f1191933e 14-May-2015 Jason Monk <jmonk@google.com> Move NetworkController broadcasts/listeners to BG

Also do some refactoring to avoid having to sets of callback interfaces
with 75% of the same data.

Bug: 19520495
Change-Id: Ife1c71174c0d6a21f924f7de3cb2f97a04c3d5a1
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
ee7dd0568890548323a6f656df6576a423691ebd 15-May-2015 Xiyuan Xia <xiyuan@google.com> Abort swipe up gesture when long press is detected

When home button long press is detected, swipe up gesture on nav
bar should be aborted as well since both are targeted to start
assist.

Bug:20500672
Change-Id: Ifbc9a8f0692334c9764205e5ecfac47577ae03f6
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
3b028d754f26f7e7092db6346199e313b87412b1 13-May-2015 Jorim Jaggi <jjaggi@google.com> Use platform delay for assist long press gesture

Bug: 20853645
Change-Id: I1f25a04bfc7d07077211743b9d258fd637a402e6
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
131c1e2960fa5bdf54bfb6fcd5ac98c9f728f796 12-May-2015 Selim Cinek <cinek@google.com> Made sure that HUNS with full screen intents stay pinned

When a HUN came in with a full screen intent came in and the shade
was open, the notification was not pinned and therefore got lost
when the shade was closed, potentially leading to missed alarms
or calls.

Bug: 20431566
Change-Id: I0d5da0f9baba8d9f68ba2755c40c5fd9a8471191
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
389beec68d09883112ee5ef88f0b2fa2aa369824 12-May-2015 Adrian Roos <roosa@google.com> Only dispatch systemUiVisibility when it actually changes

Bug: 19000727
Change-Id: I9302746281188186d18256d45fee681bd2ab50d5
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
737bff3476a3af8f930d29fccce16d033fbc3efa 09-May-2015 Selim Cinek <cinek@google.com> Fixed a bug where the HUN would interfere with the normal touches

When a hun came in or went away, the touchable regions were not
enforced correctly due to a race condition. This lead to the user
grabing the notification panel unintentionally and ripping him
out of the normal touch state.
Also fixed a small bug where the alpha was not correctly animating
sometimes and the HUN shadow would still draw.

Bug: 20956211
Change-Id: Iae1fef5825b3d2b8b4128cc8c3272019194cd819
(cherry picked from commit 8b4a06e9e269140c93c1a9ef5add008f7610d1a4)
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
30d8004dbf1941d9ac8c5c7839c135a1b87a87fc 08-May-2015 Jason Monk <jmonk@google.com> SettingsLib: Do wifi processing in background

Bug: 19520495
Change-Id: Iefad932bd523b26a19e5f902133563341aea7426
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
03fdca1b29aff07583b7764b7b359cbbfc58e577 08-May-2015 Selim Cinek <cinek@google.com> Merge "Fixed a bug where the heads-up would not show when full screen" into mnc-dev
4a4a2bddc48a33cbaa49a8844b9fd36e2fc5e219 07-May-2015 Selim Cinek <cinek@google.com> Fixed a bug where the heads-up would not show when full screen

Bug: 20728541
Change-Id: I74bc74c4936b003a4c0c37b7c7da2d1fa138c077
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
6329bbceebc8c0d6de164cb693a828402542fd35 06-May-2015 Selim Cinek <cinek@google.com> Merge "The voice assist may now be launched above the lockscreen" into mnc-dev
e70d6535237d2e6f03adcd0bdc11e45ea714dc97 25-Apr-2015 Selim Cinek <cinek@google.com> 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
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
356b1777092e7da3ac5eae0bc94bd21e1cf9319a 05-May-2015 Chris Craik <ccraik@google.com> Merge "Cleanup properties" into mnc-dev
2b0eaffc6264abb4162c089adf7089b4cfee5719 05-May-2015 Adrian Roos <roosa@google.com> Merge "Hide lockscreen contents from a11y while bouncer is showing" into mnc-dev
2507c34d91bb0d722b6012e85cb47387b2aa6873 04-May-2015 Chris Craik <ccraik@google.com> Cleanup properties

bug:19967854

Separate properties from Caches, into static, RenderThread-only class.

Also rewrites the means for java to set properties to correctly handle
threading, and adds an override for profile bars so that SysUi doesn't clutter
the screen with them.

Change-Id: I6e21a96065f52b9ecc49d1a126244804ba106fa9
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
9c4ba332e9208fccc9d06c9dd03e0188f9d9ca16 01-May-2015 Chris Wren <cwren@android.com> remove unused edge border dimension.

Change-Id: I9f763aa130b76179d98288601f023038f086756b
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
9763d42c7bdfc245cfd7620f568b65c6a223c07e 30-Apr-2015 Chris Wren <cwren@android.com> log clear all button

Bug: 20089768
Change-Id: I96d64c387b6085025df76c4aaf7ff9d7bdf51799
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
d0b2f7ddcac251acfe88092ecef4abb63b3e248b 29-Apr-2015 Adrian Roos <roosa@google.com> Hide lockscreen contents from a11y while bouncer is showing

Bug: 20110598
Change-Id: Id65b44b06123dcc4625f46090d7d5c234b0ae951
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
b349af573121cc659d775696066a13ed7101c308 29-Apr-2015 John Spurlock <jspurlock@google.com> Volume: dismiss volume UI to avoid HUNs.

Also include headsUp in the name of the pinned callback
method.

Internal version of AOSP proposal:
https://android-review.googlesource.com/147502

Change-Id: I8fe14bd7d65b2d3564cb1e2869d7ffbbac89e80d
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
c4aa3c781a0ddce64853cd5d88bf97f8a9faf98b 29-Apr-2015 Benjamin Franz <bfranz@google.com> Merge "Add status bar flag to disable quick settings" into mnc-dev
684a442b812a5e95d813700ffa2fd17ca72048a7 16-Apr-2015 Selim Cinek <cinek@google.com> Follow up CL for heads up notification refactoring

Change-Id: Iaf286dfd30a86d3d7d6dd947d3c10ac9eb8c2b1e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
27cf146361125d1233c487ec215d5d794f5dde17 23-Apr-2015 Benjamin Franz <bfranz@google.com> Add status bar flag to disable quick settings

Bug: 20331928
Change-Id: I79dc7f2c9e64245bdeeea3916d339985a8b17f92
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
24bd0be558838db4ff975e97fa986eb317773fc5 28-Apr-2015 Amith Yamasani <yamasani@google.com> Mark actually seen notifications as seen

This was missing from a previous CL that was meant to have it.

Change-Id: I856cee8708d988630778ba88b70deaad8730fc1f
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
cde0a2a9ea00d6e4acfe6ce7a7c9061343df7fa3 23-Apr-2015 Benjamin Franz <bfranz@google.com> Introduce disable2 into StatusBarManager

We ran out of space for new disable flags, so need to introduce a
disable2 API into StatusBarManager and update all the underlying code
to support the second set of flags.

Bug: 20331928
Change-Id: I5009b393133c576b37d7e2bae0df97cb8c41a065
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
e39e17dff767e11cffb54ab9eb34dc9e329c0e17 25-Apr-2015 Selim Cinek <cinek@google.com> Merge "Improve the falsing logic for unlock motion"
9db71054b83a650f3478c9335634b611ddaf53bf 25-Apr-2015 Selim Cinek <cinek@google.com> Improve the falsing logic for unlock motion

Bug: 20563134
Change-Id: I628829915ad2cc7f1df5d0c971def44f6eacdae4
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
f47e51ec605fccf7fed9e50d1adc98fbd4e8b340 17-Apr-2015 Amith Yamasani <yamasani@google.com> More usage tracking

Notification listeners can now report that a notification
has been seen by the user and that package is then marked
as active.

Bug: 20066058
Change-Id: I336040a52c44c21fd0d78b02ec9a19d448c64b40
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
d322f1af916038816ef2a5b56fef4d9648d8433e 24-Apr-2015 Adrian Roos <roosa@google.com> Fix disappearing status bar icons with SHOW_WHEN_LOCKED

Fixes a bug where launching a SHOW_WHEN_LOCKED window from the bouncer
wouldn't properly restore PhoneStatusBar's state leading to missing
status bar icons.

Bug: 20474073
Change-Id: Ib22dc0dc5a89214af8876ddaea52569e2e24a742
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
f3b3bee12994a24b60bd447dede9e8791151fcc9 16-Apr-2015 Jorim Jaggi <jjaggi@google.com> Speedup unlock when authenticating with fingerprint

Change-Id: Ib76ff7a2a42cf6fc77848ef799c2a13b77cfebb2
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
29fa89b41e15ee61a1ec13307596fe5f5f4c376c 17-Apr-2015 Selim Cinek <cinek@google.com> Fixed a crash on android tv with the new heads-up manager

Bug: 20282768
Change-Id: Ibb3dc879a2529c12f4d8ab6b031711363da93d37
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
31d9ef7a402b58b10758da1d71ff5e2181abe8a4 16-Apr-2015 Selim Cinek <cinek@google.com> Fixed the behavior for HUNs with fullscreen intents

Now HUNs with full screen intents don't fire automatically
when added and don't time out anymore when HUN'd

Change-Id: Ic2d5033febe514760cbb4e6e028c3cea84d07cd8
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
aac932591d7aa05bae61d2b47ed7647f35da0001 15-Apr-2015 Selim Cinek <cinek@google.com> 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
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
fbe9a44a15addf9d94cd40da56835501241b8d3e 14-Apr-2015 Selim Cinek <cinek@google.com> Made ranking consistent with heads Up manager

Change-Id: I8e83c2e7e5a5635c1c0fb83cf2b4614965336786
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
1f3f544f21cab3728f749ab66cd6859e9dfcf389 11-Apr-2015 Selim Cinek <cinek@google.com> Fixed more heads up bugs

Change-Id: Ibfb6656deb3bc588fc9292a672a5e4d4d1de4d23
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
8d490d427c0b0cc321ae61987bb3cfc1c23ff930 10-Apr-2015 Selim Cinek <cinek@google.com> Treating headsUpViews now as real notification citizen

Previously headsUpViews simply were replacing the content
views, now they have their seperate space.

Change-Id: I6b094975cdfdf5e082d546dd7a0bf633335f4ef8
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
a59ecc3401de0c4bf1e13665158f54669f22d06c 07-Apr-2015 Selim Cinek <cinek@google.com> Handling a few more border cases with HUNs

Also does sorting correctly now.
The status bar now allows touches below when a
heads-up is on.
Also fixes a few flashes when a heads up was
dismissed or appeared.

Change-Id: I4d90a07333ad2e5ea2a13704cdc9d9184716681a
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
b8f09cf5533d458868a335ce334e4880b2b0788d 17-Mar-2015 Selim Cinek <cinek@google.com> Integrate Heads-up notifications into the shade

Change-Id: I4ca0fb4e76e7c974490538c168da0564fe97e0ae
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
3094d4a1c08c7911247a41236ba4956f7e762c52 01-Apr-2015 Kenny Guy <kennyguy@google.com> Show a status bar icon for managed profile activities.

Show a work icon in the status bar when the foreground
activity is from an app in the managed profile.

Bug: 19532434
Change-Id: Ie96935c089d26f44bc5b1b8fcf60c83a32283a0f
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
e144bb15d0d64656a1b9dcd587061063a63ac146 10-Apr-2015 Jorim Jaggi <jjaggi@google.com> Merge "Keyguard FP UX update"
27c9b7435083c5620bddefa0cce6a056863b4801 09-Apr-2015 Jorim Jaggi <jjaggi@google.com> Keyguard FP UX update

- Add scanning and error states to UI.
- Do not delay dismissing the panel when authenticating via
fingerprint.

Change-Id: I82e71c554c56e53ddf0677dca3e6909f7cedd59d
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
82862573bcf246128782b91ea627285c43133a8d 01-Apr-2015 Andrew Flynn <flynn@google.com> Consolidate SystemUI SharedPreferences.

Makes it easier to use from any place and gets us type-safety.

Change-Id: I472e340e8332d9a173335b6f337525d58d801881
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
64e71cd6cce5c65548a570204f6cc8641ef1eddb 03-Apr-2015 Jorim Jaggi <jjaggi@google.com> 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
2fdeeabe78b0f54f3163b1b3741ac813828b3511 02-Apr-2015 Jorim Jaggi <jjaggi@google.com> Implement new assist gesture and motion

Change-Id: Ic8ba18c200058062f4d38ac4226d3516af3d3df0
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
5443cc563cf4581a8ea9ada3b27fac7107d72099 20-Mar-2015 Jorim Jaggi <jjaggi@google.com> Change light status bar tint color to spec

Bug: 19233606
Change-Id: I0586e006b6783d3af23defb67da666477484c1ee
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
4a357cd2e55293402d7172766f7f9419815fc1e8 19-Mar-2015 Alan Viverette <alanv@google.com> Replace usages of deprecated Resources.getColor() and getColorStateList()

Change-Id: I8f64fe6c4c44a92ff6d07250223ba590a1d691b0
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
b5605e58cb8080c8c887b1885336b707596c8094 20-Feb-2015 Selim Cinek <cinek@google.com> Enable surfacing of notification children

Yo Dawg, I herd you like notifications, so I put a
notification in your notification so you can be
interrupted while you are being interrupted.

Bug: 15869874
Bug: 15188947
Change-Id: I6c733d6f8e8a04f85036182f82d3e945c6feb5bc
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
25fd4e2be731fe893685faa48828d8fa4526cb1a 20-Feb-2015 Selim Cinek <cinek@google.com> Introduced a group manager to manage group notifications

Bug: 15869874
Change-Id: I1bbcd9e5a2b8dae62bd8d93908dacc5d8fc08887
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
379ff8f6b18b236b679a59a2dc14c0baeede3bae 20-Feb-2015 Selim Cinek <cinek@google.com> Heads-up notifications now reuse the views from the shade

Change-Id: I6f43b70022f1ea439b80f6b6a0279a03d8c75887
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
b036ca4de8e93d83bcdc093fbf8f096dc18a810d 20-Feb-2015 Selim Cinek <cinek@google.com> Made stack scroller animation and apply logic reusable

Change-Id: I5d513dfc91b2a041ccefaa65074a64d1f211ec4a
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
bd3bfc5285dcacff0a69fecf3baeeeb90d887a58 02-Mar-2015 Chris Craik <ccraik@google.com> Improve docs for drawable tint and color filters

bug:19564477
Change-Id: I7e11baae2d4dd245965904c85b8855de71f6b6ac
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
33ae80e35a1b170309999c9b33b310ca91eb3f05 04-Feb-2015 Jorim Jaggi <jjaggi@google.com> Make light status bar fade nicely during unlock transition

By using the timings supplied by window manager for the unlock
transition, the transition from dark -> light status bar looks much
nicer.

Bug: 19233606
Change-Id: I33b9048a10e2bd827ff504ab52f385cc88867112
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
24bec7ce7adc3c0d693cfadcb4b28f5fc41555ae 04-Feb-2015 Jorim Jaggi <jjaggi@google.com> Implement nice transitions for light status bar

- When the flag changes, apply an animation from the current value
- When the flag change is caused by an app transition, synchronize
the status bar animation with the app transition animation.
PhoneWindowManager calculates the timings based on some heuristics
of the app transition animations and supplies these timings to
StatusBarService.

Bug: 19233606
Change-Id: I4f99afba8f1eebb3524699ed4d7fbafee5463a37
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
930eccaf44239d010cbafb246651697996f567b5 12-Nov-2014 Chris Wren <cwren@android.com> Don't let the heads up close too quickly.

The public API of HeadsUpNotificaitonView was not well suited to the
new requirements, so it changed slightly.

Old API:
- showNotification: show or update a notification
- clear: close the window and forget the notification
- release: send the notification to the shade and forget about it.
- releaseAndClose: release and close the window
- dismiss: clear the notification if clearable, or release it

New API:
- showNotification: show a new notification
- updateNotification: show a new version of the same notification
- removeNotification: respond to a cancel
- release: send the notification to the shade at some point
- releaseImmediately: send the notification to the shade right now

The new API makes updating vs. posting and removing vs. releasing more explicit.

There is a new internal concept: lingering. The heads up lingers
after an event that would have closed it if the minimum visibility
time has not been satisfied. In the case that the notification was
deleted, the heads up may be visible, but mHeadsUp will be null. In
this case, touches on the notification views are disabled.

More responsibility for control of the heads of policy was moved into
the HeadsUpNotificaitonView class. This should continue on master.

Some changes to support testing.

Added a test to cover all the edge cases for minimum visibility time:
1. extend visibility when canceled too soon
2. extend when updated with a low-priority version, fast update.
3. extend when updated with a low-priority version, slow update.
4. don't extend the visibility in any other case

TODO: Policy parts of HeadsUpNotificationView should be split out
into a separate HeadsUpNotificationPolicy class, and even more of the
policy should be lifted from status bar that new class.

Bug: 17878008
Change-Id: I192419d0685dd022ee7edcd792e346a4f39c6adb
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
37a6ad9755cbf49929f089523c99ad187f22b63b 04-Feb-2015 Chris Wren <cwren@android.com> Merge "Add dumpsys info for heads up view."
428c6b6580eead15d6a0f9889624e14883150141 05-Dec-2014 Chris Wren <cwren@android.com> Add dumpsys info for heads up view.

Bug: 18640969
Change-Id: Ie8d271fad3259da48854e9fd5e3f8eeec51ba91e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
761c156756230d1a8d23841a0b9cee1038696453 04-Feb-2015 Adrian Roos <roosa@google.com> Follow-up to I8a89a10cf2746cefa2feba50dc60c5eccd2ab28d

Bug: 19233606
Change-Id: I394a015371acd124f84f1f6f82bc565fefc669d1
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
75fa38539d1343eb7d4360c3a183e295a18185a8 27-Jan-2015 Adrian Roos <roosa@google.com> Add API for light status bar

Adds a systemUiVisibility flag and links it
to the status bar icon controller. Also adds a
theme attribute for setting the flag.

Bug: 19233606
Change-Id: I8a89a10cf2746cefa2feba50dc60c5eccd2ab28d
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
66ac133971f4e2f80cd7cfff89cc6f8a3f7e899f 21-Jan-2015 Jorim Jaggi <jjaggi@google.com> Split status bar icon management into separate class

Change-Id: Iaacfcb70ff16d894287603d5fc6351598c7450d6
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
84183103f4a9222ddbe22c7289f9627c74892d53 30-Jan-2015 Jason Monk <jmonk@google.com> Fix expandSettingsPanel status bar call automerge: 3c68ca2 automerge: f388249
automerge: 734219d

* commit '734219d9c22cbab2549d1d43d077e9e8e089730c':
Fix expandSettingsPanel status bar call
3c68ca2feab6d3cd09c297ddc2e77af67694feec 30-Jan-2015 Jason Monk <jmonk@google.com> Fix expandSettingsPanel status bar call

Use the same mechanism as the two finger gesture to get it to open
correctly.

Bug: 19196800
Change-Id: I952e14d3ccd796889ed54cb98c017542a25f28c9
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
b93024f1e8676c3b964cca6f86c9c7056da37d88 07-Jan-2015 Jorim Jaggi <jjaggi@google.com> Remove dead code #10: Clean up PhoneStatusBar

- Remove carrier label
- Remove emergency calls only label
- Remove dead methods and fiels.

Change-Id: If242a8fa926d21d77fc54867f4244e7d82626fff
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
2325f276cf01ad3f630eabefcaf4e35825413517 07-Jan-2015 Jorim Jaggi <jjaggi@google.com> Remove dead code #9: Remove ticker code in PhoneStatusBar

Change-Id: I2236790435d89962d70c642fa1879d44981bc71b
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
61e13698a85f89f441c833648ddf81b961ef9628 15-Jan-2015 Christoph Studer <chstuder@google.com> am 4d5e761a: am a80da9d0: am b018399a: SysUI: Log lockscreen gestures

* commit '4d5e761a34c73a700757ade349e9a05b3335f617':
SysUI: Log lockscreen gestures
568e54be71731bdbcd5338385eb6cc6a082c9456 15-Jan-2015 Jorim Jaggi <jjaggi@google.com> resolve merge conflicts of 87f5369 to master.

Change-Id: I5d1a7aaf48c4bf70f7181508aa46fbbcc2cf7086
b018399a3a2762e95126acbe14397eca15bad772 22-Dec-2014 Christoph Studer <chstuder@google.com> SysUI: Log lockscreen gestures

Log the following lockscreen gestures:
* Swipe up to unlock
* Swipe down to enter full shade
* Tap in empty area (causing unlock hint)
* Swipe to camera
* Swipe to dialer
* Tap on lock to lock device
* Tap on notification, activating it

For swipe gestures, includes length and velocity where available.

Bug: 18767135
Change-Id: Ib2c535e3a9d2b378f5a2a0a00c2be3fd916554ac
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
bd0db7b18f2a78b2ac2ff13234bf5b3582c9aec4 14-Jan-2015 Christoph Studer <chstuder@google.com> Merge "SysUI: Log lockscreen state to eventlog" into lmp-mr1-dev
6b88cdfba770efc5722338c240ccaada13d7b0d4 22-Dec-2014 Jorim Jaggi <jjaggi@google.com> Remove dead code #8: Remove old keyguard "bouncer"

Also squashes KeyguardViewBase and KeyguardSimpleHostView into
KeyguardHostView, uses a constant for the user activity timeout
(custom value no longer used).

Change-Id: I919b7d3de1dd1590b20e0f14f0e193ee2b3dc21e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
d61f2271c40cd7b3b10f39d8ffdaf8c527cb78be 19-Dec-2014 Jorim Jaggi <jjaggi@google.com> Remove dead code #6: Delete old recents implementation

Change-Id: I93b1257563d6352a54141bd4c90d2d4587782fd2
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
5c60b647047f744b78f9ae1b1984a654edbda2c6 19-Dec-2014 Jorim Jaggi <jjaggi@google.com> Remove dead code #1: Remove unused Keyguard classes

Change-Id: I08327dd23072b4e793be40635f105ce0aa5f6f6f
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
4ae97d3632edf4fd00fe23b9a2304e4e0f2348b7 17-Dec-2014 Jason Monk <jmonk@google.com> Post broadcasts to bg and cache bt state info

Add a background thread to post bt broadcasts to for processing.

Try to cache all bluetooth connection state info possible and pull
from broadcasts because requesting it too often may be locking up
devices.

Bug: 18771211
Change-Id: I2cf4852c935b2f471e735d953370e5d9e996c6f7
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
2231c6e1adefdb7636d9fe38a388f1b0660d30ea 19-Dec-2014 Christoph Studer <chstuder@google.com> SysUI: Log lockscreen state to eventlog

Logs the following keyguard and status bar states to
eventlog:
* statusBarState
* keyguardShowing
* keyguardOccluded
* bouncerShowing
* secure
* currentlyInsecure

Bug: 18767135
Change-Id: If27a9340dd1b5ec609f9940d9e0f32bd7aed1ed2
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
826730aeb98040cd01c9b5f0656c8b9036bc07de 08-Dec-2014 Jorim Jaggi <jjaggi@google.com> Fix SysUI when an app started from the affordances crashes

- Fix infinite recursion in this case.
- If the app crashes, we are waiting for either setOccluded or
hideKeyguard to be called. However, neither of these gets called
in this case, so we recover from it by adding a timeout of 5
seconds.

Bug: 18652789
Change-Id: Ib9a043f5692a8578703df1db08e1a6b9dcfbc742
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
c10416f0b99f5ace80285c9bafe0f7a2ef03b559 24-Nov-2014 Christoph Studer <chstuder@google.com> Log the state of the notification shade

Bug: 18308441
Change-Id: Iade14a2bf0d486ce9438e41d6eb7830bfdbbb653
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
27ef018846fc88122bcb2c30ba86e99a5b3039d6 02-Dec-2014 Christoph Studer <chstuder@google.com> Merge "NoMan/SysUI: Clear LEDs only when entering the shade" into lmp-mr1-dev
1f32c65697c22f423c2888cf4c53da1c95d602c1 26-Nov-2014 Christoph Studer <chstuder@google.com> NoMan/SysUI: Clear LEDs only when entering the shade

Don't clear notification LEDs when seeing notifications on the
lockscreen.

Also fix a bug where the LED didn't continue flashing after
the screen turned off.

For devices with doze capability, ensure that the LED continuing
to flash after screen off doesn't cause an immediate pulses, but
delay the first pulse by 10s.

Bug: 15449039
Change-Id: Id34d51a2c91ceaf069e49add1ab690bb855f9638
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
b574627ebc383d35cf8212ee241b191b26518a0d 12-Nov-2014 Jason Monk <jmonk@google.com> SysUI: Actual MSIM status bar support

Expand SignalClusterView and NetworkController to handle multiple
SIMs. It does this by creating multiple MobileSignalControllers
for each of the active subscriptions on the device.

Also some minor changes for followup on the NetworkController
refactor that went in before this.

Bug: 18222975
Change-Id: Ic7a857cfc5cadb46d51bb9ded0df8187eea799f7
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
8f52135f2c555ae0a13393b60ed0552ee9e149da 02-Dec-2014 Kenny Guy <kennyguy@google.com> Merge "Allow apps from managed profles to close notification shade." into lmp-mr1-dev
21d68f4808db02aa3252ba5dec8b0220d053cab3 01-Dec-2014 John Spurlock <jspurlock@google.com> Merge "Volume: Improve inline volume controls used in settings." into lmp-mr1-dev
eab28e660223b6e02f2fbd8dc31c8bde3ce5b22d 29-Nov-2014 John Spurlock <jspurlock@google.com> Doze: Break out proxcheck stats by pulse reason.

Enumerate all possible reasons for doze pulses, and subdivide
the proxcheck stats (near/far) by reason. Include reason in
doze log when starting a pulse.

Bug: 18373928
Change-Id: I4ebc2df082f51d47e3b2f0cb3999faeb582ef8dc
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
44fc65f6d0561b382b4e48e35a014344de93eee2 28-Nov-2014 Kenny Guy <kennyguy@google.com> Allow apps from managed profles to close notification shade.

Listen for ACTION_CLOSE_SYSTEM_DIALOGS for all users so that
apps running in the managed profile can close the notification
shade.

Bug: 18255982
Change-Id: I6b70eb39d182a0766eef24421fae45f033efa9e9
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
bcc1087af40a0e1bb35dbe8a39c830ecdea8280b 28-Nov-2014 John Spurlock <jspurlock@google.com> Volume: Improve inline volume controls used in settings.

- Make the system internal ringer mode change signal available to
other system components via a standard intent, instead of a
volume-controller-only binder call.
- Update sysui to use new intent for icon policy.
- Add proper muting state to the volumizer, to look more like
the associated volume panel slider.
- Add basic ringer mode state tracking for the notification-ring
slider setting.

Bug: 17899613
Change-Id: Ie2df52edb070055ef59c74039162a0e785d2fdbb
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
c1de25d8ebaecff697c1d5dfaa445e18ee07fa2d 25-Nov-2014 Jorim Jaggi <jjaggi@google.com> Merge "Animate notifs depending on touch when exiting doze mode" into lmp-mr1-dev
2a5e452f4f70d2dd717946dd50486cc66ea4cc43 24-Nov-2014 Jorim Jaggi <jjaggi@google.com> Animate notifs depending on touch when exiting doze mode

When exiting doze mode during pulsing and the reason for the wakeup
is a touch event, we calculate the delay of the animations to animate
the notification from black/white to color depending on the point
where the touch happened to wake up the screen.

Bug: 18146441
Change-Id: Ica76b235d629acfc2b09b5f56027c688502f89d8
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
661f2cf45860d2e10924e6b69966a9afe255f28b 17-Nov-2014 John Spurlock <jspurlock@google.com> VolumeZen: Introduce internal vs external ringer mode.

Stabilize mapping between ringer-mode=silent and zen=priority
by keeping track of two ringer modes:
- Internal ringer mode: Used for underlying stream muting
- External ringer mode: Reported to clients

The mapping between external ringer mode + zen is:
- normal = all
- vibrate = all
- silent = priority (read-write) or none (read)

Changes include:
- Remove "zen check" from audio service, back to audio
service having no knowledge of zen.
- Maintain a new external ringer mode in audio service,
this is the ringer mode reported through AudioManager
to callers, also mapped to the change intent.
- Introduce a "ringer mode delegate" to the local
audio manager interface, responsible for observing
external / internal mode changes, and making changes
if necessary.
- Internal ringer mode changes are still interesting
to the volume dialog, wire up a callback through
the existing IVolumeController interface.
- On devices without vibration, the mapping is the same
but since no ringer mode change is possible, disable
the icon toggle and remove the mute icon when volume=0.
- On devices with vibration, volume down presses should
pulse the vibrate icon (and vibrate) as a hint that this
is as low as the device can go using the keys. Since
the mechanics are similar to the existing zen=none hint,
pull into shared helper.
- Log ringer mode changes to the zen log, include calling
package information for issue diagnosis.
- Include whether vibration is supported in the audio service
dump.
- Update the status bar icon policy to use the internal ringer
mode, not the external mode (for vibrate icon).
- Update the "Muted by <x>" logic, include current suppressor
in dumpsys, ensure suppression icon is enabled & !clickable,
regardless of zen mode.

Bug: 17884168
Bug: 15471679
Bug: 16824970
Change-Id: Ia7d3bb23ce6d1e37b24fb6521d1c1ab9bb8f60c0
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
8a9242428b9d631ba841c166d062f158fd64f0f6 24-Nov-2014 Adrian Roos <roosa@google.com> Merge "Revert "Only keep user switcher bitmaps if needed"" into lmp-mr1-dev
1aa63f0baf0df58ae22ecb2558a5de7cebd38654 24-Nov-2014 Chris Wren <cwren@android.com> Merge "Push back notification means snooze the package." into lmp-mr1-dev
a6d4fb60ed241002210f27c94fbf363430152fe7 20-Nov-2014 Chris Wren <cwren@android.com> Push back notification means snooze the package.

Bug: 18451923
Change-Id: I90160f9d14cde12a5bc03e46e64eedf770149a90
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
c5db390f5b5c6c685267dd22cf3b2926f54fba35 21-Nov-2014 Adrian Roos <roosa@google.com> Revert "Only keep user switcher bitmaps if needed"

This reverts commit cba0faadbe1c8cf7c6b264b761d747f7381a2f93
with change id I416beb82156787e61ee1f59b6726fd702f135f68.

It keeps the fix preventing us from reclipping already loaded
bitmaps.

Bug: 18350670
Change-Id: I0562d38d2a6eb0b715adcd4ca77512f2cbedd320
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
31b844ba0cf418b758fbe45023d0202f208c0191 21-Nov-2014 Adrian Roos <roosa@google.com> Explicitly specify user for public mode

Bug: 18417850
Change-Id: I9d564a47fe66cb8035d73c8a2eedb912920410a2
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
bf1960ce9c353267490d65cc1b8beacc7dd85347 20-Nov-2014 Jorim Jaggi <jjaggi@google.com> Merge "Fade notifications when exiting dozing" into lmp-mr1-dev
4e857f4ef0357e05806819d0488a73a12208fe8f 17-Nov-2014 Jorim Jaggi <jjaggi@google.com> Fade notifications when exiting dozing

Bug: 18146441
Change-Id: Ifa0cbb8157c65768c3a0c584166ca88c3016b730
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
d2263cd9db36d5f74a124c5ffaf8594ef702408f 10-Nov-2014 Jason Monk <jmonk@google.com> SysUI: Refactor the NetworkControllerImpl

Minimal changes to interface/callbacks, all of the changes are
internal and prepare for MSIM.

Separate out AccessPoint and MobileData from the NetworkController
interface to give some space.

A SignalController class has been created as a base for both
WifiSignalController and MobileSignalController, both of which
internally handle the state of their respective connectivity and
only reach up into the NetworkControllerImpl when completely
necessary (such as for combined carrier label).

Bug: 18222975
Change-Id: I75b954bbece187371cdb8571dd8420e7d2cad978
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
b30d902ed404e5646bced27bdd2ca4006af802bf 18-Nov-2014 John Spurlock <jspurlock@google.com> Merge "Volume: Dismiss panel on nav bar interaction." into lmp-mr1-dev
7fbf573e0b7b002a914aec651208e33d443a1f1b 18-Nov-2014 John Spurlock <jspurlock@google.com> Volume: Dismiss panel on nav bar interaction.

Bug: 18409164
Change-Id: I7b7f26eb823b8477a4df86a8622b4f1171ad96e6
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
cba0faadbe1c8cf7c6b264b761d747f7381a2f93 17-Nov-2014 Adrian Roos <roosa@google.com> Only keep user switcher bitmaps if needed

Only keeps icons if the user switcher is accessible. On phones, this
is any time quick settings is expanded. On tablets, this would be whenever
the keyguard shows. Reloading them on each screen off transition seems too
wasteful however, so we keep them in-memory all the time on tablets.

Bug: 18350670
Change-Id: I416beb82156787e61ee1f59b6726fd702f135f68
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
2b154a9ec32915fe4a0dbc648344586fb5fa0261 17-Nov-2014 Adrian Roos <roosa@google.com> Reduce user icon RAM usage

Reduces the size of the icon in UserInfoController. Also
prevents UserSwitcherController from being instantiated if user
switching is not available.

Bug: 18350670
Change-Id: I38fbf28fad87e5c0d999ab6e3764f93269a95e05
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
048af1f727dc81a6450e004391d072599ac449ee 11-Nov-2014 Jorim Jaggi <jjaggi@google.com> Fix doze jank by removing a fullscreen layer of overdraw

Move all doze related stuff into DozeScrimController, and combine
both alpha values from the regular ScrimController and
DozeScrimController before applying it to a view. Move the black
background from NotificationPanelView to DozeScrimController, which
saves a fullscreen layer of overdraw during the transition.

Bug: 18238168
Change-Id: Ifb133bf4a0f8255f5c2f5e205509af339cac8c8f
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
68b83a784a0c9f3d2483a8a38b8e1ae047c4914e 11-Nov-2014 Jorim Jaggi <jjaggi@google.com> Fix wrong states when waking up from doze via touch

Bug: 18337222
Change-Id: I1cdc213a798ddac18b09accbbc31c59aa2a2d6fc
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
046757300c0a9b2043ff71e49bc3be50d5279443 12-Nov-2014 Selim Cinek <cinek@google.com> Merge "Improved the dismiss all animation" into lmp-mr1-dev
d6f440e0fff6c76dffacacf9d054124b7e9a6ce4 10-Nov-2014 Jorim Jaggi <jjaggi@google.com> Correctly handle launch animations for affordances

Bug: 15991916
Change-Id: I019d28b960bc74f3c0f05081bea4a303b16df204
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
223c66b6812f5f07ce89cc5bbf7d07d62bcc488f 10-Nov-2014 Chris Wren <cwren@android.com> Add event logs when we launch fullscreen notications.

When the heads up does not trigger on enqueue, and also when a heads up
is escalated to a fullscreen on a screen event.

Bug: 16644299
Change-Id: Iec7f7ddb966b46171d0e7d1ee52daf5847a7c9da
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
7d5f374dda06edbd7931d3faaacb75feab48b005 07-Nov-2014 Selim Cinek <cinek@google.com> Improved the dismiss all animation

Added an AVD to the icon and changed the order
to be from bottom to the top.

Bug: 17903685
Bug: 17007783
Change-Id: Ia1509e2d4e02c87782285e05b7b7fb6a11854f95
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
bb4a702e6fe44cb026097db13492f8345b38ee97 08-Nov-2014 John Spurlock <jspurlock@google.com> Volume dialog: Add zen mode icons and notification access.

- Add icon above text to all three zen mode states, update text style.
- Remove zentoast.
- Update shared borderless rect background, masks now support shapes.
- Update size of volume stream icons.
- Ensure all volume icons are expressions of white.
- Make volume icons testable via new demo mode command.
- Add a divider + secondary icon to access the notification slider.
- Animate the transition when accessing notification slider.

Bug: 18206097
Bug: 16303068
Bug: 18102850
Change-Id: I5eb6f820dc317e89be272cc78f6c80ed969ad5e9
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
975590f22916e184204678758bb339c1d2b6b57f 07-Nov-2014 Jason Monk <jmonk@google.com> Merge "Material design for screen pinning cling" into lmp-mr1-dev
2f04d16f16ea935895872efe4dfcff3366070e9c 07-Nov-2014 Jason Monk <jmonk@google.com> Merge "Plumbing for screen pinning request from sysui" into lmp-mr1-dev
18f99d91349a4f5ce55e22ed33f1f57eb1b0297b 11-Sep-2014 Jason Monk <jmonk@google.com> Material design for screen pinning cling

Switching from a dialog to a cling-like view to be more material.
Also moving it into SysUI as it highlights the buttons in nav bar.
This will be triggered directly from recents, but from apps it
will be triggered by the PhoneStatusBar. In the case that apps
trigger the request, there will be a 'no thanks' button so that
users can refuse.

Bug: 16957435
Change-Id: Ie880f82c66f4b2be98283ed3fa789703c4bd7ed5
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
5565cb42f2ac07fcdbe3aab2503de07fbeb39504 12-Sep-2014 Jason Monk <jmonk@google.com> Plumbing for screen pinning request from sysui

Removes lock-to-app request dialog from the AM.

Added a showScreenPinningRequest to IStatusBar to handle the
flow from app requesting lock task to showing the dialog.

This CL also allows startLockTaskOnCurrent (system|signature) to
start lock task directly. (Note: this is the less locked version
that always allows exit through back + recents)

Bug: 16957435
Change-Id: I284918dd5989de6cb2767c2a717529eb5e9c6db4
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
17488b9944389ab23dde992a4753e183ef64b6f6 06-Nov-2014 Jason Monk <jmonk@google.com> Show recents button while pinned and locked

When an app is show when locked and in screen pinning the 'overview'
button needs to be shown, regardless of its disabled state.

Bug: 18224921
Change-Id: I896c803347738c936873c0ce5a7480562eb9f639
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
09ba32c0ba9306bafa25e27a2fa7d6e53e9be715 05-Nov-2014 Jorim Jaggi <jjaggi@google.com> Merge "Fix janky in transition doze -> lockscreen" into lmp-mr1-dev
3e9d9b5953113787336ff42c842b49e6e591b26e 05-Nov-2014 Jorim Jaggi <jjaggi@google.com> Fix janky in transition doze -> lockscreen

Also fix some unnecessary layer creation for dismiss button.

Bug: 18238168
Change-Id: I71989f2a24162e4453781c07e50d6c25fb380089
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
1482b0535e1708fbf9914946abe59c36f39633e7 04-Nov-2014 Jorim Jaggi <jjaggi@google.com> Merge "Update QS tile states after unlocking" into lmp-mr1-dev
c0f0a74762f7b3651d0fcd8371e9eb0c84779b1a 28-Oct-2014 Adrian Roos <roosa@google.com> Fix low profile bar mode for Material themed apps

Bug: 17691219
Change-Id: I1b1fb2e831e5d4c41073bb4db0793bf66468c4c4
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
ec705c2c58c6dedab65cb59c7a6221eba8ff22ef 03-Nov-2014 Jorim Jaggi <jjaggi@google.com> Only hide sensitive content when Keyguard is showing

isOccluded is set delayed when unlocking the phone from a
notification, so updatePublicMode used a stale state. Now, only
the fact whether the Keyguard is showing (no matter if occluded or
not) is used to determine the public mode, which is set in a
synchronous manner.

Bug: 18026898
Change-Id: I3e4988f3e806cf15616ee5aa452f81f19d4aa716
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
1ecd7cd58ed0f823610c7fdae56806d08339e7ca 03-Nov-2014 Jorim Jaggi <jjaggi@google.com> Update QS tile states after unlocking

So the visibility state is up-to-date when we do a two-finger
expansion gesture, so the height is correct. Also fixes flickering
when overscrolling the initial panel expansion.

Also set thread priority of QS handler thread to background priority,
so it doesn't eat away precious cycles during animations.

Bug: 18183633
Change-Id: I0609509484582d82f0dc307eb2535bc3711b30e3
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
f3aa1c8d7915afd51d21bf79feb2285dffcc3827 03-Nov-2014 Christoph Studer <chstuder@google.com> Merge "SysUI: Use mScreenOnFromKeyguard for panel visibility" into lmp-mr1-dev
e8e2865b9f619b60f5a53a075b800e7becf44be8 29-Oct-2014 Christoph Studer <chstuder@google.com> SysUI: Use mScreenOnFromKeyguard for panel visibility

We currently depend on mScreenOn when determining whether the panel
is visible to the user. However, this variable is updated via a
broadcast and might hence be slightly out-of-date with other keyguard
state.

Bug: 18067294
Change-Id: I51078b4a470db9a5a1f639e84ac65f6066c5669c
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
16423aa0c6d1f5a8e9abd294d876933d44361fbc 28-Oct-2014 Jorim Jaggi <jjaggi@google.com> Improve doze transitions

This change animates the status bar and the bottom area when exiting
doze mode from touch. We also prevent all animations when exiting
from other means, i.e. usually when the power button is pressed, so
we don't have a distracting animation there. In addition, this also
optimizes the scrim animations a bit in terms of interpolation and
duration to make the experience smoother and cleans up some logic.

Bug: 18146441
Bug: 17717584
Change-Id: I495ce480c25de24b6433adebdfe923b637d98f66
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
09895be87e327a7e2090c88cb4a5fc997f33103c 28-Oct-2014 Jason Monk <jmonk@google.com> Merge "Add hotspot icon to status bar" into lmp-mr1-dev
4eedc1d97e5aa3bfaa60af9894cd991f9e210fc2 27-Oct-2014 Jorim Jaggi <jjaggi@google.com> Fix jank when launching something from lockscreen

Apparently, hideRecents blocks around 300ms so we avoid this as a
low-risk fix. In the longer term, we should investigate why it takes
so long.

Bug: 18133433
Change-Id: I3eae659d4720d3c95280e7f7a144e00f0c760388
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
952d5d8d8a82ddd21ca4f119ec75a4c82fec3f79 27-Oct-2014 Jason Monk <jmonk@google.com> Add hotspot icon to status bar

Bug: 17318034
Change-Id: I291fe6bf7ac8c2faffd37cfda436ef050c1c5ca5
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
dbbcfbe8aea1944fc0b0ecbf531034bcd5b5770a 24-Oct-2014 Selim Cinek <cinek@google.com> Cleaned up status bar closing handling

This could lead to a bug where there was a hole in the shade.

Bug: 17961295
Change-Id: Ief4bb3f79433a062c4904329e7ca130987d7fe0f
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
f2565a8b487f6ded259debe33016fc2d896e8681 24-Oct-2014 John Spurlock <jspurlock@google.com> Volume: Make VolumeUI startup configurable.

Can now disable the default volume dialog in SystemUI with
a standard product overlay.

Bug: 17753150
Change-Id: I305015dbfc40cde2428fa593c89af0f4568e1b74
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
7bbb9f64103c297d1b9738339f3bfeed0f41030e 21-Oct-2014 John Spurlock <jspurlock@google.com> Sysui: Include shared prefs in service dump.

Also:
- Remove obsolete Prefs helper.
- Use common file for zen-mode prefs.

Bug: 18062541
Change-Id: I9a6a4733eac0ec1c55da5d359c996cb5fe3bb8af
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
b7981719b0d49610002205e956688fd9de66318a 11-Oct-2014 Selim Cinek <cinek@google.com> am 5c401a0e: am 3e683b6a: Merge "Fixed a bug where the panel got into a wrong state" into lmp-dev

* commit '5c401a0e0bf3b5f647f7f1791e10195f748bfe96':
Fixed a bug where the panel got into a wrong state
3e683b6a0f40e176ba9ffce652939ecef23b9dc2 10-Oct-2014 Selim Cinek <cinek@google.com> Merge "Fixed a bug where the panel got into a wrong state" into lmp-dev
6bb4a9b356bdb141e353a8115e100029bed3eb88 10-Oct-2014 Selim Cinek <cinek@google.com> Fixed a bug where the panel got into a wrong state

Bug: 17939708
Change-Id: Ieaa9dc2fc0c92ce52b02ac4ea452df47ee492ac3
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
786afcb3eec18315ec54987a08814ff28f13d09f 25-Sep-2014 Jorim Jaggi <jjaggi@google.com> Trim graphics memory when closing the shade

Graphics memory usually gets trimmed in applications when the
activity goes into the background. We use quite a lot of graphics
memory when the shade/lockscreen is open, and some of them never gets
freed unless the recents activity is closed, because we don't have
these activity-trimming-heuristics for the shade. This change
proactively trims the graphics memory when the shade gets closed or
when the lockscreen is hidden, to emulate the same heuristics as for
activities.

This change also adds trimMemory on RenderThread to systrace to
verify that no jank is introduced with this change.

This change immediately saves around 10-30 MB on an xxhdpi device
after the shade is closed.

Bug: 17581375
Change-Id: I4fb622efb51815fe08187be97ba15d012d4de5d4
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
5e08e6957d1ada027ee93a0c8f745a9f8b89bb60 04-Oct-2014 Jorim Jaggi <jjaggi@google.com> Fix blank Keyguard #4

When we were fading out the preview for phone/camera to crossfade to
the real application, it might have been that showKeyguard was
called in the middle of this transition. This change makes sure that
we cancel this animation when showing the keyguard.

Bug: 17439581
Change-Id: I89cacf7ecf43d37ea979418b976390272510a09d
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
449981be16ed0ecae1fe708c31ee25a93ec2ffae 03-Oct-2014 Jorim Jaggi <jjaggi@google.com> Fix blank lockscreen #3

Bug: 17439581
Change-Id: Ic8cb7f32200b541ecc8fa36ad2517975cec0b545
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
0b99ea94f02b1002ef65aa64363d396a8876b583 01-Oct-2014 John Spurlock <jspurlock@google.com> Doze: Route volume keys to music only while pulsing.

Avoid waking up the device on hw vol key presses during a doze
pulse. Instead, behave as if the screen was off for these keys,
namely forwarding them over to the session manager.

Bug:17672775
Change-Id: I566b93f0bdea79253ac3eca41d3876b271c61306
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
8a63806a8d866c28a4983b07760603b690de48f3 29-Sep-2014 Jorim Jaggi <jjaggi@google.com> Revert "Add massive logging to investigate blank Keyguard"

This reverts commit 10ead64346b2651be144ac591117cc2413d8caa3.

Bug: 17475334
Change-Id: Ie7103a2ede1f00a91a2afc51d9e6ecf5ae569545
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
0e66439387e36876de94a60658917a7f3b0e6d27 27-Sep-2014 Jorim Jaggi <jjaggi@google.com> Add option to enable scrim SRC optimization

It turns out that the optimization to disable glClear + draw scrim
with SRC is not good for all devices, so this CL adds a config flag
to revert to the old behavior.

Bug: 17673806
Change-Id: Ic4e0177f2d6fcf4448755d0be66e8fbef2d15ab5
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
59ca78c937d958e5a0426182d0ee4ce6f03f65b5 23-Sep-2014 Selim Cinek <cinek@google.com> Merge "Enforcing falsing-threshold on touch when using AoD" into lmp-dev
29ed3c92ef8a28975606f6213477ce5ee2c99ba9 23-Sep-2014 Selim Cinek <cinek@google.com> Enforcing falsing-threshold on touch when using AoD

Also increased the threshold by a factor of 1.5 if
we are waking up due to a touch.

Bug: 17350239
Change-Id: Ida8bad234b3815abf80ca57f8004f3bc5df003cd
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
231dc0a6d2c1fd3b4e92ea541e9d01db713b2eef 23-Sep-2014 Christoph Studer <chstuder@google.com> Merge "SysUI: Correctly compare MediaControllers" into lmp-dev
cf5d3c98d1da0b1cfd4976a6962e7244490bdc8d 21-Sep-2014 John Spurlock <jspurlock@google.com> Doze: Ensure a doze reset happens after leaving keyguard.

Bug:17536133
Change-Id: Ibc88a7f2c1a51656676fe62d4de8ab3ec4dd4081
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
7858a1b5d8861ef4471b5f5c4ad9b41e5c6cf2d0 20-Sep-2014 Jeff Brown <jeffbrown@google.com> Merge "Fix order of operations while pulsing the ambient display." into lmp-dev
4d69e2219390bce567b0d2c986d0bd3a3182eda5 19-Sep-2014 Jeff Brown <jeffbrown@google.com> Fix order of operations while pulsing the ambient display.

This change fixes several issues in how the display's power state
was coordinated to ensure that the display is not turned on until
the pulse is ready to be shown. It also greatly simplifies the
wakelock logic and makes it completely deterministic instead of
relying on timed delays.

Bug: 17516245
Change-Id: If2b96845a010f2d05c610970257d898f32ccacb7
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
a0fad3ba06d0352f640532e69ed3d540b3795535 19-Sep-2014 Selim Cinek <cinek@google.com> Optimized and improved the status bar performance a lot

Instead of clearing the Statusbarwindow buffer in the beginning
we now draw the scrim with mode SRC and therefore a whole screen
of overdraw is saved!

Bug: 17287256
Change-Id: I29f14a2c3d4cb087c422ae6f486d23d7f8ec173b
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
813552cc27cbeac366166cdda82fd813c8458bbf 19-Sep-2014 John Spurlock <jspurlock@google.com> When dozing, re-enable falsing threshold and log events.

- Reactivate our configured keyguard falsing swipe threshold
for secure keyguards, but only when dozing.
- Add DozeLog helper to capture/maintain interesting events
about the doze + unlock process, enabled by default, but
only on devices that start dozing at least once.
- Dump summary counts + logged events to dumpsys output.
- Pass notification pulse "instance" as an extra to the scheduled
intent, so we can log accordingly.

Bug:17496795
Change-Id: I7e88f93bfc967bdc06550cf1fe5e74d535edd774
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
b5245d8904160917942fe91fc8db7f1dfa098fc0 19-Sep-2014 Christoph Studer <chstuder@google.com> SysUI: Correctly compare MediaControllers

Instead of comparing MediaControllers via reference equality
(which is never true), go deeper and check whether the two
controllers are connected to the same IBinder.

Bug: 17571414
Change-Id: Id25d70be0a60d1900e977310dedcc7063552e018
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
3ad242df7214e946a9a99e83b991bc9be0e636a2 15-Sep-2014 Jason Monk <jmonk@google.com> Block QS in sec. users setup when simple

When simple user switcher is enabled block QS for secondary users
during setup.

Bug: 16782635
Change-Id: Ibc39c61675f8728d73a5f8ef04d0613ff36af909
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
5ff1d4f8482b48b71f09c268bf4830f78bfe7b77 15-Sep-2014 John Spurlock <jspurlock@google.com> Merge "Doze: Aggressively dial down notification-related pulses." into lmp-dev
190d026167401ed593924dd12ab6e134e2d08e94 14-Sep-2014 John Spurlock <jspurlock@google.com> Doze: Aggressively dial down notification-related pulses.

When dozing and buzz-worthy notifications arrive, don't follow
the LED logic with periodic pulses.

Instead, follow a simple decay schedule after the initial arrival,
pulsing only at 10s, 30s, 60s, and 120s.

The schedule is reset when a new notification arrives, but only
for the first three times, until either the pickup sensor is
triggered or the device exits doze.

Also:
- Make the notification trigger configurable.
- Centralize existing sysprop configuration into DozeParameters.
- Decouple vibration from debugging, make separately configurable.
- Remove "delayed" pulse concept, fold into new schedule.

Bug:17496795
Change-Id: I64fc1c862bcfa1c288a4fd91c9d17e3bff245add
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
a2f945e227d8059e3ff9c41676146b057cd7ddbe 15-Sep-2014 Selim Cinek <cinek@google.com> Merge "Changed the swipe up search affordance" into lmp-dev
92d892c0cd5462237f818b1129d936d95640e297 11-Sep-2014 Selim Cinek <cinek@google.com> Changed the swipe up search affordance

The previous card animation is removed and replaced by a animating
circle with a shadow. Also fixes several cases where the card could
either get stuck and the affordance was not launched.

Bug: 17457300
Bug: 17444236
Change-Id: I005313a1dbe63d338490e6100dd3bd01e35687ba
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
416493bf66dff0aa7fcd9ea505ed10dbff1f2906 13-Sep-2014 Jorim Jaggi <jjaggi@google.com> Fix jank while unlocking and security is set

- Delay showing the bouncer and playing the entrance animation for a
couple of frames.
- Do not disable back button on the normal Keyguard. This makes the
entrance animation nicer and fixes some jank due to the need to
draw into both windows.
- Prevent setPadding(...) call when nothing changes. setPadding would
invalidate the padding for the whole view hierarchy, which results
in a slower measure() when setting the window to invisible.

Bug: 17419960
Change-Id: I4a239d4af40ad86875e4a0dd08473f19a5c9b961
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
2175e9c366998ed7bd1a4501b94a02f4f49b932c 13-Sep-2014 Jeff Brown <jeffbrown@google.com> Add support for dozing after screen off.

On some devices, we want the screen off transition to complete before
we start dozing. Added a new config.xml attribute config_dozeAfterScreenOff
to configure this behavior.

Defer starting dreams until the display is ready.

Fixed some minor issues in the system UI doze service when setting the
display state.

Bug: 16187655
Change-Id: Ib1bc60de5457166f4b4880732db5df989dda67a4
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
d41083ad06f63e335a1d1a1d5050ed3646f4fd35 12-Sep-2014 Jorim Jaggi <jjaggi@google.com> Attempt to fix invisible Keyguard #2

Bug: 17439581
Change-Id: Ib38d9be3271081b33c23b3b17b2ed7790c71729b
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
5262fe3a1ac2b0a603fe7f478176c1ef9fd3a574 12-Sep-2014 Jorim Jaggi <jjaggi@google.com> Merge "Add massive logging to investigate blank Keyguard" into lmp-dev
b01287fbfb548da2efb4f0e42bdcbdd4d1c950da 12-Sep-2014 Jorim Jaggi <jjaggi@google.com> Add massive logging to investigate blank Keyguard

This CL needs to be reverted after the issue is fixed, as it clutters
the code a lot.

Bug: 17439581
Change-Id: I548fdd73bbcd6d6ce727901f9dcd9f3f7268db9d
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
d06aa570374ecfe5c707140a12a309b1b7c07e08 10-Sep-2014 John Spurlock <jspurlock@google.com> Doze: Introduce a pulse period function.

Instead of pulsing every 30 seconds to mimic the LED, use
a function that pulses more frequently for new notifications,
decaying to a slower pulse, and eventually stopping.

Specifically, the step function for the interval is:
- 10 seconds for the first minute
- then 30 seconds until the five minute mark
- then 60 seconds until the 30 minute mark
- then no pulsing at all

- Since we pulse more frequently on new notifications, remove
the "multi-pulse" concept.
- Move all doze-related duration parameters to a new helper,
backed by config, overridable by sysprops, include in dump.
- Wake up from dozing when hitting volume keys during a pulse.
-
Bug:17393939
Change-Id: Ica86f08b25c738338fced165c77faf3dfccd0343
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
8b12f22bc1f654d0afe1a5588ed3667428b305c8 09-Sep-2014 John Spurlock <jspurlock@google.com> Doze: Wake up on touch, fade between states.

- When dozing, the first motion event triggers a wake up.
- Fade the backgrounds to ease the transition out of doze.

Bug:17167296
Change-Id: I5615ca0839dfa3ed2cf3001baf407c707f0676d5
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
f219dad7e575c336ffa89f806a8e6827c6319267 09-Sep-2014 Selim Cinek <cinek@google.com> Merge "Avoiding heads-up when accessibility is turned on" into lmp-dev
a8fefa54bdf273fa4d445873e4ab053c577dd607 08-Sep-2014 Selim Cinek <cinek@google.com> Avoiding heads-up when accessibility is turned on

Bug: 16017019
Change-Id: I08ec75e6b3296eefb9ae5e8fdc9f8dd6c4ad4816
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
92cb37a027913c2cb971829ad198614aceeeeeb1 08-Sep-2014 Jorim Jaggi <jjaggi@google.com> Merge "Start all resolver activities after keyguard is gone" into lmp-dev
95e71085e2d6f9482679a2a5c34d3d7fbc7d39c6 08-Sep-2014 Jason Monk <jmonk@google.com> Merge "Add VPN Key to signal icons" into lmp-dev
85dc23cc696d4c5de4619da317c16c5a2b49a62a 08-Sep-2014 Jorim Jaggi <jjaggi@google.com> Start all resolver activities after keyguard is gone

Bug: 17417099
Change-Id: I30b154067b1c4cbca09af49a4763f9cf5fdc19e6
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
dfafca76919808db583fbe53765b6358ee955122 05-Sep-2014 RoboErik <epastern@google.com> Merge "rename add/removeCallback to register/unregisterCallback" into lmp-dev
14f717a506a0d22facbec07386b06634e0c6a8ee 05-Sep-2014 RoboErik <epastern@google.com> rename add/removeCallback to register/unregisterCallback

bug:17390821
Change-Id: Id610b481083686dba2a28b6c7c47b747f89eef4f
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
8e2128ba4fe4d11e2e9f9d3bd062088647fe7357 05-Sep-2014 Christoph Studer <chstuder@google.com> Merge "SysUI: Sort status bar notification icons" into lmp-dev
3128f12f216ef481b5d03892b35706cfeec26d7c 03-Sep-2014 Jason Monk <jmonk@google.com> Add VPN Key to signal icons

Since the notification is going away, this gives a persistent
icon to indicate that VPN is active.

Bug: 16153201
Change-Id: Ic2ca7a332817967b76871bd0800d6f0a77a295cd
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
668c8970ffc4888b1d3b4d99d3f84b8a92b328bb 05-Sep-2014 Christoph Studer <chstuder@google.com> SysUI: Sort status bar notification icons

Bug: 15761406
Change-Id: I64884319014d6fa3008c0db4060db7b9b066b6d7
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
fdd04d42d2a0fe71236ba0a611ab550f52d8dd35 05-Sep-2014 Adrian Roos <roosa@google.com> Merge changes Ibb63814e,I0322b1e6 into lmp-dev

* changes:
Prevent full shade guesture from doing the wrong thing
Add current user announce to MultiUserSwitch
3ad4e3a45bbe44129b14c4d391431e44f1e04f0c 02-Sep-2014 Chris Wren <cwren@android.com> Honor per-app sensitivity setting.

Settings are stored by NotificationManagerService in the policy file,
and are communicated to NotificationListeners via a hidden API on the
RankingMap object.

Bug: 16324353
Change-Id: I2d5cf6782273744cbf9b309dec76780cc0a4c39e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
aee70462c20e2c8c040c0032aa91c850812d8dcc 03-Sep-2014 Adrian Roos <roosa@google.com> Prevent full shade guesture from doing the wrong thing

Also prevents us from getting into a state where it would
do the wrong thing previously.

Bug: 15934899
Change-Id: Ibb63814e80c50e4ccf65ef48d2b07cbe3a200e78
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
0c06d6bff170eb09a93290ac2d148f10d3597b3d 03-Sep-2014 Jorim Jaggi <jjaggi@google.com> Merge "Status bar iconography updates" into lmp-dev
5172dc2f36f9c417befd0957ce2ae20f9d083a88 02-Sep-2014 Jorim Jaggi <jjaggi@google.com> Status bar iconography updates

- Use new assets for location, flightmode and "more" notifications
icon.
- Update icon size and clock to spec.
- Change from fixed width of the icons to WRAP_CONTENT, so they look
more evenly distributed.
- Adjust subpixel rendering of battery icon to match other vector
icons.

Bug: 16161255
Change-Id: I0a80f223b7d532bc53a201cff37b8f1cb09f08c2
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
d09def75110ea9833e3985ce33a878a471a8a0dc 02-Sep-2014 Jorim Jaggi <jjaggi@google.com> Fix outdated time when turning on screen

Force a synchronous update of the clock view when turning on the
screen. Also wait for the Keyguard window to be drawn when turning
on the screen.

Bug: 16904617
Change-Id: I38f78a38cfe35ccd067cd420d2bad626bd955ad6
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
06d551ac62c2f2fbaff43c83e327070428d28cd3 02-Sep-2014 Jorim Jaggi <jjaggi@google.com> Use separate icon group for signal/battery in QS header

This reverts the terrible hack that reattaches the system icons when
expanding QS. This primarily fixes that the alpha of the icons was
wrong when closing the shade, but also fixes flickering when expanding
the shade.

Bug: 17338013
Change-Id: Ifcbe03eca43ed7639059734e23d740c1b8a7a9de
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
d9acca5c8ee648a3b67050b28f85214dbad1aeda 01-Sep-2014 Selim Cinek <cinek@google.com> Stabilized the animation when going back from the locked shade

Now, independant of the notifications the shade correctly animates
back from the shade locked when clicking on the bottom.

Bug: 17345758
Change-Id: I40f6cc65d4ceb4357f648192287c08acddffdcd9
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
4775109ec1e08092befa836078ecc76eee773e33 29-Aug-2014 Chris Wren <cwren@android.com> Merge "Disable lockscreen notifications for secure users on upgrade." into lmp-dev
cd8f4f71fc75b4f57d21c4e9f80f1107101ca369 28-Aug-2014 Chris Wren <cwren@android.com> Disable lockscreen notifications for secure users on upgrade.

Add a notification for those users that teaches them how to re-enable
the notifications.

Bug: 15934899
Depends-On: Ie0bcc207c4f331def207e588bbad36b8986fe114
Change-Id: I4a169e268042cfcaa4ad80cdf205904f9c90e76d
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
2c33d5dcae50ab1a2a6baa765ebe999a12bb7047 29-Aug-2014 Jorim Jaggi <jjaggi@google.com> Only dismiss Keyguard with space when screen is on

Bug: 17206291
Change-Id: I7fd9c77a0810bb71c0e4193ab121398e8e78d43b
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
746f7facf2c5f9a7362387806b5926b951bb024a 27-Aug-2014 Jorim Jaggi <jjaggi@google.com> Start intent chooser after Keyguard is gone

If we have an intent chooser on the camera intent, we need to launch
it after the Keyguard is fully gone because the ResolveActivity would
finish itself if it is launched behind the Keyguard.

Bug: 16570873
Change-Id: I2fdb4975fa0a6510e8853c6042383089570ec1f5
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
567ce199513da3f55c1addbd153ee1d60c7b8ea9 27-Aug-2014 Jorim Jaggi <jjaggi@google.com> Merge "Fix missing status bar icons" into lmp-dev
21e8f419a8b92b700237404b4c69d2aa601dcba6 27-Aug-2014 Jorim Jaggi <jjaggi@google.com> Fix missing status bar icons

Bug: 16481924
Change-Id: I7df734519d112e2b0240f87940f9350bef5ea9df
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
98f8a04620cb5f5b381f782e76fc9dfdaae982f1 27-Aug-2014 John Spurlock <jspurlock@google.com> Merge "StatusBar: Add new icon slot for cast status." into lmp-dev
96fe98d0c0bf9a3126da0e14d05463220ac276ab 27-Aug-2014 John Spurlock <jspurlock@google.com> StatusBar: Add new icon slot for cast status.

Bug:17275998
Change-Id: I7e80b3d76480fc2fdcb3aa5d445d895829d341d0
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
19c8c708f16546fc75ae12659aa190f5e3dfbb52 25-Aug-2014 Selim Cinek <cinek@google.com> Added anti-falsing logic to the keyguard.

Newly enforcing a threshold for the following cases:
Unlocking, Dismissing Notifications, Swiping Down Quick settings.
Also increased the affordance threshold slightly.

Bug: 15433087
Change-Id: I723346dedf9ae0e3f8b103182992ab572fc394b9
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
7f05a6963756c3dc5082f48ad3c4de6efe99a158 26-Aug-2014 Christoph Studer <chstuder@google.com> Merge "SysUI: Uprank current media notification" into lmp-dev
c6eed84855e63ef023b83116eb95185816dcba5f 25-Aug-2014 John Spurlock <jspurlock@google.com> Doze: Only doze as owner.

The SystemUI notification doze implementation needs to run in the
main systemui process.

Bug:16900344
Change-Id: I8b21609087a4bb971bff36fb463eb2482190cd8f
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
2e731b5d90b956a91390051f803fa928c5fd9dee 22-Aug-2014 Christoph Studer <chstuder@google.com> SysUI: Uprank current media notification

Bug: 16008728
Change-Id: I3a0bd21b5f8cd5295dcacc2f40092dbaa2fc88e4
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
ece4a834e8ae6d7e7cf09cd3134a2acd8f8427bd 22-Aug-2014 Selim Cinek <cinek@google.com> Merge "Fixed focusing order for the notification panel and QS" into lmp-dev
e32010ac6120278fea41e49b9832af79b1b5463e 20-Aug-2014 Selim Cinek <cinek@google.com> Fixed focusing order for the notification panel and QS

Also fixed multiple bugs regarding focusability, where
some elements were focusable even though invisible.
The buttons, QS-tiles, QS-detail buttons, QS Header
icons and other elements now have the correct focusability
state.
The rect indicating accessibility focus is now also
correct for dual label tiles, instead of just the whole
button.
Also fixes an ordering issue where notifications were above
the camera circle when launching.
In addition the focus order of the notifications now work
correctly.

Bug: 15569922
Bug: 15682123
Bug: 17159249
Bug: 15690386
Change-Id: Ie9f7ae73397b41ce2e9a4060699301fdef3a0d01
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
d96179e02d157af92769e5c4adf584f05063b194 21-Aug-2014 John Spurlock <jspurlock@google.com> Don't do ambient display when in power-conservation mode.

Finish SystemUI's doze dream early when we enter saver mode.

Bug:17164834
Change-Id: I79153be34da8c4b6447acf5dc9f93364906b2bab
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
8fbcaacddaf37fd400797f032412e821ef628547 21-Aug-2014 Jorim Jaggi <jjaggi@google.com> Merge "Accessibility actions for lock/phone/camera icon" into lmp-dev
b2e104f8a26e00cd2437637c7cc2d3133981ef2f 15-Aug-2014 Jorim Jaggi <jjaggi@google.com> Accessibility actions for lock/phone/camera icon

Bug: 15859203
Change-Id: I02c988f4ed985e4381321aeca89cdfee68f44697
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
163676496b0ad0514932103b8644f9fcab7f58a5 20-Aug-2014 Jorim Jaggi <jjaggi@google.com> Merge "Remove battery color when in power save" into lmp-dev
708f7721e910d2c1fe984d2b8a6bf10565a00a61 20-Aug-2014 Jorim Jaggi <jjaggi@google.com> Remove battery color when in power save

Also changes to color to our consistent warning color.

Bug: 16849393
Change-Id: I71737c1b7c18af569b5f4e957b006db579266cd1
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
2d268f3508e45ab87f8ced0194595c42daf6e7d5 20-Aug-2014 Jorim Jaggi <jjaggi@google.com> Merge "Don't close panel when in QS and all notifications go away" into lmp-dev
ba94f883c3611b107926dd505778f48af0f8dcd6 20-Aug-2014 Jorim Jaggi <jjaggi@google.com> Don't close panel when in QS and all notifications go away

Bug: 16988161
Change-Id: Icd21f5ce4b7485c8a83616276b47ea1b08553c21
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
18bd04fdfed1c3c2a0289561b218831efed3f7ab 15-Aug-2014 Jorim Jaggi <jjaggi@google.com> Don't allow to scroll to QS if not provisioned

Bug: 15593900
Change-Id: I54ae38f7f2c82e26b859ba7b7b3a5e096e18289e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
665366a3055c7baa36242b8c92c5ff85b1c3394b 08-Aug-2014 Michael Wright <michaelwr@google.com> Change 'disable hardware keyboard' to 'show input method'

Previously it implied that the hardware keyboard would be disabled,
but really the toggle would just enable showing the IME even if a
hardware keyboard was present. Changed the string and swapped the
semantics to be more clear about the behavior.

Bug: 14066881
Change-Id: I9c8a7eb98b5277f1d09cc19fa7402e9b4cf51d92
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
815e057b9bb19acd77bf01ecb690b6e9fa85902e 12-Aug-2014 Jason Monk <jmonk@google.com> Switch exiting screen pinning to recents+back

When accessibility is on, still use just recents.

While here fix strings to be less wrong. Still need finalization.

Bug: 16649417
Change-Id: I94debe9471d5132f1f662543cc98cbde638c758d
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
d692dd0d806e05c179af3beee7508ce311977abc 14-Aug-2014 Jorim Jaggi <jjaggi@google.com> Disable DragDownHelper in QS

Leads to a weird state and doesn't really make sense.

Bug: 16824757
Change-Id: I8a213d8151b58027309e79e5c010ff11946b7ca1
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
84a3e7aacf6dbeccf4afb36a29f2f069dca7d486 13-Aug-2014 Jorim Jaggi <jjaggi@google.com> Use different unlock animation when going to full shade

Also fixes a bug that the notify flag was not reset, and fix the
transition for the phone/camera affordance (in these cases, no
animation is needed).

Bug: 15991916
Change-Id: Idbb4fa40f86bda597cd66cc38da838ef4f75514d
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
72eb2ae21bc8d1788ffc4445b39ede87bc91cdc4 13-Aug-2014 Jorim Jaggi <jjaggi@google.com> Merge "Lockscreen launch animations" into lmp-dev
059a49f8345f4717f48bab21dd04a7af8f9d27ad 13-Aug-2014 Selim Cinek <cinek@google.com> Merge "Reset the notification expanded states on screen off" into lmp-dev
8de4311c51229efbe2f2d0afbf298982c5cadd96 11-Aug-2014 Jorim Jaggi <jjaggi@google.com> Lockscreen launch animations

- Get rid of ActivityManager.dismissKeyguardOnNextActivity, which was
used for two different things: Dismiss keyguard from somewhere else
(not really necessary anymore), wait to actually dismiss keyguard
after the window behind is drawn. Instead, introduce
keyguardWaitingForActivityDrawn(), and change the semantics where
necessary.
- Make wallpaper_close_enter consistent with task_open_enter and the
Keyguard launch animation.
- Close the panel even on lockscreen when launching a notification.
- Block notification shade updates during the collapsing motion so
notification don't play the disappear animation immediately after
having launched a notification.

Bug: 15991916

Change-Id: I133c177b84e926c87c1a404ba93d633593fec3ab
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
4ebcdfdd4294cc52a68fb150bc7a34f005290ea3 12-Aug-2014 Adrian Roos <roosa@google.com> Implement final lock now affordance

Also removes the GlobalAction. Also fixes the animation not
being applied to the background of the affordance.

Bug: 15344542
Bug: 16952834

Change-Id: Ie790b40a5d1ba10fa42a793c8cfeaf6687d17c61
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
ccd14fbcfe613eae71f0e00c39f38e5125749389 12-Aug-2014 Selim Cinek <cinek@google.com> Reset the notification expanded states on screen off

To avoid having expanded notifications sticking around

Bug: 16005498
Change-Id: Ib5b184fa7eb67ada85305e7ca4afad68a1514327
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
5fd872e8ea44ffcd4fce1d1196736dca4f270508 12-Aug-2014 Adrian Roos <roosa@google.com> Hide panel while changing brightness

Bug: 15408618
Change-Id: Ic1f934f9ddbb582453b4b52a4b4402c71ac79654
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
bee465f9e14d9bdc15cdd9c87c1f27a3cf90ecc4 12-Aug-2014 Selim Cinek <cinek@google.com> Merge "Fixed a ordering bug with the notification shade" into lmp-dev
becf5e30edbc8e00928bd1d473fadf2bb456baec 12-Aug-2014 Selim Cinek <cinek@google.com> Fixed a ordering bug with the notification shade

The dismiss view was not always guaranteed to be on the bottom,
which could lead to a weird hole.

Bug: 16900568
Change-Id: Ib46ec0011dcdd47a8f678b5e3f9756f6a128f286
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
b1f749906f5c27114d02ea0c3f8ce0dcea08fd3f 08-Aug-2014 Winson Chung <winsonc@google.com> Initial changes to support swiping on the nav bar to switch affiliated tasks.

- Actual sideways animations to come once they've been finalized

Bug: 16846966
Change-Id: If6d40495498197a86a98f9b03f54ced3d2baf64a
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
bceed060f0090a4f86418c4515128d5ec8ebdd4a 11-Aug-2014 John Spurlock <jspurlock@google.com> QS: Fix some QS layout issues.

- Make the tile list configurable for testing.
- Support an external tile backed by a sticky broadcast intent.
- Ensure tiles clean up properly when no longer needed.

Bug:16818269
Bug:16822505
Change-Id: Ie24f878aae0d19c7f1feca4c519d10667023bef3
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
559d959b99f4daafc8befb2d9a8f2d85d771bf49 09-Aug-2014 John Spurlock <jspurlock@google.com> Doze: Pulse once when a pickup gesture is received.

- If configured, wire up the default sensor of TYPE_PICK_UP_GESTURE
as a signal to pulse (once) when dozing.
- Extend the duration that a pulse is visible.
- Skip the pre-pulse delay for the sensor signals.

Bug:15863249
Change-Id: I70e39fc5626fef5570ef74464c919427e0721c32
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
98f8530af3bb8636b7b173443c90686c485205d6 07-Aug-2014 Jorim Jaggi <jjaggi@google.com> Animations for Keyguard user switcher.

Bug: 15757197
Change-Id: Ia3fcc0f771cea37fc2d57181d859373c423954a7
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
bf1899e64c0fbb0fa211d883134012299fe79f41 07-Aug-2014 Jorim Jaggi <jjaggi@google.com> BG protection for user switcher on Keyguard.

Also fixes the position.

Bug: 15757197
Bug: 15545213
Change-Id: I9fab98652ab1ccad4e02d5cfa17b212a72a0a0b3
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
04e5f72cdb7bbe494e4b330b393388d1e0b18f74 07-Aug-2014 Adrian Roos <roosa@google.com> Merge "Update User switcher to new spec, implement adding users" into lmp-dev
ccdff62159b41ab130a8f90d30edb9b9542d8c72 06-Aug-2014 Adrian Roos <roosa@google.com> Update User switcher to new spec, implement adding users

Also enforces restrictions on when guests can be added.

Bug: 15545213
Change-Id: Ia03747fbcc39f2b1b20876463c85afbac5057878
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
cdcd487abad10f728f0542accc42a31d1f7fedac 06-Aug-2014 Winson Chung <winsonc@google.com> Fixing issue where home was triggered on top of other activities being launched. (Bug 16823617)

- Also fixes issue with the Recents hide message being clobbered
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
7e6809ad643fa4a70cfb647191731c68f07789cd 06-Aug-2014 John Spurlock <jspurlock@google.com> Common shade width across devices.

Use 400dp as the visual width of the shade across all devices
and orientations, except small device portrait.

Since the width is now dynamic across orientations, update the
necessary views in SystemUI on rotate.

Remove obsolete styles + resources.

Set max QS columns to 3 on all devices, due to the newer shade
width.

Bug:16825515
Change-Id: Iff171549a79bc318a4d585a2d9ea2af9bc686922
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
75847b98f39e521a57042c50e69be9e142788d32 29-Jul-2014 RoboErik <epastern@google.com> Add display metadata and change strings to CharSequences

This adds some fields for display purposes to MediaMetadata and also
makes the default for all text CharSequence instead of String. Also
adds a hidden method for getting a Description for the metadata.

bug: 11708293
Change-Id: I0ed58d9ac3aeff41325c4ccf5fed0539bbf03b4d
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
dd5b88684d61abb8ba762ef21c9658481795c2c1 05-Aug-2014 Jorim Jaggi <jjaggi@google.com> Navbar scrim when in QS

Bug: 16644711
Change-Id: I91d823671919068500a29878f3dfe9b481000a58
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
f701954d4eca5b6d62c819ed934397f2bc152ee2 31-Jul-2014 Jason Monk <jmonk@google.com> Disable heads up when DISABLE_NOTIFICATION_ALERT

When notification alerts are disabled also turn off heads up. This
will fall back to the old behavior, which can allow the fullscreen
intent to be triggered instead.

Bug: 14157742
Change-Id: I4b6e3d9383894b1674d600c374ff8968ca53513e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
f641174eb9a41c9d340e350624533b36e265402f 05-Aug-2014 Jorim Jaggi <jjaggi@google.com> Revert "Clean up hiden notifications on Keyguard handling"

This reverts commit d9267cae958b572b715d22a4905b18749a369c9f.

Too much performance regression - need to figure out something else.

Change-Id: I2d399add74402e1c036235ec095a053a6d5b828e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
62a7c831d54d0a552f059e70176ccf7ac77e57f4 05-Aug-2014 Jorim Jaggi <jjaggi@google.com> Clean up hiden notifications on Keyguard handling

Change-Id: Ifeabfdd1ed8c11b0796cc79bba81752518921be3
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
a2052ea218386877e6d5d2136483a62b2b31f774 05-Aug-2014 Jorim Jaggi <jjaggi@google.com> Empty notification shade state.

Bug: 16483230
Change-Id: I7953a7954cae12124146f462ed8c0dc44769a38f
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
f479792e05485a536c3fa68db9d8a71f34591b78 04-Aug-2014 Jorim Jaggi <jjaggi@google.com> New swipe-up assist animation for L.

Bug: 16307470
Bug: 14623152
Change-Id: Ib7e0381d118bda177981cc56ec9a8fb418dfb0e3
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
cb566aab57cafb69c628809fc0a0ffa2151c7d6e 04-Aug-2014 John Spurlock <jspurlock@google.com> Doze: Follow the notification light.

- Send the notification light info up to SystemUI from NoMan.
- Doze mode will now periodically pulse the display (once)
if the notification light is active.
- Change "tease" terminology to "pulse", which is the singular.
Maintain the multi-pulse on buzz-beep-blink for now as extra
emphasis.
- Scrim controller now always takes number of pulses as an arg,
to support a single pulse (used for notification light, and
eventually pickup once available).
- Dial down the display brightness when pulsing.

Bug:15863249
Change-Id: Ifb208a27e82b66cff1d0c04e5b7f758098ea29cf
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
3d5f551cd5905c835bb789406763764a8a9a73de 25-Jul-2014 Jason Monk <jmonk@google.com> QS: Add security footer.

Adds a footer with notification of when a device owner is present
and when a VPN is active.

VPN portions still need some work for detecting when/what is
active, disconnecting, and launching the current VPN app.

Bug: 16153201
Bug: 14430719
Change-Id: I546f45895685b0120e03892539041b41430bb981
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
d54da8a0c86c4214084b359fe97eebb111951553 04-Aug-2014 John Spurlock <jspurlock@google.com> Doze: coordinate keyguard status bar visibility.

Play nice with recent NotificationPanelView changes that
also drive its visibility.

Bug: 15863249
Change-Id: I60021f415089d5508af7fe9ec792a2871a52910d
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
ae44128776410abd11bd06ae700db9cc4606a773 01-Aug-2014 Jorim Jaggi <jjaggi@google.com> Animate public/private notification layouts

This change move the boolean whether we hide sensitive contents into
AmbientState, which makes it consistent with the other stack states
and allows for a orchestrated transition between public/private
layouts. We need this transition when going into the full shade.

Bug: 16291973
Change-Id: I379a6119b5b73eca900a4a2ba9d5ec95b293e487
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
dbc3dce886cb7abba23a9f18e60d0f5af5c93226 01-Aug-2014 Jorim Jaggi <jjaggi@google.com> Handle go to full shade motion for redacted case

Bug: 16291973
Change-Id: Idc5ea93548e17ef9cd2d7c36416b293950554703
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
1bb480a3a4ce2ce63c5d09fa7f5cc38ec160ebf4 02-Aug-2014 John Spurlock <jspurlock@google.com> Battery saver: new policy changes + SystemUI tweaks.

- Service policy changes: allow the user to turn off (snooze)
saver mode below the auto-trigger level. Plugging in the
device always exits saver mode.
- Default trigger level is now 0 (never) instead of 15.
- SystemUI now also listens to a new POWER_SAVE_MODE_CHANGING,
since waiting for _CHANGED can take seconds.
- Move shared feature description text into the framework so it
can be shared.
- Tweak dialog title + action strings.
- Remove trigger-level from SystemUI, it no longer needs it.
- Add the ability to turn off saver mode directly from the
notification.
- Migrate saver confirmation dialog to common system UI dialog
helper, and add a few convenience methods.
- Fix bug where the status bar area would be orange over the keyguard
in SHADE_LOCKED mode.

Bug:16214395
Change-Id: I3d1ded1eec9e63e7d97469486f6a320e1bebbccd
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
f7ae44258fdcb452119936dff449c2d99fd8ece8 01-Aug-2014 John Spurlock <jspurlock@google.com> QS: Back button closes detail (if showing)

Bug:16649931
Change-Id: I9748a0793e6a71d833f7c7f884c189e16cccb8f9
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
6ff837a95b864cebb80626f33bd17151f58043e1 31-Jul-2014 Jorim Jaggi <jjaggi@google.com> Animate clock when going to SHADE_LOCKED or SHADE

Bug: 16291973
Change-Id: Idf2fa7bd26800be4df38d99993533069120e7075
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
396c07932db1ab33543105d327ba1938d2486d2f 01-Aug-2014 Chris Wren <cwren@android.com> add event logs to track heads up status.

Bug: 16344259
Change-Id: Ib06c2473e6af7999b27723428a1182170129fdcd
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
70d26c2d9c448615ac8019a8885881d83b97006e 31-Jul-2014 Christoph Studer <chstuder@google.com> Merge "SysUI: Respect "no notifs on lockscreen" setting" into lmp-dev
1529e019e1aae7f9db1c850d9940b01d4067d700 31-Jul-2014 Christoph Studer <chstuder@google.com> SysUI: Respect "no notifs on lockscreen" setting

Setting the stack scroller to INVISIBLE didn't work. Now we just consider
all notifs as "not visible on lockscreen" instead.

Bug: 16650758
Change-Id: I4259c6ec2f663fc988377b8d5a259d6a0f827178
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
61d37f6d1c755263cbc4d9732d9d960e5bf8503d 30-Jul-2014 Jorim Jaggi <jjaggi@google.com> Implement nice QS expansion transition in Keyguard

Bug: 16010455
Bug: 15192264
Change-Id: I764652e73ea8e87ad12b9241e038bff843a0a221
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
4538027dedbe7ebfc884ca35d20522a2a21a42d4 30-Jul-2014 Jorim Jaggi <jjaggi@google.com> Factor out keyguard components of StatusBarHeaderView

Make the header on keyguard a separate view, and move all Keyguard
components from StatusBarHeader into KeyguardHeaderView.

Change-Id: I1e2400d5c91898df3824fd8f27b10750d576a62c
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
c8db24bc32034accf1eb614c8d68bb80b41ae73f 25-Jul-2014 Christoph Studer <chstuder@google.com> SysUI: Display group children when no summary is present

Also move common notification filtering into NotificationData
such that clients won't have to do it themselves anymore.

Probably also fixes a couple of multi-user issues.

Bug: 16302692
Bug: 16224431
Change-Id: Ic3c11cd1a224044486f5544e068ca5297d30c521
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
e0b8c378b7b4881396346116a9c1d633d1a4eb9f 28-Jul-2014 RoboErik <epastern@google.com> Merge changes I87f551a7,Icb8dc76c,I66fbf585,I0c9506e7 into lmp-dev

* changes:
Add context to MediaController constructor
Add getPackageName to MediaController
Expose a way to set a PendingIntent for restarting playback
Finish plumbing for launch intents in sessions
031149cd5f22bd858142633c7a763450f42793f7 26-Jul-2014 RoboErik <epastern@google.com> Add context to MediaController constructor

This also adds a convenience method to MediaSession to allow getting
a controller instead of having to create and cache your own.

bug:16561220
Change-Id: I87f551a7474e71f1cf2f07e0e541c3a4515cd977
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
aa4e23bbb36994708ba72c5f4c83255025d99e07 25-Jul-2014 RoboErik <epastern@google.com> Add getPackageName to MediaController

This removes the MediaSessionInfo class and adds a method on the
controller to get the package name. This also converts code that
depended on the session's UUID to use the token for comparison or
the Tag in the case of test code that needs a string identifier.

Change-Id: Icb8dc76c70e23e897da8fd07651c524b96372bf9
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
eceda3d83814e20cabddc4f0755d475fa2f3d8ff 21-Jul-2014 Dan Sandler <dsandler@android.com> Reintroduced the clear all button

A new text button is added to the bottom of the notification list
enabling the user to clear all notifications.

Bug: 14826666
Change-Id: I34dcccb59346798cca321bc1a19252b00e7c5689
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
4e0880e395d37af03b1d635b847aa58569888277 25-Jul-2014 Jorim Jaggi <jjaggi@google.com> Synchronize album fade away with Keyguard dismissal

Change-Id: I7aaa6213f6070f0db14131a248a62b317309a3bf
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
48bc36af053885daf091bcca6d99411e0438ba83 25-Jul-2014 Jorim Jaggi <jjaggi@google.com> Handle cases for going to SHADE_LOCKED

- When the user drags down in the empty (not on a notification), we
scale up the clock in the interaction.
- If there are no notifications at all, we stay in KEYGUARD and let
the clock spring back.
- Rubberbanding is different for the case when there are no
notifications or only low-priority notifications, to indicate what
the user can expect when they lift his finger.

Bug: 16216907
Change-Id: I69d6552c96ef9e3d0d0b526bbd232d68bef47960
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
c7dea6ee9b06369b0c0c3773dc2e40409ce86a8e 26-Jul-2014 Jorim Jaggi <jjaggi@google.com> Implement next alarm info in expanded QS.

Also make the representation of alarm on lockscreen consistent with
QS. In addition, fix a bug where pending app transition was overriden
to make the alarm click interaction look nice.

Bug: 15392951
Bug: 15856205
Change-Id: Iacdf6a38c5c1a7484b4b328c9a3fa4d25e071c64
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
aa2a40d57be6122292f8439940f24369806767fb 26-Jul-2014 John Spurlock <jspurlock@google.com> am 8ebe80a3: am c9dfaff7: Merge "Doze: Update tease signal to buzz-beep-blink from NoMan." into lmp-dev

* commit '8ebe80a3919861e36988f91ef95be2efb4e5836d':
Doze: Update tease signal to buzz-beep-blink from NoMan.
0f43d59ea4511b7c982016e21bd471ce56cd35a1 25-Jul-2014 Selim Cinek <cinek@google.com> am c413de83: am 4f5e6929: Merge "Reintroduced the clear all button" into lmp-dev

* commit 'c413de83001d3a104a2653f60371a58acc9eaa6e':
Reintroduced the clear all button
4459b7c7ef6f39d03d45d20e05fbbf774ab7454a 25-Jul-2014 Jorim Jaggi <jjaggi@google.com> am 2cfbb96e: am f9453e20: Synchronize album fade away with Keyguard dismissal

* commit '2cfbb96ed1c1dd744c32455fde3589cb810f8643':
Synchronize album fade away with Keyguard dismissal
0051842510eebc96c4ef2aa8ff39fec4dc05d8f1 25-Jul-2014 Adrian Roos <roosa@google.com> am e626b700: am 29c97b8d: Update KeyguardUserSwitcher to use UserSwitcherController

* commit 'e626b700da9762e0fd11a401fa724fa4b2de12d3':
Update KeyguardUserSwitcher to use UserSwitcherController
d06a41d71b5a27b4ab73cd9a26e8293005d71ee0 25-Jul-2014 Selim Cinek <cinek@google.com> am 48f16d6d: am 13476f4d: Implemented new camera affordance

* commit '48f16d6d49c4446fefaa3b628006c849508e9ea8':
Implemented new camera affordance
cad5768e22e5132efb2e5179f4988a763c7a8d9e 26-Jul-2014 John Spurlock <jspurlock@google.com> Doze: Update tease signal to buzz-beep-blink from NoMan.

Inform SystemUI when NoMan buzzes, beeps or blinks. Use that
as the notification signal when dozing instead of trying to figure
out interesting panel content updates.

At some point, we should move the entire calculation up into SystemUI
itself, but that's too large of a refactoring to perform now.

Bug:15863249
Change-Id: I40e92334977e0676a1363774c2cbbf91d72ec8e5
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
723632ea1ae30b33e9c2055194a4464f00c48c61 23-Jul-2014 Adrian Roos <roosa@google.com> Update KeyguardUserSwitcher to use UserSwitcherController

Also wires up the button to expand the keyguard user switcher.
Also respects the EDU simple switcher setting.

Bug: 16043126
Change-Id: I58871ec3323b2cafcacbc747fec5f20c56172969
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
baa23274596246d03741457701ac515a73aa8818 08-Jul-2014 Selim Cinek <cinek@google.com> Implemented new camera affordance

Also fixed a bug in the touch logic where you could close the shade / hint
after going to the camera / phone.

Bug: 15126905
Change-Id: Iadfde56cb68f4048868eedec6bd3456f55823cd9
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
057dff05736cddeb24a38eec8c1339097cff7e60 23-Jul-2014 John Spurlock <jspurlock@google.com> am b3d83469: am 3524c495: Merge "BatterySaver: Make the bars orange." into lmp-dev

* commit 'b3d834695725aafcb79f75d7bc8e1bba1da3f7e3':
BatterySaver: Make the bars orange.
18b6790bdcfc96f8a09b2316cadea8a8a2c0423a 23-Jul-2014 Adrian Roos <roosa@google.com> am 70917abe: am ff3666ad: Kill flashlight when launching the camera from lockscreen

* commit '70917abeddb096dca993636020c80a1b2085dcc6':
Kill flashlight when launching the camera from lockscreen
0ff62e09116dd125fc36f7af5de7a0b60aaa789b 22-Jul-2014 John Spurlock <jspurlock@google.com> BatterySaver: Make the bars orange.

Bug:16203820
Change-Id: I85f700d30a90212202626fc10fb289aca7f2b688
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
1e1d6ac5412e542e857eaa317cfd1dafd000da0d 22-Jul-2014 Adrian Roos <roosa@google.com> Kill flashlight when launching the camera from lockscreen

Bug: 16357300
Change-Id: I6838ac405bb30047b076c8acb98bd124e8d00fd6
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
a3b8fb0780125aedcbe7801e467ca027e21139aa 22-Jul-2014 Jason Monk <jmonk@google.com> am 4a6da95d: am d8288538: Merge "Implement hotspot tile" into lmp-dev

* commit '4a6da95d7b966d77820c56a3c1bd814add177754':
Implement hotspot tile
f1e77e1d4d14bbb3e796f0c6c5a0f3de0e45e576 22-Jul-2014 John Spurlock <jspurlock@google.com> am f0f5e78b: am e017f0d5: QS: Hide Location, Cast tiles when showing secure keyguard.

* commit 'f0f5e78bc274363db3a859846f4d7c693233e8de':
QS: Hide Location, Cast tiles when showing secure keyguard.
657c62c31ecdade22f67f13102c2fb19765cbe13 22-Jul-2014 John Spurlock <jspurlock@google.com> QS: Hide Location, Cast tiles when showing secure keyguard.

Bug:15725186
Bug:15725223
Change-Id: I7c23d8c764f5712ee31d248f4d8fc6d35d0add97
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
a650c4075cfeab76ecb4e5ed9029469a3f4273ae 22-Jul-2014 Dan Sandler <dsandler@android.com> am 147a6767: am 9763de61: Merge "Old habits die hard." into lmp-dev

* commit '147a67677163a24bf1df6e207f466bcaab960081':
Old habits die hard.
eaeac08489956dd3c2eca5eb8a19283e034a9cd0 20-Jul-2014 John Spurlock <jspurlock@google.com> am 3897183d: am c297b9b3: Zen mode filtering should use new usage constants.

* commit '3897183d7bd884c4a01b22dccce75df48e93ab4a':
Zen mode filtering should use new usage constants.
51e4dc0a153bd0da197728ce6fe34df662b1cea2 22-Jul-2014 Jason Monk <jmonk@google.com> Implement hotspot tile

This tile enables/disables hotspot and will show up for 30 days
after hotspot is used.

Bug: 16234190
Change-Id: Iceb4842e021c27c2c4c18651bccdb12957055c3d
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
7b41467704f941b11af6aace3e40993afc7f6c6f 18-Jul-2014 John Spurlock <jspurlock@google.com> Zen mode filtering should use new usage constants.

Refactor stream-based calls to usage-based calls.

Bug:15279516
Change-Id: I3f7757d8123c14670e2ad5f8e6aa4e9803efe7ec
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
e9381b5e9ba9038c71bff9bb3b9a58ef82dc32cc 18-Jul-2014 Dan Sandler <dsandler@android.com> am e7dc5140: am 9b557a25: Merge "Actually show secret notifications sometimes." into lmp-dev

* commit 'e7dc51401bb6a0341c34ccc4b5b04902f0ba997d':
Actually show secret notifications sometimes.
1b71878e4ee94c958b7da68ff650b5712bcc7fce 18-Jul-2014 Dan Sandler <dsandler@android.com> Actually show secret notifications sometimes.

Factor out the "should we be hiding sensitive data"
predicate so we get it right everywhere.

Show visibility stuff in Notification.toString().

Bug: 16307122
Change-Id: Ifd16d073c4595add2ac3582ffc0d0179e55246e5
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
7dea0eeb06be592568ecbc372f36d44a9a3a77e3 22-Jul-2014 Dan Sandler <dsandler@android.com> Old habits die hard.

Bug: 16458225
Change-Id: Ie5edebbb406412ed5643fda65ab94e92a86b217e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
96fbfc4f570e868269b1606f10df7d44730add6d 17-Jul-2014 John Spurlock <jspurlock@google.com> am 649eea00: am 791c827c: Merge "Zen: Return of the alarm warning." into lmp-dev

* commit '649eea00d38cbbfdb9b2e6411124bf1d8764941b':
Zen: Return of the alarm warning.
3448d973bfe15bff4aa307721d99f2dc9e0ffb62 17-Jul-2014 Dan Sandler <dsandler@android.com> am 24b3cab7: am ce4dc71c: Merge "Album artwork returns triumphantly to the lockscreen." into lmp-dev

* commit '24b3cab7bf8d265d0807d77c4fe34b4b10e20555':
Album artwork returns triumphantly to the lockscreen.
89f060a1e0fa48c497855d061b5c9ec44bb576c8 17-Jul-2014 John Spurlock <jspurlock@google.com> Zen: Return of the alarm warning.

- Remove the term timers from subtitle, the term "alarms"
is now inclusive of timers.
- Resurrect the alarm warning, give it a more prominent
appearance if we can detect an overlap in a time-based
exit condition and the next alarm time.

Change-Id: I5d6d67694c7acc9e2a5a7c63e647069744a22cec
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
16128f4523a484084205aacc6200374ca3029467 21-May-2014 Dan Sandler <dsandler@android.com> Album artwork returns triumphantly to the lockscreen.

It is pulled from the metadata of the active media
session, which we fetch in one of two ways:

1. From a proper media notification, we can extract the
session token from EXTRA_MEDIA_SESSION.
2. If none of these is found, we ask MediaSessionManager for
any outstanding media sessions whose packages match an
active notification. These include legacy RCC clients,
whose notifications are oblivious to EXTRA_MEDIA_SESSION.

We then pull the album artwork out of the metadata and fade
it in on the lockscreen.

Bug: 15147533
Bug: 15135254
Change-Id: Ia967bfba310b6c792b14673872cb132ddd7052a5
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
8929a5f91b3de68656778022387f1dc0efe7d6c7 16-Jul-2014 Jason Monk <jmonk@google.com> am bc0f6147: Merge "Finalizing lock-to-app UX" into lmp-dev

* commit 'bc0f6147ddc6718a30d12b89d9a39e65c568ef28':
Finalizing lock-to-app UX
13f4917bb1f43141e15d53338e4b3707dd64ab4e 16-Jul-2014 Adrian Roos <roosa@google.com> am 66bee705: Implement real QS user switcher

* commit '66bee705e8237df03459e57b26b34af76df3c5ee':
Implement real QS user switcher
00a0b1f397557790cf9ab55fe06e72a96ebc5353 16-Jul-2014 Adrian Roos <roosa@google.com> Implement real QS user switcher

Replaces the stop-gap user switcher with the real deal.
Dimensions may need some further adjustments.

Bug: 15545213
Change-Id: I4399635c03553dac935049d5b8297fe5f5c1dc9a
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
72e57fdd1a03a8b1c7c03d8715eab20fc46aa10c 16-Jul-2014 Narayan Kamath <narayan@google.com> am eab505fa: am f9c79c63: Merge "Removed useless test"

* commit 'eab505fa8dc975c1a41caaec70b92093d6695a24':
Removed useless test
febcb9d42bb6b458a3bbe59730476518f5a252d7 16-Jul-2014 Jason Monk <jmonk@google.com> Merge "Finalizing lock-to-app UX" into lmp-dev
1ef80fe5905a19cf92f073163c187a96287335e4 14-Jul-2014 Adrian Roos <roosa@google.com> Make user switcher appear inside the QS panel

Bug: 15545213
Change-Id: I0f15214a7474ae5303c3af0b7ef6f6a11be572b8
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
7779bf1ce8243d9f856c05db3cc5a37a8227a970 14-Jul-2014 Jason Monk <jmonk@google.com> Finalizing lock-to-app UX

Simplifications have happened to remove the enter/exit layouts
and just use a toast to notify the user, and the in text icons
have been removed.

The enter dialog now has a checkbox to see if the lockscreen
should be locked on exit (since it isn't in settings anymore).

Also updated strings.

Bug: 15836599
Change-Id: I3ab685bf3672c8a7f9d83d12e81f0099968cdfde
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
1e6eb17a22056529601c8e413c2da0541d59d93b 13-Jul-2014 John Spurlock <jspurlock@google.com> QS: Introduce cast control panel.

Make cast controller more granular, at the route level, and
bind a common detail item panel to the available routes.

Fix tile icon, add connecting label.

Remove dialog presentation, no longer needed.

Add the new empty state, and add controller state to dump.

Found a bug in keyguard when in presentation mode, added
a workaround - don't crash when no owner info in keyguard
status view.

Bug:15833210
Change-Id: I19afec390eac2260bccf4a7064065b666b7bceca
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
486b78e42652466f6241eb87d5bed60040db7a25 07-Jul-2014 John Spurlock <jspurlock@google.com> QS: Introduce bluetooth control panel.

- Factor out common detail item panel view, share with Wifi.
- Add an empty state (large icon + text)
- Implement connect / disconnect for supported BT profiles.
- Wire up "scanning" state, but still waiting on asset.
- Add BT controller info to dump.

Bug:16235253
Change-Id: Icf854cafba962fe4b63767d7206e309d80b7b87b
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
362dd6d632f0eb63de4edf4a6eec281342391d9f 09-Jul-2014 Jorim Jaggi <jjaggi@google.com> Add glyph rerasterization hack for SystemUI.

Change-Id: I39d84e981b828b501801349d7a5e70a089b5f14e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
3f48f46d7e9073edbc4d8613a6dd4d68a37a11b6 08-Jul-2014 Jorim Jaggi <jjaggi@google.com> Update QS header to spec

- Move brightness slider down.
- Make clock bigger when expanded.
- Show date in collapsed state.
- Change size of avatar depending on collapsed/expanded.

Bug: 15865202
Bug: 15381387
Change-Id: I7894edae495b5a2d12b4fe4637a9aa3fd2e58963
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
853b070f19801058182ac1172d7c21c7651253c8 05-Jul-2014 Jorim Jaggi <jjaggi@google.com> Add % for battery in expanded QS; make it clickable

Also removes the "xx minutes until full" label in expanded QS.

Bug: 15392950
Bug: 15863237
Change-Id: I41e85a9ffeb3cba31b58769f8faee9147a3b031e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
ae641c9ccd3f81214cee54a5f13804f1765187ad 01-Jul-2014 John Spurlock <jspurlock@google.com> Implement new volume UI design.

- Add segmented zen-mode picker to the rocker UI.
- Add a new "no interruptions" value to the zen setting.
- Implement expandable condition subpanel on the rocker UI.
- Remove the old circle&slash icons.
- Suppress alarm sounds if in "no interruptions" mode.
- Add warning re: alarms to the condition UI.
- Allow rocker UI to display over the keyguard.
- Remove Notifications QS tile.
- Realign volume rocker to the top of the screen.
- Add support for new "days" sleepMode.
- New icon policy rules for "volume" slot.
- New important icon (star).

Associated Settings change:
I6ed56791784968adfbd684f490dbbebed285a2dd

Bug:15831713
Change-Id: I35afe38646f04d2ba0dbac11c2c6356120a33694
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
0002a45034b1103ffc5ecf4d5a14b7d1ba225005 03-Jul-2014 Adrian Roos <roosa@google.com> Show bouncer when opening notification in occluded mode

When showing apps on top of keyguard, properly put up
a bouncer when a notification is clicked.

Bug: 15588412

Change-Id: I48bcc5cc17c32856c11e7ab28182cdc3f253ad98
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
7e6c3bf2f664db4aebf6bf322c7a10e4f792de99 04-Jul-2014 Jorim Jaggi <jjaggi@google.com> Merge "Ability to dismiss lockscreen with space key"
342507697317436b1b9ac28b9952a655f7f0792f 03-Jul-2014 Jorim Jaggi <jjaggi@google.com> Ability to dismiss lockscreen with space key

Bug: 15408717
Change-Id: Ie3fce8654759f2ab45cd061e64aee311cd5d58d0
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
b572e4c77711a6a92b244f1b9edbf13710481184 04-Jul-2014 Jorim Jaggi <jjaggi@google.com> Merge "Clean up user activity handling"
b690f0d5023fcf144f2701058d5a6f88d66cc97a 03-Jul-2014 Jorim Jaggi <jjaggi@google.com> Clean up user activity handling

- Only call userActivity in down touch event
- Use normal timeout when QS is open
- Clean up old code regarding user activity in Keyguard

Change-Id: I968eeed33fef44def37b68eb1ddc63f1a531ab35
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
bd00310041932ba41c96ae565e9bbfa78733aef9 04-Jul-2014 Jorim Jaggi <jjaggi@google.com> Pressing back when QS is open only collapses QS

Bug: 15856079
Change-Id: Ic4853cbb6569ecbd779d470e0b6911199e6bf09b
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
ed2f4b77da2f8c5124560ebb0d5dfc16a86fa498 03-Jul-2014 Jorim Jaggi <jjaggi@google.com> Merge "Quick settings improvements"
540454259d7768804a262031289b307e3b0f42ab 03-Jul-2014 Jorim Jaggi <jjaggi@google.com> Quick settings improvements

- Remove hole in landscape when no notifications are shown.
- Start intercepting touch events directly when already flinging.
- Fix jump in top panel when collapsing QS in landscape.

Change-Id: If2da5215ee20ea1b0d3a0f88f32c8f5b0dd147da
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
563062569ca6e7816f99b01a243eb4c9f58b6a1b 03-Jul-2014 Jorim Jaggi <jjaggi@google.com> Reenable touches to notifications in expanded QS

Revert "Closing the QS when tapping on the notifications now."
This reverts commit 3bb0bb8817690728a40edd3f8f665b09907a451b.

Revert "Disabled touch interaction when in Quick settings."
This reverts commit 5cd19bc6a4fac0513bb285fdaf08b1d19c87f4ae.

Also, shuffle order of notifications and quick settings such that
scrolling still works and delegate touches from stack scroller to
the scroll view for expanded QS panel.

In addition, make the panel close transition work when QS is expanded
and scrolled.

Last but not least, decrease scrim amount so the notifications still
look 100% interactive.

Change-Id: I17710e078cff84bcdf303c22986a31135dae2aee
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
30c305ce6283ce1380ad91ef0d221696b32d5a6b 01-Jul-2014 Jorim Jaggi <jjaggi@google.com> Implement nice motion for collapsing panel while QS open

Also remove the delay for actions which close the panel. Delaying is
no longer necessary as you still see the touch feedback when the
panel is closed.

Change-Id: I0dffae6998fc41b1590cb182667323f40be3a7d5
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
697178b1244533adb0ffb3325c0a27a1fde6eaca 02-Jul-2014 Selim Cinek <cinek@google.com> Refactored the notification backgrounds

The background now only uses one specific drawable and emulating
the legacy behaviour by tinting. Notification backrounds are now
also a ripple drawable, giving feedback on click.

Bug: 15837646
Change-Id: Ia3b7dafebe2439cc56ed258264ef33b5b07faa69
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
7f8f22a53005f776c8ee4d299e748e74b077ffd9 03-Jul-2014 John Spurlock <jspurlock@google.com> QS: Wifi control panel.

Create first example of an inline detail view with line
items, bind to new access-point controller.

Move the common bits of all control panels into a
common abstraction. Share common parts of layout
(More settings / done button).

Change-Id: I14a1bf548f3291dc628f97bf09dd4e38ac2fb2dc
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
b83777ba5c12295224cd566bba59a44b8860e449 30-Jun-2014 Adrian Roos <roosa@google.com> Add flashlight to quick settings

Bug: 15934851

Change-Id: I86f61fa11fe64e76adb032391ce7e7170f59549d
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
497175beffe26336c092ee11a67b90f79dcdaca7 01-Jul-2014 Dianne Hackborn <hackbod@google.com> Rework network stats to use proc state for fg/bg.

Switch to using the process state to determine whether a
process should be foreground or background, instead of the
boolean foreground given by the activity manager.

This is for battery save mode, where we can now allow more apps
to havenetwork access: everything whose process state is at
least IMPORTANT_FOREGROUND, which allows music playback
and other use-visible things to continue to have network
access.

Note this also impact the traditional background data disabled
state, where now we allow anything top or better to have
network access. This automatically includes all persistent
processes, the current top activity, and any other processes
hosting the top activity or being used by the top activity.
So it broadens the set of apps that get network access, but I
think this increases it to a reasonable set of things that may
actually be needed for the foreground app to work correctly.

Change-Id: Icb609a2cea280dc3fa3e83417f478ed77f3685aa
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
2e115c5d9a33ee2ccd2108431cb31bf97b88340b 01-Jul-2014 Jorim Jaggi <jjaggi@google.com> Always load resources in SystemUI.

This fixes a bug where resources didn't get loaded after a SysUI
crash.

Change-Id: I3a679890d15ad3c1e13a017840b8258670a23ff8
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
2580a976ec93a01ed00fae51364ad872bc591d95 25-Jun-2014 Jorim Jaggi <jjaggi@google.com> Improve motion when expanding/collapsing status bar.

- Don't fade the whole panel anymore.
- Parallax effect for QS header translation, fade on keyguard.
- Improve fling curve for dismissing the panel.
- Improve peeking behavior.

Bug: 14804452
Bug: 15407838
Change-Id: I34b7bcd457cb8a037e0bb06e9802ec66d2b39b73
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
605f1902023d3c372769cbeb97840c87b910164b 25-Jun-2014 Jorim Jaggi <jjaggi@google.com> Keep a mirror of the system icons while expanding the panel

Because the icons are shown in two different places at the same time
(in the QS header and the status bar), we introduce a mirror view
which does nothing except draw the contents of the other view to
draw it at both locations during the animation.

Bug: 15407838
Change-Id: I82edc8b4fb7347fa8dadfb81762d22796d37fa3c
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
1f75d030ab2c7650ed7b7b0e595cbbfc3074f92d 25-Jun-2014 John Spurlock <jspurlock@google.com> Merge "SystemUI garbage collection."
0557c3f0e0a1e92e6b205a3ad6da3a0f75700c3d 25-Jun-2014 John Spurlock <jspurlock@google.com> SystemUI garbage collection.

Remove obsolete pieces from PhoneStatusBar + NotificationPanelView

Change-Id: Ib6b2d6f1a4e7c4aeaab775f928a74abdfe2b4168
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
bf370992508c55d1f2493923bdc1834a0710e4ba 17-Jun-2014 John Spurlock <jspurlock@google.com> Create a basic doze dream in SystemUI.

The doze dream is not configured by default.

When configured, the doze dream does not show anything by default.
It teases a dark version of the keyguard (showing only the time
and notifications) when a notification arrives or significant motion
is detected.

Bug:15863249
Change-Id: Icfceb054d35d6fd4d9178eda7480e2464873ca4b
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
6cb9e0f1f9b8b7902f3c451eb86db447af4a4ebf 24-Jun-2014 Christoph Studer <chstuder@google.com> Remove suppression of ZEN'd notifications

Bug: 15286335
Change-Id: I3114d7bcd8f05ca3a58f3598b95fdb507f6c646c
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
e71fefcc8b382947f6f6a8bf816b3889fb368fed 24-Jun-2014 Christoph Studer <chstuder@google.com> Remove notification APIs from StatusBar service

Bug: 15324972
Bug: 15436573
Change-Id: I838370a23fb07cb876e08c41ef11653f2658719e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
858aef2942e3e2b5759a8bc27fc4f1954573da7b 21-Jun-2014 Jason Monk <jmonk@google.com> Merge "Add lock-to-app mode"
62515beee67307d8859beec521b7baedfa54b2b5 21-May-2014 Jason Monk <jmonk@google.com> Add lock-to-app mode

Added a dialog that shows when app has not been authorized by
DevicePolicyManager.isLockTaskAuthorized. This allows any app
to trigger lock-to-app mode. This same dialog is used when
startLockTaskOnCurrent is triggered by the recents long-press.

Can exit the mode by long-pressing recents again.

Keyguard is disabled when lock-to-app is active.

This CL also prevents apps from finishing when they are the root
task in a lock task TaskRecord.

Change-Id: Ib54d858e570cccf6bfd986958868e15f49bcef75
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
a800167e570732bf01a148048a752944c91d15a2 20-Jun-2014 Jorim Jaggi <jjaggi@google.com> Merge "Hide status bar in bouncer"
44cf91960d74eccec45b9adec291ddb8baf84b4d 18-Jun-2014 Jorim Jaggi <jjaggi@google.com> Hide status bar in bouncer

Also, it gets faded in synchronously with the other unlock
animations.

Bug: 15407838
Change-Id: Ie161dfe970a2b4035a2d4cc7bb847285160cf691
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
8ddb2da8759c29b3968b4d6bb9488f59a19f0ff2 17-Jun-2014 Adrian Roos <roosa@google.com> Implement keyguard user switcher

Bug: 15545213
Change-Id: I2d18cc3c83d76991fe11fc4bff7e8eecc25df4b5
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
d34804cfb32023234e84f22dbae54614c1e4ca35 16-Jun-2014 Jorim Jaggi <jjaggi@google.com> am b6d02956: Merge "Bigger clock." into lmp-preview-dev

* commit 'b6d029569675a486dde2a7117fdc94658e1576fe':
Bigger clock.
220bf5cf9a6de83f1aecdcd62c56739b2f16a91f 14-Jun-2014 Jorim Jaggi <jjaggi@google.com> Bigger clock.

Also fixes a bug where notifications would be wrongly padded
on Keyguard after rotating the screen.

Bug: 15244051
Change-Id: I2418692c3d2ffdd5fe642361f2924629bf9a75eb
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
1dafd04247c4f849e05fd1c73118d916b9b67f64 12-Jun-2014 Chris Wren <cwren@android.com> Fix notification update path for structural updates.

Similar logic is required for the replacement case, as is already in place
for the update case, although the actions are different.

Bug: 15588056
Change-Id: I9ad115237c589716772e569fa1979a206b77097b
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
d2d05f5b9ebb8f2f4794f50321d3b209433f6caa 13-Jun-2014 Chris Wren <cwren@android.com> am f975e308: Merge "Fix notification update path for structural updates." into lmp-preview-dev

* commit 'f975e3080447fa0b8dc6110329b669ae3838f202':
Fix notification update path for structural updates.
9214eff52adf56b7c9532e40b784d52f9f94b6d1 12-Jun-2014 Winson Chung <winsonc@google.com> Fix regression in using visibility flags.
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
d42a6cfe2bf632222617450a1ed340268e82f06c 04-Jun-2014 Winson Chung <winsonc@google.com> Exploring transitions to/from Recents.

- refactored hwlayers and change view property animations to use a reference counted trigger
- cleaned up RecentsConfiguration, and move it into classes using it
- moved task bar animations back into TaskBarView
- refactoring enter/exit animations to use an animation context

Change-Id: Ia66b622b094f22145c2fab07c2a9bdfd62344be2
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
069438d3febd8488db3f4ff23ce7da5ce68c328e 12-Jun-2014 Dan Sandler <dsandler@android.com> am 54c4c19b: Merge "NotificationListenerService: API updates" into lmp-preview-dev

* commit '54c4c19bc95e839cfce3d10f0e842ed5588391eb':
NotificationListenerService: API updates
85a7bb169b70cf80779a69d50a4188fcf0612f34 12-Jun-2014 Jorim Jaggi <jjaggi@google.com> am 331b598b: Merge "Fix blank lockscreen." into lmp-preview-dev

* commit '331b598b261c6e531095b37185739b16bfefdd68':
Fix blank lockscreen.
85fa7722fe31be4377c231c2dbdf5848c83a1239 12-Jun-2014 Chris Wren <cwren@android.com> am 9abea7a7: Merge "Only post interrupting notifications to the Heads Up." into lmp-preview-dev

* commit '9abea7a7764e6735c1a37ab5ce45342bbfe56eed':
Only post interrupting notifications to the Heads Up.
9f7c624a32cc3d7350d40378c76f8634b8cf3cff 12-Jun-2014 Selim Cinek <cinek@google.com> am 634a15af: Merge "Fixed a racecondition which could lead to invisible backgrounds" into lmp-preview-dev

* commit '634a15aff1d106ae549984e26113f734c016760d':
Fixed a racecondition which could lead to invisible backgrounds
b6f4ba7a92faadca4ec13e868dfd773f0189b008 11-Jun-2014 Chris Wren <cwren@android.com> Merge "Only post interrupting notifications to the Heads Up." into lmp-preview-dev
d0694b6735a9d91794e6096961231e07364ba3fa 04-Jun-2014 Christoph Studer <chstuder@google.com> NotificationListenerService: API updates

Introduce RankingMap holding single notification Rankings
indexed by SBN keys.

Also, pass RankingMap with notification event callbacks so
subclasses don't have to call getCurrentRanking() unnecessarily.

Bug: 15415840
Change-Id: Id41e174f00c06c86359c03646abc3db78028b324
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
1a8e848dc4e0cf2f258e5350d19f4f6928e74a53 11-Jun-2014 Jorim Jaggi <jjaggi@google.com> Merge "Fix blank lockscreen." into lmp-preview-dev
0a27be899c7143df1d8b64ef842b7f6b7fcf0baa 11-Jun-2014 Jorim Jaggi <jjaggi@google.com> Fix blank lockscreen.

Bug: 15281241
Change-Id: If315891274a97fa5cc579554b83b85cf3c87f0fb
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
a5c1506313dc41643cefa443d7b51bb63c18e0f2 11-Jun-2014 Jorim Jaggi <jjaggi@google.com> am dc61882e: Merge "Fix black background for auto-redacted legacy notifications" into lmp-preview-dev

* commit 'dc61882ef03a25f7861aff838577ef124a8f40e7':
Fix black background for auto-redacted legacy notifications
a32ab60bb020df1d89fadfa14eb8600242786bf2 11-Jun-2014 Selim Cinek <cinek@google.com> Fixed a racecondition which could lead to invisible backgrounds

Notification backgrounds could become invisible when doubletapping
a permanent notification.

Bug: 15545215
Change-Id: I799439a368701042b39ca47bcac6fcce281349a7
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
a4ef6203262d45d4ffae7860ef40bd931ab27e07 10-Jun-2014 Chris Wren <cwren@android.com> Only post interrupting notifications to the Heads Up.

Pop them out to the shade if they haven't been dismissed.
Centralize bookkeeping into HeadsUpNotificationView.

Bug: 13397541
Change-Id: I350478ed954309773cfdd6970d58b22df6d223bc
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
36b15237a633ca906029e6ccdc4c55fa6309afe8 10-Jun-2014 Jorim Jaggi <jjaggi@google.com> Fix black background for auto-redacted legacy notifications

Also removes the wrongly implemented Froyo compatibility mode, as now
all the notifications are light and the background is provided by us,
it's again like in Froyo-world! :-)

Bug: 15295371
Bug: 14105711
Change-Id: Icbae15e690494465b0e63935d81d59edfa05e76e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
59a6127551650e7307fd6e6e1b72c1c2377fac80 06-Jun-2014 Adrian Roos <roosa@google.com> Add Emergency Calls Only and Charging State to Status Bar Header

Bug: 15393101
Change-Id: If1dc300d843fb5f694ef57714225f43924dbb2b8
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
44c0dfd52fcee80adbf1b5fd034a03350dac0d46 09-Jun-2014 Dan Sandler <dsandler@android.com> Pour one out for the old notification ticker.

Heads-up notifications are what it always wanted to be,
anyway.

Bug: 14588447
Change-Id: I64aa1ed85fb162d8577468019e68df9de183a992
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
b13d36d428054362aa6f450760ecd46421e1876a 06-Jun-2014 Jorim Jaggi <jjaggi@google.com> Always hide status bar icons when status bar is expanded

Also improve the animation when expanding/collapsing the shade for
a jank-free alpha fade animation.

Bug: 15448443
Bug: 15407838
Change-Id: Ieb0ce6d5bb1e5c1fb60d433b6989c52ec6924e8c
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
adf2ea2bfda0bde4ef84725402d6b033dfa2b9f1 06-Jun-2014 Kenny Guy <kennyguy@google.com> Merge "Badge notification from managed profiles." into lmp-preview-dev
2050d39e08fd1266d0686b6e3aa5d09a4fdd525f 06-Jun-2014 ztenghui <ztenghui@google.com> Merge "API Review: move the CreateRevealAnimator to ViewAnimationUtils" into lmp-preview-dev
62f30e0bb14b38c54d5fed4771141dc5b3fb6f4b 05-Jun-2014 ztenghui <ztenghui@google.com> API Review: move the CreateRevealAnimator to ViewAnimationUtils

b/15451650

Change-Id: If270bbf757047ce7847cab457d3836d756830124
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
8a0101bade3f817d925bd931d0b83bc454dedea4 09-May-2014 Kenny Guy <kennyguy@google.com> Badge notification from managed profiles.

Add a method to the UserManager to provide access
to bitmap of badge for managed profile.
Overlay the icon view in notification templates with
the badge from the UserManager.
Notifications with custom views won't be badged.

Bug: 12641490

Change-Id: I1f2aae927e75fc8a955e4d5bbc3cc81127d87069
(cherry picked from commit 0f4ab980227e8c298bfcd34dd85aad0febad528c)
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
4b22bdfa84eb3b62f83982281798145e56fce21d 05-Jun-2014 Dan Sandler <dsandler@android.com> Don't show private notifications if a secure lockscreen is merely occluded.

Bug: 15430088
Change-Id: I27187216462b5bb7d52c3f85b9444348138fd9ea
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
3b60d3fe9d2490dd5b7d7d9f65377f37134993ae 04-Jun-2014 Adrian Roos <roosa@google.com> Merge "Display time to charge on lock screen" into lmp-preview-dev
12c1ef57d0758b4fc3514c164897390d83edc463 04-Jun-2014 Adrian Roos <roosa@google.com> Display time to charge on lock screen

Bug: 14410848
Change-Id: I7ffad4dcc83ceeaeb29342439de11c91b4d63ce8
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
dffb3e7ed06d50d4a5c60daa2b8c46a551a92afd 04-Jun-2014 Selim Cinek <cinek@google.com> Merge "Changed the overscroll and expanding behaviour." into lmp-preview-dev
1408eb5a58d669933c701e347fd3498ceab70f3c 02-Jun-2014 Selim Cinek <cinek@google.com> Changed the overscroll and expanding behaviour.

Only the first selected element will be expanded, no subsequent children.
Afterwards, overscrolling is performed.
This improves overscroll consistency a lot and people don't accidentally
expand unwanted notifications, just the one they wanted to.
If the users primary intent is overscrolling (i.e if he drags on a card
which is already expanded), then we allow him to go to the quick settings.

Bug: 14487435
Bug: 15181651
Change-Id: I978cc4e06ae85c2ca69e15a149cb85ac54b2ef35
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
6539a83f776ed66851f3712bc7e300418ee4aee5 03-Jun-2014 Jorim Jaggi <jjaggi@google.com> Go back to keyguard when in SHADE_LOCKED with single tap.

Bug: 15188946
Change-Id: Iee9f1572bd25a5fc9f1ad7e182746a6f09a49f6d
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
aaa58d1c4abc63a78809a153cf80c2cb525ba2c2 03-Jun-2014 Chris Wren <cwren@android.com> Handle Zen Mode computations correctly for updated notifications.

Updates to intercepted notifications come in through addNotificatiom
instead of updateNotification, because the intercepted notifications
are not in mNotificationData.

If an update causes a notification to surface, we need to notice and
remove it from the synthetic notification. However, addNotification
is called from within InterceptedNotifications inside loops over
mIntercepted, and we cannot remove items from mIntercepted while
looping, so we split addNotification into two parts, one part is only
used by InterceptedNotifications to unconditionally surface previously
intercepted notifications.

Bug: 15389069
Change-Id: I7b0952a337f15d4009e3e61360344012345eac95
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
93a2bb2063fdbca9f844202f0eca12330605511b 02-Jun-2014 Jorim Jaggi <jjaggi@google.com> Improve hint animations.

Show the hint text longer so that users have enough time to read it,
also "highlight" the corresponding icon by making it fully opaque
during the gesture.

Bug: 15189049
Change-Id: Ie0429752b63bae41bb6992778ebb3bd5678f9676
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
b3f0a2ff000ca2481f95ee8f7d7b487e33b87eca 02-Jun-2014 Jorim Jaggi <jjaggi@google.com> Hint for phone and camera.

Bug: 15189049
Bug: 15126962
Change-Id: Ie28fc8202ace4af56542201d168572ef6ad78d19
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
9012958742c7a66b37ba5f2196f9086bb1980e6b 02-Jun-2014 Jorim Jaggi <jjaggi@google.com> Implement unlock hint.

Before, users didn't have any clue how to unlock their phone. Now
they have. Also, a tap now dismisses the notification shade in the
unlocked state.

Bug: 14080971
Bug: 15189435
Bug: 15282191
Bug: 15126962

Change-Id: I779344b043b4415809dd98217b7cb9ff6d57fa3e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
5d9cc668e16abf1306d82218cd3da29e28a454ae 28-May-2014 Adrian Roos <roosa@google.com> Update HUN visuals to UX spec

Adds gradient, fixes wrong padding on tablets
and adds a callback mode to swipe helper.

Bug: 15106201
Change-Id: I9c3f2d24665cb3de8e70904893f56c928b0caabb
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
4f0e39a929f2043c46ada9f34b23654616f93227 30-May-2014 Chris Wren <cwren@android.com> Merge "Track Zen Mode status in the NotificationRecord" into lmp-preview-dev
333a61c3a5a83fe9c50ebeb5c947317f61385b7b 28-May-2014 Chris Wren <cwren@android.com> Track Zen Mode status in the NotificationRecord

This requires the record to be present in makeRankingUpdateForListener,
however, if the ranking object is created before the post to the handler,
then no cloning is necessary.

Depends-On: I907a1ff28123219db1c08889d723ad1b70b191ab
Change-Id: I51fcf689ddbee7715e3387b865f18a715887c943
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
4314f6d5fa088377ad5bfab9063352377e0c3fd1 28-May-2014 Adrian Roos <roosa@google.com> Eagerly dismiss Keyguard when launching notifications and phone

Uses the new code path when launching phone that delays the launch
until the Keyguard is actually dismissed, which fixes another way
for 14622312 to pop up. Also adds a flag to prevent the Keyguard
from waiting for the launch animation to finish.

Bug: 15280103
Bug: 14622312

Change-Id: Id24e40785c9f760648140e5572b1d39889d3666b
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
4b3bda22251c09276a967091e9e364efadd8f0fd 22-May-2014 John Spurlock <jspurlock@google.com> Honor Settings.Global.LOCK_SCREEN_SHOW_NOTIFICATIONS.

Hide notifications on the lockscreen if the setting = 0.

Bug:15104826
Change-Id: I394f10a9958a3ee4d03198f21eb09b778e00903e
(cherry picked from commit ac639f28502a7e8a6c52a6585810c8d94e0e5388)
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
e35896885eeb537d0281ab2bfd5aa648126b6592 26-May-2014 Christoph Studer <chstuder@google.com> SysUI: Fix bug where ZEN'd notification wasn't updated

Bug: 15131411
Change-Id: If6a149a04b34b63052797bbadb3a6fde18c675cd
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
67e83d57543559ff67ca40e806c177a1575ab3b3 28-May-2014 Christoph Studer <chstuder@google.com> Merge "SysUI: Reflect notification ranking" into lmp-preview-dev
4c6969a512cd70831249ec1d07691f16fe5465f5 26-May-2014 Selim Cinek <cinek@google.com> Implemented basic camera and phone affordance.

The phone and the camera can now be accessed when swiping anywhere
on the background of the keyguard in the corresponding direction.

Bug: 15126905
Change-Id: If5551078676275764d5b7ddbca6e71cf008a1904
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
37fe69322517809d38c1934239a6e117c39d40e7 26-May-2014 Christoph Studer <chstuder@google.com> SysUI: Reflect notification ranking

Respect the ranking received via NotificationListenerService.

Bug: 15131411
Change-Id: I9e3a1530ffb5f4c29eeeccdbc910261d2eb72216
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
6ecbe3f2d6a9d0a2f69473cc0496fa6c63c4f7f8 27-May-2014 Jorim Jaggi <jjaggi@google.com> Merge "Remove up pointing arrow in navbar." into lmp-preview-dev
7b0de297e1b8820c87e7ccc3bd684acacd5c17c3 27-May-2014 Jorim Jaggi <jjaggi@google.com> Remove up pointing arrow in navbar.

We don't need it anymore. Yay!

Bug: 15283575
Change-Id: Iac5543a733c047711e5c37f290758456116469a5
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
37d5c23998424905fc72390994059e2af39320c9 27-May-2014 Jorim Jaggi <jjaggi@google.com> Merge "Show bouncer immediately when MOTION_UP is received" into lmp-preview-dev
8600534df66c2ff5846ed230b50c56229322d48a 23-May-2014 John Spurlock <jspurlock@google.com> VolumeZen: combine ringer/notification volume and zen.

- Implement a new volume panel widget, combining volume and
zen mode + conditions.
- Show zen mode + conditions when modifying ringer or notification
streams.
- Host the volume panel widget in a dialog when being controlled
by the audio service / volume keys.
- Remove support for multiple sliders in the volume panel.
- Remove support for separate ringer + notification volumes
in the volume panel.
- Move volume panel resources up to SystemUI.
- Create a new combined Notifications quick settings tile.
- Host the volume panel widget in the quick settings panel under
Notifications.
- When the quick settings detail panel is visible, route the volume
keys to the embedded widget instead of showing a redundant dialog.
- Create common styles for quick settings text to be closer to spec.
- Update the framework resources for the ringer stream.
- Show the ringer icons in global actions.
- Add "until you turn this off" back as a separate zen condition.
- Disable time condition buttons when they are N/A.
- Don't allow volume changes to set ringer mode silent.

Bug:15186070
Change-Id: Id5e321dd1d5e7c4cf3917027ffbdf7e80d38b00d
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
2fbad7b6a724cf0a5b98b66fe639d58f5ab10af3 26-May-2014 Jorim Jaggi <jjaggi@google.com> Show bouncer immediately when MOTION_UP is received

Bug: 15163546
Change-Id: Ie50905b78352e54298cb7e0e3f13152e6c2becd0
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
7c1d454da1f052c634c6a95ed3805be34d322765 26-May-2014 Jorim Jaggi <jjaggi@google.com> Merge "Improve scrim handling" into lmp-preview-dev
ecc798e6668046c2f67cf30c6ab1db2eba80cab1 26-May-2014 Jorim Jaggi <jjaggi@google.com> Improve scrim handling

Bug: 15163546
Change-Id: I0d2c05b035f832f4b4e6a2fc34113fe9d5677525
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
0948925a0476943fdf713a858a0290abc85c7f48 26-May-2014 Adrian Roos <roosa@google.com> Merge "Implement HUN visuals: shadows and translucency" into lmp-preview-dev
de61fd7822ea15fb691405c1aae472caa58e83ba 26-May-2014 Adrian Roos <roosa@google.com> Implement HUN visuals: shadows and translucency

Bug: 15106201
Change-Id: I718e3d36355d0f58abc3daadb8c6a9d554f29bec
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
f62f2bbcf2edec636700f80f5f279cce7ebad95b 25-May-2014 Jorim Jaggi <jjaggi@google.com> Make QS panel peek below the header.

Bug: 15210059

Change-Id: I84e45092b3c9c397da8b458dbaa136fd52e665a6
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
7d7090d66692170b0584a5b9f4fe3e47285ee615 21-May-2014 Adrian Roos <roosa@google.com> DO NOT MERGE Only send notification activity intents after dismissing Keyguard

Defers delivery of contentIntent and activity actions until
the lockscreen has been dismissed, so that activities don't
launch beneath it.

Bug: 14491010
Change-Id: Ic8c61c18a75d4f0da2d82a0a8a038a5d98ebb71f
(cherry picked from commit 79f640dd0d02c1cc199937b160d8f7abd3c1eaeb)
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
d08f91fa679d3045436e993b6073d86d8f9b26fe 23-May-2014 John Spurlock <jspurlock@google.com> QS: Reset user activity timeout on the lockscreen.

If the quick settings panel changes, call userActivity to
delay the screen timeout.

Bug:15166195
Change-Id: Ie32fb39c5a975d9cf0d80d7fdf711177028a6b5c
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
8a4729d87181df6eb739c473554e5a89c65b180d 23-May-2014 Selim Cinek <cinek@google.com> Merge "Improved the animation logic of the stack scroller." into lmp-preview-dev
8efa6dde2b4f2cdbf046b87b7366404c3cc46219 19-May-2014 Selim Cinek <cinek@google.com> Improved the animation logic of the stack scroller.

Newly introduced appear and disappear animations when in the shade.
Also introduced individual child delays such that notifications
appear in a slightly more appealing quantum way.
Also fixed a racecondition, such that added notifications already
have their final visibility state when they are added to the scroller.

Bug: 14081264
Change-Id: I18f5c57c2206f8e05996253981f540e97521e102
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
60748e7122c6cfbcebcf4a283d1a78ca796d07a7 22-May-2014 Christoph Studer <chstuder@google.com> SysUI: Implement NotificationListenerService in StatusBar

This is currently disabled by constant that is off.

Bug: 15131411
Change-Id: I0da6e5b3b81c87004f0794d3056c4cf0ecbb1d61
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
71f18fd1b64071e486bafff237b1f87a56d4aead 20-May-2014 Christoph Studer <chstuder@google.com> SysUI: Use SBN keys instead of IBinder keys DO NOT MERGE

In preparation of migrating to NotificationListenerService,
remove dependence on IBinder keys for notifications and switch
to SBN.getKey() instead.

Bug: 15131411
Change-Id: Ic272e4a05fde6481c734144c5b34c49b2f021649
(cherry picked from commit 7c96ae873d9a54ebaeb5b7ef21b48224dc42d094)
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
4bf31983d247a76142937c01bc2800b7f98d0281 21-May-2014 John Spurlock <jspurlock@google.com> QuickSettings: fix text alignment.

- Abandon dynamic sizing, give each tile a fixed height.
- Align the baselines of the first line of each tile in a row.
- Clean up dimension resources.
- Center the touch feedback on the icon center, and dial it down.

Bug:15120277
Change-Id: If43986f80ef6d01722b60b6feedb278eed27e936
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
958e559b98bd7c3ab6dd20bf530bf58f56f20b63 19-May-2014 Winson Chung <winsonc@google.com> Merge "Initial changes to enable keyboard support with alternate Recents. (Bug 14067913)"
ba2c6a084fc8496c4430b5df3598ed41dfcd744b 19-May-2014 John Spurlock <jspurlock@google.com> VolumeZen: Unify ringer + zen status bar icons.

- Remove zen mode indicator from LHS.
- Update ringer mode icons to latest design.
- Zen mode trumps ringer mode in slot if enabled (as it will in QS).

Change-Id: I48bd7e8fdb2a19333b0b6d24d34cc98aa142691f
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
d47a3f3bbe5264061bf0c506976efafa0d0f2957 19-May-2014 John Spurlock <jspurlock@google.com> Quick settings touch feedback tweaks.

Change-Id: I76a28c023fd6f006ba96063680842a4f89ae8c83
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
83e2848c562bf951fd49d85da338eb6dc459cff2 18-May-2014 John Spurlock <jspurlock@google.com> QuickSettings: Remove vector drawable runtime processing.

Remove temporary harness responsible for creating enabled/disabled
versions of vectors at runtime. Instead, pre-compute the necessary
states as separate files.

Normalize all qs icon names, cleanup obsolete pngs, and replace
the DND hangtag.

Bug:14133785
Change-Id: Ifb58635b832d25ca1de7e9f79cf8ec3503ea8cec
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
75c95044a8c5c073d30dcc9bd21157939f161043 16-May-2014 Jorim Jaggi <jjaggi@google.com> Animate clock position on Keyguard.

Also disable animations when on Keyguard and screen is turned off.

Change-Id: Iec031ab336357194b5d387bc0aad00a702a8ef54
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
1e8d71b605b4872e93200706a80a88a3ff25498c 17-May-2014 Winson Chung <winsonc@google.com> Initial changes to enable keyboard support with alternate Recents. (Bug 14067913)

Change-Id: Icc5d2a784ed3c3c27143eb04cbb4305549ee223a
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
c27437b7fd04e682ae2abdf0727a99bf5c6e409d 14-May-2014 Selim Cinek <cinek@google.com> Implemented visual speed-bump for notifications.

The separation between the important and the less important
notifications has now a visual representation.

Bug: 14607473
Change-Id: I8baa0a08924ec041be2884a2834139477313ab40
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
ea56251d92050e9a672d1f66d0d4621e4dd4136e 05-May-2014 Adrian Roos <roosa@google.com> Colorize SystemUI

Makes the color of the status and navigation bars customizable by
the app.

Bug: 14564488
Change-Id: I036edc228cfe1b659c7f11a43cdc4598ee705ff8
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
df993513fbfe0e952175c1c5384458deaa1ff01a 13-May-2014 Jorim Jaggi <jjaggi@google.com> Handle media key events correctly on Keyguard.

Bug: 14490267
Change-Id: Ib8f8ee3ee7f1fbec70f1dd8b6fb04cd7c242bdce
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
af8d6c44f06d2f8baac2c5774a9efdae3fc36797 07-May-2014 John Spurlock <jspurlock@google.com> New quick settings implementation.

Bug:14133785
Change-Id: I7f57f8e7ebcc3e1a06fa5204f477470f14299e1f
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
2042ef2390d32773fb196044229c3842b96bde1c 13-May-2014 Jorim Jaggi <jjaggi@google.com> Keep QS header appearance and unlock icon in SHADE_LOCKED.

Also goes to shade locked when the user doesn't have a security
pattern at all, to keep the appearance as close as possible
when expanding a notification.

Change-Id: I7af899df545ff8cefedc8be8feebd769bdadcfa9
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
13c1b1ff36960272073959de35212a7bae3cfae6 11-May-2014 Jorim Jaggi <jjaggi@google.com> Implement settings affordance in header.

Also, the status icons are hidden when quick settings is expanded,
except for the battey indicator.

Change-Id: I6fb130c7eb73445b2ec2fdf9a9f3ec181d98033d
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
76aaef537a83486134a8118331b70854fbdecc3e 08-May-2014 Jorim Jaggi <jjaggi@google.com> Fix measure performance of whole status bar window #2.

Change-Id: I4cbaa762d61e19016f925556c8e02720249dc22c
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
28d22d0aef38b97550d098c006e3f9d7fc4e3de2 10-May-2014 Jorim Jaggi <jjaggi@google.com> Don't force black status bar when expanded.

Change-Id: I0f910c56fc49eb26cb596ffbed29dc7a979dafa0
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
3d878be53d033365318733b84b764cd5b4e6357a 10-May-2014 Jorim Jaggi <jjaggi@google.com> Implement new multi-user affordance.

Change-Id: I6d7e6cc9893bc7d4fd87431e8e364500af42f107
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
9054d94cbac888c3a52427f54420cde2460c0c3b 09-May-2014 Jorim Jaggi <jjaggi@google.com> Move Carrier label into universal status bar header.

Also introduces a different height for the header area on keyguard,
as it looks better with less padding when no background is here (and
is closer to the mocks).

Change-Id: Ie9b94dcf823c3e4af83a22f5fae15d9033e146fd
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
0d74eeb9ec7ffe30d5c825bf7a3af96a53e2683d 09-May-2014 Jorim Jaggi <jjaggi@google.com> Reparent status bar icons into header when expanded.

This change moves the status bar icons into the quick settings header
when the status bar is expanded. Also, the universal header is now
showing on the Keyguard.

Change-Id: Ib91f7e0b8de9f852676a11b500c4419183db1b90
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
bff1f071f300e4f99da0fd2bd567ce5f840e5f91 09-May-2014 Jorim Jaggi <jjaggi@google.com> Remove expansion and clear button.

...

Change-Id: I965317ba221092f970dc9324dd538a7bde5c0642
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
e96fcd1faacc95479557ad4722da2f28535dbc9a 07-May-2014 Jorim Jaggi <jjaggi@google.com> Enable "More"-card double tap interaction.

Bug: 14492098
Change-Id: I8b80df407df8b6df0af616932018e40e903a7966
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
d552d9d8e964c102e6832610be46cf2c041e8829 07-May-2014 Jorim Jaggi <jjaggi@google.com> Introduce AmbientState for StackScroller.

AmbientState is a global state for the algorithm of the
StackScroller. Dimmed and which child is activated was moved
into this state. Further, scale and dimmed is also a
StackScrollState and animated in StackStateAnimator.

Change-Id: Ia68131cee62b2e0005f55ea6dc400d149ec15278
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
d7daab7b9e33cd56f2692b9ebea87ef21290c1ea 06-May-2014 Jorim Jaggi <jjaggi@google.com> New layout structure for the expanded status bar.

This also includes a new (very WIP) interaction to get to quick
settings, with clumping the cards and a scrollable container with
the cards and the bottom QS part in it.

Change-Id: Ib073bb0174cddcf60347a5e3bb474fb3b6385bcf
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
10a38c06df42f0231a71a78ec341609648035b9d 07-May-2014 Jason Monk <jmonk@google.com> Merge "Only show IME in navigation bar when it should"
b605fecd9e4282823af754b3968b21205d64554a 02-May-2014 Jason Monk <jmonk@google.com> Only show IME in navigation bar when it should

Add a flag to indicate that the IME should be shown. This follows
the continuous ime notification boolean, and if there are multiple
input methods to choose from enabled. This way the notification
and navigation button show up under the same circumstances (but
not on the same devices).

Change-Id: Ia6a2253061f1876f4bcc511de48c1078e9d96be5
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
ef3b18b10111834e9d9b4887984a4e9b5de8fed9 06-May-2014 Jorim Jaggi <jjaggi@google.com> Merge "Never close Keyguard automatically."
97b63c4112dbeaeca438afb8cc12e8e6982dd1e4 02-May-2014 Jorim Jaggi <jjaggi@google.com> Implement phone affordance on lockscreen.

Refactor the camera affordance into a reusable view. This change
also swaps the asset for the camera affordance.

Bug: 14488709
Change-Id: I0633614f6a1ea81faa37923f748af3c635e64a52
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
c1cf1aec53ec4bf201dbcd46b8950a16e9daf038 02-May-2014 Jorim Jaggi <jjaggi@google.com> Never close Keyguard automatically.

Also make the bouncer less translucent, so it looks better when
a user double-clicks on a notification (because it is now shown
behind, so we need more background protection).

Bug: 14059777
Change-Id: I2538b0e04ddc25c25a03c65c8a5bd7855720bbf2
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
98fb09c2b2dbf57803a8737ee7b73cf167721312 01-May-2014 Jorim Jaggi <jjaggi@google.com> Fix animation play time, animation and alpha.

Change-Id: Ib5f0a7880473930da3db70fcbd8c4e620f267cf8
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
0dd6881ea481c855976214807c17595b34a2920a 01-May-2014 Jorim Jaggi <jjaggi@google.com> Introduce animation for changing top margin.

Change-Id: I7f77a1c69efc2dca3e5a37e7d6fc497ae487ec46
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
4222d9a7fb87d73e1443ec1a2de9782b05741af6 23-Apr-2014 Jorim Jaggi <jjaggi@google.com> Change interaction for dragging down to full shade.

Starts expanding the card if it is expandable. If it's not, we
rubberband the expansion a lot. After the threshold has been reached,
we scale all the notifications up and make it fully white and opaque.

Change-Id: I9ecd020ca263b0f84e87fd6ab2332519ac5e9984
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
ecbab3662d4474bbb45477939aaa167eb883212b 23-Apr-2014 Jorim Jaggi <jjaggi@google.com> Introduce SHADE_LOCKED as a special state for the shade.

This state can be either reached by tapping the more card or dragging
down on any card. In this state, the shade is fully interactive, but
the phone is stil locked. This state can only be enterred if
redaction is off but security is on. If redaction is on, we will show
the bouncer instead and go to the normal shade.

Bug: 14161523
Change-Id: I95ca0991745ffc11ed1028581e3da15265c12ae5
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
434bdf50b30caaeee26e13525ac83df85e09e326 02-May-2014 Jason Monk <jmonk@google.com> Merge "Add IME Switcher icon to Navigation Bar"
f1ff209523a2474cb0e7aab0e083596c4afbe37f 29-Apr-2014 Jason Monk <jmonk@google.com> Add IME Switcher icon to Navigation Bar

Adds button in the same location as the menu button and overrides
it when present. The setNavigationHintIconHints lets it know when
the button should be shown.

Bug: 14257632
Change-Id: Ia80de7fd2390cd8b083e37cbe58b7ee53555e619
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
037e34c82390281ce8de55e3da99e45efa4a19a5 30-Apr-2014 Christoph Studer <chstuder@google.com> Fix notification visibility reporting

Require the screen to be on for visibility reporting.

Change-Id: I600e2fa2861bddd41ab9f9f0f381d8b1c4946afa
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
10c84f010982560e13bec4af49558a3bc8be32d1 28-Apr-2014 Jorim Jaggi <jjaggi@google.com> Merge "Attemp to fix blank lockscreen #2."
fa505a7f26bdf685c701e92b481602eb59d7ff56 28-Apr-2014 Jorim Jaggi <jjaggi@google.com> Attemp to fix blank lockscreen #2.

Bug: 14280857
Change-Id: Ib868cc7a01d24f7169310774a5397b90a2d5b35f
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
d3406d7a1afd2b1ff3aea216fb74e402f1795888 28-Apr-2014 Jorim Jaggi <jjaggi@google.com> Merge "Flatten notification hiearchy and remove glow."
fe40f7d13bfc1faa35c9a131ce4be5104cb8f6b9 28-Apr-2014 Jorim Jaggi <jjaggi@google.com> Flatten notification hiearchy and remove glow.

Currently, the padding and the glow was inside the individual
notification. This no longer works if we want to adjust the
padding dynamically whether we are on Keyguard or not. This change
moves the padding outside of the individual notifications, and as
a side effect, removes the glow. The glow wasn't really visible with
the new layout, so it's not a breaking change. We have to discuss
with UX first what the new "glow" solution is going to be.

Change-Id: Iac16892cb3b7bb1de3001954b1428796b07950c1
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
b039603867176c01c84ec1cbae681cb9868a4525 28-Apr-2014 Jorim Jaggi <jjaggi@google.com> Merge "Add carrier text on lockscreen in top left corner."
47ffde252e550f86ed99f4b46c6d674bf69bbf37 25-Apr-2014 John Spurlock <jspurlock@google.com> Merge "Delay settings panel visibility until touch slop exceeded."
4e9d7c17974d864d9f47b6d6b447d4b8a524d7a9 25-Apr-2014 John Spurlock <jspurlock@google.com> Delay settings panel visibility until touch slop exceeded.

Bug:14271219
Change-Id: Ic8f36670f8d56f74a383ca7a867b69c7568a7250
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
c357ca20132dc55b9a9248c5430c7731c44563c6 25-Apr-2014 Jorim Jaggi <jjaggi@google.com> Attempt to fix blank lockscreen.

Bug: 14280857
Change-Id: Icf458040b1a0b0a412981acf7b522d04c046a5f8
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
25807936e8e4ca2c811bb4121725e1dd87e18efd 24-Apr-2014 Jorim Jaggi <jjaggi@google.com> Add carrier text on lockscreen in top left corner.

Change-Id: I88c96eabc4b97295da5c1094db3fd22fcc637390
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
fb2b6bc62d54a6abdc2ec61c2299e060b6ae6671 24-Apr-2014 Jorim Jaggi <jjaggi@google.com> Merge "Add text view for double-tap and unlock hint on Keyguard."
e70d31f48d1c123544eb5e72b7b007d81ae8d8c9 24-Apr-2014 Jorim Jaggi <jjaggi@google.com> Add text view for double-tap and unlock hint on Keyguard.

Bug: 14080971
Change-Id: Id6f7344b01bb9666fe6add415ec4a28163315967
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
17880ef81f50a922cf9f66110cefca60e917bf8e 23-Apr-2014 John Spurlock <jspurlock@google.com> Avoid panel "flip" animations when possible.

Bug:14271219
Change-Id: I91632c073497718e2fd53ad172ec805f54514696
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
1568250853d81befcdaef63cc8588435353c3d12 23-Apr-2014 Jorim Jaggi <jjaggi@google.com> Move redaction logic showing from Keyguard to PhoneStatusBar.

This removes a race condition and makes redaction more stable.

Change-Id: I4084cdf490c0e52fe26f45cb00524e0876a068bc
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
a6310293c5a861cdb54f2c894e90a8d9da87f8d7 16-Apr-2014 Jorim Jaggi <jjaggi@google.com> Hide navigation bar on Keyguard.

This also moves the camera affordance from navbar to the navigation
panel, so it is still visible on the Keyguard.

Bug: 14086354
Bug: 14085922
Bug: 14110532
Bug: 14059294
Change-Id: I93b51381915a67c688cdffd055fd149f2a220b00
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
06661993037c28d2e189bfe809304a5d0e3ba5d8 21-Apr-2014 John Spurlock <jspurlock@google.com> Merge "Quick settings bug fixes."
f0b06c773867610d747d2063e74f13c12e3595c4 18-Apr-2014 John Spurlock <jspurlock@google.com> Quick settings bug fixes.

- Fix issue where notifications were positioned offscreen after
quick screen toggle.
- Better QS scrim hiding, use existing layout transition.
- Don't allow a reposition if the settings animation is currently
running.
- Delay chevron animation during toggle to avoid drawing over each
other.
- Keep the screen on while the user is poking around with QS on
the keyguard.
- Cap the QS expansion to the bottom of the status view on keyguard.

Change-Id: Ib63874d0c6a33db81923080f25cb8f208e614faf
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
507288322b11ae27ab8f47438d3ef4203dad0192 18-Apr-2014 John Spurlock <jspurlock@google.com> 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
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
73203ebf976c403e40deabc15beb5ef01ac20cb0 15-Apr-2014 John Spurlock <jspurlock@google.com> 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
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
e731a4ed3a0c7fa4d1e151f029a18c26091bceb1 16-Apr-2014 Jorim Jaggi <jjaggi@google.com> Merge "Make MENU key work again to dismiss insecure Keyguard."
e0fa592afc163708d7707158ff76ee8148d90e79 16-Apr-2014 Jorim Jaggi <jjaggi@google.com> Merge "Show enter PIN/PUK before notifications on Keyguard."
a46ceb5881ba9d0efc422713455900f06dce4537 16-Apr-2014 Dan Sandler <dsandler@android.com> Merge "Fix NPE if showKeyguard() is not called before hideKeyguard()."
63e40170f8ba139b9ae67425b3c979cb4de11ea1 16-Apr-2014 Dan Sandler <dsandler@android.com> Fix NPE if showKeyguard() is not called before hideKeyguard().

Bug: 14112212
Change-Id: Iced1085cf7be8d827cf7e34efe603a399f456c1b
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
8c8bcc160aba9a5e93c8df2a99a39a856fafffab 16-Apr-2014 Jorim Jaggi <jjaggi@google.com> Make MENU key work again to dismiss insecure Keyguard.

Bug: 14110426
Change-Id: Iab8ec9633a2169e6def13a0c6e09b77543adbb41
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
a005f1b6853e8852c328f4fdc02fb8f9c9ae1cd6 16-Apr-2014 Jorim Jaggi <jjaggi@google.com> Show enter PIN/PUK before notifications on Keyguard.

Change-Id: Icec12a43487fe76378e10bb8aaaa163c53b69075
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
92b389da2a60ac51e804031494fea177fc1c47be 01-Apr-2014 Christoph Studer <chstuder@google.com> Write eventlog entries for notification visibility

Keep track of notifications shown in the notification panel
and log them via eventlog.

Added the following eventlog tag:
* notification_visibility_changed

Bug: 13442201
Change-Id: Ifb74ec2492967dc787b4de86db7d7f00be6c7f74
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
c5dc0d0cce373fbf292e13633c114a431d747167 15-Apr-2014 Jorim Jaggi <jjaggi@google.com> 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
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
262ef08ebabf01a6904081dea39bc07852816e98 11-Apr-2014 Jorim Jaggi <jjaggi@google.com> Merge "Hide back button on keyguard and make it work for bouncer." into master-lockscreen-dev
584a7aa62c54bcbd654a6696d4fbb56e124874e7 10-Apr-2014 Jorim Jaggi <jjaggi@google.com> resolved conflicts for merge of ff0978fd to master-lockscreen-dev

Change-Id: I03881da30db8189005d50812e5528ed07cebd437
1685e634fb0b14033bd436af8d7174436699ffec 08-Apr-2014 Selim Cinek <cinek@google.com> Further improved NotificationStackScroller

The top card is now collapsed during the pulldown of
the notification shade and expanded during the transition.
The scrollstate is also reset once the shade is closed.

Change-Id: Ibf17eef1f338d674c545e5bf55261e60db62b2ce
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
e5c7a894635d72514d6f1e952d0f18ba6035e86d 10-Apr-2014 Jorim Jaggi <jjaggi@google.com> Hide back button on keyguard and make it work for bouncer.

Bug: 13635952
Change-Id: Ie9824dd9926c9deb0a38c8e0a6161f605a489622
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
d4a57440ca5fc8461959176475b0fcd8a6e05871 10-Apr-2014 Jorim Jaggi <jjaggi@google.com> 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
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
898fe181017de5cfd208c077b3c5209016f13aa5 10-Apr-2014 Adrian Roos <roosa@google.com> Merge "Keep lockscreen open when all notifications are gone" into master-lockscreen-dev
2718e1f3a3d6b8252cb6e13f5a1e4a307fa1f955 10-Apr-2014 Adrian Roos <roosa@google.com> Keep lockscreen open when all notifications are gone

Whack-a-bug time!

Bug: 13635952
Change-Id: I1941271fb1638cc60f1a1311369b4703ff83c76b
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
9a254ac907120a3157bcf0e61a8ad716df1181f2 10-Apr-2014 Adrian Roos <roosa@google.com> Merge "Allow returning from quick settings on lockscreen" into master-lockscreen-dev
3bc62f724be10d82698a0fbbfa9fd72783f87ef5 10-Apr-2014 Adrian Roos <roosa@google.com> Allow returning from quick settings on lockscreen

Turns out having to switch off the device to get back to notifications
is annoying.

Bug: 13635952
Change-Id: I9db81370c7c715a0874e2b6a4d75ed408843868a
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
1fcb5400b3c63d46aaabd54ba79b3fc2620dadad 10-Apr-2014 John Spurlock <jspurlock@google.com> resolved conflicts for merge of 3c86a27d to master-lockscreen-dev

Change-Id: Idcf46beb8790ff95566942d1633baf70ca5eddf8
bf20eab6fce406dfe76117dbbdb4c34c3134883b 09-Apr-2014 John Spurlock <jspurlock@google.com> Put suppressed notifications behind a summary notification.

Bug:13726563
Change-Id: Ib1c3fba3a328792dc674c8403735f75d4db41973
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
251957d76e57eb6e5f8068b37346144e10e586a4 09-Apr-2014 Jorim Jaggi <jjaggi@google.com> 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
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
9a0a4c9d7e39e9a91dc35cec3501206914198df6 08-Apr-2014 Adrian Roos <roosa@google.com> Enable quick settings from lockscreen and merge into one shade.

Change-Id: Ic5b5f54bcfe3816549287f707715e29340522d9b
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
5a46cd37c21f9a051dc5dd902c860d07c743f79d 03-Apr-2014 Adrian Roos <roosa@google.com> Add a temporary user switcher to quick settings

Change-Id: I7ebe29049812fe5ac98b702f3378a1121d5d6bb7
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
649b7081dfb1647bd121dfc476f353bd1c799997 03-Apr-2014 Jorim Jaggi <jjaggi@google.com> Collapse notifications on lockscreen.

Bug: 13635952
Change-Id: Iee812fa4ee61d633568b98380810311693d44f38
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
03c701ec58ff6de3cc3c53b05342a475a63a11cf 02-Apr-2014 Jorim Jaggi <jjaggi@google.com> 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
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
18d084698c805fea57c2808d1729c0f62df5573d 03-Apr-2014 Jorim Jaggi <jjaggi@google.com> resolved conflicts for merge of 93160828 to master-lockscreen-dev

Change-Id: Ief6d6b8b8cc9ae2eb38442a3ba9ecae4637b75d6
b6d85ebfe4f9f5d3b7d7ab7b6123af02a0deb516 28-Mar-2014 Selim Cinek <cinek@google.com> 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
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
ae6ffcc3c74d12ebf59a26cce24d04fdd2b56f4e 02-Apr-2014 Jorim Jaggi <jjaggi@google.com> Merge "Wait for Keyguard to be drawn after boot." into master-lockscreen-dev
cff0acb6b1eea23c3f44a078a0a5e81c11faea35 31-Mar-2014 Jorim Jaggi <jjaggi@google.com> 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
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
ffa80df57848a41aeba692d177c701676c58c65f 02-Apr-2014 Kenny Guy <kennyguy@google.com> am 1ccace91: Merge "Rename related users to profiles."

* commit '1ccace916c8fdc61f1a8db6677aed518d31647e6':
Rename related users to profiles.
2a764949c943681a4d25a17a0b203a0127a4a486 02-Apr-2014 Kenny Guy <kennyguy@google.com> 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
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
5cf17879a31b7b78c09ec50b727f921840dcf783 26-Mar-2014 Jorim Jaggi <jjaggi@google.com> 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
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
380ecb81db52a9d0197ca969951d07b91c20d2b9 14-Mar-2014 Jorim Jaggi <jjaggi@google.com> 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
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
fab078b01fbad026f006744016272327f7ab116b 27-Mar-2014 Selim Cinek <cinek@google.com> 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
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
80a14e5d1b532a8a1500474b06b4be47c5410881 27-Mar-2014 Selim Cinek <cinek@google.com> Improved integration of NotificationStackScroller

Quicksettings and clear all buttons now work correctly with
NotificationStackScroller but visuals are still tbd

Change-Id: Ia8a0895f66e0b682f39ac62d92c6b6cfccce2ee2
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
67b2260093774f5866f781aede52830440f4ed0e 10-Mar-2014 Selim Cinek <cinek@google.com> Initial implementation of NotificationStackScroller

Change-Id: Ida9a90ca4c9645166794afea8cf0c1d1b7afe1b4
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
1dd9c53a40b7c147767c63e10a47eb5cb6f8e197 26-Mar-2014 John Spurlock <jspurlock@google.com> Merge "Zen mode updates."
eeb397b77f249045b02fe3014479a9c1bf001d0d 25-Mar-2014 John Spurlock <jspurlock@google.com> 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
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
4c3199928250dfea6307809fd0a2091c78a75240 26-Mar-2014 Chris Wren <cwren@android.com> Merge "always clear the HeadsUpDecayTimer"
7fd2a3bf6ae68a16084f3553d5b159b895e3103d 26-Mar-2014 Chris Wren <cwren@android.com> always clear the HeadsUpDecayTimer

for non-clearable heads up notifications,
a decay timer may be left in the queue

Bug: 13652819
Change-Id: I533db43484731922790f8501250b5a1ca7d4ba0b
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
8ed3b587f00ccb1b4264d2ee3590af32464428c9 24-Mar-2014 Chris Wren <cwren@android.com> Merge "add more dump info for heads up notifications"
f9e1a0b369740e11ea1ed4f141ffb936fc1a6cdb 20-Mar-2014 John Spurlock <jspurlock@google.com> Annotate framework vibrate calls with stream hints.

Migrate existing framework usages of Vibrator.vibrate to use
the new overload with an explicit stream hint. This prevents
them from being blocked by rules targeting the unspecified stream.

For calls that pass the existing appops check in VibrateService,
pass streamHint down to the input device vibrator so we don't lose
the signal, but leave it up to InputManager to decide what to do
with it - currently unused.

Change-Id: I65c944e4010edea29a412bf57d8d7d3b8098b746
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
3a7c4a5669420ae9b01eda88d1d60114e99d70ff 03-Mar-2014 Kenny Guy <kennyguy@google.com> Show notifications from related users.

When filtering notifications for user include those for users that
are related to the current user.
Pipe through user id so we know which user the notification is for.

Change-Id: I4e2657c23bd7b611d450be5a1f9457824bc062cb
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
3b6745b16fe755b135bbc626983f684d61da3726 07-Mar-2014 Chris Wren <cwren@android.com> add more dump info for heads up notifications

Change-Id: I1f240c915f3783e5c1dcfa7725cc142ddddf8da4
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
10d82dfbfb4bcc0899bd1e8dc04e97c2ea39a752 01-Mar-2014 Chris Wren <cwren@android.com> rename heads up global setting: base part

Bug: 13208692
Change-Id: Ia020e4d63552ab4b8cbb8a37622c36776800a790
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
454a0384708433e165a6340dc98bd060775ec613 01-Mar-2014 John Spurlock <jspurlock@google.com> Merge "Wire up SystemUI zen mode config to new settings panel."
de547008d110fc4a23ee5ff6ae6ebba4788cd4bb 28-Feb-2014 John Spurlock <jspurlock@google.com> Wire up SystemUI zen mode config to new settings panel.

Change-Id: I949b31be0b31c02ab736799f9080601fb0fd79d1
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
7bd2412332f5cf7b22fd730397d1225fbea00cbf 28-Feb-2014 Chris Wren <cwren@android.com> add a setting for the heads up: base part

also fix a crash if the feature is disabled and then enabled
while a heads up is active.

Bug: 13208692
Change-Id: I6847f7a5f275aee2f608de0237dab0e45c39b33f
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
595c2c58d54d9bc2bcda6eac92960075806931bd 28-Feb-2014 Chris Wren <cwren@android.com> Merge "use ticker text as a criterion for heads up"
110e5b10d73bc59a641f00339852b5717de73389 27-Feb-2014 John Spurlock <jspurlock@google.com> Disable zen mode UI until provisioned.

Change-Id: Ib7fb9a793176ec38c4958dba7ee546ee1f47fba1
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
dfae159bb8a25a84dc24591d791ce1d743ba4252 27-Feb-2014 John Spurlock <jspurlock@google.com> Merge "Introduce zen mode."
e677d7113f6627161653f686b6381d2eef4d502f 13-Feb-2014 John Spurlock <jspurlock@google.com> 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
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
22ae46efddd9ea708c977a33e22279531e26a39c 27-Feb-2014 Chris Wren <cwren@android.com> use ticker text as a criterion for heads up

Bug: 13208692
Change-Id: I83831c059cb4582b16ce877af58be9fb3a5bec8d
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
9924e130373455899ecb4f0d78d6b607fb40e866 26-Feb-2014 Chris Wren <cwren@android.com> 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
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
fd16d56419649b885f2e18dc37a18add0fe91e01 14-Feb-2014 Dan Sandler <dsandler@android.com> Allow a user to elect to see private notifications in public.

Settings.Secure.LOCK_SCREEN_ALLOW_PRIVATE_NOTIFICATIONS, if
set and nonzero, will show that user's notifications on the
secure lockscreen (assuming LOCK_SCREEN_ALLOW_NOTIFICATIONS
is also set). Note that this applies only to a particular
user's notifications, so if multiple users' notifications
are shown at once (currently this only applies to the
current user and USER_ALL) only that user's notifications
are affected.

USER_ALL is assumed to always allow private notifications in
public (because they can't be user-specific).

Change-Id: I32bb7939066c4919191e74161ca48ead01a88c7f
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
f29c3b4997e74e58600487193930264eebe85c9d 27-Nov-2013 Chris Wren <cwren@android.com> explicitly handle clicks on the heads up notification

Bug: 11900055
Change-Id: I45c955f7ac91dc9f59528e382e9df490f0f96be5
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
c6d1c60fb1de5a48e85ddbfe9b66ccc9285df4af 17-Jan-2014 John Spurlock <jspurlock@google.com> Global system setting to override certain window policy.

Specifically, the ability to force immersive-mode-like behavior
on the status bar, the navigation bar (or both) on a
package-by-package basis - and to disable immersive mode
confirmations for specific packages.

Change-Id: I2df7092a91eceeb815367ef917dd7289f4f2b27e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
a5e0f415d351ad1a9c0ffde8d93df91a2384591f 23-Jan-2014 Dan Sandler <dsandler@android.com> 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
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
ab847cf16dd42af71a6e4a444709c1ce1a227bc6 15-Jan-2014 John Spurlock <jspurlock@google.com> Tear down bars on destroy() and avoid null pointers.

Change-Id: Ie393689bbf2f0b28895bfde5098c883b5d4ea4a6
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
7f42fc500717b68ee597c1e4f0e9808f4616db47 14-Jan-2014 John Spurlock <jspurlock@google.com> Add demo-mode command to hide notification icons.

Bug:11285517
Change-Id: I341feadbf164afd34fef192a541f14a2ff67e8e2
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
8ab172e8d9c2e926921bb52838c2322142fb3c65 19-Dec-2013 John Spurlock <jspurlock@google.com> Add rotation-lock to Quick Settings on phones.

Make the rotation-lock QS tile available for display on phones.

Devices < sw600dp are only allowed to lock rotation to their
natural orientation (i.e. portrait on most phones), so tweak
the QS tile label to make this clear. e.g. "Locked to Portrait"
instead of "Rotation Locked" on portrait phones.

Simplify RotationLockController now that the sw600 check is no
longer hardcoded in RotationPolicy.

Remove redundant sw600dp check in SystemUI, everything driven
from the RotationPolicy helper, though SystemUI can still
choose not to display the tile at all with a resource config.

Clean up some of the docs in RotationPolicy to make clear the
subtle distinction between the two ways of locking rotation:
- From Accessibility (locks to natural orientation on all devices)
- From System UI (locks to natural < sw600dp, else current rotation)

Bug:11062710

Change-Id: I5caa4485c9501315da9fed964d6667d3012b43cb
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
f579adc8d5e4173e106757db13095989eaa374ab 25-Mar-2013 Cuihtlauac ALVARADO <cuihtlauac.alvarado@orange.com> Removed useless test

Change-Id: I6269e4ca4ced5c9d2ef68522d26e94e419980c0a
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
26a08ac51a95bd71e1909d7b40d0e50f0d6bf243 08-Nov-2013 John Spurlock <jspurlock@google.com> Avoid unnecessary ticker animation if already visible.

When ticker disabled (e.g. on lockscreen) we should avoid
animating on halt if already halted.

Bug:11033324
Change-Id: Id2927d66492a128928b80ff98dc9182209be0652
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
56d007b99841f7f603e5d5bc5c23b94c010f1945 28-Oct-2013 John Spurlock <jspurlock@google.com> Manage keyguard nav elements using transitions.

Move the logic for managing dimming the navigation bar
elements on the lockscreen into BarTransitions.

Replace search light + camera assets with new
versions at full brightness, and apply 50% dimming
at runtime, including the IME dismiss button.

Remove unused StatusBarManager _NOP hints.

Improve choreography between camera button +
password security (w/ IME). Fix a few found bugs
in PagedView.

Improve password security unlock transition, manually
fade in back along with the rest of the icons.

Bug:11221659
Change-Id: Ifd1f8c9f400d90542f0ca858b9a4deacabbd518a
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
42197263bc08843ad18a8660887ef540c630c232 21-Oct-2013 John Spurlock <jspurlock@google.com> Optimize system bar background drawable.

Out with TransitionDrawable.

The new background drawable knows about all possible
background styles, and optimizes the transitions
between them - including picking up from the current
state, force finishing on screen off, and using
SystemClock.elapsedRealtime() for timing.

Bug:11254317
Change-Id: Ice83dc966f6674ef97f7008f2a1b62d67ec59e7d
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
3d7e0958c4300c1405363468387d4c51f9df9ee3 13-Oct-2013 John Spurlock <jspurlock@google.com> If the panels are disabled, don't go opaque on interaction.

Bug:11149893
Change-Id: Id1a56200ead6e7d7e78e665796646b90ed5c0870
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
7e8ae50efb98ac89ede25a32a3aa9f7f4c200e07 11-Oct-2013 Daniel Sandler <dsandler@android.com> Be sure to update the display metrics on config change.

Regression of ancient bugs 6955586 & 7086018 (navigation bar
missing buttons since they're stacked up off the screen
along the wrong axis).

Bug: 10341684
Change-Id: I778b085bf256cb20ecceaf38fd229a7de9b75aae
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
1267727241c941af42faf19bfc1e21034112e0da 10-Oct-2013 Jim Miller <jaggies@google.com> Merge "Have SearchPanel fade camera and search buttons when activated" into klp-dev
ad178a43ba478167a39c117b372c0017449d9386 09-Oct-2013 Jim Miller <jaggies@google.com> Have SearchPanel fade camera and search buttons when activated

Bug 10991981

Change-Id: Iabc497ce992b675bff1df634add755e67a7fb794
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
c68d577f29604d205573ee4253704c5b2c5e4f81 08-Oct-2013 John Spurlock <jspurlock@google.com> Allow IMEs to extend below nav bar, remove SystemUI veto.

Layout IMEs below the nav bar, offset by bottom padding and
associated guard rectangle with a black background to ensure
they do not appear as islands during transitions.

This makes it safe to remove the SystemUI forced opaque transition
when showing an IME, making the overall transition less expensive,
quicker and smoother overall.

Bug:11058746
Change-Id: I460912ee7c117480c57b947ed31eca330819f32c
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
342cad772be1973875dea6a31ceb04bc72e7a6b5 08-Oct-2013 John Spurlock <jspurlock@google.com> Turn debugging off prior to ship.

Bug:10488453
Change-Id: I37680c6b0c24f00f4fe3926ee97d2a14edb1ced7
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
bd95740648372449a4d5c164d7050eee352d4c24 03-Oct-2013 John Spurlock <jspurlock@google.com> 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
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
777dcdeeb67c570168e04d5096d2a7a9eb408cea 30-Sep-2013 Daniel Sandler <dsandler@android.com> Fix configuration changes in status bars.

- Make sure SystemBars calls onConfigurationChanged on the
status bar
- Remove redundant ACTION_CONFIGURATION_CHANGED receiver in
BaseStatusBar & move this code into onConfigurationChanged
- Force locale refresh even if a configuration change
touches only the layout direction

Bug: 10113357
Change-Id: I92902d25cbae77f2558cfb85482484b11dc7294e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
f95c9aa7e1229963a4cb92eed46eafc205b03cb3 19-Sep-2013 John Spurlock <jspurlock@google.com> Merge "Don't disable animations until screen state is known." into klp-dev
8c52042264b638f788a8a0c665599b9cdccb7d14 19-Sep-2013 John Spurlock <jspurlock@google.com> Don't disable animations until screen state is known.

Bug:10602521
Change-Id: I54a0c7a9dfd7d9c248854738414613d32d85476a
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
f82e73c572cf5781232db2aa9fae6e02e04dbaaf 19-Sep-2013 Chris Wren <cwren@android.com> Merge "disable heads up feature in klp." into klp-dev
e631b41d8be2952db48df5838c6fb5d8df4645d1 18-Sep-2013 John Spurlock <jspurlock@google.com> Draw gradient behind fully transparent system bars.

Use a transition-drawable to crossfade between the gradient and
solid color backgrounds, avoiding custom onDraw.

Rename colors to their final names. Since both bars now receive the
gradient treatment, centralize in base BarTransitions.

Bug:10602521
Change-Id: Id094fa1767eabab88a3709d6026c23858c83fb5b
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
37d608d7c8215e6dce3c7a2c14cb96768dcf3078 15-Sep-2013 John Spurlock <jspurlock@google.com> Fix layout glitch specific to quick-settings -> settings.

When collapsing panels in code, relinquish focus immediately,
triggering an immediate reeval of current focus in WM,
triggering an immediate reeval of sysui flags,
triggering an immediate system bar transition
with the correct destination content frame.

Otherwise we eventually get around to it, after several layers
of sysui animation delays, but delaying the sysui visibility
re-eval until this point is far too late.

Bug:10696375
Change-Id: I947289667225b6a12bb8c81950df0e2e2d9f1f99
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
7edfbca5d00cbc376fda790b50a3fedb9c6070ab 14-Sep-2013 John Spurlock <jspurlock@google.com> Promote lights-out to a bar transition mode.

Move all visual application of the legacy lights-out behind
a new mode managed by BarTransitions for better coordination.

Remove unused "hidden" state in NavigationBarView.

Improve window state (showing/hiding/hidden) calculation,
affecting whether or not sysui thinks it should animate.
Removes invalid interim mode changes causing needless
flashing during some transitions.

Consider WINDOW_STATE_HIDING a state in which we ought to animate,
since at least part of the window is visible throughout.

Make the status/nav bar transition helper classes real boys.

Animate KeyButtonView drawing alpha transition, cancel existing
animations when resetting to avoid needless and unsightly "recovery".

Bug:10746803
Change-Id: Ibd883da9041d071b6a4ff5b42cf96efba7696e9c
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
f6e83f452f2223dc99da157f95a11a584f94ea50 11-Sep-2013 Chris Wren <cwren@android.com> disable heads up feature in klp.

Bug: 10315685
Change-Id: If1c096e133b70db92ae06f2b632faa5e25cf015a
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
5fee8360f8b5beb89700329ee57ec52295c62425 12-Sep-2013 John Spurlock <jspurlock@google.com> Status bar interaction veto revoked on ups/cancels.

If we get an ACTION_UP or ACTION_CANCEL and the shade is not
expanded, treat this as a signal of !interacting, revoking
the interaction veto.

Bug:10711758
Change-Id: Ia69ff24880193fa8d99ece79053eeb95dfa9ba71
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
79ec2a15f791ca583c97fa8de772347f93cec568 11-Sep-2013 John Spurlock <jspurlock@google.com> Don't rely on window state when disabling the panel.

Bug:10488453
Change-Id: I09ffbf166dd34489064cf0d73fe7ae4dd356c6c9
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
cfc359a9e6798dc7595380314eac7fcfeda14d76 05-Sep-2013 John Spurlock <jspurlock@google.com> Remove opaque-on-interaction from nav bar.

And decouple it from the status bar opaque-on-interaction logic.

It's still important to track nav bar interaction for hideybar
suspension purposes.

Also fix a sysui NPE that can occur when restarting SystemUI
(vs the shell).

Bug:10606136
Change-Id: I66a15e02cff352e26b25aebc1c42fb58c042effa
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
3c87566c115e1fce3fdc09a6fe40488bcdc04cde 31-Aug-2013 John Spurlock <jspurlock@google.com> SystemUI demo mode.

Control the status bar visuals via a simple intent protocol.
Useful for comprehensive visual testing reachable assets
and the various bar modes.

Protected behind a global system setting. To enable:
adb shell settings put global sysui_demo_allowed 1

Remove obsolete sync failing asset, and tighten up
BluetoothController to represent reality.

Bug:10502089
Change-Id: I28443af3d6b22fcb7b367ef70e1d95fc23ebd407
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
cbd067e87537874ce216c02cab2ab46b5980b634 03-Sep-2013 John Spurlock <jspurlock@google.com> Merge "Dim status icons / battery / clock on opaque bars." into klp-dev
e6f0a716501e57616c8e1d809c0f60b08d21eb0a 03-Sep-2013 John Spurlock <jspurlock@google.com> Dim status icons / battery / clock on opaque bars.

Apply consistent alpha to the other status bar elements
now that they are intrinsically brighter than before.

Bug:10602822
Change-Id: I8ca6ddc844f9c58ddf2a1df8d1a5bd7fb71932d1
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
686820a402497611f9392488786df0d17d70238a 03-Sep-2013 John Spurlock <jspurlock@google.com> Don't ever disable the status/nav bar.

Revert part of the fix for b/8682123 until we figure out why
the window state does not flip to SHOWING in BarController.

Bug:10488453
Change-Id: Ic5d60a6d945b470fd519dc01de30690e61c62e01
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
8f1f0109d3c124bfcb09c99e69e6ad51b8208c24 30-Aug-2013 John Spurlock <jspurlock@google.com> Remove unused status bar help and obsolete resources.

Bug:10502089
Change-Id: I813244c4d5535256a56b242b92e6373edbbaba93
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
d4e6575c4f664e0d42d9306c9762d96533df429e 28-Aug-2013 John Spurlock <jspurlock@google.com> Ensure IME windows always appear north of the nav bar.

Even if the bars are transparent / invisible.

Refactor the PSB bar mode override logic to take the IME hint into
account. Bars are overriden to opaque when hint is showing.

Initialize bar state to showing, fix bug that would mark state
as hidden pre-show (on shell restart).

Bug:10505132
Bug:9499956
Change-Id: I21e830e90c7e9812b4192ca65c3c0cd7a6b72798
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
f6b639773c7462da26d3adac546fed1520ad81ad 27-Aug-2013 John Spurlock <jspurlock@google.com> Fix NPE for devices w/out soft-nav.

And fix other places w/out null guards in PhoneStatusBar.

Bug:10507892
Change-Id: I1be1b4c88bedd097530fd44d3506b716957f9c14
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
0ec64c65fb7fbfd89556bc33f5caab4ef0937fd4 26-Aug-2013 John Spurlock <jspurlock@google.com> Add new logging for system bar window state.

And re-enable PhoneStatusBar dump output in bugreports.

Bug:10488453
Change-Id: If39b32e82dee59f3c166c5a948d379030da0ea01
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
b77edbfdab54531023c8bbea7d89b6cefc42096c 22-Aug-2013 John Spurlock <jspurlock@google.com> Improve transparent bar transitions.

1. Migrate transparent transitions to the new optimized
background color animations.

2. Ensure sysui animation transparent -> opaque has enough
time to run before window manager crops off the content area.

3. Lose the individual alpha on each status bar icon if the bars
are not opaque. Animate the alpha if visible, make sure they
play together.

4. Documentation typo fix found in AnimatorSet.

Bug:10344949
Change-Id: I615668ce3c552d3df15dbba5cdeeca67549a0220
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
6d15a364f26bd61122bfdd127eee225ca65206f5 21-Aug-2013 Chris Wren <cwren@android.com> use ONGOING as the signal not to auto-hide heads up

instead of INSISTENT or NO_CLEAR
required some disambiguation in places where ONGOING is already used.

Bug: 10412149
Change-Id: Iea7d698846c76a464cae511a3a8e3908b114edfe
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
e03f4e1fae518cff08ffcf51a3435cefe4fed1c8 08-Aug-2013 Chris Wren <cwren@android.com> handle updates to the notification in the heads up

Bug: 10226356
Change-Id: I5bc9aecc3849617092e863868a6df610c615048b
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
5b9145bf990a9bbf4fdef1739e61ff8c70ec868f 20-Aug-2013 John Spurlock <jspurlock@google.com> Improve transient bar transitions.

1. If app clears transient flag w/ a gesture, the touch-outside
listener would always win, causing an unsightly hide + immediate
reshow. Instead, give the app some time to clear the flag, then
perform a smooth transition in place.

2. When the transient bars are hidden, we do not know ahead of time
which background will be used on reshow (if transient bars are
revealed, the background is semi-transparent, if transient bars
are cleared, the background is opaque). Window manager is responsible
for showing windows, but sysui is responsible for setting the view
background. Therefore, we need some level of coordination between
the two in this case. Introduce two new non-public sysui flags
that represent the window manager's request to reshow the hidden
bars, but do not reshow until sysui acknowledges (by clearing the flag).
This gives sysui whatever time is necessary to prepare itself for
reshow, avoiding unsightly blip from opaque -> transparent during
the enter animation.

3. When both system bars are hidden, any low-profile changes are
moot. Avoid unsightly low-profile animations during bar reshow
by suppressing the flag in this case.

4. Improve transient bar home -> launcher transition by cancelling
the -> opaque animation. This also fixes a bug where hitting
home from the transient bar would leave you with a semi-transparent
bar in a non-transient state.

Bug:10284800
Change-Id: I238210561d8d5f70c1a517283b986c9105a1ec75
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
f01f1e9b9e6b9ced969d79489619947fd5fedcbe 19-Aug-2013 John Spurlock <jspurlock@google.com> Merge "Use panel tracking as signal preventing auto-collapse." into klp-dev
3b139a9ed06fdaad694ca97b8f99e7038007a054 17-Aug-2013 John Spurlock <jspurlock@google.com> Transition bars to opaque on user interaction.

When the transient bars are revealed, smoothly transition the
bar style to opaque to blend with the other panel chrome.

Bug:8706719
Change-Id: I65e5b22e2f91a3db0394c0f571127397ba692f46
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
a4b70aff3419b61d2395589b393251da9ddcba3f 17-Aug-2013 John Spurlock <jspurlock@google.com> Use panel tracking as signal preventing auto-collapse.

Keeping track of pointer down at the window view level is unreliable
since gestures can be stolen.

Bug:10328256
Bug:10226720
Change-Id: I92d72f9eed73f90d2a7c5b30a3f6a4aa6549f799
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
89835ddf327ef256b44d91cf1fd1898c0599eb48 16-Aug-2013 John Spurlock <jspurlock@google.com> Lose navigation bar icon alpha in transparent modes.

Also decouple visual style from bar mode in preparation for future
changes.

Bug:10344949
Change-Id: I8e5a94b023cd6a6606c3aab485f81b1494295cee
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
dfaf3bdeeb21c8421074c70d82642612bcdd8e98 12-Apr-2013 Daniel Sandler <dsandler@android.com> Toward regularizing color & level across battery indicators.

Each of our existing assets is slightly incorrect in some
way: inconsistent pixel jumps from one percent to the next,
inconsistent color change, etc. The only way to get it
perfectly right is to draw it programmatically.

Bug: 8504254 // inconsistent color change threshold
-- previously --
Bug: 3136046 // in Gingerbread
Bug: 3387973 // Honeycomb
Bug: 5070948 // ICS
Change-Id: I6a3e7409ecec55e10328541ecb1e9d54aebdbe96
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
e932e30eadb5978591316ffe3d21d60604c0cd91 12-Aug-2013 John Spurlock <jspurlock@google.com> Distinguish transient + transparent bar styles.

Transient bars = 30% black scrim per spec (formerly view alpha).
Transparent nav bar = Simple gradient drawable from 50% to 0% black.
Transparent status bar = Fully transparent.

Smoother transitions between bar modes will be tricky due to
coordination with window manager, and thus deferred to a separate
future change.

Pre-baked assets instead of the gradient drawable will also be
part of a separate future change, this change is simply meant to
move closer to the final look and feel to minimize confusion for
those kicking the tires on the new flags.

Bug:10012887
Change-Id: I8c35a660187903224a6bfe604b5313e9115c4a73
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
34e13d90eda9bfda7a70998d190a95c88aa3d3d1 10-Aug-2013 John Spurlock <jspurlock@google.com> Update transient navigation confirmation logic.

Show the confirmation toast when hiding the transient
navigation bar only the first time per app, per reboot.

Hitting the power key while the transient nav is hidden
is taken as a signal of possible user confusion, so reshow
the prompt the next time.

This requires the confirmation prompt to live in policy
(not sysui). It arguably should have been here in the first
place, since the transient bar state/policy was here, and
sysui should not have not been able to fail to display
the prompt correctly.

Also take this opportunity to remove a hack wrt positioning
the confirmation properly while the nav bar is transitioning.
Toasts now support LAYOUT_HIDE_NAVIGATION if applied to the
toast's view.

Bug: 10246225
Change-Id: Ieb6355e4ca975c0758918a39e3c2ec13da81c7f4
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
bcb21a839027926267f6f019865852863f7dbf48 08-Aug-2013 John Spurlock <jspurlock@google.com> Fix recent regression in hideytoast.

Bug:10240896
Change-Id: Iba7af673bdfd878a02932e19dd594e3f9667d7a1
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
7a605df3137ee571dec855761c0cb15b28513d26 08-Aug-2013 John Spurlock <jspurlock@google.com> Merge "Don't always auto-collapse an empty notification shade."
e97f90b9bbe3e75db058827887a842c5f4a0dda0 07-Aug-2013 Chris Wren <cwren@android.com> on screen off: convert heads up to full screen intent.

Let the app handle screen off as appropriate.

Bug: 10209767
Change-Id: I3949def1980118c0380b173a83148321ad8c5d95
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
f0048ce66fa7b4859b44badc8e58ea8b27e2356b 07-Aug-2013 Chris Wren <cwren@android.com> heads up notifications always take the top spot

If it was important enough to be a heads up, it should get top spot.
Make this sticky so bumping out of the HUN doesn't require a shade sort.
Split view creation and insertion so we can get the shade order correct.

Bug: 10001616
Change-Id: I4c1f2581e11a94241269984a01b92289a8943065
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
d4db6cbc0fa5b3b1ff7ea18f7b861f0753518e4f 07-Aug-2013 Chris Wren <cwren@android.com> don't bump an active heads up for a corrupt notification

Change-Id: I405d6438e003b08fc3e144bb870c3b3233f71e26
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
1caf7eb5999b7c57ca35cbe3579aa8d6b63394cd 08-Aug-2013 John Spurlock <jspurlock@google.com> Don't always auto-collapse an empty notification shade.

If the user is actively interacting with the shade, don't
collapse it from underneath them.

Bug:10226720
Change-Id: Idf26c8f59dc5a1a5ae3b4314f1ca81740b0517e7
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
9afc50dedaed6e01644171fa2f17edcb5b29e0c0 30-Jul-2013 Chris Wren <cwren@android.com> Animate the heads up notification into the shade.

Bug: 10001874
Change-Id: I14ece05dbc29a93a551381c6ddc3cbbb8a331430
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
0f2aa68e3c8356b0adcd91a3156ce6934c8b85f2 02-Aug-2013 Chris Wren <cwren@android.com> proper geometry for heads up on tablets.

also some code cleanup since things are getting complicated.

Bug: 10074485
Change-Id: I900a60f0fdda8d2ef1bcfe01035d6f716e14aa56
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
e1f366faf8691f0dacde1dad35b28fcc37120776 05-Aug-2013 John Spurlock <jspurlock@google.com> Introduce new transparent bars sysui flags.

Two new public sysui flags for views to request transparent
bars:
View.SYSTEM_UI_FLAG_TRANSPARENT_STATUS
View.SYSTEM_UI_FLAG_TRANSPARENT_NAVIGATION

This first change simply introduces the flags at the framework
level, and makes the requisite layout tweaks to WM.

As part of this change, expunge the term "hideybars" from the
codebase. The flag to declare support for transient bars is called:
View.SYSTEM_UI_FLAG_ALLOW_TRANSIENT

Final visuals/transitions between opaque/transparent bars will be
done as a subsequent change. Right now the transparent style is
identical to the transient bars.

Change-Id: I5ead9c5e7b77f212df5b2a5f6e770596cd2226f3
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
9764218ff979f735aee2f1189e3547d5f3b02f83 29-Jul-2013 John Spurlock <jspurlock@google.com> Collapse/disable shade when hiding status bar window.

Provide system bar window visibility (showing/hiding) to sysui,
information it did not have before.

Use this new info to disable shade interaction when bars are hiding.

Bug: 8682123
Change-Id: I4105b789866f847582af1c68a703240d773fa71e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
eda110fdf13021704111c6939abfafdca3d16f9c 25-Jul-2013 Chris Wren <cwren@android.com> insistent heads up should not time out

Bug: 10000289
Change-Id: Ic263d9d6e90a61cc766844a8394c71d281f93976
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
9deaa286d8db51cd53118b3c14a418c512cf55db 25-Jul-2013 John Spurlock <jspurlock@google.com> Dismiss hideybars on touch outside.

When the system bars are revealed in auto-hiding mode, the user
should be able to dismiss them before the timeout by interacting
with the underlying activity.

Bug:8682187
Change-Id: I79169005baafda27fb5ad9c29ab1ec67600b2eb6
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
a5baf891024888eefdd1d1f6ed1e2923f0600681 25-Jul-2013 John Spurlock <jspurlock@google.com> Remove obsolete optimization.

Reverts JB optimization I7ae978caa1f28932ee56f65484b18330a4406b80
made obsolete by I2f9b0591d44599b07bd83f03c4e09e6dd98e1448 in MR1.

Change-Id: I8a738624f9a902648e317f2eac25fd56c3b47a46
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
51c7510e493680b4aca1ed7695b35c52d2cd63ff 17-Jul-2013 Chris Wren <cwren@android.com> allow rich notifications in the heads up.

new shouldInterrupt logic: screen on, not locked, not dreaming, and
priority above HIGH and noisy, or has fullscreen intent
draft of API allowing devs to give hints about head up display

reuse inflateViews()
add an expand helper to the heads up space
move some things into Entry for reuse

don't allow touches in first second
delay decay if touched
make decay time a resource

add a custom viewgroup for notification rows to get view management
out of the NotificationData class.

Change-Id: I36464f110cfa0dabc3f35db7db6c35c27e8ee2ba
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
209bede6b9edb9171e5bee4077b48e35004a37b4 17-Jul-2013 John Spurlock <jspurlock@google.com> Remove trailing whitespace from system ui.

Baseline existing .java files, no excuses going forward.

Change-Id: I4bd0f25bbda6f2ec832e34ef5c70d4830bf07f99
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
157026f820f9ff08a63c78368f928a505cb11ec5 28-Jun-2013 Chris Wren <cwren@android.com> heads up notifications, v0.1

1. re-name intruder alerts to heads up notifications
2. use interrupt for the verb form, instead of intrude
3. new policy: no full screen, high priority, screen on, not locked or dreaming
4. controlled by global setting, with an observer
5. only content view for now, expandable is a todo

to turn it on:
adb shell settings put global heads_up_enabled 1
calendar notifications (not pop-up) work well.

Change-Id: I253418c217d0a5cf81dc2fa001f4bad90fafcce5
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
20f573c9fc00a15e104814af955784ad7a26b8db 24-Jun-2013 John Spurlock <jspurlock@google.com> Remove obsolete recents layout params.

Change-Id: I20d12a63f4449ba73911cbe219446f3d1cd089e9
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
5c4541246c6a70f53552423dc35940386788bd5f 17-Jun-2013 John Spurlock <jspurlock@google.com> Introduce SystemUI-managed alternative system bars.

If a service component is defined in a new secure setting,
SystemUI will attempt to use that service as the status bar
provider.

Falls back to the existing in-process implementation configured
in the product config if the setting is missing or invalid.

Nothing changes yet from a permission point of view. Alternative
system bar implementations still require the status bar permission.

Also nothing changes from an api point of view. Alternative
system bar implementations use the existing IStatusBar interface.

This simply enables testing alternative system bar implementations
installed from other trusted, platform-signed packages.

Known caveat: the setting is stored per user, multi-user changes
will be handled in a future CL.

Change-Id: I0413df185f7e75f77ad2ae1bc3689306d5e6e0fb
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
743356ad1a43af85bddddfcc58171b99541c4c28 15-Jun-2013 John Spurlock <jspurlock@google.com> More hideytoast stabilization.

Back to Gravity.TOP workaround to keep the hideybar confirmation
toast stable during navbar enter/exit animation.

Reverts part of Ifa380e387389ed9917336ad19dfde49f67a5fb10

Change-Id: I1e2e54851f2030603d43df611a616101f19bdab3
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
e804cb56d02cc31b917e755670f08cb4ec60cf80 14-Jun-2013 John Spurlock <jspurlock@google.com> Stabilize hideybar confirmation toast.

Remove gravity workaround no longer needed after recent window
manager layout fix.

Also migrate instable code-based toast text calculation to use
the resource system properly.

Change-Id: Ifa380e387389ed9917336ad19dfde49f67a5fb10
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
b0e49fc93c146d7ddc8e1f27ec67306a71168510 12-Jun-2013 John Spurlock <jspurlock@google.com> Remove TabletStatusBar from systemui package.

Change-Id: Ie8b556dbba8751617582f8c717ee83e480938b27
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
de84f0e77ea2bf713d15c290264059a413c2486a 12-Jun-2013 John Spurlock <jspurlock@google.com> Organize the imports in systemui.

To follow android conventions, more importantly to remove the
unused.

Change-Id: I75881718e84360a579a3b02c26489ad250bc9227
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
cd686b5b6d4166b510df8e32138479a9559bc117 05-Jun-2013 John Spurlock <jspurlock@google.com> Migrate systemui Slog calls to Log

Change-Id: Ib6734c85960f06fed646599565b8eeba26b9e98e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
6196cfdb528d662741c68126062dd34d78641a5b 30-May-2013 Svetoslav <svetoslavganov@google.com> Merge "Remove Auto-rotate screen setting if a required feature is missing."
7ca6c5c42644d1036ca505db96c4986e2da70c62 29-May-2013 Daniel Sandler <dsandler@android.com> am a1f49d8b: am 295eddb9: Merge "Don\'t show emergency calls label unless it\'s a phone." into jb-mr2-dev

* commit 'a1f49d8bb77db20617f9ea372ad9f1a9e06deece':
Don't show emergency calls label unless it's a phone.
8b268d461b7001da212589b371dd3f9a79a79b3e 28-May-2013 Daniel Sandler <dsandler@android.com> Don't show emergency calls label unless it's a phone.

Bug: 9042105
Change-Id: I8ffb6a66851878cdf22be9a20dbf57f5b6b48002
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
dcf4f2146097eeae6991e6131e5ae96b33fbeda9 21-May-2013 John Spurlock <jspurlock@google.com> Hideybars feature confirmation toast bar.

Enhance Toast to support new standard toast bar style, similar
to the undo bar in Gmail. Toast bars can be interactive,
and can have a single action. Add a new toast duration to
indicate persistent toasts (no auto-hide delay).

Use the new toast bar to implement a feature hint when hiding
the navigation bar in hideybars mode.

Per UX, the feature confirmation bar can also be dismissed on
any outside touch as long as the user confirmed it using the
OK button at least once globally.

Bug: 8754108
Change-Id: Iaa85d3b4da7ada1952a562f1e31de04380f5d587
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
ad3e6cb4db99ad33fcfc61f236d37cd83446866d 30-Apr-2013 John Spurlock <jspurlock@google.com> Navigation hideybar via new system ui opt-in flag.

Apps using SYSTEM_UI_FLAG_HIDE_NAVIGATION to hide the nav bar
or SYSTEM_UI_FLAG_FULLSCREEN to hide the status bar can now
opt into hideybars by also using a new public sysui flag:
View.SYSTEM_UI_FLAG_ALLOW_OVERLAY

When opting in, apps accept the fact that bars can be overlayed
over their content, but gain the ability to use the entire gesture
space - something that was not possible before, particularly when
hiding the nav bar.

Swiping from the nav bar edge of the screen will reveal the new hidey
version of the nav bar, if applicable.

Bug: 8682181
Change-Id: I6405bee50e6516667ba6b9a62d4f1e43490b5562
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
79578b29bf4ba1d210586b9d7bb832eddf0960b7 30-Apr-2013 Svetoslav <svetoslavganov@google.com> Remove Auto-rotate screen setting if a required feature is missing.

It is possible that a device running Android does not support rotation,
for example a Google TV box. The change adds a check to the rotation
policy to take this into account.

The SystemUI was not respecting the fact that the user has turned off
screen rotation, i.e. locked the rotation, from the accessibility
settings. In this case we should not show the affordance to toggle
screen rotation in the quick settings to minimize the risk of a blind
user accidentally turning screen rotation on. For a blind person
screen rotation adds 2X complexity since he/she should learn two
different layouts for the app.

bug:8051556

Change-Id: If1b3c092476932f91b0345fb9bfbbf6ed33d0df9
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
914dcfd093c1c87822f28d527a8eadc12485f742 26-Apr-2013 Daniel Sandler <dsandler@android.com> am ca12d755: am 027f84c3: Merge "API: getPkg() -> getPackageName()" into jb-mr2-dev

* commit 'ca12d75577afb7063af4cae1e6b989eec905cd58':
API: getPkg() -> getPackageName()
06cacff6265bb7173e4a02dcd99102f2c86c3169 26-Apr-2013 Daniel Sandler <dsandler@android.com> am 4064af9b: am a7b6cbf1: Merge "API cleanup: NotificationListener" into jb-mr2-dev

* commit '4064af9b096dfdf317d158c8aafd396c86f3fd0a':
API cleanup: NotificationListener
4f91efdf421e354ee2033ed640e4150cf0cef21b 25-Apr-2013 Daniel Sandler <dsandler@android.com> API: getPkg() -> getPackageName()

Bug: 8656860
Change-Id: If3062b9fc00270e5f0ecfe67e593b9a28c6bccdd
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
e6f7f2e3a01b8deb00e03ccfa93751c315f14ef0 25-Apr-2013 Daniel Sandler <dsandler@android.com> API cleanup: NotificationListener

- Wrap all public member variables in getters and make
slots private
- Rename clear* methods to cancel* to be more consistent
with existing public Notification API

Bug: 8656860
Change-Id: I84f7e71fbb627f859352a93089c6a531b44dac95
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
32beb2c6b1ed87e122973d2c30d990cfe90514b5 11-Mar-2013 John Spurlock <jspurlock@google.com> Hideybars part I - Overlay status bar via an intent.

Implement new mode for status bar, allowing it to overlay
windows that use WM.LP.FLAG_FULLSCREEN, and introduce
transparency.

No gesture is implemented yet, for now the auto-hiding
status bar can be shown using a debugging intent.
android.intent.action.HIDEYBARS

The auto-hiding status bar hides 3 seconds after shown,
or 3 seconds after last user-interaction with the shade.

Change-Id: Ie4bd625b9cbcddea8f818154719c7a6075972f2a
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
fa027f5d91052c01a9880578c102197b48e516a4 12-Apr-2013 Daniel Sandler <dsandler@android.com> Putting the gesture debugging back in the box.

Bug: 7164602
Change-Id: I93f716cd7cc9f1462fbfefb485250729411ede35
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
c8b46ca5754a9ac9e0afea2f9c0b5d9984c5c128 08-Apr-2013 John Spurlock <jspurlock@google.com> Awaken dreams on home + recents.

Fixes the KEYCODE_HOME case, awakes when home is
started for any reason.

Also awaken when toggling recents (and not locked).

Bug:8557212
Change-Id: I6578ae3971740a03c27596b838d27a5ab9b03752
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
5feceebb892d4cb5777cea3c6174b206705d456b 23-Mar-2013 Daniel Sandler <dsandler@android.com> New NotificationListenerService.

This is the best and only way for apps to listen for
notifications: create a NotificationListenerService, wait
for the NoMan to bind to you (as a result of the user
checking a box somewhere in Settings and agreeing to a
scary dialog box), and you'll start receiving notification
posted and dismissed callbacks. Your service, while enabled,
will also be able to clear one or all notifications.

Use this power wisely.

This change moves StatusBarNotification out of
com.android.internal into android.service.notification.
[Internal customers, including System UI and early users of
the system-only listener binder API, will need to be
updated.]

Bug: 8199624
Change-Id: I1be46f823d4b3ddc901109ec1e085cd6deb740c2
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
faa4bea4c07a943170b81b0ce772816eff65ca0a 12-Mar-2013 Daniel Sandler <dsandler@android.com> am 39099fee: am 1bc1699c: Merge ""[+>" more icon was never shown in PhoneStatusBar"

* commit '39099feeece6d76b0c68727506609331e7a6b64c':
"[+>" more icon was never shown in PhoneStatusBar
cd231432ff16cb35aa08cd7b9ca801d26bef261f 10-Oct-2012 Mats H Carlsson <mats.h.carlsson@sonymobile.com> "[+>" more icon was never shown in PhoneStatusBar

"[+>" more icon was never show in status bar because
the member variable for this icon was not initialized
from resources. This fix enables "[+>" icon to appear
in status bar when the number of indications in status
bar becomes large.

Bug: 8368569
Change-Id: Ieb3412eed831052d69c0cf63c9b4230c38171e4a
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
458d5e1b0393810f940dbcc932ed7bf43e313c7b 21-Feb-2013 Daniel Sandler <dsandler@android.com> Make QUICK_CLOCK work on tablets.

Bug: 7724222
Change-Id: Ib8f4beb206736ed01edda96fbd3638a377a8f49e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
b5fe52b389d92c067b19217429a2812a9d0ea9dd 15-Feb-2013 Fabrice Di Meglio <fdimeglio@google.com> SystemUI optimization - rely on inheritance for layout direction

- this CL purpose is to fully rely on inheritance for setting the
SystemUI views layout direction. This is the default case for layout
direction and should stay like that.

Change-Id: I8efb6ab6e5bd10f519c7a27e8837efb69631940e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
37a38aaecb5045906ade6d1c970f106a028cbaf5 13-Feb-2013 Daniel Sandler <dsandler@android.com> More debug logs for stuck statusbars.

Bug: 7686690
Change-Id: Ic58d90a56412579cad0c77f5787a6fc4193a32d1
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
c0cea0f519798889d93c2b01ad0319c5f1884e34 12-Jan-2013 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #5429822 UI should be mirrored for RTL locales (Arabic, Hebrew, farsi)

- mirror airplane mode off (GlobalActions), multi-users, adb connection icons
- update refresh code

Change-Id: I175dec33386c31d4de9028918a43eb6bcd9e9dfb
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
82fca5d27dac1597d5dd739cbdd4529fd8a00861 10-Jan-2013 Fabrice Di Meglio <fdimeglio@google.com> Make SystemUI RTL aware

- mirror vibrate and silent statusbar icons
- add code for updating icons when Locale is changed

See bug #5429822 UI should be mirrored for RTL locales (Arabic, Hebrew, farsi)

Change-Id: Ib7125d7f01ed8d1b8d63c2a9b119eb173efcf49f
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
64161ccb2f3341ebe1675e38a999250c7967d0ad 17-Dec-2012 Chris Wren <cwren@android.com> add logging to debug panel touches.

Turn on gesture recorder.
Add events to the Event Log.

Bug:7686690
Change-Id: I53b7d43f5bdc002360e305182597765f3c430b11
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
8afcd149970c79054a3a16377834aa0aec35eee0 28-Jul-2012 Fabrice Di Meglio <fdimeglio@google.com> Make SystemUI RTL aware

- see bug #5429822 UI should be mirrored for RTL locales (Arabic, Hebrew, farsi)

Change-Id: Ica88ed68f893d5272691a9207788b65623849dee
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
a8ef3b044ebf197c20de693640ecf266d8ddedc5 29-Nov-2012 Daniel Sandler <dsandler@android.com> Suppress quick settings if setup has not been completed.

The button was already hidden, but there are lots of other
ways to get into QS that should check for USER_SETUP.

Bug: 7638795
Change-Id: Ib6c48fc02e833670768e7dc76e25c38097b88c18
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
a46a74fcd61d2b4e72b6027625a471f10b21b1c9 08-Nov-2012 Dianne Hackborn <hackbod@google.com> Merge "Remove extraneous logs." into jb-mr1-dev
7ff30113de68539ec840c524b8f1561f938f96c5 08-Nov-2012 Dianne Hackborn <hackbod@google.com> Remove extraneous logs.

Change-Id: I4c47d36748de91bd6fddc419afbf59552bf63e9a
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
7a73344bbe1636fd01a8b551b0b539168a9a9987 08-Nov-2012 John Spurlock <jspurlock@google.com> Minimal fix for stuck google now.

Bug:7500409
Change-Id: I1570d72e08fbe520ac07eed2ee40b6571fa1fe3c
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
207d548ccf34f7feaa9164ebfa8f81679cb0d55f 06-Nov-2012 Daniel Sandler <dsandler@android.com> Show the assist ring on center-button longpress on lockscreen.

Bug: 7480028
Change-Id: I4c8013e984c2591faf3bc8fe2048abf69d545b6c
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
0058f4ed50e5b4bfc8361c18b87115160d7132bb 23-Oct-2012 Daniel Sandler <dsandler@android.com> Merge "Reset ExpandHelper when the panel is collapsed." into jb-mr1-dev
ac47ff70c322614ff2ca9ad82fe41338daf55877 23-Oct-2012 Daniel Sandler <dsandler@android.com> Reset ExpandHelper when the panel is collapsed.

Fixes a rather unpleasant bug in which the ExpandHelper
could get locked in "expanding" mode if the panel was closed
(for example, with the back button) while you were in the
middle of an expand gesture. In this situation ExpandHelper
would hungrily eat all future touch events destined for the
notification panel, making it impossible to click or even
clear any notifications.

Bug: 7330828
Change-Id: I9c493db5e8fd8ef1aca53f77820780d60fa4e5a7
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
1bbd49d72eee001137b6d6e6ab3f353fe2c0433c 19-Oct-2012 John Spurlock <jspurlock@google.com> Fix nav bar glitch when quickly turning screen off then on.

Keyguard now disables all navbar buttons when turning screen off
instead of only recents.

Navbar is told about screen off/on and disables the layout transition
animation on screen off - if the user quickly turns the screen back
on they do not see the end of the fade out animation.

Bug:7377776
Change-Id: I96a050d58c6c9ce8537f50408655006fadbfcd4f
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
a4be1b2bcdc768708f594b69923986617a367820 22-Oct-2012 Daniel Sandler <dsandler@android.com> Merge "Fix empty notification panel." into jb-mr1-dev
564c03dac59ecd2255bba658b254fd1f5672ec22 22-Oct-2012 Daniel Sandler <dsandler@android.com> Merge "Really hide the settings button on tablets." into jb-mr1-dev
50bc4f5a7c78b949f466891094851bfca9a3f613 22-Oct-2012 Daniel Sandler <dsandler@android.com> Fix empty notification panel.

If the panel closed before the flip animation completed, you
would have had a bad time.

Bug: 7391510
Change-Id: I45c29de45b718bc63e7be1a5544c1f73ac6f46e0
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
7382a025a73064164ab81a7800cebcec3677af25 22-Oct-2012 Daniel Sandler <dsandler@android.com> Really hide the settings button on tablets.

Bug: 7382185
Change-Id: Id452e2499ba2089b8cfb0071b6aedf6d1d917b35
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
2dd0c3a576925be4b5f0438a57af626e6e162e0e 22-Oct-2012 Daniel Sandler <dsandler@android.com> Merge "New lockscreen: allow search gesture from nav bar." into jb-mr1-dev
d5483c3157a28e2ebc05a0c918df8a2be0a7fc89 19-Oct-2012 Daniel Sandler <dsandler@android.com> New lockscreen: allow search gesture from nav bar.

Show a lights-out pip if home is invisible but search is
still OK.

Change-Id: Ifc69c12296cc8e8cf7c89dd06173d7abf499a878
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
80343f646f9686528212f82163a77ef48e30f4c3 18-Oct-2012 Michael Jurka <mikejurka@google.com> Fix recents animations for secondary users

Bug: 7361640

Change-Id: Ibd177bf01758fb8706b82dcf3bf234e052c38aa3
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
720a34d60ac466913a46ad3d757553b72ec50404 18-Oct-2012 Daniel Sandler <dsandler@android.com> Fix glitch when using settings pulldown then switching to notifications.

Bug: 7348917
Change-Id: I65b51bb161934300da9ca0ebf4b184886e3e81df
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
f249efcf3709b0feace01b9e3875cfd64b4d061e 17-Oct-2012 Daniel Sandler <dsandler@android.com> Show clear all when returning from flip quick settings.

Bug: 7367906
Change-Id: I3c6d227d223f11c60a44ceee4cdf698aa2a0acc9
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
26f544aef2b28412d4185b22e5c5660f4293f21b 17-Oct-2012 Daniel Sandler <dsandler@android.com> Merge "For Matias." into jb-mr1-dev
6e2810bb981582a235f27c70885ee55bf71f0174 17-Oct-2012 Daniel Sandler <dsandler@android.com> Fixes for QS:

- don't show clear all on the settings page if a
notification comes in
- delay makeExpandedInvisible when all panels are collapsed
to ensure that the last frame of panel animation can show
in its entirety

Bug: 7362346
Change-Id: I5303f03ea5ee654e222aff0b62ab69f98dc16978
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
040c2e4ace25a45bc701821da4fa786e6dd75ead 17-Oct-2012 Daniel Sandler <dsandler@android.com> For Matias.

<3, dsandler.

Bug: 7348917
Change-Id: I193a94ab82a9e59068c95624c2e8d375543f71f7
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
91ffeddb8b6ceec9a18ae34f88bd56560335de7f 17-Oct-2012 Daniel Sandler <dsandler@android.com> Hide settings button from tablet notification panel.

Bug: 7363279
Change-Id: I90f4286a596527485c462773f2553ed4986f60b2
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
3679bf58fb2f59745b416b26126b7e2a673c54d8 17-Oct-2012 Daniel Sandler <dsandler@android.com> Quickening.

+ Baseline align all header elements.
+ Make clock clickable.
+ Remove clock tile.
+ Reorder tiles.
+ Hide status bar behind panel on phones.
+ Make status bar peek animation show the whole header on phones.
+ Stop hiding status bar bits on phones.

Bug: 7350584 // baseline align header, make clock clickable,
Bug: 7351760 // hide status bar behind panel
Change-Id: I888752b64c56e80c3f5581fd8ee1cfd7c50eab7c
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
fe3376b41aa48b6894afad9b977170bc658a6ac1 17-Oct-2012 Daniel Sandler <dsandler@android.com> Fix NPE in quick settings tiles.

Bug: 7360759
Change-Id: I5b000e063baa1b7e2dddaa25be5b9bcdafa1a974
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
101784e5605338f22e32f587ffcaa09b582d556c 15-Oct-2012 Daniel Sandler <dsandler@android.com> Flipping quick settings!

Bug: 7348917 ╰(°□°╰)
Change-Id: I16923d6d920913a4bd0d78666587ac579ac18da5
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
e111ad300d614a0f94e30f96ae664a1de578c48a 13-Oct-2012 Daniel Sandler <dsandler@android.com> No, that's German for "The Quick Settings, The".

Bug: ???????
Change-Id: I24ffb21b1566d98c9df6db48c4062390757cd8bc
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
ace0bd77438c89578ff821a86ff1ae91f8000ed3 11-Oct-2012 Daniel Sandler <dsandler@android.com> Remove notification/quicksettings explanation cling.

Bug: 7319756
Change-Id: Ic860de7579079596d0e4c3412cf0fa1ccaadc3e1
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
efb0faf1c043777762eecfef87ec575632c365e1 10-Oct-2012 Daniel Sandler <dsandler@android.com> Remove the double-swipe to access quick settings on phones.

On the plus side, the settings button is back!

Now that we have two buttons on the right-hand side it's
more important than ever that the notification panel header
not allow errant taps to go all the way back to the
notification panel, where they will drag/close it.

Bug: 7319756 // remove double-swipe
Bug: 7217201 // finally make the notification header black
Change-Id: I8b2d6c7a7cfaaed2bfbcd61fb45db9f234cb002d
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
118f484424f3e5649833df42a7e613f41b2b2ecd 08-Oct-2012 Daniel Sandler <dsandler@android.com> Fix NPE on devices without notification panel help clings.

Bug: 7302657
Change-Id: Ia161ea2ef74ef1dfbab55dacaa7274ebc2d66439
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
b17a726f2fb1066060b5646d35233d26222e8721 05-Oct-2012 Daniel Sandler <dsandler@android.com> Notification & settings panel help.

Comes up the first time you touch the status bar; explains
where quick settings is, and even allows you to swipe down
to try it (instead of touching "OK").

Bug: 7209412
Change-Id: I72b1a91902e64b4623e0fcaf1555dc703870b59f
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
c38bbc391ae4ec5945d5fa408da3994552f775eb 05-Oct-2012 Daniel Sandler <dsandler@android.com> Lubricate a sticky notification panel.

If the panel was left open when the screen was turned off,
in some cases it might get stuck in an "open" state (the
panel's expanded height would be nonzero) although the
status bar window is in fact fully collapsed (due to
makeExpandedInvisible). The next time the user would go to
open the panel, things would be in an inconsistent state and
the panel wouldn't come down (on phones, the settings panel
would be attempted, but still nothing would happen).

This was easiest to reproduce on the keyguard (turn on
screen, pull down panel, turn off screen).

Bug: 7260868
Change-Id: Iec0000ba020e5a519eb5b4d42ac273b6689a18bd
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
3c008f26ca4f72344b672065b861a3e39812e3a0 04-Oct-2012 John Spurlock <jspurlock@google.com> Merge "Disable quick settings panel in setup wizard (user 0)." into jb-mr1-dev
e4e8c5619c3951e5af79648f82f1dc9bbb1104d2 04-Oct-2012 John Spurlock <jspurlock@google.com> Disable quick settings panel in setup wizard (user 0).

Already fixed for additional users, but not the main user.

Bug:7285805
Change-Id: I1ab29470e23b0d06cd21919c72be72c092c86b2c
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
6295ef325102bed3d12e54020acb8728bc2976a0 04-Oct-2012 Chris Wren <cwren@android.com> Merge "hide the redundant clock when the notification shade is open." into jb-mr1-dev
85db803e7c6baf3b596bf366f71d3bcd08879fc4 03-Oct-2012 Chris Wren <cwren@android.com> hide the redundant clock when the notification shade is open.

Bug: 7204705
Change-Id: I88ef58938c5e96c4828dbda5d93f9874535b212f
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
151f00d8f06e207038125f227b42f06a25d5e0a0 03-Oct-2012 Daniel Sandler <dsandler@android.com> Disable statusbar pulldown gesture tracking.

Bug: 7164602
Change-Id: Ie6569a7a8a9f462e844ef3088098c3256653f630
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
919adac28bd6a9888c3bbd53a1736f260bc76bbf 02-Oct-2012 John Spurlock <jspurlock@google.com> Disable quick settings for users until USER_SETUP_COMPLETE.

If the current user has not yet made it through the setup wizard,
disable the quick settings panel entirely.

Use Settings.Secure.USER_SETUP_COMPLETE as the signal. This is a
per-user setting, so be careful to observe only on the current user's
behalf.

Bug:6712493
Change-Id: I3076a8a550165a9eeccf7fb129d470ef4ddeaed4
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
825b33073f90dc08ef5f0c1036ae9a1555da8f20 01-Oct-2012 Daniel Sandler <dsandler@android.com> Repair lights out mode.

Broken by change I5662269b.

Bug: 7263523
Change-Id: Iae77d12c91443aecfed3e6461b5206208de4ddf7
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
be87e2f5885b28145a788fd31d1fb5ae88a71100 29-Sep-2012 Dianne Hackborn <hackbod@google.com> Fix issue #7255954: API Review: rename Dream to DreamService

Change-Id: I89ecf2c3ec4fef09c0495aa68de11576f9cfd872
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
073a32d5ef8b3589b8315550dca837ae872d4be7 28-Sep-2012 Daniel Sandler <dsandler@android.com> Merge "Fix occasional re-posting of ticker text." into jb-mr1-dev
f59a90c24788d6d67a492aa5a9d8efbf350bbd7e 28-Sep-2012 Daniel Sandler <dsandler@android.com> Fix occasional re-posting of ticker text.

Bug: 6992707
Change-Id: Ib289d742c2fb24d2c201d597349fa86ad8ce4a28
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
6e061919f313f787c91047bebdfb95fdb756d6bb 28-Sep-2012 Daniel Sandler <dsandler@android.com> Merge "Prop the tablet notification panel open a bit." into jb-mr1-dev
e680f5483f845e2c9f75b80358599b5d654a9f8b 28-Sep-2012 Daniel Sandler <dsandler@android.com> Prop the tablet notification panel open a bit.

It will now occupy at least 40% of the screen, vertically.

Bug: 7069227
Change-Id: I540388f6988bee591aee5b7aee1e4d25d08fad96
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
11cf178100e71d3f9f34ab5865e03a277c5eadaa 27-Sep-2012 Daniel Sandler <dsandler@android.com> Cleanup internal status bar APIs.

IStatusBarService.collapseQuickSettings is gone;
collapseNotifications is now collapsePanels, which does what
collapse() used to do. Similarly,
IStatusBar.animateCollapseQuickSettings is now simply
IStatusBar.animateCollapse().

Bug: 7245229
Change-Id: Id157d2fdf34926d3c85ffa8b81c741a5359aede4
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
62c82e4d92cc0b856059f905d81885f7808a0e7d 26-Sep-2012 Jeff Brown <jeffbrown@google.com> Make DreamManagerService more robust.

Clearly isolated the DreamManagerService and DreamController
responsibilities. DreamManagerService contains just enough logic to
manage the global synchronous behaviors. All of the asynchronous
behaviors are in DreamController.

Added a new PowerManager function called nap() to request the device
to start napping. If it is a good time to nap, then the
PowerManagerService will call startDream() on the DreamManagerService
to start dreaming.

Fixed a possible multi-user issue by explicitly tracking for
which user a dream service is being started and stopping dreams
when the current user changes. The user id is also passed to
bindService() to ensure that the dream has the right environment.

Fix interactions with docks and the UI mode manager. It is
important that we always send the ACTION_DOCK_EVENT broadcast
to the system so that it can configure audio routing and the like.
When docked, the UI mode manager starts a dock app if there is
one, otherwise it starts a dream.

This change resolves issues with dreams started for reasons other
than a user activity timeout.

Bug: 7204211
Change-Id: I3193cc8190982c0836319176fa2e9c4dcad9c01f
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
e20a177d3f147f3011647c3bdab401f90b2c5d1d 26-Sep-2012 Svetoslav Ganov <svetoslavganov@google.com> Adding a global accessibility action to open quick settings.

1. Added APIs for opening the quick settings to the StatusBarManagerService
and the local StatausBarManager. The new APIs are protected by the old
EXPAND_STATUS_BAR permission.
Renamed the expand* and collapse* non-public APIs that are expanding
the notifications to expandNotifications* collapseNotifications* to
better convey what they do given that this change adds
expandQuickSettings* and collapseQuickSettings*.
Added a global action to the accessibility layer to expand the quick
settings which is calling into the new status bar manager APIs.

bug:7030487

Change-Id: Ic7b46e1a132f1c0d71355f18e7c5a9a2424171c3
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
173bae2c674b2bc25cf376cbb4e150bd86703049 25-Sep-2012 Daniel Sandler <dsandler@android.com> Improvements to notification/settings panels:

A) Hide icons corresponding to the active panel with a
downward push animation. Notes:
1. this animation will now apply any time the status bar
icons are disabled via DISABLE_NOTIFICATION_ICONS.
2. DISABLE_SYSTEM_INFO will now only hide the right hand
icons (system status icons, battery, clock). But you
weren't using it anyway, right?

B) Stop pulling down the panels in response to just a touch
on the status bar. (That should never have worked.) In
general, we now require that a fling proceed more than
10dp to be treated as a fling with velocity (as opposed
to a v=0 fling, or "let-go").

C) If a panel is pulled down more than halfway and then let
go with v=0, it is expanded. If less than halfway, it is
contracted. (Helps fix B) above, plus it just makes good
sense.)

Bug: 7211541 (A)
Bug: 7227237 (B)
Bug: 7228541 (B)
Change-Id: I5662269b753376804bf629239835dc212716d5c3
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
3ffdcc70c28d7a2abbb4f248d32d70d45d61fd44 23-Sep-2012 Daniel Sandler <dsandler@android.com> Properly launch quicksettings activities.

- As current user
- Dismissing keyguard if necessary
- Dismissing all status bar windows and panels

Also move some QS-specific stuff out of PanelView and into
SettingsPanelView.

Bug: 7217006
Change-Id: I4d8ac84cc0f43e78f70553599c3207305c4f5c74
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
198a0306e5b0ef6b02d61e299a4b4ab4c1c2cdc8 17-Aug-2012 Daniel Sandler <dsandler@android.com> Fix the seesaw behavior on the status panels.

The code in onMeasure that attempts to accommodate changing
child boundaries (i.e. an expanding/collapsing notification)
was locking the window size to the child measurement, even
though another window was trying to seesaw it closed. We now
only activate the rubberband behavior when the size of the
children changes, not on each onMeasure().

Lots of other small fixes to the panel expansion logic, too,
including ensuring that the expanded fraction doesn't jump
to 1.0f when the panel content hasn't been laid out yet
(causing the entire screen to become dim for a second thanks
to PhoneStatusBarView.panelExpansionChanged).

This change also restores the ability of Binder clients
(such as accessibility systems) to expand and collapse the
status bar.

Bug: 7008196
Bug: 6995518
Bug: 6628429
Change-Id: Ib0244a27aef2b4dbe19be98f7e039a9d38f1b80e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
63bcc14c433b754c234bb593e6fdeaf08db1b106 18-Sep-2012 Daniel Sandler <dsandler@android.com> Merge "Remove settings and rotation buttons from notification panel." into jb-mr1-dev
6e5fe432f38f6ba8734a2b242f74c4df805223f9 16-Sep-2012 Daniel Sandler <dsandler@android.com> Remove settings and rotation buttons from notification panel.

Thanks to quick settings, these are redundant.

Bug: 7142026
Change-Id: If38abda3635c4f11a7fa7fa221f4d821f998e445
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
537421bed204a3a0cb8160a9be8a61d67c2c25f4 14-Sep-2012 Siva Velusamy <vsiva@google.com> PhoneStatusBar: Fix NPE while accessing quick settings.

Fixes Bug 7137026

Change-Id: Id156cf8ebb1a31202015a167185a6588283128f8
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
43229d707515ce51c52f63e15257960c6d29162c 13-Sep-2012 Winson Chung <winsonc@google.com> Adding IME tile.

- Adding checks for telephony before showing RSSI tile

Change-Id: I1dc4fb7a07d9693d8c6a96678ac9d4ff9abafe44
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
61e36836b7302c8ccd30c0c07ac14d087f873c8e 10-Sep-2012 John Spurlock <jspurlock@google.com> Notifications: Hide ticker updates from background users.

We should only update the notification ticker area when
the notification is for the current user.

Bug:6924835
Change-Id: Ieaccbd8c972b3d0f62c74d29d42e0fa77ec3148c
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
d63c59786509aadd6a8d0c5cb45ed696339f16b7 06-Sep-2012 Winson Chung <winsonc@google.com> Initial changes to add QuickSettings.

Change-Id: If510f74d6046929e5e8a794c6dc2fddb15a03d6b
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
fd5494b8ef91e8a909622c3bf45dac7537254b41 05-Sep-2012 Daniel Sandler <dsandler@android.com> Merge changes I4ef284da,Ie8cc69bd into jb-mr1-dev

* changes:
Make the SystemUI stop the screen saver when a full-screen notification is posted.
Do not play sounds or vibes for background users' notifications.
5a426f6c4ac67a52768c56b97d35808dc11905c8 05-Sep-2012 Daniel Sandler <dsandler@android.com> Merge "Full-height panels on phones." into jb-mr1-dev
bf526d14f3252b8a5c123291e4cd8b1c51346560 05-Sep-2012 Daniel Sandler <dsandler@android.com> Full-height panels on phones.

The dynamic carrier label is also back for those devices.

Finally, allow the panel to be dragged just by touching the
(newly reopened) empty area.

Bug: 6999596
Change-Id: I65f2867f1bd1977270de0bcedd32cb7141fcb6b1
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
c9ce0abe29baecc540c48f4913255a71586bcfd3 04-Sep-2012 Daniel Sandler <dsandler@android.com> Make the SystemUI stop the screen saver when a full-screen notification is posted.

This keeps all the fullScreenIntent logic (including
multiuser implications) in one place.

Change-Id: I4ef284daf90464f105780ade1d971e9e081fbbb5
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
adf0b215908f8fd921fcb734b9809c806cb67042 04-Sep-2012 Michael Jurka <mikejurka@google.com> Porting old code for min alpha for items in recents

Change-Id: I68dce175b3a2c0263c5df1ef787c28d6c622e879
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
7f3cf9586ef51d6a870d941e56a0f12471cbbad2 31-Aug-2012 Daniel Sandler <dsandler@android.com> Work around instability of Display.getRotation().

Ensures that the navigation buttons are properly oriented
each time the screen comes on.

Bug: 7086018
Change-Id: Iac6243792a8c64001ff7409108fb892bd470e4c4
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
c26185bb7b30508a1940eb452af64b6d8661915f 29-Aug-2012 Daniel Sandler <dsandler@android.com> Expand the navbar dead zone briefly after touches elsewhere.

For now, each time the dead zone captures a touch, it will
flash to let you know that's what happened. We should
probably turn this off before shipping.

Note also that this currently only expands the navbar on
ACTION_DOWN elsewhere in the UI (because this is the only
time ACTION_OUTSIDE is generated); this isn't perfect and
we'll need to do some mucking about with the input system to
get information about ongoing drags or additional pointers
down, but this CL is a good start and introduces the general
mechanism for expanding and contracting the dead zone.

Change-Id: I43e63aed1e541fd07d83fde4d66bcb5be89b69d2
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
cb2522c86d75fff277dc38ec7e444a5b5f5130ea 13-Apr-2012 Michael Jurka <mikejurka@google.com> Recents: apps scale down to thumbnails now

As a part of this change, Recents is now an
activity.

Known issues:
* Jank: jump-cut as app icon appears suddenly
after the aniamtion
* Preloading recents is broken on phones without
soft nav bar and on tablets
* Thumbnail window from animation lingers/flashes
sometimes

Change-Id: Ie6f991f3c2e1e67f9ed84eb6adba9174ed957248
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
98365d7663cbd82979a5700faf0050220b01084d 20-Aug-2012 Jeff Brown <jeffbrown@google.com> Refactor for multi-display support.

Split WindowManagerImpl into two parts, the WindowManager
interface implementation remains where it is but the global
communications with the window manager are now handled by
the WindowManagerGlobal class. This change greatly simplifies
the challenge of having separate WindowManager instances
for each Context.

Removed WindowManagerImpl.getDefault(). This represents the
bulk of this change. Most of the usages of this method were
either to perform global functions (now handled by WindowManagerGlobal)
or to obtain the default display (now handled by DisplayManager).

Explicitly associate each new window with a display and make
the Display object available to the View hierarchy.

Add stubs for some new display manager API features.

Start to split apart the concepts of display id and layer stack.
since they operate at different layers of abstraction.
While it's true that each logical display uniquely corresponds to a
surface flinger layer stack, it is not necessarily the case that
they must use the same ids. Added Display.getLayerStack()
and started using it in places where it was relatively easy to do.

Change-Id: I29ed909114dec86807c4d3a5059c3fa0358bea61
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
79af1dd54c16cde063152922b42c96d72ae9eca8 17-Aug-2012 Dianne Hackborn <hackbod@google.com> Switch public APIs to use new UserHandle class for identifying users.

Gets rid of "yet another integer" confusion.

Change-Id: Id07ea7307aea7c62f0087c6663a1f1c08e2e5dee
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
5050813f15a1d39d49cb8eca5a3aa6df43c4d450 16-Aug-2012 Daniel Sandler <dsandler@android.com> Allow the panels to be temporarily dragged past their contents.

Once the user lets go, restore the "correct" height of the
panel.

Bug: 6999596
Change-Id: I2db393873cee876cf17fea25c9d25fe5e3a78424
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
f02b60aa4f367516f40cf3d60fffae0c6fe3e1b8 16-Aug-2012 Dianne Hackborn <hackbod@google.com> Rename UserId to UserHandle.

This is the start of turning this into a formal public API.

Change-Id: I5786d2c320f1de41a06ed5d0f65adb68967287a0
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
1e8feef1faca7d2f14bf459691dbe724c8cf5c88 16-Aug-2012 Daniel Sandler <dsandler@android.com> Fix status bar disabling.

Bug: 6998403
Change-Id: I8a47e694f2f3914ef5cf0d180b0309783148c627
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
b9301c3a686df05950710ec80e2cd691c3082871 14-Aug-2012 Daniel Sandler <dsandler@android.com> Multiuser support for notifications, take 1.

Notifications for background users are hidden from the
panel and status bar.

Still need to add a concept of "any user" notifications (for
things coming from the system) and notification visibility
controls (for access to icons + possibly masked text of
a background user's notifications).

Change-Id: Iba121f35a6c25c2e1c44db029d776a5a59a6a008
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
8e72c9e19cfb0b6c1463fa841f1dd02be8f3b4e1 15-Aug-2012 Daniel Sandler <dsandler@android.com> Quick settings come to all Android devices.

I mean, real soon now.

Change-Id: I9a15b49f271e7ae06eb48a402f58270d8adccbf4
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
41f71dc814e89546110c57b7ee73c87f31aaba4e 14-Aug-2012 Daniel Sandler <dsandler@android.com> Merge "Use a color resource to specify the dim behind panels." into jb-mr1-dev
e7237fceb1cd17af006815c4338fe8e4a7971ff7 14-Aug-2012 Daniel Sandler <dsandler@android.com> Fix bug with swipe-to-dismiss.

(Clearing all notifications prevents notifications from
being subsequently swiped away.)

Change-Id: Ia15704c390d95f16675e2eea6040379099f44430
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
1c1edaa5f127d814058271ee4827fc0fe4a8de44 14-Aug-2012 Daniel Sandler <dsandler@android.com> Use a color resource to specify the dim behind panels.

Change-Id: I551d9969dc1f4032f26fd94cf9719f07873abb5e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
08d05e3d1d6ade6924266296033981a96b47d5fb 08-Aug-2012 Daniel Sandler <dsandler@android.com> New status bar capable of multiple sliding panels.

There are some visual glitches but almost everything should
be put back pretty much where it was.

Change-Id: I2f9b0591d44599b07bd83f03c4e09e6dd98e1448
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
747a9e986c634bc25be3f44c333d7c6ecd44158e 10-Aug-2012 Daniel Sandler <dsandler@android.com> Capture orientation change data in the gesture log.

Change-Id: I19719f82f1b6b6563b33edc85b4a8a259d04ba0c
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
a2fbe53f1e59a9b015d27213fbc8588883f4d408 10-Aug-2012 Daniel Sandler <dsandler@android.com> More termination conditions for Dreams.

Default implementation of Dreams will finish() on KEYCODE_BACK.

PhoneStatusBar will awaken() from any Dream when the Home key is pressed.

Change-Id: I55e2a5d533a7fb93debc4c54514dba3b9098f009
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
8264408f5995534f8e3147b001664ea0df52aaa5 03-Aug-2012 Amith Yamasani <yamasani@google.com> Start the correct settings from the status bar.

Added a new method to Context: startActivityAsUser() requiring the
INTERACT_ACROSS_USERS_FULL permission.

Show the correct Recents list, based on current user.
Added a getRecentTasksForUser() in ActivityManager. Hidden and requires
the INTERACT_ACROSS_USERS_FULL permission.

Change-Id: If5b56465efdd3ead36601a3b51ed4af157bbf35c
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
fbf30896653b7a3eb09ea110b1ef4c21c1059977 28-Jul-2012 Daniel Sandler <dsandler@android.com> am 5cb62df6: am dd4ef49f: Persistent \'emergency calls\' banner in the notification panel.

* commit '5cb62df6bdac4aaab7a1c1b1ef849ec213ff028b':
Persistent 'emergency calls' banner in the notification panel.
dd4ef49f4545dad2a6503d29e129472aba5392fc 27-Jul-2012 Daniel Sandler <dsandler@android.com> Persistent 'emergency calls' banner in the notification panel.

While carrier info (or SSID for devices without mobile data)
will still be shown in a floating text view at the bottom of
the notification shade, emergency-calls-only mode will now
be shown in the notification panel header so that it cannot
be obscured by notifications.

Change-Id: I714b6801be2b9b631b86b51d229440445eff5e76
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
3380534a62abf20b4509db6068ac02b1b880712f 23-Jul-2012 Daniel Sandler <dsandler@android.com> Collecting some data on notification panel gestures.

Look for it in /sdcard/statusbar_gestures.dat, in "JSON
lines" format: one list of gestures per line; each gesture
is itself a list of objects representing motion events and
tags (annotations).

Exploded example:

[ // list of gestures
[ // this starts a gesture
{"type":"motion",
"time":1347697, // in SystemClock.uptimeMillis() base,
// like MotionEvents
"action":"down", // down, up, move, cancel, else numeric
"x":277.61,
"y":1.00
},
{"type":"tag",
"time":1347701,
"tag":"tracking", // "tracking" or "fling"
"info":"collapsed" // extra stuff
},
... // more events
],
... // more gestures
]
// newline
[ // another list of gestures
...
]
...

Change-Id: Ifacbf03749c879cd82fb899289fb79a4bdd4fc3b
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
d290c9d1a4189cd8d5b2942468226a869d4405b6 19-Jul-2012 Daniel Sandler <dsandler@android.com> am f22beb3f: am 0038ec11: Merge "Fix stuck status bars." into jb-dev

* commit 'f22beb3f2fae39568d1576254e4733c089da16f3':
Fix stuck status bars.
ed930e5ad537eb63b3b96fd583025bf4269da16f 03-Jul-2012 Daniel Sandler <dsandler@android.com> Fix stuck status bars.

An odd little bit of logic (attempting to defend against
the status bar getting stuck on orientation change) was
ironically causing it to get stuck if the bar was closed
twice in very rapid succession (which can happen if you
manage to click the settings button as the panel is about to
close).

Other tweaks to help defend against this sort of problem in
the future:

- When the screen goes off, immediately collapse the
notification panel (without animation)
- When completing panel collapse, force the height of the
expanded view to 0 (in case it ended up some other way by
this point).
- Reduce a weird little glitch when you start
animateCollapse() in the middle of a reveal animation.
(The panel would jump to full height.)

Bug: 6765842
Change-Id: I233467c73e130f64401333319943289cbf3daa56
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
3d0abf449032519165424037cf36b05809b2ab37 03-Jul-2012 Daniel Sandler <dsandler@android.com> am 97270ce8: am 5d0c689b: Merge "Logs to track bug 6765842." into jb-dev

* commit '97270ce8ce17d77f773a2cafa9176afd73cc6f84':
Logs to track bug 6765842.
fdbac77e829b7575e0986b7919ff545bae2144fe 03-Jul-2012 Daniel Sandler <dsandler@android.com> Logs to track bug 6765842.

It looks like we can get into a state where the notification
panel gets un-expanded, leaving an unsightly mess where your
status bar should be.

This change adds some additional info to the dumpsys output.

Bug: 6765842
Change-Id: Iecf2480bc7bdf5bb737863c0cbf9ad07d8523c0c
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
4f329cb77df5c53a677e5f2bcf695f6cdbe06658 28-Jun-2012 Michael Jurka <mikejurka@google.com> Merge "Fix warnings and remove dead code"
a600fd9ba76e7916f18521447446671f0e431560 26-Jun-2012 Michael Jurka <mikejurka@google.com> Fix warnings and remove dead code

Change-Id: Ifd1bcd8f5be181b115910f2f8918e1e50975a790
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
4c3cc7d4c9657df75d2e3e88cfe75017c15c37e1 27-Jun-2012 John Spurlock <jspurlock@google.com> am 928c8877: am c6a2fa8c: Merge "Disable assist gesture when keyguard is active" into jb-dev

* commit '928c88774db7d89036aef0f4286f7414b3a597f3':
Disable assist gesture when keyguard is active
67ad368d4d549b431d826936e40a679099fefec8 26-Jun-2012 John Spurlock <jspurlock@google.com> Disable assist gesture when keyguard is active

Prevent search gesture from firing when keyguard is in restricted input mode,
e.g. in Emergency Dialer. Also disable the Home touch listener in this mode to
avoid bringing up the ring. Affects both phone and tablets.

Bug: 6723749
Change-Id: I60f0aebfcce4cf7f66798ee1212ea326bdad3ef0
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
a4b7f2f75e7803193429ec1179fb5e2eb1c6fbda 21-May-2012 Dianne Hackborn <hackbod@google.com> Use two fingers to work some magic...

Change-Id: Ibcb3dbd3d158c22da8277e544d81fb47eadccd49
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
3623128d13839b48693245a64448fb2dabc1977f 23-Jun-2012 John Spurlock <jspurlock@google.com> TabletStatusBar: Hide notifications during Setup Wizard

Protect tablet users going through the initial setup wizard from trapping
themselves in Settings before the setup wizard is complete. A similar change
was already made for phones, so use the same logic.

Also hide quick-settings button (another way to get trapped in Settings) and
associated panel click handler. Remove clear button since we're no longer
showing notification items.

Bug: 6704080
Change-Id: If7148cde9d18f493627f8367fd4b39d22e0d5ef1
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
67234c4b87f767a8d5ebbd1ab6bc803f7fe8504c 15-Jun-2012 Daniel Sandler <dsandler@android.com> Hide "no internet connection" when connected some other way.

We now track whether the device is connected at all, and use
this to suppress the disconnected message in the mobile
status string (we previously just looked at wifi
connectivity).

So, if a device is attached via ethernet:

- On wifi-only devices, the combined label is shown in the
notification panel, so you'll see "ETHERNET" (this comes
straight from EthernetDataTracker; at some point we need
localized strings and icons).

- On mobile-data devices (phones), the notification panel
only shows the mobile data label, which will be
suppressed, so you'll see nothing at all.

Bug: 6648292
Change-Id: I9841eaeffe50a4f046afbdc09d80c5bd4d78a839
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
68a808bc702f03536bd0cf3e2556127e364119d6 15-Jun-2012 Daniel Sandler <dsandler@android.com> Merge "Show even fewer notifications in Setup." into jb-dev
54ab347fdde0e4d14d923cca80e5bcc7b879fc52 14-Jun-2012 Romain Guy <romainguy@google.com> Don't create a giant layer for all notifications
Bug #6642475

When expanding the status bar, create one layer per notification instead of
a single giant layer for the pile of notifications. This prevents layer
creation failure when the total height of the notifications is larger
than the maximum allowed texture size in OpenGL ES 2.0.

This change only enables layers on notifications that will be visible
once the notification area is fully expanded.

Change-Id: I3c791a66cf5ac0973f3a65cfcd84b95209d580f3
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
590d515d912396a0c293d78529ac0dbc224400bf 14-Jun-2012 Daniel Sandler <dsandler@android.com> Show even fewer notifications in Setup.

Restricting to pkg="android" didn't filter out things like
open wifi networks, etc. So now we have a whitelist:
notifications must be sent the "android" pseudo-package,
*and* they must have one of these "kind" tags:

- android.system.imeswitcher (IME switcher, needed by SUW)
- android.system.update (OTAs)

Note that OTAs currently use a fullScreenIntent, so they
bypass this logic anyway, but for consistency's sake we now
allow OTA icons in the status bar explicitly.

Bug: 6645469
Change-Id: Ib2e2f22d7a0817a1acaf8137ed4f3c7d3ddf8af5
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
8385adc9600c63bc2d55d6d745eec4d018e0ed0f 14-Jun-2012 John Spurlock <jspurlock@google.com> Merge "NavBar: Slippery on the unsecured lock screen." into jb-dev
a1d40e47f6aa976da584136ea6f6ba76e7046d11 14-Jun-2012 Daniel Sandler <dsandler@android.com> Merge "Remove an unnecessary animation." into jb-dev
d5ef54658ba7f869b1558df656772eebc3fb7328 13-Jun-2012 John Spurlock <jspurlock@google.com> NavBar: Slippery on the unsecured lock screen.

The NavBar is always non-slippery, except when:
- the notification shade is showing
- the 3 buttons (back,home,recents) are disabled

Also fix unrelated bug that ignored the "show panel delay"
before the first config change.

Bug: 6614842
Change-Id: Ib40adaef122b563809398fdebbd8a88d8f0c7ffd
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
66d92f81093e648186b31d0416555ec05aff0e0b 13-Jun-2012 Daniel Sandler <dsandler@android.com> Remove an unnecessary animation.

When the notification panel is full-width (small devices
like phones) we can just leave the icons showing all the
time, which saves a little CPU during the
performance-critical shade expand operation.

On sw600dp devices we continue to use DISABLE_SYSTEM_INFO to
smoothly hide the status bar when the notification panel
appears (and show it when the panel is dismissed).

Bug: 6555172
Change-Id: I59a1226549dd1e51c375c3972b47079c1ee856b0
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
36eeb6a5be895bfba0405d34062d0db5b118a329 12-Jun-2012 John Spurlock <jspurlock@google.com> Merge "StatusBar: Respond properly to global expand message" into jb-dev
56b135b91051664ae9027f50e9f20b7fcf6565ba 12-Jun-2012 Daniel Sandler <dsandler@android.com> Merge "Put PLMN and SPN on one line in the notification panel." into jb-dev
2c1a4c05b83e0461169bb846765ae415b4e79fcf 12-Jun-2012 Daniel Sandler <dsandler@android.com> Merge "Suppress header flash when collapsing notifications panel." into jb-dev
8506149f613f3f98bbbf6675ed9c36dd32d4ce4f 11-Jun-2012 John Spurlock <jspurlock@google.com> StatusBar: Respond properly to global expand message

Fix timing issue in PhoneStatusBar#animateExpand(). Also, notification panel
drag handle (when expanded) reflects movement immediately.

To test animateExpand():
$ adb shell service call statusbar 1

Bug: 6629916
Change-Id: I22bb09fc4c9d97c93ba8d7aed8921b60f5ebd610
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
0d8eba64b2ee2921915e0f6793ddd2d8f44e2428 11-Jun-2012 Mathias Agopian <mathias@google.com> Merge "Enable HW accelerated window shade for all devices" into jb-dev
18ac7826ae037990551e8dae6870affaaca0599f 11-Jun-2012 Daniel Sandler <dsandler@android.com> Put PLMN and SPN on one line in the notification panel.

We now match the keyguard's presentation: either plmn, or
spn, or "plmn|spn" (concatenated with a pipe).

Bug: 6639047
Change-Id: Ia6ae9085fbf2fe9fa4465a6f7825cb997db5e6c5
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
e5011a3ad4186a39f07bd155784a0b3eba404274 11-Jun-2012 Daniel Sandler <dsandler@android.com> Suppress header flash when collapsing notifications panel.

LayoutTransition is poking through and it shouldn't be.

This change also fixes a few related animation glitches
around the carrier label and fling velocity.

Bug: 6628429
Change-Id: I6655c9f9a8c95c7abd9c6d7099957cb229b86d5a
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
059537e7924a5547849b537bf0e50d2f814b80a5 07-Jun-2012 Chris Wren <cwren@android.com> Merge "Back from the dead: Carrier name, background dimming." into jb-dev
67e7d90376150042b9f464e8ca44f4b3a032f11c 06-Jun-2012 Daniel Sandler <dsandler@android.com> Fix notification icon fading.

Bug: 6581738
Change-Id: I547cae03533d9a9e6cf1d15e4b47845f61eee072
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
3d32a24adf02cecca86ec16ac8827ce195daeaec 05-Jun-2012 Daniel Sandler <dsandler@android.com> Back from the dead: Carrier name, background dimming.

Unlike previous versions of Android, we now show the current
wifi SSID in the carrier label if connected to wifi.

Bug: 6612419
Bug: 6620626
Change-Id: Ifb5ba8efe6dd387e960efc6a9b1da69a08e97d96
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
0901fda2fe59715e9522a7a190ed260b435fea24 23-May-2012 Romain Guy <romainguy@google.com> Enable HW accelerated window shade for all devices

Change-Id: I78ca9a192ae97e3160d3cf17a61856f60c64807c
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
fc6902b66e3319279d88247b5610e0f45e9a5ada 05-Jun-2012 John Spurlock <jspurlock@google.com> Merge "StatusBar: Improve framerate on reveal animation." into jb-dev
804df70112204a492730a5632e4524fddf0e4f48 01-Jun-2012 John Spurlock <jspurlock@google.com> StatusBar: Improve framerate on reveal animation.

Ensure reveal animation runs after notification panel is completely drawn.
Align minimum close handle position to proper height with new super status bar.

Bug: 6555172
Change-Id: I7ae978caa1f28932ee56f65484b18330a4406b80
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
f3abbad5a72171a796c7200600383940c882285a 04-Jun-2012 Michael Jurka <mikejurka@google.com> Change Recents background to solid color on sw600dp devices

Bug: 6572502
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
a764816b1ae961218bd7c628ab9f0ad384eab8cd 03-Jun-2012 Daniel Sandler <dsandler@android.com> Merge "Hide notifications until the device is provisioned." into jb-dev
26cda27d2e6f1341514943b39a4da1e55ba2197e 22-May-2012 Daniel Sandler <dsandler@android.com> Hide notifications until the device is provisioned.

During Setup (0 == Settings.Secure.DEVICE_PROVISIONED)
there's no reason to show notifications, unless they're
coming from the platform (and therefore essential to the
setup process), like the IME switcher.

We also disable the settings button and ticker while the
device is not provisioned.

Bug: 6355011
Change-Id: I1522f0c0fed3f2f95a36bd71d051248e12f0a1f8
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
311a961a9a9f29d365954302202e27b82853485a 01-Jun-2012 Raph Levien <raph@google.com> Fix bug 6596440: NPE when pulling down notification window

Pulling down the notification window set the navigation bar view to
"slippery", but this view is NULL on some devices such as Crespo.
The fix simply makes it a no-op in this case.

Change-Id: I720a257c1715febda5932d50906c5dddbca2b312
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
b490c3e64d4671133eb5e2c7a263f38879ef0ce3 31-May-2012 Jim Miller <jaggies@google.com> Fix 6583164: Make navbar slippery when shade is open

Change-Id: Ie7bc726dd292b8b363c155492fb620e49a123f05
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
9a720f5eb6c67b581df22f4ecb498cebb459babe 30-May-2012 Jim Miller <jaggies@google.com> Fix 6398209: SearchPanel gesture improvements

This fixes a few recent regressions caused by other bug fixes:
- add new flags to animateCollapse() so we can selectively close panels. Fixes regression caused by attempt to close recent apps from startAssistActivity() which had the side effect of closing the search panel before the animation completes.
- adds tuneable holdoff delay for responding to home key press.
- minor tweaks to MultiWaveView animations.

Change-Id: Ia48434b8d59e7b0290a5e9783960c2f684068218
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
a073e570789e5b49e8339af44516444b13db4428 24-May-2012 Jim Miller <jaggies@google.com> Fix 6398209: General animation improvements for swipe to search

This cleans up the animation for swipe to search from the navbar. In particular:
1. Wait for initial animation to finish if gesture was too quick.
2. Better fade animation
3. Hide background and fade in when ring is selected
4. Smoother target and outer ring animation when switching between states.

Change-Id: I401197760cf9f06b6ff3e1cdb80bee86a03ef276
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
bbedfa0036f8de393c05b2ad981695ae74e7ab42 26-May-2012 Romain Guy <romainguy@google.com> Merge "Tale of status bar on crespo, part 3 Bug #6541079" into jb-dev
a27551dde853733e89aa16b6fb096186b08c5d81 26-May-2012 Chet Haase <chet@google.com> Merge "Make Google search panel go away when receiving phone call" into jb-dev
ff20b0c0ef34b5bd5859c8a4528085f6cb6e0ba6 25-May-2012 Chet Haase <chet@google.com> Make Google search panel go away when receiving phone call

Issue #6557847 "Google" launcher icon stuck in ring slider after getting incoming call

Change-Id: If77f66fd241af7fbfe6228498b07fd1cfcef36bd
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
8900e631940fdffe7b941b56dc0f17e55345441e 25-May-2012 Romain Guy <romainguy@google.com> Tale of status bar on crespo, part 3
Bug #6541079

The vanished shall not be forgotten.

Change-Id: If01a53d8c203ef82e54d0b440063a8dbebe7b14a
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
648342f1f257663fc5b3065b23c80eb015edfbea 25-May-2012 Romain Guy <romainguy@google.com> Tale of status bar on crespo, part 2
Bug #6541079

In which a flood destroys flatland.

Change-Id: Ifd1913b645c08531b221b3e010c133f14bcfb0c2
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
f7f16f7f3fec4e422b6382a3caead9eeb0c22a1e 25-May-2012 Romain Guy <romainguy@google.com> Tale of status bar on crespo, part 1
Bug #6541079

In which ghosts are more desirable than standing soldiers.

Change-Id: I92ec33fa344938eabe5adf6644683c7ab19ba8a5
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
998bb765290066822ff8a3b378dadd71deb0ce73 21-May-2012 Jim Miller <jaggies@google.com> Fix6398209: reveal search when home button is long-pressed

This change add a feature to reveal the swipe to search interface
when the home key is pressed for longer than 50ms. It progressively
reveals the interface. It still requires a bit of tuning, but all
the basic parameters are in this CL.

Change-Id: I1d3a5bb7b912265eb41da68bc9313eee1af2e415
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
3ac558b6bf15bf20aac73d573748d0df26cc77d5 17-May-2012 Daniel Sandler <dsandler@android.com> Hide the expanded status bar view when not in use.

Bug: 6511388
Change-Id: I8df11f80871cbd739712179034e04f49bb6b0d9d
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
8e18dc77579cdb2b2dad036afd18f8ca4963782a 17-May-2012 Daniel Sandler <dsandler@android.com> Black out the status bar when the shade comes down.

Also move the shade up and forward to overlap the (now
empty) status bar.

As a side effect, DISABLE_SYSTEM_INFO now works for phones.

Bug: 6418617
Change-Id: I3b129e4bb26d3aba55403bf03baf8f4c8ad0ff46
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
5de6e94e36e2adbdd4ebfb5c1903c23c9ea3c388 16-May-2012 Chris Wren <cwren@android.com> Allow pinch gestures to spill over into the shade header.

Bug: 6430396
Change-Id: I62c242f11f47c5e6fff25c31716465b3e777d4ab
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
4391b0bc6949365e5ed26990a1f206bfbae31015 10-May-2012 Daniel Sandler <dsandler@android.com> Prevent IME from being closed by the notification panel.

Bug: 6450921
Change-Id: I124c3776728456fdd71e57cfcf898b11a8dfc7ec
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
a5b2d487005e967eb43b5e077713d6f9bc819fe4 15-May-2012 Jim Miller <jaggies@google.com> Merge "Fix 6483412: Disable search from navbar while SUW is running" into jb-dev
b4238e0c59d8e1890f7752934bdf4d52fa89bf1b 15-May-2012 Jim Miller <jaggies@google.com> Fix 6483412: Disable search from navbar while SUW is running

This fixes a problem where navbar gestures were enabled during
SetupWizard.

There's no clear signal for handling this in StatusBar since there
are a number of flags that we might use to determine the availability
of the search gesture.

However, the UI design generally calls for the gesture to be available
when the home button is visible, so I think it makes sense to start
with that and enable others as we encounter issues.

Change-Id: I7b37964ae5b51bf803d5808605f1afe694a88464
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
56a5783c02c17e7353ee342fa24f04bec7bb545b 14-May-2012 Michael Jurka <mikejurka@google.com> Hide notification panel when launching recent apps

Bug: 6484280
Change-Id: Ib97af40979ccdd98aa2b8af6c1488b33b34bdf2b
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
670d9dd2d04c2146d00b697f7f0faea258297a81 12-May-2012 Jim Miller <jaggies@google.com> Fix 6474712: Disable the google gesture on prime while notifications are open

Change-Id: I7c40e7bf4859d60c54c186fc49b670397a4ea723
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
230e86a1cf31d2f2233a444e4abb0a334576477b 10-May-2012 Chris Wren <cwren@android.com> Merge "Auto-expand the top notification." into jb-dev
0a6a1234c2ee5c6b810c875389016ce89022cee1 10-May-2012 Chris Wren <cwren@android.com> Merge "Pull up updateNotification to BaseStatusBar in preparation for modifying update behvior." into jb-dev
8fd12657e353a4a6f6d875a0d86850426fec00e8 10-May-2012 Chris Wren <cwren@android.com> Auto-expand the top notification.

Bug: 6455789
Change-Id: Ia455f204544ad0c41ace77ea3ece6e0d3d3110d9
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
0c8275b392344c24bb621b2a8af360f48a6459f9 08-May-2012 Chris Wren <cwren@android.com> Pull up updateNotification to BaseStatusBar in preparation for modifying update behvior.

Bug: 6455789
Change-Id: I09fbf4d31643813cb4dfecaa496327d9625a15af
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
8b2e37e5a0e10d234ffe6815e9a462283cad3d78 09-May-2012 Michael Jurka <mikejurka@google.com> Improve recents on sw600dp devices

Bug: 6405276

- Make thumbnails bigger
- Make thumbnails higher-res
- In landscape, start the thumbnails on the right
- Fix issue where you'd sometimes see "No recent
apps" flash before the thumbnails appeared
- Fix issue where the first time recents was run
you'd see double the amount of thumbnails

Change-Id: I878caf57a955cb6a0c1b4f0a72b5b993609047f2
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
c1fc0f01d2b0af2216870a40ae4cb6572588d194 09-May-2012 Jim Miller <jaggies@google.com> Merge "Fix 6398209: Improve responsiveness of swipe up to search" into jb-dev
fc753d2dfa6f1bfafce59e1a2049e640b1629a83 08-May-2012 Daniel Sandler <dsandler@android.com> More visual refresh in the phone notification panel.

Bug: 6418617
Change-Id: Iae9b02084989fad3ec8bb8c88a84c0ec96fc4f22
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
fbab8ae9d562ee7ebe22ec6bcf3aa03d4db106fb 09-May-2012 Daniel Sandler <dsandler@android.com> Fix situations where the shade wouldn't close.

It appears sometimes the Choreographer will call you with an
old frame (i.e. an animation time in the past).

Bug: 6457615
Change-Id: I7135e2f4f524c14fe4f58f9a367f764b66d68edc
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
d99e7fd9fadfa46b6732c21e6a7a54755ceeb3c3 09-May-2012 Jim Miller <jaggies@google.com> Fix 6398209: Improve responsiveness of swipe up to search

This fixes an issue where the swipe-up gesture for search was broken
on phones and tablets. Because the underlying window was slippery,
there was a race condition between the touch moving outside the window
and the layout flag change in the search panel being noticed.

As a result, the code would sometimes inadvertently dismiss
the search panel even though the gesture was successful.

It also changes the timing slightly so we show the search
panel longer for quick gestures.

Change-Id: I30c04b21d3367db4d41c01f23e27edf366711462
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
328b35827e6ce7eba844e338e59427c8cae7b681 09-May-2012 Romain Guy <romainguy@google.com> Make window shade fast on non-high end gfx displays

Change-Id: I64a4861845978f9209c2b7d24c40c65ce7483dcb
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
28612b29f0dd3a650cc4b3ab2f7403f63e3e115c 08-May-2012 Daniel Sandler <dsandler@android.com> Merge "Visual refresh of notification panel header." into jb-dev
06e8d6647db54aa76dda92a5a785737e66d262de 07-May-2012 Jim Miller <jaggies@google.com> Merge "Fix 6397736: Swipe up to search layout fixes" into jb-dev
9ff6378916befd536ddd1816c32a604b068044f4 04-May-2012 Daniel Sandler <dsandler@android.com> Visual refresh of notification panel header.

CLOCK - 2 LINE DATE - ROTATION LOCK - SETTINGS ---- CLEAR ALL

Bug: 6418617
Change-Id: I477b59d83aaefc6943ed3cfd5bb4e3f4072a8471

Conflicts:

packages/SystemUI/res/values/strings.xml
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
20cfb6066a047ebee2552cfbe65c2176adbc34b2 07-May-2012 Daniel Sandler <dsandler@android.com> Merge "Close notification blame popups when the panel disappears." into jb-dev
354619c1cc1b4668c81c5368b2256335cc9e8538 28-Apr-2012 Jim Miller <jaggies@google.com> Fix 6397736: Swipe up to search layout fixes

This fixes several layout issues on phones and tablets with MultiWaveView.

It adds a new background scrim to be shown behind the MultiWaveView
on the navigation bar.

MultiWaveView is updated to handle gravity constraints which makes layouts
much more flexible across devices.

Change-Id: I64068f4eaa81ef6c464247049117d53432fcacbd
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
469e96e206f8df44b32ce393f8d19f0cae730030 04-May-2012 Daniel Sandler <dsandler@android.com> Close notification blame popups when the panel disappears.

Also be sure to cancel the longpress listeners when things
change.

Finally, increase the longpress timeout to 1.5x normal
longpress.

Bug: 6441520
Change-Id: Icea4d2a5c98a9a51a15f0762454de9e5cd454c50
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
e825b3e3d41e3fd2f6f3bbdf9feb6b8cc87a77dd 04-May-2012 Daniel Sandler <dsandler@android.com> Merge "Back button dismisses notifications again." into jb-dev
c4f2a5652dd42fdb43a94e341b7a2034b0211a21 04-May-2012 Daniel Sandler <dsandler@android.com> Back button dismisses notifications again.

Bug: 6441337
Change-Id: Iabc97cd2a3f66ee2af5406807b3023908965b8c8
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
6098c1f44b0f2010053f9ebb6d36e01830784fc5 04-May-2012 Jeff Brown <jeffbrown@google.com> Fix status bar animation jank on last frame.

Change-Id: Idd99f37c76038de1c02a8297c6454c357a846294
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
ed5f45ab8f26740f7f12c2ac7b46ad908f3e9ee5 04-May-2012 Jeff Brown <jeffbrown@google.com> Animate status bar flings on vsync.

Use the Choreographer for timing animations. Ideally we would
rewrite this code to use the animation framework instead, but
this change to use the Choreographer directly is easier and less
intrusive for now.

Change-Id: Ibb322de9424d4d109203951d48263766200ed7e8
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
5380cdc2e1adc8511b05e7623efb44d67be88418 03-May-2012 Daniel Sandler <dsandler@android.com> Merge "Hide icons for low-priority notifications." into jb-dev
58b173b1ca10bfb8bd8f7fac676f51178e57ff83 03-May-2012 Daniel Sandler <dsandler@android.com> Hide icons for low-priority notifications.

Anything below PRIORITY_LOW will usually be hidden (unless
the NotificationManagerService has a compelling reason to
adjust the priority).

Bug: 6357857
Change-Id: Ic8a806a6db87b0473014a5d006279991272a44ea
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
21b274e8a05d83e2a6996aaeec619deaca728de4 02-May-2012 Daniel Sandler <dsandler@android.com> Large-screen notification panel size + positioning.

On sw600 devices we show the notification panel in a smaller
rectangle, centered in portrait and left-aligned in
landscape.

Also remove a bunch of -large resources that shouldn't be
used anymore.

Bug: 6297838
Change-Id: I8ed3445ccb7df16e30870a4322d89786467c54df
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
c40db82a121936a4bab1ec0803efe4d42910e3a5 30-Apr-2012 Daniel Sandler <dsandler@android.com> Fix build

Change-Id: Ic4b76ffd9696998b63e2d7f4891cd721f95037ea
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
1fac1fdd7917d7cb6e1cafc17c71bba12b53fc34 30-Apr-2012 Daniel Sandler <dsandler@android.com> Fix a longstanding bug in the shade pulldown trajectory.

Two parts to this:

1. We were looking at the measured height of the close view
for a lot of our computations, which---particularly with
recent changes that dispense with the old 3-window
implementation---is increasingly unreliable

2. We were overestimating the minY that the panel must be
pulled down before animation starts. It was enforced
jankiness!

Bug: 5359178
Change-Id: Ie09b62226b7b0977527348b5527478665ece1df8
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
a310af88beeae02c7eeec99b93d5168443c59ac4 24-Apr-2012 Daniel Sandler <dsandler@android.com> All Status in a Window.

Bug: 5907042 (jank on pulldown)
Bug: 6347684 (hardware acceleration)
Change-Id: I90a0ac21db493cccf6913cbc271a21a130276991
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
d7e96866568cc94305db1455f4e9a9b8ada70618 26-Apr-2012 Daniel Sandler <dsandler@android.com> Lights out improvements.

+ Finally implemented LO in the top status bar.
+ Tightened up LO animations on nav bar (swap icons for dots
all at once rather than in sequence).

Bug: 6374406 (status bar lights out)
Bug: 5854958 (tighten up)
Change-Id: Id1393cef0b4281e062c1704d916843641da19dc4
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
e898ac59db04d8ab0762180ca8ec7cea1347aa09 07-Apr-2012 Jim Miller <jaggies@google.com> Fix 6299832: Add search target swipe action to navigation bar on phones

This adds a feature to swipe upward on the navigation bar to invoke
voice search on phones.

Change-Id: I462076fd43b1c66c5bf624f00b297c6d3414a19a
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
4a066c5c77109431f50806fc29179d28f1472871 20-Apr-2012 Daniel Sandler <dsandler@android.com> Update SystemUI for sw600dp devices.

Devices between 600 and 719dp will now use the two-bar
(phone) SystemUI layout, or something like it, derived from
PhoneStatusBar. Devices above 720dp will use the system bar
from TabletStatusBar.

However, this distinction is not to be made based on dp, at
least, not by the SystemUI; the goal is to drive most of
this switch from the window manager. Therefore most of
SystemUI's sw600dp resources have been folded into the main
set of resources (renaming them to avoid collisions where
appropriate). This allows SystemUI to choose which set of
resources to use entirely by switching status bar
components, entirely independent of Configuration.

(For some resources, particularly around recents, it seemed
more expeditious to keep relying on the device
configuration, so those resources have been bumped up to
sw720dp.)

Bug: 6297838
Change-Id: I3f5414a6a718bdc83f51930d6878cdf97df48c9c
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
0da673f02e542c644c300568807c80e196296860 11-Apr-2012 Daniel Sandler <dsandler@android.com> Notifications may now be disabled on a per-package basis.

When a package's ability to post notifications is disabled,
all outstanding notifications from that package are
immediately canceled, and the score of any future
notification from that package is set so low that the
notification manager won't even send it to the status bar.

No UI for this yet, but you can try it out:

adb shell service call notification 8 s16 $PKG i32 (1|0)

Bug: 5547401

Change-Id: Ieccac5746b40f60debd902a45d1dedbc91dcdc89
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
f7a1956b06faeb6025fdea331f81d66edda58b3c 04-Apr-2012 Daniel Sandler <dsandler@android.com> Long-press a notification to find out who sent it.

Bug: 5547401
Change-Id: I8d5d73723b3f03f5b0f8717faaca826b1530df7a
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
6b31880838196806dff991551f197684b5809d8b 13-Apr-2012 Daniel Sandler <dsandler@android.com> Remove intruder alert APIs from JB.

Change-Id: I27042d604fbe15879e7b7aaaac860db2d1efa47f
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
6a858c347f4d4e5db4c8f00d5e285967631b71ca 12-Mar-2012 Daniel Sandler <dsandler@android.com> Gestures for expanding notifications.

Change-Id: I104c157ffcc2d60b3f0a95c59d4322b07103b69f
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
592647ee2e2eb64904a3a9c30e8f20b1f08c4ba0 10-Apr-2012 Craig Mautner <cmautner@google.com> Merge "Fix IndexOutOfBoundsException."
93a035cce1a3a3c70cd6f0e0a5f98ac0e4138337 10-Apr-2012 Craig Mautner <cmautner@google.com> Fix IndexOutOfBoundsException.

This fix resolves an exception thrown when the snapshot ArrayList has
no entries.

Fixes bug 6311207.

Change-Id: I84383417116a4a62eb2842792ed04096aebc8ee2
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
84920cc56e4cd4e843845d8d542ba47f3ffb4f36 09-Apr-2012 Daniel Sandler <dsandler@android.com> Fix notifications transitioning from small->big.

We'll have to go back and tweak this when we add a more
sophisticated switch from contentView to bigContentView, but
for now, this ought to detect that the notification has
gotten bigger (or smaller).

Change-Id: I3816fe8ed321569d1ce07d8a62cb08a434e55c2d
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
f87d19621dc2a30232bba1f51862a0b671eb9729 04-Apr-2012 Dianne Hackborn <hackbod@google.com> Clean up status bar, system bar, navigation bar management.

The status bar and navigation bar are two completely separate
elements, with their own semantics. The system bar now classifies
itself as a navigation bar, since that is really how it behaves.

This required rewriting the HDMI resizing code, so that it is
all done by PhoneWindowManager since that is what is responsible
for the size of the navigation bar (and thus now system bar). This
actually gets rid of a fair amount of code, and means we can also
do the same thing for a pure navigation bar.

Likewise the system bar now has the navigation bar ability to be
hidden when requested by system UI flags. To get the behavior
we want on Xoom, we only allow the nav bar to be hidden when it
will help provide a better aspect ratio for showing widescreen
videos.

Finally the nav/system bar now animates when hidden and shown.

Change-Id: Ie927154b68376a0b61802f99171ff56b8da92e7a
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
0424716328a7d0f7bb794d24f7481a76be08d379 02-Apr-2012 Daniel Sandler <dsandler@android.com> Merge "Show action buttons in expanded notifications."
96fd7c1c1acc03b40b1813ef65793560c175ef80 30-Mar-2012 Daniel Sandler <dsandler@android.com> Show action buttons in expanded notifications.

Any notification with at least one action will now have an
expanded form by default. BigPicture/BigText can have
actions, too, of course.

Change-Id: I6f54cac65d9a9f335d8038c2105cd2c674f991ff
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
3a3a6cfd8ec12208ca75c0d0d871d19d76c34194 26-Mar-2012 Dianne Hackborn <hackbod@google.com> Add new feature to let apps layout over status bar / system bar.

The main change is a few new flags you can supply to
View.setSystemUiVisibility(). One is a new visibility mode,
SYSTEM_UI_FLAG_FULLSCREEN, which is basically the same as
the global FLAG_FULLSCREEN option for windows, but driven as
part of the system UI state.

There are also three new flags for telling the framework that you
would like to have your application's UI ignore screen
decorations -- SYSTEM_UI_FLAG_LAYOUT_NO_NAVIGATION for going
behind the navigation bar and SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN
for ignoring full screen decorations (that is the status bar).

In combination with this you can use SYSTEM_UI_FLAG_LAYOUT_STABLE
to have the framework report consistent insets to your application.

When using NO_NAVIGATION, when the user taps the screen we now
also automatically clear ONLY_CONTENT, so that we atomically show
both UI elements. This should make it easy for apps like video
players that want to move between fully full-screen and regular
modes.

The ActionBar has also been extended when in overlay mode so
that it will adjust the system window insets to also account
for its space, and allow it to be hidden using the new
SYSTEM_UI_FLAG_FULLSCREEN.

Change-Id: Ic8db1adec49a0f420bfe40c1d92eb21307856d0b
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
ecc395a51053c433e359a6cfd6c23a193ee546c0 30-Mar-2012 Michael Jurka <mikejurka@google.com> Fix the build

Change-Id: Ib4ea7df5459d025903d00361eb0e9477be299c85
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
50c69b5d8ae4bc973e53cbe3b58b0eb0299e25c8 30-Mar-2012 Michael Jurka <mikejurka@google.com> Merge "Preload recents on phones with hard nav keys"
7f2668c8469934ce83a5647977f6e74ab782cf07 27-Mar-2012 Michael Jurka <mikejurka@google.com> Preload recents on phones with hard nav keys

Also refactor recents code across Phone/Tablet

Change-Id: Id557c5cb0f7d9378f81c40b20511a5d98bf4078e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
f3b7343246bf20a8024853abe9c8eeef767d26da 27-Mar-2012 Daniel Sandler <dsandler@android.com> The beginning of expanded notifications.

There are now two "rebuilder" classes, each of which
consumes a Notification.Builder and modifies its behavior.
(Inheritance in Builder classes is...not advisable.)

- BigPictureStyle: includes a large Bitmap above the usual
notification strip.

- BigTextStyle: shows the contentText in a large, wrapping
TextView instead of truncating to one line.

As for SystemUI, the notification panel now shows the
expanded form if it is available, otherwise the usual
contentView is shown.

(Note that the structure of largeIcon notifications has
changed a bit: The largeIcon is no longer handled by the
status bar at all; it's entirely inside the template now.
Not only does this make the code simpler, and make large
notifications possible, but it fixes the longstanding
irritation that tapping on a largeIcon doesn't highlight the
whole notification row. Man, that feels good.)

Change-Id: I2b9d8a6ea4385659d8cb1ed467c1caf5e12628dd
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
fa7887bebf57f3dcb8283d73e69ba1daa115225f 26-Mar-2012 Daniel Sandler <dsandler@android.com> Intruder alerts with actions and swipe-to-cancel.

Change-Id: I1d8c7d32bcbf4d3910bb866431e92a8639e4e28b
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
c1ebee40b60472553e9678b063b32f4e80b180e8 27-Mar-2012 Daniel Sandler <dsandler@android.com> Turn off logspew.

Change-Id: I54757796de109d12649d4b0f74fbd07a6d360bf8
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
079b33d215a49bc38b488489b0cc13d7273cdc66 02-Mar-2012 Daniel Sandler <dsandler@android.com> New slide-out mechanism.

Instead of sliding the panel in from off-screen, the panel
is now stretched open (cropping the scrolling contents).

This is slower, so the layout has been dramatically
simplified to help performance.

Change-Id: I8343449c2b3fa4b4ee161f1de992d2242635d15e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
c6d29fc0f552db7cfee6491530cf89f59c242bd4 25-Feb-2012 Daniel Sandler <dsandler@android.com> Newly reimplemented PhoneStatusBar, now with fewer windows.

Change-Id: I4eaf69a1d46f9180d6911a6559ff24d173ccb35b
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
4eaa983f253d0215d4de777edd8616318610ea22 01-Mar-2012 Michael Jurka <mikejurka@google.com> Fix alpha when swiping recents on tablets

When you swipe to dismiss a recent item on a
tablet, fade the item to 0 alpha

Also, create common interface for Recents-specific
methods for Recents[Horizontal/Vertical]ScrollView

Bug: 5953654

Change-Id: I0a72b49b3cfae0607b42dbf8f6d4da9898d7e491
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
cbaa666955003928aa8fb710011e1966e64f820d 28-Feb-2012 Michael Jurka <mikejurka@google.com> Merge "Remove unnecessary code"
f16fc51d96be53a844877674b98cb70e60b45278 28-Feb-2012 Michael Jurka <mikejurka@google.com> Remove unnecessary code

Found cleaner way to improve recents scrolling
performance on crespo-- instead of rendering the
background in the items, instead we just set
a window flag. Removed need for a lot of code.
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
fc6fda3950338ce737f096548a079342317cfd7f 25-Feb-2012 Daniel Sandler <dsandler@android.com> Fix fullScreenIntents.

The intruder alert stuff was getting activated, but it's not
really ready yet.

Bug: 6070420
Change-Id: If65165e96bddf1e5e4c89ed26131e45639d5cf2d
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
3f0c58eb708ca520e84396fe764147800395812f 24-Feb-2012 Daniel Sandler <dsandler@android.com> Merge "New notification priority and related APIs."
2561b0b10a55841a08e0e1d467e73e10b1bf256d 14-Feb-2012 Daniel Sandler <dsandler@android.com> New notification priority and related APIs.

This change introduces a few new bits of data on
Notification that will help the Notification Manager and
System UI route and display them more intelligently:

-> priority: an integer in a predefined range that
indicates the app's best guess as to the relative
importance (to the user, right now) of that information

-> kind: a tag (really, set of tags) indicating the general
type of notification (realtime, asynchronous, etc)

-> extras: a Bundle of additional key/value pairs
associated with this notification (currently @hidden)

The notification manager takes these data into account when
assigning to each notification a score which is passed with
the notification on to the system UI, where it can be used to
affect presentation. For example:

- Spammy apps (identified explicitly by the user or by
some other means) will have their notifications scored
very negatively by the notification manager, allowing
the UI to suppress them
- Notifications of higher score might be shown larger
or in a different way
- Very important notifications (indicated by a very high
score) might interrupt the user during an otherwise
important task (videochat, game, etc)

Implementation note: This replaces/extends the old internal
notion of "priority", which was mostly used to organize
ongoings and system notifications at the top of the panel.

Change-Id: Ie063dc75f198a68e2b5734a3aa0cacb5aba1ac39
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
99a9655b9333c3bff6e462b12baa56a5fcd4cb20 28-Jan-2012 Michael Jurka <mikejurka@google.com> Making recents faster

Improving load time by:
- using window animation for fade-in and not
waiting to create HW layer
- starting loading of thumbnails/icons earlier
- only initially creating views for the first
screenful of items
- recycling views

Change-Id: I529b1085fe35d81aaafeb7433ccaed8e0537f01c
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
328310c6fac6066d338926bb43d359862cae36d2 23-Sep-2011 Daniel Sandler <dsandler@android.com> System bar now renders the back button for recents

We used to render the back button in Recents
itself, but that had an inconsistent visual
experience.

As a part of this change, add the early beginning
of support for private status bar APIs for dimming
navigation buttons.

Bug: 3448536
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
17f9fe13c7c78eaab521f6f85b48b0e8f5adddbc 06-Dec-2011 Jim Miller <jaggies@google.com> Merge "Fix 5705837: Dismiss keyguard when launching Settings from Statusbar" into ics-mr1
ad9deec87cae30f73e56f0f778fc3fb52035b325 06-Dec-2011 Adam Powell <adamp@google.com> Drop API level for notification compatibility BG to 8 (from 10)

Bug 5713262

As we had concrete styles for achieving the right text styling as of
Gingerbread, don't punsh apps that used them correctly.

Change-Id: I1e373a0238edd6bdab2d0f96588d9cb92a20b31f
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
5e6af448045f20f7a1b393960d200c25e9d976e8 03-Dec-2011 Jim Miller <jaggies@google.com> Fix 5705837: Dismiss keyguard when launching Settings from Statusbar

Change-Id: I81377d9208b05bb4a3c6c0b8fa751f972b9345e7
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
488529506f2b767aec0c6e122e7227a9ebe067a2 01-Dec-2011 Daniel Sandler <dsandler@android.com> Add copious navigation bar info to SystemUI dumps.

Bug: 5549288
Change-Id: I8556584e6abd22912d55dccc27ccebb6602b1bcb
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
29ea525d18b3c36c56e0c5391bb849a9baf27668 16-Nov-2011 Adam Powell <adamp@google.com> Fix bug 5623642 - Status bar background incompatible with some legacy apps

Give some background protection to custom layouts in legacy notifications.

Pre-HC it was extremely common for apps to hardcode text colors in
layouts. Since this can lead to black text on a dark background in
HC/ICS, give these older apps that target SDK < 11 a light gray
background.

Change-Id: Iab3dea4beb9172b2f9a5cae53991cf952d0c8cde
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
ce33622aed7fb25a14ef957cdc78b78cc4602be9 15-Nov-2011 Daniel Sandler <dsandler@android.com> Merge "Bring back the 'more notifications' icon." into ics-mr1
05e2414ef5a3a8fecbabc1f220c9925539d51f7a 10-Nov-2011 Daniel Sandler <dsandler@android.com> Bring back the 'more notifications' icon.

In fact, there's even more going on here. Icons were
appearing cut off because of the unusual width of icons on
the right-hand side of the status bar; we now take extra
steps to ensure that the IconMerger is only wide enough to
show an integral number of icons. But that causes problems
with the rest of the status bar the IconMerger makes itself
thinner than the overall layout requires, so there's now a
containing layout to absorb the additional horizontal space
properly.

Bug: 5136545

Change-Id: I8c4d1ee2bcd976c452510b33c196fbe0c3e8c660
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
633eabe56d3126fa92eb56636019e5792e20a5da 09-Nov-2011 Daniel Sandler <dsandler@android.com> Remove dedicated wimax icon to fix RSSI layout.

We'll bring the wimax information back, but as part of the
mobile data indicator.

Bug: 5592198
Change-Id: I7d797db18b2d86ea4b8609642c6e09a5b2425459
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
148c7d0de720a92632aa6ed10a39bfc38b427239 13-Oct-2011 tk.mun <tk.mun@samsung.com> Wimax : wimax framework related open source.

Integrate wimax network related changes into Android Framework.
- In Connectivity service, start wimax service.
- 4G icon display in StatusBarPolicy.
- DHCP renew add.
- Add radio for wiamx

Change-Id: I2d9012247edfdf49d71ca7e1414afd0006f330ca
Signed-off-by: tk.mun <tk.mun@samsung.com>
bug:5237167
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
6e8db88b4b31a6e0211561f25ee1a422e4797ba1 26-Oct-2011 Daniel Sandler <dsandler@android.com> Fix race condition in status bar init code.

There was a hole between the initial call to get the display
metrics and the attachment of the status bar to its window,
meaning there was an opportunity for the orientation to
change without the status bar's orientation change handler
being called. In this scenario the notification panel would
be sized for the wrong orientation until the configuration
changed again in some way.

Bug: 5509445
Change-Id: Ib1bff79c317945a61ccfccddc073cce015f34caa
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
84e825a84d7dde03042228c79638935c92d13c92 20-Oct-2011 Daniel Sandler <dsandler@android.com> Merge "Add hasNavigationBar() to the window manager." into ics-mr0
0c4ccff36930ff4f0292b94ad51e164c9fa060a3 19-Oct-2011 Daniel Sandler <dsandler@android.com> Add hasNavigationBar() to the window manager.

It is no longer sufficient to check the value of
internal.R.bool.config_showNavigationBar to determine if a
navigation bar (separate from the status bar) is shown on a
device, because the emulator needs to be able to override
this value (now possible by setting qemu.hw.mainkeys to "1"
or "0", for navbar or no navbar, respectively).

This logic is now contained in PhoneWindowManager, and any
clients wishing to know whether the system has a software
nav bar should consult the new hasNavigationBar() method.

Bug: 5404945
Change-Id: I119d32a8c84b88b2ef46f63244e7f11dc5de0359
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
2f6a53270f113a244f3b6ca91a1efef2c4a26fac 19-Oct-2011 Daniel Sandler <dsandler@android.com> Merge "Auto-close if you swipe away the last notification." into ics-mr0
8cc36e572876f3bb9197f0109db3042466e5f917 17-Oct-2011 Daniel Sandler <dsandler@android.com> Auto-close if you swipe away the last notification.

Matias, I think this will enchant you.

Bug: 4902177
Change-Id: I748b62d3928519455b6b98b0b074a1204e2fdb4b
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
412cba8aa10231cdf515d9400a754e8a16a8eb3d 17-Oct-2011 Michael Jurka <mikejurka@google.com> Make Recent Apps faster

- start loading on touch down
- avoid unneeded calls to onLayout
- don't fade in thumbnails if they've been loaded before we show recent apps
- don't pause between loading thumbnails
- fade in thumbnails+shadow (rather than just thumbnail as before)

Change-Id: I6dd4be7f52f9e8b51284ae052614719db8e71dc5
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
2f2022afa1eb85018368398bd150e9575fc099c9 11-Oct-2011 Chet Haase <chet@google.com> Make notification panel delete-all animation smoother

Making the notfication delete-all animation smoother by carefully
choreographing the various parts of it. The problem with the previous
animation was that there was simply too much going on at the
same time, causing things like layout and recreating display-lists
in the middle of animations that became choppy as a result. This
approach swipes all items off quickly, then scrolls the shade up to the
top, making both sets of animations smoother as a result.

Fixes #5431207: Notification delete-all should be smoother

Change-Id: Iefe8ab5d661e05adcd10379dab85227d17904450
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
61e980d6187aa052e92387d7b12b3179a9427db4 17-Oct-2011 Daniel Sandler <dsandler@android.com> Merge "Turn off chatty logging." into ics-mr0
7c35174a6f0fd6a01b6d63418bf4355f16b8ae64 17-Oct-2011 Daniel Sandler <dsandler@android.com> Turn off chatty logging.

Bug: 5120636 // connection state
Bug: 5125930 // status bar
Change-Id: I5713a4d63df7c51f9e2f53ea21aa66973f74d4c6
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
c57ccf01fe24ce508404c99b449e9097e6d8b270 14-Oct-2011 Winson Chung <winsonc@google.com> Showing notifications after taking a screenshot (Bug: 5333706)

- Fixing issue where ticker and swipe-to-remove wasn't working for updated notifications

Change-Id: Ib8ef07778a11028c9c2627830ee1dd4561d2ae3b
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
dba935659024a9ca83cb6bd3f1a9970e277f7658 06-Oct-2011 Daniel Sandler <dsandler@android.com> Break apart DISABLE_HOME and DISABLE_RECENT.

Additionally, start using setSystemUiVisibility() where
possible in the keyguard to allow activities and dialogs to
re-enable some of the navigation keys (notably: home but not
recents).

Finally, stop disabling MENU for activities atop the keyguard.

Bug: 5380495 // no home in driveabout, clock
Bug: 5396134 // able to show home/recent in keyguard
Change-Id: I04eb224554ee8cff79476b85148c4cda75bb0b62
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
ab48b681401628a191a4a90d4906fa88edde95ba 13-Sep-2011 Michael Jurka <mikejurka@google.com> Refactoring loading of recent apps

- fix bugs 5278690 and 5432097
- no longer forcing a reload when screen is rotated
- moving recents loading code into a seaprate class
- changing variable names to use "Task" rather than "Activity" in Recent Apps

Change-Id: Ib0c8c5d537cf9d46d65b2ccb790015b601bb1bf1
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
df89e65bf0fcc651d20b208c8d8d0b848fb43418 07-Oct-2011 Dianne Hackborn <hackbod@google.com> Fix how we hide and show the nav bar.

The PhoneWindowManager is now responsible for hiding and showing
the nav bar.

For hiding, it just moves it off the screen (easy way to get a
nice slide animation on and off). At the same time, we use a
new WM facility to put up a fake input window to capture all
touch events.

When a touch event is received, we force the system UI to clear
the navigation hiding bit so it will be shown again.

This removes a bunch of code from the system UI for hiding and
showing the nav bar. Also removes the code calling from userActivity()
to the system UI, which was bad. (Also no longer using userActivity()
fixes bugs around re-showing the nav bar due to key presses and
other wrong things.)

Change-Id: I8c3174873b5bcaa36a92322a51e8f7993e88e551
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
8ba33c965f940070060585e45e1c833519bb45c9 05-Oct-2011 Daniel Sandler <dsandler@android.com> Cascading clear-all in the phone notifications panel.

Bug: 5156350
Change-Id: I22c5a19b162e4aa35bf66d51cd17c1e0cd079053
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
7daf95d5526e3b60f5db29cbacd9a4852d99a6f4 30-Sep-2011 Michael Jurka <mikejurka@google.com> Fixing accessibility support in Recent Apps

- also switching "Recent applications" to "Recent apps" as per our new language guidelines

Change-Id: Ib625429ad22ce75ede782d59c0f45894d00c8502
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
994897f0e7a22352b7770d6720c28d5614376227 27-Sep-2011 Mathias Agopian <mathias@google.com> am 8632561e: Merge "Make the status and navigation bars OPAQUE." into ics-factoryrom

* commit '8632561e14c5cc546cec39edd213ea8cc7aea2f9':
Make the status and navigation bars OPAQUE.
f733c2aaa652f3ead60c8b2bc982dc9bdbc7df8e 25-Sep-2011 Daniel Sandler <dsandler@android.com> Make the status and navigation bars OPAQUE.

Bug: 5369240
Change-Id: I1c01baa732f441bf7d2c469eb7d3d82d26da07b1
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
90c52de28691ca0bbbf7c039ef20f85ce46882cc 23-Sep-2011 Dianne Hackborn <hackbod@google.com> Fix issue #5173952: Opening a Notification From Lock Screen...

...Should Skip Unsecure Lockscreen (ICS)

Also while I am in there, clean up logging of intent objects to include
even less sensitive information, while showing the true Intent in dump
output (since apps can't get to that).

Change-Id: I35fed714645b21e4304ba38a11ebb9c4c963538e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
a8c46b1dc47f0fa92f41c6311ca6131d18efbcd4 23-Sep-2011 Daniel Sandler <dsandler@android.com> Merge "Put the correct background behind largeIcons."
db8bd198e5ad875a4fe2df48652ff475150d9a14 22-Sep-2011 Daniel Sandler <dsandler@android.com> Put the correct background behind largeIcons.

Also add touch feedback to notification items (finally!).

Bug: 5213090 (largeIcon background)
Bug: 3329721 (press states)
Change-Id: I89a4211106698ebff867b5c8bad50cb8b9b33a0b
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
d5c16c6c7c09b24d7f8b55a3057d6386cfe0e5fb 21-Sep-2011 Daniel Sandler <dsandler@android.com> Properly generate systemUiVisibilityChanged callbacks.

User activity is supposed to immediately revert
HIDE_NAVIGATION, but we were just showing the navigation bar
directly. By routing through the service we'll generate
callbacks for everyone.

At long last, SYSTEM_UI_FLAG_HIDE_NAVIGATION will work like
lights out (now called SYSTEM_UI_FLAG_LOW_PROFILE) which
worked well enough in Honeycomb.

Bug: 5052456
Change-Id: I677f1295e1208c1aec48a4a9c8a6850916688388
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
f1ebcee22442e0bc2aa86582d352b5ee78257db3 15-Sep-2011 Daniel Sandler <dsandler@android.com> Fix MENU icon weirdness. (DO NOT MERGE)

(Broken by change I7cbb7bbf.)

Bug: 5308636
Change-Id: I30ca20f62bd140a823eb926a9a0521c4d6014680
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
56598cd4d3712ea451f8e19e363ae86a51158d3b 15-Sep-2011 Daniel Sandler <dsandler@android.com> Fix MENU icon weirdness.

(Broken by change I7cbb7bbf.)

Bug: 5308636
Change-Id: I30ca20f62bd140a823eb926a9a0521c4d6014680
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
d9283b903125c875f973bf6f724f23e595bce756 15-Sep-2011 Daniel Sandler <dsandler@android.com> Fix NPE.

Also remove unneeded log.

Bug: 5320647
Change-Id: If62b491ceb25d26195dea694fe0b5cd83c0f6305
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
ca7b6568333e1446b8357a89f6bdf757fee29768 15-Sep-2011 Dianne Hackborn <hackbod@google.com> Merge "Fix issue #5283365: Rotating the device to portrait mode, hides the keyboard partly"
1f903c3b577d20f7db7e3d5875cafe577d0d845f 14-Sep-2011 Dianne Hackborn <hackbod@google.com> Fix issue #5283365: Rotating the device to portrait mode, hides the keyboard partly

PhoneWindowManager now takes full responsibility for deciding where the
navigation bar goes. This gets rid of a bunch of race conditions with
determining layout while the nav bar is moving itself at the same time
the window manager is computing a new configuration.

Note that this breaks the "nav bar on left" option. The current nav
bar code could also be cleaned up some more to completely drive its
behavior based on onSizeChanged() happening during relayout.

Change-Id: I1651d74c3464ba0d588aab3049e099c78420146a
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
6da2b76ea496129da5370bfafd667ee94907a356 14-Sep-2011 Daniel Sandler <dsandler@android.com> Fix disappearing BACK button.

We weren't properly applying the disabled flags from one
orientation to the other. This crops up when the lockscreen
changes the flags and forces a reorientation at the same
time; the other orientation can become stale.

Bug: 5312123
Change-Id: I7cbb7bbf69e6d86cb47450bcdfa692a1f766cd5e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
49f58407340a2282e0c0ff31043bee8937bd6bff 13-Sep-2011 Daniel Sandler <dsandler@android.com> Transparent notification shade.

Bug: 5270161 (fix opacity)
Bug: 5231194 (transparent shade)
Change-Id: Ib7130ef0718c092dc9f8149698625a49d7abb2b2
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
fe172cc861448cf1115195cbad5b3300357c02f0 12-Sep-2011 Daniel Sandler <dsandler@android.com> Fix the takeoff position of a flung windowshade.

We were carefully tracking the vertical offset between the view
origin and the user's incident touch, but not actually
including it when performing a fling. (This might have
worked at one point but been later buried under some
refactoring rubble.)

Bug: 5210198
Change-Id: I97ae883491a5dedf1b48683441096fe9938d118f
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
911fe30d5841d0622f3925a9fbc66d499965b111 12-Sep-2011 Jeff Brown <jeffbrown@google.com> Track status bar fling velocity using screen coords.
Bug: 5210198

Change-Id: I58630ab861c0934755a4aac4b96fdc5634c4a438
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
68ebcdf3fd8b98fe35ec3e0b2e91fd254fcd807f 12-Sep-2011 Jeff Brown <jeffbrown@google.com> Fix ACTION_CANCEL handling in status bar.
Bug: 5198231

Widgets always need to handle ACTION_CANCEL properly since
it can happen at any time, such as when the screen is turned
off or the screen is rotated, removed or reconfigured.

Change-Id: Ia30b14bb6f68cdde5286b4d72e69130e9fb38732
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
029d5877b0c19af09c6a1cb7d1c3d3507e88430c 12-Sep-2011 Daniel Sandler <dsandler@android.com> Hide navigation buttons when they are DISABLEd.

Back is hidden by DISABLE_BACK; Home, Recents, and Menu are
hidden by DISABLE_NAVIGATION.

Bug: 5261576
Bug: 5284740 (confusion about visible inactive icons)
Change-Id: I410c133b737cc11d61bac0318dc24458353ee7b3
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
f4b783f8a7f7ba56a879b0fce075257659e9f909 12-Sep-2011 Daniel Sandler <dsandler@android.com> Merge "Exit the keyguard when the user clicks a notification."
92d331883ada42e49001853e266cda2d9c8631b8 11-Sep-2011 Daniel Sandler <dsandler@android.com> Exit the keyguard when the user clicks a notification.

(This only works if the keyguard is not secure, but then
again, the user can't access the notification panel in that
case anyway.)

Bug: 5173952
Change-Id: I8a6081d26c52843822b381d8ebe0fae94a03bef9
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
113045ab9cc6307b68cc669bbdd4ddbdf69b6230 11-Sep-2011 Daniel Sandler <dsandler@android.com> Fix bug swiping away NO_CLEAR notifications.

Bug: 5121507
Change-Id: I798686cfc8506805298e1481a3d603ce700e12f4
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
99f6ecc2fd952a6d10b248081833705ca35f859e 09-Sep-2011 Daniel Sandler <dsandler@android.com> Merge "Show roaming icon in status bar."
89d97131bd7fd7494c3469dfdf6351a84bae62bf 08-Sep-2011 Daniel Sandler <dsandler@android.com> Show roaming icon in status bar.

This also refreshes the data type icon when the data
connection state changes, so it'll pick up network speed
changes (3G->4G, e.g.) that aren't accompanied by some other
radio state change.

Bug: 5278165
Bug: 5274807
Change-Id: Ic97252a9fb29bd3f2a927f6a57666809297ad60e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
4519a02608b9e02a2c0dbc7dff37c21167db8f24 08-Sep-2011 Jeff Sharkey <jsharkey@android.com> Always disable() through SBMS; watch date.

Touching StatusBar.disable() directly can make the cached value over
in StatusBarManagerService stale. Instead, dispatch DISABLE_BACK
through setSystemUiVisibility() on tablets; it's unused on phones.

Also DISABLE_NOTIFICATION_TICKER when showing secure lockscreen, and
watch for TIME_CHANGED in DateView.

Bug: 5255469
Bug: 5242677
Change-Id: I4efaf9799b2f229f49d7024da5dafceacd5e08bb
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
b69f7015e7233d1c22d474f7f6850d4d93b2b790 06-Sep-2011 Daniel Sandler <dsandler@android.com> Use hardware acceleration in all status bar windows.

(Only applies to high-end devices. In situations where
memory budget or GPU/overlay support are lacking these will
still be done in software.)

Bug: 5233443
Change-Id: I668def10598f6a818d8011ba6dd8d1dd5440ae5e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
847fd751a9c9eb3cb02da1dca95d3d4b215c0b76 03-Sep-2011 Jeff Sharkey <jsharkey@android.com> Make large_icon in notification catch touches.

If it doesn't catch touches, the stream is dropped on floor, leaving
no event stream for swiping to intercept. Also connect up
NotificationClicker to large_icon.

Bug: 5068171
Change-Id: I51e74dd1cdc2749554c591432a48fad35de993ff
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
64014612275d0fccd5e31f2afaa8f17a6bf1e93d 02-Sep-2011 Mike Lockwood <lockwood@android.com> Merge "PhoneStatusBar: Fix NPE when disabling navigation with no soft buttons."
6f983a7906ce98a1a8e3f5e805da8c933f53fc3d 02-Sep-2011 Michael Jurka <mikejurka@google.com> Merge "Fixing orientation change bug (5098088)"
8b09866a25ade5cd3630996adff8c976268ec637 02-Sep-2011 Michael Jurka <mikejurka@google.com> Fixing orientation change bug (5098088)

- Also fixing language in long-press menu (5068787)

Change-Id: I941e053e6ce4c85a09f4ff82880b7c2513e54322
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
a7cf74cfb1364edd72e0fbab1c6ba8af89c519a2 02-Sep-2011 Mike Lockwood <lockwood@android.com> PhoneStatusBar: Fix NPE when disabling navigation with no soft buttons.

Bug: 5249328

Change-Id: I9fcf623c4f9f278107a0772f6ff28ccaae9188c8
Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
e3646dd8d96fb9756c8a7a4757ad5277e3801aed 01-Sep-2011 Mike Lockwood <lockwood@android.com> Show back button in status bar when in an activity in front of the lockscreen.

When the lockscreen is up we still enable the home and recent app buttons,
but the back button is only enabled if the lockscreen is not obscured by other activities

Fixes problem escaping from the DeskClock app when the screen is locked.

Bug: 5206013

Change-Id: I68c9e4513018f51e2ee4fc11254e42ecbef834e4
Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
185a251b08104a2f19f642d9492e75dd11680dd6 01-Sep-2011 Michael Jurka <mikejurka@google.com> Merge "Improve Recent Apps scrolling performance"
3cd0a593937c0724d77db1e2e3995255cfae61ac 16-Aug-2011 Michael Jurka <mikejurka@google.com> Improve Recent Apps scrolling performance

- 20fps improvement using software rendering
- 10fps improvement using hardware rendering
- in sw mode, rendering recents background in the recent items themselves and using a bitmap cache to draw individual items (gives perf gains for sw mode)
- in sw and hw mode, no longer doing a fade on the recents scroll view (gives perf gains for hw mode) - instead we draw a black gradient where we would normally fade
- fading recents & notifications immediately when swiped
- removing unused code

Change-Id: I908e2a25b89c9dfbf9b8c8f3810fa43064261b33
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
f52c70b2ccf711f507723bc74a68ca8c3a12c57a 31-Aug-2011 Jeff Sharkey <jsharkey@android.com> Disable clock in lockscreen; better flag logic.

When showing lockscreen, hide clock and navigation. Clean up logic
to be easier to understand.

Bug: 5112812
Change-Id: I20e3563aa36644db678c7839d47f01f223fe8d37
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
dc940eaa67db0108f8a8629826dbb3c5c7d779e9 25-Aug-2011 Daniel Sandler <dsandler@android.com> Scale windowshade gesture parameters for screen density.

This has been broken since 2.0 but we didn't really notice
until now. Flinging the windowshade should now feel less
janky (the window's motion once flung will be more
continuous with your finger motion while flinging).

Bug: 5210198
Change-Id: Ieae0cabf5def46004f98a6dcb2337b2648f5e9ab
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
c638c1eb1bbed67d7d8f0d43f39137d766366f54 25-Aug-2011 Daniel Sandler <dsandler@android.com> Put the status bar and navigation bar in HW when advisable.

This allows the hardware to place these windows into
overlays if possible.

Change-Id: I43717fcd2c7e8f38340975eb93088d1c2c96f09b
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
69314e72941c86734c12476d1e61459811159b74 20-Aug-2011 Daniel Sandler <dsandler@google.com> Fix NPE.

Bug: 5192200
Change-Id: Ifd869f92969016ea9c3ff9c5fa0a2a0f197c6cbf
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
e137a1ea997036248c86e8fc0a94711020721f19 17-Aug-2011 Daniel Sandler <dsandler@android.com> Low profile mode ("lights out") for phone status bar.

Also changes NAVIGATION_HIDDEN to remove the hide animation,
hopefully reducing the number of jarring transitions when
apps want to enable super-ultra-full-screen mode.

Bug: 5052456
Bug: 5146960
Change-Id: I5f5ebb23add81243dc8861b65d8f15ca4d9ce0d2
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
e644b647837a2f2835c20423d0657cca19d3595a 19-Aug-2011 Mathias Agopian <mathias@google.com> Fix a crasher in SystemUI

Change-Id: Id0e91d949518aa1c5af57ae3b9b4e72347a5bd47
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
35e8eda7e1403460bd4dfadedbaa30e4c63c0b27 18-Aug-2011 Daniel Sandler <dsandler@google.com> Merge "Don't resize & dim system status icons, only notifications."
64b12615bc04bbc85dccad7325b7e9c017bbd1c8 18-Aug-2011 Daniel Sandler <dsandler@google.com> Merge "Remove 'no notifications' label for now."
7579bca7a02477353700d3b716f172b4fab267c0 18-Aug-2011 Daniel Sandler <dsandler@google.com> Don't resize & dim system status icons, only notifications.

Also lots more debugging info.

Bug: 5164743
Change-Id: I10db182b27def835888af15d1237329048ca52c4
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
d714148bd2752c63a46f51b12cea288fb1f10528 18-Aug-2011 Daniel Sandler <dsandler@google.com> Remove 'no notifications' label for now.

Bug: 5160106
Change-Id: Icd22f10689b4ec119d5fd43f1f3a8706c214530e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
e21f288358df2c1cea57c0a359dcf647baeb970d 18-Aug-2011 Daniel Sandler <dsandler@google.com> Support DISABLE_NAVIGATION on phones.

Bug: 5161286
Change-Id: I6a2c3053423c2b34136b0c3889f575f9c082d7e9
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
fc8fa638617efb5695a1f89ea75375faebbe2a40 18-Aug-2011 Dianne Hackborn <hackbod@google.com> Fix issue #5128639: SystemUI grows by 10MB after taking a screenshot

We now do the screenshot in a separate process.

Also change the recents panel to not use hardware acceleration
on lower-end devices. And improve how it gets shown to not
load all data up-front which results in a long delay when you have
lots of recents.

Change-Id: Ia309a90f9939e5405758621b3f7114597bd0c02a
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
a388449e632fadb75a0eae67f77ff618b3a39a01 16-Aug-2011 Daniel Sandler <dsandler@google.com> Make the navigation bar opaque.

The HW composer was getting confused by the transparent
window (which was a holdover from a previous design for
lights-out/fullscreen mode).

Bug: 5155982
Change-Id: I548e1b2b3b012aecba96ccf022730a9bd289e003
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
28f89d40ee7bab93cf7b783f92dbb18bdc43e473 15-Aug-2011 Daniel Sandler <dsandler@google.com> Fix the crazy RSSI icons.

Codepaths for wifi and mobile were contaminating one
another's data, which is fine when you're only showing one
at a time, but not so good in the general case.

Bug: 3481508
Bug: 5159559
Bug: 5161130
Bug: 5163206
Change-Id: I64e6f5ebd07a5b0777e7296b1c210195431e4ce6
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
2e347429dfcd03b0827c7506ba6305ab0d1f4951 11-Aug-2011 Christian Robertson <robertsonc@google.com> New RSSI cluster in status bar.

Bug: 5147463
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
5e3f4000a98eb494e3c896de7af97b1b85bbad42 11-Aug-2011 Daniel Sandler <dsandler@android.com> Merge "Remove logspew."
0c5c6a6f27b70ca190f95fae2bdb9596ae1167c4 11-Aug-2011 Daniel Sandler <dsandler@android.com> Merge "Clean up some effects in the phone notification panel."
8355e932a033398625eef676ac93aec0cb084efe 11-Aug-2011 Daniel Sandler <dsandler@android.com> Remove logspew.

Bug: 5118028
Change-Id: I5517d79624020aa7ceeabf251581b3baf2f7b080
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
0761e4cd95b6968dd4b1659a766ef504d13f6d50 11-Aug-2011 Daniel Sandler <dsandler@android.com> Clean up some effects in the phone notification panel.

* Clear-all button (X) fades in and out
* "No notifications" text fades in after a few sec
* Swipe-out velocity can be much higher, dramatically
reducing perceived jankiness in clearing notifications

Bug: 5150699
Change-Id: Ic7e5254fee57724c42b6437d1c4ed8a700615208
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
36412a7e7c4929bdac1221b7ced9e73d0d204691 04-Aug-2011 Daniel Sandler <dsandler@google.com> Subtract the navigation bar from DisplayMetrics.

Its region is now treated like the system bar: inaccessible
to applications and therefore not worth reporting as part of
the display.

(Note that using setSystemUiVisibility you can gain
temporary access to the navigation bar region, unlike the
sempiternal system bar.)

The navigation bar is now considerably less in control of
its own behavior (the window manager assumes it will be a
certain size and in a certain position in landscape and
portrait). This change also fixes the navbar so that it
becomes GONE instead of merely INVISIBLE (allowing
underlying windows to expand in size accordingly).

Bug: 5052456 // the feature
Bug: 5067627 // notification shade falling behind the navbar
Bug: 4959805 // fix third-party apps relying on DisplayMetrics
Change-Id: I60257fc5c858e0edcaba8cfc1f8d58dd99a68258
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
cf336e10c03a802bd96df164c49b069cb7ad6819 09-Aug-2011 Daniel Sandler <dsandler@google.com> Forcibly recalculate size of the notification expanded view.

This helps avoid a race condition that can sometimes leave
the status bar handle untouchable (read: hiding behind the
expanded view's transparent window, which is too large
because the close handle's height has not yet been
calculated) on first boot.

Bug: 5122306
Change-Id: I5fa2595798a66289c2c33d7c78dd16f9db066ede
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
d309056d36759446c91ff5c1e17a217bfa4fdcfb 09-Aug-2011 Daniel Sandler <dsandler@android.com> Add settings button to notification panel.

Also move date to panel in place of carrier name.

Bug: 5076789
Change-Id: I498dc1e29581829c123b3cc0a8c81551ac8bdbe2
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
6cf602cd1de4fd1b6a8a5028ef10df0ffc57bacb 05-Aug-2011 Daniel Sandler <dsandler@google.com> Fix crash in log message.

Bug: 5126593
Change-Id: I2214e48de4d0f858b9b23c431bdf91078cc0ccd6
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
69ecb0a08a4c7d483bdd0c29db533579db404c9c 05-Aug-2011 Daniel Sandler <dsandler@android.com> Merge "Instrumentation to track notification panel touch bugs."
96e61c3c86b2aff3d298d8757ba51eb568c30543 05-Aug-2011 Daniel Sandler <dsandler@android.com> Instrumentation to track notification panel touch bugs.

Bug: 5122306
Bug: 5105599
Change-Id: I2ca677d71daf9c6d5931ae933b3ab496620ab564
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
f48fd822e055da272f9e821db56db98591a35cfe 04-Aug-2011 Daniel Sandler <dsandler@google.com> Fix another NPE.

Bug: 5122306
Change-Id: I6877528325d30bb725f8692c86a8752263b5344e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
96f3b6f0104aa1a4200c8abe69819c9c452985ab 04-Aug-2011 Daniel Sandler <dsandler@android.com> Fix NPE on first-ever boot if display has rotated.

Bug: 5116154
Change-Id: I8c91fa9eae24c6cb25f4431da00dc4b527124ae3
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
59aed3885e7bf34b4d7c021db4243484fa267526 03-Aug-2011 Dianne Hackborn <hackbod@google.com> Put back the status bar animations.

Change-Id: I9b326e8da9fa17878dde8a83c6551e9eb600bb7e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
1dacf2772d0099ae74f42f81d162a3d0e180ffb7 03-Aug-2011 Dianne Hackborn <hackbod@google.com> Reduce memory usage of status bar expanded view.

It was configuring this to have its width follow the display size
but height be a fixed amount. As a result, during a rotation we
would end up with a surface that is 800x712, which uses a lot more
memory.

The fix is to just always set the window to a fixed size, changing
it when the display size changes.

Also the expanded view was setting itself to use a hardware layer
for no reason -- it is a top view so there is no point in this,
and anyway it is doesn't even use hw rendering. This saves 1.5MB
of the layer bitmap.

This change also fixes the returned problem where the expanded
view would flicker when pulling it down in landscape.

Change-Id: If57420b0bc3fdc2706d2d3b36cb2d287b5fc9e27
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
1347c30824ce3544dff03c93ffad9af7f0327e41 01-Aug-2011 Daniel Sandler <dsandler@google.com> Refresh tablet notification drawer.

* New "X" button appears in the system bar, allowing the
user to clear all notifications. Only appears when the
notifications list is showing and there are clearable
items. (Note: the textual button on phones has also been
replaced with an X.)

* Updated panel background artwork and positioning.

* Removed a bunch of old art.

Bug: 4970588
Bug: 4974043
Bug: 3509407 (regression)

Change-Id: Ibadb638cd18c4faa751cd1f311d73ceda65cb3ca
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
7c3e39de22c68e69c4924b339132f8e3bf3f96af 29-Jul-2011 Daniel Sandler <dsandler@google.com> Merging ongoing + latest notifications on phone UI to match tablets.

Change-Id: Ie8ee72137e9eeb6740f3d113d5331e8cba629ab2
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
2fb30a92d59c2a0912e00f2191522a3de5027b84 29-Jul-2011 Daniel Sandler <dsandler@google.com> Quick fix for NPE in updateNotification().

When the "ongoing"/"latest" split is removed, this will be
replaced with something less odious.

Bug: 5090331
Change-Id: Ib804de66985ff5f5df2e1df3c85437a1e31f1c49
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
f3f2011285e2f5079db2229461e2d9a448cb61ec 29-Jul-2011 Daniel Sandler <dsandler@google.com> Fix NPE for devices with hardware navigation.

Bug: 5095974
Change-Id: I4d8c39fbff6feb7b65055938ac0f725faaa6e6a3
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
60ee25643e0a7b8841063a4e97b0f18c51807e91 22-Jul-2011 Daniel Sandler <dsandler@google.com> The fullest of fullscreen modes.

View.setSystemUiVisibility() now properly accepts a
bitfield, including:

* SYSTEM_UI_FLAG_LOW_PROFILE: "lights out mode"
(previously known, erroneously, as STATUS_BAR_HIDDEN)

* SYSTEM_UI_FLAG_HIDE_NAVIGATION: for when you need every
single pixel on a device that also has a navigation bar

These flags are painstakingly aggregated across the entire
view hierarchy and carefully delivered to the status bar
service, which in turn gently passes them along to the bar
implementation.

To really get access to the whole screen, you need to use
HIDE_NAVIGATION in conjunction with FLAG_FULLSCREEN and
FLAG_LAYOUT_IN_SCREEN. See development/samples/Overscan for
an example of how to do this.

Change-Id: I5fbfe009d9ceebbbf71db73f14a7008ea7c1d4da
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
53ef4993535c73a9f71edd34af15708af4e06fc4 26-Jul-2011 Daniel Sandler <dsandler@google.com> Merge "New stacked RSSI icons."
2b69735e014872ca2183b4a39a8381daa337e146 22-Jul-2011 Daniel Sandler <dsandler@google.com> New stacked RSSI icons.

The signal strength, network type & flow indicator, and
battery have all been moved out of the policy and into the
status bar implementation itself, mirroring the change on
tablets. This means that they no longer use status bar icon
slots but instead are bespoke layouts and views.

GPS has also been removed and will return as a notification
(again, as was done in the Honeycomb tablet UI).

Bug: 4691638
Change-Id: I60df4871209b64209bfc5b3bf398651cc2e77b24
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
d5b858639cc32d27c003d7165969ec47288b3bfa 26-Jul-2011 Daniel Sandler <dsandler@google.com> Update large icon in changed status bar notifications.

Reapply fix from change I6bb72c0b to phones.

Bug: 5071157
Change-Id: I9da5ee6cf72b148e5fef4de6e1c9328ccb4b28b8
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
6179ea3196e9306d3f14361fe9ef14191b1edba6 28-Jun-2011 Svetoslav Ganov <svetoslavganov@google.com> Adding accessibility support to the Status Bar.

1. Added content description to pretty much all animals
in the zoo including buttons in the navigation bar,
notifications and status icons for battery, signal,
data, etc.

2. Rectored to avoid ovelaying views since they block
touch exploratino. In general overlaying views
cause trouble for touch exploration and accessibility
in general.

3. Avoid sending accessibility events in case the user is
touching outside of the StatauBAr panels to avoid
confusion.

4. Added records to accessibility events in the places where
this would help the presentation. So the event comes from
a given "leaf" view and its predecessor is adding a record
to the event for itself to provide more cotext. It is up
to the accessiiblity service to choose how to present that.

bug:4686943

Change-Id: I1c1bd123d828fb10911bca92130e9a05c1f020b3
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
20cdb151c9f1a956eee9eebe77459e14029ad131 20-Jul-2011 Daniel Sandler <dsandler@google.com> Fix dancing download notifications on phones.

There's always going to be some amount of visual noise when
notifications change order, and this can happen any time a
notification changes its "when" field (as is the case for
download progress bars). But in HC we added an optimization
that will reuse the current row if the download is the last
item in the list (so a fresher "when" will still put it at
the end), and that optimization is re-applied here.

Now, if you have multiple notifications all competing for
the top spot, I can't help you. But we had that problem
before (it just wasn't as egregious because we didn't have
the shiny animations).

Bug: 4971404
Change-Id: I5bcc905bdb19a8eb5b4494a6ba9825b4d5373caa
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
17dfec7111fcc53a4f6ae6e92b4a7f85a278fe71 09-Jul-2011 Jim Miller <jaggies@google.com> Fix 4689527: Fix positioning bug with RecentHorizontalScrollView, minor tweaks.

This fixes a bug where RecentsHorizontalScrollView wasn't scrolling to the most
recent app.

Contains some minor tweaks to the layout so that it doesn't overlap the notification
bad as well as starting alpha fades while draging items sooner.

Change-Id: I94df309673f316c55b2f44aff60fd3aee746b6de
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
f2a16b27afd1ede5880d05eb9e19090c7e3e820e 07-Jul-2011 Jim Miller <jaggies@google.com> Fix 4689527: Update Recents

Fixed layout in landscape mode where recents only filled half the screen
because "match_parent" in the layout was being ignored. The fix is to
have a temporary ViewGroup as the parent to ensure the layout parameters
are valid.

Changed to solid 70% opaque background on phone.

Removed "dismiss" chevron from phone layout.

Removes glow on phones.

Change-Id: Id5319eeba4fdd8c9ef5792168b35162cc1bbfe38
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
8c4706252228755ed181d19532b7e0cfec270ba4 01-Jul-2011 Adam Powell <adamp@google.com> Add API to report the presence of a permanent menu key on the device.

Action bar now uses this to determine whether to show an overflow menu.

Change-Id: Ife4f724d02bbc0d9d86d94740c85299f6dacae91
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
5c8da949804ed4b55dcebae63796714e0028b488 28-Jun-2011 Daniel Sandler <dsandler@android.com> Now showing: Navigation Bar, The Final Layout

Starring, in order of appearance:

BACK

and

HOME

and introducing in his first starring role on phones

RECENTS

with a special guest appearance by

MENU

presented in PORTRAVISION and LANSCOPE

Change-Id: I0b8459a6f648a4336a0e1a943e02ba82728a75cb
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
edbdd3a024ca35c331036823dde1f484d3333b31 21-Jun-2011 Daniel Sandler <dsandler@android.com> Fix statusbar crash when DeskClock alarms go off.

Bug: 4723790
Change-Id: Ia819b6a35b5b103d28f6db3b25c815f77827f80f
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
3b1fc47d004f6b29af8f40d181baa3460b1e3b15 13-Jun-2011 Michael Jurka <mikejurka@google.com> Port recent apps from tablet to phone

- wire up to long press on home
- remove unused recents activity
- remove duplicate recents resources in -large directories (using -sw600dp instead)
- fix issue with zoom/scale translation when recents was brought up

Change-Id: I45538ccaff49b46ac3659c4828f9e2b0cd075241
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
3fe9cc5ea6a9e1acd52144c8ae6cb0492dba34ba 15-Jun-2011 Dianne Hackborn <hackbod@google.com> resolved conflicts for merge of e95c07bd to master

Change-Id: I9af0c08a9f1c1f68661efe051a66835e850b76f6
7d04932ef5c001769ccef244f551b75773f1666b 15-Jun-2011 Dianne Hackborn <hackbod@google.com> Fix issue #4603422: Compatibility mode button doesn't always update

We now tell the system bar every time the top activity has changed for
it to re-evaluate its UI state.

Also fix issue #: 4607102 Low rider notifications. It turns out this
was due to the change in the dialog asset; the notification UI was relying
on this having a lot of padding to make it sit above the status bar.
Now we have an explicitly mechanism to set how much it overlaps (or doesn't)
the status bar.

Change-Id: Iab5ebd86e620ff4fc4cd77206e18af962ec2830e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
98db5fabdad86dca379740d8050697950b9f026c 09-Jun-2011 Jeff Brown <jeffbrown@google.com> Allow touches to slide out of the navigation bar.

Change-Id: I73cabba3d62f47829bf6217700ace56a27c42b1d
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
d42497e516521891a9d6ffa0daab75ef016725f5 04-Jun-2011 Daniel Sandler <dsandler@google.com> Rebuilt notification list using a new custom layout.

This will allow what is currently impossible with
layoutTransition: smoothly animating container bounds.

Current enter animation: alpha fade
Current exit animation: fade + slide right

Change-Id: Ib46b2d3ee982a276ca2142d360e62538e52b0897
Next: replace "X" with swipe-to-cancel.
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
f86f898f8afe73d81b34543dcb2c30d8bf7da563 31-May-2011 Daniel Sandler <dsandler@google.com> Move navigation bar to right-hand-side of seascape.

This means the navbar will either be at the bottom (portrait
and reverse portrait) or the right (landscape and seascape)
irrespective of the physical bottom of the device.

Change-Id: Ib51cab22f246785c9cebcc688bcdb848eb776361
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
0129b31ff493bb0aa10b778cbeacbec5964644f8 11-May-2011 Daniel Sandler <dsandler@google.com> Create an XML config flag to turn the navbar off.

This will eventually be replaced by something else, probably
in Configuration, that allows the WM to tell everyone
(including the status bar) whether there exist hardware
home/back/etc. keys.

Change-Id: I21e9629ed43de4a944ad75e5b9d6d4ada8aba23f
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
1d4d30aebd2c22627131819cabfe95f97def2c83 28-Apr-2011 Daniel Sandler <dsandler@google.com> It's lights out for you, navigation bar!

Views requesting lights out mode will cause the navbar to
disappear (this is useful for viewing videos/photos/etc
using every pixel of the screen).

But there's a catch: any user activity at all will cause the
lights to come back on and the navbar to return.

Change-Id: I535ed3ba9ae7fab3282c402be256add765395b6f
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
0c19aaaebb5baf78857e2e18ebe7fb37b7e1cf8e 04-May-2011 Daniel Sandler <dsandler@android.com> Merge "On-screen navigation bar (separate from the status bar)."
b48e74b10c3ef14d6c30381d8893abaddd50f2b2 04-May-2011 Daniel Sandler <dsandler@android.com> Start honeyphoning the notification panel.

Notifications on phones should look much more like Honeycomb
now, including large icon and veto support.

And less crashing.

Bug: 4322305
Change-Id: Ibde6f66fbae1c8d3167085f7b0fd79118485f05c
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
8956dbbc5f292d8b79072ae73b25f2114c8c7479 22-Apr-2011 Daniel Sandler <dsandler@android.com> On-screen navigation bar (separate from the status bar).

In Honeycomb we introduced navigation controls in the status
bar, for xlarge devices without physical buttons. What about
phones? The status bar is pretty cramped already, and
besides, it's at the top of the display most of the time,
not at the bottom where your thumb is likely to be.

Enter the navigation bar. It's a new window type that
appears atop almost everything (including the keyguard); the
window manager subtracts its rectangle from the default
visible rectangle of other windows (including the status bar
and notification shade).

However, it behaves (on phones) like the status bar in that
applications that request fullscreen windows can get access
to those pixels. Well, almost; they need cooperation from
the navigation bar implementation to make the navbar
disappear, just like the status bar.

The current SystemUI implementation of the navigation bar on
phones is still rough, but it has the basics:

+ back, home, and menu keys (NB: we're showing menu all the
time right now because checking the api level of the
package owning the top window is currently a poor
indicator of whether the app requires the menu key)
+ it tries to stick to the same physical end of the device,
regardless of device orientation (on a phone, this is
the strip of land closest to the microphone)

Change-Id: Ic613a3351220af0bbfbdef63e1d99cbefd5ed1c2
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
2992ea782fa61780d8e0de7a36a2a84622f8694b 29-Jan-2011 Jeff Brown <jeffbrown@google.com> Add "Use physical keyboard" option to system bar IME button.

Bug: 3391067
Change-Id: I136087ca4f726d0068d5983d7d3686787ba60c55
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
857fd9b8562c29913e03ed29288bd1802d37dc60 28-Jan-2011 Joe Onorato <joeo@google.com> Plumb whether an input view is actually visible or not through from the IME
to the status bar.

Bug: 3391067
Change-Id: I049531155bf7ee0b29874916c0b5b0a45b73c09e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
dc10030581d6eec1c96acd62ed511f91d25d73a1 12-Jan-2011 Joe Onorato <joeo@google.com> The status bar half of making the status bar resize when hdmi is plugged in.

Change-Id: Ia349413774ba709fb3242780671c7b459850f4a4
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
755cc74e4cebdf67d21a2477512a4ac9b01e8323 28-Nov-2010 Joe Onorato <joeo@google.com> Rename the status bar layouts to more consistent names

Change-Id: Ic593e6c93794f2a2eb36576501d35be54a0a0681
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
cd7cd2969f545ad061a9b4ecd0044f15eb1b4abb 20-Nov-2010 satok <satok@google.com> Store the current IME's token in the system bar for changing the current IME to a shortcut IME from the system bar

Bug: 3212206
Bug: 3201828

- Added a shortcut IME button. This will be used for calling a shortcut IME (e.g. Voice input)
- Made the positions of IME buttons left aligned
- IME token is required to change IME because of the security reasons.

Change-Id: I48ba5e2509b3aa1bfd2394f9201427fa6b93c6d3
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
29fc2c9705e1bb8ae098fca016032d2325031587 24-Nov-2010 Joe Onorato <joeo@google.com> Allow status bar panels to be on top of the status bar.

Change-Id: I3c74ece5f7042e6302717f4263746d59d5447ec9
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
fd52b18d9bf3cd62c7a07058536e9f97db65beea 11-Nov-2010 Joe Onorato <joeo@google.com> The beginnings of the new status bar.

There is a lot of rough stuff still, but most of the functionality is here again.

Change-Id: I4b1241e61270f1434e798481afa83634233ee670
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java