5851 Commits

Author SHA1 Message Date
Baligh Uddin
b4aac8d832 Import translations. DO NOT MERGE
Change-Id: I11d764583416d7fb4dfc85ebe81a98b6a1267424
Auto-generated-cl: translation import
2013-11-13 13:39:45 -08:00
Baligh Uddin
5cc3ddf16f Merge "Import translations. DO NOT MERGE" into klp-dev 2013-11-13 21:04:07 +00:00
Baligh Uddin
9f500fe103 Import translations. DO NOT MERGE
Change-Id: Id312643b2e858fa84f81b37975a1757ff1773b87
Auto-generated-cl: translation import
2013-11-13 11:54:28 -08:00
Keiji Ariyama
1a8c7135f0 Fix NPE at PrintSpooler in Japanese environment.
MediaSize ID have to be upper cases.

Change-Id: I84af01dbd185df210b5ebb1de282a4091e06df05
Related-issue: https://code.google.com/p/android/issues/detail?id=61984
2013-11-13 11:43:26 -08:00
Daniel Sandler
31f7c912f0 Merge "Bespoke, handcrafted, artisanal assist affordance assets." into klp-dev 2013-11-13 19:32:42 +00:00
Daniel Sandler
424984172b Merge "DessertCase fixes:" into klp-dev 2013-11-13 19:32:27 +00:00
Daniel Sandler
f554042a95 Merge "Switch DeadZone to Slog." into klp-dev 2013-11-13 19:32:24 +00:00
Jeff Brown
e7ae644522 Finalize assets for screen casting.
Extend wifi display connection timeout.

Show a notification while connecting to wifi display.

Ensure that remote display providers are really trusted before
connecting to them.

Bug: 11257292
Change-Id: Iad0caaa30d7946df818bc75ade071f2e377f8a53
2013-11-13 02:17:53 -08:00
Jim Miller
c816b8eedb Enable fast camera transition when launched from navbar
This reduces the camera transition timeout to 0 if launched
from the navigation bar.  The transition cannot be aborted once
launched.

Change-Id: I7c376fbb90fd51cd301ef49fbd3411370bc2e4b5
2013-11-12 19:52:12 -08:00
Daniel Sandler
5c6a781eaf DessertCase fixes:
- No more crashing on first launch of the easter egg
- Use IMMERSIVE_STICKY to avoid getting stuck with bars

Bug: 11319125
Change-Id: I4522feb36c29be8446715ba67d454a2012d181ca
2013-11-12 22:32:03 -05:00
Jim Miller
aa89847f4e Reduce camera launch time by about 250ms.
This reduces the amount of time available to the user to cancel
launching the camera in order to improve average launch time.

It also increases the threshhold for flings and motions to prevent
unintentional launches which are costly in terms of falsing.

Fixes bug b/11657355

Change-Id: I852abbe3ce8ddddcb65f3a48a2f8111d20126189
2013-11-12 18:14:26 -08:00
Daniel Sandler
b65da9e720 Bespoke, handcrafted, artisanal assist affordance assets.
Bug: 11243771
Change-Id: I6eb320ca78ccafc435259d30df95582aa7e3c53c
2013-11-12 20:54:31 -05:00
Daniel Sandler
29787f6ed9 Switch DeadZone to Slog.
Should help us identify stray clicks further back in time
thanks to the longer system log buffer.

Bug: 11273982
Change-Id: Ie2bf445622afff3dbc903adad6c0497954fa5fe0
2013-11-12 20:33:34 -05:00
Jeff Sharkey
55d12486df Merge "Give storage provider access to secondary devices." into klp-dev 2013-11-11 23:16:38 +00:00
Baligh Uddin
840587b309 Merge "Import translations. DO NOT MERGE" into klp-dev 2013-11-11 22:39:35 +00:00
Jeff Sharkey
7e1f5410ff Give storage provider access to secondary devices.
Bug: 11411460
Change-Id: I3827ed5b859a68c60742a27917459e8df2c276bb
2013-11-11 14:36:33 -08:00
Baligh Uddin
e7e1a20e02 Import translations. DO NOT MERGE
Change-Id: I78f1c240c242ca7f9b4e52503e65a991460de62e
Auto-generated-cl: translation import
2013-11-11 08:56:43 -08:00
Baligh Uddin
9c530e1855 Import translations. DO NOT MERGE
Change-Id: I75eb5e47f9851174f7bd7e8301537bf7c94a8b5a
Auto-generated-cl: translation import
2013-11-11 08:11:33 -08:00
Jeff Brown
0abd3a6ce8 Update the media router dialogs and integrate into system UI.
Port the new style UI back into the framework from the support library.
There are now two dialogs: a chooser and a controller.  We use the
same dialogs for selecting routes within app and within quick settings.

Note that the new UI does not support any grouping features since they
are deprecated and unused.

Bug: 11257292
Change-Id: I64e936a18d25ab75f0c470cbc1e7085f67004863
2013-11-10 14:39:19 -08:00
Jeff Brown
e2126baf72 Make quick settings show the standard media router icon.
Fixed a bug in ImageView where we failed to inform a newly updated
Drawable about the visibility state.  This caused AnimationDrawables
to not animate when attached to an existing ImageView *unless* that
ImageView happened to be attached to the window *later* or have
its visibility toggled for some other reason.

Bug: 11257292
Change-Id: Iba9e0db5ba0db2b022950aec0c6f60a435da8ad2
2013-11-09 18:59:46 -08:00
Jim Miller
ed7376fc48 Merge "Restore permission check in keyguard." into klp-dev 2013-11-09 00:22:08 +00:00
John Spurlock
105b9b0504 Merge "Avoid unnecessary ticker animation if already visible." into klp-dev 2013-11-08 23:00:31 +00:00
Jim Miller
505329b21b Restore permission check in keyguard.
Fixes bug 11584685

Change-Id: I80621f5608505bdc365930e0276c297c0d5bff67
2013-11-08 14:08:10 -08:00
John Spurlock
26a08ac51a Avoid unnecessary ticker animation if already visible.
When ticker disabled (e.g. on lockscreen) we should avoid
animating on halt if already halted.

Bug:11033324
Change-Id: Id2927d66492a128928b80ff98dc9182209be0652
2013-11-08 17:00:05 -05:00
Jim Miller
0b9d8accc5 Delay tearing down external displays until keyguard finishes
This waits until the keyguard window is actually removed before turning
off external presentations to avoid flashing the user's password.

Fixes bug 11562369

Change-Id: I74bfc0d5e23dccc5a8628abfe02868c71c371f6e
2013-11-07 19:15:49 -08:00
Jim Miller
3192148fb4 Show keyguard scrim on external displays while keyguard showing
Fixes bug 11562369

Change-Id: I577f9d3683e62689954b4640601b3f360b78cb31
2013-11-07 18:44:56 -08:00
Jeff Brown
52277428d5 Merge "Integrate remote display providers into Quick Settings." into klp-dev 2013-11-08 01:37:03 +00:00
Jeff Brown
635e915296 Integrate remote display providers into Quick Settings.
This is a first pass at integrating new remote display functionality
into Quick Settings.  The Wireless Display card which previously
only supported Wifi Display is reimplemented to use the media router
to enumerate available remote display routes.  This ensures that the
user is presented with a consistent state regarding the currently
selected display route.

In this patch, the Wireless Display card still launches the old
Settings preference page for Wifi Display when clicked.  This will be
addressed in future patches.

As part of this change, it was necessary to derive some new lifecycle
information regarding the visibility of the Quick Settings model.
When Quick Settings is shown, an onPrepare event is delivered to
give the model a chance to update its state.  Likewise when Quick
Settings is hidden, an onUnprepare event is delivered.

These events allow the system to determine precisely when remote
display discovery is required to update the UI so as not to waste
power performing discovery in the background all of the time.

Bug: 11257292
Change-Id: Id802aa0983b625aeb972b5d123e4cc080dd6705f
2013-11-07 16:07:18 -08:00
Jim Miller
8cba0d0b21 Merge "Fix scrubbing behavior on keyguard music transport" into klp-dev 2013-11-07 22:52:57 +00:00
Baligh Uddin
5be3186bac Merge "Import translations. DO NOT MERGE" into klp-dev 2013-11-07 03:55:19 +00:00
Jim Miller
b892ac680b Merge "Fix glitch with switching users from QuickSettings" into klp-dev 2013-11-07 03:14:37 +00:00
Jim Miller
cc747ad2da Fix scrubbing behavior on keyguard music transport
This fixes a bug where the music scrub position would snap
back to a previous position. The problem was caused by latency
in the music application responding to scrub position changes.
The latency would mean that we'd get a response periodically
to some historical scrub position change.

Since we can't know when the state will become stable, we
just wait a little bit since the last update change before
continuing to update the scroll position.

In order to keep the music client from falling behind, we
throttle scrub updates.

Fixes bug 11351267

Change-Id: I6204833328751d1da781b4e078a2d557c1f93ff3
2013-11-06 17:53:32 -08:00
Ruben Brunk
e77d2a9c62 Merge "Disable face unlock when returning from camera." into klp-dev 2013-11-06 23:22:55 +00:00
John Spurlock
10b9ac807f Merge "Fix lockscreen camera preview position in RTL." into klp-dev 2013-11-06 21:48:41 +00:00
Jim Miller
3229346994 Merge "Fix issue where transport control shows up off-screen on tablets" into klp-dev 2013-11-06 21:15:17 +00:00
Baligh Uddin
3b79bf493c Import translations. DO NOT MERGE
Change-Id: I13dd4dfd6492c31975cd61e28caeea940a5f66cb
Auto-generated-cl: translation import
2013-11-06 11:53:23 -08:00
John Spurlock
b6c3b20d71 Fix lockscreen camera preview position in RTL.
Bug:11263914
Change-Id: Ic3e5157ceb82495d10afd74b3af2655434a9467c
2013-11-06 14:44:54 -05:00
Michael Jurka
04cead14b6 Merge "Fix calculation of default wallpaper size" into klp-dev 2013-11-06 19:06:50 +00:00
Ruben Brunk
21a99ddd9c Disable face unlock when returning from camera.
Bug: 11063890

- Workaround for bug 11063890.  Avoids the acquire/release
  race when resuming face unlock while pausing the camera
  widget.
Change-Id: I0a58f3a07f346da72ea55772242b4f9c54537235
2013-11-06 10:21:43 -08:00
Michael Jurka
b922178dce Merge "More background protection in Recents for status bar" into klp-dev 2013-11-06 12:38:23 +00:00
Michael Jurka
eed96a0b90 Fix calculation of default wallpaper size
Bug: 11324470
2013-11-06 13:22:51 +01:00
Jim Miller
81190befe6 Fix issue where transport control shows up off-screen on tablets
This fix selects the current page ealier in the reconstruction
of Keyguard to ensure the layout bounds of KeyguardWidgetPager are
correct by the time it does the initial layout.

In addition this change postpones selecting the transport page if
the transport was just added.

Fixes bug 11287144

Change-Id: I92ba8bb5e13c166d13fbaa26881f5034d5ab2104
2013-11-05 21:14:18 -08:00
John Spurlock
499c7eeb9a Merge "Update remaining settings icon with old style." into klp-dev 2013-11-06 02:48:07 +00:00
John Spurlock
88f3d6bde0 Update remaining settings icon with old style.
Bug:11412369
Change-Id: I7827e3060d9dbf320c23ac7c43e4ef4a5fae3773
2013-11-05 21:41:23 -05:00
Chris Craik
6fbd4829a9 Merge "Work around nested SaveLayerAlpha bug" into klp-dev 2013-11-06 02:20:20 +00:00
Chris Craik
362adb84d9 Work around nested SaveLayerAlpha bug
bug:11481077

Because TextView marquee and KeyguardSecurityViewFlipper use SaveLayer
(for the marquee fading effect and view alpha, respectively), both can
be nested, which hits a bug in the renderer resulting in artifacts.

Workaround this by setting a hardware layer on the marquee, so that
those marquee effects are drawn outside of the ViewFlipper.

Change-Id: If8b7ebb20d3959cb930a8bea2146ba3f8e659612
2013-11-05 17:41:21 -08:00
John Spurlock
47c46dd56d Merge "Battery icon tweaks." into klp-dev 2013-11-05 20:48:42 +00:00
Jeff Sharkey
74b0f5acdf Merge "Let Shell modify secondary external storage." into klp-dev 2013-11-05 20:44:09 +00:00
Jeff Sharkey
39da553694 Let Shell modify secondary external storage.
Bug: 11520256
Change-Id: I010a9cf07ff185aefcc2fdb71076d2e97e1f03a3
2013-11-05 12:18:24 -08:00
John Spurlock
d8595fd8fe Battery icon tweaks.
Fix bottom padding, better bolt placement on non-HH devices.

Bug:11412369
Change-Id: I102a5ece73b2fcb5f78305c925fc2ed5fe9b2884
2013-11-05 11:55:04 -05:00