Commit Graph

358 Commits

Author SHA1 Message Date
Daniel Sandler
1cfe753017 Bringing back the pocket.
Bug: 3203179
Change-Id: Ic1513ae9cbc502e328bcf484f83198f2c12102a2
2011-02-08 16:33:07 -05:00
Joe Onorato
91445d73e0 am 3162211b: am 2742c9c2: am 163c28b5: Merge "Managed dialogs should run on the same thread as their activity." into gingerbread
* commit '3162211bc78c98836f0c9d76a8e94741e4255bed':
  Managed dialogs should run on the same thread as their activity.
2011-02-07 13:43:50 -08:00
Romain Guy
e28d3e1c41 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.
2011-02-07 13:42:23 -08:00
Daniel Sandler
32cd1d5053 resolved conflicts for merge of 31796297 to master
Change-Id: Ice632b3378f8f67c186245fdb63b022ade864ba1
2011-02-07 16:12:16 -05:00
Andy Stadler
76324fcabe Fix warnings
* wrong package vs. file path (this was an error in eclipse)
* unused imports
* unused variables (at least for now)

Change-Id: Ic316e7e8586f75df5a048e98a21a65abf777deda
2011-02-04 12:50:09 -08:00
Joe Onorato
3162211bc7 am 2742c9c2: am 163c28b5: Merge "Managed dialogs should run on the same thread as their activity." into gingerbread
* commit '2742c9c2c640b6593321a0c5d56c8ba09ed58cc5':
  Managed dialogs should run on the same thread as their activity.
2011-02-04 10:15:37 -08:00
Romain Guy
e5e764ad0b Open the location settings when clicking the GPS notification.
Change-Id: I4203d75b7d18ab61f1f8e77452440bdc47161a10
2011-02-03 23:58:21 -08:00
Daniel Sandler
e40451a89d 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
2011-02-03 21:11:46 -05:00
Joe Onorato
c7f8b6fcf5 Managed dialogs should run on the same thread as their activity.
Bug: 3418998
Change-Id: I9b1cf73f9d6f8a5594f405546fcaa3cfd6f03c45
2011-02-03 17:50:02 -08:00
Daniel Sandler
d57c8d93c0 Move the low battery sound to the notification stream.
This will allow its volume to be governed by the user's chosen
notification volume.

Bug: 3409396
Change-Id: I1bc59fd76f4b5250beac530b2711dd59d79b5384
2011-02-03 12:14:34 -05:00
Daniel Sandler
a31e4190cb 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
2011-02-03 01:01:20 -05:00
Joe Onorato
fce2bf3735 Add a bluetooth icon and data direction to the status bar.
Bug: 3354414
Change-Id: I21cc9a2597e3b22bc5860a042d8a8cc4e93ca5b3
2011-02-02 21:14:17 -08:00
Joe Onorato
8f4fe8fe17 Merge "When the data flows, the icon glows." into honeycomb 2011-01-31 22:16:02 -08:00
Joe Onorato
c198bb1db8 When the data flows, the icon glows.
Bug: 3354414
Change-Id: I1734c8f63d02731d7194364ce7cb692d6de820ac
2011-01-31 20:28:59 -08:00
Tadashi G. Takaoka
e385f0c771 Update hard keyboard status on closing input methods panel
Bug: 3391067
Change-Id: Ib337cea0031020ab7ca019b30cd2ceb47a7664d5
2011-02-01 09:54:54 +09:00
Daniel Sandler
cb9d4d28be Merge "Kill spurious animations when vetoing notifications." into honeycomb 2011-01-31 09:04:32 -08:00
Tadashi G. Takaoka
1c9debfb18 Fix hardware keyboard switch listener
Bug: 3391067
Change-Id: I64ae55652afedee60a70bc140cfb328b04bc8c83
2011-02-01 01:08:19 +09:00
Daniel Sandler
2c83180e70 Kill spurious animations when vetoing notifications.
Bug: 3406032
Change-Id: I6da6ee064d309bc44f6304722c5f3f4e05aaf687
2011-01-30 21:26:24 -05:00
Daniel Sandler
71a22b3bc7 Merge "Dismiss the ticker early if the status bar is tapped." into honeycomb 2011-01-30 13:36:47 -08:00
Joe Onorato
f2057d907b Merge changes I09e8c4eb,I91a0e05f into honeycomb
* changes:
  Use a DateFormat that fits.
  Update the network info when the configuration changes.
2011-01-30 13:18:16 -08:00
Joe Onorato
0c953f68f5 Use a DateFormat that fits.
Bug: 3405724
Change-Id: I09e8c4ebf1d0142b8737fc1bf9500dee320332b7
2011-01-30 13:07:53 -08:00
Daniel Sandler
2ed08d2e70 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
2011-01-30 16:07:28 -05:00
Joe Onorato
99641836d8 Update the network info when the configuration changes.
Bug: 3405559
Change-Id: I91a0e05f2e6d1c7766b89ba4f96d87ce07783318
2011-01-30 12:17:27 -08:00
Jeff Brown
3c89f6d1bd Merge "Add "Use physical keyboard" option to system bar IME button." into honeycomb 2011-01-30 12:07:49 -08:00
Daniel Sandler
8c9891840a 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
2011-01-30 01:24:09 -05:00
Robert Greenwalt
19eecb028f Merge "Don't use mobile networktype icon if not connected" into honeycomb 2011-01-29 06:35:57 -08:00
Jeff Brown
2992ea782f Add "Use physical keyboard" option to system bar IME button.
Bug: 3391067
Change-Id: I136087ca4f726d0068d5983d7d3686787ba60c55
2011-01-28 22:06:36 -08:00
Robert Greenwalt
40cdd9b650 Don't use mobile networktype icon if not connected
bug:3398345
Change-Id: I0e8beb54e909e02bc551c54d65c5fed8e4e8cb10
2011-01-28 17:17:49 -08:00
Joe Onorato
cfd0bafdeb 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.
2011-01-28 13:40:45 -08:00
Joe Onorato
94eb3d0f7e Merge "Plumb whether an input view is actually visible or not through from the IME to the status bar." into honeycomb 2011-01-28 13:40:28 -08:00
Daniel Sandler
d72015505e 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
2011-01-28 09:58:02 -05:00
Joe Onorato
6478adc6b4 Allow independent control of the back and the other navigation buttons.
Bug: 3363046
Change-Id: Icc312fc9ffbf2f584dc541489c9769b07ed50315
2011-01-27 21:41:30 -08:00
Joe Onorato
857fd9b856 Plumb whether an input view is actually visible or not through from the IME
to the status bar.

Bug: 3391067
Change-Id: I049531155bf7ee0b29874916c0b5b0a45b73c09e
2011-01-27 21:19:46 -08:00
satok
17945d0e05 Merge "Update InputMethodPanel when locale was changed." into honeycomb 2011-01-27 20:00:43 -08:00
satok
cf5f6d107a Update InputMethodPanel when locale was changed.
Bug: 3400950

Change-Id: I2229f175ec03084dd689fbd0f0c5a187b78ead33
2011-01-28 12:54:10 +09:00
Daniel Sandler
49371adaca Attenuate notification icons in the system bar.
(Tunable by adjusting the alpha value of
notification_icon_area_smoke.)

Bug: 3395373
Change-Id: Ia8e257a451b2cb4c0e73ff3f4a77b380b193ef35
2011-01-27 21:20:51 -05:00
Daniel Sandler
e2c251b564 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
2011-01-27 20:51:03 -05:00
Daniel Sandler
74d39bd902 Merge "Correct the translationY of the empty notification panel." into honeycomb 2011-01-27 11:11:37 -08:00
Daniel Sandler
641a499bb2 Correct the translationY of the empty notification panel.
This also restores the proper slide-in animation. Yay!

Bug: 3391683
Change-Id: Id38b4bdf2bad88084db47b3fa4ef7d1d81f94aff
2011-01-27 02:21:51 -05:00
Joe Onorato
ea1fbe9c8c Merge "Revert "getRingtone is causing an anr. Turn it off for now."" into honeycomb 2011-01-26 22:00:07 -08:00
Mike Lockwood
e797b82c76 Revert "getRingtone is causing an anr. Turn it off for now."
ANR doesn't seem to be happening any more.

BUG: 3142881

This reverts commit c597ba8e9a.

Change-Id: Ib6eb407c700bc9a8460f49394ec71d75d14588e2
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-01-26 17:00:51 -08:00
Jim Miller
85433c7606 Merge "Fix 3354590: Add back button to dismiss RecentAppsPanel" into honeycomb 2011-01-26 15:47:40 -08:00
Jim Miller
f1e22e5c78 Fix 3354590: Add back button to dismiss RecentAppsPanel
Change-Id: I65337e8ebf823e7a92f810cd670b23edf8e70067
2011-01-26 15:39:51 -08:00
Daniel Sandler
6aa2d3a166 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
2011-01-26 15:25:36 -05:00
Joe Onorato
55bf3809b9 Make TabletStatusBar call into StatusBarManagerService when it goes out of lights out mode on its
own.

Bug: 3241144
Change-Id: Id09437a4f32f1d64daa7ae65e41c99897b5964d7
2011-01-26 10:32:18 -08:00
satok
0ee6613d09 Update input method panel when packages are changed.
Change-Id: I1edad2a11fd40c8f1f7fbb42f37e0538b1e245eb
2011-01-26 19:01:08 +09:00
Daniel Sandler
344302600a Merge "Fit and finish on status bar:" into honeycomb 2011-01-25 18:56:32 -08:00
Jim Miller
6f5bd3c3b3 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
2011-01-25 17:03:27 -08:00
Daniel Sandler
f844dc4fa8 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
2011-01-25 16:46:43 -05:00
satok
7dc93a1df7 Sort IME by id
Bug: 3364167

Change-Id: I8c8e4ddc4110e2920c8c7beccf108ac7e0227903
2011-01-25 23:28:22 +09:00