907 Commits

Author SHA1 Message Date
Daniel Sandler
2ee1856f81 Merge "Hide navigation buttons and clock on lockscreen." 2010-12-06 11:15:45 -08:00
Kenny Root
0d7128048e Merge "Add measurement API to DefaultContainerService" 2010-12-06 10:21:47 -08:00
satok
bd81c3fe34 Fix null pointer exception
Bug: 3250622

Change-Id: I0913f10c7deb984d2b1a51701dddf765a060592e
2010-12-06 14:14:50 +09:00
Kenny Root
aa183e2c9a Add measurement API to DefaultContainerService
System applications that don't have "media_rw" access need some way to
measure the size of directories on the SD card and other internal media.
Add this API to DefaultContainerService so they can simply bind to the
service and make an RPC.

Bug: 3203974
Change-Id: I4e1bcd7a1b702b156c011ecc04f6915022cb258a
2010-12-04 08:29:23 -08:00
Daniel Sandler
3e8f5a2c1b 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
2010-12-03 15:55:04 -05:00
satok
eae7133bf6 Merge "Make the size of "shirt pocket" 0 when the icon of "shirt pocket" is invisible" 2010-12-02 19:23:29 -08:00
satok
2993f18b06 Make the size of "shirt pocket" 0 when the icon of "shirt pocket" is invisible
bug: 3230503

Change-Id: I1028a92b6ce048c39af1e89845576198132b3176
2010-12-03 12:21:56 +09:00
Joe Onorato
75362101ac Tweak the settings panel assets / layout. Not done yet.
Change-Id: Ib014947f1260cb290818b7af0151fe0c165950c6
2010-12-02 16:52:18 -08:00
Joe Onorato
1e28f4110f Brightness and volume controls in the quick settings panel.
Change-Id: I2d2394c84a2783772f16dbeb88664381917e0ead
2010-12-02 16:52:16 -08:00
Joe Onorato
355ebc09d2 Show the operator or wifi ssid in the status bar panel.
Change-Id: Ia2983bce35c5f2ab706995777c80e96cc9a4c2ae
2010-12-02 16:52:14 -08:00
Eric Fischer
d6a46103bf Merge "Rename Indonesian and Hebrew translations to match Locale.java conventions" 2010-12-02 14:29:03 -08:00
Justin Ho
73a3aec4a6 Integrating updated SystemUI assets
Change-Id: I2683c16c30a543cc3365fa9f3a93a238aac272ed
2010-12-02 14:11:06 -08:00
Eric Fischer
d09a98173b Rename Indonesian and Hebrew translations to match Locale.java conventions
Change-Id: Icf4f1896d13a4b6bf86503b16bde189f1834fdcc
2010-12-02 14:05:29 -08:00
Daniel Sandler
59485d7442 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
2010-12-02 01:27:23 -05:00
Eric Fischer
dcafdb2e9b Merge "Import revised translations." 2010-12-01 17:00:16 -08:00
Eric Fischer
198aa52429 Import revised translations.
Change-Id: Ie519c5155103e4f7715025d6e224b65f5fef8bb1
2010-12-01 15:15:29 -08:00
Christopher Tate
407b4e91fe 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
2010-12-01 14:45:06 -08:00
Kenny Root
4da12f07b5 am 1de6ca69: am 938d0972: Merge "Grant ACCESS_ALL_DOWNLOADS to DefaultContainerService" into gingerbread
* commit '1de6ca69cc541ccdd651071c8bd5629af4e09664':
  Grant ACCESS_ALL_DOWNLOADS to DefaultContainerService
2010-12-01 14:23:19 -08:00
Kenny Root
1de2eac9d0 Grant ACCESS_ALL_DOWNLOADS to DefaultContainerService
Be compatible with the old DownloadProvider behavior of being able to
operate on content URIs returned from .insert()

Bug: 3242328
Change-Id: I7dad15ac0fefa867c3c8a33a579fc9899ac80262
2010-12-01 11:37:53 -08:00
Daniel Sandler
af88937ebc Slightly more legible background for notification panel.
This will be obsoleted by an even shinier design, but it's
good enough for now.

Bug: 3241324
Change-Id: I1c9c171729a5483c92d91406d2a19d1f941cc04f
2010-12-01 14:20:37 -05:00
Daniel Sandler
a8e5b060a6 When peeking at a notification, the X will close the window.
Bug: 3241204
Change-Id: Ibc6751062170e85604179da3f01a9c1055a15b1f
2010-12-01 13:53:08 -05:00
Daniel Sandler
373a998374 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
2010-11-30 15:32:55 -05:00
Eric Fischer
8b780ec773 Merge "Import revised translations." 2010-11-29 16:03:04 -08:00
Joe Onorato
42f8e13024 Show the network type.
Change-Id: I3487655dce80eef26bfd575b63eb649d9b5e5325
2010-11-29 15:52:43 -08:00
Eric Fischer
8d1efa9577 Import revised translations.
Change-Id: I8d5fe7c1cf2f2a7903997da38b6abfe4dcabdab7
2010-11-29 15:10:37 -08:00
Joe Onorato
2039e48474 Do not disturb.
Change-Id: I9550970f322872787ef903ca762dfdf2ed9d2835
2010-11-29 14:54:24 -08:00
Joe Onorato
536c58fbe5 Show the down back instead of the left back when the IME is up.
Change-Id: Ief99935c4341b492d985c5f705b41f75e6b4d291
2010-11-28 17:52:28 -08:00
Joe Onorato
5e759460dc Auto-hide the peek window after 5 seconds, not right away.
Change-Id: Idf210f25e6cefc61a4eca40a9943dc156adafbf7
2010-11-28 17:43:50 -08:00
Joe Onorato
50ec5ec0b8 Deal with re-posting tickers.
Change-Id: If3c6e8ad57eb6682145cf8ed0f3755f176f117d0
2010-11-28 17:19:50 -08:00
Joe Onorato
5a6b4f8265 tighten up the notifciation layouts
Change-Id: I8e4f6a6412123fdd2d76381d568ab0bc3157b974
2010-11-27 21:58:49 -08:00
Joe Onorato
5797f192eb Check if this is null.
Change-Id: Ia74babdd1b1d76a2e5965db66bb995ea659dc6c1
2010-11-27 17:45:14 -08:00
Joe Onorato
af5e4da2a5 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
2010-11-27 17:32:41 -08:00
Joe Onorato
dff2e9a458 Rename strings.
Change-Id: I0a9d016aa5864e5d64e9cab6b0e720daaa816537
2010-11-27 16:13:36 -08:00
Joe Onorato
4386191851 Scroll back to the top when the notification window closees.
Change-Id: I72cfe292950953cc3bebe27367dab5149cc10080
2010-11-27 16:08:58 -08:00
Joe Onorato
755cc74e4c Rename the status bar layouts to more consistent names
Change-Id: Ic593e6c93794f2a2eb36576501d35be54a0a0681
2010-11-27 15:45:35 -08:00
Joe Onorato
1e66008fe6 Merge "Start filling in the system settings panel." 2010-11-26 13:27:05 -08:00
Joe Onorato
a8e3418907 Start filling in the system settings panel.
Change-Id: I3384bb1cf6c2339d6136764635bb010ba096659b
2010-11-26 13:19:58 -08:00
satok
440aab54ca Removed InputMethodSubtypePicker
Change-Id: I08abac5d65a30c02cc671f4f70e93df25b6c8a92
2010-11-25 19:53:56 +09:00
satok
cd7cd2969f 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
2010-11-25 14:02:04 +09:00
Gilles Debunne
42300fa239 Adding missing assets, created from synced designers' tree
Change-Id: I52c97ae90225abbea6b6b3966de705c9a5ef0e30
2010-11-24 15:22:00 -08:00
Gilles Debunne
8af253a81b Merge "Assets moved from drawable to drawable-mdpi. hdpi created" 2010-11-24 14:43:40 -08:00
Joe Onorato
ebc8946575 Align the battery & data icons correctly.
Change-Id: I006897306aa70b53f4626d88729c3d7c200b9e22
2010-11-24 10:55:48 -08:00
Joe Onorato
29fc2c9705 Allow status bar panels to be on top of the status bar.
Change-Id: I3c74ece5f7042e6302717f4263746d59d5447ec9
2010-11-24 10:26:50 -08:00
Joe Onorato
ddbba42b81 new signal strength assets
Change-Id: I6387d68659ff7ccf5024f186eeb75ab33c477a1f
2010-11-23 15:54:44 -08:00
Irfan Sheriff
f499eedd8b Merge "Stop listening to supplicant state change events" 2010-11-23 13:43:06 -08:00
Adam Powell
637d337b58 Merge overscrolling from gingerbread.
Change-Id: I3eb4413261b38ddd8c609d6153bdfd4ae46c6a0f
2010-11-23 09:30:10 -08:00
Irfan Sheriff
b8297cfc76 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
2010-11-23 04:34:35 -08:00
Dianne Hackborn
621e17de87 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
2010-11-22 18:35:55 -08:00
Joe Onorato
794be40f8b new battery assets
Change-Id: I61331a6eb237f8883bf604c0767623b08c2fa41b
2010-11-21 19:22:25 -08:00
Joe Onorato
dab75b66aa Use new nav button assets.
Change-Id: I5728222ba173eedb67e6fa4c599b39b61c923e23
2010-11-21 18:25:49 -08:00