2324 Commits

Author SHA1 Message Date
Christopher Tate
5717f80927 Add an empty stub status bar service implementation
For kiosk-type devices that do not present any navigation UI.  This allows
for clean selection of the implementation based on resource overlays,
without the need for the tablet or phone status bar implementations to
accomodate the desired behaviors.

Bug 5824373

Change-Id: Ia5aca7df70a11e632eaf9be6e67900ded8ea2f7d
2012-02-17 16:44:30 -08:00
Christopher Tate
8fead66159 DO NOT MERGE - Configuration resource to suppress tablet status bar contents
This is a grotesque hack to avoid showing status bar controls.  The real
solution will be coming via master but not extremely soon; stay tuned but
this gives the right presentation for now without affecting normal products.

Bug 5824373

Change-Id: Ib5348024853ad2e7715b824aba522d80b6a99048
2012-02-15 15:38:43 -08:00
John Wang
78308ca1b4 am 63b59666: Merge "Only use CDMA rssi for config_alwaysUseCdmaRssi." into ics-mr1
* commit '63b596664c3fdb70ad32c8f641f477ec9140d6ec':
  Only use CDMA rssi for config_alwaysUseCdmaRssi.
2012-02-14 12:37:49 -08:00
John Wang
d55cde1384 Only use CDMA rssi for config_alwaysUseCdmaRssi.
If config_alwaysUseCdmaRssi is true, the RSSI signal bar only
shows the CDMA value, no matter it connects to EVDO or WiMax .

bug:5941743
Change-Id: I4187571898a9fb47162e1ccf0cc4c59c3136ae0b
2012-02-13 17:48:24 -08:00
Mike Lockwood
11046a2a4b WifiStateTracker: add support for overriding DCHP max retry count in an overlay
Bug: 5551068

Change-Id: I7817eeb1409af2056a63548104c3c64f93ee7def
Signed-off-by: Mike Lockwood <lockwood@google.com>
2012-02-13 14:08:50 -08:00
Justin Ho
7f3b28f58c am 744c5b0b: Merge "Import translations. DO NOT MERGE" into ics-mr1
* commit '744c5b0bdee6a26e2dc7e740a695d53c32104326':
  Import translations. DO NOT MERGE
2012-02-10 10:09:58 -08:00
Eric Fischer
e42fe553a7 Import translations. DO NOT MERGE
Change-Id: Id6eb7d951bbbd8d01ce11670946282eecd7bc984
2012-02-08 18:46:47 -08:00
Daniel Sandler
0382a787ad am 5b08738a: Merge "Suppress mobile-out-of-service label if wifi connected." into ics-mr1
* commit '5b08738a62ece5bf0ca5d22a6f062e2fb67af272':
  Suppress mobile-out-of-service label if wifi connected.
2012-01-26 13:05:00 -08:00
Daniel Sandler
62a1eb8972 Suppress mobile-out-of-service label if wifi connected.
Carrier name is shown if
 - in service and connected to mobile data
 - in service and connected to wifi

Carrier name is blanked if out of service and connected to
wifi.

"No internet connection" is shown if out of service without
any other route.

Bug: 5903914
Change-Id: I59d4d0c90e4153d73c38f7f0e150becf7e021a5b
2012-01-26 15:35:03 -05:00
Daniel Sandler
8f0fdd10dc am 185c0ef7: Merge "Stop showing "No internet connection" when there is one." into ics-mr1
* commit '185c0ef7e4aaa4bb978a6eb5c93c569585a07f56':
  Stop showing "No internet connection" when there is one.
2012-01-24 14:04:47 -08:00
Daniel Sandler
185c0ef7e4 Merge "Stop showing "No internet connection" when there is one." into ics-mr1 2012-01-24 12:54:48 -08:00
Daniel Sandler
2e481b9146 Stop showing "No internet connection" when there is one.
In particular, even though the mobile data network isn't
routing packets (and therefore is not an internet
connection), we want to show the PLMN anyway:

  [MOBILE RSSI] Carrier  [WIFI RSSI] WiFi SSID

This change also improves the following cases:

 - Combines "No internet connection" from wifi and mobile
   into one single string in airplane mode:

     [AIRPLANE] No internet connection.

 - Removes "No internet connection" from the mobile string
   when wifi is on in airplane mode, making a nice compact
   display in this case:

     [AIRPLANE] [WIFI RSSI] WiFi SSID

Bug: 5903914
Change-Id: I477821d2c5e9922252dd6bcb3ed494c8c57d99b0
2012-01-24 14:45:40 -05:00
Daniel Sandler
7aeae0bdee am a4474ae0: Merge "Detect and repair invalid layouts in the navigation bar." into ics-mr1
* commit 'a4474ae02546d725686f9c08113c16a84aca912c':
  Detect and repair invalid layouts in the navigation bar.
2012-01-24 11:35:09 -08:00
Daniel Sandler
0b69b59877 Detect and repair invalid layouts in the navigation bar.
It seems that something (probably layout transitions)
occasionally leaves the navigation bar layout in a weird
state such that most of the buttons are offscreen. For
example, the portrait nav bar might have buttons with widths
matching the nav bar's old width from landscape; the
clickable regions will therefore be far off the right edge
of the display.

The navigation bar now looks for this situation when the
size of the view changes and corrects for it.

Bug: 5549288
Change-Id: I8464ac9fd64cb64ec18baf51478dd0f6564a2284
2012-01-23 21:14:37 -05:00
Justin Ho
4fb2d0d22b am b09f6f96: Merge "Update WiMAX assets to match new style Bug: 5724605" into ics-mr1
* commit 'b09f6f96e3583da320b69486869bc98fd463735e':
  Update WiMAX assets to match new style Bug: 5724605
2012-01-20 14:50:35 -08:00
Justin Ho
b09f6f96e3 Merge "Update WiMAX assets to match new style Bug: 5724605" into ics-mr1 2012-01-20 14:48:51 -08:00
Justin Ho
f87da6e846 Update WiMAX assets to match new style
Bug: 5724605

Change-Id: Iab24c3e5aad3af38d5ba3a5a8f383c79270bdea3
2012-01-20 14:47:26 -08:00
Daniel Sandler
d03a4798cf am 639ed754: Hide mobile RSSI on devices without mobile data.
* commit '639ed754bba866d2a47ef7ca58e56806b546b149':
  Hide mobile RSSI on devices without mobile data.
2012-01-20 14:40:23 -08:00
Daniel Sandler
639ed754bb Hide mobile RSSI on devices without mobile data.
Also fixes some minor layout glitches along that row of
icons (Bluetooth vertical alignment & spacing, battery text
width, inter-icon padding).

Bug: 5895226
Change-Id: I303c2899bf21ddb7e28914d8fb36efd7090ac5e2
2012-01-20 14:37:54 -08:00
Justin Ho
4cf5ad2bbe am 70e21c92: Merge "New out-of-service RSSI." into ics-mr1
* commit '70e21c927afeff05d8f26e9df2f36785ca19fdfd':
  New out-of-service RSSI.
2012-01-20 14:35:00 -08:00
Justin Ho
70e21c927a Merge "New out-of-service RSSI." into ics-mr1 2012-01-20 14:33:07 -08:00
Daniel Sandler
e3b86f2137 New out-of-service RSSI.
This creates (well, restores, since we had this until
Honeycomb) a user-visible state for "no service" that is
distinguishable from "very very weak service" (less than one
bar).

Bug: 5775939
Change-Id: Idd08b1a9411d5d94e4d7a97fa7f3ffd92b8113a6
2012-01-20 14:06:40 -08:00
Daniel Sandler
7c481e044e am 4d3161f3: Merge "Always show appropriate mobile service label." into ics-mr1
* commit '4d3161f379195302b720e120c5e6b65a0adfaf8c':
  Always show appropriate mobile service label.
2012-01-20 11:31:49 -08:00
Kazuhiro Ondo
32f4700172 Always show appropriate mobile service label.
Fix for Carrier Verification case failure for not showing
"no internet connection" text on expanded status bar while
mobile data connection is not CONNECTED state.

Bug:5884774
Change-Id: I433d5de626b9b0cff20d192cb6aae214f3e014b3
2012-01-19 20:25:26 -05:00
Daniel Sandler
338618e7ad am 755a967b: Merge "Clean up wifi/mobile indicators in the expanded panel." into ics-mr1
* commit '755a967bdc2cddb6fbadd10e357f8a5328520061':
  Clean up wifi/mobile indicators in the expanded panel.
2012-01-12 11:40:36 -08:00
Daniel Sandler
5962fd5ec9 Clean up wifi/mobile indicators in the expanded panel.
We now have two separate RSSI icons, one for wifi and one
for mobile data, as originally proposed in bug 5544770.
Each has an accompanying label showing the appropriate
network description string (PLMN or SSID or "No internet
connection"); these will be truncated as necessary to avoid
clobbering other UI elements in the panel.

Bug: 5543495
Bug: 5621224
Change-Id: I8fc322f8471fc94000e7230de359d3f1fe561b1e
2012-01-11 16:57:51 -05:00
Mike Lockwood
a7cc8f6f49 Merge "Allow disabling network stats support in a resource overlay" into ics-aah 2012-01-11 11:24:11 -08:00
Justin Ho
a4df3a8d44 am beb8be60: Merge "Fixing crash when taking screenshot over secure window." into ics-mr1
* commit 'beb8be60d157e4812e0195c2e445aa0abb82d9a2':
  Fixing crash when taking screenshot over secure window.
2012-01-06 14:09:43 -08:00
Mike Lockwood
dd991fc787 Allow disabling network stats support in a resource overlay
Bug: 5771240

Change-Id: Ic516f05fcc94b568ebc66837886dd7ec3cb211f4
Signed-off-by: Mike Lockwood <lockwood@google.com>
2012-01-06 14:07:57 -05:00
Winson Chung
a46d778635 Fixing crash when taking screenshot over secure window.
Change-Id: If3d4e458030e37aae3310b23dcad2ff5fe29fa73
2012-01-04 16:43:42 -08:00
Mike Cleron
cbc736756e am 840201d6: Merge "Update VIBRATE_ON to a supported value when upgrading from GB." into ics-mr1
* commit '840201d6e2d7d53e42a31ffeb2ef454982882d12':
  Update VIBRATE_ON to a supported value when upgrading from GB.
2011-12-13 10:52:23 -08:00
Amith Yamasani
3066afdc6f Update VIBRATE_ON to a supported value when upgrading from GB.
Bug: 5738552

If value has ringer set to VIBRATE_OFF, we need to update it to the
now default, as VIBRATE_OFF is inconsistent with the new UI controls.

Make sure notification vibrate setting follows ringer vibrate setting.
Change-Id: I6638c8a8729d850e71db10d27a0b50d24dc11f19
2011-12-12 16:24:13 -08:00
Justin Ho
eb13476f4d am 1cec30a1: Merge "Quick settings icons updated to match ics style on tablet" into ics-mr1
* commit '1cec30a182c1963beda4b6f11cfae9fa38061e68':
  Quick settings icons updated to match ics style on tablet
2011-12-09 15:55:37 -08:00
Justin Ho
1cec30a182 Merge "Quick settings icons updated to match ics style on tablet" into ics-mr1 2011-12-09 15:42:10 -08:00
Daniel Sandler
751004993f am 29933fb2: Merge "Improve handling of small largeIcons in tablet ticker." into ics-mr1
* commit '29933fb26a4294a9bd30f9227809e28949252833':
  Improve handling of small largeIcons in tablet ticker.
2011-12-07 17:42:09 -08:00
Daniel Sandler
29933fb26a Merge "Improve handling of small largeIcons in tablet ticker." into ics-mr1 2011-12-07 17:40:07 -08:00
Daniel Sandler
a50bbcd179 am dc8cb9aa: Merge "Invalidate the whole status bar after layout transitions." into ics-mr1
* commit 'dc8cb9aa7e8f341ab88ae57e9d2cb99502844e5b':
  Invalidate the whole status bar after layout transitions.
2011-12-07 16:34:46 -08:00
Peter Ng
673de5dcd4 Quick settings icons updated to match ics style on tablet
Change-Id: If082773b739fe7774fa7afd898379671d75eb72a
2011-12-07 16:27:24 -08:00
Daniel Sandler
a3850b6839 Improve handling of small largeIcons in tablet ticker.
The tablet system bar is too short for a full notification
row, but it will show the largeIcon of a new notification in
its full frame, intruding into the main application content
rectangle a bit. This is a good thing---the notifications
really pop out at you---but it looks a little odd if the
largeIcon is actually *small*: the icon is vertically
centered in the larger (invisible) rectangle, making it look
poorly centered on the system bar.

This change will detect short largeIcons and center them in
the system bar's height instead. Additionally, it applies
the same ticker background all the way to the left
underneath largeIcons that are not full-frame (and therefore
have transparent regions).

Bug: 5708907
Bug: 5560485
Change-Id: I32af45632df164c58fb960110063dbaa08b5536c
2011-12-07 15:53:00 -05:00
Daniel Sandler
5a82660832 Invalidate the whole status bar after layout transitions.
This should ensure that the menu icon doesn't persist
on-screen even after it's been removed from its parent.
(Related to the KeyButtonView animation glow and the tricks
it plays with invalidation.)

Bug: 5647480
Change-Id: I8ca503ef647aed99335d3dbecedce38fa0b70c65
2011-12-07 15:22:30 -05:00
Amith Yamasani
52cb1da2c6 am f3364080: Merge "New and improved silent mode on lockscreen." into ics-mr1
* commit 'f336408000c4be36045401fb4df89528249e7383':
  New and improved silent mode on lockscreen.
2011-12-07 11:02:51 -08:00
Eric Fischer
bcd96b36d0 am 58ad16cf: Merge "Import revised translations. DO NOT MERGE" into ics-mr1
* commit '58ad16cfeaac1c2124d0f9e9d2b5c493e163128c':
  Import revised translations.  DO NOT MERGE
2011-12-07 11:02:01 -08:00
Jason Simmons
a188e4dc0e resolved conflicts for merge of ea25ea7e to ics-aah
Change-Id: I9d387ad2107486406f364f1cebc709126e2d27a5
2011-12-07 10:47:48 -08:00
Jim Miller
9a6123f997 am 17f9fe13: Merge "Fix 5705837: Dismiss keyguard when launching Settings from Statusbar" into ics-mr1
* commit '17f9fe13c7c78eaab521f6f85b48b0e8f5adddbc':
  Fix 5705837: Dismiss keyguard when launching Settings from Statusbar
2011-12-07 09:27:39 -08:00
Jesse Hall
cca5ae0f65 am 3e7b412d: Merge "Fix statusbar crash on devices with no Bluetooth" into ics-mr1
* commit '3e7b412d7d6332830ceaf123edb5e211757c69ce':
  Fix statusbar crash on devices with no Bluetooth
2011-12-07 09:27:37 -08:00
Amith Yamasani
6243edd818 New and improved silent mode on lockscreen.
3-state item to toggle between Silent/Vibrate/Ringer in long-press power menu.
No volume dialog on lockscreen, unless Power menu is up.

Set VIBRATE_IN_SILENT=1 when upgrading device.

Change-Id: I097d216f96c4abdbd83420e0c477106951b3607d
2011-12-06 14:48:38 -08:00
Jason Simmons
3b282fae37 resolved conflicts for merge of 0c0120ef to ics-aah
Change-Id: If1f39ff160b4305ef057d50bb1f01d2c45f1579d
2011-12-06 11:11:13 -08:00
Eric Fischer
58ad16cfea Merge "Import revised translations. DO NOT MERGE" into ics-mr1 2011-12-06 10:34:41 -08:00
Eric Fischer
c92b5c227a Import revised translations. DO NOT MERGE
Change-Id: I1d49a1533bd0481543280a379a9f93bd7027e54a
2011-12-06 10:27:06 -08:00
Svetoslav Ganov
ea25ea7ef3 Merge "Adding a system preference whether to speak passwords in accessibility mode." into ics-mr1 2011-12-06 10:27:04 -08:00