982 Commits

Author SHA1 Message Date
satok
6866d6912b Merge "Fix the bug that IME switch button is shown when there are two IME is installed but only one IME is enabled." 2010-12-14 21:01:05 -08:00
satok
07e7279cb4 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
2010-12-15 13:46:46 +09:00
Eric Fischer
5814d6963d Merge "Import revised translations." 2010-12-14 17:35:41 -08:00
Daniel Sandler
261834eea7 Remove unused assets in SystemUI.
Change-Id: I8c13566cd58135cf29a3dc7c8e72438269eb5862
2010-12-14 18:31:04 -05:00
Eric Fischer
7b3bfca259 Import revised translations.
Change-Id: Iff90bc663027dc8e7189d5dc229f5f9ddee31f12
2010-12-14 13:52:32 -08:00
Jeff Brown
cb171fabcd Merge "Update shortcuts." 2010-12-14 12:12:07 -08:00
Joe Onorato
4738da2e30 Merge "notification panel animations" 2010-12-14 01:22:23 -08:00
Joe Onorato
7c270fab75 notification panel animations
Change-Id: I3ca06a35be480df6e8741270c10eb1b23b1d4835
2010-12-14 01:20:56 -08:00
Jeff Brown
caab4d0a50 Update shortcuts.
Also modified the shortcut key handling so that it drops chorded
Search+X keys when even if no shortcut was found.  Without this
change, pressing an unhandled shortcut causes the Search widget to
pop up and the character to be typed.

Bug: 3022227
Change-Id: Ic0921428bd1270604ca28caf1f8493727127f4ed
2010-12-13 23:27:17 -08:00
satok
7a49e60eb3 Merge "Hide ime switch icon when there are only one IME and no enabled subtypes" 2010-12-13 22:15:17 -08:00
satok
a84b8d94fb Hide ime switch icon when there are only one IME and no enabled subtypes
Change-Id: I4684d852cc61db125538e1255fd99fa55d60d593
2010-12-14 14:32:57 +09:00
Dianne Hackborn
d2835935d2 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
2010-12-13 20:41:17 -08:00
Jim Miller
169a211f6b 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
2010-12-10 18:37:35 -08:00
Eric Fischer
f1cbffa794 Merge "Import revised translations." 2010-12-10 10:55:54 -08:00
Mike Lockwood
770126a678 Rename android.hardware.Usb to UsbManager and UsbObserver to UsbService
In preparation for an upcoming change that will make UsbService into a real system service

Change-Id: Id85d624cfc6b10b49a08105cfaaacc667a492c12
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-12-09 22:52:05 -08:00
Eric Fischer
a7a44f1894 Import revised translations.
Change-Id: I207197a388a65827b1c336cde6c5aa27c126e25c
2010-12-09 17:04:40 -08:00
satok
3616fb6ddc Change the initial visibility of IME switch button
Change-Id: I407d49997355a286a13c94a2d6b48a6dbcdaa2d1
2010-12-10 01:09:22 +09:00
Jim Miller
e5c16ab5a8 Fix 3253629: Initial pass at updating RecentsPanel UI
Change-Id: I578d0efd9f4b67675ff531494259f54182851e0e
2010-12-08 16:42:12 -08:00
Joe Onorato
ff3c470778 Merge "make the wifi button go where it's supposed to." 2010-12-08 15:51:33 -08:00
Joe Onorato
cbcce92295 Merge "Make the ToggleSlider in the status bar settings panel show the right track when it's disabled." 2010-12-08 15:51:27 -08:00
Joe Onorato
64eb5d2900 make the wifi button go where it's supposed to.
Change-Id: I415a5ad5e7524746d1e8d467f94058468bc719b7
2010-12-08 15:48:08 -08:00
Joe Onorato
4b0912d490 Make the ToggleSlider in the status bar settings panel show the right track when it's disabled.
Change-Id: Iead2a7f93dd312254d715f010ccca50cdcda5d00
2010-12-08 15:48:07 -08:00
Daniel Sandler
10163c689a 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
2010-12-08 11:51:05 -05:00
Kenny Root
34e48955a5 DefaultContainerService's JNI library is required
Change from LOCAL_JNI_SHARED_LIBRARIES to LOCAL_REQUIRED_MODULES to make
sure the JNI library is built and included when DefaultContainerService
is built.

Change-Id: I322c72415237c2b70bff345d50e2a9e4f2e6d988
2010-12-07 11:56:24 -08:00
satok
9b40747aaa Move IME button to right side by new desing spec
Bug: 3212206

- And remove mic icon

Change-Id: I46481db9afe500b244da66e1615795bf55e9a734
2010-12-07 15:15:02 +09:00
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