2772 Commits

Author SHA1 Message Date
Geoff Mendal
a65ea3dfdc Import translations. DO NOT MERGE
Change-Id: Icfd467c7b204b82119ee78b0bfa34d385786d251
Auto-generated-cl: translation import
2014-12-10 06:52:52 -08:00
Jorim Jaggi
9ba89ad8eb Merge "Make hint text centerred if multiline" into lmp-mr1-dev 2014-12-09 15:11:48 +00:00
Jorim Jaggi
cf579e9be1 Make hint text centerred if multiline
Bug: 18642776
Change-Id: I407670a7eb13c2d8ff9a7f3119b736b172aed377
2014-12-08 19:56:20 +01:00
John Spurlock
530052a2fe Zen: New behavior for built-in downtime + nextalarm conditions.
- Downtime: Allow user to enter downtime early, offer as an end
   condition four hours before downtime starts.  Available in
   either none or priority, regardless of settings configuration.
 - Downtime: Always exit before next alarm if zen=none.
 - Downtime: Make more like any other condition provider, remove
   special status (mostly).
 - Downtime: New auto-triggering rules, allow triggering after a
   manual condition ends, once.
 - Decouple NextAlarm + Downtime providers, allow them to offer
   their conditions at the same time.
 - Downtime/NextAlarm: Update conditions if they change while being
   requested, even if unsubscribed.
 - Make all three built-in condition providers optional, via config.
 - New internal helper for runtime config.
 - Don't follow changes to next alarm, consider the condition false.
 - Isolate downtime calendar logic into separate class (for testing).
 - Allow a:bb -> a:bb as a valid downtime range (all day).
 - Volume dialog: configuration establishes maximum number of visible
   conditions, including built-ins.
 - Zen mode panel: avoid widget updates during layout transition.
 - Zen mode panel: move controller callers to background thread.
 - Zen mode panel: hide/show/rebind rows instead of adding/removing.
 - ZenLog: Add downtime autotrigger results.
 - Volume panel: Smarter refresh on ringer/zen changes.

Bug: 16373455

Change-Id: I4f801018ddb0beb6eb9fa03a81c79f7949888a3f
2014-12-08 11:00:57 -05:00
Geoff Mendal
b9f245d464 Merge "Import translations. DO NOT MERGE" into lmp-mr1-dev 2014-12-08 15:02:17 +00:00
Geoff Mendal
6c5836eca4 Import translations. DO NOT MERGE
Change-Id: Ib0681b2f224456a803391c95f1283f41a06e58a7
Auto-generated-cl: translation import
2014-12-08 06:53:32 -08:00
Jason Monk
b27ec6d37d QS Wifi panel show icon on secure networks
Bug: 18365695
Change-Id: Ib63822643a5b033d8b73591e9b379b3539b8865e
2014-12-08 09:31:00 -05:00
Dan Sandler
4ca9d738fa Merge "RTL support for Lollipop Land." into lmp-mr1-dev 2014-12-05 19:36:39 +00:00
Dan Sandler
f5ba6bdafa RTL support for Lollipop Land.
Since the game randomly flips horizontally anyway, forcing
the game view to LTR fixes the coordinate math without
affecting gameplay. (The score view did need to move to
start instead of left, however.)

Bug: 18628150
Change-Id: I7cf8bd1e2b9a2316d30e17a9251173598c687c2b
2014-12-04 16:07:30 -05:00
Jorim Jaggi
47faf69cfd Merge "Fix rounded corners in bottom QS panel." into lmp-mr1-dev 2014-12-04 15:17:03 +00:00
Geoff Mendal
cc7c68b548 Merge "Import translations. DO NOT MERGE" into lmp-mr1-dev 2014-12-04 05:32:21 +00:00
John Spurlock
621afac810 Doze: Don't block pickup pulses on a proximity check.
Pulse immediately, assuming the pickup sensor will not fire
if prox=near.  Perform a non-blocking additional proximity check
in these cases purely to collect verification diagnostics.

Also tweak the interpolator for pickup pulses to ramp up more
quickly.

Bug: 18373928
Change-Id: I8607f4b37435722e293db741c273914183cec7be
2014-12-03 16:04:28 -05:00
Geoff Mendal
c629d3e10e Import translations. DO NOT MERGE
Change-Id: I642b3b429f66a22dcbbdfc016211b08c77b230f1
Auto-generated-cl: translation import
2014-12-03 11:39:03 -08:00
John Spurlock
f5d250deec Doze: Fast path for pickup pulses.
Decrease the pulse duration when pulsing for pickup.
Add an option to skip the proximity check entirely, but don't
turn it on yet.

Bug: 18373928
Change-Id: I54f8dee004229193a18d488759bf797a16470cab
2014-12-03 13:48:28 -05:00
Daniel Sandler
195c438883 Fixing bugs in the LLand.
less garish hue on the bugdroid
       :
  +----:-----------+
  | |  : |    Θ.......... improved pop styles
  | |  : @    |    |
  | O  A      |....... occasionally there was no gap to fly
  |      0    O    |   through, creating an unintentional
  | @    |    |    |   commentary on the futility of it all
  +----------------+
     :      :
     :      : animation could continue
     :        after activity pause, sapping
     :        precious cycles
     :
   failure is now more visceral

Bug: 17931806
Change-Id: Iea9bd88e340beb3a0ca310db071ec9f6ec719a33
2014-12-03 11:53:29 +00:00
Baligh Uddin
053b538ab2 Import translations. DO NOT MERGE
Change-Id: Id585c5bed5366430b476445a1806748894dd34ac
Auto-generated-cl: translation import
2014-12-02 16:45:14 -08:00
Jason Monk
b574627ebc SysUI: Actual MSIM status bar support
Expand SignalClusterView and NetworkController to handle multiple
SIMs.  It does this by creating multiple MobileSignalControllers
for each of the active subscriptions on the device.

Also some minor changes for followup on the NetworkController
refactor that went in before this.

Bug: 18222975
Change-Id: Ic7a857cfc5cadb46d51bb9ded0df8187eea799f7
2014-12-02 10:35:09 -05:00
Geoff Mendal
3fbf3b939a Merge "Import translations. DO NOT MERGE" into lmp-mr1-dev 2014-12-01 15:07:56 +00:00
Geoff Mendal
616a8e9438 Import translations. DO NOT MERGE
Change-Id: I1475c76eb44b69ef727a11f409e7d938552ee26d
Auto-generated-cl: translation import
2014-12-01 07:02:48 -08:00
John Spurlock
e3f8b31466 Merge "Zen: Improve zen mode panel condition selection." into lmp-mr1-dev 2014-12-01 14:59:05 +00:00
John Spurlock
26a695d974 Merge "Volume: Update remote volume icons." into lmp-mr1-dev 2014-12-01 14:58:18 +00:00
John Spurlock
3e07701636 Zen: Improve zen mode panel condition selection.
- Decouple condition requests from expansion, now
   pre-request when zen panel unhidden.
 - Animate zen mode panel expansion.
 - Improve default selection logic, ensure something
   is selected as soon as we are in the expanded state.
 - Tweak visual spacing.
 - Map null condition to Indef properly when we start
   out in zen.
 - Avoid unnecessary condition teardown when the conditions
   are updated but unchanged from current.
 - Cap number of optional conditions to display, default=3.

Bug: 18335618

Change-Id: I007b7c3b2e75e2b42805af240684aa8581e9951a
2014-11-30 10:41:33 -05:00
Jorim Jaggi
802abab62d Fix rounded corners in bottom QS panel.
Bug: 18554531
Change-Id: I04a1793072d414b45a24933e22dc1db49a99a99b
2014-11-28 17:35:20 +01:00
Adrian Roos
09eeab7cbf Merge "Fix projection permission dialog layering" into lmp-mr1-dev 2014-11-27 13:01:01 +00:00
Jeff Davidson
6903a1a40f Add string for "Connected via Wi-Fi assistant".
Bug: 18525241
Change-Id: I9900d9216ad1b2d5c4bee584b8f5185b4e552b7d
2014-11-26 15:38:45 -08:00
Adrian Roos
752aee8a6f Fix projection permission dialog layering
Bug: 18392920
Change-Id: I32c2c61339cbea9edd4a7a3f80365213fb4a69ac
2014-11-26 18:09:35 +01:00
John Spurlock
cfe9fb6794 Volume: Update remote volume icons.
Remove last holo references by using the new-style cast connected
icon.  There is only one icon for the remote stream, since
it is never muted by policy.

Bug: 18102850
Change-Id: Iffe3a19deca6599780ebdb26869ae46aa8623f81
2014-11-26 11:37:00 -05:00
Geoff Mendal
b82f42a139 Import translations. DO NOT MERGE
Change-Id: I885436b95251805a80c4a6edf308448d5ed43ca3
Auto-generated-cl: translation import
2014-11-26 06:56:43 -08:00
Geoff Mendal
597226d6f2 Merge "Import translations. DO NOT MERGE" into lmp-mr1-dev 2014-11-24 20:44:58 +00:00
Geoff Mendal
de4b74a6ac Import translations. DO NOT MERGE
Change-Id: I753b271eb5b97b719fe6d4aa50d21431a961d553
Auto-generated-cl: translation import
2014-11-24 11:21:09 -08:00
John Spurlock
4dfce43e97 Merge "QS: Update data usage over limit title." into lmp-mr1-dev 2014-11-24 18:34:58 +00:00
John Spurlock
beaf117889 QS: Update data usage over limit title.
Bug: 18499916
Change-Id: I468eb40cbbbef52853c52e196e458d72f103765a
2014-11-24 12:25:32 -05:00
Chris Wren
1aa63f0baf Merge "Push back notification means snooze the package." into lmp-mr1-dev 2014-11-24 15:58:17 +00:00
Chris Wren
a6d4fb60ed Push back notification means snooze the package.
Bug: 18451923
Change-Id: I90160f9d14cde12a5bc03e46e64eedf770149a90
2014-11-21 15:51:41 -05:00
John Spurlock
686e4d57d8 Doze: Make proximity check configurable.
Default to true, but make it available for overlay or setting
at runtime.

Bug: 18373928
Change-Id: I6abc1924ea0f03620f4683dc055f64ede5782809
2014-11-20 21:59:13 -05:00
Jorim Jaggi
bf1960ce9c Merge "Fade notifications when exiting dozing" into lmp-mr1-dev 2014-11-20 17:25:49 +00:00
Adrian Roos
cbd48c722a Merge "Honey I shrunk the navigation bar" into lmp-mr1-dev 2014-11-20 14:54:32 +00:00
Adrian Roos
306354f040 Honey I shrunk the navigation bar
Bug: 18412658
Bug: 18463755
Change-Id: I3e379bf22f0d83a3c7c477908b0847fc18325f12
2014-11-20 14:31:02 +00:00
Jorim Jaggi
4e857f4ef0 Fade notifications when exiting dozing
Bug: 18146441
Change-Id: Ifa0cbb8157c65768c3a0c584166ca88c3016b730
2014-11-19 16:52:43 +01:00
Winson Chung
6aa73cf266 Merge "Tweaking animation XMLs and removing dead code. (Bug 17672056, Bug 18415217)" into lmp-mr1-dev 2014-11-18 20:10:05 +00:00
Jason Monk
caf4828c77 Merge "SysUI Tests: Make tests not break SysUI" into lmp-mr1-dev 2014-11-18 16:35:47 +00:00
Adrian Roos
6d0e2c9cb9 Merge "Trim navigation bar buttons" into lmp-mr1-dev 2014-11-18 16:23:55 +00:00
Adrian Roos
82c97a2484 Trim navigation bar buttons
Removes unnecessary transparent pixels from navigation
bar assets, saving on-disk, java heap, and texture memory.

Bug: 18412658
Bug: 10918599
Change-Id: I47ee92ed3a3eaf8d02be86f0b67a77f035a8fb43
2014-11-18 16:13:49 +00:00
Winson Chung
c041d883c3 Tweaking animation XMLs and removing dead code. (Bug 17672056, Bug 18415217)
- Use shape drawable for pin background instead of asset.
- Includes fix for scrolling regression when task stack scroller was not reset.

Change-Id: I11eec1f3b0386b4354c8c5e3deca2b17cff83be1
2014-11-17 17:55:28 -08:00
Winson Chung
b079117384 Merge "Add some flags to reduce memory usage on svelte devices." into lmp-mr1-dev 2014-11-17 22:56:32 +00:00
Winson Chung
96d7041866 Add some flags to reduce memory usage on svelte devices.
Bug: 10918599
Change-Id: I235413a243d47fdd9be4a27f6bd726311a51cb6f
2014-11-17 14:52:29 -08:00
Geoff Mendal
6e523a077f Merge "Import translations. DO NOT MERGE" into lmp-mr1-dev 2014-11-17 21:33:38 +00:00
Geoff Mendal
44e4ff746a Import translations. DO NOT MERGE
Change-Id: I67abea60870f468d3ad9a6be7ee600de99b8ff54
Auto-generated-cl: translation import
2014-11-17 13:07:17 -08:00
Craig Stout
9eef7bce56 Use dark theme for usb dialogs on television.
b/16488215

Change-Id: I8ea2a184b2df36e3f55ba5bd0e8fb121ef0ed48e
2014-11-17 12:36:15 -08:00
Jason Monk
29f7a7b0ae SysUI Tests: Make tests not break SysUI
Now you can run the tests without getting the blank broken sysui.
The tests instrument themselves so they include all of the source
they need to run rather than piggybacking on the sysui process.

A couple of changes were needed for this.  The xml files cannot
reference com.android.systemui, instead they must use res-auto.
The tests can no longer make privileged calls, so some restructuring
to avoid those calls was needed.

Bug: 18222975
Change-Id: I67b794af854f1420583d48960bd6e52ca753b56d
2014-11-17 14:46:11 -05:00