70 Commits

Author SHA1 Message Date
Adam Powell
29ea525d18 Fix bug 5623642 - Status bar background incompatible with some legacy apps
Give some background protection to custom layouts in legacy notifications.

Pre-HC it was extremely common for apps to hardcode text colors in
layouts. Since this can lead to black text on a dark background in
HC/ICS, give these older apps that target SDK < 11 a light gray
background.

Change-Id: Iab3dea4beb9172b2f9a5cae53991cf952d0c8cde
2011-11-15 19:04:33 -08:00
Peter Ng
3ed8933b12 Recents background protection increased
Change-Id: I45719b44102c088c82b619c717db3df31930c1b3
2011-10-21 13:29:16 -07:00
Michael Jurka
92c88eb91d Visual changes to recent apps
- changing background to be gradient
- adding shadow to app thumbnails

Change-Id: I0ea7e4900f99adf17c74b885c66a7118bc831595
2011-10-17 06:20:49 -07:00
Peter Ng
453b37f66c Do Not Merge darker notification press state and divider
Bug: 3329721
Change-Id: I77ec70dd75d6e8009fc2f06741520167b7d34a42
2011-10-13 15:59:06 -07:00
Daniel Sandler
5f839f8ee4 Fix obsolete Honeycomb platlogo.
Bug: 5438131
Change-Id: I848bcc8e4d6cdd28c1ffaa08b7fcceb87242932a
2011-10-12 10:48:05 -04:00
Daniel Sandler
db8bd198e5 Put the correct background behind largeIcons.
Also add touch feedback to notification items (finally!).

Bug: 5213090 (largeIcon background)
Bug: 3329721 (press states)
Change-Id: I89a4211106698ebff867b5c8bad50cb8b9b33a0b
2011-09-22 17:06:29 -04:00
Daniel Sandler
49f5840734 Transparent notification shade.
Bug: 5270161 (fix opacity)
Bug: 5231194 (transparent shade)
Change-Id: Ib7130ef0718c092dc9f8149698625a49d7abb2b2
2011-09-13 00:35:52 -04: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
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
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
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
Peter Ng
6ccd7a59c6 Updated background assets for notifications.
- Replaced diagonal lines tile for notification icon backgrounds
  - Switched tablet ticker background to use same assets as icon bg
  - Flat #191919 behind notifications
  - Changed date in windowshade (no longer bold)

Change-Id: I2cc260f99e57566160630118b04fbb72274f62f3
2011-08-23 18:56:17 -07:00
Justin Ho
687f7f6b1e Unused assets removed from SystemUI
Change-Id: Ic53d604ad3bbd46063faa3f006f412483e525361
2011-08-18 09:06:12 -07:00
Dianne Hackborn
fc8fa63861 Fix issue #5128639: SystemUI grows by 10MB after taking a screenshot
We now do the screenshot in a separate process.

Also change the recents panel to not use hardware acceleration
on lower-end devices.  And improve how it gets shown to not
load all data up-front which results in a long delay when you have
lots of recents.

Change-Id: Ia309a90f9939e5405758621b3f7114597bd0c02a
2011-08-17 17:45:05 -07:00
Daniel Sandler
f159586471 Remove obsolete assets.
Bug: 5002409
Change-Id: If9e544b347ca55d0344225eff00bafed180edf8c
2011-08-11 00:23:27 -04:00
Daniel Sandler
d309056d36 Add settings button to notification panel.
Also move date to panel in place of carrier name.

Bug: 5076789
Change-Id: I498dc1e29581829c123b3cc0a8c81551ac8bdbe2
2011-08-09 15:49:39 -04:00
Daniel Sandler
1347c30824 Refresh tablet notification drawer.
* New "X" button appears in the system bar, allowing the
    user to clear all notifications. Only appears when the
    notifications list is showing and there are clearable
    items. (Note: the textual button on phones has also been
    replaced with an X.)

  * Updated panel background artwork and positioning.

  * Removed a bunch of old art.

Bug: 4970588
Bug: 4974043
Bug: 3509407 (regression)

Change-Id: Ibadb638cd18c4faa751cd1f311d73ceda65cb3ca
2011-08-02 01:38:55 -04:00
Daniel Sandler
a375c94fca New richly-appointed navigation buttons.
- Beautiful new touch feedback animations
 - Romantic icon dimming
 - Supple Corinthian leather

Bug: 4541219
Change-Id: I8c4e1ec73aba910a17001795d2b03200c5af1788
2011-07-29 00:38:55 -04:00
Daniel Sandler
2b69735e01 New stacked RSSI icons.
The signal strength, network type & flow indicator, and
battery have all been moved out of the policy and into the
status bar implementation itself, mirroring the change on
tablets. This means that they no longer use status bar icon
slots but instead are bespoke layouts and views.

GPS has also been removed and will return as a notification
(again, as was done in the Honeycomb tablet UI).

Bug: 4691638
Change-Id: I60df4871209b64209bfc5b3bf398651cc2e77b24
2011-07-26 08:17:28 -04:00
Jim Miller
c0d2731047 Fix 5023708,4689527: Add popups and overlays to recents. Misc bug fixes.
Adds selection overlay to recents to comply with UX design.
Adds longpress popup for removal and inspection of items.

Change-Id: Ic23c3f135b6ed107cc5156505d8f163daa94c52e
2011-07-18 12:57:40 -07:00
Justin Ho
f4b56eaaba am 40fc6e0d: am c407ef22: am f4096041: Merge "Updated art for compat mode dialog." into honeycomb-mr2
* commit '40fc6e0de578198c9cc5d9a493cb7db77bc938b8':
  Updated art for compat mode dialog.
2011-06-15 15:01:42 -07:00
Daniel Sandler
e25f8336a0 Updated art for compat mode dialog.
Also finalizes on the following language & ordering in the menu:

  ( ) Stretch to fill screen
  ( ) Zoom to fill screen

Bug: 4595256
Change-Id: Ie92b1e0d829341fd73043a562e78437af2b128ec
2011-06-15 16:14:55 -04:00
Daniel Sandler
d7c8b6d2a4 am 2897fc4c: am fbb09347: am 5994bff9: Merge "One-time-only compatibility mode explanation dialog." into honeycomb-mr2
* commit '2897fc4cc320d9fea2c6a81d7e2b05b6b820acf0':
  One-time-only compatibility mode explanation dialog.
2011-06-15 06:36:56 -07:00
Daniel Sandler
2932645d99 am d163a616: am 2fdf5880: am 97d5081a: Merge "Final UI for compatibility mode." into honeycomb-mr2
* commit 'd163a6162891f0e14d4536460d839262d2693e9a':
  Final UI for compatibility mode.
2011-06-15 06:36:35 -07:00
Daniel Sandler
552b1f0d22 One-time-only compatibility mode explanation dialog.
Don't miss it!

Bug: 4595256
Change-Id: I80c0949e6118e3ea3af089d4cad160ce63e7d8ce
2011-06-15 01:03:02 -04:00
Daniel Sandler
3b0543acf1 Final UI for compatibility mode.
Bug: 4595256
Change-Id: Idaa96393fb809c828b5f661f29e8b687fdf3d104
2011-06-15 00:12:01 -04:00
Daniel Sandler
56e6dbd8b1 DO NOT MERGE. Experimental compatibility mode UI.
♫ Just another button, for you and me, in the status bar. ♫

(cherry picked from commit 45c0401a0647a5fdc5f37168463c14ad57c5644b)

Change-Id: Ib35d136deadf16f693003b61ea6cfee411f4aa3d
2011-06-07 14:11:09 -07:00
Daniel Sandler
45c0401a06 Experimental compatibility mode UI.
♫ Just another button, for you and me, in the status bar. ♫

Change-Id: I11ecac63341d4c421dbaffba931861605ebad286
2011-06-07 15:29:07 -04:00
Justin Ho
89fd07f772 Cleaning up notification panel drawables
Change-Id: I7f89388a0a4d663e055b8012ec9a58593707f4a5
2011-05-13 12:26:06 -07:00
Dianne Hackborn
0f1de9adde New compat mode front end: UI and persistence.
Adds a really crappy UI for toggling compat mode.

Persists compat mode selection across boots.

Turns on compat mode by default for newly installed apps.

Change-Id: Idc83494397bd17c41450bc9e9a05e4386c509399
2011-05-12 13:28:45 -07:00
Daniel Sandler
8f491b5fbc Pressed states for the notification panel's title area.
Finally, some feedback that you can tap on the thing.

Also tweak the veto press state PNG so you can see that it
has a pressed state.

Bug: 3328753
Change-Id: I5c3b826fae66e480784477f844c6585bef1a0b60
2011-03-03 00:18:44 -05:00
Jim Miller
9c1785820b Fix 3482763: Minor layout tweaks and new asset for recents
Fixed in this change:
 - ListView overscroll drawable was partially off screen.
 - Selected item was not fading when unselected

Change-Id: Ifba86eede591c4d4f984a7966b933a77799f66f9
2011-03-01 17:45:11 -08:00
Daniel Sandler
1cfe753017 Bringing back the pocket.
Bug: 3203179
Change-Id: Ic1513ae9cbc502e328bcf484f83198f2c12102a2
2011-02-08 16:33:07 -05: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
Justin Ho
fc384e697f Removing unused assets in mdpi
Change-Id: Id3bc90a10e602e35366d167fc72cc7edeaf15013
2011-01-25 15:35:04 -08:00
Daniel Sandler
2f447aa3b0 Notification & settings panel redesign.
Bug: 3353758
Change-Id: Ibe98ed78c471344e1fb3cb462c83b76678c665f7
2011-01-19 16:41:48 -05:00
Daniel Sandler
7d9ea8ccc8 Simplify panel animations with an eye to performance.
Things are faster, but we're not buttery-smooth yet.

Bug: 3322970
Change-Id: Ib63bdc2e807b039197a12d3ed3935653e6237ae0
2011-01-11 14:47:26 -05: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
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
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
Gilles Debunne
8af253a81b Merge "Assets moved from drawable to drawable-mdpi. hdpi created" 2010-11-24 14:43:40 -08:00
Joe Onorato
dab75b66aa Use new nav button assets.
Change-Id: I5728222ba173eedb67e6fa4c599b39b61c923e23
2010-11-21 18:25:49 -08:00
Joe Onorato
52f80cd36f The icon sticks out of the ticker.
The ticker still needs to show up over the status bar, which will take a bit of
window manager work, so it's just out of position for now.

Change-Id: Ib5781925db63a22d9352a7b5017a36eec3229395
2010-11-21 16:16:29 -08:00
Joe Onorato
46439cec0e Update the look of the notifications. Includes adding a new Notification.Builder class.
Change-Id: I7c57b81c45defe77d6f3d22472e9cf8432bbed03
2010-11-21 16:16:27 -08:00
Gilles Debunne
0b91fda283 Assets moved from drawable to drawable-mdpi. hdpi created
Change-Id: I1101e51f85fe44a635f48becb99d190465012379
2010-11-18 12:29:12 -08:00
Joe Onorato
4daaeafd27 Status bar formatting tweaks
Change-Id: Icb6c8d87e109d9e133e86b0fdb7bea12fe376d92
2010-11-17 23:14:57 -08:00
Joe Onorato
fd52b18d9b The beginnings of the new status bar.
There is a lot of rough stuff still, but most of the functionality is here again.

Change-Id: I4b1241e61270f1434e798481afa83634233ee670
2010-11-15 11:52:33 -08:00
Jim Miller
c4cf1305d6 Several improvements to RecentActivities:
It now toggles between show/hide for each tap on the home button.

Added new bitmap generation for lighting and halo effect while loading.

Uses new CarouselViewHelper class to manage textures and threading.

Uses a "real view" to render detail text.

Activities can now overload onCreateDescription() to show a
description in Carousel.

Improved startup and resume speed by posting single event to
refresh the activity list.

Change-Id: Id5552da75b9d022d24f599d11358ddababc97006
2010-09-28 17:39:46 -07:00
Daniel Sandler
3df3ad3faa Fix status bar battery meter.
Bug: 2974927
Change-Id: I22bcf92a85bca3c2c2d1d2efd2a501e563b3c84c
2010-09-03 14:28:02 -04:00