10505 Commits

Author SHA1 Message Date
Griff Hazen
6c0b5b3436 Revert "Enable VoiceInteractionService on watch." DO NOT MERGE ANYWHERE
This CL didn't ship with diamond-release, but will make diamond-mr1.

This reverts commit c663d99f007c0faa7b66a569ec4083b82d60ef15.

Change-Id: I1430ed7a3221a4f06ad730778c757a68e16b808b
2015-05-21 14:25:05 -07:00
Bryce Lee
023de22cf2 Add configuration to allow animations during low power mode.
On Android Wear, the stream ui needs to continue to be animated during
low power mode.

Bug: 20696607
Change-Id: I24a87eba8d86169d04a72012e0311357622db00a
2015-04-29 18:34:44 -07:00
Cedric Ho
c663d99f00 Enable VoiceInteractionService on watch.
Change-Id: I1d23ba55a98f6d68942cc344b4a564ab62285656
2015-04-24 14:38:25 -07:00
Sean Wan
79858a3260 DO NOT MERGE: Make wifi scan interval when disconnected configurable.
Bug: 19335429
Change-Id: I167af190f0e448915f50d8edf853cf8a33646d44
2015-04-17 16:08:59 -07:00
Geoff Mendal
08c21adc91 Import translations. DO NOT MERGE
Change-Id: I239fc7724d745a1abbac73e673ecfe408ce17c9b
Auto-generated-cl: translation import
2015-04-10 23:07:04 -07:00
Geoff Mendal
bad1356b2d Import translations. DO NOT MERGE
Change-Id: Ie0d2764cd9e3289d56cc994a2a45f6f67b5ed1e6
Auto-generated-cl: translation import
2015-04-03 22:32:08 -07:00
Geoff Mendal
568039dda6 Import translations. DO NOT MERGE
Change-Id: I488ba02367861ca1c84acd44e1a7aaee31e71108
Auto-generated-cl: translation import
2015-04-01 02:46:18 -07:00
Geoff Mendal
6e6250b961 Import translations. DO NOT MERGE
Change-Id: I386da39a3fc78ac9e7878f8962bb4a513d907893
Auto-generated-cl: translation import
2015-03-30 07:38:42 -07:00
Bryce Lee
c831b97823 Merge "Add isScreenBrightnessBoosted and a broadcast when underlying value changes." into lmp-mr1-modular-dev 2015-03-25 16:06:17 +00:00
Geoff Mendal
f205d3070f Import translations. DO NOT MERGE
Change-Id: I2577a86f9122987bb941278a290022da1ea61f9d
Auto-generated-cl: translation import
2015-03-25 07:33:12 -07:00
Anthony Hugh
457b8838cb Update progress_dialog on watch to use small spinner
The new material design theme causes the spinner to give us even
less room on the progress dialog screen.  This is causing cut off
text.

This change adds an alternate layout for the progress_dialog on
watches so that we can use a small spinner to make our text fit
better.

BUG: 18388692
BUG: 16493311
Change-Id: I2537aa2c1ee6329838c9c0c16f511c944fa86050
2015-03-23 13:17:35 -07:00
Geoff Mendal
eded942430 Import translations. DO NOT MERGE
Change-Id: I911df3cb6476017bb6723403dbabb2dfbfc4bce2
Auto-generated-cl: translation import
2015-03-23 05:38:24 -07:00
Geoff Mendal
1f9bad3cb9 Import translations. DO NOT MERGE
Change-Id: I59ad105e99dbd4c8bd19c4e94eecd6e19425345a
Auto-generated-cl: translation import
2015-03-20 23:15:45 -07:00
Vinod Krishnan
3f782ad156 Merge "Make Theme.Micro point to Theme.Material" into lmp-mr1-modular-dev 2015-03-19 09:36:37 +00:00
Bryce Lee
8bc23e82af Merge "Add Assist global action for wear to different from VOICE_ASSIST" into lmp-mr1-modular-dev 2015-03-19 00:14:07 +00:00
Geoff Mendal
0a3963c7b1 Import translations. DO NOT MERGE
Change-Id: I20b86613eb30cf53d0a421068cb3a93e63750c9f
Auto-generated-cl: translation import
2015-03-18 08:00:13 -07:00
Filip Gruszczynski
86318d768a Merge "Option for going home when going to sleep for devices without physical button." into lmp-mr1-modular-dev 2015-03-17 18:29:30 +00:00
Bryce Lee
84d6c0fbf6 Add isScreenBrightnessBoosted and a broadcast when underlying
value changes.

Bug: 18334219
Change-Id: I20051e97633017711574a063b8061f95c3b616c5
2015-03-17 10:43:08 -07:00
Filip Gruszczynski
9779e128d6 Option for going home when going to sleep for devices without physical button.
Bug: 19623388
Change-Id: Iec16f83c64646ded12ec97d4b540510b7f9dfd47
2015-03-16 08:57:17 -07:00
Geoff Mendal
c6c9079a61 Import translations. DO NOT MERGE
Change-Id: I50b5dec066f0ded04d173b768fe2285f9eebf81d
Auto-generated-cl: translation import
2015-03-16 07:35:06 -05:00
Bryce Lee
8326554788 Add Assist global action for wear to different from VOICE_ASSIST
Bug: 19722315
Change-Id: I0b1e5625a2eaabfe0015a4d730b25e84d60a3714
2015-03-14 07:57:48 -07:00
Vinod Krishnan
569635c57d Make Theme.Micro point to Theme.Material
Bug: 18768870

Change-Id: I8dc8d1b539425da9ae7aaa71fa4de685dd1e75f0
2015-03-12 11:24:46 -07:00
Prashant Malani
a98c21a662 Make circular mask thickness configurable
Obtain the circular mask thickness as a dimension so that it can
be customized per-device.

Change-Id: Ied88f91424c5cf4f25dd1e78cf22f0fd7ea7b0a4
Signed-off-by: Prashant Malani <pmalani@google.com>
2015-03-11 00:34:15 +00:00
Justin Koh
ba6cff0de7 Add translatable=false to dozeComponent
Add translatable=false to dozeComponent: this prevents it from breaking with
en_XA pseudolocalization.

Change-Id: I53a77d8590c65189633b89fed67d247115e75df9
2015-03-10 13:12:51 -07:00
Bryce Lee
8aeab6c8b9 Allow the keyguard service to be configurable.
Change-Id: I811171c228764c3e0e507ad3ce28835ccad9bb31
2015-03-06 15:21:46 -08:00
Bryce Lee
1e53b98c38 Merge "Allow press and hold from non-interactive." into lmp-mr1-modular-dev 2015-03-06 20:41:13 +00:00
Anthony Hugh
6550bf5e39 Update "Optimizing app X from Y string"
The word "Optimizing" is rendering on two lines on Lenok due to being too
long.  New design is to shorten the string on watches to avoid this issue.

BUG: 18388692
BUG: 18902013
BUG: 16493311
Change-Id: I8d9a9e8fcade460e50f9bf71d5cb0c6e415f871e
2015-03-04 16:12:08 -08:00
Geoff Mendal
2df38fd3f5 Import translations. DO NOT MERGE
Change-Id: Ibbd6d3677d2e146de85bfc7130371546b31cb404
Auto-generated-cl: translation import
2015-03-04 07:36:32 -06:00
Geoff Mendal
be9706dfb5 Import translations. DO NOT MERGE
Change-Id: Ifd7882b235b226a5840595667429569125f1849f
Auto-generated-cl: translation import
2015-03-02 07:48:34 -06:00
Bryce Lee
82ae149f5b Allow press and hold from non-interactive.
Bug: 19520133
Change-Id: I3ad50f72499667e9b711057f381144a6c3ae6138
2015-02-27 17:59:16 -08:00
Filip Gruszczynski
d2e8640c2c Burn in protection.
Bug: 19373758
Change-Id: I7242f73acadd21bdee03262b4205c8af0734fccb
2015-02-25 12:22:49 -08:00
Filip Gruszczynski
01dd0e8654 Merge "Force translucency from windowIsTranslucent on SwipeDismissLayout." into lmp-mr1-modular-dev 2015-02-25 18:40:20 +00:00
Geoff Mendal
91d95328da Import translations. DO NOT MERGE
Change-Id: I077436f56f383af0746ee1c7037ba8bef0d1d6d6
Auto-generated-cl: translation import
2015-02-25 07:41:18 -06:00
Filip Gruszczynski
23958c6e2f Force translucency from windowIsTranslucent on SwipeDismissLayout.
Bug: 18799741

Change-Id: Ifb05869f1bf080d7555d7728dc085c41cc2c277c
2015-02-24 16:59:45 -08:00
Joe LaPenna
c0c395162f Merge "Hold a wake lock while dozing when display updates are pending." into lmp-mr1-modular-dev 2015-02-24 00:37:15 +00:00
Geoff Mendal
5f159d65c0 Import translations. DO NOT MERGE
Change-Id: Ib78275fac19887a479cacb3797c3ddb9e2d1cb0e
Auto-generated-cl: translation import
2015-02-23 07:50:45 -06:00
Jeff Brown
c2932a1be3 Hold a wake lock while dozing when display updates are pending.
When the display state is DOZE or DOZE_SUSPEND, assume this means
that the AP may go to sleep at any time so hold a wake lock for
a little while starting when traversals are scheduled to ensure
that the AP remains awake long enough to draw and post the frame
to the display hardware.

This patch is somewhat approximate but should be good enough for
most devices today.

Note that the implementation uses the window manager to ensure that
the window which wants to draw is actually visible before acquiring
the wake lock.  There is a cost to this test (a round-trip) which
should not be significant today since we do not expect apps to draw
more than one frame or two while dozing.  However, if we wanted to
support animations in general, we might want to optimize it or
eliminate the check altogether (since we can already account for
the app's use of the wake lock).

Another way to implement this functionality might be for the view
hierarchy to listen for the power manager to report that it has entered
a non-interactive power state before deciding to poke draw locks.
This would be somewhat more accurate than watching the display state.
Also, the draw lock timeout logic could be implemented more directly
instead of using an ordinary timed wake lock.

Bug: 18284212
Change-Id: I84b341c678303e8b7481bd1620e634fe82cc4350
2015-02-20 10:54:09 -08:00
Casey Burkhardt
0944984c36 Refinements to magnification for improved wearable support.
This change refactors ScreenMagnifier to use resources for its triple-tap
adjustment and scale threshold values.  New values more appropriate for
wearable form factors are supplied.  This also fixes a bug in the triple-
tap detection logic where the incorrect ViewConfiguration value for the
tap threshold was used, prematurely disqualifying some touch events as
potential taps.

Change-Id: If47e556aadb5beb1bad24644122560c6fbe33bad
2015-02-18 12:24:45 -08:00
Geoff Mendal
7308751517 Import translations. DO NOT MERGE
Change-Id: Ic7373e3d8859d80c1472906c39ec46626b569c1b
Auto-generated-cl: translation import
2015-02-18 05:47:24 -08:00
Filip Gruszczynski
d81ecd12ce Support for faster brightness response to light changes.
Bug: 18572096

Change-Id: Ic9448db672b036779d16883f3476249cea45d97a
2015-02-13 09:40:15 -08:00
Casey Burkhardt
6f2dd8a9b1 Merge "Support circular magnification frame on circular devices" into lmp-mr1-modular-dev 2015-02-12 23:23:45 +00:00
Geoff Mendal
926839346d Import translations. DO NOT MERGE
Change-Id: I687ccfbddefdf63cdf6b5ef561dbf8261d66ce73
Auto-generated-cl: translation import
2015-02-12 14:32:53 -08:00
Casey Burkhardt
d29a1e47d4 Support circular magnification frame on circular devices
The magnification viewport expects its boundary to be a rectangular region,
and always draws it as such.  This change causes the indicator to draw as a
circle on devices with circular displays.  This also refactors the width of
the indicator's frame to use a proper dimension resource and updates the
width to 4dip.

Bug:18242438
Change-Id: I1d86647b6d1ef84f5dd506f4141223ec050a79b5
2015-02-12 14:13:10 -08:00
Bryce Lee
a7404dbde9 Merge "Add voice assist action for global actions." into lmp-mr1-modular-dev 2015-02-06 23:05:05 +00:00
Bryce Lee
cc8b467c59 Add voice assist action for global actions.
Bug: 18919886
Change-Id: Idd74cf6980207deabfb312732a0316a2edf3c176
2015-02-05 18:39:01 -08:00
Alan Viverette
eb6f3f8851 am 69a62a8b: Merge "Update preference dialog padding to Material" into lmp-mr1-dev
* commit '69a62a8b0df71b0a26d55c29c71dd311dbe174c7':
  Update preference dialog padding to Material
2015-02-05 22:11:32 +00:00
Alan Viverette
69a62a8b0d Merge "Update preference dialog padding to Material" into lmp-mr1-dev 2015-02-05 22:06:36 +00:00
Alan Viverette
2fb5a6ab9f Update preference dialog padding to Material
Mostly copy/paste of the Holo with some padding fiddling to make the
EditText, which has baked-in padding, and TextView line up.

Bug: 19280124
Change-Id: I4a8ad7dcc1f1bd519f4d1c506984871a25a1db31
2015-02-05 12:35:07 -08:00
Alan Viverette
6708ac40f2 Move layer-list to be top-level element in seek bar progress
automerge: bac8e12

* commit 'bac8e12ebd8ed143cd2f1974280f0495c837def4':
  Move layer-list to be top-level element in seek bar progress
2015-02-05 03:35:27 +00:00
Alan Viverette
bac8e12ebd Move layer-list to be top-level element in seek bar progress
There is a bug in <scale>, but this works around it for now. Removes
the previous fix, which broke the initial state due to the level not
propagating when the current drawable was swapped out.

Bug: 19269656
Change-Id: Ibe586ef4ea326a7ce7516ca42a369c5386c24359
2015-02-04 17:15:01 -08:00