3605 Commits

Author SHA1 Message Date
Daniel Sandler
4be3db7018 am f3a56199: am 40bacdf4: Merge "Don\'t wake users up with low battery sounds." into klp-dev
* commit 'f3a56199a526bb21f4196e35a355d8476e4604ce':
  Don't wake users up with low battery sounds.
2013-10-08 13:07:53 -07:00
Daniel Sandler
d78b94a96b am 59089be1: am cd85db33: Merge "Out with the sliders, in with the cog." into klp-dev
* commit '59089be16eb398647b46c40324ae32de4f7d8736':
  Out with the sliders, in with the cog.
2013-10-08 13:07:49 -07:00
Daniel Sandler
40bacdf484 Merge "Don't wake users up with low battery sounds." into klp-dev 2013-10-08 20:03:06 +00:00
Daniel Sandler
cd85db331d Merge "Out with the sliders, in with the cog." into klp-dev 2013-10-08 20:02:49 +00:00
Daniel Sandler
dea6462aab Don't wake users up with low battery sounds.
Battery sounds will always play when the screen is on, and
then for Settings.Global.LOW_BATTERY_SOUND_TIMEOUT
milliseconds after the screen goes off. After that, low
battery alerts will be pushed out the airlock until the
screen comes back on again.

If battery sounds are suppressed via this mechanism you'll
see a log line like:

	V/PowerUI ( 3161): screen off too long (5779ms, limit
	5000ms): not waking up the user with low battery sound

The default value of LOW_BATTERY_SOUND_TIMEOUT is a settings
provider resource: R.integer.def_low_battery_sound_timeout.

Bug: 10487557
Change-Id: Iddd42038aa630631dc8f1833f20fcc5a0c646681
2013-10-08 17:37:06 +00:00
Chris Craik
df9472996a am 2b126b6c: am 46ec729a: Merge "Clean up unused resources" into klp-dev
* commit '2b126b6c403d107974477654de223fa1ea8941fe':
  Clean up unused resources
2013-10-08 10:32:07 -07:00
Daniel Sandler
9f6ed15b7a Out with the sliders, in with the cog.
Bug: 11103061
Change-Id: I58895c426f76f81148e4b0b08115c85f40debf6a
2013-10-08 13:27:33 -04:00
Chris Craik
46ec729a88 Merge "Clean up unused resources" into klp-dev 2013-10-08 17:26:59 +00:00
John Spurlock
7eefc70284 am a348b26b: am c8670bbd: Merge "Remove remaining (unused) sysui asset in classic blue." into klp-dev
* commit 'a348b26b51c687c7a6d4d192ec7177d337ba7a73':
  Remove remaining (unused) sysui asset in classic blue.
2013-10-08 07:43:34 -07:00
John Spurlock
c8670bbd0a Merge "Remove remaining (unused) sysui asset in classic blue." into klp-dev 2013-10-08 14:38:35 +00:00
John Spurlock
404cd06f54 Remove remaining (unused) sysui asset in classic blue.
Bug: 10918599
Change-Id: I417b32f30dae4211a492120e35716da434a6474b
2013-10-08 14:37:43 +00:00
John Spurlock
ab8b41e241 am 1fbd7982: am 1ef5865c: Merge "Turn debugging off prior to ship." into klp-dev
* commit '1fbd7982976f89700c6b6f42ebf17fbf0d1f78ef':
  Turn debugging off prior to ship.
2013-10-08 07:02:16 -07:00
John Spurlock
342cad772b Turn debugging off prior to ship.
Bug:10488453
Change-Id: I37680c6b0c24f00f4fe3926ee97d2a14edb1ced7
2013-10-08 09:39:26 -04:00
Jim Miller
04e3a2aaf5 am d386c0a4: am be5ba9a2: Merge "Update search asset with new new new asset." into klp-dev
* commit 'd386c0a4f312f4f6fc4d621a358c2850516a8292':
  Update search asset with new new new asset.
2013-10-07 18:56:29 -07:00
Jim Miller
be5ba9a255 Merge "Update search asset with new new new asset." into klp-dev 2013-10-08 01:52:13 +00:00
Jim Miller
2de3b6be0b Update search asset with new new new asset.
Fixes bug 11102853

Change-Id: Icab95409e0b641858e301157ad3f56542bb6d4f8
2013-10-07 18:40:43 -07:00
Michael Wright
d07179ba23 am 7c677bb8: am bf33f34c: Merge "Show no_sim icon when no SIM card is available." into klp-dev
* commit '7c677bb8220023bc83ef5b78a8e298ef4d3ab463':
  Show no_sim icon when no SIM card is available.
2013-10-07 17:16:58 -07:00
Michael Wright
bf33f34c1b Merge "Show no_sim icon when no SIM card is available." into klp-dev 2013-10-08 00:10:05 +00:00
Michael Wright
2eeacc02a2 Show no_sim icon when no SIM card is available.
Bug: 10958943
Change-Id: I1fcd961ddab45e316d726b90fdbbc176e6e7d737
2013-10-07 13:50:32 -07:00
Chris Craik
641ac6429a Clean up unused resources
bug:10641374

Additionally, fixes incorrect getColor use

Change-Id: Ie56ad5baa099cc421629a5dcc8ef9de14e44079a
2013-10-07 11:00:33 -07:00
John Spurlock
7f106c465b am f2ec90f2: am 2788712a: Merge "Update qs asset outlines." into klp-dev
* commit 'f2ec90f26ca29f3fe1237f8b593a0f2d6f25de80':
  Update qs asset outlines.
2013-10-07 10:10:12 -07:00
John Spurlock
9c00a2f304 Update qs asset outlines.
Bug:10641374
Change-Id: Id4748cf72b4c8c3c59797fc4880926cb4fe57b74
2013-10-07 12:39:18 -04:00
John Spurlock
4818db0fc5 am b88ede00: am d5102f19: Merge "Transparent system ui flags -> Translucent WM flags." into klp-dev
* commit 'b88ede00ac12fb359b490a5167cd595ebde7e805':
  Transparent system ui flags -> Translucent WM flags.
2013-10-06 19:19:18 -07:00
John Spurlock
d5102f1965 Merge "Transparent system ui flags -> Translucent WM flags." into klp-dev 2013-10-07 02:13:50 +00:00
Jim Miller
143f2e4c5c am 1654f847: am 158fbd3a: Fix bug where pebble app triggers accessibility mode in navbar camera
* commit '1654f84712d79a96083e039fc5b3cdaf05857d2f':
  Fix bug where pebble app triggers accessibility mode in navbar camera
2013-10-06 18:18:40 -07:00
John Spurlock
bd95740648 Transparent system ui flags -> Translucent WM flags.
Migrate View.SYSTEM_UI_FLAG_TRANSPARENT_(STATUS/NAVIGATION) to
WindowManager.LayoutParams.FLAG_TRANSLUCENT_(STATUS|NAVIGATION).

Add associated public attrs for both new window flags:
  windowTranslucentStatus
  windowTranslucentNavigation

Introduce convenient four new themes that set translucent decor:
  Theme.Holo.NoActionBar.TranslucentDecor
  Theme.Holo.Light.NoActionBar.TranslucentDecor
  Theme.DeviceDefault.NoActionBar.TranslucentDecor
  Theme.DeviceDefault.Light.NoActionBar.TranslucentDecor

Update PhoneWindowManager mechanism to plumb these values back to
SystemUI to drive bar mode state.

The new translucent flags come from the top fullscreen window, not
the focused window, so translucency does not change when opening
dialogs.

Imply some window-level system-ui visibility if one or both of these
new flags are present, specifically:
  FLAG_TRANSLUCENT_STATUS implies LAYOUT_STABLE, LAYOUT_FULLSCREEN
  FLAG_TRANSLUCENT_NAVIGATION implies LAYOUT STABLE, LAYOUT_HIDE_NAV

Rename all associated variable & resource names to use the term
translucent instead of transparent. (Retain the term semi-transparent
for the transient bar style).

Recents activity allowed to inherit translucent decor state via the
new PRIVATE_FLAG_INHERIT_TRANSLUCENT_DECOR.  Compensating changes
to use the full screen area more appropriately.

Update keyguard to use new WM flags.

Update docs and various api artifacts.

Sanity-check fixes:
 - Toasts and alerts given stable layout.
 - Suppress nu-gradient when in transient (hidey) mode.
 - New translucent flags use top-fullscreen window, dialogs don't clear.

Bug:10674960
Bug:11062108
Bug:10987178
Bug:10786445
Bug:10781433
Change-Id: If667a55bea4cf5e008549524b9899197fab55ebe
2013-10-06 16:03:53 -04:00
Jim Miller
158fbd3ab8 Fix bug where pebble app triggers accessibility mode in navbar camera
Apparently the Pebble application uses accessibility.  This was
triggering the navbar to resort to accessibility mode for launching
the camera.  The fix is to also require touch exploration to be
enabled.

Fixes bug 11061505

Change-Id: I2245bd37eef9e68911862ce86147b1343816f1a4
2013-10-05 19:01:00 -07:00
Jim Miller
bb93ee731c am d479396d: am ed887bff: Merge "Replace searchlight asset with new new asset" into klp-dev
* commit 'd479396d2d3cc6470c5774863827ccc9cb3133e1':
  Replace searchlight asset with new new asset
2013-10-04 16:51:52 -07:00
Jim Miller
ed887bff6e Merge "Replace searchlight asset with new new asset" into klp-dev 2013-10-04 23:48:24 +00:00
Jim Miller
93cc6106be Replace searchlight asset with new new asset
Fixes bug 11030712

Change-Id: I8361c74e344ec3f9c7176635face84af2d754973
2013-10-04 16:41:34 -07:00
Baligh Uddin
57c8f4f259 Import translations. DO NOT MERGE
Change-Id: I17e711092eecfea0af5f133185672b729f8d4bf1
Auto-generated-cl: translation import
2013-10-04 12:50:57 -07:00
Jim Miller
84e0766cbe am 43bd3f24: am 3d61bf45: Merge "Replace searchlight asset" into klp-dev
* commit '43bd3f2459642f38f88e9aa90a05a50ea21ba010':
  Replace searchlight asset
2013-10-03 21:30:39 -07:00
Jim Miller
43bd3f2459 am 3d61bf45: Merge "Replace searchlight asset" into klp-dev
* commit '3d61bf45e559e084fa173bd50e2e7d7286dc9a35':
  Replace searchlight asset
2013-10-03 21:27:20 -07:00
Jim Miller
d34de7304c Replace searchlight asset
Fixes bug 11030712

Change-Id: Ia25dec35dd3a8d59f98521e579bc1d269518c395
2013-10-03 19:20:58 -07:00
John Spurlock
89862d73ce am c20988e1: am 0ea4a5fb: Merge "Replace linear GradientDrawable with asset-based approach." into klp-dev
* commit 'c20988e16b5a1129c28ca4d378456bbdc60e19e3':
  Replace linear GradientDrawable with asset-based approach.
2013-10-03 15:38:58 -07:00
John Spurlock
c20988e16b am 0ea4a5fb: Merge "Replace linear GradientDrawable with asset-based approach." into klp-dev
* commit '0ea4a5fb8de62acb057651a4821af9b8699d9fcf':
  Replace linear GradientDrawable with asset-based approach.
2013-10-03 12:18:36 -07:00
Baligh Uddin
778c2de060 Merge "Import translations. DO NOT MERGE" into klp-dev 2013-10-03 03:45:22 +00:00
John Spurlock
7057d2c3a9 Replace linear GradientDrawable with asset-based approach.
And disallow fully transparent nav bar when vertical.

Bug: 10967264
Change-Id: I42adf6de1eeb91e1b1a24dc6c7a64c8d86017b2d
2013-10-02 22:24:12 -04:00
Baligh Uddin
ee379ac3f3 Import translations. DO NOT MERGE
Change-Id: Ibc6ea940342fcfa81edfed6efc2d8f50d3106398
Auto-generated-cl: translation import
2013-10-02 12:28:22 -07:00
Daniel Sandler
484b80a456 am 6812b03e: am 7eb5ce03: Merge "Update date format in panel on locale change." into klp-dev
* commit '6812b03ee313a346c2216f4a2d7a51cf88733b57':
  Update date format in panel on locale change.
2013-10-02 09:34:39 -07:00
Elliott Hughes
7fce50eb7c am ad8ec14f: am 7fb64c6e: Merge "more locale-appropriate screenshot share text"
* commit 'ad8ec14f85c4ae7cd7e5c916a7e8d8c1edd2759e':
  more locale-appropriate screenshot share text
2013-10-01 14:36:17 -07:00
Victoria Lease
e733a4012d more locale-appropriate screenshot share text
The SimpleDateFormat version of this produces very poor results in
locales other than en_US. Trusting DateFormat to do its thing
produces more consistently-pleasing results across all locales.

(cherry-pick of e45e1f2efe69ba931efa88c6e33879fbc8d8c4c1.)

Change-Id: I7f1714446bb50285d851e8e313e7f32a0a822bf2
2013-10-01 14:25:39 -07:00
Daniel Sandler
6812b03ee3 am 7eb5ce03: Merge "Update date format in panel on locale change." into klp-dev
* commit '7eb5ce03d9697caa2e9caf0437036a937d081e90':
  Update date format in panel on locale change.
2013-09-30 20:55:06 -07:00
Daniel Sandler
7eb5ce03d9 Merge "Update date format in panel on locale change." into klp-dev 2013-10-01 02:57:45 +00:00
Daniel Sandler
0caebb5078 am 026dc143: Merge "Fix configuration changes in status bars." into klp-dev
* commit '026dc1432ef70308ef44dafcc28998436e304e75':
  Fix configuration changes in status bars.
2013-09-30 17:11:03 -07:00
Jim Miller
a192253bf2 am fb2e3c8d: Merge "Fix permissions on WindowManagerService.showAssistant()" into klp-dev
* commit 'fb2e3c8d47c162166a029a97d68ad3bedff89cce':
  Fix permissions on WindowManagerService.showAssistant()
2013-09-30 17:10:11 -07:00
Daniel Sandler
c6f82e9d05 am a9cf1de4: Merge "Would you like a dessert?" into klp-dev
* commit 'a9cf1de470db5910a38f733f4cd089a44d3162c5':
  Would you like a dessert?
2013-09-30 17:07:20 -07:00
Jim Miller
3d4e30ba97 am 398d7f61: Merge "Update navbar camera icon and widget background assets in keyguard." into klp-dev
* commit '398d7f61866baab65e69b9107c36ba32bf824353':
  Update navbar camera icon and widget background assets in keyguard.
2013-09-30 16:42:26 -07:00
Daniel Sandler
b478a71625 Update date format in panel on locale change.
The logic that updated the locale was only running at times
the DateView should have been updating its display, namely,
when the view was visible on-screen.

The new version trades a small amount of efficiency (the
broadcast receiver is now active at all times, and the date
is re-formatted each TIME_TICK) in exchange for simplicity
and correctness.

Bug: 10725912
Change-Id: I2f0988ed478374ed0eb0c76c3d8caed6c86eb8df
2013-09-30 15:33:36 -04:00
Baligh Uddin
37e9fe7202 Import translations. DO NOT MERGE
Change-Id: I5096e6fda19418f0b61829ccc25cc98ba3d09dfe
Auto-generated-cl: translation import
2013-09-30 10:29:59 -07:00