186 Commits

Author SHA1 Message Date
Daniel Sandler
079b33d215 New slide-out mechanism.
Instead of sliding the panel in from off-screen, the panel
is now stretched open (cropping the scrolling contents).

This is slower, so the layout has been dramatically
simplified to help performance.

Change-Id: I8343449c2b3fa4b4ee161f1de992d2242635d15e
2012-03-05 15:33:32 -05:00
Daniel Sandler
c6d29fc0f5 Newly reimplemented PhoneStatusBar, now with fewer windows.
Change-Id: I4eaf69a1d46f9180d6911a6559ff24d173ccb35b
2012-03-05 14:40:17 -05:00
Michael Jurka
7a3489552c Add shortcut for voice search
On phones with soft nav bar, make long press on
home launch a voice search intent

Change-Id: I69840a96a08524a76e33a306b799222c879db095
2012-02-28 14:37:35 -08:00
Romain Guy
8279acb965 Improve screenshot animation performance
Bug #5525888

Uses only 25% of the original amount of OpenGL API calls
Fillrate usage is now 1x the screen size instead of 5x

Change-Id: Icc7d2793f276fb7ce23c7f652079e54e3d4779d5
2011-11-29 13:56:25 -08:00
Daniel Sandler
ce33622aed Merge "Bring back the 'more notifications' icon." into ics-mr1 2011-11-15 09:20:56 -08:00
Daniel Sandler
05e2414ef5 Bring back the 'more notifications' icon.
In fact, there's even more going on here. Icons were
appearing cut off because of the unusual width of icons on
the right-hand side of the status bar; we now take extra
steps to ensure that the IconMerger is only wide enough to
show an integral number of icons. But that causes problems
with the rest of the status bar the IconMerger makes itself
thinner than the overall layout requires, so there's now a
containing layout to absorb the additional horizontal space
properly.

Bug: 5136545

Change-Id: I8c4d1ee2bcd976c452510b33c196fbe0c3e8c660
2011-11-10 12:42:30 -05:00
Daniel Sandler
633eabe56d Remove dedicated wimax icon to fix RSSI layout.
We'll bring the wimax information back, but as part of the
mobile data indicator.

Bug: 5592198
Change-Id: I7d797db18b2d86ea4b8609642c6e09a5b2425459
2011-11-10 00:16:02 -05:00
tk.mun
148c7d0de7 Wimax : wimax framework related open source.
Integrate wimax network related changes into Android Framework.
- In Connectivity service, start wimax service.
- 4G icon display in StatusBarPolicy.
- DHCP renew add.
- Add radio for wiamx

Change-Id: I2d9012247edfdf49d71ca7e1414afd0006f330ca
Signed-off-by: tk.mun <tk.mun@samsung.com>
bug:5237167
2011-11-07 14:47:40 -08:00
Daniel Sandler
9929fa3058 Vertically center the landscape navigation bar.
We used the paddingTop parameter in the rot90 layout to
pretend that there was a status bar shifting all the
navigation icons down; by setting this to 0 we now spread
the navigation icons evenly across the entire display.

Bug: 5530481
Bug: 5459659
Change-Id: I7f8663049c597300818549f18d7a419537f44b96
2011-10-28 16:47:09 -04:00
Winson Chung
22ca09595d Last update for screenshot animations for MR0. (Bug: 5333706)
- Also adding proper border asset

Change-Id: I423389d1a68498b2e470e6d483f5b7542a814c31
2011-10-20 19:47:08 -07:00
Peter Ng
63fae9d562 Merge "Layout changes to recents" into ics-mr0 2011-10-17 11:57:38 -07:00
Winson Chung
49a98c8f64 Merge "Showing notifications after taking a screenshot (Bug: 5333706)" into ics-mr0 2011-10-17 10:20:46 -07:00
Peter Ng
2d136a83a0 Layout changes to recents
Bug: 5411813

-gravity is set to center
-textsize is smaller
-app icon placement now hangs off the screenshot
-recents callout line now defined in colors
-recents thumbnail normal state drawable added

Change-Id: Ibeaec7e3f0a3bcdbe3f990886b1536cb7d7fdc03
2011-10-14 12:37:42 -07:00
Daniel Sandler
7362e0d8fe Merge "Adjust text sizes for better behavior under user scaling." into ics-mr0 2011-10-14 12:22:07 -07:00
Daniel Sandler
ed37b1bf73 Merge "Shrink the ticker's icon to match the status bar." into ics-mr0 2011-10-14 10:16:14 -07:00
Daniel Sandler
57d74de48b Adjust text sizes for better behavior under user scaling.
Text that is supposed to go in the status bar must be sized
in dp, because the bar doesn't get bigger when the user text
scale increases.

Bug: 5108533 // related
Change-Id: I36c3f750ec78562555d4bbe68d601d18250e36ec
2011-10-14 13:14:46 -04:00
Daniel Sandler
645e099055 Shrink the ticker's icon to match the status bar.
Bug: 5108533
Change-Id: Iff28aaefe068feb50a636fc1456c5a31d7bdb46e
2011-10-14 12:53:42 -04:00
Winson Chung
c57ccf01fe Showing notifications after taking a screenshot (Bug: 5333706)
- Fixing issue where ticker and swipe-to-remove wasn't working for updated notifications

Change-Id: Ib8ef07778a11028c9c2627830ee1dd4561d2ae3b
2011-10-13 18:26:28 -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
bcf6ef0b82 Fix contentDescriptions in status bar.
- Strings for signal strength
- Strings for the clear-all-notifications button
- Adjust phrasing for the clear-one-notification button
- Adjust phrasing for the settings button

Bug: 5285136
Bug: 5325056
Change-Id: I489e49f3b3d88a6b599ababe68d0535302eb0ae2
2011-09-30 12:48:35 -04:00
Daniel Sandler
4222c2ef91 Add carrier info back to notification drawer.
Bug: 5250214
Change-Id: I9ef1faf052ea6e4d3bd0b5a1a6e67a18fb923c47
2011-09-29 15:44:34 -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
Justin Ho
f888f3ffa0 am 9d48b578: Merge "Fixing low battery dialog" into ics-factoryrom
* commit '9d48b578096a14441e2063c0e54dbba4340fa178':
  Fixing low battery dialog
2011-09-21 08:01:18 -07:00
Justin Ho
1d55f27445 Fixing low battery dialog
Change-Id: I58f7a4ed1c525fd4db4f2e9b60badeb0bdb3d519
2011-09-20 16:30:47 -07:00
Michael Jurka
43fc2d3cb4 am b0a1f197: Merge "Added "No recent apps" message on phones" into ics-factoryrom
* commit 'b0a1f197303d520d788ba11fcb0ac56f3a3c8604':
  Added "No recent apps" message on phones
2011-09-19 10:34:39 -07:00
Michael Jurka
6d66708706 Added "No recent apps" message on phones
Change-Id: I00bf163369775b79377090b7a9dae0c94ce5d0ac
2011-09-16 17:24:25 -07:00
Daniel Sandler
369711f89b Merge "Fix overlapping wifi and airplane icons." 2011-09-15 07:56:48 -07:00
Peter Ng
669a8193bb Status_bar_close that works on light and dark
-No more blue, black works throughout all screens
-removed blue line from drop down handle because it was very problematic when a user has several notifications in their scrollview combined with the removal of fadingEdge vertical
-title_bar_shadow has an increased height

Change-Id: I8a291039b9c47c32ce289787612b050fd95e1fc4
2011-09-14 18:57:41 -07:00
Daniel Sandler
5ccff81a64 Fix overlapping wifi and airplane icons.
Bug: 5254547
Change-Id: If293be36c4e06a8fac6f728b1f96e5759fe20f6d
2011-09-13 15:17:58 -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
Daniel Sandler
029d5877b0 Hide navigation buttons when they are DISABLEd.
Back is hidden by DISABLE_BACK; Home, Recents, and Menu are
hidden by DISABLE_NAVIGATION.

Bug: 5261576
Bug: 5284740 (confusion about visible inactive icons)
Change-Id: I410c133b737cc11d61bac0318dc24458353ee7b3
2011-09-12 01:02:30 -04:00
Daniel Sandler
cbdc9d2e9c Merge "Use holo_blue_light for statusbar clocks." 2011-09-07 08:25:59 -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
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
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
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
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
Daniel Sandler
e137a1ea99 Low profile mode ("lights out") for phone status bar.
Also changes NAVIGATION_HIDDEN to remove the hide animation,
hopefully reducing the number of jarring transitions when
apps want to enable super-ultra-full-screen mode.

Bug: 5052456
Bug: 5146960
Change-Id: I5f5ebb23add81243dc8861b65d8f15ca4d9ce0d2
2011-08-19 11:46:11 -04:00
Daniel Sandler
9a5505f025 Merge "Fix drawing artifacts on glowing navigation buttons." 2011-08-17 16:22:01 -07:00
Daniel Sandler
96f4818ef4 Fix drawing artifacts on glowing navigation buttons.
Bug: 5162661
Change-Id: I49d78124cc179221492af2f7bee6adf7bfe34426
2011-08-17 13:45:01 -04:00
Daniel Sandler
44a4616bf7 Remove longpress support from the software Home key.
(Rendered unnecessary by the recents button.)

Bug: 5131723
Change-Id: I9f8f34ab8b96f750ec4bdf75daeb97c0971b5404
2011-08-16 16:53:29 -04:00
Christian Robertson
2e347429df New RSSI cluster in status bar.
Bug: 5147463
2011-08-12 10:15:31 -04:00
Daniel Sandler
0761e4cd95 Clean up some effects in the phone notification panel.
* Clear-all button (X) fades in and out
* "No notifications" text fades in after a few sec
* Swipe-out velocity can be much higher, dramatically
  reducing perceived jankiness in clearing notifications

Bug: 5150699
Change-Id: Ic7e5254fee57724c42b6437d1c4ed8a700615208
2011-08-11 00:19:49 -04:00
Daniel Sandler
cf336e10c0 Forcibly recalculate size of the notification expanded view.
This helps avoid a race condition that can sometimes leave
the status bar handle untouchable (read: hiding behind the
expanded view's transparent window, which is too large
because the close handle's height has not yet been
calculated) on first boot.

Bug: 5122306
Change-Id: I5fa2595798a66289c2c33d7c78dd16f9db066ede
2011-08-09 15:50:03 -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
7c3e39de22 Merging ongoing + latest notifications on phone UI to match tablets.
Change-Id: Ie8ee72137e9eeb6740f3d113d5331e8cba629ab2
2011-08-01 23:26:21 -04:00
Daniel Sandler
5298582717 Bring the shiny navigation button animations to phones.
Also fix the accessibility descriptions (bad merge?).

Bug: 4541219
Change-Id: I8a8e2a14e5557c45af0b9e74b0bd654ff804aab9
2011-07-29 08:44:09 -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