1989 Commits

Author SHA1 Message Date
Ken Wakasa
758c787d7a Merge "Suppress "Automatic" subtype name in tablet's IME switcher panel" 2011-09-09 10:19:51 -07:00
Peter Ng
a6f61c5c39 Merge "Status bar close dragdown resized to 32dp" 2011-09-09 09:52:05 -07:00
Ken Wakasa
bbf0b66ede Suppress "Automatic" subtype name in tablet's IME switcher panel
bug: 5282718
Change-Id: Ibecd6309eba9ac2fe173be7db4ba353e5821bd43
2011-09-10 01:47:49 +09:00
Michael Jurka
6f90f2a1aa Merge "Updated Recent Apps visuals" 2011-09-08 20:36:54 -07:00
Peter Ng
02038e3cbb Updated Recent Apps visuals
-added padding to portrait and landscape layout recent item
-updated drawable stroke on press and drag

Change-Id: I98e0073f5fba6d13f041871337e4dc534bbc1460
2011-09-08 20:35:19 -07:00
Chet Haase
e2ca08765e Merge "Throw an exception if a both nav and system bars are configured" 2011-09-08 17:59:30 -07:00
Chet Haase
bc0009d48d 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
2011-09-08 16:19:50 -07:00
Peter Ng
bfc365f4a9 Status bar close dragdown resized to 32dp
Bug: 5160060
Change-Id: I6960aa025922cd9ad208b6ff4a1d9f132c380436
2011-09-08 15:43:52 -07:00
Jeff Sharkey
b0d89922b1 Merge "Always disable() through SBMS; watch date." 2011-09-08 15:22:51 -07:00
Dianne Hackborn
eeb1dca393 Fix issue #5139085: Some Recents items can't be killed
Change-Id: Ib4fa413266c4aa2223576ce0299be743358fdc26
2011-09-08 13:30:11 -07:00
Daniel Sandler
89d97131bd 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
2011-09-08 16:00:03 -04:00
Jeff Sharkey
4519a02608 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
2011-09-08 12:34:44 -07:00
Daniel Sandler
1cdf067f5f Fix notification disappearance animations.
Bug: 5262083
Change-Id: Iea99c69359352d536f1fe00b86f6748711c36e34
2011-09-07 22:13:29 -04:00
Daniel Sandler
cbdc9d2e9c Merge "Use holo_blue_light for statusbar clocks." 2011-09-07 08:25:59 -07:00
Daniel Sandler
b69f7015e7 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
2011-09-06 18:05:58 -07:00
Peter Ng
090d31eaa3 Merge "Blue notify quicksettings icon implemented" 2011-09-06 16:42:54 -07:00
Peter Ng
f6bb1622ba Blue notify quicksettings icon implemented
-Increased quicksettings and clearall inherent asset padding to 32 from 16dp
-new touchstates for quicksettings and clearall
-clear all remains on the right and quicksettings remains left aligned to the right of the date

Bug: 5076789

Change-Id: I45d7da2d79b94822c04aa162ebef99ac79ce0368
2011-09-06 13:25:55 -07:00
Eric Fischer
8160270cfb Merge "Import revised translations." 2011-09-06 12:02:13 -07:00
Michael Jurka
3b19b5ecc4 Merge "Fix the pressed state for thumbnails in Recents" 2011-09-06 11:57:00 -07:00
Daniel Sandler
1a21f0ab60 Use holo_blue_light for statusbar clocks.
Also use the same style for the date in the phone
notification panel (which already had the same net
appearance).

Bug: 5231182
Change-Id: Ie0b44c2b9021a4f6ad56b0e1a78fdc9d8cf16f88
2011-09-06 13:32:25 -04:00
Michael Jurka
faa790c4f5 Fix the pressed state for thumbnails in Recents
- pressed state is now in foreground
- also, keep drawing pressed drawable on long press

Change-Id: I1a2025b5a79a5bfd4aaacf5312d52404fc3361a1
2011-09-02 19:32:05 -07:00
Jeff Sharkey
373a4f44e4 Merge "Make large_icon in notification catch touches." 2011-09-02 18:17:03 -07:00
Jeff Sharkey
847fd751a9 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
2011-09-02 18:14:34 -07:00
Dianne Hackborn
6b0c11da5a Merge "Fix issue #5150899: Call activity takes 15MB we never get back." 2011-09-02 17:18:32 -07:00
Chet Haase
44671725bf Merge "Fix artifact with LayoutTransitions on disappearing window." 2011-09-02 16:52:03 -07:00
Michael Jurka
32041c1602 Merge "Click on whitespace dismisses Recents in landscape" 2011-09-02 16:35:54 -07:00
Michael Jurka
8064ec61d6 Merge "Use default thumbnail if getting app thumbnail fails" 2011-09-02 16:35:42 -07:00
Chet Haase
3c4ce72c4d 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
2011-09-02 16:10:43 -07:00
Michael Jurka
7725a4e307 Click on whitespace dismisses Recents in landscape
(was added previously for portrait, forgot to add for landscape)

Change-Id: I38161d00c65f753c17d25db8ed69f59f35b0d352
2011-09-02 16:00:34 -07:00
Michael Jurka
ccbc2f309e Merge "Fix a NPE in Recents" 2011-09-02 15:44:09 -07:00
Michael Jurka
9563cb813d Use default thumbnail if getting app thumbnail fails
Change-Id: If76a26d80f2327fe73bc18024c6b2c7eaab4d11d
2011-09-02 15:42:28 -07:00
Michael Jurka
21ce2d8cae Fix a NPE in Recents
Change-Id: I8fead3b20646e92add6acd49440db675a190baee
2011-09-02 15:28:06 -07:00
Michael Jurka
f7315dd192 Merge "Fix regression: recents did not dismiss after launching apps (5252649)" 2011-09-02 15:02:08 -07:00
Michael Jurka
c6461ca5a0 Fix regression: recents did not dismiss after launching apps (5252649)
also:
- when using menu to "remove from list" in landscape, animate items upward (5149577)
- dismiss recents when tapping on whitespace regions (5115883)

Change-Id: I0f38c7567281583898a49f572cf92d6c59464649
2011-09-02 14:58:10 -07:00
Eric Fischer
5820aeee0b Import revised translations.
Change-Id: Iac73006cfaf846d210855496f6732cbdc6ad0de8
2011-09-02 14:44:12 -07:00
Dianne Hackborn
5d927c2d8e Fix issue #5150899: Call activity takes 15MB we never get back.
Persistent process can no longer use hardware acclerated drawing
when running on a low-memory device.

Change-Id: I3110335617af1c98fcede9bf41f4a1d0c20d0e87
2011-09-02 12:22:18 -07:00
Chet Haase
41bff38d30 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
2011-09-02 11:28:25 -07:00
Mike Lockwood
6401461227 Merge "PhoneStatusBar: Fix NPE when disabling navigation with no soft buttons." 2011-09-01 17:29:26 -07:00
Michael Jurka
6f983a7906 Merge "Fixing orientation change bug (5098088)" 2011-09-01 17:14:11 -07:00
Michael Jurka
8b09866a25 Fixing orientation change bug (5098088)
- Also fixing language in long-press menu (5068787)

Change-Id: I941e053e6ce4c85a09f4ff82880b7c2513e54322
2011-09-01 17:11:12 -07:00
Mike Lockwood
a7cf74cfb1 PhoneStatusBar: Fix NPE when disabling navigation with no soft buttons.
Bug: 5249328

Change-Id: I9fcf623c4f9f278107a0772f6ff28ccaae9188c8
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-09-01 20:10:24 -04:00
Michael Jurka
a3b7b57a52 Merge "updating visuals of Recent Apps" 2011-09-01 16:39:32 -07:00
Peter Ng
622a97646d 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
2011-09-01 16:38:16 -07:00
Mike Lockwood
e3646dd8d9 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>
2011-09-01 13:56:25 -04:00
Michael Jurka
185a251b08 Merge "Improve Recent Apps scrolling performance" 2011-08-31 18:38:43 -07:00
Michael Jurka
3cd0a59393 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
2011-08-31 17:48:40 -07:00
Robert Greenwalt
9b2886e243 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
2011-08-31 16:53:12 -07:00
satok
209cf04353 Fix the display name in the input method panel on tablet
Bug: 5103300
Change-Id: I20cec2bb822be6f15abfe4a21053c8eb8d48b9cc
2011-08-31 20:16:17 +09:00
Jeff Sharkey
f52c70b2cc 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
2011-08-30 22:30:07 -07:00
Eric Fischer
03b1fecd53 Merge "Import revised translations." 2011-08-26 16:17:31 -07:00