Commit Graph

391 Commits

Author SHA1 Message Date
Daniel Sandler
f08c117f09 Merge "resolved conflicts for merge of 49853dc1 to master" 2011-03-02 12:34:00 -08:00
Daniel Sandler
123d9cf7a9 resolved conflicts for merge of 49853dc1 to master
Change-Id: I0d56965740d1273841e33cfc5db57b4df05915d1
2011-03-02 15:26:53 -05:00
Daniel Sandler
5920f153e7 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
2011-03-02 15:19:54 -05:00
Daniel Sandler
0ffc2306dd Remove logspew.
Change-Id: Ib47abbd6111e990e4a92c504d9a3859d0240905e
2011-03-02 14:33:09 -05:00
Daniel Sandler
21eb86a5c4 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
2011-03-02 12:14:21 -05:00
Daniel Sandler
d7ba12135b Merge "Make with the clicky. (Status bar buttons now play FX.)" 2011-03-01 17:49:18 -08:00
Jim Miller
b43838fd7a Merge "Fix 3500730: Prevent NPE cause by clicking on footer view" 2011-03-01 16:27:40 -08:00
Jim Miller
b5a2b29a64 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
2011-03-01 16:14:59 -08:00
Daniel Sandler
aa051d66af 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
2011-03-01 16:36:21 -05:00
Mike Corrigan
49853dc19c am bd15112a: Fix the display priority of the airplane mode icon.
* commit 'bd15112a29eefb93e62235574b694746044c9261':
  Fix the display priority of the airplane mode icon.
2011-03-01 11:08:45 -08:00
Mike Corrigan
bd15112a29 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
2011-03-01 13:20:07 -05:00
Mike Lockwood
c4308f01c9 Move USB framework support from android.hardware to android.hardware.usb package
Change-Id: I00fd4f0caaa4aebe48f71c576bb211b5f38bf88d
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-03-01 08:07:20 -08:00
Daniel Sandler
fab337648d resolved conflicts for merge of cfeaa492 to master
Change-Id: I6ee4e3f822cb91008b1ca64ab9a6673278e501e0
2011-02-28 21:31:14 -05:00
Jim Miller
7eae7a97bc Merge "Fix 3386135: Make recent apps scrollable with more entries" 2011-02-28 13:12:56 -08:00
Daniel Sandler
cfeaa492a2 am 5404812d: Merge "When out of range, show device-appropriate no-signal bars." into honeycomb
* commit '5404812dee9dccbbd43df81752f3061742235982':
  When out of range, show device-appropriate no-signal bars.
2011-02-28 11:26:53 -08:00
Jim Miller
5fda69cf1e 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
2011-02-25 18:47:22 -08:00
Daniel Sandler
9a7c712976 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
2011-02-25 15:37:47 -05:00
Wink Saville
2b8bcfe5b7 LTE Changes for Telephony including Multiple PDN support and IPV6 support
Added init for CDMAPhone.java

Change-Id: I2392b5ad3382ee1993537b8477ef00dd036c6fe9
2011-02-24 18:23:36 -08:00
Daniel Sandler
f36ec34f40 Merge "Notification flyover tuning:" 2011-02-24 17:33:41 -08:00
Daniel Sandler
551df778f9 Merge "Remove commented cruft, TODOs, and dead code." 2011-02-24 13:36:52 -08:00
Daniel Sandler
56a6d88012 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
2011-02-24 16:32:26 -05:00
Patrick Dubroy
ece945291e Fix 3272590: Long-press on home & menu should be same as click
Change-Id: I151571900f4bb63910ccfb77fc64c8be9676a224
2011-02-24 10:03:23 -08:00
Daniel Sandler
3a2fdedf69 Remove commented cruft, TODOs, and dead code.
Change-Id: I86c953941fe24655f52177474ef39b7f92aa53fa
2011-02-23 11:23:04 -05:00
Daniel Sandler
282ff9ae3f Fix issues with DND display in status bar.
Bug: 3478116
Bug: 3480339
Change-Id: I513f0c2696dc3fe5aa3a6f071f1e4793f9f9645c
2011-02-23 11:05:37 -05:00
Wink Saville
5284090631 Changes for ril.h version 6.
Change-Id: Iacd9d362c4836546ac277cf3571227d426a721aa
2011-02-18 12:40:47 -08:00
Daniel Sandler
ce6ff64034 Visual indication of do-not-disturb mode in system bar.
Bug: 3408005
Change-Id: I934a6684bb3e90e2ada848872b5670f6b6e3e055
2011-02-18 13:32:14 -05:00
Irfan Sheriff
3ca6d6bbfe Merge "data activity reporting on wifi" 2011-02-17 14:06:52 -08:00
Irfan Sheriff
227bec4915 data activity reporting on wifi
Initial checkin, need icons to complete the feature

Bug: 3412258

Change-Id: I9a3ecc8159cc314d84707065dafe23d402409a84
2011-02-17 13:57:55 -08:00
Dianne Hackborn
d94df45b3d 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
2011-02-16 18:53:31 -08:00
Daniel Sandler
439f5c6b39 Merge "Fix NPE." 2011-02-16 11:32:39 -08:00
Daniel Sandler
bec7d63c9c 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
2011-02-15 14:24:58 -05:00
satok
e2a50b9c2e Add the Id of InputMethodInfo at the tail of Application label at sorting InputMethods
Change-Id: I632a715e94712b4f2197d5981b691d49a9de89f2
2011-02-15 17:50:50 +09:00
Daniel Sandler
c1afcf06f8 Put the pocket back in my pocket for later.
Change-Id: Ifa6b540abede35ba92ab6721274655aef1458fbc
2011-02-10 11:53:29 -05:00
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