• Home
  • History
  • Annotate
  • only in /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
History log of /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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
hone/PhoneStatusBar.java
7a73344bbe1636fd01a8b551b0b539168a9a9987 08-Nov-2012 John Spurlock <jspurlock@google.com> Minimal fix for stuck google now.

Bug:7500409
Change-Id: I1570d72e08fbe520ac07eed2ee40b6571fa1fe3c
hone/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
hone/PhoneStatusBar.java
a9b468248dde3e9b6b1971e7c580b82a308820bd 02-Nov-2012 John Spurlock <jspurlock@google.com> Disable disable back if using an alternate back icon.

This enables the IME down chevron even if back would otherwise
be disabled.

Bug:7453424
Change-Id: Ia007df256124c617b86983bfe6958f790bd6a544
hone/NavigationBarView.java
7277d5d97f2b873582dbd60a63a22da452d96ff9 30-Oct-2012 Amith Yamasani <yamasani@google.com> QS uses nickname for multiuser and profile name for singleuser.

Bug: 7400662
Change-Id: I3299ee70acaa7341ec11b4774426e22182ffd170
hone/QuickSettings.java
c3fc32228679e6d32f3194e676508c67e6332d92 25-Oct-2012 Daniel Sandler <dsandler@android.com> Fix Google Now on lockscreen.

We can't make the navbar slippery anymore if lockscreen is
going to intercept all the touches. :)

Bug: 7413021
Change-Id: I1658262e43c37d0b1a554cda434ac43c0a0a86c0
hone/NavigationBarView.java
be2cf3206eb6fdc81cb5619ce36e3f9d5a9e9c15 24-Oct-2012 Daniel Sandler <dsandler@android.com> Be a little more lenient with panel-open gestures.

The code would not consider any drag that did not complete
the "peek" distance (the distance the panel opens when you
press and hold on the status bar; on tablets this is
statusbarheight + closehandleheight, and on phones it's
headerheight + closehandleheight) as a candidate for a
fling, and set that drag's effective velocity to 0.

This CL just removes that check. Now a fling must meet the
minimum linear velocity and minimum Y distance thresholds
(100dp/sec and 20dp, respectively) to change the position of
the panel (closed->open or open->closed).

Bug: 7390976
Change-Id: Ia0c2450f9fdf3f27b890aab240a155dad1ab052f
hone/PanelView.java
50a531337e7d6d49b40a1c96636962507ccf6c61 24-Oct-2012 Daniel Sandler <dsandler@android.com> Missing copyright headers.

Change-Id: I0fac062ffa52fc21f32d25d3f0a38e263e701c46
otationToggle.java
hone/PanelBar.java
hone/PanelHolder.java
hone/PanelView.java
olicy/CurrentUserTracker.java
1a3bdd5097e83659590895991904bbc6250cd5f2 24-Oct-2012 Daniel Sandler <dsandler@android.com> Fix NPE.

Bug: 7401286
Change-Id: I45334c4b2263bb611952b7dd949f5df98556377d
hone/StatusBarWindowView.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
hone/PhoneStatusBar.java
hone/StatusBarWindowView.java
780a13b0f43fa5590bb22dc399d9faaf316d66f5 23-Oct-2012 John Spurlock <jspurlock@google.com> Merge "Fix nav bar glitch when quickly turning screen off then on." into jb-mr1-dev
0b828ee0d53980d6f5ce62248cab57f177921fa8 23-Oct-2012 Amith Yamasani <yamasani@google.com> Merge "Set the correct flags for brightness dialog to show on all users" into jb-mr1-dev
7ecdc7fd9b2800d094170df0cf68fc646e92eb42 23-Oct-2012 Amith Yamasani <yamasani@google.com> Set the correct flags for brightness dialog to show on all users

Earlier fix was writing to the wrong flags.

Bug: 7393822
Change-Id: Ifd51fb30de00be6de381980a05f2769c4283b515
hone/QuickSettings.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
hone/NavigationBarView.java
hone/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
hone/PhoneStatusBar.java
7382a025a73064164ab81a7800cebcec3677af25 22-Oct-2012 Daniel Sandler <dsandler@android.com> Really hide the settings button on tablets.

Bug: 7382185
Change-Id: Id452e2499ba2089b8cfb0071b6aedf6d1d917b35
hone/PhoneStatusBar.java
cc0106cd99831ce7d3715e3c85e5b3e6c5c6ca78 22-Oct-2012 Daniel Sandler <dsandler@android.com> Merge "Properly show emoji in the notification ticker." into jb-mr1-dev
3c84c9bc7a3ecded5d268f6ec75d8578fd78617a 22-Oct-2012 Daniel Sandler <dsandler@android.com> Merge "Show brightness dialog for all users." into jb-mr1-dev
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
elegateViewHelper.java
hone/NavigationBarView.java
hone/PhoneStatusBar.java
b9d36649ca458cb5326a144fd88e26b92efba728 19-Oct-2012 Daniel Sandler <dsandler@android.com> Properly show emoji in the notification ticker.

Add an emoji test to StatusBarTest (working around some
difficulties in actually putting high-Unicode chars in the
layout xml).

Bug: 7378383
Change-Id: Ifce9844b26f67d2799521623e5161aa4dad69ed1
hone/Ticker.java
833808d0c69be8533759afdaa8ca4c004835f6a0 19-Oct-2012 Michael Jurka <mikejurka@google.com> Fix transition into Recents with live wallpaper

Fixes regression introduced by:
738cfc91053fc888397ec2d139e0798f8c95b3ca
(Fixing wallpaper flash when going in/out of Recents)
aseStatusBar.java
e9687ba8bdccc27f98fe1dcdc48faac0c0de4c18 19-Oct-2012 Michael Jurka <mikejurka@google.com> Merge "Fixing wallpaper flash when going in/out of Recents" into jb-mr1-dev
738cfc91053fc888397ec2d139e0798f8c95b3ca 19-Oct-2012 Michael Jurka <mikejurka@google.com> Fixing wallpaper flash when going in/out of Recents

Bug: 7372516
Bug: 7216872

Change-Id: I2a2308a85caf9f2ad2d382c709e5f8867bd060be
aseStatusBar.java
80343f646f9686528212f82163a77ef48e30f4c3 18-Oct-2012 Michael Jurka <mikejurka@google.com> Fix recents animations for secondary users

Bug: 7361640

Change-Id: Ibd177bf01758fb8706b82dcf3bf234e052c38aa3
aseStatusBar.java
hone/PhoneStatusBar.java
ablet/TabletStatusBar.java
591a12ac0da833e87098715de9547ebefd8cf6c6 18-Oct-2012 Daniel Sandler <dsandler@android.com> Show brightness dialog for all users.

Bug: 7373670
Change-Id: Ibeaa65580c7513d1562b1cfac8cee428fbc63098
hone/QuickSettings.java
6a377f3094cf1e8e49e0138e01972e6d5d0ec2a0 18-Oct-2012 Daniel Sandler <dsandler@android.com> Merge "Fix glitch when using settings pulldown then switching to notifications." into jb-mr1-dev
720a34d60ac466913a46ad3d757553b72ec50404 18-Oct-2012 Daniel Sandler <dsandler@android.com> Fix glitch when using settings pulldown then switching to notifications.

Bug: 7348917
Change-Id: I65b51bb161934300da9ca0ebf4b184886e3e81df
hone/PhoneStatusBar.java
c1dc37cba785d990cabfd4e27edadd18975f8751 18-Oct-2012 Daniel Sandler <dsandler@android.com> Merge "You can only use the 2-finger shortcut when opening the panel." into jb-mr1-dev
f249efcf3709b0feace01b9e3875cfd64b4d061e 17-Oct-2012 Daniel Sandler <dsandler@android.com> Show clear all when returning from flip quick settings.

Bug: 7367906
Change-Id: I3c6d227d223f11c60a44ceee4cdf698aa2a0acc9
hone/PhoneStatusBar.java
2017a056624e747ac91f8203728960a27da0b95a 17-Oct-2012 Daniel Sandler <dsandler@android.com> You can only use the 2-finger shortcut when opening the panel.

Bug: 7348917
Change-Id: I585c57f5eede72801fe1547d774c75256a0824b0
hone/NotificationPanelView.java
26f544aef2b28412d4185b22e5c5660f4293f21b 17-Oct-2012 Daniel Sandler <dsandler@android.com> Merge "For Matias." into jb-mr1-dev
b702e5df25a4537e8471d9b14c3cff4f3d2cb468 17-Oct-2012 Daniel Sandler <dsandler@android.com> Merge "Fix Bluetooth QS tile." into jb-mr1-dev
025e7cb4a186092692e76456e4c4404ab4103fe8 17-Oct-2012 Daniel Sandler <dsandler@android.com> Fade out the notification/settings panels just before close.

Bug: 7362346
Change-Id: I437a98f4400c0a14b038c268ccf78a322d992681
hone/PhoneStatusBarView.java
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
hone/PhoneStatusBar.java
hone/PhoneStatusBarView.java
ebaefec787ce09e715fc782f9fc2ba4556605e0e 17-Oct-2012 Daniel Sandler <dsandler@android.com> Fix Bluetooth QS tile.

Changes in the connection state were causing QuickSettings
to clobber the enabled state of the adapter.

Bug: 7365388
Change-Id: I9611cb492d143bc9e7246c3e210664705586a85d
hone/QuickSettings.java
040c2e4ace25a45bc701821da4fa786e6dd75ead 17-Oct-2012 Daniel Sandler <dsandler@android.com> For Matias.

<3, dsandler.

Bug: 7348917
Change-Id: I193a94ab82a9e59068c95624c2e8d375543f71f7
hone/NotificationPanelView.java
hone/PanelBar.java
hone/PanelView.java
hone/PhoneStatusBar.java
91ffeddb8b6ceec9a18ae34f88bd56560335de7f 17-Oct-2012 Daniel Sandler <dsandler@android.com> Hide settings button from tablet notification panel.

Bug: 7363279
Change-Id: I90f4286a596527485c462773f2553ed4986f60b2
hone/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
hone/PanelView.java
hone/PhoneStatusBar.java
hone/PhoneStatusBarView.java
hone/QuickSettings.java
fe3376b41aa48b6894afad9b977170bc658a6ac1 17-Oct-2012 Daniel Sandler <dsandler@android.com> Fix NPE in quick settings tiles.

Bug: 7360759
Change-Id: I5b000e063baa1b7e2dddaa25be5b9bcdafa1a974
hone/PhoneStatusBar.java
101784e5605338f22e32f587ffcaa09b582d556c 15-Oct-2012 Daniel Sandler <dsandler@android.com> Flipping quick settings!

Bug: 7348917 ╰(°□°╰)
Change-Id: I16923d6d920913a4bd0d78666587ac579ac18da5
hone/PhoneStatusBar.java
hone/QuickSettings.java
hone/SettingsPanelView.java
hone/StatusBarWindowView.java
e111ad300d614a0f94e30f96ae664a1de578c48a 13-Oct-2012 Daniel Sandler <dsandler@android.com> No, that's German for "The Quick Settings, The".

Bug: ???????
Change-Id: I24ffb21b1566d98c9df6db48c4062390757cd8bc
hone/PanelBar.java
hone/PhoneStatusBar.java
hone/PhoneStatusBarView.java
f15005ee3926302588d19f1be6ad4a62b3e691b4 13-Oct-2012 Michael Jurka <mikejurka@google.com> Merge "Use black bg in recents if using live wallpaper" into jb-mr1-dev
071316e5612ae1554309912ad4ad4680b80c718d 10-Oct-2012 Michael Jurka <mikejurka@google.com> Use black bg in recents if using live wallpaper

Bug: 7282784

Change-Id: I686f8f0e36e3414ad30d23de80cbbfb2868069d4
aseStatusBar.java
f5bc42dbf881403820e6fcebbb2aa428849547dc 12-Oct-2012 John Spurlock <jspurlock@google.com> Keep QS brightness slider icon in sync.

It now reflects auto-on or auto-off as it changes.

Bug:7303599
Change-Id: I1b1bd6a0545950795f83449c3778e91afa9d04a5
hone/QuickSettings.java
olicy/BrightnessController.java
ablet/SettingsView.java
853a1ceae056d773a41716a8a586118be1fa9dac 11-Oct-2012 Chris Wren <cwren@android.com> Merge "Copy date format style from keyguard." into jb-mr1-dev
5fb18aa57541710597ccef39423b255017e2915e 11-Oct-2012 Chris Wren <cwren@android.com> Copy date format style from keyguard.

Bug: 7312660
Change-Id: Ia5e728758bd1f2caa039ea6b8f8fa9abcc9f8417
olicy/DateView.java
1cd614c62c400091093a662cd331d268991f9e3f 11-Oct-2012 Winson Chung <winsonc@google.com> Merge "Ignore dying users when testing for number of users on device. (Bug 7332248)" into jb-mr1-dev
ada86cba3c1eed749872401ddf676aaff85a8846 11-Oct-2012 Winson Chung <winsonc@google.com> Ignore dying users when testing for number of users on device. (Bug 7332248)

Change-Id: Id5cc0aacba716db5c2306fd72a51ac7cffc4149e
hone/QuickSettings.java
092ad66a571d95cad20003daeac4c1119352b854 11-Oct-2012 Daniel Sandler <dsandler@android.com> Merge changes Ic860de75,I8b2d6c7a into jb-mr1-dev

* changes:
Remove notification/quicksettings explanation cling.
Remove the double-swipe to access quick settings on phones.
ace0bd77438c89578ff821a86ff1ae91f8000ed3 11-Oct-2012 Daniel Sandler <dsandler@android.com> Remove notification/quicksettings explanation cling.

Bug: 7319756
Change-Id: Ic860de7579079596d0e4c3412cf0fa1ccaadc3e1
hone/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
hone/PanelBar.java
hone/PanelView.java
hone/PhoneStatusBar.java
hone/PhoneStatusBarView.java
6c179ad82d45a33389e65d89305ed0919042674f 11-Oct-2012 Daniel Sandler <dsandler@android.com> Merge "Dismiss keyguard for brightness QS tile." into jb-mr1-dev
7a6355b679e68d6e8cf7ccc54586abc9000f62bb 09-Oct-2012 Winson Chung <winsonc@google.com> Fixing issue where Quick Settings user profile was not showing name or default picture. (Bug 7308719)

Change-Id: Idbaf377d1cd086cf5d8244d6c7ca084145ccf217
hone/QuickSettings.java
b64c3dd22410cd829a9f03ce935a598f79224f10 09-Oct-2012 Daniel Sandler <dsandler@android.com> Dismiss keyguard for brightness QS tile.

Bugreport, too.

Bug: 7296769
Change-Id: I28b2f1cf4a1bf2ebfcff37a6188f33a44b7d2165
hone/QuickSettings.java
bac221ff0b9e1406f95f23c9a5c3b580ece10eab 04-Oct-2012 Casey Burkhardt <caseyburkhardt@google.com> Accessibility enhancements within quick settings and notification shade.

Change-Id: I377c389abe3ce2285a620e60f4c8de4727f4f5c9
Bug: 7229886
aseStatusBar.java
hone/NotificationPanelView.java
hone/PhoneStatusBarView.java
hone/QuickSettings.java
hone/QuickSettingsModel.java
hone/SettingsPanelView.java
olicy/AccessibilityContentDescriptions.java
olicy/NetworkController.java
de8e3b122bbbd61aa35fd5cd4fe2fc86cd6f0040 08-Oct-2012 Daniel Sandler <dsandler@android.com> Merge "Fix NPE if pulling down QS quickly on very first boot." into jb-mr1-dev
9d09824a66e3a9785f3f05929bc9139da108efe4 08-Oct-2012 Daniel Sandler <dsandler@android.com> Fix NPE if pulling down QS quickly on very first boot.

The cling interception code can interfere with the touch
stream to the point that PanelView might get an ACTION_UP or
_CANCEL without a corresponding ACTION_DOWN, causing
problems.

Bug: 7301742
Change-Id: Idd5074c2544b3238517655ab3c068966bae9f912
hone/PanelView.java
118f484424f3e5649833df42a7e613f41b2b2ecd 08-Oct-2012 Daniel Sandler <dsandler@android.com> Fix NPE on devices without notification panel help clings.

Bug: 7302657
Change-Id: Ia161ea2ef74ef1dfbab55dacaa7274ebc2d66439
hone/PhoneStatusBar.java
db43f4722de6e5635c55a063a709b489e7ff27a6 08-Oct-2012 Adam Powell <adamp@google.com> QuickSettings - fail gracefully if we can't query the profile data

Fix a bug where QuickSettings couldn't get the user info tile data
when starting up encrypted. Since the system will be restarted once
the password is entered, it will be loaded properly once unlocked.

Bug 7301192

Change-Id: I6455df1d2bc33d375a1af8f2efb42dbdeb38f056
hone/QuickSettings.java
b88311685c84fe4a5b763c510cc630c9d4b1d036 07-Oct-2012 Daniel Sandler <dsandler@android.com> Merge "Notification & settings panel help." into jb-mr1-dev
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
hone/PanelView.java
hone/PhoneStatusBar.java
olicy/Prefs.java
786d10921b2c525ed22b78ec40ae2554eec85912 07-Oct-2012 Adam Powell <adamp@google.com> Merge "Quick settings user display and switching" into jb-mr1-dev
7711260e4959686bb1d6f177a843c2108bb04710 07-Oct-2012 John Spurlock <jspurlock@google.com> Merge "Keep quick settings brightness icon/dialog level in sync." into jb-mr1-dev
fc6825b1b709e9c73e4c872c8eab5dfab3d1ee08 07-Oct-2012 John Spurlock <jspurlock@google.com> Merge "Update quick settings wireless display tile per spec." into jb-mr1-dev
48f37ec8c98a6281dbf067d1740a3bc4953ed26f 05-Oct-2012 John Spurlock <jspurlock@google.com> Keep quick settings brightness icon/dialog level in sync.

We now listen for brightness changes and update the icon appropriately.
Note there are still only two icon states in QS (auto-on and auto-off).

We also listen for user switches, since the brightness setting is per-user.

The manual brightness level is now kept in sync with level set in Settings.

This change is tightly scoped to brightness only. Any other
QS bugs should be triaged separately.

Bug:7283805
Change-Id: Ibaf8fe94e98f65cc02efe7fcddf4f38370fdb09f
hone/QuickSettingsModel.java
olicy/BrightnessController.java
olicy/CurrentUserTracker.java
olicy/ToggleSlider.java
olicy/VolumeController.java
6f2a3d298205522f2e799800dace0e6c345dd4d3 06-Oct-2012 Adam Powell <adamp@google.com> Quick settings user display and switching

Load user information for the current user and display in quick
settings tile. Name is pulled from the contacts DB from the "Me"
profile, which will override the raw name on the system user if
needed.

Open the user switcher on the lock screen if this tile is clicked and
there is more than one user registered on the system. If there is only
one user, show the "Me" quick contact card.

Darken the background protection behind the user's name on the QS tile
layout so that it's readable against very light profile pic
backgrounds.

Bug 7175023
Bug 7257997

Change-Id: Ia1e7dd7af72dbd49113a827f9228e0a32e20a0dc
hone/QuickSettings.java
01e2f4f522db91d1a2ece24b503ca1375c55ec2e 05-Oct-2012 John Spurlock <jspurlock@google.com> Update quick settings wireless display tile per spec.

Bug:7178216
Change-Id: If917033930b0ba5a3ca0c7c8f574b069d5ecac6d
hone/QuickSettings.java
hone/QuickSettingsModel.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
hone/PanelBar.java
hone/PhoneStatusBar.java
a801f68624636a4f1fdb71c4aef97a59d5dbb731 05-Oct-2012 Daniel Sandler <dsandler@android.com> Restore rubberbanding on initial pulldown.

Broken by change Id93d6a00.

Bug: 7286201
Change-Id: I4155076df09d548aa00ae3793f78e6c154cde5f1
hone/PanelView.java
3c008f26ca4f72344b672065b861a3e39812e3a0 04-Oct-2012 John Spurlock <jspurlock@google.com> Merge "Disable quick settings panel in setup wizard (user 0)." into jb-mr1-dev
c30b6da804483e65eddda059e971727e1c80b7bf 04-Oct-2012 Daniel Sandler <dsandler@android.com> Merge "Bring back the notification panel handle peek animation." into jb-mr1-dev
0c1b75c17b79979e0f210b5bf03226d1091a4c21 04-Oct-2012 Daniel Sandler <dsandler@android.com> Bring back the notification panel handle peek animation.

Bug: 7286201
Change-Id: Id93d6a00689ffb7f97e89af935460b1debec3850
hone/PanelView.java
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
hone/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
88c3a51123bf39988c33c9074289fddff0e0fec8 04-Oct-2012 Daniel Sandler <dsandler@android.com> Merge "Fix a bug in double-swiping panels..." 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
hone/PhoneStatusBar.java
750bb9bff9fccf94f4bbf5945e10ce3f76534e7f 03-Oct-2012 Daniel Sandler <dsandler@android.com> Fix a bug in double-swiping panels...

...that could cause them both to be shown at once.

Bug: 7179458
Change-Id: I32e51bd6d4f5773d0f4f5d3e99a84d299cd4b766
hone/PanelView.java
hone/PhoneStatusBarView.java
76366938242282e37863e1fd8b7fa16e7fd554c1 03-Oct-2012 Daniel Sandler <dsandler@android.com> Merge "Increase the anti-jitter threshold for status bar flings." into jb-mr1-dev
db9a37627835192f582f6c3755aafbc4d0f8e090 03-Oct-2012 Daniel Sandler <dsandler@android.com> Increase the anti-jitter threshold for status bar flings.

You must move the panel at least 20dp overall, or at a speed
of 150dp/sec or more (actually quite easy; most normal
flings are 500dp/s or more) for it to be considered a fling.

Bug: 7179458
Change-Id: Ic1f4edc641cd2aa1cde89b2ee02eefdf5a0cc044
hone/PanelView.java
4b576e39f0ae8fb595843a6e442e39ca90dad51a 03-Oct-2012 Chris Wren <cwren@android.com> Merge "change string for wifi not connected state." into jb-mr1-dev
daab6af91d4e0f7bd13679f01a982dbe57c88bf0 03-Oct-2012 Chris Wren <cwren@android.com> change string for wifi not connected state.

Bug: 7217026
Change-Id: I8b593b85fe32f37880ee1a0b3ef869b36e80ba5b
hone/QuickSettingsModel.java
cbfcf5a329b0d4de11581adf4ee6dadee7be07cf 03-Oct-2012 Daniel Sandler <dsandler@android.com> Merge "Panel physics changes." into jb-mr1-dev
67eab79051eea2d4f8fda4a2a698900ffacfb557 02-Oct-2012 Daniel Sandler <dsandler@android.com> Panel physics changes.

- You can start pulling down another panel before the first
one has fully expanded. (Protip: tap many times on the
statusbar to invoke Schwarzenegger Mode.)
- When starting to pull down a panel, other panels are
immediately sent running (rather than placing them on a
literal seesaw).
- Rubberbanding is a little less aggressive: if it looks
like you're moving your finger upward, we'll just close
the panel outright rather than sticking to the bottom of
the visible content. (tablets only)
- This has some implications for the background fade; you'll
see a brief increase in brightness as you swap panels
because the fade fraction is based on the sum of all the
panels' fractional visibility. At times there will not be
enough "panel" visible, in the aggregate, to justify
holding the fade steady.

Bug: 7260868 // can't pull down panel, possibly fixed
Bug: 7204435 // double-swipe for QS
Bug: 7179458 // fling & rubberbanding heuristics
Bug: 7172453 // collapse other panels when dragging a new one
Bug: 7221970 // grabbing a flying panel causes twitching
Change-Id: Iad7c1f92c4edab9102cdda45605ef0ead4cc16c5
hone/PanelBar.java
hone/PanelHolder.java
hone/PanelView.java
hone/PhoneStatusBarView.java
3edcf5ee908d4e96030dabbd673fbb457c400607 03-Oct-2012 Chris Wren <cwren@android.com> Merge "make bluetooth iconography consistent with other quicksettings icons." into jb-mr1-dev
b2a7d27bbee0b982f7769747b9780b8262cb75f1 03-Oct-2012 Chris Wren <cwren@android.com> make bluetooth iconography consistent with other quicksettings icons.

Bug: 7217026
Change-Id: I880ee26e1d92ffa49885cf53b8dbab6b13887423
hone/QuickSettings.java
hone/QuickSettingsModel.java
d14508f8c483f1b5c14e8f25b43ad5714b445e28 03-Oct-2012 Daniel Sandler <dsandler@android.com> Merge "Disable statusbar pulldown gesture tracking." into jb-mr1-dev
151f00d8f06e207038125f227b42f06a25d5e0a0 03-Oct-2012 Daniel Sandler <dsandler@android.com> Disable statusbar pulldown gesture tracking.

Bug: 7164602
Change-Id: Ie6569a7a8a9f462e844ef3088098c3256653f630
hone/NotificationPanelView.java
hone/PhoneStatusBar.java
hone/SettingsPanelView.java
1fd3474585e2f2c5c87572e8b1c6c0c05b718b1a 03-Oct-2012 Daniel Sandler <dsandler@android.com> Merge "Allow QS to be closed via drag on background." into jb-mr1-dev
e5f7ec0576a25abc7a9754c72d61d86a251347e2 03-Oct-2012 Daniel Sandler <dsandler@android.com> Allow QS to be closed via drag on background.

This was already working fine for the area of the panel
below the ScrollView, but intuitively it seems that dragging
in the unused portion of a partially-filled row would behave
the same way. Because it's part of the scrolling content,
though, drags in that region are (correctly) interpreted by
the ScrollView as scrolling requests.

The new QuickSettingsScrollView works around this by
ignoring touch events if its contents are too small to be
scrolled. So in the common case (QS tiles on a phone) you
will be able to drag in any empty area and have your taps
interpreted by the PanelView (which hands them off to the
handle to collapse the view).

We don't handle drags in empty areas when there are too many
tiles to show on-screen, and really, it's impossible to do
so: this gesture should then definitely be interpreted as a
scroll.

Bug: 7203193
Change-Id: I4cfcb029481a88d3604c7105185e8bcb7dbde8a5
hone/QuickSettingsScrollView.java
ec9b13dc489ee3d92d985336b500afafadee0cd8 02-Oct-2012 John Spurlock <jspurlock@google.com> Merge "Disable quick settings for users until USER_SETUP_COMPLETE." into jb-mr1-dev
6ac833c9e3ccdf586c24ccf18560d5e223ba0734 02-Oct-2012 Chris Wren <cwren@android.com> Merge "re-use status bar DateView in QuickSettings." into jb-mr1-dev
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
hone/PanelBar.java
hone/PhoneStatusBar.java
f175525be4107649581259d04711f9ead905d447 02-Oct-2012 Michael Jurka <mikejurka@google.com> Merge "Fix bug 7138446: Icon blips in during Recents animation" into jb-mr1-dev
9bdaada95c481b8164417696649a1ffb584552f1 01-Oct-2012 Michael Jurka <mikejurka@google.com> Fix bug 7138446: Icon blips in during Recents animation

Add animation where icon and description of the
primary activity fades and translates in

Change-Id: Ie21b5302ac9e58ee6af219b7cde98d12a8e82697
aseStatusBar.java
9c022dff03561422965b50bebc496c5b7803dcd3 02-Oct-2012 Chris Wren <cwren@android.com> re-use status bar DateView in QuickSettings.

Bug: 7221083
Change-Id: Ic1cb7118d8e5f83a8e5e1101a609791a1e0fbab1
olicy/QuickSettingsDateView.java
b531c81cdb262bfb75d1637c12ef22f06fbd4968 02-Oct-2012 Daniel Sandler <dsandler@android.com> Merge "Introduce ACTION_QUICK_CLOCK for the QS time tile." into jb-mr1-dev
3750db176adbaf3f9779df5eadf335f673b2ac4f 02-Oct-2012 Victoria Lease <violets@google.com> Merge "Route GPS notifications to all users." into jb-mr1-dev
2e7d25b91f6f9185d447c99b2eabeab6bf735079 01-Oct-2012 Daniel Sandler <dsandler@android.com> Introduce ACTION_QUICK_CLOCK for the QS time tile.

By default it will still go to Date/Time Settings (see
change Ib430f0c5) but 3Ps can hook it for other useful
things.

Bug: 7264806
Change-Id: Ic561dbeb5cc0738372c079b3eb52749c44b3cf0d
hone/QuickSettings.java
825b33073f90dc08ef5f0c1036ae9a1555da8f20 01-Oct-2012 Daniel Sandler <dsandler@android.com> Repair lights out mode.

Broken by change I5662269b.

Bug: 7263523
Change-Id: Iae77d12c91443aecfed3e6461b5206208de4ddf7
hone/PhoneStatusBar.java
aca0c757e6ea1e369807701083271546d851cdfb 01-Oct-2012 Daniel Sandler <dsandler@android.com> Fix IME tile related crash

Bug: 7246375
Change-Id: I374ed201ea4870fb7397d075baed09524061030d
hone/QuickSettingsModel.java
38389b6cf7bd2ef49d2bd20ff1bca8677596590e 30-Sep-2012 Victoria Lease <violets@google.com> Route GPS notifications to all users.

This takes the easy way around notifying the correct users
about GPS state transitions by notifying ALL the users(!).

I've also laid groundwork for proper multiuser support in
LocationManager and did a tiny bit of cleanup in
GpsNetInitiatedHandler while I was looking at notifications.

Bug: 7213552
Change-Id: I2d6dc65c459e55d110ac0f5f79ae7a87ad638ede
olicy/LocationController.java
dd68da887a87fdc193b67f4fb0bf407294cf2977 01-Oct-2012 Daniel Sandler <dsandler@android.com> Remove IME tile from Quick Settings.

It will remain a transient notification.

Bug: 7246375
Change-Id: I34e262816c6f000d1ae64c41982ff9cc48e378e6
hone/QuickSettings.java
154bc0631a6f3a2e980394e4509666ca508e64b3 01-Oct-2012 Alan Smithee <dsandler@android.com> Tapping the clock now takes you to date/time settings.

Bug: 7175168
Change-Id: Ib430f0c5765cc6e474ed9a2a2a09e6a127cacf3c
hone/QuickSettings.java
be87e2f5885b28145a788fd31d1fb5ae88a71100 29-Sep-2012 Dianne Hackborn <hackbod@google.com> Fix issue #7255954: API Review: rename Dream to DreamService

Change-Id: I89ecf2c3ec4fef09c0495aa68de11576f9cfd872
hone/PhoneStatusBar.java
3ff8e1a80058e5557d13693d3223e1aa011c0038 29-Sep-2012 Dianne Hackborn <hackbod@google.com> Merge "Fix issue #7211769 and #7244492, thrash around on #7226656." into jb-mr1-dev
d4ac8d7b3de27a9f0e4c6af2496ca71d794e42d1 28-Sep-2012 Dianne Hackborn <hackbod@google.com> Fix issue #7211769 and #7244492, thrash around on #7226656.

Issue #7211769: Crash dialog from background user has non-working "report"

The report button now launches the issue reporter for the correct user.
Also for crashes on background users, either disable the report button,
or simply don't show the dialog depending on the build config.

Issue #7244492: Bugreport button in Quick Settings doesn't actually do anything

Now they do.

Issue #7226656: second user seeing primary user's apps

I haven't had any success at reproducing this. I have tried to tighten up
the path where we create the user to ensure nothing could cause the
user's applications to be accessed before the user it fully created and thus
make them installed... but I can't convince myself that is the actual problem.

Also tightened up the user switch code to use forground broadcasts for all
of the updates about the switch (since this is really a foreground operation),
added a facility to have BOOT_COMPELTED broadcasts not get launched for
secondary users and use that on a few key system receivers, fixed some debug
output.

Change-Id: Iadf8f8e4878a86def2e495e9d0dc40c4fb347021
hone/QuickSettings.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
hone/PhoneStatusBar.java
1d74a5a46da373ec46f2d040bd8e7824a22896b2 28-Sep-2012 Winson Chung <winsonc@google.com> Adding missing file in previous change (Bug 7252771)

Change-Id: I5f37a45b7c07d56cad850d90232f39a027e65ba7
hone/QuickSettings.java
6e061919f313f787c91047bebdfb95fdb756d6bb 28-Sep-2012 Daniel Sandler <dsandler@android.com> Merge "Prop the tablet notification panel open a bit." into jb-mr1-dev
0dc2b81ce1400ae23faa5cc386caeef235856307 28-Sep-2012 Daniel Sandler <dsandler@android.com> Merge "Cleanup internal status bar APIs." 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
hone/PhoneStatusBar.java
195b6e1239efad691e93eeed881001656d07056f 28-Sep-2012 Daniel Sandler <dsandler@android.com> Merge "Fix panel handles on large screens." into jb-mr1-dev
ded653b168b19f6061889907d4f562d764c5559b 28-Sep-2012 Jeff Sharkey <jsharkey@android.com> Fix "system" resources; more context user work.

Special-case "system" resources, since it doesn't have an
ApplicationInfo. Also switch Context and PackageManager to using
the wrapped UserHandle for outgoing calls.

Bug: 7242361
Change-Id: I1ecd2a4752399a6dce2de97c59bd5545996c9a99
tatusBarIconView.java
5e08af03a3dffff8b8fc098790e5133589601d8f 22-Sep-2012 Christopher Tate <ctate@google.com> Respect per-user rotation lock et alia

Various per-user settings such as rotation lock are relevant to the
singleton PhoneWindowManager object. We now listen for user-switch
broadcasts and reconfigure the active state based on the newly-
active user's settings.

The RotationPolicy toolset has also been updated to do the right
thing, as has the Quick Settings UI.

Bug 7213638

Change-Id: Iee2109e48df550b4c979d3f9c91b5d2b71a6a08e
aseStatusBar.java
hone/QuickSettings.java
hone/QuickSettingsModel.java
olicy/AutoRotateController.java
efba3235fcd5b71e17de13edd4be9819970014a9 28-Sep-2012 Winson Chung <winsonc@google.com> Fixing various QS issues. (Bug 7217102)

- Certain tiles were not updating strings based on configuration changes
- Updating bluetooth icon
- Fixing issue where QuickContacts is not being launched per-user

Change-Id: I5936e856b5454d608f9c7ddb6b81d9b566bb03ea
hone/QuickSettings.java
hone/QuickSettingsModel.java
13522a2e40730a0703fd7f185b7fb9be8ae37ab6 27-Sep-2012 Daniel Sandler <dsandler@android.com> Fix panel handles on large screens.

Bug: 7171620
Change-Id: If8445210fe654aa0b8ba508f4e6f93ad6d4fca14
hone/CloseDragHandle.java
hone/NotificationPanelView.java
hone/PanelView.java
hone/SettingsPanelView.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
aseStatusBar.java
ommandQueue.java
hone/PhoneStatusBar.java
hone/QuickSettings.java
hone/StatusBarWindowView.java
ablet/NotificationPanel.java
ablet/SettingsView.java
ablet/TabletStatusBar.java
v/TvStatusBar.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
hone/PhoneStatusBar.java
2fd6cb043901c1bfbf5f566d13522cc3c1c21fb4 26-Sep-2012 Svetoslav Ganov <svetoslavganov@google.com> Merge "Fixing the build" into jb-mr1-dev
063158561e5ce9d07db4900b6bd5add5ba795d91 26-Sep-2012 Svetoslav Ganov <svetoslavganov@google.com> Fixing the build

Change-Id: Ia3a7051bf26001da019b08d1b718d0a63d6c7919
hone/QuickSettings.java
b32e221699201cb647beae3fe0a1771fd5a41cf4 26-Sep-2012 Jeff Brown <jeffbrown@google.com> Merge changes I332f020f,I632648ac into jb-mr1-dev

* changes:
Update references to migrated global settings.
Handle user switched for settings changes.
282c51d3912995308901b45d22d1801eec50df41 26-Sep-2012 Winson Chung <winsonc@google.com> Merge "Updating time/alarm tiles, fixing issue with empty space under QuickSettings (Bug 7205141, Bug 7222371)" into jb-mr1-dev
c91fb5875bfd7f91d50d6fe939873872b53c8b2f 26-Sep-2012 Svetoslav Ganov <svetoslavganov@google.com> Merge "Adding a global accessibility action to open quick settings." into jb-mr1-dev
c86b23b9a6bc4763ff3fbe8d0ae8a9b2e21a1649 24-Sep-2012 Winson Chung <winsonc@google.com> Updating time/alarm tiles, fixing issue with empty space under QuickSettings (Bug 7205141, Bug 7222371)

Change-Id: If42308a0bbc4a31ffb7f5f0b66063c3b1418ca3e
hone/QuickSettings.java
hone/QuickSettingsContainerView.java
hone/QuickSettingsModel.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
aseStatusBar.java
ommandQueue.java
hone/PhoneStatusBar.java
hone/StatusBarWindowView.java
ablet/NotificationPanel.java
ablet/SettingsView.java
ablet/TabletStatusBar.java
v/TvStatusBar.java
98edc951712823dbf5db2b7e9c203a0e98fc616b 25-Sep-2012 Amith Yamasani <yamasani@google.com> Load resources for the correct user

For apps that are only installed on secondary users, the SystemUI is
unable to see them by default. Added some methods to explicitly pass the
userId of the user the resources are requested for by the StatusBarIcon

Bug: 7214384

Also fix binding to remote views

Bug: 7192802

Change-Id: I5d6c5f624aa37fb231f3467f9764c8d99077a91d
aseStatusBar.java
tatusBarIconView.java
hone/Ticker.java
ablet/TabletTicker.java
bf6f6f9de72c9fd15e6bda9f228c05a9b37d6324 26-Sep-2012 Jeff Brown <jeffbrown@google.com> Update references to migrated global settings.

Fixed one setting that was migrated but not marked deprecated.

Removed a hidden setting that is no longer used by the new
power manager service.

Bug: 7231172
Change-Id: I332f020f876a18d519a1a20598a172f1c98036f7
aseStatusBar.java
89ba270c6663c4f2c8076e21fa1a9f79a43e0b06 25-Sep-2012 Winson Chung <winsonc@google.com> Merge "Fixing various QS issues. (Bug 7216908, Bug 7217154)" into jb-mr1-dev
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
hone/PanelBar.java
hone/PanelView.java
hone/PhoneStatusBar.java
f4b5ab193c95675c07b8e361846d21d79571da0e 25-Sep-2012 Winson Chung <winsonc@google.com> Fixing various QS issues. (Bug 7216908, Bug 7217154)

- Making distinction between wifi not connected and unavailable
- Removing periods from carrier names
- Updating airplane mode icons

Change-Id: I8a629f07375faaa34a1b5ebeb307605f12f75173
hone/QuickSettings.java
hone/QuickSettingsContainerView.java
hone/QuickSettingsModel.java
b8d4c9ff22f114983a088281f0859bc94c1ea7db 25-Sep-2012 Jean-Baptiste Queru <jbq@google.com> Merge into jb-mr1-dev

Change-Id: Iaee05ce2bc5103c46fe9a148ad166f694c246c2f
7951c459aefeb012638477b762e19b792ecbe009 25-Sep-2012 Jean-Baptiste Queru <jbq@google.com> Merge into jb-mr1-dev

Change-Id: Ifc2328e30a52c2baebc1322c9b161104dcf21618
5a8aefa6c8ab2f129bc6477a49cd0876ec5d72fa 25-Sep-2012 Daniel Sandler <dsandler@android.com> No more double-swiping to toggle panels on tablets.

This also fixes up the drag regions so that quick settings
is only assigned the right 1/3 of the display (or 100dp,
whichever is larger). It had been that more than half of the
status bar, when dragged, would pull down QS.

Bug: 7217002
Change-Id: I515b6e19deab305b99784c7287d8f04fa9b22dc7
hone/PhoneStatusBarView.java
ea7e91514ee1968d15713e82a5cca745e2c46a05 25-Sep-2012 Amith Yamasani <yamasani@google.com> AppInfo from Notifications for secondary users

Required wiring up startActivitiesAsUser()

Bug: 7224950

Also fix a bug in navigateUp in secondary user

Change-Id: I114ae2de0457362d62e899fdb94b12239a3eb778
aseStatusBar.java
0988524683662bd497ae6ceeca034120bca394ff 24-Sep-2012 Michael Jurka <mikejurka@google.com> Fix build

Change-Id: I476664d9c0116fb4b135d443dd36ee7ebe3c25f4
hone/QuickSettings.java
598cfcad42c117a05c4a6f3f75c415b1146170d1 24-Sep-2012 Daniel Sandler <dsandler@android.com> Merge "Properly launch quicksettings activities." into jb-mr1-dev
50cdf7c3069eb2cf82acbad73c322b7a5f3af4b1 24-Sep-2012 Dianne Hackborn <hackbod@google.com> Fix issue #7214090: Need to be able to post notifications to all users

Also fix a bunch of system services that should be doing this. And
while doing that, found I needed to fix PendingIntent to evaluate
USER_CURRENT at the point of sending, not creation.

Note that this may end up with us having some notification shown to
non-primary users that lead to settings UI that should only be for
the primary user (such as the vpn notification). I'm not sure what
to do about this, maybe we need a different UI to come up there or
something, but showing the actual notification for those users at
least seems less broken than not telling them at all.

Change-Id: Iffc51e2d7c847e3d05064d292ab93937646a1ab7
aseStatusBar.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
aseStatusBar.java
hone/PanelView.java
hone/PhoneStatusBar.java
hone/QuickSettings.java
hone/SettingsPanelView.java
11820f7386ce86fd89e9e6b49d9231dce6e1ed07 23-Sep-2012 Jeff Sharkey <jsharkey@android.com> Merge "Allow acquiring ContentProviders across users." into jb-mr1-dev
6d51571835737c7502a2e111ee9dc2527ebad984 21-Sep-2012 Jeff Sharkey <jsharkey@android.com> Allow acquiring ContentProviders across users.

Otherwise services like SystemUI will always open content://-style
Uris as USER_OWNER. Surfaces through createPackageContextAsUser()
which points all ContentResolver operations towards a given user.

Start using in RemoteViews, so that Notifications correctly resolve
image Uris to the sending user. Also add user support for "content"
shell tool.

Bug: 7202982
Change-Id: I8cb7fb8a812e825bb0b5833799dba87055ff8699
ablet/TabletStatusBar.java
34563e2dc58812d65309eb2056674e10bf9b8f07 22-Sep-2012 Winson Chung <winsonc@google.com> Fixing various QuickSettings issues (Bug 7210343, Bug 7174839, Bug 7174738)

- Using startActivityFromUser() for multiuser settings intents
- Show Wifi/Bluetooth Off labels when they are off
- Removing quotes from SSID name
- Only showing the IME tile under the same conditions that the notification is showing
- Making tile labels uppercase

Change-Id: Ic4a085cda600da019eab259b22c9041d1a0b5d29
hone/QuickSettings.java
hone/QuickSettingsModel.java
3ed6f9456a60cb3a2cf4166a7fa19e30b9bbd972 21-Sep-2012 Winson Chung <winsonc@google.com> Showing QuickContacts card, adding brightness bar timeout and width, fixing wifi display icon visibility. (Bug 7186309, Bug 7175023)

Change-Id: Iea717e97bf90301bef68b06e1a35644e24ab029d
hone/QuickSettings.java
hone/QuickSettingsModel.java
ced8d21f5abf46d128264a3039f7a84155d2b9dc 13-Sep-2012 Daniel Sandler <dsandler@android.com> Add string for 'Ethernet'.

Bug: 6676469
Change-Id: Icbeb3e96b8580850a8392f443dc277488631bcab
olicy/NetworkController.java
1227233b6fcb9a6ef1aee8daa34bc3e18191f0db 21-Sep-2012 Daniel Sandler <dsandler@android.com> Merge "Bugreport in Quick Settings (if you turn it on)." into jb-mr1-dev
a2facc33cd8f8a717561ceb02efcbaf3c92a1bbe 21-Sep-2012 Daniel Sandler <dsandler@android.com> Merge "Fix the seesaw behavior on the status panels." into jb-mr1-dev
c19d4488eaf7bd54f5c01f0f7aca0003ed9f099b 19-Sep-2012 Daniel Sandler <dsandler@android.com> Bugreport in Quick Settings (if you turn it on).

Bug: 7190871
Change-Id: I8d10f18daed08aac1878cf6ba8937855d9494abd
hone/QuickSettings.java
hone/QuickSettingsModel.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
aseStatusBar.java
hone/PanelBar.java
hone/PanelView.java
hone/PhoneStatusBar.java
hone/PhoneStatusBarView.java
hone/StatusBarWindowView.java
89d5546d7fd3a3bb19820c42e8b4527013dd6545 19-Sep-2012 Jeff Brown <jeffbrown@google.com> Add support for remembering Wifi display devices.

Add a setting to globally disable Wifi display.

Fixed a bug where the wifi display broadcast receiver
was running on the wrong thread.

Removed the wifi-display QuickSettings dialog, all functionality
has been moved to Settings.

Bug: 7178216
Bug: 7192799
Change-Id: I9796baac8245d664cf28fa147b9ed978d81d8ab9
hone/QuickSettings.java
hone/QuickSettingsModel.java
688ca4708bad4a7c829758449664f08be48fa246 19-Sep-2012 Winson Chung <winsonc@google.com> Merge "Fixing crash in emulator due to no BluetoothAdapter. (Bug 7188166)" into jb-mr1-dev
84dbf462f8593d2df93012b23e027c7f1d4394c7 18-Sep-2012 Winson Chung <winsonc@google.com> Fixing crash in emulator due to no BluetoothAdapter. (Bug 7188166)

Change-Id: I63fe4b229a8a460170df153e71b7ad65655dfad1
olicy/BluetoothController.java
63bcc14c433b754c234bb593e6fdeaf08db1b106 18-Sep-2012 Daniel Sandler <dsandler@android.com> Merge "Remove settings and rotation buttons from notification panel." into jb-mr1-dev
5f623011db42fc7bd6fb8e57becd7a8eeb23a915 14-Sep-2012 Winson Chung <winsonc@google.com> Making QS scrollable and making numerous tweaks.

- Updating new assets (all line up)
- Updating brightness tile to reflect auto state
- Fixing network tile asset colors
- Adding press feedback

Change-Id: I857f141258eefec65243454cb69905cbd2a10bf6
hone/QuickSettings.java
hone/QuickSettingsModel.java
olicy/BluetoothController.java
olicy/BrightnessController.java
olicy/NetworkController.java
olicy/TelephonyIcons.java
olicy/WifiIcons.java
9d7657c5b569e503a65f1bbe5f0e93309bf33342 17-Sep-2012 Siva Velusamy <vsiva@google.com> Merge "PhoneStatusBar: Fix NPE while accessing quick settings." 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
hone/PhoneStatusBar.java
8dd9206abbca6d143e3874abf46eca67f5340b31 15-Sep-2012 Daniel Sandler <dsandler@android.com> Fix NPE in rotation lock QS.

Bug: 7172228
Change-Id: I3ac35e18fe7ce5af13ee4c54dabae80df696c819
hone/QuickSettingsModel.java
537421bed204a3a0cb8160a9be8a61d67c2c25f4 14-Sep-2012 Siva Velusamy <vsiva@google.com> PhoneStatusBar: Fix NPE while accessing quick settings.

Fixes Bug 7137026

Change-Id: Id156cf8ebb1a31202015a167185a6588283128f8
hone/PhoneStatusBar.java
4f49d9450fe919868f9a9a9a44db59ca2497150c 14-Sep-2012 Winson Chung <winsonc@google.com> Adding data type overlay to network tile.

Change-Id: Iae3c188e2f7f03bd1ebaddc756021be312ddb0aa
hone/QuickSettings.java
hone/QuickSettingsModel.java
olicy/NetworkController.java
49321ec4fb30ab0c709c1e808701f63f38f8cbe7 14-Sep-2012 Winson Chung <winsonc@google.com> Merge "Suppress ExpandHelper on quick settings." into jb-mr1-dev
d4726d062e277b360046609f35e1aa8572e8e364 14-Sep-2012 Winson Chung <winsonc@google.com> Adding rotation lock tile to quick settings (on tablets).

Change-Id: Ia68c07051acc1f0f42dde0b1322db034b5d54506
hone/QuickSettings.java
hone/QuickSettingsModel.java
ed1395f3981193c762e436cd1db725ce70022e43 14-Sep-2012 Winson Chung <winsonc@google.com> Updating Wifi/Mobile tiles to reflect actual connection state with new assets.

Change-Id: Ic1cd78c77f94f1c9cf9bbc1bcea3082ca536d94c
hone/QuickSettingsModel.java
olicy/NetworkController.java
olicy/TelephonyIcons.java
olicy/WifiIcons.java
eaa5ab01a122ceb907a2bead35077331d604021b 14-Sep-2012 Winson Chung <winsonc@google.com> Updating assets, fixing Battery tile to show proper states.

Change-Id: I0df6d62f57e8034f17d6add31416b050af8a0c15
hone/QuickSettings.java
hone/QuickSettingsContainerView.java
hone/QuickSettingsModel.java
b4e56edde684c2a09cb225c99571fddb39b43b34 13-Sep-2012 Daniel Sandler <dsandler@android.com> Suppress ExpandHelper on quick settings.

Bug: 7004997
Change-Id: I423de03022982d9f87451eb3fb5ffdca818cac8a
hone/PanelView.java
hone/StatusBarWindowView.java
2a4057d2e915a0726d8775a196374e320a9f15dc 13-Sep-2012 Winson Chung <winsonc@google.com> Updating IME tile with proper subtype name.

Change-Id: Ie7fed20873f51e3b2b4def14532df00d71762418
hone/QuickSettings.java
hone/QuickSettingsModel.java
43229d707515ce51c52f63e15257960c6d29162c 13-Sep-2012 Winson Chung <winsonc@google.com> Adding IME tile.

- Adding checks for telephony before showing RSSI tile

Change-Id: I1dc4fb7a07d9693d8c6a96678ac9d4ff9abafe44
hone/PanelView.java
hone/PhoneStatusBar.java
hone/QuickSettings.java
hone/QuickSettingsModel.java
hone/SettingsPanelView.java
6072b00b6291b3c8e816fa7bd837c2cbba2f055b 12-Sep-2012 Winson Chung <winsonc@google.com> Fixing crash in emulator due to missing bluetooth.

Change-Id: I0f652198cc759fac44f0de1729fcb52f515071a3
hone/QuickSettings.java
hone/QuickSettingsModel.java
db425bbb283d5345616c5bb762b9650a7ff19980 11-Sep-2012 Winson Chung <winsonc@google.com> Merge "Fixing issue with Airplane Mode. (Bug 7141144)" into jb-mr1-dev
08b1cc847524f66fd1d8c8d9065bf81bdd1fb04a 11-Sep-2012 Winson Chung <winsonc@google.com> Fixing issue with Airplane Mode. (Bug 7141144)

Change-Id: I83e2bdd5e8b0e0c732e8d46c47f8619daa0c7c02
hone/QuickSettingsModel.java
1679b368004239a81734ca4b5f5e2487597b8f52 11-Sep-2012 Winson Chung <winsonc@google.com> Adding brightness dialog to quick settings.

Change-Id: I81f640138057c26320d41f70c7f47a518fc1bd4a
hone/QuickSettings.java
e641b6a99cabad7076e10694a5b1b30f449de462 11-Sep-2012 Winson Chung <winsonc@google.com> Adding alarm to quick settings.

- Cleaning up some code

Change-Id: Iaea2077084ba16b4fb4d47c8b2df5da6983ceb91
hone/QuickSettings.java
hone/QuickSettingsModel.java
olicy/LocationController.java
c09cdce1b05075da808ae080b9905a14a3e1e627 11-Sep-2012 Christopher Tate <ctate@google.com> Update airplane-mode manipulation for the new Settings namespace

Quick Settings and global actions (aka longpress-Power) toggles are
included in this CL. The Settings app manipulations are updated in
a different CL because that's a different git package.

Bug 7132230

Change-Id: I50838f5e8d7b25a750d2bcae90bf384b09816dbb
hone/QuickSettings.java
olicy/AirplaneModeController.java
olicy/NetworkController.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
aseStatusBar.java
hone/PhoneStatusBar.java
7a8cce3d8a6fb781d840ddf60324a301f5a3f2d9 10-Sep-2012 Jeff Brown <jeffbrown@google.com> Handle case where user info might not be available.

The CursorLoader can return a null cursor if the query
failed for some reason. This may happen in certain states
where the provider is not available.

Bug: 7133411
Change-Id: Id7b383bca45a61bc8726ba9f6115cbbc07e5d0b4
hone/QuickSettings.java
21c7153d30071dcbeb92daa1fd48ed181e42aef3 09-Sep-2012 Jeff Brown <jeffbrown@google.com> Disable wifi display API when the adapter is not registered.

Bug: 7132341
Change-Id: I46d859082077afd2c8adc829ad285977dff80d07
hone/QuickSettings.java
508257bdfcd6cd3a85e55eb7addaf7eb43a61618 09-Sep-2012 Jeff Brown <jeffbrown@google.com> Add skeleton Wifi-Display tile in QS.

Pop up a little dialog when the tile is touched with options
to connect, scan and disconnect.

Change-Id: Ic9e28344899310692ace36c322974df175f82e08
hone/QuickSettings.java
d63c59786509aadd6a8d0c5cb45ed696339f16b7 06-Sep-2012 Winson Chung <winsonc@google.com> Initial changes to add QuickSettings.

Change-Id: If510f74d6046929e5e8a794c6dc2fddb15a03d6b
hone/PanelView.java
hone/PhoneStatusBar.java
hone/QuickSettings.java
hone/QuickSettingsContainerView.java
hone/QuickSettingsTileView.java
hone/SettingsPanelView.java
olicy/BatteryController.java
olicy/BluetoothController.java
olicy/DateView.java
olicy/LocationController.java
olicy/NetworkController.java
olicy/QuickSettingsDateView.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
hone/PanelView.java
hone/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
hone/PhoneStatusBar.java
d0d4bb84595d48116b3751b14efbc39388a78882 04-Sep-2012 Michael Jurka <mikejurka@google.com> Fixing preloading recents for all devices

- Fixed for tablets and phones with hard nav buttons

Change-Id: I1dc2249376b3f376c283598f5cef6e326b191ace
aseStatusBar.java
ablet/TabletStatusBar.java
8481980495b7b27b1f5834e6ed44cc33f9f5567a 05-Sep-2012 Michael Jurka <mikejurka@google.com> Merge "Porting old code for min alpha for items in recents" into jb-mr1-dev
adf0b215908f8fd921fcb734b9809c806cb67042 04-Sep-2012 Michael Jurka <mikejurka@google.com> Porting old code for min alpha for items in recents

Change-Id: I68dce175b3a2c0263c5df1ef787c28d6c622e879
hone/PhoneStatusBar.java
a4dd30174d8f0b385cfb37258c583afcb725794c 04-Sep-2012 Michael Jurka <mikejurka@google.com> Debug code for window transition crash

https://b.corp.google.com/7060284

- Throw exception before we try to start window
transition with null thumb
- also remove some old unneeded debug code

Change-Id: Ic9693372724cbfaa4c4cb2594128ca10677d9d8f
aseStatusBar.java
4120375d46091df8527bb701882e056fbb0e6b06 31-Aug-2012 Dianne Hackborn <hackbod@google.com> Remove Binder.getOrigCallingUid().

Replaced all remaining places that used it with explicit user
specification.

While doing this, I ran into stuff that was creating PendingIntent
objects (that now need to specify the explicit user they are for),
which are also posting notifications... but have no way to specify
the user for the notification.

So the notification manager in the system process now also gets a
formal concept of a user associated with the notification, which
is passed in to all the necessary aidl calls. I also removed the
old deprecated aidl interface for posting/cancelling notifications,
since we now always need a user supplied.

There is more work that needs to be done here, though. For example
I think we need to be able to specify USER_ALL for a notification that
should be shown to all users (such as low storage or low battery).
Along with that, the PendingIntent creation needs to be tweaked to
be able to handle USER_CURRENT by evaluating the user at the point the
pending intent is sent.

That's for another change, however.

Change-Id: I468e14dce8def0e13e0870571e7c31ed32b6310c
olicy/LocationController.java
8c890f8a69ea1e6f8f7fe989a610ffe738e91866 31-Aug-2012 Daniel Sandler <dsandler@android.com> Merge "Work around instability of Display.getRotation()." into jb-mr1-dev
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
hone/PhoneStatusBar.java
73365695e4d169126c6932df8e8e932aefe6aaca 30-Aug-2012 Dianne Hackborn <hackbod@google.com> Merge "Improve multi-user broadcasts." into jb-mr1-dev
5ac72a29593ab9a20337a2225df52bdf4754be02 30-Aug-2012 Dianne Hackborn <hackbod@google.com> Improve multi-user broadcasts.

You can now use ALL and CURRENT when sending broadcasts, to specify
where the broadcast goes.

Sticky broadcasts are now correctly separated per user, and registered
receivers are filtered based on the requested target user.

New Context APIs for more kinds of sending broadcasts as users.

Updating a bunch of system code that sends broadcasts to explicitly
specify which user the broadcast goes to.

Made a single version of the code for interpreting the requested
target user ID that all entries to activity manager (start activity,
send broadcast, start service) use.

Change-Id: Ie29f02dd5242ef8c8fa56c54593a315cd2574e1c
olicy/AirplaneModeController.java
25bb8eec2d63add7d43d357c26f9792ae6156a92 30-Aug-2012 Daniel Sandler <dsandler@android.com> Turn off deadzone flash, replacing it with logcat.

Change-Id: I30db97e5c3a6ef3a06e6065ccf087a7f6d1f9286
olicy/DeadZone.java
8601e8b3ab3b166166543baaab663224b787d68f 30-Aug-2012 Daniel Sandler <dsandler@android.com> Merge "Expand the navbar dead zone briefly after touches elsewhere." into jb-mr1-dev
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
hone/NavigationBarView.java
hone/PhoneStatusBar.java
olicy/DeadZone.java
0d43c567cea30e6fb7af0f7adadb1c620339c0f5 28-Aug-2012 Daniel Sandler <dsandler@android.com> am 393e3170: am ad955fe8: Merge "SystemUI: Fix data activity overlay not being removed when data is disabled"

* commit '393e3170b3f52a3e191554ffd8c8f81821ba2074':
SystemUI: Fix data activity overlay not being removed when data is disabled
393e3170b3f52a3e191554ffd8c8f81821ba2074 28-Aug-2012 Daniel Sandler <dsandler@android.com> am ad955fe8: Merge "SystemUI: Fix data activity overlay not being removed when data is disabled"

* commit 'ad955fe87f44b43dbb2842fdcbe4e62900b5a07f':
SystemUI: Fix data activity overlay not being removed when data is disabled
ad955fe87f44b43dbb2842fdcbe4e62900b5a07f 28-Aug-2012 Daniel Sandler <dsandler@android.com> Merge "SystemUI: Fix data activity overlay not being removed when data is disabled"
b8ea2f59e2727020ac211d5b6f6d421314546439 24-Aug-2012 Chris Wren <cwren@android.com> [phones] Only allow double-flick opening of the quicksettings panel.

Bug: 7043587
Change-Id: I39d208626c477e8c081c9d81c3124eb631152998
hone/PhoneStatusBarView.java
03f482c34d7e0d2917e7f53006ee2fc9736e8773 23-Aug-2012 Michael Jurka <mikejurka@google.com> Merge "Recents: apps scale down to thumbnails now" into jb-mr1-dev
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
aseStatusBar.java
hone/PhoneStatusBar.java
ablet/TabletStatusBar.java
v/TvStatusBar.java
4d179dc6ccf3eb118767e94b803484abe9552537 22-Aug-2012 Chet Haase <chet@google.com> Fix animation of notification handle bar when panel changes height

The notification panel uses LayoutTransition to animate changes to
the list of notifications. This works for the items themselves as
items are added or removed; the new/old items animate in/out and the
existing items animate to make or remove space.

But the handle at the bottom of the list (the gray translucent line) does
not play well with these changes. For example, when an item is swiped away
the handle snaps into its new location before the rest of the items have
finished animating.

The problem comes from a constraint of LayoutTransition; it handles changes
to the container it operates on, and to the parent hierarchy all the way up
to the root. However, it cannot animate changes to siblings of the parents.
So when the list resizes due to item changes, the handle (which is in a sibling
of the list) does not animate this change, but just reacts instantly.

The fix is to draw the handle not as a view itself, but rather as part of the
parent container of the list. So as the list animates a resize, the container will
also animate, and any graphics in the container will animate along with it.
No matter what size the container of the list is, the line will be drawn at
the bottom of it.

Issue #7024902 Notification panel animation incorrect when swiping notification out

Change-Id: Ifc412cb6bcdc6ead35993b0320364a2a95a16e11
hone/NotificationPanelView.java
179ec6d0bc9963ffc065a4e7983743bb5e4ce9fe 21-Aug-2012 Chet Haase <chet@google.com> Fix notification panel bug which prevented proper resizing

When the notification panel is opened larger than the list's length,
the penl is put into a "rubber band" mode, to animate the bottom of the
panel back to the end of the list. But the rubber band mode is never
unset, which causes an improper result if another notification is ended,
preventing the panel from resizing to the new, appropriate size of the list.

Fix is to unset the rubber banding flag when the snapping animation finishes.

Issue #6992133 Notification bar does not drop down completely in Mako

Change-Id: Id93918086353f58d6eb6bb071556f08eb2e2706e
hone/PanelView.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
aseStatusBar.java
hone/NavigationBarView.java
hone/PhoneStatusBar.java
hone/PhoneStatusBarView.java
ablet/ShirtPocket.java
ablet/TabletStatusBar.java
ablet/TabletTicker.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
hone/PhoneStatusBar.java
ablet/SettingsView.java
2a00329c6d55c6cd9166e01963d7410e95d80d21 15-Aug-2012 Amith Yamasani <yamasani@google.com> UserHandle to UserSerialNo mapping

Use AtomicFile for usermanager files.

Added a MANAGE_USERS permission that apps (signature permission) can use
to create/query/modify/remove users.

Change-Id: I5cf232232d0539e7508df8ec9b216e29c2351cd9
aseStatusBar.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
hone/PanelBar.java
hone/PanelView.java
hone/PhoneStatusBar.java
hone/PhoneStatusBarView.java
olicy/NotificationRowLayout.java
3fd688fa50b518ca0b2bf0932dc7ab7197da6b1d 16-Aug-2012 Daniel Sandler <dsandler@android.com> Merge changes Ifad4bd65,I6a4b7d69 into jb-mr1-dev

* changes:
Turn off an assert.
Fix crash in SystemUI.
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
aseStatusBar.java
hone/PhoneStatusBar.java
ablet/SettingsView.java
fa71962948092786c5190f39fd25ce3d55a4e287 16-Aug-2012 Daniel Sandler <dsandler@android.com> Turn off an assert.

Change-Id: Ifad4bd65ddcedc6e2dd018695fd37ddbf9163e80
estureRecorder.java
5a35a0d560ccc5582f26c33534bf22c5c0d169b7 16-Aug-2012 Daniel Sandler <dsandler@android.com> Fix crash in SystemUI.

It looks like we were end()ing the main timing animation in
the middle of the animation (and too many times, at that).

Bug: 6992223
Change-Id: I6a4b7d692171baa73f6211c7843e164b05383a30
hone/PanelView.java
1e8feef1faca7d2f14bf459691dbe724c8cf5c88 16-Aug-2012 Daniel Sandler <dsandler@android.com> Fix status bar disabling.

Bug: 6998403
Change-Id: I8a47e694f2f3914ef5cf0d180b0309783148c627
hone/PanelBar.java
hone/PhoneStatusBar.java
hone/PhoneStatusBarView.java
228916713db16dd536a8f3d7256b5726a2eaeb2b 16-Aug-2012 Daniel Sandler <dsandler@android.com> Merge "Multiuser support for notifications, take 1." into jb-mr1-dev
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
aseStatusBar.java
hone/PhoneStatusBar.java
cf591db04914d8ceadd982451b325bd8c4817086 15-Aug-2012 Daniel Sandler <dsandler@android.com> Confine the quick settings trigger to the right third of the status bar.

Pulling down anywhere on the status bar when a panel is
already showing will switch to the other panel.

Also adjust gesture recorder output to track the settings
panel and annotate it separately.

Change-Id: I0ca3b395b5f2c6c8767237126bce26d0e8c9b8c0
hone/NotificationPanelView.java
hone/PanelBar.java
hone/PanelView.java
hone/PhoneStatusBarView.java
hone/SettingsPanelView.java
978f853d189c1857190b4a2e200c7a283e31ca14 15-Aug-2012 Daniel Sandler <dsandler@android.com> Fix situations where the panel wouldn't descend.

Change-Id: I41c1d6a973b2693487062f3a5fbf922ff2025897
hone/PanelBar.java
hone/PanelView.java
2db99c56f74013ee51950ac53062536be2edcd14 15-Aug-2012 Daniel Sandler <dsandler@android.com> Merge "Turn off chatty logging for everyone." into jb-mr1-dev
194b6e971668ea32124bdc1b0f534fcb3e06ef9f 15-Aug-2012 Jeff Brown <jeffbrown@google.com> Merge "Power manager rewrite." into jb-mr1-dev
bf4aa9d5bc34df144afcab45e8045d34a0ac090a 15-Aug-2012 Daniel Sandler <dsandler@android.com> Turn off chatty logging for everyone.

Change-Id: I6c6f48012df8a551ae4f2b2a9cd2713184234763
hone/PanelBar.java
hone/PanelView.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
hone/PanelBar.java
hone/PhoneStatusBar.java
hone/PhoneStatusBarView.java
9630704ed3b265f008a8f64ec60a33cf9dcd3345 28-Jul-2012 Jeff Brown <jeffbrown@google.com> Power manager rewrite.

The major goal of this rewrite is to make it easier to implement
power management policies correctly. According, the new
implementation primarily uses state-based rather than event-based
triggers for applying changes to the current power state.

For example, when an application requests that the proximity
sensor be used to manage the screen state (by way of a wake lock),
the power manager makes note of the fact that the set of
wake locks changed. Then it executes a common update function
that recalculates the entire state, first looking at wake locks,
then considering user activity, and eventually determining whether
the screen should be turned on or off. At this point it may
make a request to a component called the DisplayPowerController
to asynchronously update the display's powe state. Likewise,
DisplayPowerController makes note of the updated power request
and schedules its own update function to figure out what needs
to be changed.

The big benefit of this approach is that it's easy to mutate
multiple properties of the power state simultaneously then
apply their joint effects together all at once. Transitions
between states are detected and resolved by the update in
a consistent manner.

The new power manager service has is implemented as a set of
loosely coupled components. For the most part, information
only flows one way through these components (by issuing a
request to that component) although some components support
sending a message back to indicate when the work has been
completed. For example, the DisplayPowerController posts
a callback runnable asynchronously to tell the PowerManagerService
when the display is ready. An important feature of this
approach is that each component neatly encapsulates its
state and maintains its own invariants. Moreover, we do
not need to worry about deadlocks or awkward mutual exclusion
semantics because most of the requests are asynchronous.

The benefits of this design are especially apparent in
the implementation of the screen on / off and brightness
control animations which are able to take advantage of
framework features like properties, ObjectAnimator
and Choreographer.

The screen on / off animation is now the responsibility
of the power manager (instead of surface flinger). This change
makes it much easier to ensure that the animation is properly
coordinated with other power state changes and eliminates
the cause of race conditions in the older implementation.

The because of the userActivity() function has been changed
so that it never wakes the device from sleep. This change
removes ambiguity around forcing or disabling user activity
for various purposes. To wake the device, use wakeUp().
To put it to sleep, use goToSleep(). Simple.

The power manager service interface and API has been significantly
simplified and consolidated. Also fixed some inconsistencies
related to how the minimum and maximum screen brightness setting
was presented in brightness control widgets and enforced behind
the scenes.

At present the following features are implemented:

- Wake locks.
- User activity.
- Wake up / go to sleep.
- Power state broadcasts.
- Battery stats and event log notifications.
- Dreams.
- Proximity screen off.
- Animated screen on / off transitions.
- Auto-dimming.
- Auto-brightness control for the screen backlight with
different timeouts for ramping up versus ramping down.
- Auto-on when plugged or unplugged.
- Stay on when plugged.
- Device administration maximum user activity timeout.
- Application controlled brightness via window manager.

The following features are not yet implemented:

- Reduced user activity timeout for the key guard.
- Reduced user activity timeout for the phone application.
- Coordinating screen on barriers with the window manager.
- Preventing auto-rotation during power state changes.
- Auto-brightness adjustment setting (feature was disabled
in previous version of the power manager service pending
an improved UI design so leaving it out for now).
- Interpolated brightness control (a proposed new scheme
for more compactly specifying auto-brightness levels
in config.xml).
- Button / keyboard backlight control.
- Change window manager to associated WorkSource with
KEEP_SCREEN_ON_FLAG wake lock instead of talking
directly to the battery stats service.
- Optionally support animating screen brightness when
turning on/off instead of playing electron beam animation
(config_animateScreenLights).

Change-Id: I1d7a52e98f0449f76d70bf421f6a7f245957d1d7
olicy/BrightnessController.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
hone/PhoneStatusBar.java
olicy/NotificationRowLayout.java
1c1edaa5f127d814058271ee4827fc0fe4a8de44 14-Aug-2012 Daniel Sandler <dsandler@android.com> Use a color resource to specify the dim behind panels.

Change-Id: I551d9969dc1f4032f26fd94cf9719f07873abb5e
hone/PhoneStatusBar.java
hone/PhoneStatusBarView.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
hone/NotificationPanelView.java
hone/PanelBar.java
hone/PanelHolder.java
hone/PanelView.java
hone/PhoneStatusBar.java
hone/PhoneStatusBarView.java
hone/StatusBarWindowView.java
olicy/Clock.java
747a9e986c634bc25be3f44c333d7c6ecd44158e 10-Aug-2012 Daniel Sandler <dsandler@android.com> Capture orientation change data in the gesture log.

Change-Id: I19719f82f1b6b6563b33edc85b4a8a259d04ba0c
hone/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
hone/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
hone/PhoneStatusBar.java
ablet/SettingsView.java
acad183238ad13774dba38c403ed553c2427027e 18-Feb-2012 Christopher Tate <ctate@google.com> Add an empty stub status bar service implementation

For kiosk-type devices that do not present any navigation UI. This allows
for clean selection of the implementation based on resource overlays,
without the need for the tablet or phone status bar implementations to
accomodate the desired behaviors.

Bug 5824373

Change-Id: Idcec70eef437904edda452b69e5eb7a3cc7094f7
(cherry picked from commit 5717f80927944c141f059162ecd69649488f8049 in ics-aah)

Signed-off-by: Mike J. Chen <mjchen@google.com>
v/TvStatusBar.java
bb01fd01118d34d5f91c83881b0bf95dd74d6159 04-Aug-2012 Wink Saville <wink@google.com> am 1971df5d: am e20a19cb: Merge "show 3G icon for CDMA/1xRTT"

* commit '1971df5d4296f077cccff704201057a32b733235':
show 3G icon for CDMA/1xRTT
1971df5d4296f077cccff704201057a32b733235 04-Aug-2012 Wink Saville <wink@google.com> am e20a19cb: Merge "show 3G icon for CDMA/1xRTT"

* commit 'e20a19cb541f8621f04be0f3d3501f2fc51a0e82':
show 3G icon for CDMA/1xRTT
5345c310af8363948cee6a91d11add3ec51e8a9c 03-Aug-2012 Chris Wren <cwren@android.com> Merge "Don't allow the status bar to collapse things we're touching." into jb-mr1-dev
68cad3a0faf0cad9cba81a13e2cde75ca6ae528e 03-Aug-2012 Madan Ankapura <mankapur@sta.samsung.com> show 3G icon for CDMA/1xRTT

when config_showMin3G is enabled to true in a CDMA device

Change-Id: I79a4fa200dc406fc7f9f4527165046541961ef69
Signed-off-by: Madan Ankapura <mankapur@sta.samsung.com>
olicy/NetworkController.java
25dd892ce9dc7d83970a3aa55f25ec8e110dfe84 03-Aug-2012 Svetoslav Ganov <svetoslavganov@google.com> am e1c47324: am 9a59f6e0: Merge "Notification panel on tablet does not handle back and home key events." into jb-dev

* commit 'e1c47324fc22f86f378cb6ccc51e4554eec5156b':
Notification panel on tablet does not handle back and home key events.
e1c47324fc22f86f378cb6ccc51e4554eec5156b 03-Aug-2012 Svetoslav Ganov <svetoslavganov@google.com> am 9a59f6e0: Merge "Notification panel on tablet does not handle back and home key events." into jb-dev

* commit '9a59f6e02fdcabbf2debd5b836b01f7b22a4b21a':
Notification panel on tablet does not handle back and home key events.
3ddab0dcc1039137f05a28ff86477601a223a0fa 02-Aug-2012 Chris Wren <cwren@android.com> Don't allow the status bar to collapse things we're touching.

Bug: 6538918
Change-Id: Ie4e79aa593ac2097d0e6402f84816df934160687
aseStatusBar.java
otificationData.java
olicy/NotificationRowLayout.java
73b9c29b8b856d15e8798a876a85766c263f01f2 31-Jul-2012 Svetoslav Ganov <svetoslavganov@google.com> Notification panel on tablet does not handle back and home key events.

1. Notification panel on tablet does not handle back and home key events and
as a result the notification panel stays open. Hence, after opening the
notifications panel, pressing the back key on a keyboard will move back
in the app instead closing the panel. Same happens for the home key.
The expected behavior is if the panel is open the back button will dismiss
it and the key should be consumed by the panel. The home key should hide
the panel and the key should not be consumed by the panel so the system
can do the right thing.

bug:6902903

Change-Id: I06e8ceea1f51b998e6703d70dcb3a24128d5a581
ablet/NotificationPanel.java
86d00fb40ae5cd01ce5a2e228e6de777eae6dee8 01-Aug-2012 Chris Wren <cwren@android.com> Venetian blinds policy for one-finger notification expansion.

Bug: 6538918
Change-Id: I8a6f860684b2477571f69eb4a79a5c106251b1a8
olicy/NotificationRowLayout.java
3d30590bc4874de32f7b04fa3e5db1f95f71de1d 03-Apr-2012 Pawit Pornkitprasan <p.pawit@gmail.com> SystemUI: Fix data activity overlay not being removed when data is disabled

If mobile data connection is disabled while there is active data
activity, the data activity overlay will not be removed and will
be stuck there. This patch fixes that.

Change-Id: I4cc1a14bb2e2d85687752657608e5989adfe9af1
olicy/NetworkController.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.
5cb62df6bdac4aaab7a1c1b1ef849ec213ff028b 28-Jul-2012 Daniel Sandler <dsandler@android.com> am dd4ef49f: Persistent \'emergency calls\' banner in the notification panel.

* commit 'dd4ef49f4545dad2a6503d29e129472aba5392fc':
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
hone/PhoneStatusBar.java
olicy/NetworkController.java
1fbfd263adae76f5233ce9b7db9c3a88d517cfb6 26-Jul-2012 Daniel Sandler <dsandler@android.com> am 08b7e785: am 7da1ad69: am c524ca27: Merge "Fix NPE on some phones at startup." into jb-dev

* commit '08b7e78597b06b3801d909c9e9ca1538ed9fc355':
Fix NPE on some phones at startup.
08b7e78597b06b3801d909c9e9ca1538ed9fc355 26-Jul-2012 Daniel Sandler <dsandler@android.com> am 7da1ad69: am c524ca27: Merge "Fix NPE on some phones at startup." into jb-dev

* commit '7da1ad699989db8417ce54eb26697eae4a30f634':
Fix NPE on some phones at startup.
a8b9defade5b937d4ad64f9aff4bca792298f43c 23-Jul-2012 Jeff Brown <jeffbrown@google.com> Stop using raw display size except in window manager.

We don't actually need the raw size in these places.
The logical size is good enough.

Starting to move dependencies on surface flinger
and window manager out of the Display class.

Change-Id: I2065bee8e5bf7f42c5a452dd1e8479e40ebb0d37
hone/NavigationBarView.java
7da1ad699989db8417ce54eb26697eae4a30f634 25-Jul-2012 Daniel Sandler <dsandler@android.com> am c524ca27: Merge "Fix NPE on some phones at startup." into jb-dev

* commit 'c524ca275add1c84ef4e1e5c105058f44cac5efb':
Fix NPE on some phones at startup.
75fcac4eebdf7ff68a534e9af1664c571f40ef30 25-Jul-2012 Daniel Sandler <dsandler@android.com> Fix NPE.

Bug: 6878563
Change-Id: I9a2afed6e2b517c2d6b54cea3d812fb84835fb00
estureRecorder.java
9af376e57ad83d43cd1d326c295ea90b225f2983 25-Jul-2012 Daniel Sandler <dsandler@android.com> Fix NPE on some phones at startup.

Bug: 6877589
Change-Id: I65ff37b4cf6b59a72a7aa665f252f5fb34f3b183
olicy/NetworkController.java
9014345ddae564ce15bbc247ffbdb7c19dd8fbbf 25-Jul-2012 Daniel Sandler <dsandler@android.com> am 7d1ef0ce: am 3ee47ae7: Merge "Fix 6804479: "Emergency calls only" in notification shade" into jb-dev

* commit '7d1ef0cee7c61dea18216a80a00d437109b698d5':
Fix 6804479: "Emergency calls only" in notification shade
7d1ef0cee7c61dea18216a80a00d437109b698d5 25-Jul-2012 Daniel Sandler <dsandler@android.com> am 3ee47ae7: Merge "Fix 6804479: "Emergency calls only" in notification shade" into jb-dev

* commit '3ee47ae7ee0d0afc0a2bbe71636c31483b5502cd':
Fix 6804479: "Emergency calls only" in notification shade
0ae29275b863b865c7734f14a4427906134b95b1 24-Jul-2012 Daniel Sandler <dsandler@android.com> Fix 6804479: "Emergency calls only" in notification shade

Add an additional codepath to the "no connectivity" logic in
NetworkController to allow the PLMN bubble up from the
GsmServiceStateTracker, where R.string.emergency_calls_only
is returned if we're in emergency call mode.

Bug: 6804479
Change-Id: I0a77261e4393cc0dc32bae3e631ef196b2342f06
olicy/NetworkController.java
780d668bee92ecdef6e08d92fc227f92425a58c8 24-Jul-2012 Daniel Sandler <dsandler@android.com> Pressure info in captured gestures.

Change-Id: If72f8d5ea0cb748f60357441153d5fb8ac1b8143
estureRecorder.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
estureRecorder.java
hone/PhoneStatusBar.java
0fc5b2bea09a6d320884c5b12577caf426f547c1 19-Jul-2012 Adam Powell <adamp@google.com> Fun with Up navigation

For activities with a null taskAffinity, simply finish the current task.
(They probably shouldn't have specified a parentActivityName anyway.)

When launching into app info from ResolverActivity, launch the app info
page in the current task with FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET. Back
will return to the resolver, and Up will jump to Settings.

When launching into app info from RecentsPanelView or BaseStatusBar,
since this is a system affordance akin to notifications or widgets,
build the full task stack for the app info activity with
TaskStackBuilder and launch it as a new task.

Change-Id: I73b1941d0f52bd8b30382b5e17edd8ceb058c70d
aseStatusBar.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.
f22beb3f2fae39568d1576254e4733c089da16f3 19-Jul-2012 Daniel Sandler <dsandler@android.com> am 0038ec11: Merge "Fix stuck status bars." into jb-dev

* commit '0038ec1107baf179a54a2f10b6643f918b1e7059':
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
hone/PhoneStatusBar.java
33034b13cae1429d526722374bd39be3f9605ae4 10-Jul-2012 Wink Saville <wink@google.com> Create telephony-common and mms-common - DO NOT MERGE

These have been created to reduce the size and complexity
of frameworks/base.

mms-common was created by moving all of
frameworks/base/core/java/com/google/android/mms
to:
frameworks/opt/mms

telephony-common was created by moving some of
frameworks/base/telephony
to:
frameworks/opt/telephony

Change-Id: If6cb3c6ff952767fc10210f923dc0e4b343cd4ad
hone/CarrierLabel.java
hone/PhoneStatusBarPolicy.java
olicy/NetworkController.java
bb033ea3620a2c30f85a91986aa09a37960c8366 10-Jul-2012 Greg Hackmann <ghackmann@google.com> Don't force RGB-565 for tablet status bar

RGBX-8888 is preferred on some devices because the HW composer doesn't
support RGB-565. SurfaceFlinger can map PixelFormat.OPAQUE to RGB-565
or RGBX-8888 depending on the NO_RGBX_8888 flag.

Change-Id: I6848b11f694188b606a5547b6dd386d933e30601
Signed-off-by: Greg Hackmann <ghackmann@google.com>
ablet/TabletStatusBar.java
5362f17ff5e8e06601b172bd86c26027ced9780c 12-Jul-2012 Wink Saville <wink@google.com> Merge commit '1b003ef0' into mit

* commit '1b003ef0':
Create telephony-common and mms-common

Change-Id: Ie8876541dbe7f4c933cf7d69910dd204538bc975
a639b311e93ad14d9ee5c2b2c215ed2d86c32d2a 10-Jul-2012 Wink Saville <wink@google.com> Create telephony-common and mms-common

These have been created to reduce the size and complexity
of frameworks/base.

mms-common was created by moving all of
frameworks/base/core/java/com/google/android/mms
to:
frameworks/opt/mms

telephony-common was created by moving some of
frameworks/base/telephony
to:
frameworks/opt/telephony

Change-Id: If6cb3c6ff952767fc10210f923dc0e4b343cd4ad
hone/CarrierLabel.java
hone/PhoneStatusBarPolicy.java
olicy/NetworkController.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
hone/PhoneStatusBar.java
acc3da02e84aa541c829ec0650a7dcace16e5df0 29-Jun-2012 Dianne Hackborn <hackbod@google.com> am 4be93bbe: am 074b54fb: Merge "Maybe fix issue #6756472: Share button is not defocusing the shade" into jb-dev

* commit '4be93bbe911c1a4471f81f0e261e9b13d9212c36':
Maybe fix issue #6756472: Share button is not defocusing the shade
a19402165000e9513f3097e10df2b7ebc8dbe1d4 29-Jun-2012 Dianne Hackborn <hackbod@google.com> Maybe fix issue #6756472: Share button is not defocusing the shade

I got this reproduce a few times, then wasn't able to. I made this
change and then couldn't reproduce it. Maybe it fixed it.

The change here is to explicitly pass in the handler class to
apply() and reapply(), instead of relying it being set as a member of
the RemoteViews class. This is much cleaner and more explicitly about
setting that for the click callbacks.

Bug: 6756472
Change-Id: I8d029c3836501df3206c433838124b4be3890a8b
aseStatusBar.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
aseStatusBar.java
hone/PhoneStatusBar.java
ablet/TabletStatusBar.java
5d77bd93b6963e47c5b76d412e7dc3ae0073a9ad 28-Jun-2012 Chris Wren <cwren@android.com> am 29a5e4a3: am 2761ccd4: Merge "Retain expanded state across more than one violent update." into jb-dev

* commit '29a5e4a3831e5bd38552fae33801fe25f4042591':
Retain expanded state across more than one violent update.
2761ccd4799971b7ad696f6f94036ca16113c78d 28-Jun-2012 Chris Wren <cwren@android.com> Merge "Retain expanded state across more than one violent update." into jb-dev
5ae1ea8400d576b90f0ef02b2f10201d74729be6 28-Jun-2012 Chris Wren <cwren@android.com> Retain expanded state across more than one violent update.

Bug: 6680363
Change-Id: Iebf2387fc5c8774c1c001dde5a4608d4e60720aa
aseStatusBar.java
otificationData.java
caa24911393c97d6c84ef709520a42c0b817b360 28-Jun-2012 Daniel Sandler <dsandler@android.com> am 51f755ab: am 9a8a28aa: Merge "Fix #6750492: NPE in tablet status bar" into jb-dev

* commit '51f755abfd31e8a41d6121cbeaa7a0727f0ea0ad':
Fix #6750492: NPE in tablet status bar
9a8a28aa72b9a4ebeaff3b30c497ce9bb5046083 28-Jun-2012 Daniel Sandler <dsandler@android.com> Merge "Fix #6750492: NPE in tablet status bar" into jb-dev
15986c66cb04608f21f70ccd6e9d0bfc390f55c7 28-Jun-2012 Daniel Sandler <dsandler@android.com> Fix #6750492: NPE in tablet status bar

Pull down a bugfix from BaseStatusBar.

Bug: 6750492
Change-Id: I9bd04e3a800d4dd2222844d2848208d611b60fe0
ablet/TabletStatusBar.java
4aa86813d1bfd56cbd0901a746799bf40e3ab96e 28-Jun-2012 Chris Wren <cwren@android.com> am a9ee110c: am 89304586: Merge "Retain expanded state across violent updates." into jb-dev

* commit 'a9ee110cd955a57ecec725f1357711876a418d2c':
Retain expanded state across violent updates.
8930458639527448429362255af96e94f5aba5ed 28-Jun-2012 Chris Wren <cwren@android.com> Merge "Retain expanded state across violent updates." into jb-dev
c9433ecb51772cc41394cbb1a05e8e25a382dbeb 27-Jun-2012 Chris Wren <cwren@android.com> Retain expanded state across violent updates.

Bug: 6680363
Change-Id: I81e3b3a4e15b4ed240af62ad1023d4bbd9aaa646
aseStatusBar.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
aseStatusBar.java
elegateViewHelper.java
hone/PhoneStatusBar.java
ablet/TabletStatusBar.java
a4b7f2f75e7803193429ec1179fb5e2eb1c6fbda 21-May-2012 Dianne Hackborn <hackbod@google.com> Use two fingers to work some magic...

Change-Id: Ibcb3dbd3d158c22da8277e544d81fb47eadccd49
hone/PhoneStatusBar.java
hone/PhoneStatusBarView.java
hone/StatusBarWindowView.java
e6c2d62efb65fa7b4681d29ad0710df56bf9002b 26-Jun-2012 Dianne Hackborn <hackbod@google.com> am 9906e784: am 17990395: Merge "Fix issue #6717667: expanded notification actions don\'t work on the lock screen" into jb-dev

* commit '9906e784faca2cc8388a04fdc544722ea93d51be':
Fix issue #6717667: expanded notification actions don't work on the lock screen
17990395bc62f8ce1bae4f1880899f231a8e613b 26-Jun-2012 Dianne Hackborn <hackbod@google.com> Merge "Fix issue #6717667: expanded notification actions don't work on the lock screen" into jb-dev
9ac704fe1c7f3d6aa02ca85927b26bfdc4fd004d 26-Jun-2012 John Spurlock <jspurlock@google.com> am 4415838b: am b032f9fc: Merge "TabletStatusBar: Hide notifications during Setup Wizard" into jb-dev

* commit '4415838b4b7014cee4a4bd1bfaeafa39d177a503':
TabletStatusBar: Hide notifications during Setup Wizard
1927ae8a56a010919a7535231fa0f7db70f7e152 23-Jun-2012 Dianne Hackborn <hackbod@google.com> Fix issue #6717667: expanded notification actions don't work on the lock screen

FLAG_ACTIVITY_CLOSE_SYSTEM_DIALOGS was a mistake.

Instead, and the infrastructure for the status bar to take care
of closing and hiding things itself when you press these buttons,
just like it does for the main Intent of the notification.

Bug: 6717667
Change-Id: I1b22186e0cedc05f46a1a3ec78053a72afaf61b1
aseStatusBar.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
aseStatusBar.java
hone/PhoneStatusBar.java
ablet/NotificationPanel.java
ablet/NotificationPanelTitle.java
ablet/TabletStatusBar.java
ef46aa157be555349ae3762db7953a3ae48087f8 22-Jun-2012 Chris Wren <cwren@android.com> am 70a7be07: am ed5cc0e1: revert I057b7ac0 now that the layouts are the expected height.

* commit '70a7be0799bd1af77c0bcf2472d9c7e46f53c3c1':
revert I057b7ac0 now that the layouts are the expected height.
ed5cc0e1f7648962f5c93e1277d282be75bcd537 21-Jun-2012 Chris Wren <cwren@android.com> revert I057b7ac0 now that the layouts are the expected height.

Bug: 6546766
Change-Id: I736290b897b864228ecc3e46d86ef566efda1efd
aseStatusBar.java
3c148f106f6625ce247a2c7211682c3a1df89bc9 19-Jun-2012 Chris Wren <cwren@android.com> One-finger notificaiton open: pop the next item too.

Bug: 6538918
Change-Id: I957b6d50220c57b588b43825767f24ecee862754
olicy/NotificationRowLayout.java
b4e2c48b4d75e7d68209412152011441fb6deda3 15-Jun-2012 Chris Wren <cwren@android.com> open notifications near the top with a single finger.

Bug: 6538918
Change-Id: I824937e9acd8f20449c31f8d83dbd90ecbb75ef0
hone/StatusBarWindowView.java
9345b12b6572d3c2211c0b856bd90034be92bc0a 16-Jun-2012 Christian Robertson <robertsonc@google.com> Increasing brightness for notification icons and navigation bar icons
Bug: 6612414

Change-Id: I5ab60f60f5bf502b3b15c30207047285db611ae3
olicy/KeyButtonView.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
hone/PhoneStatusBar.java
olicy/NetworkController.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
hone/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
hone/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
hone/NavigationBarView.java
hone/PhoneStatusBar.java
a54c01eccbb9256fd7bcecf7b2f398a7e2ef0041 14-Jun-2012 Chris Wren <cwren@android.com> Merge "Invert the sense of the two-figner direction on tablets." into jb-dev
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
hone/PhoneStatusBar.java
4d12ec42bbd52c1127808d3b8d38bf0a1cdbb0ae 13-Jun-2012 Chris Wren <cwren@android.com> remove obsolete notificaiton pane visibility code.

Bug: 6647263
Change-Id: I634f17c608effe215b9ec4241355fd7cc8860d8e
ablet/NotificationPanel.java
955a016922ea49f154d190b054a202559b41a4d3 12-Jun-2012 Jim Miller <jaggies@google.com> Fix 6613962: Update keyguard to use new GlowPadView UX design.

Change-Id: I4f1ef3107e5550f7df9dcb412943a84b66432b7d
ablet/TabletStatusBar.java
9b2cd15f0fed990f532f35590c2a2896b90dc7fc 11-Jun-2012 Chris Wren <cwren@android.com> Invert the sense of the two-figner direction on tablets.

Bug: 6506376
Change-Id: Ife336c6695608f14554e18e32ea35f118d7f12e2
hone/StatusBarWindowView.java
ablet/NotificationPanel.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
hone/PhoneStatusBar.java
64dbcd64be34f83e51229891da865ca047b4f5f4 12-Jun-2012 Michael Jurka <mikejurka@google.com> Merge "Tweak recents out animation a bit more" into jb-dev
c016aaaa42f2d7f758bb6d973f035285e3d3dd87 06-Jun-2012 Michael Jurka <mikejurka@google.com> Tweak recents out animation a bit more

Bug: 6490204

-Fading to black in the recents layer
-Tweaking duration and interpolators
-Removing some unnecessary debug exceptions (Bug: 6642072)

Change-Id: Iba18fade7f874078111fc1d79a81830ee07617d4
aseStatusBar.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
hone/CarrierLabel.java
hone/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
hone/PhoneStatusBar.java
olicy/NotificationRowLayout.java
1e8f65d9895d1be27d6e537eb2fce7ea0dd41666 07-Jun-2012 Chris Wren <cwren@android.com> apply Jellybean styling to tablet system bar and panel

Bug: 6546070
Change-Id: I933883857747931388026e0beefcf092a00d531a
ablet/HoloClock.java
ablet/NotificationPanel.java
ablet/NotificationPanelTitle.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
hone/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
hone/PhoneStatusBar.java
olicy/NetworkController.java
olicy/NotificationRowLayout.java
olicy/OnSizeChangedListener.java
0901fda2fe59715e9522a7a190ed260b435fea24 23-May-2012 Romain Guy <romainguy@google.com> Enable HW accelerated window shade for all devices

Change-Id: I78ca9a192ae97e3160d3cf17a61856f60c64807c
hone/PhoneStatusBar.java
615fd3dff2e369d8b786abcfe41b6da988e41001 06-Jun-2012 Jeff Brown <jeffbrown@google.com> Merge "Implement new rotation policy." into jb-dev
207673cdbb536b9bdd9ff7f9ce953c5485d11f5a 06-Jun-2012 Jeff Brown <jeffbrown@google.com> Implement new rotation policy.

Rotation lock does not override NOSENSOR mode anymore.

Centralize the rotation policy settings into a new class shared by
the System UI and Settings applications.

Add a new setting to specify whether rotation-lock is being hidden
because the "auto-rotate screen" option has been toggled in the
Accessibility settings panel.

Bug: 6523269
Change-Id: I15173280d25bc5d101e89a9c65913aefc53fc33a
otationToggle.java
olicy/AutoRotateController.java
ablet/SettingsView.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
hone/PhoneStatusBar.java
f3abbad5a72171a796c7200600383940c882285a 04-Jun-2012 Michael Jurka <mikejurka@google.com> Change Recents background to solid color on sw600dp devices

Bug: 6572502
hone/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
aseStatusBar.java
hone/PhoneStatusBar.java
79f7381f8b4e9a462d012740c2a902ae3de8a6b0 01-Jun-2012 Raph Levien <raph@google.com> Merge "Fix bug 6596440: NPE when pulling down notification window" into jb-dev
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
hone/PhoneStatusBar.java
ef3a8021e412b33db817789a9c1869022b5c901b 01-Jun-2012 Andrew Flynn <flynn@google.com> Merge "Refresh signal cluster for airplane switch." into jb-dev
0fa9d2d03f2825e22408cda65a9bbb88a43d9a31 01-Jun-2012 Andrew Flynn <flynn@google.com> Refresh signal cluster for airplane switch.

This fixes a bug where if Airplane mode on/off is the only icon
that is changing in the signal cluster (for example, someone on
a wifi-only device has wifi turned on in airplane mode, so wifi
icon is not changing), this will refresh the signal cluster.

Bug: 6531918
Change-Id: I7a440b84c9dfa0b300b81d14426b99fd48fad06c
olicy/NetworkController.java
b490c3e64d4671133eb5e2c7a263f38879ef0ce3 31-May-2012 Jim Miller <jaggies@google.com> Fix 6583164: Make navbar slippery when shade is open

Change-Id: Ie7bc726dd292b8b363c155492fb620e49a123f05
hone/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
aseStatusBar.java
ommandQueue.java
hone/PhoneStatusBar.java
ablet/TabletStatusBar.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
hone/PhoneStatusBar.java
ablet/TabletStatusBar.java
15332efd2c4dd9b96368a58216e13d083638dbae 29-May-2012 Andrew Flynn <flynn@google.com> Merge "Set phone/data signal icon ids to 0 in airplane mode" into jb-dev
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
hone/PhoneStatusBar.java
ablet/TabletStatusBar.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
hone/PhoneStatusBar.java
bc1387b11c530a751c1c6075d16cac2e48a4b932 25-May-2012 Romain Guy <romainguy@google.com> Merge "Tale of status bar on crespo, part 2 Bug #6541079" into jb-dev
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
hone/PhoneStatusBar.java
53210964673640166c8824c580344b06e8f8e28c 25-May-2012 Romain Guy <romainguy@google.com> Merge "Tale of status bar on crespo, part 1 Bug #6541079" into jb-dev
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
hone/PhoneStatusBar.java
73bde11e624c44620819e9c93a61ca6be6e96997 25-May-2012 Jim Miller <jaggies@google.com> Merge "Fix 6547012: ignore events outside the home/back/recent navigation area" into jb-dev
960892c0afa7f2b91236928e29e3987ed35b2077 24-May-2012 Jim Miller <jaggies@google.com> Fix 6547012: ignore events outside the home/back/recent navigation area

This fixes the search panel to only show if touch events originate
in the home/back/recent area.

Change-Id: I370da8b5c5613b7bbab5d266ba51a61df8f3a57b
elegateViewHelper.java
hone/NavigationBarView.java
ablet/TabletStatusBarView.java
c325cba2e84f6fdd5d936baca534449e9ba5e937 24-May-2012 Andrew Flynn <flynn@google.com> Set phone/data signal icon ids to 0 in airplane mode

Sets the views to be GONE and also triggers a view refresh for airplane mode
switching

Bug: 6531918
Change-Id: I3b544df3665c16ff11cb79c6fa882fa4314db680
olicy/NetworkController.java
638e012d2b5c2b075b48f86d08daec9b36319cfc 22-May-2012 John Spurlock <jspurlock@google.com> Merge "Status Bar: Register for rotation lock status updates." into jb-dev
781f0f491a968b59a146b6159de6a9b265e219f1 22-May-2012 John Spurlock <jspurlock@google.com> Status Bar: Register for rotation lock status updates.

Updating the rotation lock status in Settings is now instantly
reflected in the status bar icon.

Bug: 6481542
Change-Id: Ic592119f63306c97a961038a82526b339d063f66
olicy/AutoRotateController.java
ablet/SettingsView.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
hone/PhoneStatusBar.java
ablet/TabletStatusBar.java
161538985ee51e109f64af9a332d396bbffd7e2c 18-May-2012 Jim Miller <jaggies@google.com> Fix 6441282: confine search gesture region on tablet navbar

Depending on the device, this will be one of the id's in the navbar
view hierarchy used in the source. It will default to the navbar
view if one isn't found.

Change-Id: I388412d4f247f7d2d102768708237711d722de3d
elegateViewHelper.java
ablet/TabletStatusBarView.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
hone/PhoneStatusBar.java
d4b7e92744bfca1432b9ade74b718936757fcade 17-May-2012 Daniel Sandler <dsandler@android.com> New null (disconnected) RSSI for wifi and mobile.

On wifi-only devices we now show the null wifi RSSI if wifi
is enabled but not connected.

Bug: 6449811
Change-Id: Ib0cb11bcbef86d44ec633690806cff38796ffc3e
olicy/NetworkController.java
614349d74ee2141006fcd87fb8a16b92619c8d48 17-May-2012 Daniel Sandler <dsandler@android.com> Merge "Status Bar: Include wifi/mobile state in touch exploration" into jb-dev
6a16098437665c3aab3e9980359e140b8a47858b 17-May-2012 Daniel Sandler <dsandler@android.com> Merge changes I3b129e4b,I489718a8 into jb-dev

* changes:
Black out the status bar when the shade comes down.
Punch up the date contrast.
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
hone/PhoneStatusBar.java
2f7dfa7afdaada78c46bd6fd7e307656ba3dd66a 17-May-2012 John Spurlock <jspurlock@google.com> Status Bar: Include wifi/mobile state in touch exploration

Bug: 5325056
Change-Id: Iefbd734344d3b70d3e0ebf6f0dffa55d89a054c7
ignalClusterView.java
12e0c5ac1b837d85c78221108b0d70417199bbbb 17-May-2012 Jim Miller <jaggies@google.com> Fix 6504124: Disable assist when ACTION_ASSIST is not available

Change-Id: I2218afa7954961309d8cf2f2be0aff10826b9243
elegateViewHelper.java
a25c198ee29182ecda4010a1aaf7b91a564c08e0 16-May-2012 Daniel Sandler <dsandler@android.com> Merge "Properly center and scale the navkey glow." into jb-dev
5de6e94e36e2adbdd4ebfb5c1903c23c9ea3c388 16-May-2012 Chris Wren <cwren@android.com> Allow pinch gestures to spill over into the shade header.

Bug: 6430396
Change-Id: I62c242f11f47c5e6fff25c31716465b3e777d4ab
hone/PhoneStatusBar.java
hone/StatusBarWindowView.java
olicy/NotificationRowLayout.java
3fd0e1a219e42db90b34b3512a6984d7dd2ebe2c 16-May-2012 Daniel Sandler <dsandler@android.com> Properly center and scale the navkey glow.

The overall scale of the glow is currently based on the
height of the navigation bar. That is, the glow asset will
be scaled so its height fits perfectly in the bar when at
rest (i.e. not enlarged by active touch).

Bug: 6399510
Change-Id: I95139787a435bcf69d5fda0003c84e4fe55c330d
olicy/KeyButtonView.java
e2c6d77c5fe8aabf6617c8cec0e8fcd53f12ab69 16-May-2012 Daniel Sandler <dsandler@android.com> Merge "Fix 1U notifications." into jb-dev
70334ac231c7b4bbb57d430377acec4d4c3b2561 16-May-2012 Daniel Sandler <dsandler@android.com> Merge changes If0b865ac,Ie0c61300 into jb-dev

* changes:
Move BigPicture's header to the top of its large view.
Action button improvements:
030243a0832b632c5e63995f655f385bdf51f504 16-May-2012 Daniel Sandler <dsandler@android.com> Fix 1U notifications.

Bug: 6502730
Change-Id: I057b7ac038354c68e45b0a85c44511b2af16b9ab
aseStatusBar.java
8680bf865a08f876fc3986c50a193e3186ff6f02 15-May-2012 Daniel Sandler <dsandler@android.com> Action button improvements:

- Horizontal layout
- At most 2 are shown
- Tombstones are now shown (if the intent is null, the
button is disabled; use it for quick feedback of an
action's effect)

Bug: 6418617 (tombstones)
Bug: 6482237 (action separators)
Change-Id: Ie0c613006227bbfe1c0ec6eab1cda4f3782a05f2
aseStatusBar.java
ae14715284837aebe179f790e0456d2bdb367583 16-May-2012 Daniel Sandler <dsandler@android.com> Merge "Prevent IME from being closed by the notification panel." into jb-dev
4391b0bc6949365e5ed26990a1f206bfbae31015 10-May-2012 Daniel Sandler <dsandler@android.com> Prevent IME from being closed by the notification panel.

Bug: 6450921
Change-Id: I124c3776728456fdd71e57cfcf898b11a8dfc7ec
hone/PhoneStatusBar.java
66757217a6d8e6a156d15be55bf77940e2e6194b 14-May-2012 Chris Wren <cwren@android.com> Create separate dimensions for the notificaitons and notification rows.
Use notification heights on layouts internal to the notificaitons.
Use row heights where padding needs to be protected, on row layout decisions.
Clean up values-xhdpi/dimens.xml since there is no longer a values-hdpi/dimens.xml.

Bug: 6475098
Bug: 6489095
Change-Id: I44750574c6e23336585a432a38c5f1ba183b6cbc
aseStatusBar.java
olicy/NotificationRowLayout.java
e9e3772534f6410005ae3a61c415e71ac093e732 11-May-2012 Chris Wren <cwren@android.com> Update both views for rich notifications.

Bug: 6475141
Change-Id: I24a87285e6385673c4a08cfa66b211228982a62e
aseStatusBar.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
aseStatusBar.java
elegateViewHelper.java
hone/PhoneStatusBar.java
ablet/TabletStatusBar.java
56a5783c02c17e7353ee342fa24f04bec7bb545b 14-May-2012 Michael Jurka <mikejurka@google.com> Hide notification panel when launching recent apps

Bug: 6484280
Change-Id: Ib97af40979ccdd98aa2b8af6c1488b33b34bdf2b
aseStatusBar.java
hone/PhoneStatusBar.java
ablet/TabletStatusBar.java
76e07e7767098a885365e4ae8c8bb51f6a8c3b09 12-May-2012 Jim Miller <jaggies@google.com> Merge "Fix 6474712: Disable the google gesture on prime while notifications are open" into jb-dev
670d9dd2d04c2146d00b697f7f0faea258297a81 12-May-2012 Jim Miller <jaggies@google.com> Fix 6474712: Disable the google gesture on prime while notifications are open

Change-Id: I7c40e7bf4859d60c54c186fc49b670397a4ea723
aseStatusBar.java
elegateViewHelper.java
hone/PhoneStatusBar.java
ablet/TabletStatusBar.java
7304c343821309dd15f769b18f1de2fa43751573 12-May-2012 Jeff Brown <jeffbrown@google.com> Move power HAL interactions to PowerManagerService.

This refactoring sets the stage for a follow-on change that
will make use additional functions of the power HAL.

Moved functionality from android.os.Power into PowerManagerService.
None of these functions make sense being called outside of the
system server. Moving them to the PowerManagerService makes it
easier to ensure that the power HAL is initialized exactly once.

Similarly, moved ShutdownThread out of the policy package and into
the services package where it can tie into the PowerManagerService
as needed.

Bug: 6435382
Change-Id: I958241bb124fb4410d96f5d5eb00ed68d60b29e5
olicy/BrightnessController.java
b23341e4c55667de6408f64206cb44c174d36121 11-May-2012 Andrew Flynn <flynn@google.com> Merge "Move airplane icon to its own view" into jb-dev
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
aseStatusBar.java
otificationData.java
hone/PhoneStatusBar.java
olicy/NotificationRowLayout.java
ablet/TabletStatusBar.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
aseStatusBar.java
hone/PhoneStatusBar.java
hone/PhoneStatusBarView.java
ablet/TabletStatusBar.java
e95658c98e4154a2daf0ed70d15d24f8bf3153f0 10-May-2012 Daniel Sandler <dsandler@android.com> New backgrounds for notifications.

Note that PRIORITY_MIN notifications have a special
background treatment.

Bug: 6418617
Change-Id: I5f96330fcc53ac39e80a025baa0c134bd1e971b8
aseStatusBar.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
hone/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
hone/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
hone/PhoneStatusBar.java
ad0b0060ba952eb9f852a2c487e21c5734452d19 09-May-2012 Romain Guy <romainguy@google.com> Merge "Make window shade fast on non-high end gfx displays" into jb-dev
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
hone/PhoneStatusBar.java
ablet/TabletStatusBar.java
328b35827e6ce7eba844e338e59427c8cae7b681 09-May-2012 Romain Guy <romainguy@google.com> Make window shade fast on non-high end gfx displays

Change-Id: I64a4861845978f9209c2b7d24c40c65ce7483dcb
hone/PhoneStatusBar.java
bffc3d1bd33eb2d8e00a9f8b6261d815db503311 08-May-2012 Eric Laurent <elaurent@google.com> Silent and Vibrate mode clean up

Clean up related to new Vibration policy.
The vibrate behavior is now only derived from:
- presence of a vibrator on the device
- current ringer mode selected: NORMAL, VIBRATE or SILENT
If no vibrator is present the ringer mode can only be NORMAL or SILENT.

The control of ringer mode via volume keys when volume keys control the "master"
stream type (RING on phones, MUSIC on tablets) is as follows:
If a vibrator is present:
VOL- and volume equals 1: NORMAL => VIBRATE
VOL- and volume equals 0 and not continuous press: VIBRATE => SILENT
VOL+ and in SILENT mode: SILENT => VIBRATE
VOL+ and in VIBRATE mode: VIBRATE => NORMAL, volume = 1
If no vibrator is present:
VOL- and volume equals 0 and not continuous press: NORMAL => SILENT
VOL+ and in SILENT mode: SILENT => NORMAL, volume = 0

VIBRATE_ON and VIBRATE_IN_SILENT settings are not stored/retreived any more.

AudioService checks and corrects ringer mode and stream volumes if necessary when reading from
DB at boot time.

Also:
Added dump for stream volumes in AudioService.
Added device names missing in AudioSystem for USB accessory and USB device.

Issue: 6036529
Issue: 6414950
Issue: 6448163

Change-Id: I77fb821ec63e4e566320cac2701b4ac466e86aef
hone/PhoneStatusBarPolicy.java
olicy/VolumeController.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
otationToggle.java
hone/PhoneStatusBar.java
908c7dcf8292aae1067a946f12af88a9677a1878 07-May-2012 Daniel Sandler <dsandler@android.com> Merge "Restore do-not-disturb mode on tablets." into jb-dev
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
elegateViewHelper.java
hone/PhoneStatusBar.java
ablet/TabletStatusBar.java
0799440ab3ce50ffa6acb762cb7677abdffb3f74 02-May-2012 Jim Miller <jaggies@google.com> Fix 6414061: Add new ACTION_ASSIST intent.

Change-Id: I3d334f67723ac89f6001267e0f06ad76190b929f
aseStatusBar.java
d2217f0c32da29cb10d11f497660d525120feb67 04-May-2012 Daniel Sandler <dsandler@android.com> Restore do-not-disturb mode on tablets.

Bug: 6195112
Change-Id: Iecb850942df43fb8861cbbf2e2343c2aabfc4263
ablet/TabletStatusBar.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
aseStatusBar.java
hone/PhoneStatusBar.java
olicy/NotificationRowLayout.java
061d43c2386dd8222448bb1bec017bf9a2367a4e 04-May-2012 Andrew Flynn <flynn@google.com> Move airplane icon to its own view

Change-Id: I59b9895fe8092d122fd22aa6171ac41ddbf667eb
ignalClusterView.java
olicy/NetworkController.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
hone/PhoneStatusBar.java
hone/PhoneStatusBarView.java
hone/StatusBarWindowView.java
6098c1f44b0f2010053f9ebb6d36e01830784fc5 04-May-2012 Jeff Brown <jeffbrown@google.com> Fix status bar animation jank on last frame.

Change-Id: Idd99f37c76038de1c02a8297c6454c357a846294
hone/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
hone/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
hone/PhoneStatusBar.java
ablet/TabletStatusBar.java
c5d76e041ab45c97d74fe93cb52e7fbc912b3ef6 03-May-2012 Daniel Sandler <dsandler@android.com> Merge "Move bar panels above the system bar window layer." into jb-dev
4ce64fb3644546eadfca12c01e4b174384a9de23 03-May-2012 Daniel Sandler <dsandler@android.com> Move bar panels above the system bar window layer.

We use the new TYPE_NAVIGATION_BAR_PANEL for this instead of
TYPE_STATUS_BAR_PANEL (which is indeed above the status bar,
but far below the navigation bar, which is the window type
used for the system bar now.)

Bug: 6319161 (ticker underneath system bar)
Bug: 6437342 (missing clear all button on system bar)
Change-Id: Ib58c0003c4c81db64edca2c1bbc2d764c3237ed0
ablet/TabletStatusBar.java
ablet/TabletTicker.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
hone/PhoneStatusBar.java
af232ed38abdfa055b80585d646e63480e392a1a 01-May-2012 Jeff Sharkey <jsharkey@android.com> Avoid showing popup when View detatched.

Bug: 6388558
Change-Id: I12cfde91b142916ce137ebd4e96107a12ad2b4b7
aseStatusBar.java
c40db82a121936a4bab1ec0803efe4d42910e3a5 30-Apr-2012 Daniel Sandler <dsandler@android.com> Fix build

Change-Id: Ic4b76ffd9696998b63e2d7f4891cd721f95037ea
hone/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
hone/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
hone/PhoneStatusBar.java
e03bc95f06d1eee723695d14d8d884317a04bb5a 27-Apr-2012 Daniel Sandler <dsandler@android.com> The tiny-back-button bug found its way back in!

(Horizontal nav bars in landscape are not "vertical"; look
at the view bounds to determine verticality instead of
merely considering the device rotation.)

Bug: 5993561
Change-Id: I70a691f68db1c6417ea2af6f3bb018f99bcabda0
hone/NavigationBarView.java
635fb490c5b26c86a806b40f562288299ed92594 27-Apr-2012 Daniel Sandler <dsandler@android.com> Propagate change Id1393cef to tablet UI.

Bug: 5854958
Change-Id: I5c9976307ab13398ad2533a57f45d647040c3d4a
ablet/TabletStatusBar.java
2c9ae7538819b77c8814217b93a6ef0bf417854a 27-Apr-2012 Daniel Sandler <dsandler@android.com> Finally, fix the teensy back button in landscape.

Bug: 5993561 (and friends)
Change-Id: I0ccde54ea145e945f1a02d0480585c32cd129911
hone/NavigationBarView.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
hone/NavigationBarView.java
hone/PhoneStatusBar.java
321452da28548e1cf566fa88bbe5f0faf0f74cb7 24-Apr-2012 Chris Wren <cwren@android.com> Set row height to the row height not the notification height.

Bug: 6376501
Change-Id: I41567b11fcb1d39bc75ef782faa8287bbb1e4ca8
aseStatusBar.java
3b291870d3c78cea6ca514949591ccc32f00554e 25-Apr-2012 Jim Miller <jaggies@google.com> Fix 6299832: Improvements to navbar's "swipe to search"

This uses the new global search intent provided by SearchManager.

It also fixes the layout on tablets.

Change-Id: I9dd97785a454a4793aed7da1f5e260377f648354
aseStatusBar.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
aseStatusBar.java
ommandQueue.java
elegateViewHelper.java
hone/NavigationBarView.java
hone/PhoneStatusBar.java
ablet/TabletStatusBar.java
ablet/TabletStatusBarView.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
aseStatusBar.java
hone/NavigationBarView.java
hone/PhoneStatusBar.java
ablet/InputMethodsPanel.java
ablet/NotificationPanel.java
ablet/TabletStatusBar.java
ablet/TabletTicker.java
80a76276dc9440ffad30dc4c820eb7d65f4df368 18-Apr-2012 Chris Wren <cwren@android.com> Add visual feedback for notification expandability.

Change-Id: I0b82a465a126a6d0ec6cf6af87dc56817765b995
aseStatusBar.java
olicy/NotificationRowLayout.java
d84e5937468f6ebf2313ccd5ae54d5405f5e9cde 19-Apr-2012 Chris Wren <cwren@android.com> fix press feedback on notification rows

Change-Id: I50de2f4d6142c2553428abc853c820f4354d0640
Bug: 6362246
aseStatusBar.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
hone/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
aseStatusBar.java
hone/PhoneStatusBar.java
olicy/NotificationRowLayout.java
ablet/TabletStatusBar.java
3dfc82b5677a77e805511c263197c95c52a1665e 19-Apr-2012 Daniel Sandler <dsandler@android.com> Merge "Expand too-small notifications to fill 64dp."
bc5559f1922d72715940f754faffc82da4100eab 19-Apr-2012 Daniel Sandler <dsandler@android.com> Expand too-small notifications to fill 64dp.

Also fix NotificationTestList so it runs again.

Change-Id: I2fb28cd9cfad25a7a1b17ccef9ccd741c3aa99b0
aseStatusBar.java
6b31880838196806dff991551f197684b5809d8b 13-Apr-2012 Daniel Sandler <dsandler@android.com> Remove intruder alert APIs from JB.

Change-Id: I27042d604fbe15879e7b7aaaac860db2d1efa47f
hone/PhoneStatusBar.java
6a858c347f4d4e5db4c8f00d5e285967631b71ca 12-Mar-2012 Daniel Sandler <dsandler@android.com> Gestures for expanding notifications.

Change-Id: I104c157ffcc2d60b3f0a95c59d4322b07103b69f
aseStatusBar.java
otificationData.java
hone/PhoneStatusBar.java
olicy/NotificationRowLayout.java
ablet/TabletStatusBar.java
8d33d39d68d46af758143a56c89322360cbbada2 11-Apr-2012 satok <satok@google.com> Merge "Show physical keyboard control button on the input method switch dialog"
01038492ff0317f0d3cff54d8a7ee36bb31ff175 09-Apr-2012 satok <satok@google.com> Show physical keyboard control button on the input method switch dialog

Bug: 5240095
Change-Id: Ica768083f95c33dc1e494a28ba7d8b6eb989b0ef
ablet/InputMethodsPanel.java
9f25b7fdf216c9ef0bd2322cd223eeaf0d60f77f 10-Apr-2012 Jeff Brown <jeffbrown@google.com> Request key maps from input manager service.

Instead of each application loading the KeyCharacterMap from
the file system, get them from the input manager service as
part of the InputDevice object.

Refactored InputManager to be a proper singleton instead of
having a bunch of static methods.

InputManager now maintains a cache of all InputDevice objects
that it has loaded. Currently we never invalidate the cache
which can cause InputDevice to return stale motion ranges if
the device is reconfigured. This will be fixed in a future change.

Added a fake InputDevice with ID -1 to represent the virtual keyboard.

Change-Id: If7a695839ad0972317a5aab89e9d1e42ace28eb7
olicy/KeyButtonView.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
hone/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
hone/PhoneStatusBar.java
ablet/TabletStatusBar.java
ac14351e16e1258f1cb54e2bf772b8be004eb2b8 06-Apr-2012 Jeff Brown <jeffbrown@google.com> Move some APIs from window manager to input manager.

Simplified input injection API down to just one call.

Removed all input state reading API. It was only used by the
window manager policy and required a permission that applications
could not obtain. READ_INPUT_STATE is now unused and deprecated.

Change-Id: I41278141586ddee9468cae0fb59ff0dced6cbc00
olicy/KeyButtonView.java
ablet/TabletStatusBar.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
hone/PhoneStatusBar.java
ablet/HeightReceiver.java
ablet/TabletStatusBar.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
aseStatusBar.java
hone/PhoneStatusBar.java
ablet/TabletStatusBar.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
aseStatusBar.java
ommandQueue.java
hone/NavigationBarView.java
hone/PhoneStatusBar.java
ablet/TabletStatusBar.java
ecc395a51053c433e359a6cfd6c23a193ee546c0 30-Mar-2012 Michael Jurka <mikejurka@google.com> Fix the build

Change-Id: Ib4ea7df5459d025903d00361eb0e9477be299c85
aseStatusBar.java
hone/PhoneStatusBar.java
ablet/TabletStatusBar.java
50c69b5d8ae4bc973e53cbe3b58b0eb0299e25c8 30-Mar-2012 Michael Jurka <mikejurka@google.com> Merge "Preload recents on phones with hard nav keys"
34461ef1961bfda11601a715944a8ff5ef5f9df4 29-Mar-2012 Daniel Sandler <dsandler@android.com> Merge "Fix NPE on tablets."
6cf14a02bf9e499a8e6fd7e1cf79b2e9d16e9811 29-Mar-2012 Daniel Sandler <dsandler@android.com> Fix NPE on tablets.

Change-Id: I2128daac06988e4bae25ec48a874901ba731ebf9
ablet/TabletStatusBar.java
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
aseStatusBar.java
ommandQueue.java
hone/PhoneStatusBar.java
ablet/TabletStatusBar.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
hone/PhoneStatusBar.java
fa7887bebf57f3dcb8283d73e69ba1daa115225f 26-Mar-2012 Daniel Sandler <dsandler@android.com> Intruder alerts with actions and swipe-to-cancel.

Change-Id: I1d8c7d32bcbf4d3910bb866431e92a8639e4e28b
aseStatusBar.java
hone/PhoneStatusBar.java
olicy/IntruderAlertView.java
c1ebee40b60472553e9678b063b32f4e80b180e8 27-Mar-2012 Daniel Sandler <dsandler@android.com> Turn off logspew.

Change-Id: I54757796de109d12649d4b0f74fbd07a6d360bf8
hone/PhoneStatusBar.java
e97a776e9cbb2a7a8d698c49c5c70f2b7cd9eb1b 20-Mar-2012 Daniel Sandler <dsandler@android.com> Make navbar deadzone silent in touch exploration.

Bug: 5827342
Change-Id: Id93ab35f488a6aa48318b0f17dc510c443800aff
olicy/DeadZone.java
336a1bc30f77479745a63838bd01a22ad026dd27 16-Mar-2012 Daniel Sandler <dsandler@android.com> Allow the quick settings panel to fully dim the display.

Bug: 5745968
Change-Id: I81bdfa0c1a53026c31bce3cdd81d4d95c94fd460
olicy/BrightnessController.java
a5d0ddba60ff9877c0251ea9cf79af82d1eeb349 10-Mar-2012 Michael Jurka <mikejurka@google.com> Fix back button state issue

Back button / down chevron button (eg when you have an IME visible)
was not getting synced on rotation changes

Bug: 6133831
Change-Id: Iefaf3babf92898fcc87a0b14c10b037de04d84e2
hone/NavigationBarView.java
c5bad6956e63eb303e2b7b61e6b33ab2bcedbef7 09-Mar-2012 Andrew Flynn <flynn@google.com> am 36fde268: am dfc87c82: Merge "Use a different width for nav icons in sw600dp-port." into ics-scoop

* commit '36fde2688bc32ddd5ed5de834a39ce3c7cd2b6cf':
Use a different width for nav icons in sw600dp-port.
1d9af30b74a8c64aefa20fa0e31561d51c37e0f5 08-Mar-2012 Andrew Flynn <flynn@google.com> Use a different width for nav icons in sw600dp-port.

Change-Id: I6c4024e9f60e14c072d7c01f29fabc89fc51dfb8
ablet/TabletStatusBar.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
hone/PhoneStatusBar.java
ablet/TabletStatusBar.java
c6d29fc0f552db7cfee6491530cf89f59c242bd4 25-Feb-2012 Daniel Sandler <dsandler@android.com> Newly reimplemented PhoneStatusBar, now with fewer windows.

Change-Id: I4eaf69a1d46f9180d6911a6559ff24d173ccb35b
aseStatusBar.java
tatusBar.java
tatusBarIconView.java
hone/ExpandedView.java
hone/PhoneStatusBar.java
hone/PhoneStatusBarView.java
hone/TrackingView.java
olicy/NotificationRowLayout.java
ablet/TabletStatusBar.java
43d8a95fa8dfd26ba8c56ac7489a8bc77c77034c 01-Mar-2012 Irfan Sheriff <isheriff@google.com> Merge "Improve Wi-Fi hand-off"
07573b32494acbabd21979d8b9584c1ed3f7a6ad 28-Jan-2012 Irfan Sheriff <isheriff@google.com> Improve Wi-Fi hand-off

When Wi-fi connects at L2 layer, the beacons reach and the device
can maintain a connection to the access point, but the application
connectivity can be flaky (due to bigger packet size exchange).

We now use Watchdog to monitor the quality of the last hop on
Wi-Fi using signal strength and ARP connectivity as indicators
to decide if the link is good enough to switch to Wi-Fi as the uplink.

ARP pings are useful for link validation but can still get through
when the application traffic fails to go through and thus not best indicator
real packet loss since they are tiny packets (28 bytes) and have
much low chance of packet corruption than the regular data
packets.

Signal strength and ARP used together ends up working well in tests.
The goal is to switch to Wi-Fi after validating ARP transfer
and RSSI and then switching out of Wi-Fi when we hit a low
signal strength threshold and waiting until the signal strength
improves and validating ARP transfer.

Change-Id: Ica593291ec7772da892f03cf45b649635b730c47
olicy/NetworkController.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
hone/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.
hone/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
hone/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
otificationData.java
hone/PhoneStatusBar.java
olicy/LocationController.java
ablet/TabletStatusBar.java
a17a7953f9385155e2d0d7b24d1395ed49147da3 14-Feb-2012 Michael Jurka <mikejurka@google.com> Merge "Making recents faster"
286b364c7b2438148fc71f3e99f2495f19f1577f 14-Feb-2012 John Wang <johnwang@google.com> am 0b17fc36: am 252c64f9: am 63b59666: Merge "Only use CDMA rssi for config_alwaysUseCdmaRssi." into ics-mr1

* commit '0b17fc360185ca7b9d05a096b0033ddd8d883940':
Only use CDMA rssi for config_alwaysUseCdmaRssi.
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
hone/PhoneStatusBar.java
d55cde1384598b31d900f804a197fa3b1467202d 14-Feb-2012 John Wang <johnwang@google.com> Only use CDMA rssi for config_alwaysUseCdmaRssi.

If config_alwaysUseCdmaRssi is true, the RSSI signal bar only
shows the CDMA value, no matter it connects to EVDO or WiMax .

bug:5941743
Change-Id: I4187571898a9fb47162e1ccf0cc4c59c3136ae0b
olicy/NetworkController.java
c33d5766610c77296a80dfdc4e302cc2ff794898 21-Oct-2011 Mike Lockwood <lockwood@android.com> SystemUI: Log an error instead of throwing an exception if navigation bar is enabled in tablet UI

Signed-off-by: Mike Lockwood <lockwood@android.com>
ablet/TabletStatusBar.java
bc92613cf79a28d46e47386a202f9f851c237263 27-Jan-2012 Kazuhiro Ondo <kazuhiro.ondo@motorola.com> Display roaming indicator icon only based on ERI in CDMA case.

Fixing CV failure. In some scenario where ERI table expects
"Roaming Indicator OFF", R icon was still displayed on
the status bar. This patch is to update the logic so that
only ERI table is used to display R icon in case of CDMA.

Bug:5932154
Change-Id: I125087cc8d700b102e05c3050d88a70485c9a86e
olicy/NetworkController.java
5e61331da59921413a8e2a144146a8451a054020 30-Jan-2012 Jeff Sharkey <jsharkey@android.com> Move away from deprecated NetworkInfo extra.

Because the NetworkInfo included in CONNECTIVITY_ACTION broadcast
extra does not reflect the state applicable to the calling UID, and
the last sticky broadcast may have stale state, transition to calling
ConnectivityManager.getActiveNetworkInfo() directly.

Change-Id: I86b316fbedd0273585ad5f1248b091bc3a3a5520
olicy/NetworkController.java
bbbf6b9c49301460a34e749d476c10834a609cf5 27-Jan-2012 Daniel Sandler <dsandler@android.com> am 70828a1d: am 5b08738a: Merge "Suppress mobile-out-of-service label if wifi connected." into ics-mr1

* commit '70828a1d40c9bf0e5066166216013093298de034':
Suppress mobile-out-of-service label if wifi connected.
62a1eb8972f6eb1133060ae96142abcd57d347dd 26-Jan-2012 Daniel Sandler <dsandler@android.com> Suppress mobile-out-of-service label if wifi connected.

Carrier name is shown if
- in service and connected to mobile data
- in service and connected to wifi

Carrier name is blanked if out of service and connected to
wifi.

"No internet connection" is shown if out of service without
any other route.

Bug: 5903914
Change-Id: I59d4d0c90e4153d73c38f7f0e150becf7e021a5b
olicy/NetworkController.java
efbf376afd9e37112dcd44c607d5e865da07eec7 25-Jan-2012 Daniel Sandler <dsandler@android.com> am 416a1c1a: am 185c0ef7: Merge "Stop showing "No internet connection" when there is one." into ics-mr1

* commit '416a1c1ada0ad553613eb439823a68d3f51b1579':
Stop showing "No internet connection" when there is one.
185c0ef7e4aaa4bb978a6eb5c93c569585a07f56 24-Jan-2012 Daniel Sandler <dsandler@android.com> Merge "Stop showing "No internet connection" when there is one." into ics-mr1
2e481b9146fe194fb1344ff8c1d1e0d499bdf06b 24-Jan-2012 Daniel Sandler <dsandler@android.com> Stop showing "No internet connection" when there is one.

In particular, even though the mobile data network isn't
routing packets (and therefore is not an internet
connection), we want to show the PLMN anyway:

[MOBILE RSSI] Carrier [WIFI RSSI] WiFi SSID

This change also improves the following cases:

- Combines "No internet connection" from wifi and mobile
into one single string in airplane mode:

[AIRPLANE] No internet connection.

- Removes "No internet connection" from the mobile string
when wifi is on in airplane mode, making a nice compact
display in this case:

[AIRPLANE] [WIFI RSSI] WiFi SSID

Bug: 5903914
Change-Id: I477821d2c5e9922252dd6bcb3ed494c8c57d99b0
olicy/NetworkController.java
6f203807e0cc9fb4fea9d56092d66d4817f39e96 24-Jan-2012 Daniel Sandler <dsandler@android.com> am 9dc211af: am a4474ae0: Merge "Detect and repair invalid layouts in the navigation bar." into ics-mr1

* commit '9dc211afbf3201a23a29cf7cd02ce575c6dbe094':
Detect and repair invalid layouts in the navigation bar.
0b69b59877896e4cab448cef9e12ff4c29a4252e 24-Jan-2012 Daniel Sandler <dsandler@android.com> Detect and repair invalid layouts in the navigation bar.

It seems that something (probably layout transitions)
occasionally leaves the navigation bar layout in a weird
state such that most of the buttons are offscreen. For
example, the portrait nav bar might have buttons with widths
matching the nav bar's old width from landscape; the
clickable regions will therefore be far off the right edge
of the display.

The navigation bar now looks for this situation when the
size of the view changes and corrects for it.

Bug: 5549288
Change-Id: I8464ac9fd64cb64ec18baf51478dd0f6564a2284
hone/NavigationBarView.java
e08c3e152085193a3a87fe8373af1149904642b8 23-Jan-2012 Daniel Sandler <dsandler@android.com> am aaa7b772: am 639ed754: Hide mobile RSSI on devices without mobile data.

* commit 'aaa7b7728f3ced062273b54e1fc3b9d7d815bdcd':
Hide mobile RSSI on devices without mobile data.
9b4b378777e00012449d904f342adc3be09437a7 23-Jan-2012 Justin Ho <justinho@google.com> am ffb0c0b3: am 70e21c92: Merge "New out-of-service RSSI." into ics-mr1

* commit 'ffb0c0b3ca2f8693a354aad17e21f1419d9f0379':
New out-of-service RSSI.
5274d6f115e8c3fda053a0fd4b4009ab15790191 23-Jan-2012 Michael Jurka <mikejurka@google.com> Merge "Improve rapid-fire presses on system bar"
e0e10b41c465a74749dcd1d05d8f4b688fcfdc3c 21-Jan-2012 Daniel Sandler <dsandler@android.com> am a64f899f: am 4d3161f3: Merge "Always show appropriate mobile service label." into ics-mr1

* commit 'a64f899fa6159a8839a769d3f107f6c502da58c8':
Always show appropriate mobile service label.
639ed754bba866d2a47ef7ca58e56806b546b149 20-Jan-2012 Daniel Sandler <dsandler@android.com> Hide mobile RSSI on devices without mobile data.

Also fixes some minor layout glitches along that row of
icons (Bluetooth vertical alignment & spacing, battery text
width, inter-icon padding).

Bug: 5895226
Change-Id: I303c2899bf21ddb7e28914d8fb36efd7090ac5e2
olicy/NetworkController.java
70e21c927afeff05d8f26e9df2f36785ca19fdfd 20-Jan-2012 Justin Ho <justinho@google.com> Merge "New out-of-service RSSI." into ics-mr1
e3b86f2137f7e98fe2ec5adf09404d0fe0d6fecc 18-Jan-2012 Daniel Sandler <dsandler@android.com> New out-of-service RSSI.

This creates (well, restores, since we had this until
Honeycomb) a user-visible state for "no service" that is
distinguishable from "very very weak service" (less than one
bar).

Bug: 5775939
Change-Id: Idd08b1a9411d5d94e4d7a97fa7f3ffd92b8113a6
olicy/NetworkController.java
32f470017246e397e2c21556b9dc04bb99e52862 19-Jan-2012 Kazuhiro Ondo <kazuhiro.ondo@motorola.com> Always show appropriate mobile service label.

Fix for Carrier Verification case failure for not showing
"no internet connection" text on expanded status bar while
mobile data connection is not CONNECTED state.

Bug:5884774
Change-Id: I433d5de626b9b0cff20d192cb6aae214f3e014b3
olicy/NetworkController.java
60bc69ef76c32b9a24c0901e6c6e452b50de0cda 16-Jan-2012 Michael Jurka <mikejurka@google.com> Improve rapid-fire presses on system bar

Canceling any existing pressed animation in system bar
before starting a new one

Change-Id: Id1b7ee56b086ac1d0444cb1263404381a6533caa
olicy/KeyButtonView.java
494a17761d524c53b26f198e59f4f82af2cf0abf 12-Jan-2012 Daniel Sandler <dsandler@android.com> am 66e66e1d: am 755a967b: Merge "Clean up wifi/mobile indicators in the expanded panel." into ics-mr1

* commit '66e66e1d70bdcf184a29bc5eb8cfdeecffdb799f':
Clean up wifi/mobile indicators in the expanded panel.
0b6586649fe827d6e7ce39fa71e93fa582640a03 12-Jan-2012 Michael Jurka <mikejurka@google.com> Speeding up System UI pressed anim

No longer saving a layer in KeyButtonView.onDraw,
which prevents a framebuffer readback on some
drivers and cuts ~3ms from render time per frame
(on some frames, up to ~10ms)

Change-Id: I5df56c20098f35c8ae6c25e76c67d81e9b72d1f7
olicy/KeyButtonView.java
5962fd5ec95249ba8354d3a533c27a012bcf22e2 11-Jan-2012 Daniel Sandler <dsandler@android.com> Clean up wifi/mobile indicators in the expanded panel.

We now have two separate RSSI icons, one for wifi and one
for mobile data, as originally proposed in bug 5544770.
Each has an accompanying label showing the appropriate
network description string (PLMN or SSID or "No internet
connection"); these will be truncated as necessary to avoid
clobbering other UI elements in the panel.

Bug: 5543495
Bug: 5621224
Change-Id: I8fc322f8471fc94000e7230de359d3f1fe561b1e
olicy/NetworkController.java
ablet/NotificationPanel.java
ablet/TabletStatusBar.java
1ba22cc33d0a87154e8ab94b8d4883e4c7083f8c 08-Dec-2011 Daniel Sandler <dsandler@android.com> am b490d8d6: am 29933fb2: Merge "Improve handling of small largeIcons in tablet ticker." into ics-mr1

* commit 'b490d8d6214114391622b4302ca2f5f39b2166c6':
Improve handling of small largeIcons in tablet ticker.
29933fb26a4294a9bd30f9227809e28949252833 08-Dec-2011 Daniel Sandler <dsandler@android.com> Merge "Improve handling of small largeIcons in tablet ticker." into ics-mr1
0a2909840fae6d16efc5f7afb313b03fd401cbd9 08-Dec-2011 Daniel Sandler <dsandler@android.com> am 940a49c8: am dc8cb9aa: Merge "Invalidate the whole status bar after layout transitions." into ics-mr1

* commit '940a49c89c0ccca8ba38028c209a4a135b23dd8f':
Invalidate the whole status bar after layout transitions.
a3850b68399ab49032e1fc2a2eab129fe3a7e69e 06-Dec-2011 Daniel Sandler <dsandler@android.com> Improve handling of small largeIcons in tablet ticker.

The tablet system bar is too short for a full notification
row, but it will show the largeIcon of a new notification in
its full frame, intruding into the main application content
rectangle a bit. This is a good thing---the notifications
really pop out at you---but it looks a little odd if the
largeIcon is actually *small*: the icon is vertically
centered in the larger (invisible) rectangle, making it look
poorly centered on the system bar.

This change will detect short largeIcons and center them in
the system bar's height instead. Additionally, it applies
the same ticker background all the way to the left
underneath largeIcons that are not full-frame (and therefore
have transparent regions).

Bug: 5708907
Bug: 5560485
Change-Id: I32af45632df164c58fb960110063dbaa08b5536c
ablet/TabletTicker.java
5a8266083252e172fe784fa0edaebe3c775cd848 07-Dec-2011 Daniel Sandler <dsandler@android.com> Invalidate the whole status bar after layout transitions.

This should ensure that the menu icon doesn't persist
on-screen even after it's been removed from its parent.
(Related to the KeyButtonView animation glow and the tricks
it plays with invalidation.)

Bug: 5647480
Change-Id: I8ca503ef647aed99335d3dbecedce38fa0b70c65
ablet/TabletStatusBar.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
ommandQueue.java
hone/NavigationBarView.java
hone/PhoneStatusBar.java
ablet/TabletStatusBar.java
ablet/TabletStatusBarView.java
17f9fe13c7c78eaab521f6f85b48b0e8f5adddbc 06-Dec-2011 Jim Miller <jaggies@google.com> Merge "Fix 5705837: Dismiss keyguard when launching Settings from Statusbar" into ics-mr1
3e7b412d7d6332830ceaf123edb5e211757c69ce 06-Dec-2011 Jesse Hall <jessehall@google.com> Merge "Fix statusbar crash on devices with no Bluetooth" into ics-mr1
f66664a50e914e1cc5d66046cfc4c5b195a09eab 06-Dec-2011 Daniel Sandler <dsandler@android.com> Merge "Fix sticky menu icon on tablet status bar." 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
hone/PhoneStatusBar.java
ablet/TabletStatusBar.java
564f16a8d71b79b5e07a597a8f188efa8d80a0ee 05-Dec-2011 Jesse Hall <jessehall@google.com> Fix statusbar crash on devices with no Bluetooth

Change-Id: Ib2290f9cde54d0d52c2692b11b0232848bbbc8b0
olicy/BluetoothController.java
4f9986e57f36df4389b9c8b16009442a6094ee0b 02-Dec-2011 Daniel Sandler <dsandler@android.com> Fix sticky menu icon on tablet status bar.

Bug: 5647480
Change-Id: Iec4b04e414e8753e6b677b9168ad16b8c3e712be
ablet/TabletStatusBar.java
5e6af448045f20f7a1b393960d200c25e9d976e8 03-Dec-2011 Jim Miller <jaggies@google.com> Fix 5705837: Dismiss keyguard when launching Settings from Statusbar

Change-Id: I81377d9208b05bb4a3c6c0b8fa751f972b9345e7
hone/PhoneStatusBar.java
488529506f2b767aec0c6e122e7227a9ebe067a2 01-Dec-2011 Daniel Sandler <dsandler@android.com> Add copious navigation bar info to SystemUI dumps.

Bug: 5549288
Change-Id: I8556584e6abd22912d55dccc27ccebb6602b1bcb
hone/NavigationBarView.java
hone/PhoneStatusBar.java
a1240184efd1d4391540a6e3e9cae50d56d05cb2 01-Dec-2011 Dianne Hackborn <hackbod@google.com> Merge "Fix issue #5433192 and maybe #5433192" into ics-mr1
e0f085d4b8f313179825f2b051cb403736a7d01a 01-Dec-2011 Dianne Hackborn <hackbod@google.com> Fix issue #5433192 and maybe #5433192

5433192: Factory reset device: compatibility screen is the first...
...screen before setup wizard

Don't show compat mode dialog if compat mode is unknown (which happens
early in boot before an activity is shown for example). Also make sure
to update status any time the current focus app token changes, so we
correctly update every time switching apps.

5651152 [Stingray] change zoom/strech setting icon won't go away

This is probably also fixed by updating when the app token changes.

Change-Id: Ibe9bd6277166230d5d96689741b78325ea099d57
olicy/CompatModeButton.java
ablet/TabletStatusBar.java
ec9cc1bcc85a06f3f767de831bb5ca50983964cc 30-Nov-2011 Jeff Sharkey <jsharkey@android.com> Avoid airplane mode labels when Wi-Fi enabled.

When refreshing network views, avoid setting airplane mode icon and
labels when connected to Wi-Fi network.

Bug: 5262367
Change-Id: Ib831ce06bab67fffcc14a8c3b1ba9e437a74761d
olicy/NetworkController.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
hone/PhoneStatusBar.java
ablet/TabletStatusBar.java
ce33622aed7fb25a14ef957cdc78b78cc4602be9 15-Nov-2011 Daniel Sandler <dsandler@android.com> Merge "Bring back the 'more notifications' icon." into ics-mr1
787e2c276a5645ffbaddc5c23f4deb66d182e80d 11-Nov-2011 Jamie Gennis <jgennis@google.com> am ca5c8813: Merge "SystemUI: Disable HW acceleration for status bar" into ics-mr0

* commit 'ca5c881374d051361eb5f9a191d51b5716ef2366':
SystemUI: Disable HW acceleration for status bar
992e77af1168ddce232b9b7702d01e5ccc7a249b 11-Nov-2011 Daniel Sandler <dsandler@android.com> Merge "Fold WiMAX state into the mobile RSSI." into ics-mr1
8b50bd8c9ba594e2516014fcc4b950b8deb36312 11-Nov-2011 Daniel Sandler <dsandler@android.com> Merge "Remove dedicated wimax icon to fix RSSI layout." 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
tatusBarIconView.java
hone/IconMerger.java
hone/PhoneStatusBar.java
0fee21703b6ae3fc0b5007210e203444359559bc 10-Nov-2011 Daniel Sandler <dsandler@android.com> Fold WiMAX state into the mobile RSSI.

WiMAX will now be shown like any other 4G network.

Bug: 5584528
Change-Id: I33ef7b34b88ca006ce77a7ff1e55b7b38648d7d8
olicy/NetworkController.java
olicy/WimaxIcons.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
hone/PhoneStatusBar.java
87abde8a529c8768f65ed7281d5e89eda170e0f6 09-Nov-2011 Jamie Gennis <jgennis@google.com> SystemUI: Disable HW acceleration for status bar

This change switches the status bar rendering to use CPU rendering to an
RGB_565 window.

Change-Id: I45c03989efc9cc9ea71ff169fafedf048de9d612
tatusBar.java
e989b32b3a8afec1146b741f7a5d79550e3768a4 09-Nov-2011 Daniel Sandler <dsandler@android.com> Use platform assets for brightness scrubber.

Bug: 5544665
Change-Id: I063f930b15668c06a30b857e477f3227d1fe526f
olicy/ToggleSlider.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
hone/PhoneStatusBar.java
olicy/AccessibilityContentDescriptions.java
olicy/NetworkController.java
olicy/WimaxIcons.java
93430b3c6d170bf1db538c21666e0b508e8e48ec 01-Nov-2011 Michael Jurka <mikejurka@google.com> Merge "Fix: never show recents over lock screen" into ics-mr1
4c7926fa27dacb92c8c7f3d57c4a3713dc0e3867 28-Oct-2011 Daniel Sandler <dsandler@android.com> Merge "Tuning parameters for mobile RSSI." into ics-mr1
b7f4327e2d0ba84f0c12fd0e6a9b9f796e6ec9ed 28-Oct-2011 Michael Jurka <mikejurka@google.com> Fix: never show recents over lock screen

Bug # 5150985

Change-Id: I0672c5e2562f1d4a7e45eba444ca186901236af3
ablet/TabletStatusBar.java
9b5ae0ce51a1835ea3881fb51eae4897210430ed 26-Aug-2011 Daniel Sandler <dsandler@android.com> Tuning parameters for mobile RSSI.

* Allow phone RSSI to be shown instead of data
* Allow "3G" to be shown for all sub-4G networks

Change-Id: I0dc61ee039d1065ad6ccd63a2b2420edc62cb62e
olicy/NetworkController.java
ae561ae62faf16ecd44b058ef966afd9b84feefe 28-Oct-2011 Daniel Sandler <dsandler@android.com> Merge "Fix initial Bluetooth icon state." into ics-mr1
81bd76e4b33ea00d30bb2b2193ca5bd0cf445546 28-Oct-2011 Peter Ng <petergng@google.com> Merge "Removing 2nd background clock font display from statusbar and lock screen" into ics-mr1
a196c688ed1c8aa92d711b53c4dabd7d1399e740 28-Oct-2011 Justin Ho <justinho@google.com> am 9e7407ed: Merge "Increase navigation icon brightness by 10%" into ics-mr0

* commit '9e7407ed2b18800291612fb9fb355ef062801f07':
Increase navigation icon brightness by 10%
d939dd2eaacbe898dc82170a4b41a7248fe182e6 28-Oct-2011 Daniel Sandler <dsandler@android.com> Merge "Fix race condition in status bar init code." into ics-mr1
ccff48b7cb4a1dd81ee90fb31d4dedf5dc71b8d0 24-Oct-2011 Jim Miller <jaggies@google.com> Removing 2nd background clock font display from statusbar and lock screen

Change-Id: If9edfed231cde6590b28fc2115d78bc97b74ae4e
ablet/HoloClock.java
bceff71b9231643090d0dad6e3f1e1aac6fda1a2 27-Oct-2011 Justin Ho <justinho@google.com> Increase navigation icon brightness by 10%

Still increase to 1.0 when pressed

Bug: 5509557
Change-Id: I21e5430241f47f3ac8cec2b1f67973c42d23c207
olicy/KeyButtonView.java
c4f09e03099cddc57aa5b777921182ab1d13ae8a 27-Oct-2011 Michael Jurka <mikejurka@google.com> Merge "Fix recents button on large devices (5490265)" into ics-mr1
e3b7a2d13e46fe5e2faa4ec13bfff9e1f02b4145 27-Oct-2011 Daniel Sandler <dsandler@android.com> Fix initial Bluetooth icon state.

Bug: 5206026
Change-Id: I17cd7ec00fefc0598673b885331c03ebbdf1bc39
hone/PhoneStatusBarPolicy.java
5571ab2d47c434abf57621d7502fcf4850bb477e 27-Oct-2011 Michael Jurka <mikejurka@google.com> Fix recents button on large devices (5490265)

- Also, delay preloading recents so that we get haptic feedback immediately (5507038)

Change-Id: I8a22ad719493bd9cfec0ef56d09949b164c1451b
ablet/TabletStatusBar.java
0f167d75667e1e4f731c2ab1166d345572a4ef46 27-Oct-2011 Daniel Sandler <dsandler@android.com> Restore bluetooth icons on tablets.

- status bar
- notification panel header area

Bug: 5385369
Change-Id: I382b9e4fbd3dd440919484c70d50b00ce85a8fa1
olicy/BluetoothController.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
hone/PhoneStatusBar.java
0d6ff01050af1bc37ee383c9c7ed1b3a3aa775bf 20-Oct-2011 Daniel Sandler <dsandler@android.com> Tune wifi RSSI code (see bug 5241139).

Bug: 5241139
Change-Id: I3fef432c39f1b33532e48b643bd9268d3df0f864
olicy/NetworkController.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
hone/PhoneStatusBar.java
ablet/TabletStatusBar.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
hone/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
hone/PhoneStatusBar.java
ablet/TabletStatusBar.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
hone/PhoneStatusBar.java
olicy/NotificationRowLayout.java
61e980d6187aa052e92387d7b12b3179a9427db4 17-Oct-2011 Daniel Sandler <dsandler@android.com> Merge "Turn off chatty logging." into ics-mr0
49a98c8f64d16eab3f2de48a04ac2a9e986abb76 17-Oct-2011 Winson Chung <winsonc@google.com> Merge "Showing notifications after taking a screenshot (Bug: 5333706)" 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
hone/PhoneStatusBar.java
olicy/NetworkController.java
645e0990552fc671ac3e5daa345ec11404962d28 13-Oct-2011 Daniel Sandler <dsandler@android.com> Shrink the ticker's icon to match the status bar.

Bug: 5108533
Change-Id: Iff28aaefe068feb50a636fc1456c5a31d7bdb46e
hone/Ticker.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
tatusBar.java
hone/PhoneStatusBar.java
ablet/TabletStatusBar.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
hone/NavigationBarView.java
hone/PhoneStatusBar.java
ablet/TabletStatusBar.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
hone/PhoneStatusBar.java
ablet/TabletStatusBar.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
ommandQueue.java
hone/NavigationBarView.java
hone/PhoneStatusBar.java
ablet/TabletStatusBar.java
8ba33c965f940070060585e45e1c833519bb45c9 05-Oct-2011 Daniel Sandler <dsandler@android.com> Cascading clear-all in the phone notifications panel.

Bug: 5156350
Change-Id: I22c5a19b162e4aa35bf66d51cd17c1e0cd079053
hone/PhoneStatusBar.java
olicy/NotificationRowLayout.java
4dfce20cac7492882d366d053006795aefad59da 05-Oct-2011 Jeff Brown <jeffbrown@google.com> Make SENSOR orientation modes trump rotation lock.
Bug: 5371750

Change-Id: I4d18b6c8ba1de0afd5929ddb8d7123272e35fbe2
olicy/AutoRotateController.java
58d807f66a98d61c4e0e5c16d56212279e8b3c68 03-Oct-2011 Daniel Sandler <dsandler@android.com> Merge "Fix contentDescriptions in status bar."
0230f20cfa5ce55d422178989d723a7505179721 01-Oct-2011 Michael Jurka <mikejurka@google.com> Merge "Fixing accessibility support in Recent Apps"
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
hone/PhoneStatusBar.java
ablet/TabletStatusBar.java
bcf6ef0b82c1daea43e03b8ad5af319ed324242a 30-Sep-2011 Daniel Sandler <dsandler@android.com> Fix contentDescriptions in status bar.

- Strings for signal strength
- Strings for the clear-all-notifications button
- Adjust phrasing for the clear-one-notification button
- Adjust phrasing for the settings button

Bug: 5285136
Bug: 5325056
Change-Id: I489e49f3b3d88a6b599ababe68d0535302eb0ae2
ignalClusterView.java
olicy/NetworkController.java
ecc430e9f5783649d75704aa7ae90a542ee85862 30-Sep-2011 repo sync <isheriff@google.com> Fix wifi data activity icons

Bug: 5393252
Change-Id: I6ca650b4f722b2c8cc4d17b1bc6ec2f2c0b7e10d
olicy/NetworkController.java
097a35b4410b95d0bde409f7687b49fe6d705181 27-Sep-2011 Daniel Sandler <dsandler@android.com> am 25bb73eb: Merge "Remove "excessive sync" icon." into ics-factoryrom

* commit '25bb73eb1bc16921cc013b9b150c2d440d650c39':
Remove "excessive sync" icon.
25bb73eb1bc16921cc013b9b150c2d440d650c39 27-Sep-2011 Daniel Sandler <dsandler@android.com> Merge "Remove "excessive sync" icon." into ics-factoryrom
64061c38f064e89822475a152b675dea87bd9eb0 27-Sep-2011 Daniel Sandler <dsandler@android.com> am abff032e: Draw smaller system status icons without scaling.

* commit 'abff032e783398be7a1c6b7e1e25a73a8467adcf':
Draw smaller system status icons without scaling.
abff032e783398be7a1c6b7e1e25a73a8467adcf 27-Sep-2011 Daniel Sandler <dsandler@android.com> Draw smaller system status icons without scaling.

Bug: 5297795
Change-Id: I11dc3a21b2e1111963b1cd9621434747f1757a67
tatusBarIconView.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.
b1e8dab967330b34d499b83a8112cbb3015a1e53 27-Sep-2011 Daniel Sandler <dsandler@android.com> Remove "excessive sync" icon.

Bug: 5354985
Change-Id: Ie0ce3448ff33c3211d79e8c699f5709561f463b0
hone/PhoneStatusBarPolicy.java
8632561e14c5cc546cec39edd213ea8cc7aea2f9 27-Sep-2011 Mathias Agopian <mathias@google.com> Merge "Make the status and navigation bars OPAQUE." into ics-factoryrom
71bfec448847d8585c8a789596525dc729350877 26-Sep-2011 Daniel Sandler <dsandler@android.com> am 61b645ab: Merge "Update all RSSIs whenever the connectivity changes." into ics-factoryrom

* commit '61b645ab86ace1511593f1f1f46dfb62bf0ae8b9':
Update all RSSIs whenever the connectivity changes.
7c12eee6439435d7f29d49cab76edaedbd809460 25-Sep-2011 Daniel Sandler <dsandler@android.com> Update all RSSIs whenever the connectivity changes.

The connectivity includes the network condition, which is a
magic number that indicates how useful the connection is
(driven by ability to connect to GTalk, and manifested with
a differently-colored signal icon).

Previously we were only updating the icons of the network
type currently in use. Now we tickle all the icons any time
the connectivity changes, to avoid the two icons getting out
of sync (example: on mobile, connection is bad, connect to
wifi, conncetion is good; wifi icon appears and turns blue
but mobile RSSI remains gray).

Bug: 5369405
Change-Id: I78b62084b819c83f83aacc146feeb323c1199dc0
olicy/NetworkController.java
f733c2aaa652f3ead60c8b2bc982dc9bdbc7df8e 25-Sep-2011 Daniel Sandler <dsandler@android.com> Make the status and navigation bars OPAQUE.

Bug: 5369240
Change-Id: I1c01baa732f441bf7d2c469eb7d3d82d26da07b1
tatusBar.java
hone/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
hone/PhoneStatusBar.java
ablet/TabletStatusBar.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
hone/PhoneStatusBar.java
e690f565fd1926885f2b12c2aee2dddc5ba99983 22-Sep-2011 Daniel Sandler <dsandler@android.com> am 2dbe444e: Merge "Properly generate systemUiVisibilityChanged callbacks." into ics-factoryrom

* commit '2dbe444e5dd89b83829df6a3f48c491a844ecd28':
Properly generate systemUiVisibilityChanged callbacks.
2dbe444e5dd89b83829df6a3f48c491a844ecd28 22-Sep-2011 Daniel Sandler <dsandler@android.com> Merge "Properly generate systemUiVisibilityChanged callbacks." into ics-factoryrom
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
hone/PhoneStatusBar.java
13dfa095c2a62b0bece80c12300fcab3f20a2cbe 21-Sep-2011 Justin Ho <justinho@google.com> am 7a2063b1: Merge "New sync icon for Phone stat_sys area Bug: 5076774" into ics-factoryrom

* commit '7a2063b1d59dd6d7575dc91b6dd93b4a8d462b16':
New sync icon for Phone stat_sys area Bug: 5076774
7a2063b1d59dd6d7575dc91b6dd93b4a8d462b16 21-Sep-2011 Justin Ho <justinho@google.com> Merge "New sync icon for Phone stat_sys area Bug: 5076774" into ics-factoryrom
9f176580c29cebbde53946b5f3b6532a86394f83 21-Sep-2011 Justin Ho <justinho@google.com> New sync icon for Phone stat_sys area
Bug: 5076774

Change-Id: I06a3d6be5818279b751b411485e8161493eac43c
hone/PhoneStatusBarPolicy.java
9200109c9de1b1f99d5b3c6e9c635c618c0a8b7e 20-Sep-2011 John Huang <jsh@google.com> am edc8029b: Merge "Retain signal level even when data is offline." into ics-factoryrom

* commit 'edc8029b8b9ac9233e4dc73f05415265bac712de':
Retain signal level even when data is offline.
f37c2e0afb95877445cedc3523be35b46362d71d 20-Sep-2011 Daniel Sandler <dsandler@android.com> am d1d07432: Merge "More debug logs for RSSI updates." into ics-factoryrom

* commit 'd1d074326d81b6a92cff5a5fc279b8c9177cc7aa':
More debug logs for RSSI updates.
da49dac48dd154b2f86bc38d07046149022e1425 20-Sep-2011 Daniel Sandler <dsandler@android.com> Retain signal level even when data is offline.

Also disable extremely verbose RSSI logging.

Bug: 5340142
Change-Id: I051a4cec5651a0734db2666526b16037d7053a1e
olicy/NetworkController.java
c49e195da49ec5d7f0450f9968f1acd127b1d7f1 20-Sep-2011 Daniel Sandler <dsandler@android.com> More debug logs for RSSI updates.

Bug: 5340142
Change-Id: I1f7f106301d3942cc88d21d97a6c732c712e4516
olicy/NetworkController.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
hone/NavigationBarView.java
hone/PhoneStatusBar.java
3144a6ca159a1569cf5b35ce5df8d77dfd84b0e3 19-Sep-2011 Daniel Sandler <dsandler@android.com> Stop clobbering the systemUiVisibility on navbar touch. (DO NOT MERGE)

Bug: 5328284
Change-Id: Ib49af35a7919dbf1cdb99f357798101d2534e853
hone/NavigationBarView.java
4cea3b4bd1dcddf1d12dcefd15544af6ba55acca 20-Sep-2011 Daniel Sandler <dsandler@android.com> Fix disappearing nav icons. (DO NOT MERGE)

Bug: 5328284
Change-Id: Iaa20454cff9f5a340da7b0c71190796445e8a205
hone/NavigationBarView.java
291c6d789dac8f85c50163e9a9ef24ef31183b93 20-Sep-2011 Daniel Sandler <dsandler@android.com> Merge "Fix disappearing nav icons."
f0e8daa405f24e23c9cb0254af79d55f5353aaec 20-Sep-2011 Daniel Sandler <dsandler@android.com> Fix disappearing nav icons.

Bug: 5328284
Change-Id: Iaa20454cff9f5a340da7b0c71190796445e8a205
hone/NavigationBarView.java
da1b819595fcf3cc332c59745677a0cc53e44f59 19-Sep-2011 Daniel Sandler <dsandler@android.com> Stop clobbering the systemUiVisibility on navbar touch.

Bug: 5328284
Change-Id: Ib49af35a7919dbf1cdb99f357798101d2534e853
hone/NavigationBarView.java
56598cd4d3712ea451f8e19e363ae86a51158d3b 15-Sep-2011 Daniel Sandler <dsandler@android.com> Fix MENU icon weirdness.

(Broken by change I7cbb7bbf.)

Bug: 5308636
Change-Id: I30ca20f62bd140a823eb926a9a0521c4d6014680
hone/NavigationBarView.java
hone/PhoneStatusBar.java
369711f89b251dd0136e7a2dc6a08b64d31af129 15-Sep-2011 Daniel Sandler <dsandler@android.com> Merge "Fix overlapping wifi and airplane icons."
d9283b903125c875f973bf6f724f23e595bce756 15-Sep-2011 Daniel Sandler <dsandler@android.com> Fix NPE.

Also remove unneeded log.

Bug: 5320647
Change-Id: If62b491ceb25d26195dea694fe0b5cd83c0f6305
hone/NavigationBarView.java
hone/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
hone/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
hone/NavigationBarView.java
hone/PhoneStatusBar.java
aab55bf3e323b73062bd932682886b19c062a8a0 14-Sep-2011 Jeff Brown <jeffbrown@google.com> Merge "Fix bug in KeyButtonView key injection logic. Bug: 5299191 Bug: 5300282"
98392efb24d8aac36a4cfa85106812e17d5984f9 13-Sep-2011 Jeff Brown <jeffbrown@google.com> Fix bug in KeyButtonView key injection logic.
Bug: 5299191
Bug: 5300282

Only send keys when mCode != 0.

Simplified the logic for repeating / non-repeating keys.
Key down / up are always correlated with touch down / up, the
only thing that's special is that we detect long press for
repeating keys and not for others.

Ensure that up or cancel is always sent for every key
that is generated. Previously it was possible for keys to get
stuck down if touch moved out of the button's active area.

Removed the funky HOME long press timer. We don't need it
since we can rely on the long-press flag instead. Since the
system UI is in direct control of key repeating and long-press
behavior for the keys it inject, this eliminates the need for
special hacks to circumvent the timer.

Ensure that the same haptic feedback is provided for all keys,
including the recent apps key. Previously this only worked
because the code was injecting a bogus key with code 0.

Don't generate repeated haptic feedback for virtual keys
even when those keys are injected. This doesn't happen
for virtual keys synthesized by the InputReader because it
never injects repeats itself (the InputDispatcher synthesizes
them), but it is an issue for the KeyButtonView.

Change-Id: I8b3615dde738af28e76898d161d6ce9a883b59ec
olicy/KeyButtonView.java
5ccff81a642844138b144ad2cc339eba188812a0 13-Sep-2011 Daniel Sandler <dsandler@android.com> Fix overlapping wifi and airplane icons.

Bug: 5254547
Change-Id: If293be36c4e06a8fac6f728b1f96e5759fe20f6d
ignalClusterView.java
olicy/NetworkController.java
49f58407340a2282e0c0ff31043bee8937bd6bff 13-Sep-2011 Daniel Sandler <dsandler@android.com> Transparent notification shade.

Bug: 5270161 (fix opacity)
Bug: 5231194 (transparent shade)
Change-Id: Ib7130ef0718c092dc9f8149698625a49d7abb2b2
hone/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
hone/PhoneStatusBar.java
911fe30d5841d0622f3925a9fbc66d499965b111 12-Sep-2011 Jeff Brown <jeffbrown@google.com> Track status bar fling velocity using screen coords.
Bug: 5210198

Change-Id: I58630ab861c0934755a4aac4b96fdc5634c4a438
hone/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
hone/PhoneStatusBar.java
aeb116750110cf9cc1ef82d208f3a8ba3b8be009 12-Sep-2011 Daniel Sandler <dsandler@android.com> Merge "Hide navigation buttons when they are DISABLEd."
d2deee1eeb4de93b2d5158dcfc79b1bb68accf79 12-Sep-2011 satok <satok@google.com> Merge "Fix the visiblity of the ime switcher icon."
9747f8977c55013e656a1e666a1647bb331954ce 12-Sep-2011 satok <satok@google.com> Fix the visiblity of the ime switcher icon.

Bug: 5288866
Change-Id: I99b4aee36c337b2fab1116e9245ddecd826c840c
ablet/InputMethodButton.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
hone/NavigationBarView.java
hone/PhoneStatusBar.java
e00633e49a7136e14da8ce9938cf6a3333f28498 11-Sep-2011 Ken Wakasa <kwakasa@google.com> Fix NPE

bug: 5290369
Change-Id: Ica450c49fc0bc89b1697eaa1086707f481f6be7e
ablet/InputMethodsPanel.java
f4b783f8a7f7ba56a879b0fce075257659e9f909 12-Sep-2011 Daniel Sandler <dsandler@android.com> Merge "Exit the keyguard when the user clicks a notification."
8dbdee5b167b066f8306a43db4e2a8d410b0370b 12-Sep-2011 Daniel Sandler <dsandler@android.com> Merge "Fix bug swiping away NO_CLEAR notifications."
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
hone/PhoneStatusBar.java
ablet/TabletStatusBar.java
113045ab9cc6307b68cc669bbdd4ddbdf69b6230 11-Sep-2011 Daniel Sandler <dsandler@android.com> Fix bug swiping away NO_CLEAR notifications.

Bug: 5121507
Change-Id: I798686cfc8506805298e1481a3d603ce700e12f4
hone/PhoneStatusBar.java
ablet/TabletStatusBar.java
e16c279d4f39231b25948cdd19a642ca676d82c7 09-Sep-2011 John Huang <jsh@google.com> Handle HSPAP.

We were missing a case statement for HSPAP when picking icons.
Treat it the same as the other HSPA types.

bug: 5286238
Change-Id: Ia222cc600a5920e057698ba8b0d2cc8e4836b500
olicy/NetworkController.java
99f6ecc2fd952a6d10b248081833705ca35f859e 09-Sep-2011 Daniel Sandler <dsandler@android.com> Merge "Show roaming icon in status bar."
bbf0b66edef9f3fe537dbf16fed6bd2e6651d9cf 09-Sep-2011 Ken Wakasa <kwakasa@google.com> Suppress "Automatic" subtype name in tablet's IME switcher panel

bug: 5282718
Change-Id: Ibecd6309eba9ac2fe173be7db4ba353e5821bd43
ablet/InputMethodsPanel.java
e2ca08765e1e2da8edcbb9e43b0d2c2f79bd5101 09-Sep-2011 Chet Haase <chet@google.com> Merge "Throw an exception if a both nav and system bars are configured"
bc0009d48df58305d3330e9716f4ebbca1e36d3d 09-Sep-2011 Chet Haase <chet@google.com> Throw an exception if a both nav and system bars are configured

It was possible for a device to be configured to use a navigation bar
(by setting config_showNavigationBar to true in a config.xml file)
and to use a system bar (by being a tablet device of sufficient size).
The display metrics would be set up for both, but the SystemUI would ignore
the navigation bar, leading to conflict in what would be displayed and how
much room there was on the display. This change throws an exception,
causing SystemUI to fail, when this conflict is detected.

Change-Id: Ib5c19d50ff9444bc33fd53d3dcfa016adc4872ef
ablet/TabletStatusBar.java
b0d89922b186b62701aa7ee1ed8f808fac2c1d9b 09-Sep-2011 Jeff Sharkey <jsharkey@android.com> Merge "Always disable() through SBMS; watch date."
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
hone/PhoneStatusBar.java
olicy/NetworkController.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
hone/PhoneStatusBar.java
olicy/DateView.java
ablet/TabletStatusBar.java
1cdf067f5fe58ad4abb623b82eede3fab2a5f533 08-Sep-2011 Daniel Sandler <dsandler@android.com> Fix notification disappearance animations.

Bug: 5262083
Change-Id: Iea99c69359352d536f1fe00b86f6748711c36e34
olicy/NotificationRowLayout.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
hone/PhoneStatusBar.java
373a4f44e42093806f1b4f4e7ff1c9e163ba26c3 03-Sep-2011 Jeff Sharkey <jsharkey@android.com> Merge "Make large_icon in notification catch touches."
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
hone/PhoneStatusBar.java
ablet/TabletStatusBar.java
3c4ce72c4d66d9ee041924259f20381b658c1529 03-Sep-2011 Chet Haase <chet@google.com> Fix artifact with LayoutTransitions on disappearing window.

Logic in performTraversals() starts a transition running at the
proper time. But when a view's parent window goes away, this transition
may not start at that time because drawing gets canceled. But the
transition still hung off of the ViewRoot, waiting until some later
drawing operation to kick it off. This resulted in some weird animations
like the Recents panel appearing and having a single item animate off of it.

The fix is to delete pending transitions when drawing is skipped.

Change-Id: I3ab7702c16e069644a163424f977350743e2cecc
ablet/NotificationPanel.java
41bff38d3060dbcb55133cedaf5d962c3082efc2 30-Aug-2011 Chet Haase <chet@google.com> Tweaks to NotificationPanel animation

The animation that runs when the NotificationPanel appears
used to start, then pause for a long time as the window/surface/layer
was created, then by the time it started to be visible, the animation
was over. This new approach delays starting the animation until the
layer has been drawn, so the animation can actually run a few frames after
that before finishing.

Change-Id: I998f01fd48cb762178021ad99e2b919b58a1ef3f
ablet/NotificationPanel.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
hone/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>
hone/PhoneStatusBar.java
a3b7b57a5211c210a61bb9bea118531eed08591a 02-Sep-2011 Michael Jurka <mikejurka@google.com> Merge "updating visuals of Recent Apps"
622a97646d316ca753c577752ac9010415e9a472 29-Aug-2011 Peter Ng <petergng@google.com> updating visuals of Recent Apps

- replacing background PNGs with 9 patches
- removing border around thumbnails by default
- when swiping thumbnails, draw a border around them
- fix callout line length
- make recents window smaller on tablets
- deleting unused assets

Change-Id: If5bb1ba0d55a6d10e36ee14274c23596f0ba73b9
olicy/NotificationRowLayout.java
ablet/TabletStatusBar.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>
hone/NavigationBarView.java
hone/PhoneStatusBar.java
ablet/TabletStatusBar.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
hone/PhoneStatusBar.java
9b2886e24301e5d4e7052ec4a6eaff273d3f516c 31-Aug-2011 Robert Greenwalt <rgreenwalt@google.com> Create new isNetworkSupported API

Useful for checking if on a wifi-only device.
Similar to asking for NetworkInfo for a network type and checking for
null, though here the intent is explicit.

bug:5087537
Change-Id: Ia3ddd09b6b735b8b3ceb7a347891e015fd96b218
olicy/NetworkController.java
209cf04353ceb67d9ba95ffbdfd36af0515bb2ba 31-Aug-2011 satok <satok@google.com> Fix the display name in the input method panel on tablet

Bug: 5103300
Change-Id: I20cec2bb822be6f15abfe4a21053c8eb8d48b9cc
ablet/InputMethodsPanel.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
hone/PhoneStatusBar.java
829559d28471871495c7681ab558fce22c0e73bb 26-Aug-2011 Daniel Sandler <dsandler@android.com> Merge "Stop spamming the user with unchanged tickers."
2a58af37568dcae9f1910aa85974f8b474338da9 26-Aug-2011 Daniel Sandler <dsandler@android.com> Stop spamming the user with unchanged tickers.

Bug: 5217613
Change-Id: I63e9a9853803ff770155f1c69e09e5d3e57f2abf
ablet/TabletStatusBar.java
fdfbbf62e61020b6b6170862eaabd72b43bca4ea 26-Aug-2011 Justin Ho <justinho@google.com> New alarm clock for Phone stat_sys area

Change-Id: I7eae1f87afdd92f7979ab03db9f96273edaf7a72
hone/PhoneStatusBarPolicy.java
bf446c2a2b9c2e0c3808b35c14955319a7adfae5 26-Aug-2011 Daniel Sandler <dsandler@android.com> Merge "Windowshade visual cleanups."
a3dba34dd211f8fff0a75bda1cc5f4fb0c723ac8 26-Aug-2011 Daniel Sandler <dsandler@android.com> Windowshade visual cleanups.

Bug: 5175050
Change-Id: Ia6ac4f6692823a17eb4f0ce0c4b9e1eb3fd16fcf
olicy/DateView.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
hone/PhoneStatusBar.java
a81fe3bbcc49a783ff99aea5e09e15191b065017 25-Aug-2011 Daniel Sandler <dsandler@android.com> Merge "Only show wifi indicator when wifi is connected."
07800a50399d73df322b823a079de29378b3c112 25-Aug-2011 Daniel Sandler <dsandler@android.com> Merge "Put the status bar and navigation bar in HW when advisable."
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
tatusBar.java
hone/PhoneStatusBar.java
olicy/KeyButtonView.java
7b2013d94c29da01dba298c6ab97b7b2b37fad34 24-Aug-2011 Daniel Sandler <dsandler@android.com> Only show wifi indicator when wifi is connected.

Bug: 5182789
Change-Id: I06e9592f9c51affd3b05b163f7a4f7b0c144403f
olicy/NetworkController.java
066c891f6a7bceca660ee26921b13cfa742f4ba8 24-Aug-2011 Mike Lockwood <lockwood@android.com> TabletStatusBar: Add support for disabling notification LED when user views notifications

This is analogous to similar support in PhoneStatusBar

Bug: 5143247

Change-Id: I553268162f9441fbe03f6a3769d5879cebf3b1f3
Signed-off-by: Mike Lockwood <lockwood@android.com>
ablet/TabletStatusBar.java
69314e72941c86734c12476d1e61459811159b74 20-Aug-2011 Daniel Sandler <dsandler@google.com> Fix NPE.

Bug: 5192200
Change-Id: Ifd869f92969016ea9c3ff9c5fa0a2a0f197c6cbf
hone/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
hone/NavigationBarView.java
hone/PhoneStatusBar.java
e644b647837a2f2835c20423d0657cca19d3595a 19-Aug-2011 Mathias Agopian <mathias@google.com> Fix a crasher in SystemUI

Change-Id: Id0e91d949518aa1c5af57ae3b9b4e72347a5bd47
hone/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
tatusBarIconView.java
hone/PhoneStatusBar.java
d714148bd2752c63a46f51b12cea288fb1f10528 18-Aug-2011 Daniel Sandler <dsandler@google.com> Remove 'no notifications' label for now.

Bug: 5160106
Change-Id: Icd22f10689b4ec119d5fd43f1f3a8706c214530e
hone/PhoneStatusBar.java
797a0b0145211e219fcb441a963a103679249aa7 18-Aug-2011 Daniel Sandler <dsandler@google.com> Merge "Support DISABLE_NAVIGATION on phones."
e21f288358df2c1cea57c0a359dcf647baeb970d 18-Aug-2011 Daniel Sandler <dsandler@google.com> Support DISABLE_NAVIGATION on phones.

Bug: 5161286
Change-Id: I6a2c3053423c2b34136b0c3889f575f9c082d7e9
hone/NavigationBarView.java
hone/PhoneStatusBar.java
130453c2eb615bb8cc51a26afbd40822a72636c1 18-Aug-2011 Daniel Sandler <dsandler@google.com> Fix DISABLE_EXPAND in the tablet status bar.

The codepath that honored this flag had been routed around
when notification peeks were disabled. (The bug was allowing
notifications to be accessed from a secure lockscreen.)

Bug: 5173959
Change-Id: I35dee343ee4f0288530580054f8bb9f511ebe6af
ablet/TabletStatusBar.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
hone/PhoneStatusBar.java
9a5505f0253a9114aea6192a22da6ec1c1b85ed2 18-Aug-2011 Daniel Sandler <dsandler@google.com> Merge "Fix drawing artifacts on glowing navigation buttons."
96f4818ef41141649337d4dee09f837594e93d09 17-Aug-2011 Daniel Sandler <dsandler@google.com> Fix drawing artifacts on glowing navigation buttons.

Bug: 5162661
Change-Id: I49d78124cc179221492af2f7bee6adf7bfe34426
hone/NavigationBarView.java
olicy/KeyButtonView.java
ablet/TabletStatusBar.java
518a67b2b6966ed5eb935ff58c65d334bc2f17c6 17-Aug-2011 Daniel Sandler <dsandler@google.com> Merge "Remove longpress support from the software Home key."
44a4616bf780f131f8d78b46a075844800088860 09-Aug-2011 Daniel Sandler <dsandler@google.com> Remove longpress support from the software Home key.

(Rendered unnecessary by the recents button.)

Bug: 5131723
Change-Id: I9f8f34ab8b96f750ec4bdf75daeb97c0971b5404
olicy/KeyButtonView.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
hone/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
ignalClusterView.java
hone/PhoneStatusBar.java
olicy/NetworkController.java
b8e9b810a863c504cd63cbb132f743f5e66c8595 12-Aug-2011 Chet Haase <chet@google.com> Merge "Optimized swipe animation for Recents app."
212f625b71fb1f137e23fd1b6a679dca3f1e9f3c 12-Aug-2011 Chet Haase <chet@google.com> Optimized swipe animation for Recents app.

Removed the delay after the swipe and before the remaining items
animated into their new places. Also, expanded container of app so
that it no longer clips the swiped thumbnails on the right (on tablet).

Change-Id: I3d757a3b42bf0d1e002fab5b74b47c1e7f4f97a2
ablet/TabletStatusBar.java
2e347429dfcd03b0827c7506ba6305ab0d1f4951 11-Aug-2011 Christian Robertson <robertsonc@google.com> New RSSI cluster in status bar.

Bug: 5147463
ignalClusterView.java
hone/PhoneStatusBar.java
olicy/NetworkController.java
olicy/TelephonyIcons.java
ablet/TabletStatusBar.java
ba3711ccd3a8d9e77e01e8eb00e4ada9e25f645c 12-Aug-2011 Daniel Sandler <dsandler@google.com> Merge "Disable peeking at individual notifications."
298a2a816af7337d6b2c8a916ef298d656786878 11-Aug-2011 Daniel Sandler <dsandler@google.com> Disable peeking at individual notifications.

Now tapping anywhere on the notification/clock/status end of
the system bar will bring up the notification panel.
Swiping up anywhere in that region works as well.

This change also adds visual touch feedback to the panel
trigger area.

Bug: 4723688
Change-Id: I5e24fea1231b798c41ddd48c0c42c283c92ebe65
ablet/TabletStatusBar.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
hone/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
hone/PhoneStatusBar.java
olicy/NotificationRowLayout.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
hone/NavigationBarView.java
hone/PhoneStatusBar.java
hone/TrackingView.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
hone/ExpandedView.java
hone/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
hone/PhoneStatusBar.java
hone/PhoneStatusBarView.java
1f1304a84e35a866b1ece7aa852815987af660fd 07-Aug-2011 Daniel Sandler <dsandler@android.com> Don't show network type if no SIM.

Bug: 5127932
Change-Id: Ib29bfe3372b2c40618480691d65cc4c74d02f8fd
olicy/NetworkController.java
6cf602cd1de4fd1b6a8a5028ef10df0ffc57bacb 05-Aug-2011 Daniel Sandler <dsandler@google.com> Fix crash in log message.

Bug: 5126593
Change-Id: I2214e48de4d0f858b9b23c431bdf91078cc0ccd6
hone/PhoneStatusBar.java
319d1e3b28400c749dec8e6c172c2b4872027e38 05-Aug-2011 Daniel Sandler <dsandler@google.com> Stop popping up the compatibility mode dialog all the time.

(The check for whether the dialog had already been shown was
accidentally removed in change I1c1bd12.)

Bug: 5069310
Change-Id: I2ea35c5891667922e78d7919132ffe599411f851
ablet/TabletStatusBar.java
c803422bed63f24e987294dae974d81342fb5189 05-Aug-2011 Daniel Sandler <dsandler@android.com> Merge "Clear all notifications on tablet actually works now."
69ecb0a08a4c7d483bdd0c29db533579db404c9c 05-Aug-2011 Daniel Sandler <dsandler@android.com> Merge "Instrumentation to track notification panel touch bugs."
bd391ba1f24409d889d3fb84651f8c81edcd659e 04-Aug-2011 Ken Wakasa <kwakasa@google.com> Suppress the IME switcher icon by default on tablet

bug: 5001205
Change-Id: I8c983808078d984d1d25e985e23ab036b869332e
ablet/InputMethodButton.java
06a0d4b5c36b3353a89ec31e097bf0b54b5f2549 05-Aug-2011 Daniel Sandler <dsandler@android.com> Clear all notifications on tablet actually works now.

Also, the panel is no longer buried below the screen edge
when there are no notifications.

Bug: 5115158
Change-Id: I01bc8a65ceebd64143a4c4c52d63641dc3cd1c77
ablet/NotificationPanel.java
ablet/TabletStatusBar.java
ablet/TabletStatusBarView.java
96e61c3c86b2aff3d298d8757ba51eb568c30543 05-Aug-2011 Daniel Sandler <dsandler@android.com> Instrumentation to track notification panel touch bugs.

Bug: 5122306
Bug: 5105599
Change-Id: I2ca677d71daf9c6d5931ae933b3ab496620ab564
hone/PhoneStatusBar.java
f48fd822e055da272f9e821db56db98591a35cfe 04-Aug-2011 Daniel Sandler <dsandler@google.com> Fix another NPE.

Bug: 5122306
Change-Id: I6877528325d30bb725f8692c86a8752263b5344e
hone/PhoneStatusBar.java
d3ffa270e06d73b1b320323772eecc09613ccc55 04-Aug-2011 Daniel Sandler <dsandler@android.com> Merge "Log some signal condition diagnostics for now."
f91f0905e43e9e264348adb5d3d5f18a8777ff55 04-Aug-2011 Daniel Sandler <dsandler@android.com> Merge "Fix NPE on first-ever boot if display has rotated."
8d77e7714bce81305958c7003b531de32e941d74 04-Aug-2011 Daniel Sandler <dsandler@google.com> Merge "Restore DISABLE_NOTIFICATION_ICONS."
96f3b6f0104aa1a4200c8abe69819c9c452985ab 04-Aug-2011 Daniel Sandler <dsandler@android.com> Fix NPE on first-ever boot if display has rotated.

Bug: 5116154
Change-Id: I8c91fa9eae24c6cb25f4431da00dc4b527124ae3
hone/PhoneStatusBar.java
e2e7b1e2dc31f9e3be0bc44b999227937282f935 04-Aug-2011 Mike Lockwood <lockwood@android.com> Merge "Add support for localizing order of day of week and date in status bar date view"
60b3e9c15779583269150dd0811fd610f65d662c 04-Aug-2011 Daniel Sandler <dsandler@android.com> Log some signal condition diagnostics for now.

Bug: 5103241
Change-Id: Id780a3e535270c53e5f1b531c761ca5010291040
olicy/NetworkController.java
ec9a50bccf6163302f41fcc410b7fe80258bb0ea 03-Aug-2011 Mike Lockwood <lockwood@android.com> Add support for localizing order of day of week and date in status bar date view

In Japanese, the day of week should follow the date

Bug: 4606219

Change-Id: If385b3f9989bbe5f1b4bc21293d9be651e187c1f
Signed-off-by: Mike Lockwood <lockwood@android.com>
olicy/DateView.java
8e41f3158d3aeabd98fcaa7a846874129a9f39f6 03-Aug-2011 Daniel Sandler <dsandler@google.com> Restore DISABLE_NOTIFICATION_ICONS.

Bug: 5054828
Change-Id: I621f5ef9281eb9593525faf7dd7be42def653970
ablet/TabletStatusBar.java
59aed3885e7bf34b4d7c021db4243484fa267526 03-Aug-2011 Dianne Hackborn <hackbod@google.com> Put back the status bar animations.

Change-Id: I9b326e8da9fa17878dde8a83c6551e9eb600bb7e
tatusBar.java
hone/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
hone/ExpandedView.java
hone/PhoneStatusBar.java
hone/PhoneStatusBarView.java
hone/TrackingView.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
hone/PhoneStatusBar.java
ablet/NotificationPanel.java
ablet/TabletStatusBar.java
7c3e39de22c68e69c4924b339132f8e3bf3f96af 29-Jul-2011 Daniel Sandler <dsandler@google.com> Merging ongoing + latest notifications on phone UI to match tablets.

Change-Id: Ie8ee72137e9eeb6740f3d113d5331e8cba629ab2
hone/IconMerger.java
hone/PhoneStatusBar.java
olicy/NotificationRowLayout.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
hone/PhoneStatusBar.java
f3f2011285e2f5079db2229461e2d9a448cb61ec 29-Jul-2011 Daniel Sandler <dsandler@google.com> Fix NPE for devices with hardware navigation.

Bug: 5095974
Change-Id: I4d8c39fbff6feb7b65055938ac0f725faaa6e6a3
hone/PhoneStatusBar.java
94eea0b26ef0714373a58b681d77927268e56eb0 29-Jul-2011 Daniel Sandler <dsandler@android.com> Merge "Bring the shiny navigation button animations to phones."
53f2531ba7bc72489d03fd17b6ce29c811fad8b5 29-Jul-2011 Daniel Sandler <dsandler@google.com> Merge "The fullest of fullscreen modes."
5298582717494098fcdf115d832c8e871340d0b5 29-Jul-2011 Daniel Sandler <dsandler@android.com> Bring the shiny navigation button animations to phones.

Also fix the accessibility descriptions (bad merge?).

Bug: 4541219
Change-Id: I8a8e2a14e5557c45af0b9e74b0bd654ff804aab9
olicy/KeyButtonView.java
a375c94fca986d76d21f8cb9a3eb29f1ef88c4a8 29-Jul-2011 Daniel Sandler <dsandler@android.com> New richly-appointed navigation buttons.

- Beautiful new touch feedback animations
- Romantic icon dimming
- Supple Corinthian leather

Bug: 4541219
Change-Id: I8c4e1ec73aba910a17001795d2b03200c5af1788
olicy/KeyButtonView.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
ommandQueue.java
tatusBar.java
hone/NavigationBarView.java
hone/PhoneStatusBar.java
ablet/TabletStatusBar.java
3d5a703db83265f7914eed8580de986106abfad2 28-Jul-2011 Jeff Brown <jeffbrown@google.com> Merge "Report the external display size to the input reader."
26c84b139f0bfd2d3906f2ac163df8f1f15155d8 27-Jul-2011 Daniel Sandler <dsandler@android.com> Smaller, darker notification icons.

(Still need to attempt to mipmap them but this will do for
now.)

Bug: 4691635
Change-Id: I8793d6a453fcbe0c2ce30b6349e4e5ef3f1a6e56
tatusBarIconView.java
53ef4993535c73a9f71edd34af15708af4e06fc4 26-Jul-2011 Daniel Sandler <dsandler@google.com> Merge "New stacked RSSI icons."
e2234add84ca159150d112e47fca2d4737542944 26-Jul-2011 Daniel Sandler <dsandler@google.com> Merge "Update large icon in changed status bar notifications."
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
hone/PhoneStatusBar.java
hone/PhoneStatusBarPolicy.java
olicy/BatteryController.java
olicy/NetworkController.java
olicy/TelephonyIcons.java
ablet/TabletStatusBar.java
bc68a59c024bdb745dac8e2ec7408a9f30595f1a 25-Jul-2011 Jeff Brown <jeffbrown@google.com> Report the external display size to the input reader.

The input reader needs this information so that it knows how to
interpolate touches on an external touch screen.

Changed Display so that it asks the WindowManager what the real
display size is (as opposed to the raw display size). This means
it now takes into the forced display size set by
adb shell am display-size.

Replaced all calls to getRealWidth() / getRealHeight() /
getRealMetrics() in the WindowManager and replaced them with direct
usages of the mCurDisplayWidth / mCurDisplayHeight so that the WM
doesn't end up making a reentrant Binder call into itself.

Fixed the table status bar HeightReceiver so that it updates the
height on all configuration changes since it is possible that the
display size changed independently of an external HDMI display
being plugged / unplugged.

Improved the Display class documentation to make the distinctions
betweeen the various sizes clearer.

Change-Id: I3f75de559d3ebffed532ab46c4ae52c5e7f1da2b
ablet/HeightReceiver.java
ablet/TabletStatusBar.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
hone/PhoneStatusBar.java
07d4046ea914c999b7aaa587b7bfe81d548121f7 19-Jul-2011 Michael Jurka <mikejurka@google.com> Unifying swipe behavior for Recents and Notifications

Change-Id: Ibdbb7cc4ac2bcfcf6d6353a218b13c23caeca5b9
olicy/NotificationRowLayout.java
e224d4f0b78d018022c5f13e84763f1958e9cbf6 22-Jul-2011 Michael Jurka <mikejurka@google.com> Merge "Prevent notification swipes from getting canceled too soon."
521efd8886c256fc2df43adc2eb447b2d67640c4 22-Jul-2011 Daniel Sandler <dsandler@google.com> Prevent notification swipes from getting canceled too soon.

The scroll view was grabbing the gesture as soon as its dy
crossed the scroller's own slop threshold. Once we detect a
horizontal swipe-to-clear we request that the scroller no
longer activate until the gesture is over.

Bug: 4998677
Change-Id: If916fc00d155516e0e4bfe8c2df19827a2f16fe6
olicy/NotificationRowLayout.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
atestItemView.java
tatusBarIconView.java
hone/IconMerger.java
hone/PhoneStatusBar.java
hone/PhoneStatusBarPolicy.java
hone/PhoneStatusBarView.java
hone/Ticker.java
olicy/AccessibilityContentDescriptions.java
olicy/BatteryController.java
olicy/BluetoothController.java
olicy/NetworkController.java
ablet/CompatModePanel.java
ablet/InputMethodsPanel.java
ablet/NotificationArea.java
ablet/NotificationPanel.java
ablet/NotificationPanelTitle.java
ablet/NotificationPeekPanel.java
ablet/TabletStatusBar.java
ablet/TabletTicker.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
hone/PhoneStatusBar.java
6e47348392634ad4fc5d6b92388028e136c58f0f 20-Jul-2011 Daniel Sandler <dsandler@google.com> Merge "Fix stacked notifications."
942d92f68b427fb12e03e48bbf8f6c85857be097 19-Jul-2011 Daniel Sandler <dsandler@google.com> Fix stacked notifications.

Bug: 5012006
Change-Id: I588f2b5376e644cbc37f884eec62ca44bac1dfaf
olicy/NotificationRowLayout.java
a0c229d2efebf82a15a59f02d3da0cda31067a4f 19-Jul-2011 Todor Kalaydjiev <todor@google.com> Manually bring change Ie8fb8162 to master ("Add images to ERI icon list"). Fixes b/4604593.

Change-Id: I1d8233e898ee79a33fc765b9013fa8f77d9fe914
hone/PhoneStatusBarPolicy.java
0b63a6abb6552b58c5661c3f17c249e2414845f5 11-Jul-2011 Jaikumar Ganesh <jaikumar@google.com> Query the correct Extra for BT intents.

The extra being queried for wrong for the CONNECTION_STATE_CHANGED
intent. Thus, the status bar icon was never getting updated.

Change-Id: I88892c3acb7cf5aecfd92524e53371a3d43cf5fd
hone/PhoneStatusBarPolicy.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
hone/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
hone/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
hone/PhoneStatusBar.java
41006aaf3494a46731868dcb9347caf05f8804a4 29-Jun-2011 Daniel Sandler <dsandler@google.com> Add 2mm dead zone (12dp) at the top of the navigation bar.

Also update metrics to match clarified spec; in particular,
the navbar is now 48dp tall.

Bug: 4689070
Change-Id: Ia05ae840076df5a984ac85bb63df997943356eb8
hone/NavigationBarView.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
hone/NavigationBarView.java
hone/PhoneStatusBar.java
ablet/TabletStatusBar.java
e07141a5623bc3d5f34b1de18f52044147bc2ac9 23-Jun-2011 Daniel Sandler <dsandler@android.com> am e89d4b5d: am e0da3f3b: am 444336dd: Merge "Fix crazy notification panel background." into honeycomb-mr2

* commit 'e89d4b5d6952031c31f15db95435e7541e5df08c':
Fix crazy notification panel background.
edbdd3a024ca35c331036823dde1f484d3333b31 21-Jun-2011 Daniel Sandler <dsandler@android.com> Fix statusbar crash when DeskClock alarms go off.

Bug: 4723790
Change-Id: Ia819b6a35b5b103d28f6db3b25c815f77827f80f
hone/PhoneStatusBar.java
e0da3f3bc9aaefbf3e3737b69e91b7823f639751 21-Jun-2011 Daniel Sandler <dsandler@android.com> am 444336dd: Merge "Fix crazy notification panel background." into honeycomb-mr2

* commit '444336dd5f233c59e5a222d366d2498c888664b5':
Fix crazy notification panel background.
f1dd26b6fda891adc575c563dadb19b3d941faa7 20-Jun-2011 Daniel Sandler <dsandler@android.com> Fix crazy notification panel background.

The compatibility mode dialog (shown only once, ever) was clobbering its layout params.

Bug: 4723617
Change-Id: I7899293b72c8e480a97a10a88f62754ff415f343
ablet/TabletStatusBar.java
ebce0115e239919680fc5574ae4ca79e617fcce8 16-Jun-2011 Daniel Sandler <dsandler@google.com> ICS updates to notification layouts.

Of note:

1. There is no "X" (veto) button anymore. (Well, there is,
but it's offscreen so it should still be available to
assistive devices.) Users can use "Clear all" or the new
swipe-to-veto gesture to clear notifications.

2. As a consequence of #1, your layout goes all the way to
the right edge of the notifications panel again. Enjoy
the extra space!

3. The numeric bubble in the notification icon is now capped
at "999+" like it is in the expanded notification view.
(Note that this involves a couple of new public framework
resources: one to indicate the number beyond which the
substitution string will be used, and one specifying a
localizable substitution string.)

Bug: 4651514
Bug: 4686329
Bug: 4501990
Change-Id: I0e6bdb6aec4fe5bfc927eb1aba955d444a9414ec
tatusBarIconView.java
olicy/NotificationRowLayout.java
5a3e91f8704f153a191d08c2f27c31ce3b2eaf46 16-Jun-2011 Robert Greenwalt <rgreenwalt@google.com> DO NOT MERGE

backport of change 113518 from honeycomb-LTE. Fixes NPE in the
statusbar.

bug:4518551
Change-Id: I9a85e6799d12052e7bc8c54d651bee789d885a2f
olicy/NetworkController.java
d727cf7e3f35e8217a20fba807d3d9702937f6f4 16-Jun-2011 Michael Jurka <mikejurka@google.com> Merge "Port recent apps from tablet to phone"
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
ommandQueue.java
tatusBar.java
hone/PhoneStatusBar.java
ablet/TabletStatusBar.java
f4b56eaaba388d1503e24e7a5a7b3bed04602bd8 16-Jun-2011 Justin Ho <justinho@google.com> am 40fc6e0d: am c407ef22: am f4096041: Merge "Updated art for compat mode dialog." into honeycomb-mr2

* commit '40fc6e0de578198c9cc5d9a493cb7db77bc938b8':
Updated art for compat mode dialog.
c407ef22222f8f7e6f82abd081ecb65149336f99 15-Jun-2011 Justin Ho <justinho@google.com> am f4096041: Merge "Updated art for compat mode dialog." into honeycomb-mr2

* commit 'f409604122f959653fb789e9133e94a51e369693':
Updated art for compat mode dialog.
abfb5f95cca00a3536117bc8c9decf3bdeae382e 15-Jun-2011 Dianne Hackborn <hackbod@google.com> am 27f889d0: am 3dc1b5e2: am ed31bbf6: Clean up some edge cases in the compat mode UI:

* commit '27f889d07ced48fbc7fa61c41a4a32ec3e1a95f3':
Clean up some edge cases in the compat mode UI:
e25f8336a062a08f87c9280975d8827d75186481 15-Jun-2011 Daniel Sandler <dsandler@android.com> Updated art for compat mode dialog.

Also finalizes on the following language & ordering in the menu:

( ) Stretch to fill screen
( ) Zoom to fill screen

Bug: 4595256
Change-Id: Ie92b1e0d829341fd73043a562e78437af2b128ec
ablet/TabletStatusBar.java
3dc1b5e26fac2c6a6161d617f99fd901ee2ffc9e 15-Jun-2011 Dianne Hackborn <hackbod@google.com> am ed31bbf6: Clean up some edge cases in the compat mode UI:

* commit 'ed31bbf65267c1f383dd0dff37acd034f3b9b59f':
Clean up some edge cases in the compat mode UI:
ed31bbf65267c1f383dd0dff37acd034f3b9b59f 15-Jun-2011 Dianne Hackborn <hackbod@google.com> Clean up some edge cases in the compat mode UI:

- Don't put up multiple dialogs if a switch happens between activities
that both can use compat mode.
- Remove the help dialog if the user switches away from an app that
can use compat mode.
- Don't set the "don't show" preference until the user explicitly hits
the button.
- Hide the compat mode switch UI if the compat mode button is hidden.

Change-Id: I8dd2aab1385a264232a9256284d4a75b8e058e47
ablet/CompatModePanel.java
ablet/TabletStatusBar.java
af4cec33a0f8568ce9f24dbd805c4be483ec8b10 15-Jun-2011 Daniel Sandler <dsandler@google.com> Merge "Swipe to veto in notifications."
d7c8b6d2a4d2ec16f4f61c66f400d8b20726964c 15-Jun-2011 Daniel Sandler <dsandler@google.com> am 2897fc4c: am fbb09347: am 5994bff9: Merge "One-time-only compatibility mode explanation dialog." into honeycomb-mr2

* commit '2897fc4cc320d9fea2c6a81d7e2b05b6b820acf0':
One-time-only compatibility mode explanation dialog.
2932645d9967f63aa716035e40e02af1e6e5aa19 15-Jun-2011 Daniel Sandler <dsandler@android.com> am d163a616: am 2fdf5880: am 97d5081a: Merge "Final UI for compatibility mode." into honeycomb-mr2

* commit 'd163a6162891f0e14d4536460d839262d2693e9a':
Final UI for compatibility mode.
fbb093479362865da833b89643a8f58347278bc3 15-Jun-2011 Daniel Sandler <dsandler@google.com> am 5994bff9: Merge "One-time-only compatibility mode explanation dialog." into honeycomb-mr2

* commit '5994bff92472b3bdcd5754d8a9156b49269a9c1d':
One-time-only compatibility mode explanation dialog.
2fdf5880611c333e172d4e0cc2c4259bca324699 15-Jun-2011 Daniel Sandler <dsandler@android.com> am 97d5081a: Merge "Final UI for compatibility mode." into honeycomb-mr2

* commit '97d5081ac331884fe0f6f2e5814d4862a974fbe3':
Final UI for compatibility mode.
552b1f0d22eea828cfd4f8c721cb5872a988ea7f 15-Jun-2011 Daniel Sandler <dsandler@google.com> One-time-only compatibility mode explanation dialog.

Don't miss it!

Bug: 4595256
Change-Id: I80c0949e6118e3ea3af089d4cad160ce63e7d8ce
olicy/Prefs.java
ablet/TabletStatusBar.java
3b0543acf11ac4638ec5452acc4c1c6716c26880 14-Jun-2011 Daniel Sandler <dsandler@android.com> Final UI for compatibility mode.

Bug: 4595256
Change-Id: Idaa96393fb809c828b5f661f29e8b687fdf3d104
olicy/CompatModeButton.java
ablet/CompatModePanel.java
ablet/TabletStatusBar.java
ablet/TabletStatusBarView.java
7f8d2a63e05cfe2d132ea0db482c9727673ccdd4 15-Jun-2011 Dianne Hackborn <hackbod@google.com> am ca2832bc: am 027e9e28: am 4e04380d: Merge "Fix issue #4592768: Xoom display does not resize when..." into honeycomb-mr2

* commit 'ca2832bc60b986db245ced0e4a2b8a77d4982f32':
Fix issue #4592768: Xoom display does not resize when...
027e9e28b2880b8e50912d7c25e68e8f196bb66b 15-Jun-2011 Dianne Hackborn <hackbod@google.com> am 4e04380d: Merge "Fix issue #4592768: Xoom display does not resize when..." into honeycomb-mr2

* commit '4e04380d0a42347013808ee2058c786582ad548f':
Fix issue #4592768: Xoom display does not resize when...
dad0e40221bc896ff24e2e69247be62da273d737 15-Jun-2011 Dianne Hackborn <hackbod@google.com> Fix issue #4592768: Xoom display does not resize when...

...plugging in HDMI cable connected to a HDMI monitor

Change-Id: If3394e972131aa5124db2d1abf23b2214512773a
ablet/HeightReceiver.java
3fe9cc5ea6a9e1acd52144c8ae6cb0492dba34ba 15-Jun-2011 Dianne Hackborn <hackbod@google.com> resolved conflicts for merge of e95c07bd to master

Change-Id: I9af0c08a9f1c1f68661efe051a66835e850b76f6
7c7f8e18dee8b582ec8e30a1412903ceec2ef5f5 15-Jun-2011 Dianne Hackborn <hackbod@google.com> am 0a8a2324: Merge "Fix issue #4603422: Compatibility mode button doesn\'t always update" into honeycomb-mr2

* commit '0a8a2324239d7604e2a68349585aa67b59b25f4c':
Fix issue #4603422: Compatibility mode button doesn't always update
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
ommandQueue.java
tatusBar.java
hone/PhoneStatusBar.java
ablet/TabletStatusBar.java
98db5fabdad86dca379740d8050697950b9f026c 09-Jun-2011 Jeff Brown <jeffbrown@google.com> Allow touches to slide out of the navigation bar.

Change-Id: I73cabba3d62f47829bf6217700ace56a27c42b1d
hone/PhoneStatusBar.java
ad6352be884b017254698957462fa9156f1afd07 13-Jun-2011 Daniel Sandler <dsandler@google.com> Swipe to veto in notifications.

Yeah, it's pretty cool.

Change-Id: I2a4405a413ba9d1e521aa52a9a8c8e459583f9d0
olicy/NotificationRowLayout.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.
hone/ExpandedView.java
hone/PhoneStatusBar.java
olicy/NotificationRowLayout.java
7bbf6f7d11877496502c20e8998a6984ab05cd39 10-Jun-2011 Dianne Hackborn <hackbod@google.com> am 8297f669: am 3aabdeac: am 5ba2e872: Merge "Fix for not reporting correct "sw" in compat mode." into honeycomb-mr2

* commit '8297f669356ee997c5faa745815e8b9a7009fba7':
Fix for not reporting correct "sw" in compat mode.
3aabdeaceff8405406d90c329a6691552559556d 09-Jun-2011 Dianne Hackborn <hackbod@google.com> am 5ba2e872: Merge "Fix for not reporting correct "sw" in compat mode." into honeycomb-mr2

* commit '5ba2e872fa684c0f1b992a95df00854b58f2cd8c':
Fix for not reporting correct "sw" in compat mode.
48a7651823030ed3c0f4c084b423430044425fea 09-Jun-2011 Dianne Hackborn <hackbod@google.com> Fix for not reporting correct "sw" in compat mode.

Change-Id: Ia225c94b36ccc3589d417aafd5680247678eddfd
olicy/CompatModeButton.java
75790812975bf26a62779342ffc0939ac76f1358 08-Jun-2011 Robert Greenwalt <rgreenwalt@google.com> am 31ced5c1: am 350b7829: Merge "Fix NPE in the statusbar." into honeycomb-LTE

* commit '31ced5c140cae9b3ad90066a540346acd821a3c9':
Fix NPE in the statusbar.
b5b98f877a09907a9a3b0c7e590e6e0ddd575158 08-Jun-2011 Dianne Hackborn <hackbod@google.com> am dfe824ef: Merge "DO NOT MERGE. Experimental compatibility mode UI." into honeycomb-mr2

* commit 'dfe824ef3e5d8b2adac97c667cd51c7dfdb3c7af':
DO NOT MERGE. Experimental compatibility mode UI.
56e6dbd8b16f5bb0b58bad6dee824034783f4ddf 07-Jun-2011 Daniel Sandler <dsandler@google.com> DO NOT MERGE. Experimental compatibility mode UI.

♫ Just another button, for you and me, in the status bar. ♫

(cherry picked from commit 45c0401a0647a5fdc5f37168463c14ad57c5644b)

Change-Id: Ib35d136deadf16f693003b61ea6cfee411f4aa3d
olicy/CompatModeButton.java
ablet/TabletStatusBar.java
45c0401a0647a5fdc5f37168463c14ad57c5644b 07-Jun-2011 Daniel Sandler <dsandler@google.com> Experimental compatibility mode UI.

♫ Just another button, for you and me, in the status bar. ♫

Change-Id: I11ecac63341d4c421dbaffba931861605ebad286
olicy/CompatModeButton.java
ablet/TabletStatusBar.java
acab04dfc16f0ad08ecd167ae759c158cea2e19f 07-Jun-2011 Robert Greenwalt <rgreenwalt@google.com> Fix NPE in the statusbar.

Happens for some reason when switching between LTE and CDMA. Filing separate
bug about why we see the null ServiceState in that case, but it revealed
this one use which wasn't checked for null.

bug:4518551
Change-Id: If8f9a89658a7165d79f96cad7d99cbf670e96ae7
olicy/NetworkController.java
678d344bcb5c7981b5033cdf8070c58783ded01b 03-Jun-2011 Dianne Hackborn <hackbod@google.com> resolved conflicts for merge of b9e2f68b to master

Change-Id: Icb68aee4c68170f0e7cd7854dbaa61656a349142
3fc1f85a37571b2609184e88bedfb929fa7bd22f 03-Jun-2011 satok <satok@google.com> resolved conflicts for merge of 7e2181c0 to master

Change-Id: Ifc3efad0c8ccf9bb880f53eeced39a5a91344af0
ed60f81940c5f2125518c7c31ad4f61b8a9baf3e 02-Jun-2011 Dianne Hackborn <hackbod@google.com> resolved conflicts for merge of 76450622 to master

Change-Id: I26ccd8f264e65f100d894f43cf597a781552db83
4f31353cb3b00c77c9420ef27ec949fd570ede3b 01-Jun-2011 satok <satok@google.com> Add an api to get the display name for InputMethodSubtype

Bug: 4321667

Change-Id: I55aa844ff33dae0cf8ef00072e87727992eb77c1
ablet/InputMethodsPanel.java
13e2bef4f67c5bc5ce93aade1431ae3332d361f0 01-Jun-2011 Dianne Hackborn <hackbod@google.com> am 80cf4e79: Merge "Fix issue #4500511: Holo effect background doesn\'t reach top of screen anymore" into honeycomb-mr2

* commit '80cf4e79d2acd1f94b6a9866255459c6ab2760be':
Fix issue #4500511: Holo effect background doesn't reach top of screen anymore
a239c84525795ffc1828b545aa8069af88d26a71 01-Jun-2011 Dianne Hackborn <hackbod@google.com> Fix issue #4500511: Holo effect background doesn't reach top of screen anymore

Change-Id: Iebefe924e71206f3e6388eaee64f7b1416bc3239
ablet/TabletStatusBar.java
7052f307f4140f2de67e2305ef258fd4b0ee3131 01-Jun-2011 Joe Onorato <joeo@google.com> am 7f818d0a: am 94a06bd8: am 6fb093b1: Merge "Move status bar icons to sw600." into honeycomb-mr2

* commit '7f818d0a97ecd7793811ff5549a4b67521d93f49':
Move status bar icons to sw600.
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
hone/NavigationBarView.java
hone/PhoneStatusBar.java
93b05690ff006fa3f96ed5e09031e18d529ae794 28-May-2011 satok <satok@google.com> am 5485ff61: Reduce the number of notification icons on narrow screens.

* commit '5485ff6141ccebad2c171a9a51ffdbcb72703bd7':
Reduce the number of notification icons on narrow screens.
5485ff6141ccebad2c171a9a51ffdbcb72703bd7 27-May-2011 satok <satok@google.com> Reduce the number of notification icons on narrow screens.

For devices with minimum width between 600 and 720 dp, show
only 3 icons (and then, only in portrait). All other
configurations will show 5.

Bug: 4501374
Change-Id: I88168560fc2876c26cd3eb57f2db0b0cfe8b4fdd
ablet/TabletStatusBar.java
d5238cc1ab8366389b2aada228f2f2e5cbb3244e 26-May-2011 Dianne Hackborn <hackbod@google.com> am 7a09f72b: Merge "Rework how we decide whether to use system or status bar." into honeycomb-mr2

* commit '7a09f72b8850ec22e4ca7fd50aba20ead7666f67':
Rework how we decide whether to use system or status bar.
81e56d535c853d73ff537357da5b935f51cb779d 26-May-2011 Dianne Hackborn <hackbod@google.com> Rework how we decide whether to use system or status bar.

The PhoneWindowManager is now responsible for determing this,
since it needs to do this before we can generate the configuration
since we need to take into account the system bar size we will use.

Also the Display should now report the screen height without
including the system bar.

Change-Id: I82dfcc5e327e4d13d82c373c6c870f557a99b757
ablet/TabletStatusBar.java
80ef2a9745e6103efd9698577536bbfed1fd74f6 26-May-2011 Dianne Hackborn <hackbod@google.com> am 42f8094c: Merge "Spiffy new compatibility mode UI." into honeycomb-mr2

* commit '42f8094c066209a65b09d53611ef5c93daba4c51':
Spiffy new compatibility mode UI.
42f8094c066209a65b09d53611ef5c93daba4c51 26-May-2011 Dianne Hackborn <hackbod@google.com> Merge "Spiffy new compatibility mode UI." into honeycomb-mr2
36cd41f8efa6f6a683d3353d309ff548295af9e9 26-May-2011 Dianne Hackborn <hackbod@google.com> Spiffy new compatibility mode UI.

Change-Id: I1207eaafae59a434fcc979ad60a83e2d685288af
ablet/RecentAppsPanel.java
94a06bd8db0d19be3108bd2ee709373f80318c8b 26-May-2011 Joe Onorato <joeo@google.com> am 6fb093b1: Merge "Move status bar icons to sw600." into honeycomb-mr2

* commit '6fb093b14bb1bf4b933a5f624b03085977d12ff9':
Move status bar icons to sw600.
07949e908295d0857183830d48c84cb75ac4ff8b 26-May-2011 Joe Onorato <joeo@google.com> Move status bar icons to sw600.

Change-Id: Idb85252b30cca90704f1cfebb7abce522e21b8a3
ablet/TabletStatusBar.java
9f0f0e0e3100caec459a5b5ef836317844c83b3f 18-May-2011 Jim Miller <jaggies@google.com> First pass at integrating new ScrollView-based recents panel.
- added layout transitions
- now calls removeTask() for selected activity.

Change-Id: Ie57b3d79551353a564bb2e4da26243a10bb0198d
ablet/RecentAppsPanel.java
ablet/TabletStatusBar.java
3d0724dc220a2e027b9e38f61c39c84c28a505d5 13-May-2011 Dianne Hackborn <hackbod@google.com> resolved conflicts for merge of 0e59729b to master

Change-Id: I2d3a6bddf66b1df0c101c45ea2fec1cf65caf01b
972808164adde6c0784e9c836d06219a9cf7eb7f 13-May-2011 Dianne Hackborn <hackbod@google.com> am 0f1de9ad: New compat mode front end: UI and persistence.

* commit '0f1de9adde0b52d2a385a76232bd7ac30c3eeea2':
New compat mode front end: UI and persistence.
0f1de9adde0b52d2a385a76232bd7ac30c3eeea2 12-May-2011 Dianne Hackborn <hackbod@google.com> New compat mode front end: UI and persistence.

Adds a really crappy UI for toggling compat mode.

Persists compat mode selection across boots.

Turns on compat mode by default for newly installed apps.

Change-Id: Idc83494397bd17c41450bc9e9a05e4386c509399
ablet/RecentAppsPanel.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
hone/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
ommandQueue.java
hone/NavigationBarView.java
hone/PhoneStatusBar.java
ablet/TabletStatusBar.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
hone/PhoneStatusBar.java
f639533484c8d783c7ac7b7231da5051b6189a8e 04-May-2011 Glenn Kasten <gkasten@google.com> am a98bcdf6: am 3b698d18: am 9d8c6215: Merge "Account for race condition when attaching HDMI." into honeycomb-mr1

* commit 'a98bcdf61dda9d64b4f584ce34c76df79409916a':
Account for race condition when attaching HDMI.
3b698d181b7f165c9b31f7d74be19a5ed7575347 04-May-2011 Glenn Kasten <gkasten@google.com> am 9d8c6215: Merge "Account for race condition when attaching HDMI." into honeycomb-mr1

* commit '9d8c6215d1aedb1e9f2e10c63e737427f13be884':
Account for race condition when attaching HDMI.
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
hone/NavigationBarView.java
hone/PhoneStatusBar.java
e97528ee9ea1b32a8a7fd5e9a199ef5361c16738 26-Apr-2011 Daniel Sandler <dsandler@android.com> Account for race condition when attaching HDMI.

The status bar figures out how tall it needs to be by
subtracting 720 (for 720p HDMI output) from the display
height. However, if the display is in the process of
rotating to portrait when HDMI is attached (or for whatever
other reason dispatches the HDMI_PLUGGED_STATE before the
display has been rotated to landscape) this computation will
be wrong.

The quick fix is to compute the status bar height as
shortSide - 720 rather than height - 720.

Bug: 4284690
Change-Id: I3715264a9e32af1299777ccdbdc22ca60926cc79
ablet/HeightReceiver.java
0c5001d776d56bae02a5cc2663286a125d99bc5e 13-Apr-2011 Dianne Hackborn <hackbod@google.com> Add APIs to remove tasks.

You can remove sub-tasks inside of a task, or an entire task.

When removing an entire task, you can have its process killed
as well.

When the process is killed, any running services will get an
onTaskRemoved() callback for them to do cleanup before their
process is killed (and the service possibly restarted).

Or they can set a new android:stopWithTask attribute to just
have the service automatically (cleanly) stopped at this point.

Change-Id: I1891bc2da006fa53b99c52f9040f1145650e6808
ablet/RecentAppsPanel.java
f26fd99a7c2f554b0297760bb66336473c7db61f 09-Apr-2011 Dianne Hackborn <hackbod@google.com> Rework thumbnails in activity manager.

We now only keep a thumbnail for the task, not for each
activity. However if you use FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET,
we will make a new secondary thumbnail for that series of
activities. There is a new API for the app to get these
secondary thumbnails.

Also set a default thumbnail size for non-xlarge screens
so we have thumbnails on phones. (We need some smarter
code in the platform for computing the actual thumbnail
dimensions of the current device). And add a test app
to show recent tasks + thumbnails.

Change-Id: Ic36759f6635522118a2cb7f156662229a610c492
ablet/RecentAppsPanel.java
4502636629ebb3f2ebb8521241c364666d1d7345 17-Mar-2011 Daniel Sandler <dsandler@android.com> am 8f5cab8b: Merge "Remove logspew." into honeycomb-mr1

* commit '8f5cab8b31014a261f4e6e12e6d751de51de37c3':
Remove logspew.
8d5d19c99084bc6720172e221fd7bec7656004fd 16-Mar-2011 Daniel Sandler <dsandler@android.com> Remove logspew.

Bug: 4114202
Change-Id: I88de0f98bb33f0d1258b702169d754e98648e403
olicy/NetworkController.java
9d7d62801ddb206d2ea96d74864a9edfe54d2eee 12-Mar-2011 Wink Saville <wink@google.com> Do not merge: Revert the revert of "LTE Changes for Telephony including Multiple PDN support and IPV6 support"

This reverts commit eca208fae6d1b6ae9c8c0e42eee092e86dbddbb7
and is the first of the LTE commits in master being back ported
to the LTE branch.

Change-Id: I17d4a1b779ed74bc7dfb409d2c1a30f60fdb27c7
hone/PhoneStatusBarPolicy.java
olicy/NetworkController.java
olicy/TelephonyIcons.java
f32621aded6858b8712511ee30313c94934e009d 11-Mar-2011 Joe Onorato <joeo@google.com> Wire up the data activity reporting on wifi icon in status bar.

Bug: 3412258 and #6699FF
Change-Id: I11142f1cd5a2a60045b2a1fea371b2ead2aa81b4
olicy/NetworkController.java
e70d506ab329f1f96b0ee132317aa36edea1b94e 09-Mar-2011 Jim Miller <jaggies@google.com> Fix 4027057: Improve resolution of RecentApps thumbnail images.

This fix ensures captured thumbnails in portrait mode have the
same resolution as those in landscape by fixing the horizontal
resolution and vertical resolution of the target image.

The returned image is now always the same size and matches
the landscape screen exactly. In portrait mode, it grabs
the upper portion of the screen based on the vertical dimension
of the target image.

Change-Id: I203c39843f2f21ca28f6ef0dffec308ce5cb39fb
ablet/RecentAppsPanel.java
ec1f1f4cfc6e253cee4320fe33a385d2218a9bb2 07-Mar-2011 Daniel Sandler <dsandler@android.com> Merge changes I674abfcc,Ia40f4c53 into honeycomb-mr1

* changes:
When the user touches a peeked notification, reset the fadeout timer.
Fix touches on glowing region around panel.
663f0f2da9fd57916d5c575a264d8afe7743eb4a 04-Mar-2011 Daniel Sandler <dsandler@android.com> When the user touches a peeked notification, reset the fadeout timer.

We do this regardless of whether there are custom controls
mostly to keep things simple.

NB: This change also reduces the fade time to 3sec from 5,
which has always seemed too long but was necessary to make
interacting with Music possible. Now that you can keep a
notification open arbitrarily long by putting your finger on
it, a shorter timeout is acceptable.

Bug: 3456677
Change-Id: I674abfcc0fa757f838b98ed9d5d46ba785a95cfa
ablet/NotificationPeekPanel.java
ablet/TabletStatusBar.java
761eb3762f3602dd1859905ee4ba80f0ef6aec56 04-Mar-2011 Ken Wakasa <kwakasa@google.com> Fix the sort order of the input methods & subtypes in the settings.

It should have been the same as how the IME switcher panel does.

bug: 3364167
Change-Id: I48b98c9c4598720edf7cf09d1b9358a9ebed6051
ablet/InputMethodsPanel.java
eca208fae6d1b6ae9c8c0e42eee092e86dbddbb7 03-Mar-2011 Wink Saville <wink@google.com> DO NOT MERGE: Revert "LTE Changes for Telephony including Multiple PDN support and IPV6 support"

This reverts commit 2b8bcfe5b74e1a34d136f4ff46e3c94397f38f82.

Change-Id: Ifc4e9aaccb54e065a36380710694cd6e4d347636
hone/PhoneStatusBarPolicy.java
olicy/NetworkController.java
olicy/TelephonyIcons.java
89d576d63d1a957c6aa91d698a01b8a8f456f32b 03-Mar-2011 Patrick Dubroy <dubroy@google.com> Merge "Make sure we send a cancel event on system bar keys."
5ee1a3daf0fb274b2a5fdea797748b569495a621 03-Mar-2011 Patrick Dubroy <dubroy@google.com> Make sure we send a cancel event on system bar keys.

Change-Id: Ia444a7cb1ff56ab5d063995bd467fc4b4169985f
olicy/KeyButtonView.java
134fa4489ee7d4a06385fe75d3ca82dcb8139bb4 03-Mar-2011 Daniel Sandler <dsandler@google.com> Merge "Pressed states for the notification panel's title area."
8f491b5fbc0956bd2e3e050b73acb36a4c3f493e 03-Mar-2011 Daniel Sandler <dsandler@google.com> Pressed states for the notification panel's title area.

Finally, some feedback that you can tap on the thing.

Also tweak the veto press state PNG so you can see that it
has a pressed state.

Bug: 3328753
Change-Id: I5c3b826fae66e480784477f844c6585bef1a0b60
ablet/NotificationPanel.java
67edceb096d5a49c79183102b8e22d9e6ba97da5 03-Mar-2011 Jim Miller <jaggies@google.com> Fix 3504984: Use overscroll fade in Recents.

Change-Id: I3a5bdc53876edd01d8a0022be4d0a0ed38864eed
ablet/RecentAppsPanel.java
f08c117f0997b9b22ac7ec0b6c8c2e265bc587c1 02-Mar-2011 Daniel Sandler <dsandler@google.com> Merge "resolved conflicts for merge of 49853dc1 to master"
123d9cf7a94f5f59b5ecd84c9c2357b4ade69388 02-Mar-2011 Daniel Sandler <dsandler@google.com> resolved conflicts for merge of 49853dc1 to master

Change-Id: I0d56965740d1273841e33cfc5db57b4df05915d1
5920f153e763b62bbc2ddb35f624a1241180575e 02-Mar-2011 Daniel Sandler <dsandler@google.com> Invert sense (and text) of rotation lock switch.

It now reads "Auto-rotate screen" to be more consistent with
the Settings app.

Bug: 3427583
Change-Id: I58d90a6b875cfa99b03995aea4c7ebfc7751e9cf
olicy/AutoRotateController.java
0ffc2306ddbfe30291c89286287f9fc75658c409 02-Mar-2011 Daniel Sandler <dsandler@google.com> Remove logspew.

Change-Id: Ib47abbd6111e990e4a92c504d9a3859d0240905e
ablet/NotificationPanel.java
21eb86a5c464205155a9ea14486113055c2dffc9 02-Mar-2011 Daniel Sandler <dsandler@google.com> Bring back some status bar animations.

Change Ie817b396 removed the layout transition from the main
status bar, fixing a number of weird bugs caused by the
translations on CHANGE_APPEARING and CHANGE_DISAPPEARING.

This change restores the layout transitions, but only the
alpha fade on APPEARING and DISAPPEARING. Doing this should
bring back the useful part of the status bar animations
(i.e. things fading in & out) without the buggy part (things
sliding around to make room for the things fading in & out).

Additionally, these fade-only layout transitions are now
properly applied to the clock/notification area (when
bringing up the notifications panel) and the icons within
the navigation cluster (so the legacy MENU key will fade
in).

Bug: 3503960
Bug: 3489129
Change-Id: I1ea433c41f2f930342ae2486505b0fee19709f9c
ablet/TabletStatusBar.java
d7ba12135bf3e1985961a75648f80bb9eb121e1e 02-Mar-2011 Daniel Sandler <dsandler@google.com> Merge "Make with the clicky. (Status bar buttons now play FX.)"
b43838fd7ac5e152ebd8ca28420aca1fb743645f 02-Mar-2011 Jim Miller <jaggies@google.com> Merge "Fix 3500730: Prevent NPE cause by clicking on footer view"
b5a2b29a6495d0326ebea58f98af7edf49b4ae24 02-Mar-2011 Jim Miller <jaggies@google.com> Fix 3500730: Prevent NPE cause by clicking on footer view

This fixes a crash caused by clicking in the footer view
by making it not selectable.

Also, don't hide home and recents button, per request from UX.

Change-Id: Ie3348c8f5d699841aa76fd7abe889b2b329c7b0b
ablet/RecentAppsPanel.java
ablet/TabletStatusBar.java
aa051d66afa791872bfe362a94765dece07cd4c5 01-Mar-2011 Daniel Sandler <dsandler@google.com> Make with the clicky. (Status bar buttons now play FX.)

Now sending accessibility events and playing click noises:
- Home
- Back
- Notification icons (if you tap; tap-and-hold/scrub is
silent)
- the clock area

I also added touch slop to the main nav buttons (should have
been there all along).

Bug: 3422943
Change-Id: Ib5ee1d3a7c79e60e05377715092cde3f7678ddcf
olicy/KeyButtonView.java
ablet/TabletStatusBar.java
bd15112a29eefb93e62235574b694746044c9261 24-Feb-2011 Mike Corrigan <michael.corrigan@motorola.com> Fix the display priority of the airplane mode icon.

The airplane icon is used as a fallback when no
other radios are available *and* the AIRPLANE_MODE_ON system
setting is set to 1. (NetworkController now tracks changes to
the setting via ACTION_AIRPLANE_MODE_CHANGED broadcasts.)

This fixes wifi-only devices, for which the previous logic
did not correctly and consistently detect airplane mode.

Bug: 3489820
Change-Id: I226bb0e977f6a5fd3f2d829ba51ca54c5c910ef3
olicy/NetworkController.java
fab337648df339b1a1fea4fa97d8217760435d56 01-Mar-2011 Daniel Sandler <dsandler@google.com> resolved conflicts for merge of cfeaa492 to master

Change-Id: I6ee4e3f822cb91008b1ca64ab9a6673278e501e0
7eae7a97bc78b1a03b3df2444c6cdff9808d536a 28-Feb-2011 Jim Miller <jaggies@google.com> Merge "Fix 3386135: Make recent apps scrollable with more entries"
5fda69cf1e7cad4d40f80203e5f790595f66e840 17-Feb-2011 Jim Miller <jaggies@google.com> Fix 3386135: Make recent apps scrollable with more entries

Summary of changes:

Switched to using a ListView to contain recent apps.

Increased DISPLAY_TASKS to show up to 20 recent applications.

Moved some parameters to dimens to make them more customizeable
by partners and by device and configuration.

Adjusted size of composited thumbnail to accomodate new thumbnail
background asset.

Hide IME buttons in TabletStatusBar while RecentApps panel is showing.

Use new drawable for selection.

Restore list position on orientation change.

Change-Id: If8c26869b7e70f82c097870c6c1b928b959a4685
ablet/RecentAppsPanel.java
ablet/TabletStatusBar.java
9a7c7129760ac89ffebf3dd3b508ff755ecff844 25-Feb-2011 Daniel Sandler <dsandler@google.com> When out of range, show device-appropriate no-signal bars.

Also, start using the 0-bars WiFi icon when necessary;
previously, one bar was the lowest the WiFi icon could show.

Bug: 3488403
Change-Id: I3018685db3cf302d10c5e525a7d2c90f3c664f10
olicy/NetworkController.java
olicy/WifiIcons.java
2b8bcfe5b74e1a34d136f4ff46e3c94397f38f82 25-Feb-2011 Wink Saville <wink@google.com> LTE Changes for Telephony including Multiple PDN support and IPV6 support

Added init for CDMAPhone.java

Change-Id: I2392b5ad3382ee1993537b8477ef00dd036c6fe9
hone/PhoneStatusBarPolicy.java
olicy/NetworkController.java
olicy/TelephonyIcons.java
f36ec34f40b0dc8ff37eaa97d5c5f70fc95b4779 25-Feb-2011 Daniel Sandler <dsandler@google.com> Merge "Notification flyover tuning:"
551df778f9f25a4763bff06be75106fa8ce2a78a 24-Feb-2011 Daniel Sandler <dsandler@google.com> Merge "Remove commented cruft, TODOs, and dead code."
56a6d880125906df588e7a973085501d588b18eb 23-Feb-2011 Daniel Sandler <dsandler@google.com> Notification flyover tuning:

- Swipe up on icons or clock to show notifications (3258623)
- Hide notification flyover immediately on tap (3410278)

Bug: 3258623
Bug: 3410278
Change-Id: Ide038e69bb800f744dbb79383246b7b416f06bba
ablet/TabletStatusBar.java
ece945291e04ea8493895349ed95a2ab46b51c93 24-Feb-2011 Patrick Dubroy <dubroy@google.com> Fix 3272590: Long-press on home & menu should be same as click

Change-Id: I151571900f4bb63910ccfb77fc64c8be9676a224
olicy/KeyButtonView.java
3a2fdedf693cca9146af8fd463e20cca5a2d1e20 23-Feb-2011 Daniel Sandler <dsandler@google.com> Remove commented cruft, TODOs, and dead code.

Change-Id: I86c953941fe24655f52177474ef39b7f92aa53fa
ablet/TabletStatusBar.java
282ff9ae3f798dec325ce6b868f053649b596a8c 23-Feb-2011 Daniel Sandler <dsandler@google.com> Fix issues with DND display in status bar.

Bug: 3478116
Bug: 3480339
Change-Id: I513f0c2696dc3fe5aa3a6f071f1e4793f9f9645c
ablet/TabletStatusBar.java
5284090631e638b916d9a453212e9dc802656a67 18-Feb-2011 Wink Saville <wink@google.com> Changes for ril.h version 6.

Change-Id: Iacd9d362c4836546ac277cf3571227d426a721aa
hone/PhoneStatusBarPolicy.java
olicy/NetworkController.java
ce6ff6403428069004e53651ea3b870a6bc67bb4 18-Feb-2011 Daniel Sandler <dsandler@google.com> Visual indication of do-not-disturb mode in system bar.

Bug: 3408005
Change-Id: I934a6684bb3e90e2ada848872b5670f6b6e3e055
ablet/TabletStatusBar.java
3ca6d6bbfe614312ad936bce9ab5805615103267 17-Feb-2011 Irfan Sheriff <isheriff@google.com> Merge "data activity reporting on wifi"
227bec49157bc496f7c9e8e8f63c12728a448922 16-Feb-2011 Irfan Sheriff <isheriff@google.com> data activity reporting on wifi

Initial checkin, need icons to complete the feature

Bug: 3412258

Change-Id: I9a3ecc8159cc314d84707065dafe23d402409a84
olicy/NetworkController.java
d94df45b3d1ab4004ef517acfc56a9310330f8d8 17-Feb-2011 Dianne Hackborn <hackbod@google.com> Rework thumbnail API to not suffer from IPC failures.

Thumbnails are now requested separately, so we don't exceed the
IPC buffer size limit.

Also implement issue #3349553: Please provide a hook to intercept
fragment-breadcrumb clicks

And maybe fix issue #3439199: Music Notification does not turn on
when app switching out of Music app

Change-Id: Ie939e78cc8ded07b18112760e053185947549f61
ablet/RecentAppsPanel.java
439f5c6b39fe648da835d4c86dfcffed0f46dd94 16-Feb-2011 Daniel Sandler <dsandler@google.com> Merge "Fix NPE."
bec7d63c9cad875bb127786d61ee34b4d609db59 15-Feb-2011 Daniel Sandler <dsandler@google.com> Fix NPE.

I believe this is the result of a race condition involving multiple tickers under load. The fix simply guards against the null pointer.

Bug: 3448450
Change-Id: Icc78c89890f0a41c574f7077b1b450e9fd4ca28b
ablet/TabletTicker.java
e2a50b9c2e45218345d5e1e26e7b664407496b24 15-Feb-2011 satok <satok@google.com> Add the Id of InputMethodInfo at the tail of Application label at sorting InputMethods

Change-Id: I632a715e94712b4f2197d5981b691d49a9de89f2
ablet/InputMethodsPanel.java
c1afcf06f8f0652b572653e9fdef6e157327024a 10-Feb-2011 Daniel Sandler <dsandler@google.com> Put the pocket back in my pocket for later.

Change-Id: Ifa6b540abede35ba92ab6721274655aef1458fbc
ablet/TabletStatusBar.java
1cfe75301724d324c4f2e216dfef09ca2a474025 08-Feb-2011 Daniel Sandler <dsandler@google.com> Bringing back the pocket.

Bug: 3203179
Change-Id: Ic1513ae9cbc502e328bcf484f83198f2c12102a2
ablet/ShirtPocket.java
ablet/TabletStatusBar.java
e28d3e1c417fac3ebb0ccdc383c34830550c072b 07-Feb-2011 Romain Guy <romainguy@google.com> am 7846d403: am 1c0ab385: Merge "Open the location settings when clicking the GPS notification." into honeycomb

* commit '7846d4039ffa42583021152863c245eedcf0d46a':
Open the location settings when clicking the GPS notification.
32cd1d5053fdca49463adc83adb7b7dad13904e0 07-Feb-2011 Daniel Sandler <dsandler@google.com> resolved conflicts for merge of 31796297 to master

Change-Id: Ice632b3378f8f67c186245fdb63b022ade864ba1
76324fcabecc1bd6977b3f6242efe65e60688319 04-Feb-2011 Andy Stadler <stadler@google.com> Fix warnings

* wrong package vs. file path (this was an error in eclipse)
* unused imports
* unused variables (at least for now)

Change-Id: Ic316e7e8586f75df5a048e98a21a65abf777deda
ablet/PanelBackgroundView.java
e5e764ad0bb74d8c1405d018b4e0fe92d6554660 04-Feb-2011 Romain Guy <romainguy@google.com> Open the location settings when clicking the GPS notification.

Change-Id: I4203d75b7d18ab61f1f8e77452440bdc47161a10
olicy/LocationController.java
e40451a89dc91dfd636af7cb32a23b4a4cc93fdc 03-Feb-2011 Daniel Sandler <dsandler@google.com> Ongoing notification for GPS use.

This change improves upon the notification priority API
introduced in change I9e738cc4, allowing privileged clients
to set the priority of a notification when posting it
directly to INotificationManager. StatusBarTest is updated
to test this new feature.

The new LocationController in SystemUI uses this facility to
post a high-priority ongoing notification whenever GPS is in
use (replacing the functionality of the legacy GPS status
bar icon).

Also happens to fix http://b/3325472 (adding a log message
when notifications are dropped because of a missing icon).

Bug: 3412807

Change-Id: I523016ffa53bf979be98ddc4a2deb55a6270c68a
olicy/LocationController.java
ablet/TabletStatusBar.java
a31e4190cb44eaa51bb8dee7d715fcd72d6c0b03 03-Feb-2011 Daniel Sandler <dsandler@google.com> Implement priority ordering in notifications.

Ongoings are the only notifications currently given higher
priority (and it's in an internal data structure, not a
public API, so fear not about abuse---this will be no worse
than on the phone where ongoings floated to the top).

The only thing left is to give privileged customers a way to
alter the priority of their notifications.

Bug: 3412807
Bug: 3146719
Change-Id: I9e738cc413982845cf4858faa8ccd0a7dbf3187c
otificationData.java
ablet/TabletStatusBar.java
fce2bf3735177828ccf823b49d3396dfaccc8fd4 02-Feb-2011 Joe Onorato <joeo@google.com> Add a bluetooth icon and data direction to the status bar.

Bug: 3354414
Change-Id: I21cc9a2597e3b22bc5860a042d8a8cc4e93ca5b3
olicy/BluetoothController.java
olicy/NetworkController.java
ablet/TabletStatusBar.java
8f4fe8fe17499362bfa5b922a509fc9c61ca4b71 01-Feb-2011 Joe Onorato <joeo@google.com> Merge "When the data flows, the icon glows." into honeycomb
c198bb1db8c16789a815b5fa2b393e113047bd47 01-Feb-2011 Joe Onorato <joeo@google.com> When the data flows, the icon glows.

Bug: 3354414
Change-Id: I1734c8f63d02731d7194364ce7cb692d6de820ac
olicy/NetworkController.java
olicy/TelephonyIcons.java
e385f0c771e5338200486bdca82088ad6f3a9c97 31-Jan-2011 Tadashi G. Takaoka <takaoka@google.com> Update hard keyboard status on closing input methods panel

Bug: 3391067
Change-Id: Ib337cea0031020ab7ca019b30cd2ceb47a7664d5
ablet/InputMethodsPanel.java
ablet/TabletStatusBar.java
cb9d4d28be41c72a8c6f254bf8fdaac5f41e0b6f 31-Jan-2011 Daniel Sandler <dsandler@google.com> Merge "Kill spurious animations when vetoing notifications." into honeycomb
1c9debfb18acae293dff5ce02bb200d2a6b04ba9 31-Jan-2011 Tadashi G. Takaoka <takaoka@google.com> Fix hardware keyboard switch listener

Bug: 3391067
Change-Id: I64ae55652afedee60a70bc140cfb328b04bc8c83
ablet/InputMethodsPanel.java
2c83180e70155a9c56796bc01ff345e35dc94ff8 31-Jan-2011 Daniel Sandler <dsandler@google.com> Kill spurious animations when vetoing notifications.

Bug: 3406032
Change-Id: I6da6ee064d309bc44f6304722c5f3f4e05aaf687
ablet/NotificationPanel.java
71a22b3bc7cb4a721378ef38d43bce94f5b0e5bd 30-Jan-2011 Daniel Sandler <dsandler@google.com> Merge "Dismiss the ticker early if the status bar is tapped." into honeycomb
f2057d907b5d9c75086337e840f70b5061b2a5aa 30-Jan-2011 Joe Onorato <joeo@google.com> Merge changes I09e8c4eb,I91a0e05f into honeycomb

* changes:
Use a DateFormat that fits.
Update the network info when the configuration changes.
0c953f68f54b5ff13b002f8e054537cafb29677e 30-Jan-2011 Joe Onorato <joeo@google.com> Use a DateFormat that fits.

Bug: 3405724
Change-Id: I09e8c4ebf1d0142b8737fc1bf9500dee320332b7
olicy/DateView.java
2ed08d2e70250517e5578dd650c96b14aacf9ba5 30-Jan-2011 Daniel Sandler <dsandler@google.com> Dismiss the ticker early if the status bar is tapped.

Tapping the ticker will still launch the notification's
contentIntent, but tapping anywhere else in the bar will
immediately hide the ticker.

Bug: 3365129
Change-Id: Ic1abd38fd4c5bdf32f3586b4e4aa5b833b11a9bd
ablet/TabletStatusBar.java
ablet/TabletStatusBarView.java
99641836d88044cafd3cac78f1c055beef3161b0 30-Jan-2011 Joe Onorato <joeo@google.com> Update the network info when the configuration changes.

Bug: 3405559
Change-Id: I91a0e05f2e6d1c7766b89ba4f96d87ce07783318
olicy/NetworkController.java
3c89f6d1bd0821d0ae0205a5b48176156735aaac 30-Jan-2011 Jeff Brown <jeffbrown@google.com> Merge "Add "Use physical keyboard" option to system bar IME button." into honeycomb
8c9891840aa26e788750e8b2f12bbbb0bae0f9f3 30-Jan-2011 Daniel Sandler <dsandler@google.com> Fix broken intitial notification panel animation.

I also tuned the animation parameters a bit to get things to
look just a tiny bit smoother. The first run is still jerky
but it's not jumping all over the place in the wrong
direction.

Bug: 3404950
Change-Id: Id10c52f227e6d2db428dc860097023560d154356
ablet/NotificationPanel.java
19eecb028fe094e5f41d9ddeb1e6aac1d096da43 29-Jan-2011 Robert Greenwalt <rgreenwalt@google.com> Merge "Don't use mobile networktype icon if not connected" into honeycomb
2992ea782fa61780d8e0de7a36a2a84622f8694b 29-Jan-2011 Jeff Brown <jeffbrown@google.com> Add "Use physical keyboard" option to system bar IME button.

Bug: 3391067
Change-Id: I136087ca4f726d0068d5983d7d3686787ba60c55
ommandQueue.java
tatusBar.java
hone/PhoneStatusBar.java
ablet/InputMethodButton.java
ablet/InputMethodsPanel.java
ablet/TabletStatusBar.java
40cdd9b65091f402ae229a15cf001826b317d1c9 29-Jan-2011 Robert Greenwalt <rgreenwalt@google.com> Don't use mobile networktype icon if not connected

bug:3398345
Change-Id: I0e8beb54e909e02bc551c54d65c5fed8e4e8cb10
olicy/NetworkController.java
cfd0bafdebf1fccd3f5a0baed5cad8a539546e9b 28-Jan-2011 Joe Onorato <joeo@google.com> Merge changes Iaa7bc042,Icc312fc9,I50ba06ed into honeycomb

* changes:
Make keyguard also ask to turn the back button off, now that it is controlled separately.
Allow independent control of the back and the other navigation buttons.
Allow the status bar disable flags to be used as View's system ui visibility fields.
94eb3d0f7e77eb94c9fee8523c013fbc0f9032c4 28-Jan-2011 Joe Onorato <joeo@google.com> Merge "Plumb whether an input view is actually visible or not through from the IME to the status bar." into honeycomb
d72015505eace31b5b35ecc78b42f0d8c083399c 28-Jan-2011 Daniel Sandler <dsandler@google.com> Allow taps to once again penetrate the darkness.

(Tapping on the lights out shadow will now immediately show
the system bar in addition to informing the StatusBarManager
that the system UI chrome should be shown. This allows an
ACTION_DOWN to reach the back/home/whatever buttons even if
it was originally invoked when the lights were out.)

Bug: 3400262
Change-Id: I9b1b5240c003ad510fd65cb606728850d705ef33
ablet/TabletStatusBar.java
6478adc6b4c35f8c56176582bcde029998e7436f 28-Jan-2011 Joe Onorato <joeo@google.com> Allow independent control of the back and the other navigation buttons.

Bug: 3363046
Change-Id: Icc312fc9ffbf2f584dc541489c9769b07ed50315
ablet/TabletStatusBar.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
ommandQueue.java
tatusBar.java
hone/PhoneStatusBar.java
ablet/InputMethodButton.java
ablet/TabletStatusBar.java
17945d0e05c8a4b0aa59032bc054b942c20d9472 28-Jan-2011 satok <satok@google.com> Merge "Update InputMethodPanel when locale was changed." into honeycomb
cf5f6d107a50f8b859158adc00254df72a1aec7e 27-Jan-2011 satok <satok@google.com> Update InputMethodPanel when locale was changed.

Bug: 3400950

Change-Id: I2229f175ec03084dd689fbd0f0c5a187b78ead33
ablet/InputMethodsPanel.java
49371adaca31955b75fcc414f701b51da0595680 28-Jan-2011 Daniel Sandler <dsandler@google.com> Attenuate notification icons in the system bar.

(Tunable by adjusting the alpha value of
notification_icon_area_smoke.)

Bug: 3395373
Change-Id: Ia8e257a451b2cb4c0e73ff3f4a77b380b193ef35
ablet/NotificationIconArea.java
e2c251b564a46a8f7352094ba8a61d46dc6b676f 28-Jan-2011 Daniel Sandler <dsandler@google.com> Tapping the ticker again activates the notification.

(Previous behavior: the tap would pass through to the clock,
which would open the shade. Only sometimes it wouldn't,
because you'd have hit the left-hand-side of the ticker
where there's no clock underneath. So this fixes that too.)

Additionally, tapping the ticker will now immediately
dismiss the ticker.

Bug: 3365129
Change-Id: Ic641184c518b18d799a560c8da6b4c5844c912de
ablet/TabletTicker.java
74d39bd902c8561153647b19625b32938f38498c 27-Jan-2011 Daniel Sandler <dsandler@google.com> Merge "Correct the translationY of the empty notification panel." into honeycomb
641a499bb2357955ec64cc71030990c3971362bc 27-Jan-2011 Daniel Sandler <dsandler@google.com> Correct the translationY of the empty notification panel.

This also restores the proper slide-in animation. Yay!

Bug: 3391683
Change-Id: Id38b4bdf2bad88084db47b3fa4ef7d1d81f94aff
ablet/NotificationPanel.java
85433c76066843d20c92c90d64e842e4f14dbac8 27-Jan-2011 Jim Miller <jaggies@google.com> Merge "Fix 3354590: Add back button to dismiss RecentAppsPanel" into honeycomb
f1e22e5c78a59d01837c1859173b6ccfd13a89dd 27-Jan-2011 Jim Miller <jaggies@google.com> Fix 3354590: Add back button to dismiss RecentAppsPanel

Change-Id: I65337e8ebf823e7a92f810cd670b23edf8e70067
ablet/RecentAppsPanel.java
6aa2d3a166b7b2fe5362931297953d08c17a0fb6 26-Jan-2011 Daniel Sandler <dsandler@google.com> Ticker visual fixes.

- Includes the correct ticker background image, finally
- Confines the ticker height to 48dp (status bar height)
- Aligns the ticker to the bottom of the screen

Bug: 3361133
Change-Id: I9497f29d2b4c1cbcb195f0e66393f6db97d01ee2
ablet/TabletTicker.java
55bf3809b98dad0b8268804e684d63ea59124148 25-Jan-2011 Joe Onorato <joeo@google.com> Make TabletStatusBar call into StatusBarManagerService when it goes out of lights out mode on its
own.

Bug: 3241144
Change-Id: Id09437a4f32f1d64daa7ae65e41c99897b5964d7
ablet/TabletStatusBar.java
0ee6613d09eff218211c2624774b12981699bfd2 26-Jan-2011 satok <satok@google.com> Update input method panel when packages are changed.

Change-Id: I1edad2a11fd40c8f1f7fbb42f37e0538b1e245eb
ablet/InputMethodsPanel.java
344302600a87175a9fd2bdfbf38708b1d1759731 26-Jan-2011 Daniel Sandler <dsandler@google.com> Merge "Fit and finish on status bar:" into honeycomb
6f5bd3c3b3b10c60f51b1fe2a2d5da6002930618 26-Jan-2011 Jim Miller <jaggies@google.com> Fix 3338368: Fix bounds calculation for recent apps view

The calculation for determine the content view's bounds
was mistakenly using the position of the view in the immediate
parent (glow view), which wrapped it exactly in the vertical
direction. The code now uses the glow view's vertical
position in its parent to determine the position.

Change-Id: I07768eb3446fde851699de1c1d4e958bc16d98bb
ablet/RecentAppsPanel.java
f844dc4fa8ae53d485f10ebc7f91899159d7551e 25-Jan-2011 Daniel Sandler <dsandler@google.com> Fit and finish on status bar:

- Clock color fixed. [3374581]
- Clock vertically aligned. [3388224]
- Clock uses system font assets now. [3385564]
- Solid version of AndroidClock added to build. [3385564]
- Extraneous background glow removed from notification panel.
- Removed solid black background from notifications. [3388223]
- Added background image behind large notification icons
and increased large size to 64dip [3388434, 3384355]
- Corrected size & leading of notification text [3388577]

Bug: 3374581
Bug: 3384355
Bug: 3385564
Bug: 3388223
Bug: 3388224
Bug: 3388434
Bug: 3388577
Change-Id: I8e443da5758deca412d1ce5944f887b35f6265ed
ablet/HoloClock.java
ablet/NotificationPanel.java
ablet/TabletStatusBar.java
7dc93a1df7731672b321b78316afff2104dcf239 25-Jan-2011 satok <satok@google.com> Sort IME by id

Bug: 3364167

Change-Id: I8c8e4ddc4110e2920c8c7beccf108ac7e0227903
ablet/InputMethodsPanel.java
5113382e95d5f5f322bc6618bef7d1c7f96e295f 25-Jan-2011 satok <satok@google.com> Tweak layouts of IME switch button

Bug: 3383078

Change-Id: Id522ac6e8363a98be6ac73ee75b0d54e12ef86c4
ablet/TabletStatusBar.java
78b32fc4517f8fef8a73f9b31c9baa2e530ef8bc 24-Jan-2011 Daniel Sandler <dsandler@google.com> Merge "Smoothly hide the list when there are no notifications." into honeycomb
664644d9e012aa2a28ac96f305b1ce6499ec8806 24-Jan-2011 Joe Onorato <joeo@google.com> visibility ("lights out") API.

1. Views may setSystemUiVisibility() to recommend that
the system chrome (status bar or other UI) show or hide
itself. (This functionality was previously available only
via the FLAG_FULLSCREEN window flag for some SystemUI
implementations.)

2. Views may register a OnSystemUiVisibilityChangedListener
on a view, and find out when the system UI actually
appears or disappears, allowing apps to coordinate the
appearance of their own UI if desired.

Bug: 3241144
Change-Id: Ia1758d94099182d49a1e3688ea2738ae4995b829
ablet/TabletStatusBar.java
fac86056b285bf59c1c3e774f1cb9f6de0be59ba 24-Jan-2011 Joe Onorato <joeo@google.com> Fix typo that causes brigtness to be wrong.

Bug: 3351558
Change-Id: I4409c44db15a35be98ba0b0f2c28ed939494495a
olicy/BrightnessController.java
40c1545d7231c856a1144a317e044ffa921448d8 22-Jan-2011 Daniel Sandler <dsandler@google.com> Smoothly hide the list when there are no notifications.

Bug: 3374985
Change-Id: I18be9f1112ac9dc4f7bc4446c2a2dd92d1cde339
ablet/NotificationPanel.java
ablet/TabletStatusBar.java
14db0bc047f61ffa1fe258c67d37af3084ec0a4d 20-Jan-2011 Daniel Sandler <dsandler@google.com> Animate transitions between notification & settings panels.

We're still not stretching the panel smoothly yet; this just
fades the panels in and out at the right times.

Bug: 3323063
Change-Id: I6eb87c44726f48f39fab77710b1ffe5d0783d588
ablet/NotificationPanel.java
586f051375d8d7aeece05329921f9f66fc6164cb 20-Jan-2011 Ken Wakasa <kwakasa@google.com> Refine InputMethodInfo API

bug: 3370297
Change-Id: I2a18f3bdbe2fccb22e22cdae0f75aec5c703ad6d
ablet/InputMethodButton.java
ablet/InputMethodsPanel.java
add26204231e2e40cf4a44774a3858cf05282539 20-Jan-2011 Daniel Sandler <dsandler@google.com> Simplify and smooth notification panel animation.

Bug: 3322970
Change-Id: I3e658cfb542d605b13f6b7d935e32e5b8766078f
ablet/NotificationPanel.java
ablet/TabletStatusBar.java
bc5d9bb4e3e7837695f74b76251bdcf1505ad0b9 20-Jan-2011 Daniel Sandler <dsandler@google.com> More fixes to ensure that touches outside the panel close it.

Similarly, touches in the glow area surrounding the panel
title no longer switch into settings mode.

Bug: 3339023
Change-Id: I142e500a55ecfca24082c28e75e5e71c1524ad56
ablet/NotificationPanel.java
60720a2991f424c867141b23062870e479ece80c 20-Jan-2011 Daniel Sandler <dsandler@google.com> Merge "Notification & settings panel redesign." into honeycomb
020460b610d8196cb820ba390300e3fefda82f30 20-Jan-2011 Joe Onorato <joeo@google.com> Cut a hole in the status bar for events when the IME is open.

Bug: 3238092
Change-Id: I8af18c2ebada624fbf5baee09b4b7ef98a7c8205
olicy/EventHole.java
6223fba87efabfca2342fd75594e39d913023aa2 19-Jan-2011 Joe Onorato <joeo@google.com> Remove optimization to isInContentArea that wasn't working.

This might fix the bug where tapping outside the notification panel doesn't close it.

I'm not 100% sure because I can't reproduce this on-demand, but I think it's possible for
onSizeChanged to race with the animations and we end up with a bad rectangle. The time
I did see it happen was tapping above the title area right after canceling a notification,
so that could explain it I think.

Bug: 3339023
Change-Id: Ic3a7f4c059e7bf6f30b864a371a0912a6414edb7
ablet/NotificationPanel.java
2f447aa3b0e9cd6c35b57109baa3dea603f4fe11 14-Jan-2011 Daniel Sandler <dsandler@google.com> Notification & settings panel redesign.

Bug: 3353758
Change-Id: Ibe98ed78c471344e1fb3cb462c83b76678c665f7
ablet/NotificationPanel.java
8c05b54f237879c48796eadbe6c8c4b17ce5f743 18-Jan-2011 satok <satok@google.com> Merge "Update package manager when panel is loaded." into honeycomb
327fbd2c8fa294b919475feb4c74a74ee1981e02 17-Jan-2011 Dianne Hackborn <hackbod@google.com> Fix a bunch of API review bugs.

3362464 API REVIEW: android.content potpourri
3362445 API REVIEW: Fragment transaction stuff
3362428 API REVIEW: Fragment stuff
3362418 API REVIEW: Loader stuff
3362414 API REVIEW: android.content.pm.ActivityInfo

Change-Id: I6475421a4735759b458acb67df4380cc6234f147
ablet/ShirtPocket.java
573068cb4adeb38bb7a26959fe6599bffbe8b609 17-Jan-2011 Michael Jurka <mikejurka@google.com> Using full-resolution default activity icon in Recent Apps
ablet/RecentAppsPanel.java
913f42d26a32621ad7dd52c52b8d150eedf4f8fe 17-Jan-2011 satok <satok@google.com> Update package manager when panel is loaded.

Change-Id: I68f6af5d5a081855bf77b95795d3493bd81d3037
ablet/InputMethodButton.java
ablet/InputMethodsPanel.java
ablet/TabletStatusBar.java
f6cafb63753a26440cb3ad2e5124370aef650015 17-Jan-2011 satok <satok@google.com> Implicitly/Explicitly subtypes bug.

Change-Id: I6ccc22d4272ee92c0d8ba3f3c724d8f838d51310
ablet/InputMethodsPanel.java
f68b500bb0d4c24ccabb40284f97981d50f888a8 17-Jan-2011 Joe Onorato <joeo@google.com> Remove a bunch of logging.

Change-Id: I81a9a5d94b1652133d7b1700da55f982038f6b56
hone/PhoneStatusBarPolicy.java
olicy/AirplaneModeController.java
olicy/KeyButtonView.java
ablet/HeightReceiver.java
ablet/NotificationPanel.java
ablet/SettingsView.java
ablet/ShirtPocket.java
ablet/TabletStatusBar.java
ablet/TabletStatusBarView.java
ablet/TabletTicker.java
c07d7c139bafab41024d6abc2e39ded880c23e6d 16-Jan-2011 Joe Onorato <joeo@google.com> Make the notification settings view less janky.

Bug: 3124822
Change-Id: I8fb9d169ae047d9b6738bb66e60a193a7a749efb
olicy/AirplaneModeController.java
olicy/AutoRotateController.java
olicy/BrightnessController.java
772f5600ef720945b98054246982fd3b711830a9 16-Jan-2011 Joe Onorato <joeo@google.com> Need to save the brigness setting.

Otherwise the value isn't preserved the next time the screen goes off.

Bug: 3356129
Change-Id: I78fd32ee66a0766ec254b8558d483e97ffdccd7e
olicy/BrightnessController.java
a032c90189d9ac28b65af4fe5f8b34f182441335 16-Jan-2011 Joe Onorato <joeo@google.com> Provide a public resource with the dimensions of the large notification icon.

Bug: 3301067
Change-Id: I4ef66ee35df34a5288681a0e80e9877d57398dd0
ablet/TabletTicker.java
80a44401a22344f7eabce6976372ab144ef22893 16-Jan-2011 Joe Onorato <joeo@google.com> Need to update the largeIcon for notifications when we're reapplying the views.

Bug: 3298062
Change-Id: I6bb72c0b93e00a9de8cc2633ac07add0a572a20f
otificationData.java
ablet/TabletStatusBar.java
82beadfa067b1e286fa604f8d7960d769411c954 27-Dec-2010 satok <satok@google.com> Add input methods settings panel

Bug: 3141466
Bug: 3301559
Bug: 3284424

Moved from old master I4d9abeea

Change-Id: I62fa64cc095e1b9ac34f21e7d4d2e0bb8a3e68fc
ablet/InputMethodButton.java
ablet/InputMethodsPanel.java
ablet/TabletStatusBar.java
ablet/TabletStatusBarView.java
66707eee84ee874f60ff5d25c5d2d00769e79616 13-Jan-2011 Jim Miller <jaggies@google.com> Merge "Fix 3253629: Tweaks to recent apps" into honeycomb
85babff4a30d1baf8841749b706bd31dcaa1a73a 11-Jan-2011 Jim Miller <jaggies@google.com> Fix 3253629: Tweaks to recent apps

This updates the animation and fixes a few bugs with showing
and hiding recents as well as tweaks from UX in animation
timing, effects and the background protector.

Change-Id: I1c57e566408c7b732a0c902e27125951d0277322
ablet/NotificationPanel.java
ablet/RecentAppsPanel.java
ablet/TabletStatusBar.java
c9596d6d8e9154b5f87c8e887bfabf7546b68af5 13-Jan-2011 Joe Onorato <joeo@google.com> Possibly fix bad notification updates.

I think what was happening is that it was using a different layout but we were trying to reapply the
RemoveViews because of some bad boolean logic. This fixes that, and adds some better debugging that
might show us what else is happening.

Bug: 3298062
Change-Id: I0984f24cb2960166c79b9f2cc7c6a98bd75e17ba
ablet/TabletStatusBar.java
d7cbe592dd210069a4186e39bad1a95f6884d34b 13-Jan-2011 Joe Onorato <joeo@google.com> Remove the volume slider in SystemUI.

Bug: 3344667
Change-Id: I8701fadac1736c73fbecb6f50d2ced7bba2c559c
ablet/SettingsView.java
02d2b3ba9ba830a8147db2739613f7bbb2d0fcbf 11-Jan-2011 Christopher Tate <ctate@google.com> API CHANGE: startDrag() now takes "int flags" instead of "boolean localOnly"

There will be, in the future, a flag (View.DRAG_FLAG_GLOBAL) that means
for the drag to be cross-application. For now that flag constant is @hide
and furthermore the server-side implementation strips it, enforcing
local-only drags.

Change-Id: I8db840480ab90e18a5b8ecf29d62b4e6eafd405e
ablet/ShirtPocket.java
14770e049e10377bd963623891ccb0976b2dd6ee 12-Jan-2011 Joe Onorato <joeo@google.com> Merge "The status bar half of making the status bar resize when hdmi is plugged in." into honeycomb
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
tatusBar.java
hone/PhoneStatusBar.java
ablet/HeightReceiver.java
ablet/NotificationPanel.java
ablet/TabletStatusBar.java
0c848553346b0f80c7baa0aa08ec1b9d440e442c 11-Jan-2011 Jaikumar Ganesh <jaikumar@google.com> Merge "Update status bar icons for BT reverse tethering." into honeycomb
033376f6f0cb65f4cf5862c92ca0bf8ad5895566 11-Jan-2011 Daniel Sandler <dsandler@google.com> Merge "Simplify panel animations with an eye to performance." into honeycomb
7d9ea8ccc8a9c0a9a947fbf303ead738528445f6 11-Jan-2011 Daniel Sandler <dsandler@google.com> Simplify panel animations with an eye to performance.

Things are faster, but we're not buttery-smooth yet.

Bug: 3322970
Change-Id: Ib63bdc2e807b039197a12d3ed3935653e6237ae0
ablet/NotificationPanel.java
ablet/NotificationTitleArea.java
ablet/TabletStatusBar.java
01f9944749278f3bbec7e22f33388a53eab1a076 11-Jan-2011 Jim Miller <jaggies@google.com> Fix 3305645: Hide recents if there are no recent apps.

Change-Id: I7a6131b22fd73cb8dae12b8bb80a5921414c1861
ablet/RecentAppsPanel.java
fde7f0ede4248c7fe4c066bfc449381fde530430 10-Jan-2011 Jaikumar Ganesh <jaikumar@google.com> Update status bar icons for BT reverse tethering.

This updates the icon when its connected and the IP address
has been obtained.
Change-Id: I1b0ad5572a1899b118d1b6b6f49e41b7242b689a
olicy/NetworkController.java
36d4c3f02b4c3366b965896bc3da8bb332db1a64 07-Jan-2011 Christopher Tate <ctate@google.com> Rename drag "thumbnail" to the drag "shadow"

No functional changes; just a rename of the relevant class/method/parameters.

Change-Id: I55d9ef7c2c17892b0bc99f5da622c281e006b53e
ablet/ShirtPocket.java
100748e32898f0ce7398faa3b0218718fb9142e4 07-Jan-2011 Joe Onorato <joeo@google.com> Mark the veto button GONE for ongoing notifications so they can go into its space.

Change-Id: I0f03052c630c937f12d52d93dfa680ce8c6a27d0
ablet/TabletStatusBar.java
100744fa54e14be62abd211996b5dfed60de1fa4 07-Jan-2011 Daniel Sandler <dsandler@google.com> Merge "Fix stuck-open notification shade." into honeycomb
6869c1876b73cc0d47bbd654d13989ef3d1b7c9b 07-Jan-2011 Daniel Sandler <dsandler@google.com> Fix stuck-open notification shade.

Reversing the animations isn't working well, but re-creating
them in the correct direction is, so we'll use that for now.

Bug: 3326529
Change-Id: I40fdbd1d02bb8028d4d1f1bceb15f2c335366063
ablet/NotificationPanel.java
641bad449ba3b971500843c6bf7bf6f08363d09e 07-Jan-2011 Joe Onorato <joeo@google.com> This makes the events at the edge of the screen find the button.

Change-Id: Ib809d4c501a1863d4023a5cc52260077be295b10
olicy/KeyButtonView.java
82652574b7e68909fd55cca01826fbc0d0c2d173 06-Jan-2011 satok <satok@google.com> Merge "Check null pointer agressively."
4fdf1de47f945dbead411e9f7232cf714db35e9d 06-Jan-2011 satok <satok@google.com> Check null pointer agressively.

Bug: 3250622

Change-Id: I25f367ad1bd6a741282603f2f587f7a1256ef460
ablet/InputMethodButton.java
933464dd02e9aeaff7944a2c8e3e44942971e1e8 06-Jan-2011 Joe Onorato <joeo@google.com> Fix the 3G icon shows as G.

The connectivity services does not seem to return meaningful network types. That's ok because we
get good ones from the telephony service anyway.

Also adds a ton of stuff for adb shell dumpsys activity service SystemUI TabletStatusBar

Bug: 3255953
Change-Id: If4bf413a628a8ffc338c83a9c33bfd367d6d2796
olicy/NetworkController.java
ablet/TabletStatusBar.java
eeed9949835ae4d516a751f3254967e9ad7398a5 05-Jan-2011 Joe Onorato <joeo@google.com> Don't re-show the ticker for a notification if they have set FLAG_ONLY_SHOW_ONCE.

Bug: 3306725
Change-Id: Ie733ad38d9e801f676966fa3ddee6847670c6deb
ablet/TabletStatusBar.java
ec51a82bd6e7a33fe6ed84ba252b82625629eaac 05-Jan-2011 Joe Onorato <joeo@google.com> Allow taps on the ticker to pass through to the notification target view
so the notification panel still opens.

Bug: 3313762
Change-Id: Ia4e869b859fabe7016283f36631891c179dc82bf
ablet/TabletStatusBar.java
ablet/TabletStatusBarView.java
ablet/TabletTicker.java
6c3e5601a75b59b0e172200d95162d7f47c40f29 04-Jan-2011 Joe Onorato <joeo@google.com> The whole title area of the notification panel should toggle the settings view.

Bug: 3313452
Change-Id: I8240e76367a6608849bbeb69af6ca8f206475d8d
ablet/NotificationPanel.java
25eef89082787c39a472349c693e821a05b6e83e 04-Jan-2011 Jim Miller <jaggies@google.com> Fix 3309250: Don't crash when thumbnail is null

This fixes a bug where Recents would crash when the
thumbnail for the given app isn't available. The
defined behavior for this situation should be just
the app icon on top of the default glow background.

Change-Id: Ie5a3a7878381a6b8fc640319fccfc16387e3d4cc
ablet/RecentAppsPanel.java
f9905b437a0e98fd7fdafecb32db1cd7566f7367 23-Dec-2010 Jim Miller <jaggies@google.com> New thumbnail generation and centering in RecentApps

This centers the thumbnail in the given glow background and
reduces compositing by one window per recent item.

Change-Id: I228648022e12214fb3d8b66067e214cef5aaf8e9
ablet/RecentAppsPanel.java
5e5b1b39ebb59137b340ff48c7d5d0862fb03f28 22-Dec-2010 Jim Miller <jaggies@google.com> Fix 3290446: Reduce number of recents to fit in a single binder

This fixes a bug where all recent apps disappear because the
binder transaction fails due to size constraints.

Change-Id: I173e552e820314b4c539aaf356cef4042a0822e9
ablet/RecentAppsPanel.java
16331c8a1d33defccc5cbb18694def79196c921b 20-Dec-2010 satok <satok@google.com> Add a parameter to InputMethodManagerService.getEnabledSubtype for allowing to select subtypes implicitly if no subtype is enabled.

Bug: 3142286

Change-Id: I92d019d0648c552e6d7695c3530aa81ae054d702
ablet/InputMethodButton.java
b70c82dc45f62a1c257a80e7aa9e0ecfe063c1be 20-Dec-2010 satok <satok@google.com> Hide IME Switch Button when a handset is locked.

Bug: 3247192

Change-Id: I61a327b480c5b3055a14219050cebb04cf0adf6e
ablet/InputMethodButton.java
ablet/TabletStatusBar.java
d57896a64c87f8c068bb19157f41b338be209089 20-Dec-2010 satok <satok@google.com> Use settings of the visibility of IME Switch button

Bug: 3141466

Change-Id: Ia5ef059af184d9c203a0065bf25b088e0529858e
ablet/InputMethodButton.java
74fd1dd59619b0e3f6264a063ce94e19d972bf20 18-Dec-2010 Jim Miller <jaggies@google.com> Fix 3295530: Fix crash in RecentApps when we have no recents

A change to the Animation framework now throws an exception for
negative durations, which was causing Recents to crash when
there are no recent activities.

Change-Id: I65b7d6b6d5ad4637ae93b44c147ff6193d8c03cc
ablet/RecentAppsPanel.java
ef6e9360175eaa1cad2d178f3dbf469cc7036c1e 17-Dec-2010 Daniel Sandler <dsandler@google.com> Fix for the notification panel getting stuck open.

Bug: 3295437
Change-Id: I2205902790818048a637729249f3dfd844c101ea
ablet/NotificationPanel.java
b8027d87d87fbf24a6091ef183e519157876df41 17-Dec-2010 Daniel Sandler <dsandler@google.com> Improved ticker & bar animations.

The entire notification area fades out quickly before the
notification ticker appears, and fades back in when the
ticker is totally done.

This change has the side-effect of bringing back nice
animations for the notification icons when they appear by
themselves (at boot and when unlocking the device).

Bug: 3293680
Bug: 3018785
Change-Id: Id99cc20e6849f0f037fc9fba076243d362664478
ablet/TabletStatusBar.java
ablet/TabletTicker.java
c51451a318af8e7076e7789bc1fcd91454f1e5a9 17-Dec-2010 Daniel Sandler <dsandler@google.com> Improvements to ticker:

- Ticker view can be tapped immediately
- Ticker views animate in/out smoothly

Bug: 3274655
Bug: 3293680
Change-Id: I504dae65d91cc26a81a2a18f7bc71d6b3271f06d
ablet/TabletStatusBar.java
ablet/TabletTicker.java
7ef29b5a066e87ac890cf198c58e2ffe8549bea1 16-Dec-2010 Daniel Sandler <dsandler@google.com> Update flyover if notification changes.

Bug: 3292466
Change-Id: I11407b7a0eedc3d8474d34e45e4b472a2dc61d27
ablet/TabletStatusBar.java
244e4159052230ce75a2152090a87518dd85e068 16-Dec-2010 Joe Onorato <joeo@google.com> Fix the SettingsView so it shows again.

Change-Id: Ie041fd12412ee1de9d1f90604b777db2fd00f550
ablet/NotificationPanel.java
6f6cf3c5e577aa62cfd959fa5ef046531090ce31 16-Dec-2010 Daniel Sandler <dsandler@google.com> Reimplement StatusBarManager.disable(DISABLE_SYSTEM_INFO).

Bug: 3284968
Change-Id: I7171b7770c2972bb56672a771c7ed5ca10fb4dda
ablet/TabletStatusBar.java
0ad460b087abbd4b523a2e61ff27b0bf6fb5be92 14-Dec-2010 Daniel Sandler <dsandler@google.com> Look again; the system bar is now diamonds.

Lights Out 3.0 (bug 3241144)
- new artwork
- new transition animations
- new interaction (tap anywhere to dismiss & interact)
- much simpler overall design and implementation

Layout (bug 3242949)
- fine-tuned spacing on navigation and notification icons
- notification icon spacing compresses in portrait

Shirt Pocket (bug 3203179)
- disabled for now

Bug: 3241144
Bug: 3242949
Bug: 3203179
Change-Id: I6e9b7f9ebe07317d07609f11d5f03f22269bc7bb
ablet/ShirtPocket.java
ablet/TabletStatusBar.java
d19bedee3437c164513bdc4ea11e33f404ed7603 15-Dec-2010 Jim Miller <jaggies@google.com> Fix 3253629: Tweaks to recent apps

This change reduces the overall timing of showing recents to make it
feel more snappy.

It also removes the first item from the list, which is assumed to be
the current app or the home screen, depending on which is currently
showing. This allows the use of muscle memory for switching between
two tasks quickly.

Change-Id: I04713c41ea235483ea4d3f712a84c56b0174394f
ablet/RecentAppsPanel.java
07e7279cb45ebc150b55bb7e0882d19c1e71bfbf 15-Dec-2010 satok <satok@google.com> Fix the bug that IME switch button is shown when there are two IME is installed but only one IME is enabled.

Bug: 3286682
Change-Id: I6a9c6972c136ca8df85ab2b305d08120c09a4543
ablet/InputMethodButton.java
4738da2e30272ceeec7e065be3ce4b2838a22d07 14-Dec-2010 Joe Onorato <joeo@google.com> Merge "notification panel animations"
7c270fab75c2f4529e45ea80b31d4017ab516482 09-Dec-2010 Joe Onorato <joeo@google.com> notification panel animations

Change-Id: I3ca06a35be480df6e8741270c10eb1b23b1d4835
ablet/NotificationLinearLayout.java
ablet/NotificationPanel.java
ablet/TabletStatusBar.java
7a49e60eb37dd6326e7a567d89916068f30235b0 14-Dec-2010 satok <satok@google.com> Merge "Hide ime switch icon when there are only one IME and no enabled subtypes"
a84b8d94fbe20a2d51902da29ff00a57e1851dbe 14-Dec-2010 satok <satok@google.com> Hide ime switch icon when there are only one IME and no enabled subtypes

Change-Id: I4684d852cc61db125538e1255fd99fa55d60d593
ablet/InputMethodButton.java
d2835935d2df8be70d1b37d3ef3b2fe0155b3422 14-Dec-2010 Dianne Hackborn <hackbod@google.com> Fix issue #3258849: Grab thumbnail when exiting an app via back

Also issue #3281400: Rotating a retained instance fragment leaks the fragment manager

And turn off fragment debug logging.

Change-Id: Ibdd7db82bb35618021bcba421ba92ced7cd691c2
ablet/RecentAppsPanel.java
169a211f6be5fc842dce6281aad16697c6cecfa9 11-Dec-2010 Jim Miller <jaggies@google.com> Fix 3253629: Improve Recents panel animation performance.

This change improves animation by enabling hardware acceleration
and reducing the size of the blue glow.

Change-Id: Ie8b7668b9b1f1ae91211875c2fa11b305a317d64
ablet/RecentAppsPanel.java
ablet/TabletStatusBar.java
e5c16ab5a8b4e12aff03a88d3c3c6eac03b609c3 04-Dec-2010 Jim Miller <jaggies@google.com> Fix 3253629: Initial pass at updating RecentsPanel UI

Change-Id: I578d0efd9f4b67675ff531494259f54182851e0e
ablet/RecentAppsPanel.java
ff3c470778a69d262470e9707fce58dd485c6cc9 09-Dec-2010 Joe Onorato <joeo@google.com> Merge "make the wifi button go where it's supposed to."
cbcce92295f5fce4fee71d12e9a717a7acc64b05 09-Dec-2010 Joe Onorato <joeo@google.com> Merge "Make the ToggleSlider in the status bar settings panel show the right track when it's disabled."
64eb5d29007155e89b03cbb682845faf1fbd743d 09-Dec-2010 Joe Onorato <joeo@google.com> make the wifi button go where it's supposed to.

Change-Id: I415a5ad5e7524746d1e8d467f94058468bc719b7
ablet/SettingsView.java
4b0912d4903d81e7ce8a45dd694b1ae01fe438c1 09-Dec-2010 Joe Onorato <joeo@google.com> Make the ToggleSlider in the status bar settings panel show the right track when it's disabled.

Change-Id: Iead2a7f93dd312254d715f010ccca50cdcda5d00
olicy/ToggleSlider.java
10163c689a713a35f69aad420c35372946b8b32a 08-Dec-2010 Daniel Sandler <dsandler@google.com> Experimental: Tapping on the status bar sends a space key.

While any IME is showing, taps on the empty region in the
center of the status bar will inject a KEYCODE_SPACE (62)
KeyEvent. This gives a huge Fitts' Law boost to LatinIME's
spacebar, which is easy to miss when typing quickly.

This is sort of a hack; a better solution would be to
translate the tap vertically until it enters the IME's
window and then hand the motion event back to the IME
(thereby accommodating IMEs that have something other than a
spacebar in their bottom row).

Bug: 3114340
Change-Id: Iabbfb5ca0000101074932304bce44eb6f7dca85d
ablet/TabletStatusBar.java
9b40747aaa98ad4e8f423d7d1a9ed0f736f18dba 07-Dec-2010 satok <satok@google.com> Move IME button to right side by new desing spec

Bug: 3212206

- And remove mic icon

Change-Id: I46481db9afe500b244da66e1615795bf55e9a734
ablet/InputMethodButton.java
ablet/TabletStatusBar.java
2ee1856f814c4246f1b56db21693432442a70d94 06-Dec-2010 Daniel Sandler <dsandler@google.com> Merge "Hide navigation buttons and clock on lockscreen."
bd81c3fe344ab018fad1d8e0370ef25231b51a22 06-Dec-2010 satok <satok@google.com> Fix null pointer exception

Bug: 3250622

Change-Id: I0913f10c7deb984d2b1a51701dddf765a060592e
ablet/InputMethodButton.java
3e8f5a2c1beb4b918856063880e05125946e4347 03-Dec-2010 Daniel Sandler <dsandler@google.com> Hide navigation buttons and clock on lockscreen.

(This introduces a StatusBarManager disable flag to ask the
status bar to hide just the clock, which might be useful in
other situations, such as clock/dock apps.)

Bug: 3130393
Change-Id: Ia08627508518e2ed3713ffbf856e4ec42952b3a8
ablet/TabletStatusBar.java
eae7133bf6aff5a702b4bae81614aeec6cb3381b 03-Dec-2010 satok <satok@google.com> Merge "Make the size of "shirt pocket" 0 when the icon of "shirt pocket" is invisible"
2993f18b068f2b1ea8d4c7779aad86a18650a409 25-Nov-2010 satok <satok@google.com> Make the size of "shirt pocket" 0 when the icon of "shirt pocket" is invisible

bug: 3230503

Change-Id: I1028a92b6ce048c39af1e89845576198132b3176
ablet/ShirtPocket.java
75362101ac12a15c111f249ade5e7d15787d9e81 03-Dec-2010 Joe Onorato <joeo@google.com> Tweak the settings panel assets / layout. Not done yet.

Change-Id: Ib014947f1260cb290818b7af0151fe0c165950c6
olicy/ToggleSlider.java
1e28f4110f4005a38a1c55836b87df706e8e3229 01-Dec-2010 Joe Onorato <joeo@google.com> Brightness and volume controls in the quick settings panel.

Change-Id: I2d2394c84a2783772f16dbeb88664381917e0ead
olicy/BrightnessController.java
olicy/ToggleSlider.java
olicy/VolumeController.java
ablet/SettingsView.java
355ebc09d2354795ff674d65eb09d4fee0ddb402 02-Dec-2010 Joe Onorato <joeo@google.com> Show the operator or wifi ssid in the status bar panel.

Change-Id: Ia2983bce35c5f2ab706995777c80e96cc9a4c2ae
olicy/NetworkController.java
59485d7442a175551fcb5eeee71820432df4ea7b 02-Dec-2010 Daniel Sandler <dsandler@google.com> Do not allow lights out mode for old apps.

Legacy applications using FLAG_FULLSCREEN do so principally
to get as much screen real estate as possible; reducing
clutter is usually a secondary concern. The new UI style
takes care of the latter for the most part, and the former
is irrelevant because the xlarge system bar never goes away.

Lights out---and with it the disappearance of important
systemwide navigation controls---is probably *not* something
these apps are expecting! Consider a game: it might want
FLAG_FULLSCREEN on phone to take over your entire display,
but might also rely on menu (to pause the game or bring up
options) and home (to allow you to exit). Lights out makes
these tasks much harder on the user because those buttons
aren't visible anymore.

So, to mitigate this potentially confusing situation, we now
disable lights out for fullscreen legacy apps.

[Hack, er, cleverness alert: We use NEEDS_MENU_KEY as a
shorthand for "legacy app." This flag is set by
pre-Honeycomb apps by default, but even an app built against
the current API can request this flag; be forewarned that if
you do, you won't get lights out mode in this particular
system bar implementation when you use FLAG_FULLSCREEN.]

Change-Id: If90d8354114ba45f9485b935b87ee575a30b9f87
ablet/TabletStatusBar.java
407b4e91fe7627545b8110e683953353236b4543 01-Dec-2010 Christopher Tate <ctate@google.com> API CHANGE: drags can now carry an originator-only object payload

When calling startDrag(), the app can now supply an Object to be passed
along in every DragEvent that the app winds up receiving itself. This
object is *not* passed to any other applications; it's strictly app-
local. The purpose is to allow state tracking/management to be done
directly through the drag mechanism rather than requiring out-of-band
code.

An example of the utility here might be TextEdit widgets. A drag that
starts in one TextEdit but ends in a different one should be treated as
a copy/paste operation, where the originating TextEdit is not altered.
However, a drag that starts and ends in the *same* TextEdit is a 'move'
operation within that TextEdit; the text is removed from its original
position and inserted at the drop point. To support this easily, the
drag/drop code in TextEdit can now pass a pointer to the originating
view as the local state object. Then, the drop recipient could tell
whether the drag started within the same TextEdit without needing to
implement any other out-of-band state tracking.

This CL (and its accompanying CLs in a few other packages where the
startDrag() API is being used) adds the new local-state parameter to
the API, but does not actually change the behavior of any existing
clients.

Change-Id: Icba73b2ab4a650b7a94485a19633065b0ef9058c
ablet/ShirtPocket.java
a8e5b060a6ec5a5807f2858eccec835c7b083067 01-Dec-2010 Daniel Sandler <dsandler@google.com> When peeking at a notification, the X will close the window.

Bug: 3241204
Change-Id: Ibc6751062170e85604179da3f01a9c1055a15b1f
ablet/TabletStatusBar.java
373a9983742b3d2370c36183aca3cde4614e6185 30-Nov-2010 Daniel Sandler <dsandler@google.com> When updating notifications, always reuse the last row.

Ordinarily, changing the "when" slot when updating a
Notification will move its expanded payload to the bottom of
the notification panel's list. But if it's already at the
bottom, this causes an unsightly out-then-in animation
sequence. We now check for that exact situation.

Bug: 3222274
Bug: 3162218
Change-Id: I8b643b3f8bce64e57a22bdbb06d92c196c2484c2
ablet/TabletStatusBar.java
42f8e130244cf216701bd03a34935c0fa1c3efc5 30-Nov-2010 Joe Onorato <joeo@google.com> Show the network type.

Change-Id: I3487655dce80eef26bfd575b63eb649d9b5e5325
ablet/TabletStatusBar.java
2039e484740ae5c314082398e5696339b615cb22 29-Nov-2010 Joe Onorato <joeo@google.com> Do not disturb.

Change-Id: I9550970f322872787ef903ca762dfdf2ed9d2835
oNotDisturb.java
tatusBar.java
olicy/DoNotDisturbController.java
olicy/Prefs.java
ablet/SettingsView.java
ablet/TabletStatusBar.java
536c58fbe51a53d0e6e78c360c9f6069ae0fd465 29-Nov-2010 Joe Onorato <joeo@google.com> Show the down back instead of the left back when the IME is up.

Change-Id: Ief99935c4341b492d985c5f705b41f75e6b4d291
ablet/TabletStatusBar.java
5e759460dcb91ba96758c2ac6d354ff8563b78a4 29-Nov-2010 Joe Onorato <joeo@google.com> Auto-hide the peek window after 5 seconds, not right away.

Change-Id: Idf210f25e6cefc61a4eca40a9943dc156adafbf7
ablet/TabletStatusBar.java
50ec5ec0b8b3ab9cf697c8e3925e3fdd837f5e7d 29-Nov-2010 Joe Onorato <joeo@google.com> Deal with re-posting tickers.

Change-Id: If3c6e8ad57eb6682145cf8ed0f3755f176f117d0
ablet/TabletStatusBar.java
ablet/TabletTicker.java
5797f192eb598b30f8cf1e7a2107a6553eb399b8 28-Nov-2010 Joe Onorato <joeo@google.com> Check if this is null.

Change-Id: Ia74babdd1b1d76a2e5965db66bb995ea659dc6c1
ablet/TabletTicker.java
af5e4da2a5766198f533f1ff9e2072d2cd5c63d4 28-Nov-2010 Joe Onorato <joeo@google.com> Don't crash when there's a flood of tickers.

Tell if the queue is empty, not if there's currently something showing.

Change-Id: I6d8530d4c749a7566419741710d588005a698e1a
ablet/TabletTicker.java
dff2e9a4582e400e4935608ef5c744680990c335 28-Nov-2010 Joe Onorato <joeo@google.com> Rename strings.

Change-Id: I0a9d016aa5864e5d64e9cab6b0e720daaa816537
olicy/BatteryController.java
olicy/NetworkController.java
43861918519b4b3e6f1785d824302d683aaac32b 28-Nov-2010 Joe Onorato <joeo@google.com> Scroll back to the top when the notification window closees.

Change-Id: I72cfe292950953cc3bebe27367dab5149cc10080
ablet/NotificationPanel.java
755cc74e4cebdf67d21a2477512a4ac9b01e8323 28-Nov-2010 Joe Onorato <joeo@google.com> Rename the status bar layouts to more consistent names

Change-Id: Ic593e6c93794f2a2eb36576501d35be54a0a0681
hone/PhoneStatusBar.java
ablet/NotificationPanel.java
ablet/RecentAppsPanel.java
ablet/SettingsPanel.java
ablet/SettingsView.java
ablet/ShirtPocket.java
ablet/SystemPanel.java
ablet/TabletStatusBar.java
ablet/TabletTicker.java
1e66008fe6e535bbbcf7a2030d7aea380ff4dfff 26-Nov-2010 Joe Onorato <joeo@google.com> Merge "Start filling in the system settings panel."
a8e34189073c8f29f8e95db488b9a2a81019721e 26-Nov-2010 Joe Onorato <joeo@google.com> Start filling in the system settings panel.

Change-Id: I3384bb1cf6c2339d6136764635bb010ba096659b
olicy/AirplaneModeController.java
olicy/AutoRotateController.java
ablet/SettingsPanel.java
440aab54cab106030f1edafea4dec1f9d8624f9b 25-Nov-2010 satok <satok@google.com> Removed InputMethodSubtypePicker

Change-Id: I08abac5d65a30c02cc671f4f70e93df25b6c8a92
ablet/InputMethodButton.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
ommandQueue.java
tatusBar.java
hone/PhoneStatusBar.java
ablet/InputMethodButton.java
ablet/TabletStatusBar.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
hone/PhoneStatusBar.java
ablet/TabletTicker.java
ddbba42b812ab397a75db78aba6b48fecf0e31f6 24-Nov-2010 Joe Onorato <joeo@google.com> new signal strength assets

Change-Id: I6387d68659ff7ccf5024f186eeb75ab33c477a1f
olicy/NetworkController.java
olicy/TelephonyIcons.java
ablet/TabletStatusBar.java
f499eedd8bea27cae31464987d17d9810144c884 23-Nov-2010 Irfan Sheriff <isheriff@google.com> Merge "Stop listening to supplicant state change events"
b8297cfc76248f2863c985eb05d5a32fe3f6c279 18-Nov-2010 Irfan Sheriff <isheriff@google.com> Stop listening to supplicant state change events

wifi connected status should be based only on
network state change events or it can lead to a
race condition.

Change-Id: Ib2343f0d192ef99959f908a370d55aae7ba86a5a
olicy/NetworkController.java
621e17de87f18003aba2dedb719a2941020a7902 23-Nov-2010 Dianne Hackborn <hackbod@google.com> Implement issue #3221502: New APIs to support new back stack / task navigation

What this adds:

- A new Intent activity flag to completely replace an existing task.
- A new Intent activity flag to bring the current home task up behind
a new task being started/brought to the foreground.
- New versions of startActivity() that take an array of Intents to be
started, allowing applications to start a task in a specific state.
- A public moveTaskToFront() method on ActivityManager, with a new flag
that allows the caller to have the task moved to the front with the
current home task immediately behind it.

Change-Id: Ie8028d09acffb5349d98043c67676daba09f75c8
ablet/RecentAppsPanel.java
6c1af93c17cf1ebf17ecbee12cbed27db5a26a0b 22-Nov-2010 Joe Onorato <joeo@google.com> The ticker shouldn't be modal.

Change-Id: I6bb4df07ad4659d900a95379193f5cb95d7706c3
ablet/TabletTicker.java
52f80cd36f406725e85a1825741a45c69de3d898 22-Nov-2010 Joe Onorato <joeo@google.com> The icon sticks out of the ticker.

The ticker still needs to show up over the status bar, which will take a bit of
window manager work, so it's just out of position for now.

Change-Id: Ib5781925db63a22d9352a7b5017a36eec3229395
ablet/TabletStatusBar.java
ablet/TabletTicker.java
4cddc98a4b63961e3528c5a70cd5c55a67a0c60a 21-Nov-2010 Joe Onorato <joeo@google.com> Deal with more notifications than fit on screen.

Change-Id: I432b9ee73a473fe4af8b0caeede4993c67be6518
ablet/NotificationPanel.java
ablet/TabletStatusBar.java
561d3858bb9409b999a19f7ba93f0b12e1db835f 21-Nov-2010 Joe Onorato <joeo@google.com> The large icon for notifications.

Change-Id: I8537c602b5b5fca03be8980295bfa28330543669
ablet/TabletStatusBar.java
ablet/TabletTicker.java
2026e8d4681437fb056409bc95bc2f126582e4a8 20-Nov-2010 Joe Onorato <joeo@google.com> Show the icon in the compatibilty ticker.

Change-Id: Ib0f466a6773f9e66ad418bf48303504dedf73d21
ablet/TabletTicker.java
8595a3dd9a6feff70f8ddbad924d79b591d611e4 20-Nov-2010 Joe Onorato <joeo@google.com> Show the number in the expanded notification instead of in the bar.

Change-Id: I248b4fe1732ed290e9f3f9c094de4544a0e396ab
tatusBarIconView.java
46439cec0eb0da4d0f853f2d8712d0c00c98475b 19-Nov-2010 Joe Onorato <joeo@google.com> Update the look of the notifications. Includes adding a new Notification.Builder class.

Change-Id: I7c57b81c45defe77d6f3d22472e9cf8432bbed03
ablet/TabletStatusBar.java
ablet/TabletTicker.java
b96069936c4e6d10c119efa9943fba818b09373e 19-Nov-2010 Daniel Sandler <dsandler@google.com> Improve hide/show animations in status bar.

This cleans up the lights out experience so you can clearly
see that the "shadows" along the bottom of the bar
correspond to invisible (but still available) UI elements.

Bug: 3203171
Change-Id: I635394d625bf97bbbe7260c1ae9320b616ea7aec
ablet/TabletStatusBar.java
dd4e4603efef2c3df0e26835935f74e1e0e7deb2 18-Nov-2010 Jeff Brown <jeffbrown@google.com> Merge "Added support for full PC-style keyboards."
051dccf6fc7f88cfb4bb462cfc4e8b28b5a4142b 18-Nov-2010 Daniel Sandler <dsandler@google.com> Hello, HoloClock.

Bug: 3203162
Change-Id: I3c4fb47eb4fd7f6de966055e0d0a5de77b0c4eac
ablet/HoloClock.java
6b53e8daa69cba1a2a5a7c95a01e37ce9c53226c 11-Nov-2010 Jeff Brown <jeffbrown@google.com> Added support for full PC-style keyboards.

BREAKING CHANGE: Redesigned the key character map format to
accomodate full keyboards with more comprehensive suite of modifiers.
Old key character maps will not work anymore and must be updated.
The new format is plain text only and it not compiled to a binary
file (so the "kcm" tool will be removed in a subsequent check-in).

Added FULL keyboard type to support full PC-style keyboards.

Added SPECIAL_FUNCTION keyboard type to support special function
keypads that do not have any printable keys suitable for typing
and only have keys like HOME and POWER

Added a special VIRTUAL_KEYBOARD device id convention that maps
to a virtual keyboard with a fixed known layout. This is designed
to work around issues injecting input events on devices whose
built-in keyboard does not have a useful key character map (ie.
when the built-in keyboard is a special function keyboard only.)

Modified several places where events were being synthesized
to use the virtual keyboard.

Removed support for the "qwerty" default layout.
The new default layout is "Generic". For the most part "qwerty"
was being used as a backstop in case the built-in keyboard did
not have a key character map (probably because it was a special
function keypad) and the framework needed to be able to inject
key events anyways. The latter issue is resolved by using the
special VIRTUAL_KEYBOARD device instead of BUILT_IN_KEYBOARD.

Added the concept of a key modifier behavior so that
MetaKeyKeyListener can distinguish between keyboards that use
chorded vs. toggled modifiers.

Wrote more robust key layout and key character map parsers
to enable support for new keyboard features and user installable
key maps.

Fixed a bug in InputReader generating key ups when keys
are released out of sequence.

Updated tons of documentation.

Currently QwertyKeyListener is being used for full keyboards
with autotext and capitalization disabled. This mostly works
but causes some problems with character pickers, etc.
These issues will be resolved in subsequent changes.

Change-Id: Ica48f6097a551141c215bc0d2c6f7b3fb634d354
olicy/KeyButtonView.java
4daaeafd278d22ec9013d1cdaade562044ee907e 18-Nov-2010 Joe Onorato <joeo@google.com> Status bar formatting tweaks

Change-Id: Icb6c8d87e109d9e133e86b0fdb7bea12fe376d92
ablet/TabletStatusBar.java
e03d1bcfc42188e574a8e401154c77d5714eea41 18-Nov-2010 Daniel Sandler <dsandler@google.com> Lights out was getting stuck. Fixed.
ablet/TabletStatusBar.java
b6d3dc68977eada24515a825c43eb01df9a4edb5 17-Nov-2010 Daniel Sandler <dsandler@google.com> Implement new lights-out mode in system bar.

When an app requests fullscreen display, "shadows" of the
visible system bar UI elements are drawn in their place. The
user can still interact with these elements by poking the
shadows; the widgets will temporarily shine through, long
enough for the user interaction.

Known issues:
- if the notification panel is up for too long, the shadow
will not be re-enabled on the notification area (need to
route all hide/show requests through the
shadowcontroller)
- status bar hide/show animations have been temporarily
turned off to make this work correctly; they'll be put
back later

Bug: 3203171
ablet/TabletStatusBar.java
ablet/TabletStatusBarView.java
cf2b199e98de71dcac042484800c07366363a734 17-Nov-2010 Joe Onorato <joeo@google.com> Updated layouts for new status bar

Change-Id: I30dc7c458669c4e6a35c67b7815a00ebbbae8dd3
ablet/NotificationPanel.java
ablet/NotificationTitleArea.java
ablet/PanelBackgroundView.java
ablet/TabletStatusBar.java
8a576713e255eb822558cef840d170d4477f47f0 16-Nov-2010 Joe Onorato <joeo@google.com> Add the quick settings panel. There's currently nothing in it.

Change-Id: I71195c7b0bd2b902da1c60527b6e23964b1ea4fc
ablet/NotificationPanel.java
ablet/NotificationPeekPanel.java
ablet/SettingsPanel.java
ablet/TabletStatusBar.java
09f686ec7ea3ea103736b7173e55b0b214bfb819 16-Nov-2010 Joe Onorato <joeo@google.com> use the proper number of wifi icon levels.

Change-Id: Ib8d4bccff7240d0086729093d79f564aa97001ff
olicy/NetworkController.java
olicy/WifiIcons.java
801ade0f08364042a530c9f0530094c2bcc020f8 16-Nov-2010 Joe Onorato <joeo@google.com> Don't crash if we haven't gotten a signal strength yet.

Bug: 3198447
Change-Id: I645b484eadfff6ed34517571b0c6fea3057ec563
olicy/NetworkController.java
abb27777f4763d057d37a58936232f8e17f57de1 15-Nov-2010 Joe Onorato <joeo@google.com> Don't cancel the key buttons when you drag outside their bounds.

Bug: 3183205
Change-Id: I9e0f2e4e550b3e5b1b46099145b4c703b77aca77
olicy/KeyButtonView.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
arrierLabel.java
lock.java
loseDragHandle.java
ateView.java
xpandedView.java
ixedSizeDrawable.java
conMerger.java
eyButtonView.java
otificationLinearLayout.java
honeStatusBarService.java
tatusBar.java
tatusBarIconView.java
tatusBarPolicy.java
tatusBarService.java
tatusBarView.java
icker.java
ickerView.java
rackingPatternView.java
rackingView.java
hone/CarrierLabel.java
hone/CloseDragHandle.java
hone/ExpandedView.java
hone/IconMerger.java
hone/PhoneStatusBar.java
hone/PhoneStatusBarPolicy.java
hone/PhoneStatusBarView.java
hone/Ticker.java
hone/TickerView.java
hone/TrackingPatternView.java
hone/TrackingView.java
olicy/BatteryController.java
olicy/Clock.java
olicy/DateView.java
olicy/FixedSizeDrawable.java
olicy/KeyButtonView.java
olicy/NetworkController.java
olicy/TelephonyIcons.java
olicy/WifiIcons.java
ablet/NotificationPanel.java
ablet/RecentAppsPanel.java
ablet/ShirtPocket.java
ablet/SystemPanel.java
ablet/TabletStatusBar.java
ablet/TabletStatusBarService.java
ablet/TabletStatusBarView.java
55d3bae235a8d233acd486385dad7836cb40da1f 13-Nov-2010 Dianne Hackborn <hackbod@google.com> Merge "Change recents UIs to do task switches."
46e75294d540fe807d78aec2582ae02cc38c7d42 11-Nov-2010 Jeff Brown <jeffbrown@google.com> Enable touch splitting for all windows by default.

New default only applies to applications with targetSdkVersion >=
HONEYCOMB. Old applications default to no touch splitting for
their windows.

In addition, enabled split touch for various system windows.

Bug: 3049580
Change-Id: Idc8da9baa2cd8e1e4e76af8967d7b6a5ccb94427
honeStatusBarService.java
tatusBarService.java
ablet/ShirtPocket.java
ablet/TabletStatusBarService.java
b677746bd8cfbf7dc37ebe31c000017a70037b06 12-Nov-2010 Dianne Hackborn <hackbod@google.com> Change recents UIs to do task switches.

When switching to a recent task that is currently active, do a
task switch instead of a start activity, so the activity is brought
back in its exact same state.

Also fix problem in phone recents where the icon would disappear
after you touch it.

Change-Id: Id5c8478f8c33c90f52fbb4d969037d2bf5af9fff
ablet/RecentAppsPanel.java
fefef311911de326fe23b8daaddc5da4adfff9a5 09-Nov-2010 Jim Miller <jaggies@google.com> Initial pass to update RecentApps panel to new UI specification.

This updates recent apps to show a vertical list, complete
with thumbnails and a text description of the application.

Change-Id: I178ed8d7d32e790ac51aa7f88593aa24d6786a78
ablet/RecentAppsPanel.java
3b476abca80ef62c26eb5e10e72680b0ec29b174 05-Nov-2010 Daniel Sandler <dsandler@google.com> Show date in system bar.

Bug: 2996123
Change-Id: If2f588defaa4c27bf6010e14c946c5ab2894e1db
ateView.java
ablet/SystemPanel.java
06e6630a462b6a5c04c319d781d64896778d351f 05-Nov-2010 Daniel Sandler <dsandler@google.com> Restore user-accessible lights-out control.

Current system area gestures:

tap - no-op (bug 3114340)
swipe up - open system panel
swipe down - lights out
long press - lights out (bug 3134973)

The enter/exit animations have been tweaked to reinforce
this, particularly the swipe down for lights out. (Swiping
up to exit lights out will work, as will any kind of tap in
the lights-out "curtain".)

Change-Id: Ie027d7a0e86a402d06a8a368a5a43050a6bb9e58
ablet/TabletStatusBarService.java
b73617de462579f7c12c25a4c2747c576f00f6a2 17-Aug-2010 Daniel Sandler <dsandler@google.com> Rotation lock.

IWindowManager now supports two new methods,
freezeRotation() and thawRotation(), that allow a caller to
temporarily stash the device's current rotation as the
default rotation (when no other constraints are present).

The system bar uses this to implement a user-accessible
rotation lock by calling freezeRotation() and then turning
off accelerometer-based display rotation; unless overridden
by an app, the display will continue to appear in the frozen
rotation until the rotation is unlocked by the user (either
via the rotation lock icon in the system bar or by checking
"rotate screen automatically" in Settings).

Bug: 2949639
Change-Id: Icd21c169d1053719590e72401f229424b254622f
ablet/SystemPanel.java
26ba12490347f34a0aa3a2ee2370d60d24f5f7d0 04-Nov-2010 Robert Greenwalt <rgreenwalt@google.com> Merge "Add some network/phone type constants."
962a990a45a2a9f9c3002064e71f9c2fed86acf1 02-Nov-2010 Robert Greenwalt <rgreenwalt@google.com> Add some network/phone type constants.

Support for LTE (and SIP-based voice) and the stepping-stone eHPRD.

bug:3125398
Change-Id: Ied3d96fa09d9c758a82a2fd1817f55db711d1a4f
tatusBarPolicy.java
06e0744e9e1a04a07e2e1bf9279124223bd674da 02-Nov-2010 satok <satok@google.com> Update the subtype icon properly.

Change-Id: Ib89959d1ea13f1e6f56e6280f90532e6695c4a00
ablet/InputMethodButton.java
4058ba052682129f2d1055116aaffb2e91c2013d 31-Oct-2010 Joe Onorato <joeo@google.com> Allow both contentIntent and setOnClickPendingIntent in notifications

From the app developer's request:

Intents assigned to specific views should take precedence over the content intent, but it should not
be required to set the content intent to null in order for the view-intents to work

Bug: 3107945
Change-Id: Ic5282d441277a9a8c8c700ef3f43872f3405b58a
atestItemView.java
e4c7b3f25ee3cb8d3fba4d15a8fbb97bc83d8dd1 30-Oct-2010 Joe Onorato <joeo@google.com> Status bar: Forward the disabled state to the status bar process when it comes up.

Bug: 3108996
Change-Id: I92c2ff645dc64ca2610e3de814e0cfef6cde88c3
tatusBarService.java
2ec6a54c6f21d2dc07472b6a20fd5850de99692c 29-Oct-2010 Andreas Huber <andih@google.com> fixing the build.

Change-Id: Ibf3686c4734e5a4ddbb93e46a1b012804d277e7e
ablet/InputMethodButton.java
4c61aa3cafa3c6fe374020786a8706b5fb5cfd86 29-Oct-2010 Joe Onorato <joeo@google.com> this is only called from the ui thread, just make the calls directly.

Change-Id: Iad80d04cbd38ef2922d341be307154f74eeb4774
ablet/InputMethodButton.java
ablet/TabletStatusBarService.java
069dffdf27031e10ebd437d04924a07add71d9de 29-Oct-2010 Daniel Sandler <dsandler@google.com> Quick fix for status bar crash.

Bug: 3147743
Change-Id: I0fb06b04f234b9d34349f65fede8f74b24eae988
ablet/InputMethodButton.java
06487a58be22b100daf3f950b9a1d25c3ea42aa2 29-Oct-2010 satok <satok@google.com> Add a functionarity for showing / hiding IME button on the system bar

Bug: 3077030

- IME communicates with status bar directly.

Change-Id: Ic5b6b5b7a2b8ea62372dcc9b9c36d81b9f2db651
ommandQueue.java
honeStatusBarService.java
tatusBarService.java
ablet/InputMethodButton.java
ablet/TabletStatusBarService.java
b0cc50de14dc9e2d0d224803bb523aa7f48904ac 26-Oct-2010 Daniel Sandler <dsandler@google.com> Notification flyovers.

Hold your finger on an individual notification icon to
quickly show that notification's payload.

Also: Quickly swipe up on any icon to open the tray.

Bug: 2994009

Change-Id: I2ae2b546fcfa62994b63b9376f487289b2d06796
ablet/NotificationIconArea.java
ablet/TabletStatusBarService.java
04d50204705c9da52b218f11972da4e7d7a9cb84 25-Oct-2010 satok <satok@google.com> Show Subtype Icon properly in the system status bar

- Added API for getting the current subtype
- Added functions for show/hide status icon

Change-Id: Ifcaad00f7f4c658cdb3af367387476bbf316eb19
ablet/InputMethodButton.java
31b2610dee691f308584dc54b2d936f29f9ca1f7 27-Oct-2010 Joe Onorato <joeo@google.com> Tapping outside the system panel shouldn't open the recent panel

Change-Id: Iec784cbe08f61f14a345f81e1cf374ee095beaf5
ablet/TabletStatusBarService.java
10523b4d0c99cec86647130426d470a1e02a44f6 25-Oct-2010 Joe Onorato <joeo@google.com> Make the low battery dialog work again.

Change-Id: I97232a3645e6a817c9c5f5f90b88a7e925d36d13
tatusBarPolicy.java
adf840ea0c41493fba9c4421918de080a2cfe71a 27-Oct-2010 Dianne Hackborn <hackbod@google.com> Merge "ClipDescription no longer inherits from ClipData."
f834dfabbcbbe1f209682f18c67f2e8b9d3e1dd7 26-Oct-2010 Dianne Hackborn <hackbod@google.com> ClipDescription no longer inherits from ClipData.

Change-Id: Ie4939f87c7e1628d9c19ecb5c0b3036d1f76ef29
ablet/ShirtPocket.java
91fb28caf6bf39ba55f72883f1e7992ab35aad20 26-Oct-2010 Daniel Sandler <dsandler@google.com> Remove logspew.

Change-Id: Ic713febfb1d92d19321ed512dbf6f38e5e2dfbf4
ablet/TabletStatusBarService.java
44c66fe2cd912fcea2e9824eb421d5c8d9ffadbd 21-Oct-2010 Jim Miller <jaggies@google.com> Fix 3117937: Add simplified "recent apps".

This adds a simplified recents view for devices that
don't handle 3D well.

Change-Id: I8307cd340caf1d65c8fce80eaf55a1d21bc64312
ablet/RecentAppsPanel.java
ablet/TabletStatusBarService.java
ablet/TabletStatusBarView.java
cbab0413a22e4454ffbf7c7d829b587afc827ed8 25-Oct-2010 Daniel Sandler <dsandler@google.com> Merge "Swipe up to open the settings panel. Tap anywhere to close."
8304da460f95c0883eca0d97fcdc4eb42c10f7c2 25-Oct-2010 Daniel Sandler <dsandler@google.com> Swipe up to open the settings panel. Tap anywhere to close.

This should help reduce false hits on the clock when typing
on an on-screen keyboard.

Change-Id: I3afab88c800873d1801b16ac79ffa3e7ddd42949
ablet/TabletStatusBarService.java
213b30efa8496e9ff6b2fbdc09ad51c88d2d41a4 23-Oct-2010 Chris Tate <ctate@google.com> Fix drags from the shirt pocket

startDrag() may only be called by/on a view that is in the window that
is currently being touched.

Change-Id: I5de158578dd3f75b5069e5af4f0726576adac4d4
ablet/ShirtPocket.java
cf3c7cf3c986526398e2bc79a39227d751202822 22-Oct-2010 Daniel Sandler <dsandler@google.com> Avoid graphics deadlock in DND mode.

(Workaround for bug 3031039; will fix by moving to new-style
animations)

Change-Id: I4fd65ac6f3266686eaa809dc1e7dfe46c7d59cd0
ablet/TabletStatusBarService.java
271ea12dc29ad30009df785f21f6782ec29844c8 22-Oct-2010 Daniel Sandler <dsandler@google.com> Refinements to the notification icon area.

- New icon states per revised UX designs.
- Basic implementation of do-not-disturb mode.
- Removed unused grippies.

Change-Id: I506dcdc8ceb855902f2401e3145c3c676c0de207
ablet/NotificationIconArea.java
ablet/TabletStatusBarService.java
ea70e63c0dcd09ec5790f4dca6ddd76284a6a23d 28-Sep-2010 Joe Onorato <joeo@google.com> Swap the navigation buttons and notification icons.

Left: BACK, HOME, RECENT, [MENU], [CLIPBOARD].
Right: NOTIFICATIONS, PANEL TRIGGER.

Many Bothans participated in usability tests to bring us
this change.

Change-Id: I45a0847226fd6264a3d62c60001e2b906ac15133
ablet/TabletStatusBarService.java
f3c3c4fd14cb4185ec6df5a4355aab8b9f4039dc 21-Oct-2010 Joe Onorato <joeo@google.com> Refactor SystemUI so the status bar isn't a Service of its own.

There is now one SystemUIService, which starts the status bar service.
Pretty soon there will be other things running in here too. This way
we don't need to have each of them started by something individually.

This also moves the choice between tablet and phone status bar into
SystemUI.apk, which seems like a much better place for it.

Change-Id: Ib69ef2f43d648764f8dbb52008f5d036a1ee07d9
honeStatusBarService.java
tatusBarService.java
ablet/TabletStatusBarService.java
524f568802c32ba1126fe2886f3e96d018d7f23d 13-Oct-2010 Daniel Sandler <dsandler@google.com> New system bar "shirt pocket", for quickly stashing draggable bits.

Anything that can be dragged using the new drag manager APIs
(View#startDrag) can be dropped here; the pocket will hold
it for you until you're ready to drag it out again.

Known issues:
- currently discarding the clipping whenever you drag it
out; in the future we will only discard it once you
actually drag it somewhere
- there's a bug where dragging things back out of the
pocket's window requires an extra tap (i.e. tap once then
tap and drag)
- almost nothing uses the new drag manager yet :)

Change-Id: Iff3103e4117f31023e1e96667632d77912e21d30
ablet/ShirtPocket.java
385a753dead6ef15f2e30eae47f73e642b3ef7ed 21-Oct-2010 Brad Fitzpatrick <bradfitz@android.com> resolved conflicts for merge of 368fdba4 to master

Change-Id: I42b7b433c86a71a5da5db67109f056a280077c9d
431bb2269532f2514861b908d5fafda8fa64da79 19-Oct-2010 Joe Onorato <joeo@google.com> Reduce logging.

Remember, the system and main logs are
- Shared resources
- Primarily for recording problems
- To be used only for large grained events during normal operation

Bug: 3104855
Change-Id: I136fbd101917dcbc8ebc3f96f276426b48bde7b7
tatusBarPolicy.java
tatusBarService.java
184498ce5a8d77e1d9c45693363829daaeef9611 08-Oct-2010 Joe Onorato <joeo@google.com> Allow notifications to not specify a contentIntent.

If they don't, the click events will be passed through to the individual
views in the notification view, which may have their own PendingIntents
attached.

Previously, it was against the UX spec to allow this, but now we are
changing that and will have buttons in there.

Change-Id: I674234212f64b2b8802a0708b7eed0614e147ca3
atestItemView.java
honeStatusBarService.java
ablet/TabletStatusBarService.java
e02d808abf370965c3c4e4d38af11bc69110fde2 08-Oct-2010 Daniel Sandler <dsandler@google.com> Dynamically show the menu button on the system bar.

Windows with FLAG_NEEDS_MENU_KEY (or windowNeedsMenuKey=true
in their theme) will cause the system bar to show a menu
icon. (Note that the phone's status bar currently ignores
this, but phones tend to have hardware menu keys anyway.)

Additionally, all windows whose package's SDK version is
pre-Honeycomb will have FLAG_NEEDS_MENU_KEY set by default.

Bug: 3003728

Change-Id: I2d983763a726ea4f32cd1af9b0390e30478b11d1
ommandQueue.java
honeStatusBarService.java
tatusBarService.java
ablet/TabletStatusBarService.java
bb60d1e36b4eb72f29a587a8df49679a0f978d15 12-Oct-2010 Joe Onorato <joeo@android.com> Add animation for the status bar going away.

Bug: 3077525
Change-Id: I0c166fc161f8febe963e667259517173b9ac609b
tatusBarService.java
0d7349bd92b2dc6c304f6a380a81d4c546ec21c0 12-Oct-2010 Joe Onorato <joeo@android.com> Fix status bar flashing after orientation change

hand merge 43a87c5c874f1b8fbf582ff522f10051a6434906
and add some more fixes

Change-Id: Iea608bfba37e2e4c6a3430c13f683e54b0eff64b
tatusBarService.java
39b4867d483cc9aba36b26a81074d9f606661671 09-Oct-2010 Jason Chen <jasonchen@google.com> Revert "Merge "Allow notifications to not specify a contentIntent.""

This reverts commit 8885321046622d6a8c0a4214af98dc27eecd48a0, reversing
changes made to 61b8aaadd742f0be708cd37971d2c9e822bf778a.
atestItemView.java
honeStatusBarService.java
ablet/TabletStatusBarService.java
80a752c5373cfa906568302c831710b5c22a8155 08-Oct-2010 Joe Onorato <joeo@google.com> Allow notifications to not specify a contentIntent.

If they don't, the click events will be passed through to the individual
views in the notification view, which may have their own PendingIntents
attached.

Previously, it was against the UX spec to allow this, but now we are
changing that and will have buttons in there.

Change-Id: Ie3b2e96c6a1c4449fa86ed571f3ad0f047320d31
atestItemView.java
honeStatusBarService.java
ablet/TabletStatusBarService.java
a84a69f2eb3e3ddb11aa01670d9aeda1cdba4068 08-Oct-2010 Daniel Sandler <dsandler@google.com> Start of input method control on system bar.

This change creates a new icon to the right of the
notification area for the IMM to expose control over the
current IME. Currently it shows the IME subtype picker.

TODO: Connect directly to the IMMService to show the correct
icon (and hide the icon entirely when the input panel is not
visible).

Bug: 2975425
Change-Id: If07f30867b81950a0a86b00807a41e2ff2af389c
ablet/InputMethodButton.java
760f3a5767027d554e92003c1b23c8093cab8677 05-Oct-2010 Dianne Hackborn <hackbod@google.com> DO NOT MERGE: Get rid of status bar's dim during night.

This does more harm than good now that the background is black.

Change-Id: Ia5407c5078a83231a229fc9ed85839144f0da913
tatusBarView.java
066b5c5166c1f5342bd42aa0d68f784a5f4c1dd1 05-Oct-2010 Joe Onorato <joeo@google.com> manual merge Merge commit '77e42376' into work

Conflicts:
packages/SystemUI/res/values/colors.xml
packages/SystemUI/src/com/android/systemui/statusbar/StatusBarService.java

Change-Id: I891c8a9f6410037ca7805507e85a17f1655c115e
6c01a11a20d5fc796360e5e97998401a6cc84f27 04-Oct-2010 Joe Onorato <joeo@google.com> implement the number bubbles on the status bar

Bug: 2993482
Change-Id: I73b1f8c39e995fd4f986c25ea04127eb23c3cd07
conMerger.java
tatusBarIconView.java
tatusBarService.java
0cf6418e090764b6880f5a8af19e8f7f7fc41858 30-Sep-2010 Joe Onorato <joeo@android.com> am 9a042772: am 2a0b3c0d: Merge "AnimatedImageView: Stop the animation when we\'re not visible." into gingerbread

Merge commit '9a042772c2d76dba3a541dc4190b7be1a438445a'

* commit '9a042772c2d76dba3a541dc4190b7be1a438445a':
AnimatedImageView: Stop the animation when we're not visible.
1e7277e20465be39e30d7e84192c40c4c7b55f89 29-Sep-2010 Joe Onorato <joeo@android.com> AnimatedImageView: Stop the animation when we're not visible.

Change-Id: I5dedc4048806f1ea44ef4777ccf578a29e79869b
nimatedImageView.java
d9bb688c91b5be6b7f065f02b9095787c452016e 28-Sep-2010 Jaikumar Ganesh <jaikumar@google.com> Update code for new BT APIs.

The status bar shouldn't be knowing details like profiles etc.
It just needs to know whether we are connected to some device or not.

Change-Id: Ibaabf4581a134045b33069a2ea55a13032f1b357
tatusBarPolicy.java
8bf70c9fa41ec45ea0620091486d51a6bedd2911 29-Sep-2010 jsh <jsh@google.com> am 81102903: am 37a3631e: Merge "Add line break between PLMN and SPN in windowshade." into gingerbread

Merge commit '8110290388a68225b5dc9b5b987e4e6e583d78b2'

* commit '8110290388a68225b5dc9b5b987e4e6e583d78b2':
Add line break between PLMN and SPN in windowshade.
37a3631edfb1b848daca23bf5a12e1ab4bb6e096 28-Sep-2010 jsh <jsh@google.com> Merge "Add line break between PLMN and SPN in windowshade." into gingerbread
a4a6503d30ed21402847dbd25849ba2dc68a1369 28-Sep-2010 Joe Onorato <joeo@google.com> Don't show X for notifications that can't be cleared

Bug: 3038418
Change-Id: Ic27c2e686b918c0238b85658700925c51311df06
ablet/TabletStatusBarService.java
5dd1169ae95162383acf00d1e9a1886e0ac99a70 28-Sep-2010 Joe Onorato <joeo@google.com> Hide the "Clear all" button in the notification panel if there are no clearable notifications.

Change-Id: I7145036724939220e1f23fb91c62027b28663c20
otificationData.java
ablet/TabletStatusBarService.java
7ebd659dbf3aa672cd1a686938f3df22d429be1f 27-Sep-2010 Joe Onorato <joeo@google.com> Merge commit 'f9f9e248' into manualmerge

Conflicts:
packages/SystemUI/src/com/android/systemui/statusbar/StatusBarService.java
tests/StatusBar/src/com/android/statusbartest/StatusBarTest.java

Change-Id: Ibbb2fec2d8c6f5d41398272753d271dfae698100
795f2840b4a70bf188c2f24c8c06f73a492b338c 27-Sep-2010 Joe Onorato <joeo@android.com> If an icon add remove get coalesced, don't remove some other icon.

Also adds a test case and turns off the extra logging we added to debug this.

Change-Id: I8640938ae4d1e75c88213177888f363e05ce0fa0
ommandQueue.java
tatusBarService.java
091e1b8a86d34d2d51d2a5f7ae3cd903925fa5bf 27-Sep-2010 Joe Onorato <joeo@android.com> Implement disable() on the status bar.

This includes adding the new DISABLE_NAVIGATION flag.

Bug: 3000770
Change-Id: I6d1c3586198e13e06b5d26e8b23a9495dc4ba02e
ablet/TabletStatusBarService.java
ablet/TabletTicker.java
f8c16e56cb5c53739f0df89ffc6e99460cded259 27-Sep-2010 Joe Onorato <joeo@android.com> Use the correct combination of flags to have the status bar panels not pass touch events.

Change-Id: I1fce7265135c63631149142d67951dc1f189f060
ablet/TabletStatusBarService.java
ddf680bff5bb9bc04ef04667644db8ade0b38c46 26-Sep-2010 Joe Onorato <joeo@android.com> Touching the blue glow should close the system and notification panels.

Bug: 3029373
Change-Id: I96760656dcda20ab238305900f9964083a8e5273
ablet/NotificationPanel.java
ablet/StatusBarPanel.java
ablet/SystemPanel.java
ablet/TabletStatusBarService.java
55d2d7646bf13bb5406bf01fd1bb96e58588570c 26-Sep-2010 Joe Onorato <joeo@android.com> Notification updates.

When the drawer is open, hide the icons & toasts.
Move Clear button to the bottom and add DND button.

Change-Id: I8b3253eb8f2ff3b1e11a819d58b202e023f00710
ablet/TabletStatusBarService.java
dbb9ad82067abb80f01f814b2346811a9e09832b 24-Sep-2010 jsh <jsh@google.com> Add line break between PLMN and SPN in windowshade.

bug: 2994598
Change-Id: Id588e18e78e0adcc6a0a4e40599f60c57a40170d
arrierLabel.java
1578f21dad709a20271864d7cb60dff02d1df99b 24-Sep-2010 Joe Onorato <joeo@android.com> Merge commit '00cb6417' into master. Doesn't turn on the debugging.

Change-Id: I1d4db9c5256ba45a44e50e8229b895e2e5330690
f9ec03c0f5fc2c6eba5bbead24c4eb314c0205be 24-Sep-2010 Joe Onorato <joeo@android.com> Make the logging a little more targeted for the status bar multiple icon problem.

Change-Id: I726eef29281dce2a1b900c28ad55bf82cb50449a
tatusBarIconView.java
tatusBarService.java
7461c9e3443d52efed315273bbb348798b16f604 23-Sep-2010 Joe Onorato <joeo@android.com> am 999d483b: am 49a8bbf4: Don\'t crash if we\'ve never gotten a signal strength update.

Merge commit '999d483bf8fc4271c42484aaf253f12e4eb8ff29'

* commit '999d483bf8fc4271c42484aaf253f12e4eb8ff29':
Don't crash if we've never gotten a signal strength update.
49a8bbf4eacbf0bde71bab05be0ab40488df109c 23-Sep-2010 Joe Onorato <joeo@android.com> Don't crash if we've never gotten a signal strength update.

It looks like this timing bug has been there forever, and we're just starting to hit it now.

Bug: 3027952
Change-Id: I5c14ccd7f74205dc6930f4282cec0e23eeb54cab
tatusBarPolicy.java
19531dacfee9fcfd527ab04223fb91ae019ec05c 21-Sep-2010 Robert Greenwalt <rgreenwalt@google.com> am f532e958: am 6548f395: Merge "Inet status bug fix" into gingerbread

Merge commit 'f532e9583ec0111b1c198e895ed1b2fd83c3d5cf'

* commit 'f532e9583ec0111b1c198e895ed1b2fd83c3d5cf':
Inet status bug fix
029be81302c7a00901e0af34afc06ddabb2805ef 21-Sep-2010 Robert Greenwalt <rgreenwalt@google.com> Inet status bug fix

Don't wipe out the connected status every time we get a cellular status change.
Don't filter out disconnect event for wifi - we need them.

bug:3009923
Change-Id: I68cadac5f44d6eb4e0fe711fda7c5d218abb45bd
tatusBarPolicy.java
2c9188e2c92a013f886e3ee3eef8fa052bace0e3 21-Sep-2010 Irfan Sheriff <isheriff@google.com> DO NOT MERGE Enable debug in StatusBarService

This is a temporary enable to allow us to identify
the issue with multiple icons on StatusBar

Bug: 2984213
Change-Id: I36ac7baff6544c63fa44d9b2c7453bca6a33bd62
tatusBarService.java
b62ac127824e9723534a197189eca58d30f15d3d 20-Sep-2010 Joe Onorato <joeo@google.com> Tapping outside the status bar panels closes them.

Bug: 2994011
Change-Id: I0c5a28de5269f4136e6b118d5f6ac4aa38cd6d07
ablet/TabletStatusBarService.java
ablet/TabletStatusBarView.java
ef1e7763c2dc5b9bac69cc747efe05c81d9fd9fc 18-Sep-2010 Joe Onorato <joeo@google.com> Tablet ticker.

Change-Id: Ia3db5cc29eac1703123de3e1c6dc7c22e7d024eb
ablet/TabletStatusBarService.java
ablet/TabletTicker.java
5b7c5e055233154d2a82cc2d084cf983d12bb3a7 16-Sep-2010 Robert Greenwalt <rgreenwalt@google.com> am f434dd16: am 134b28a7: Merge "Update Inet Connection Status display" into gingerbread

Merge commit 'f434dd1660f222a1ee85e77c98893b90857805c2'

* commit 'f434dd1660f222a1ee85e77c98893b90857805c2':
Update Inet Connection Status display
1e9aac2bd855f12708d3049eff4435fa4a2f4317 16-Sep-2010 Robert Greenwalt <rgreenwalt@google.com> Update Inet Connection Status display

Cellular signal strength should also be green - these assets aren't, but
the art guys are working on that.

Also using a new intent so we don't overload the CONNECTIVITY_ACTION and
confuse the apps.
bug:2994024

Change-Id: I6fe8f65dd6e9869d9724064c4fae45340491a4d8
tatusBarPolicy.java
5c8e3b5e496c6c1da12a03ee2eb5cbb3e5bd6a5a 14-Sep-2010 Irfan Sheriff <isheriff@google.com> am b62bc963: am ab2ac887: Merge "Fix statusbar display of wifi signalstrength" into gingerbread

Merge commit 'b62bc9632250f77d29baca54419442c8d3c965ef'

* commit 'b62bc9632250f77d29baca54419442c8d3c965ef':
Fix statusbar display of wifi signalstrength
fa974c590955e9ff21f8f85209d9b28b0f467458 14-Sep-2010 Robert Greenwalt <rgreenwalt@google.com> Fix statusbar display of wifi signalstrength

When turning a 1d array into a 2d, be sure and adjust length-checks.
bug:2995809

Change-Id: I9ff53f75958ea7808eb9f44bc05497e86f1807a2
tatusBarPolicy.java
f63b0f44eb53f535a65bd83dbc1d8b95abc501da 12-Sep-2010 Joe Onorato <joeo@google.com> Connect my plumbing to dsandler's awesome lights out mode.

It took a little bit of refactoring to move the authoritative state
about whether the lights are on or not into the StatusBarManagerService,
so that if the system ui process crashes, the bar comes up in the
right mode.

Change-Id: I95cfaf8f78ca4443ded5262272ea755d44dc5d17
ablet/TabletStatusBarService.java
9305647eb61bb60a1f42481a0c0d208dc9bbe965 10-Sep-2010 Joe Onorato <joeo@google.com> Plumb lights out mode through from the window manager to the status bar running in the system ui process.

Lights out mode itself isn't implemented.

Change-Id: Ieeef0eb9ae5be23000f770e74e8ee66472f4c673
ommandQueue.java
honeStatusBarService.java
tatusBarService.java
ablet/TabletStatusBarService.java
8a300c6107f377cf9fd1271121fb93ae2115a188 10-Sep-2010 Robert Greenwalt <rgreenwalt@google.com> am d4e722b7: am 34763928: Merge "add ART for inet connection condition" into gingerbread

Merge commit 'd4e722b74f4a5c58db03dd94d79f192c0a9b3004'

* commit 'd4e722b74f4a5c58db03dd94d79f192c0a9b3004':
add ART for inet connection condition
26faee394596b32037d4f259914ffa1cdd53ef4f 10-Sep-2010 Robert Greenwalt <rgreenwalt@google.com> add ART for inet connection condition

bug:2978624
Change-Id: I608c3d1657a4b75c42f95147ffd5e95927fc108d
tatusBarPolicy.java
29c1ac170ea12eb917829bb7ac69f2b8aed03f23 09-Sep-2010 Robert Greenwalt <rgreenwalt@google.com> Merge "resolved conflicts for merge of ec52c98d to master"
ca4306c976d393c3cd04270bc2de0af2f4f30fa5 09-Sep-2010 Robert Greenwalt <rgreenwalt@google.com> resolved conflicts for merge of ec52c98d to master

Change-Id: I31297232c9d918a967b93c3ae977f81b6a94f2ed
7a1a2f0e9273afbde398d9804cfaa245f6adbf5d 09-Sep-2010 Christopher Tate <ctate@google.com> Mute some spammy log messages from KeyButtonView

Change-Id: I6a254b6b9d611b3daaa9972a9d26a19c99e8572d
eyButtonView.java
d7085fcf6567452a9d6fc69b0c6b1bf556f4c1b9 09-Sep-2010 Robert Greenwalt <rgreenwalt@google.com> Add network condition reporting.

Apps can report if they like their connection to the nets
and we display either not-really-connected or fully-connected
icons. Final icons TBD.

bug:2978624
Change-Id: I28be52085edfe54571c0d4559aba0df883548654
tatusBarPolicy.java
013cfc1116e3382981aa0da903d97fc4fdb2c791 08-Sep-2010 Joe Onorato <joeo@google.com> move recent apps around, attempting to make it not crash.

I think the problem is some kind of Context mismatch because the resource was in the framework but
referencing an app class.

Change-Id: Ia6b37c9c8be5dddc836331859e779cd80dd32596
ecentApplicationsActivity.java
ecentApplicationsCarouselView.java
ablet/TabletStatusBarService.java
a18a86b43e40e3c15dcca0ae0148d641be9b25fe 07-Sep-2010 Chet Haase <chet@google.com> Rename several animation classes

Change-Id: I6a4544875090db485163c8d56de8718f56d267c7
ablet/TabletStatusBarService.java
935865923fdad9f47061ff0aedfe92d0b912d5d6 07-Sep-2010 Joe Onorato <joeo@google.com> resolved conflicts for merge of 07990cf2 to master

Change-Id: I62cc2d14820e4cbe80ea433caf323be2df1fb9a8
da695520782a9feba963840aad596a20929396f2 07-Sep-2010 Joe Onorato <joeo@google.com> When notifications are updated, don't re-show the ticker unless the text has changed.

Bug: 2963867
Change-Id: I24b5bc958fb6eb0d753c88178a385232c75ea438
tatusBarService.java
783cb60ddb7cde1349ca531c7b96ad67d5053cd2 03-Sep-2010 Jim Miller <jaggies@google.com> Update RecentApplications to use shared Carousel widget.

Change-Id: I5ca7389aeca9ee6f03f48317f9d1034f9fb8c1ca
ecentApplicationsActivity.java
ecentApplicationsCarouselView.java
ce70d91844d2e4fb987617d2924ae5b73096e5c3 02-Sep-2010 Daniel Sandler <dsandler@google.com> Lights out.

Not yet wired up to FLAG_FULLSCREEN; right now you must
invoke it manually by longpressing on the clock area.

Bug: 2905073
Change-Id: I43a005f2e4c08edb3673aef523bcaa1e088e8a71
ablet/TabletStatusBarService.java
d39e388e6d7f19d6e8d620e449af4124efab1d0d 31-Aug-2010 Daniel Sandler <dsandler@google.com> Redesigned system bar and quick settings panel.

Change-Id: Ie26767a8c25af64809cf2fd1d8364791cb7e55ed
ablet/SystemPanel.java
ablet/TabletStatusBarService.java
804eb858348dbe2c8564aa930b6349a5571b5476 31-Aug-2010 Daniel Sandler <dsandler@google.com> Fix longpress on Menu showing IME.

Bug: 2964208
Change-Id: I1e66ed95978a7b67ede32d08cc32ddf161cb85e0
eyButtonView.java
91b2eb933cbafbce13e2afa2220cd72d363be947 31-Aug-2010 Jim Miller <jaggies@google.com> Merge "Fix 2797185: Add recents to statusbar on xlarge device."
a10194936c457da55402cbfedd541fcd0cdb12d3 31-Aug-2010 Jim Miller <jaggies@google.com> Fix 2797185: Add recents to statusbar on xlarge device.

Change-Id: I9d2b099347b31189b96596273e38b5c2df8f4432
ablet/TabletStatusBarService.java
8b46add1d5648e5ba0a9e33a259bbbc0d4242dc9 31-Aug-2010 Daniel Sandler <dsandler@google.com> Merge "Turn off spammy RSSI logs."
d02bdaab495641ab50e2123fdfd99a819cc40540 26-Aug-2010 Daniel Sandler <dsandler@android.com> Remove experimental immersive mode support. DO NOT MERGE

Bug: 2949215

Change-Id: I7d998ef571ef7e149bb96261430e92150b80b77d
tatusBarService.java
63cbc4c03e14a6e643e1e24147e228c96a1a9517 27-Aug-2010 Daniel Sandler <dsandler@google.com> Turn off spammy RSSI logs.

Change-Id: Ifab951afdbbb5fb8e9c6f58f5b8d47139596f7a3
ablet/SystemPanel.java
88e517ec7178db457ad987e91c5430c6be6c0c85 27-Aug-2010 Joe Onorato <joeo@google.com> Hand merge bc5d9d22: Need to close the windowshade on ACTION_CLOSE_SYSTEM_DIALOGS and ACTION_SCREEN_OFF." into
master

Change-Id: I4e42155d231f92893c48ffe911e3dfce9d70eb49
honeStatusBarService.java
c70bd1921bbc4046d0caf84959e5f1c2d526769a 26-Aug-2010 Jim Miller <jaggies@google.com> Merge "Fix 2797185: Integrate 3D RecentApps View into system."
246ba1121c41d518af5b755fa7a8ded2c4a0ec8b 26-Aug-2010 Joe Onorato <joeo@google.com> Need to close the windowshade on ACTION_CLOSE_SYSTEM_DIALOGS and ACTION_SCREEN_OFF.

Bug: 2827958
Change-Id: I1f9467a2a80fdc1d004a678327a47e7bc8917a18
tatusBarService.java
e6ad1a8ba29bdd5d61ad1c91146def582c8c0334 21-Aug-2010 Jim Miller <jaggies@google.com> Fix 2797185: Integrate 3D RecentApps View into system.

This adds 3D recents to the platform. Enabling it is a
matter of setting 'config_enableRecentApps3D' on devices
capable of supporting it (those with OGLES2.0 at the moment).

Change-Id: Ife7bfe8ca02e7657821b68f915e31b0dab50cd2c
ecentApplicationsActivity.java
764b4da4a8c3e2aecbfd5d7209c5d30cecac75d2 24-Aug-2010 Daniel Sandler <dsandler@google.com> System bar improvements.

- Updated artwork for buttons and signal/battery meters.
- Layout change: meters on either side of clock
- RSSI for mobile data. The algorithm is more or less the
same as the one used in the phone status bar. Note that
mobile data is only shown if Wi-Fi is unavailable.

Bug: 2924643
Change-Id: Idaa0c52422db4a63616475bde96626d1953830b4
ablet/SystemPanel.java
ablet/TabletStatusBarService.java
fb970e920413e7f3a6159056fa698bb9c6b04056 20-Aug-2010 Daniel Sandler <dsandler@google.com> Notification.fullScreenIntent support.

Bug: 2911617
Change-Id: I1b4cd6ff0f760bad721a3a8eed61209b44b64c02
ablet/TabletStatusBarService.java
0398bf70e703e89aacb074e4ef9b4a86843e3d06 19-Aug-2010 Daniel Sandler <dsandler@android.com> Fix periodically disappearing status icons.

Occasionally the animation listener wasn't being told that
the ticker animation had completed; this callback was
essential to keeping the status bar's internal state correct
(namely, setting mTicking=false). The safest thing to do is
simply set mTicking to false immediately upon tickerDone()
or tickerHalting().

Bug: 2915280
Change-Id: I997911b12fa2985fa83b42154fb3485220886219
tatusBarService.java
05691455f59a442f67903b98378e060bbacd260b 19-Aug-2010 Daniel Sandler <dsandler@google.com> Merge "Wi-Fi signal strength and status in the system bar & panel."
d7db7b1eafb3c7bb6158b98561bbe8436009acfd 13-Aug-2010 Daniel Sandler <dsandler@google.com> Wi-Fi signal strength and status in the system bar & panel.

Change-Id: I67b948b7c87650b51e5785471b66b4b2cca218ed
ablet/SystemPanel.java
ablet/TabletStatusBarService.java
5ecbbbfeae6508b657eb5c17cce5cb51b31a6261 17-Aug-2010 Daniel Sandler <dsandler@android.com> am e03e6d30: am 80810f86: Merge "Fix crash in status bar ticker." into gingerbread

Merge commit 'e03e6d3072592b2a49ee4a43c5977e7462bf9fd0'

* commit 'e03e6d3072592b2a49ee4a43c5977e7462bf9fd0':
Fix crash in status bar ticker.
f8d5809eee3eb6c9e33bcc0363ac7d85559f6e08 16-Aug-2010 Daniel Sandler <dsandler@android.com> Fix crash in status bar ticker.

Bug: 2900850
Change-Id: Iaf71e093578501258a24cd43e5deaf624d28461e
icker.java
72d54efd3d32cb56766ef625ebc30d4c3a963222 22-Jul-2010 Irfan Sheriff <isheriff@google.com> DO NOT MERGE Fix wifi status icon

Doing a setIcon makes the icon visible and overrides
setIconVisibility

Change-Id: I7a177cc07e46f211d421e4aa86203ece5936c3fb
tatusBarPolicy.java
1e3ed8fc9537209920eea6adf5e576058f81d587 13-Aug-2010 Daniel Sandler <dsandler@google.com> Battery meter now functioning in the system bar and settings panel.

Change-Id: I08881a597f166eaeabd01d550a59109661535639
ablet/SystemPanel.java
ablet/TabletStatusBarService.java
6425ef950c15c47752d17952cb72836e68bd0f65 11-Aug-2010 Daniel Sandler <dsandler@google.com> System bar settings panel: first pass.

Implemented: Clock, brightness, silent toggle, airplane mode
(although this seems not to be working well yet on the
device).

Unimplemented: Orientation lock, battery, wifi signal, date.

Change-Id: Iec9cc833103a68aecccf46cd6eeffc2128d64eea
ablet/SystemPanel.java
ablet/TabletStatusBarService.java
dfa08db1652585a8cf27f929371c7ca6bf18ca60 05-Aug-2010 Daniel Sandler <dsandler@google.com> Incremental system bar improvements.

- scrolling list of notifications
- fixed crashes when inserting notifications
- new "expand" icon in prep for different touch behavior on
notification icons
- adjustments to the Ticker API in preparation for Kicker
work

Change-Id: I18908cbb2bbbfb7969c7bb48dbda67697732c438
honeStatusBarService.java
icker.java
ickerView.java
ablet/NotificationIconArea.java
ablet/TabletStatusBarService.java
0f0b11c8719495ce559b93366fe9cd79782d791c 04-Aug-2010 Daniel Sandler <dsandler@google.com> Basic support for notification payloads in the panel.

Line-item veto is there, but allows you to cancel some
notifications you probably shouldn't be canceling. (Should
hide the "X" in those cases.)

No preference given to "sticky" notifications, because
there's no such thing yet.

Notifications are now limited to 4 visible icons, per spec.
The implementation is a total hack for now.

Change-Id: Ibdf433ae94189117f983c510fe5e0cff0bf5c44c
otificationData.java
ablet/TabletStatusBarService.java
379020aec619c66d3e040de01f0726687fd2ad85 29-Jul-2010 Daniel Sandler <dsandler@google.com> Cleaning up the notification data structures.

Change-Id: I2e39fee81a2bd99245b9de6edd2ce5c45bd733c7
otificationData.java
honeStatusBarService.java
ablet/TabletStatusBarService.java
571a629f2929d86cfdde228ea53d7b4275d8d054 29-Jul-2010 Daniel Sandler <dsandler@google.com> Merge "Show notification icons in the system bar."
3eebd1ffbf4583270e6926e9c74ff088a2113e07 27-Jul-2010 Daniel Sandler <dsandler@google.com> Show notification icons in the system bar.

Caveats:
- Ongoing and normal are lumped together
- Currently no limit on number of icons (should be 4)
- Still can't see the notifications in the panel

Change-Id: I83ac474db6ff290207d37747b672a1a56788a238
otificationData.java
ablet/TabletStatusBarService.java
bbda99d2086d79ac70b403cad38a47c35af84adf 29-Jul-2010 Jeff Brown <jeffbrown@google.com> Fixed StatusBar ANRs due to input event injection on UI thread.

Added a new asynchronous injection mode and made the existing
synchronization mechanism more robust.

Change-Id: I0464f70ff5cbd519dbb02686b2cb5d810fe7dbb2
eyButtonView.java
a9ef06955d453917c5d7f076ba0e87fadf579254 23-Jul-2010 Daniel Sandler <dsandler@google.com> Merge "Improvements to the system bar:"
9120d55b806aec981ce7c1af20b7aa3d303ccca5 23-Jul-2010 Daniel Sandler <dsandler@google.com> Improvements to the system bar:

- dummy panels for the notification & system areas
- dummy battery/wifi status indicators
- new "whiteboard ui" temporary artwork
ablet/NotificationIconArea.java
ablet/TabletStatusBarService.java
3bb46be774b516f4376e61cb412a35e712e1d1d1 23-Jul-2010 Irfan Sheriff <isheriff@google.com> Merge "Fix wifi status icon"
311912ef753a37187c30a0fc6fcf89d4f8f77947 22-Jul-2010 Irfan Sheriff <isheriff@google.com> Fix wifi status icon

Doing a setIcon makes the icon visible and overrides
setIconVisibility

Change-Id: If71c9b727ace268f47121c2bf5f724481f592c8e
tatusBarPolicy.java
a101f8f6ef1c730f3f008256734cde54417e22cc 21-Jul-2010 Daniel Sandler <dsandler@google.com> Fix pressed states on system bar buttons.

Change-Id: Ie12958fee80d9e292e4ab8e6a267db47d91b10b1
eyButtonView.java
3a04ef0adb221d5e0fc21fe86177eaf5c02490b4 15-Jul-2010 Daniel Sandler <dsandler@google.com> Move more of the system bar to the layout.

Change-Id: I2fd67e687b8048a48e2c6531ac896d33815ce615
ablet/NotificationIconArea.java
808182dc874e93582da38d013a4a790d6bc08fc9 10-Jul-2010 Joe Onorato <joeo@joeo-macpro.local> checkpoint tablet status bar

Change-Id: Ia9089cce370ead4e685dffbca722fa8404a8f443
loseDragHandle.java
ommandQueue.java
xpandedView.java
honeStatusBarService.java
tatusBarService.java
tatusBarView.java
rackingView.java
ablet/NotificationIconArea.java
ablet/TabletStatusBarService.java
a5b38cab74a568cb9c24216fe08d543dbba1db61 08-Jul-2010 Joe Onorato <joeo@android.com> top and bottom can't be the same thing

Change-Id: Ia5e4684db6dab390394f11182612c45818c7bcc0
tatusBarService.java
52c1dc2fd99eabed1914e390143d3d74799e6366 01-Jul-2010 Joe Onorato <joeo@android.com> buttons on the bottom

Change-Id: I52184ad2752c38bcc4c7646b404f3f305e0ac4b6
tatusBarService.java
tatusBarView.java
86f9bd2fd054522e36f84776056cd07531ead9cf 30-Jun-2010 Joe Onorato <joeo@android.com> Add KeyButtonView

Change-Id: Ic32076c07bd45cbf2a6db25d8e8e933701fdf8b2
eyButtonView.java
119a4015f0f7ac1f63d596da158768f880f9fe9b 30-Jun-2010 Joe Onorato <joeo@android.com> add a button area

Change-Id: I78171b3d6cc44a5984e5f602565228909f3e1c00
tatusBarView.java
ce9458409699a303879115905ac9e5363af0381e 02-Jul-2010 Steve Howard <showard@google.com> Log full exception when failing to inflate notification view

When inflating a notification's view fails, include the exception in
the log message. Without this exception all we get is "couldn't
inflate view for notification <package>/<id>", which isn't very
helpful for tracking down the particular error in the view.

This exception used to be included in the log message, but it was
removed in 005847b03b2 -- any particular reason why?

Change-Id: I623b9e4c8291e4c035f26380e5f22ad6b65176a7
tatusBarService.java
6be4739e1b302eb447dee195eaecbfcf82317310 30-Jun-2010 Joe Onorato <joeo@android.com> quiet noisy debug spew

Change-Id: I55c3b16f58bbe0ec4c6547c525863a7d16f8263d
tatusBarService.java
294c9fb8990ded73be52a3c1bfddbe1cebcd8b8e 30-Jun-2010 Daniel Sandler <dsandler@android.com> Improved graphics for the intruder alert.

Change-Id: I9aa6c8995da39f332b724fabe67ed5efe584552f
tatusBarService.java
27a8be4b3526f068e911c8edcd4ee6fa6f492c0f 29-Jun-2010 Daniel Sandler <dsandler@android.com> Support for tapping on an immersive-mode priority notification.

When the user taps on an intruder alert (the priority
notification in immersive mode), the .contentIntent in the
Notification object will be sent, just as we handle tapping
on a normal Notification in the windowshade.

Change-Id: Ib6991837b0b2122fe138cddacf347fdbc426b99d
tatusBarService.java
1c95ecb47a19e18d0c51f3fd2931d13e9bd845b9 28-Jun-2010 Joe Onorato <joeo@android.com> recombine StatusBarService and PhoneStatusBarService

Change-Id: I64178209985bfac283740d6a667211d2f962f71a
loseDragHandle.java
xpandedView.java
honeStatusBarService.java
tatusBarIconView.java
tatusBarService.java
tatusBarView.java
rackingView.java
b54ef61434eb82a53d8c840d86d1d656215604f9 28-Jun-2010 Joe Onorato <joeo@android.com> Separate the status bar height from the icon size.

Change-Id: I9cc8c5e8ed2c48d03b7c1c89f1bf7f94cc119171
honeStatusBarService.java
5dbd05ed18906be3499978303f2fca4f86211567 28-Jun-2010 Daniel Sandler <dsandler@android.com> Intruder alert! (First try at the immersive-mode alert bar.)

When a FLAG_HIGH_PRIORITY notification is posted and the
foreground activity is immersive, this window will be shown
to the user. It disappears after a while (currently 10s,
which is far too long to be usable but is very handy for
testing) and can be dismissed by a tap.

Artwork is extremely rough; please ignore the aesthetics.

Still TODO:
- sticky alerts for ongoing priority notifications
- tap to launch PendingIntent associated with the
notification

Change-Id: Ief4a98b84cc836d33359bd7d65de9909f5186317
honeStatusBarService.java
87160757e827e8e158d233de09d70e7128184729 23-Jun-2010 Daniel Sandler <dsandler@android.com> Basic handling of Notifications with fullScreenIntent.

If a Notification has a non-null fullScreenIntent AND the
topmost Activity is not immersive, that PendingIntent will
fire (presumably causing a nice dialog or full-screen
activity to appear).

Immersive mode handling for FLAG_HIGH_PRIORITY Notifications
is still unimplemented (although the fullScreenIntent will
be suppressed in immersive mode).

Note that currently your fullScreenIntent notification will
also get posted to the status bar, so you're responsible for
clearing it out (e.g. in onPause in your alert intent). See
forthcoming changes to StatusBarTest for an example.

Change-Id: Ie750d1b7bcc788bd29ee1d8626f971dd47fd2817
honeStatusBarService.java
9d39d0cb361c5d3bba04a6bacf299be2162a6e92 25-Jun-2010 Dianne Hackborn <hackbod@google.com> Make bad notifications crash their application.

Implement notification manager handling of bad notifications, to
call a new activity manager to have the owner's process crashed
(if there is one).

Change-Id: Ib15e8d0c598756f3b39c99cc2045c18e054daf6b
honeStatusBarService.java
75144ea38e79e3827e69a9f5b53a6fd3a74c4df5 07-Jun-2010 Joe Onorato <joeo@android.com> Move the status bar icon list, hopefully for the last time.

Change-Id: Ie495a41dac03e1fe5ddccefcbd2a0673090a6db1
honeStatusBarService.java
f1f259165ffaa4095afbd50fea47ed091cbc14b3 07-Jun-2010 Joe Onorato <joeo@android.com> Call into the notification manager when the panel is revealed.

This lets it turn off the LED. However, it seems like somebody broke
the notification LEDs. GRRR.

Change-Id: I3f7066c2b2e1673dc0144a34cf59946351a647be
honeStatusBarService.java
7a0f36bd93ad8a5b8cb3e1fe56dbdb43a0ad3a57 07-Jun-2010 Joe Onorato <joeo@android.com> Move status_bar_latest_event and LatestItemView into SystemUI.apk.

Then, now that StatusBarManagerService is the only thing in that package,
move it up to the regular services package. (I've been waiting for 4 years
to delete that package!)

Change-Id: If5faf44641319fd19e486d1f4e5bc1c6dfcff3ad
honeStatusBarService.java
9e875fcb55dad6795e823207693c5ca877941d3e 07-Jun-2010 Joe Onorato <joeo@android.com> Start the status bar service based on a configuration option, instead of trampolining through
a braodcast receiver.

Change-Id: I6ae0740fea07350b80c35c0ee2d938e0364d773e
tatusBarStarter.java
005847b03b2ebe3eb1a974a8a04ad51bca6636cd 04-Jun-2010 Joe Onorato <joeo@android.com> Handle errors inflating notifications (and their icons).

On an inflation error, the StatusBarService cleans up, removes / doesn't add
the views, and calls into the StatusBarManagerService, which tells the
NotificationManagerService to remove the notification.

That then calls all the way back into the StatusBarService, but I think being
extra careful is okay. Throughout the status bar, it's all keyed off of the
IBinder key, so if the app comes in with a good notification while we're
cleaning up, we won't lose the new notification or anything like that.

Change-Id: Iea78a637495a8b67810c214b951d5ddb93becacb
honeStatusBarService.java
tatusBarIconView.java
d956ae8b813da893ab6a9357acfe287c529d6ac2 04-Jun-2010 Joe Onorato <joeo@android.com> dead code removal

Change-Id: I4a11f027e764c92602d0429947e9ef39edd882e2
honeStatusBarService.java
tatusBarService.java
fe4f3ae33c8da86585399b4167fd7987c8a16066 04-Jun-2010 Joe Onorato <joeo@android.com> Move the usb mass storage notification & activity into SystemUI.apk.

Also fix the notification to show properly when the runtime is restarted.

Change-Id: Id0c7ef9f9dc9c9df18428cbaa7db1703f085137e
tatusBarPolicy.java
d2b1f00e1e34cdce0047af7374aa57b1e4b5b040 04-Jun-2010 Joe Onorato <joeo@android.com> Add some disabled logging and another test case for reapplying the notification views.

Change-Id: I839d7771ab42a5d508ce7d15385f6ac6a4e3be83
honeStatusBarService.java
169af47b0076457854cc0f92d6b015195837686d 02-Jun-2010 Joe Onorato <joeo@android.com> remove logging

Change-Id: I42c2332c3c114700f5ade77b63b4f6010ea5507a
ommandQueue.java
tatusBarService.java
c91460d2c3a6ad51cdc455abcc540bf887bc6785 01-Jun-2010 Joe Onorato <joeo@android.com> Pull the carrier name display in the windowshade out into its own view.

Change-Id: I76ea5e72288245b69273c76a470b54eaec890361
arrierLabel.java
honeStatusBarService.java
1a86dd10c11413cf0301a14b1837dbf703f2b9de 01-Jun-2010 Joe Onorato <joeo@android.com> Use the built-in handler instead of allocating another one.

Change-Id: Ia2e5db99b751d3f299c4a9b587ef718212bd8161
lock.java
f55105405578bfd8315584e69faa655800edef77 01-Jun-2010 Joe Onorato <joeo@android.com> Get the ticker working again.

Change-Id: Idb7e456bc302578c3866448334eb0ebf0ba235d4
honeStatusBarService.java
tatusBarIconView.java
icker.java
9834d534696c2db66a42d9c3b8208fcce1dbdc16 30-May-2010 Joe Onorato <joeo@android.com> better debugging "slot" for the notification icons.

Change-Id: Ib7c130a97826f6950f51462ef915a9d0a5f847d6
honeStatusBarService.java
75199e3ddcf7886c8ee5fbf8b486a8c21335bf14 29-May-2010 Joe Onorato <joeo@android.com> Populate the notifications at startup of SystemUI.apk.

Change-Id: Ie0b3fd9ed4bc9a012791372e6276f0b5908370a5
ommandQueue.java
tatusBarService.java
b77f53b21c2185ae3ff7c219c384a6db73f8f4e4 29-May-2010 Joe Onorato <joeo@android.com> Get the IconMerger working again.

Change-Id: I73719f4fd475a39d4c1245de45c6a13c31e6323b
conMerger.java
honeStatusBarService.java
tatusBarIconView.java
87937dbcd1cee800aa6cc9824bfc32b587d893bd 27-May-2010 Daniel Sandler <dsandler@android.com> New shadowy status bar, direct from Z'ha'dum.

Artwork is FPO but serviceable enough. Many hardcoded font
colors & styles were moved to styles.xml where they belong.
AM/PM finally given the old heave-ho (but configurable in
StatusBarPolicy.java).

Notification content remains on a light-gray background for
now (so as not to screw up custom RemoteViews) but status
icons will definitely need across-the-board rework to look
better against a dark background.

(Re-integrated on top of new status bar code.)

Change-Id: Ia180b3c2ba8e23c9a2f50cf46f98f12958022b53
lock.java
798ac4c7d79534a8230623b737b5b1b6a415d105 27-May-2010 Joe Onorato <joeo@android.com> Start moving resources to SystemUI.apk.

Change-Id: Ibf30b8196d65d7fbca1177968cefa5f7a875bf1d
honeStatusBarService.java
tatusBarPolicy.java
79de0c550037a5328bbc7f4fddaf02f192a5c283 26-May-2010 Joe Onorato <joeo@android.com> Move the StatusBarPhone package into a new catch-all SystemUI.apk.
nimatedImageView.java
lock.java
loseDragHandle.java
ommandQueue.java
ateView.java
xpandedView.java
ixedSizeDrawable.java
conMerger.java
atestItemView.java
otificationData.java
otificationLinearLayout.java
honeStatusBarService.java
tatusBarIconView.java
tatusBarService.java
tatusBarStarter.java
tatusBarView.java
icker.java
ickerView.java
rackingPatternView.java
rackingView.java