Commit Graph

164750 Commits

Author SHA1 Message Date
Chet Haase
8394e9fff3 am 21871444: Merge "Zero duration animations snap to end value when started" into lmp-mr1-dev
* commit '2187144408dbdb5322a2212fa2e68a5891ea60ca':
  Zero duration animations snap to end value when started
2014-12-01 15:58:46 +00:00
Chet Haase
2187144408 Merge "Zero duration animations snap to end value when started" into lmp-mr1-dev 2014-12-01 15:52:59 +00:00
Geoff Mendal
9e8637411a am 3fbf3b93: (-s ours) Merge "Import translations. DO NOT MERGE" into lmp-mr1-dev
* commit '3fbf3b939abbc681f6812a429e2b809358deb7c3':
  Import translations. DO NOT MERGE
2014-12-01 15:11:25 +00:00
Geoff Mendal
11fe2dfd32 Merge "Import translations. DO NOT MERGE" into lmp-mr1-ub-dev 2014-12-01 15:10:36 +00:00
Geoff Mendal
7a2b09165b Import translations. DO NOT MERGE
Change-Id: Ic5278b3f5da079c97f9aafd947fef96ae3248778
Auto-generated-cl: translation import
2014-12-01 07:09:47 -08:00
Geoff Mendal
3fbf3b939a Merge "Import translations. DO NOT MERGE" into lmp-mr1-dev 2014-12-01 15:07:56 +00:00
John Spurlock
64e034e351 am e3f8b314: Merge "Zen: Improve zen mode panel condition selection." into lmp-mr1-dev
* commit 'e3f8b31466f45eb4d5c9971049b71215a9f2c8a4':
  Zen: Improve zen mode panel condition selection.
2014-12-01 15:04:02 +00:00
John Spurlock
c1e4d1554f am 1a3af711: Merge "Doze: Break out proxcheck stats by pulse reason." into lmp-mr1-dev
* commit '1a3af711ab6f811a6bc4e9211cb255721fb1847d':
  Doze: Break out proxcheck stats by pulse reason.
2014-12-01 15:03:57 +00:00
John Spurlock
fdc07dce37 am 26a695d9: Merge "Volume: Update remote volume icons." into lmp-mr1-dev
* commit '26a695d974f7ee3b32b8d65a44a42f804af8f01c':
  Volume: Update remote volume icons.
2014-12-01 15:03:52 +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
1a3af711ab Merge "Doze: Break out proxcheck stats by pulse reason." into lmp-mr1-dev 2014-12-01 14:58:38 +00:00
John Spurlock
26a695d974 Merge "Volume: Update remote volume icons." into lmp-mr1-dev 2014-12-01 14:58:18 +00:00
Chet Haase
5a25e5bae2 Zero duration animations snap to end value when started
A recent change to seeking behavior altered the logic of
setCurrentPlayTime() (which is called when animations are first
started) to set the current animated fraction to 0 for 0-duration
animations. This fix ensures that 0-duration animations snap to
their end value (fraction == 1) instead, matching the behavior
prior to the seeking fix.

Issue #18542543 Animations with 0 duration stay in initial state when calling setCurrentPlayTime(0)

Change-Id: I9916d962cf46453a9e3e1207f58baf16f4a5830a
2014-12-01 06:57:15 -08:00
Geoff Mendal
68137588d1 am 9cde3e1d: (-s ours) Import translations. DO NOT MERGE
* commit '9cde3e1d82f65eaf73ccf92f14b101e600ef8e18':
  Import translations. DO NOT MERGE
2014-12-01 14:52:53 +00:00
Geoff Mendal
a990faec87 Import translations. DO NOT MERGE
Change-Id: I372891f089f72f814e92a63ac7f78a25cee9ebbf
Auto-generated-cl: translation import
2014-12-01 06:40:31 -08:00
Geoff Mendal
9cde3e1d82 Import translations. DO NOT MERGE
Change-Id: I2cb5a0bf876f8553710f0ed3882f7ef56da24557
Auto-generated-cl: translation import
2014-12-01 06:36:32 -08:00
Adrian Roos
844c92b444 Refresh user list a little more eagerly
Unfortunately, we don't get a signal when user restrictions such as
for adding new users change. That means the user switcher UI could get
out of sync and showed the add user option when in fact it couldn't add one.

Also cleans up an unused method.

Bug: 18292723
Change-Id: I56f6f848d967d9d1c11bd6262eacbdb11f90cfe2
2014-12-01 13:21:49 +00:00
Wally Yau
5b4e2e0274 am da392904: Set stream volume to max when userMasterVolume is set to true.
* commit 'da39290460b30e5080769f039d6dff352b3c7808':
  Set stream volume to max when userMasterVolume is set to true.
2014-12-01 13:13:54 +00:00
Jinsuk Kim
336cdb488f audioservice: system audio control in master volume mode
Volume control in master mode should be transformed to
CEC commands if system audio is activated to delegate
the control to the connected AV receiver.

Refactored to use the interface to CEC service for
both master and stream type volume control.

Bug: 18560079

Change-Id: I2aefdc94a1bc3091c14fab849f899a0dc37c47bc
2014-12-01 07:17:17 +00:00
Jean-Michel Trivi
1b3541d5ee AudioMix address and type, rule exclusion API, dynamic source
- Simplify API for defining an exclusion-based rule: don't define
  an exclusion rule, add instead a way to exclude a rule.
- API for defining rules for dynamic sources (rule match on capture
  preset).
- Verify mix type when creating AudioRecord or AudioTrack for a mix.
- Use hashcode of mix for generating the device address.
- AudioService dump prints info about registered policies.
- Annotate as SystemApi the audio policy-related APIs.
- Express mixing match and exclude rule constants as flags for
  future-proofness

Bug 16006090
Bug 16009464

Change-Id: I0dabe71204501acaffea7ef0ddbbab9700e1bd87
2014-11-30 14:33:29 -08: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
John Spurlock
eab28e6602 Doze: Break out proxcheck stats by pulse reason.
Enumerate all possible reasons for doze pulses, and subdivide
the proxcheck stats (near/far) by reason.  Include reason in
doze log when starting a pulse.

Bug: 18373928
Change-Id: I4ebc2df082f51d47e3b2f0cb3999faeb582ef8dc
2014-11-29 11:45:31 -05:00
Ihab Awad
5c9c86ec0f Telecom API updates (1/6)
Bug: 18292176

Change-Id: I060366234a5a60510c385dc837f2b7e79596eaf5
2014-11-28 15:54:35 -08:00
Kenny Guy
44fc65f6d0 Allow apps from managed profles to close notification shade.
Listen for ACTION_CLOSE_SYSTEM_DIALOGS for all users so that
apps running in the managed profile can close the notification
shade.

Bug: 18255982
Change-Id: I6b70eb39d182a0766eef24421fae45f033efa9e9
2014-11-28 22:18:14 +00:00
Wally Yau
da39290460 Set stream volume to max when userMasterVolume is set to true.
When useMasterVolume is set, we don't want to apply the volume
attenuation twice, once at the stream mixer and once at the master
volume control. It should only be applied once at the master volume
control.

Change-Id: Id5b1cf97571733515b5680c638f11cde8824cfc0
Fixed: b/18460548
2014-11-28 12:40:30 -08:00
John Spurlock
bcc1087af4 Volume: Improve inline volume controls used in settings.
- Make the system internal ringer mode change signal available to
   other system components via a standard intent, instead of a
   volume-controller-only binder call.
 - Update sysui to use new intent for icon policy.
 - Add proper muting state to the volumizer, to look more like
   the associated volume panel slider.
 - Add basic ringer mode state tracking for the notification-ring
   slider setting.

Bug: 17899613
Change-Id: Ie2df52edb070055ef59c74039162a0e785d2fdbb
2014-11-28 15:29:21 -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
Dongwon Kang
266143e1fb TIF: call tune() in HardwareSession
Background: The underlying passthrough TV input expects tune() command
to show video on the screen and call notifyVideoAvailable().

Bug: 18551619
Change-Id: I257db321c09d621e6bd3c0e69bfe0abfca5742a9
2014-11-28 19:40:36 +09:00
Sungsoo Lim
4e389e557e Missing Javadoc update while API review
Bug: 18550989
Change-Id: I766986fd429d58064fca6262a1c650cbcb19bddf
2014-11-28 16:57:16 +09:00
Elliott Hughes
7ff0b46995 am 07b4a291: am 3e2848d2: am 8fc88562: am 85e21bd5: Mention ProGuard in the JNI documentation.
* commit '07b4a291319ec48a272451789ab0fbbf8d55a050':
  Mention ProGuard in the JNI documentation.
2014-11-27 19:02:59 +00:00
Elliott Hughes
07b4a29131 am 3e2848d2: am 8fc88562: am 85e21bd5: Mention ProGuard in the JNI documentation.
* commit '3e2848d249cafbf1cc79b600eab9bce055adcf8e':
  Mention ProGuard in the JNI documentation.
2014-11-27 18:57:00 +00:00
Elliott Hughes
3e2848d249 am 8fc88562: am 85e21bd5: Mention ProGuard in the JNI documentation.
* commit '8fc8856268218fbd286eeb0b2f34eec23cb74f8c':
  Mention ProGuard in the JNI documentation.
2014-11-27 18:49:58 +00:00
Elliott Hughes
8fc8856268 am 85e21bd5: Mention ProGuard in the JNI documentation.
* commit '85e21bd534d38f8de12e8229865a863f32c30e7a':
  Mention ProGuard in the JNI documentation.
2014-11-27 18:41:15 +00:00
Elliott Hughes
85e21bd534 Mention ProGuard in the JNI documentation.
(cherry picked from commit 8e1bbfe0f1)

Change-Id: I22731dfb94dcc1271b987ed52914e665704dd378
2014-11-27 10:28:11 -08:00
Adrian Roos
17e0a7e7ac am 09eeab7c: Merge "Fix projection permission dialog layering" into lmp-mr1-dev
* commit '09eeab7cbffae64add657f1a1e7ab6c7f20b6d9b':
  Fix projection permission dialog layering
2014-11-27 13:06:00 +00:00
Adrian Roos
09eeab7cbf Merge "Fix projection permission dialog layering" into lmp-mr1-dev 2014-11-27 13:01:01 +00:00
Geoff Mendal
de3f61f466 am 7028dec6: (-s ours) am 022f4277: (-s ours) Import translations. DO NOT MERGE
* commit '7028dec6ca10cdc63966dad01e59cdbabd6a0a1d':
  Import translations. DO NOT MERGE
2014-11-27 10:18:58 +00:00
Scott Main
cd79f9f0f4 am 4a45a441: am 2995bd80: am 5a27b4b8: am fc793074: Merge "docs:advmgr-updates" into lmp-docs
* commit '4a45a44152c965363a4689befdcbd57177e48831':
  docs:advmgr-updates
2014-11-27 10:18:52 +00:00
smain@google.com
b8de593ec2 am 576e248f: am 277fb8fd: am d3c17270: am 3a4b011c: define height for context images to avoid content jumps on load
* commit '576e248f3ca32576ed3c37dadf6a4f90dc6b4f59':
  define height for context images to avoid content jumps on load
2014-11-27 10:18:47 +00:00
Narayan Kamath
ff45e7df8a am 1d184ace: resolved conflicts for merge of 7377998d to lmp-mr1-dev
* commit '1d184acefa7105592134edebf7de4d77843d5791':
  Be increasingly aggressive about fstrim if it isn't being run
2014-11-27 10:09:46 +00:00
Geoff Mendal
7028dec6ca am 022f4277: (-s ours) Import translations. DO NOT MERGE
* commit '022f4277c468176d43d4ed1cc12898e33ed1a502':
  Import translations. DO NOT MERGE
2014-11-27 10:09:40 +00:00
Scott Main
4a45a44152 am 2995bd80: am 5a27b4b8: am fc793074: Merge "docs:advmgr-updates" into lmp-docs
* commit '2995bd8033ecbf4e1a5b3392ec27008d2d184b8a':
  docs:advmgr-updates
2014-11-27 10:08:51 +00:00
smain@google.com
576e248f3c am 277fb8fd: am d3c17270: am 3a4b011c: define height for context images to avoid content jumps on load
* commit '277fb8fdaeb546119bc31269425edc72b75e87dd':
  define height for context images to avoid content jumps on load
2014-11-27 10:08:45 +00:00
Narayan Kamath
1d184acefa resolved conflicts for merge of 7377998d to lmp-mr1-dev
Change-Id: I21870e241de7d992e97d7b91e0058f85b5a25fbe
2014-11-27 09:57:35 +00:00
Amit Mahajan
b957d11a53 am 4ebd1e42: Merge "Change to use DATA_ROAMING setting correctly with subId." into lmp-mr1-dev
* commit '4ebd1e42a78dcb0ee219548b89f3733320bbc029':
  Change to use DATA_ROAMING setting correctly with subId.
2014-11-27 03:11:57 +00:00
Amit Mahajan
4ebd1e42a7 Merge "Change to use DATA_ROAMING setting correctly with subId." into lmp-mr1-dev 2014-11-27 03:05:48 +00:00
Alan Viverette
5ed8f27858 Update drawable container constant state following clone
DrawableContainer's internal state was getting out of sync with the
internal state of child classes because we failed to call set state.

BUG: 18542282
Change-Id: Iacaa12042e99c1b9e9eaf08f0ab879d82260e7ee
2014-11-26 17:16:08 -08:00
Alan Viverette
0079f04363 Slightly more button elevation to match Material spec
BUG: 18524727
Change-Id: Ib58fa4bc304fda1cb1e6d71abd3c423cc7e63ebf
2014-11-26 16:48:59 -08:00
Eino-Ville Talvala
ec26692d1f am 9b35b801: Merge "CameraManager: Separate service listener into a singleton" into lmp-mr1-dev
* commit '9b35b801fb90e31c1dff5535715e505f3a1e26fb':
  CameraManager: Separate service listener into a singleton
2014-11-27 00:27:36 +00:00