2229 Commits

Author SHA1 Message Date
Winson Chung
27700e54d2 am 6b150206: am 9d78363f: am e07c1cc0: Intermediate refactoring to move towards in-app view transitions.
* commit '6b15020610c48600a221b4e209d25814cf1f1558':
  Intermediate refactoring to move towards in-app view transitions.
2014-07-22 22:37:03 +00:00
Winson Chung
3c253b95d0 am e07c1cc0: Intermediate refactoring to move towards in-app view transitions.
* commit 'e07c1cc0a2315b5ee936e3c9ffe459596ad41bc4':
  Intermediate refactoring to move towards in-app view transitions.
2014-07-22 22:28:47 +00:00
Winson Chung
dcfa7976fa Intermediate refactoring to move towards in-app view transitions.
- Fixing bug where we weren't toggling to the right task when using affiliations
- Refactoring task rect calculation to allow full screen task view to be laid out for transitions
- Refactoring the view bounds animations into a separate class
- Refactoring the footer view (for lock-to-task) out of TaskView
- Refactoring some transform code out of TaskView
- Removing fullscreen overlay view
- Fixing case where extra invalidations and layouts were still happening in FixedSizeImageView
- Adding debug overlay to replace specific debug drawing code

Change-Id: Ibf98b6a0782a68cd84582203c807cece1ff3379f
2014-07-22 22:25:33 +00:00
Jason Monk
76299eafb4 am d8288538: Merge "Implement hotspot tile" into lmp-dev
* commit 'd82885384d4de3aed8cebc694c702f1e21d33c0a':
  Implement hotspot tile
2014-07-22 19:40:00 +00:00
Adrian Roos
a08d5acf33 am c1c28902: More user switching goodness
* commit 'c1c28902038844c608d06692df74b2886d41fc6f':
  More user switching goodness
2014-07-21 16:04:49 +00:00
Adrian Roos
5005244f10 More user switching goodness
- Confirmation when exiting guest
- Dialog when resuming existing guest session (will be HUNed in follow-up CL)
- Properly center user name in QS user switcher

Bug: 15759638
Bug: 16378966
Change-Id: I63a1dd524975408618c10d90a18052f15deec756
2014-07-21 15:54:03 +00:00
John Spurlock
75addf180f am 1bc6edc5: Merge "Volume: Remove silent mode icon." into lmp-dev
* commit '1bc6edc57390a7d8dddc4ba65bd3549942317c3c':
  Volume: Remove silent mode icon.
2014-07-20 22:29:17 +00:00
John Spurlock
ba80961a31 am 5f6ea4bf: Merge "Volume: Design followup." into lmp-dev
* commit '5f6ea4bf5f9ad72442ddfa05f0c40c581370692d':
  Volume: Design followup.
2014-07-20 16:10:23 +00:00
John Spurlock
196af1887b am e4b360e7: Volume: new coat of paint.
* commit 'e4b360e78b856694ea0d10f05a5564f275dd3b47':
  Volume: new coat of paint.
2014-07-20 11:55:58 +00:00
John Spurlock
eb2727bb2f Volume: new coat of paint.
- Two sections (lighter header, darker detail) like QS.
- Fewer text variants.
- Remove backgrounds for segmented buttons.
- Remove alarm warning background.
- Fix slider-only style.
- Ensure all touch-targets are 48dp.

Bug:16419191

Change-Id: I220f3a736eba3dd7a1b9ff58a8fe4bf3d21db61a
2014-07-20 02:50:34 -04:00
Jason Monk
51e4dc0a15 Implement hotspot tile
This tile enables/disables hotspot and will show up for 30 days
after hotspot is used.

Bug: 16234190
Change-Id: Iceb4842e021c27c2c4c18651bccdb12957055c3d
2014-07-22 15:35:04 -04:00
John Spurlock
4f558f7301 Volume: Design followup.
Fix button height so header matches QS, use same elevation between
layers.

Bug:16419191
Change-Id: I56d9c69fe72e926261a32579a0b142d2fac18871
2014-07-20 11:50:35 -04:00
Baligh Uddin
ded9fdc608 am 4aa0295b: Merge "Remove deprecated locales - DO NOT MERGE" into lmp-dev
* commit '4aa0295b355ce17e2da195907ea5dc0322837351':
  Remove deprecated locales - DO NOT MERGE
2014-07-20 02:31:48 +00:00
Dan Sandler
58c3276e41 am ef247c27: Merge "Shrink user profile bitmaps to 48dp^2." into lmp-dev
* commit 'ef247c27a250fd0f529ee214b5a95fe184749ab0':
  Shrink user profile bitmaps to 48dp^2.
2014-07-18 13:53:20 +00:00
John Spurlock
ec181ef2e1 am 5690da98: Merge "Volume: Rocker animation + style updates." into lmp-dev
* commit '5690da980040eb4b1a89ea903733f0cc8d247c5e':
  Volume: Rocker animation + style updates.
2014-07-18 03:30:28 +00:00
Michael Wright
56e7a6a8ee am 4d2ee15a: Merge "Add MediaProjection APIs." into lmp-dev
* commit '4d2ee15a7dfe005461b0bdac8f518b283311fcfb':
  Add MediaProjection APIs.
2014-07-17 22:04:05 +00:00
Baligh Uddin
fc68e86e0c Import translations. DO NOT MERGE
Change-Id: I2093c5d8b426d447e97a99b98bd67338eab4fcc0
Auto-generated-cl: translation import
2014-07-22 16:42:41 +00:00
Michael Wright
c39d47a8e7 Add MediaProjection APIs.
The new MediaProjection infrastructure allows the system to hand out
tokens granting the ability to capture the screen's contents, audio,
etc. at a granular level. It's intended to be used both for screen
casting, via the cast APIs, as well as screen sharing via third party
applications.

The screen sharing case is implemented, but all of audio capturing
is still forthcoming.

Change-Id: I4b24669bed7083e11413c10ed8d6b025f5375316
2014-07-17 14:30:19 -07:00
Jason Monk
a5600d2de0 am af58ce3c: am 4a6da95d: am d8288538: Merge "Implement hotspot tile" into lmp-dev
* commit 'af58ce3c4a4ab75ff70a8ac84a2846254c66083f':
  Implement hotspot tile
2014-07-22 19:47:49 +00:00
Baligh Uddin
14321d8405 Import translations. DO NOT MERGE
Change-Id: Ib212ded22a9d6e6b6e84366fdceea8f93e3f1f74
Auto-generated-cl: translation import
2014-07-22 16:42:49 +00:00
John Spurlock
b71e68f9aa Volume: Rocker animation + style updates.
- Add more spacing at the top
- Update window animations to fades
- Improve style for alarm warnings

Bug:16200897
Change-Id: I7a64e235eff1f9a77fc697a98a4440bc69043386
2014-07-17 23:23:11 -04:00
John Spurlock
ad494bc0e4 Volume: Remove silent mode icon.
Instead of changing the slider icon and state in silent mode,
maintain the previous state, but disable.

Add VolumePanel to sysui dumpstate.

Bug:16209908
Change-Id: If9730b51ae9190e1ace5888d92a6ab5ce241f8f2
2014-07-20 17:39:44 -04:00
Baligh Uddin
7226b9b62d Import translations. DO NOT MERGE
Change-Id: Iad977cd9e130e353572188f6cac5c004268fc28d
Auto-generated-cl: translation import
2014-07-20 20:43:58 +00:00
Dan Sandler
4d75c079f3 Shrink user profile bitmaps to 48dp^2.
Can save megabytes of memory.

Bug: 16371371
Change-Id: Ifec5cff3a3376d045ee4e3b605edeb8d9ac93799
2014-07-18 15:26:48 +02:00
Baligh Uddin
802603572c Merge "Remove deprecated locales - DO NOT MERGE" into lmp-dev 2014-07-17 19:13:40 +00:00
Baligh Uddin
50af6d7ae6 Remove deprecated locales - DO NOT MERGE
Change-Id: Iac5489639edae2373ed0ce92f7d0fe22629a249a
2014-07-19 13:05:12 -07:00
Adrian Roos
88f4de130a am 26f08cdc: Merge "QS Guest fixes" into lmp-dev
* commit '26f08cdc82a6534b3acb4eef81c205ab6764bd96':
  QS Guest fixes
2014-07-17 18:09:59 +00:00
Baligh Uddin
10ad34ed51 Import translations. DO NOT MERGE
Change-Id: I2fd968db41fad34de4cbabdac45b4b4d9bad0c05
Auto-generated-cl: translation import
2014-07-19 21:42:13 +00:00
John Spurlock
3fc3ffd736 am 791c827c: Merge "Zen: Return of the alarm warning." into lmp-dev
* commit '791c827c22c8d0179500f0df201a58bce62ad68e':
  Zen: Return of the alarm warning.
2014-07-17 15:51:21 +00:00
Adrian Roos
5cb7dde7ac am 3e7b4279: Merge "Update QS user switcher colors to spec" into lmp-dev
* commit '3e7b4279abee870d5094f505a9bbdcd42c9a7256':
  Update QS user switcher colors to spec
2014-07-17 14:19:21 +00:00
Dan Sandler
9591597f53 am ce4dc71c: Merge "Album artwork returns triumphantly to the lockscreen." into lmp-dev
* commit 'ce4dc71cfc0ecbfe1bd504b5d906fbd81b2164b1':
  Album artwork returns triumphantly to the lockscreen.
2014-07-17 14:17:16 +00:00
John Spurlock
6530a89c8e am efe8514f: Merge "Update data limit notification icon + strings." into lmp-dev
* commit 'efe8514f89c8f8ecd256f8fc1ef577cbcec05421':
  Update data limit notification icon + strings.
2014-07-17 14:17:12 +00:00
John Spurlock
89f060a1e0 Zen: Return of the alarm warning.
- Remove the term timers from subtitle, the term "alarms"
  is now inclusive of timers.
- Resurrect the alarm warning, give it a more prominent
  appearance if we can detect an overlap in a time-based
  exit condition and the next alarm time.

Change-Id: I5d6d67694c7acc9e2a5a7c63e647069744a22cec
2014-07-17 11:41:18 -04:00
Adrian Roos
9d32507a86 Merge "Update QS user switcher colors to spec" into lmp-dev 2014-07-17 00:15:07 +00:00
Adrian Roos
a1b6cfd719 Merge "QS Guest fixes" into lmp-dev 2014-07-17 00:10:10 +00:00
Adrian Roos
e9c7d431da QS Guest fixes
- Fixes NPE when guest has not been created yet
- Reloads pictures only when they changed
- Adds "Exit guest" affordance

Bug: 16363920
Bug: 15759638
Change-Id: I99ff1c4be06fee96c5169fd7c2d31b1b13f7a389
2014-07-17 18:31:22 +02:00
Dan Sandler
d10b2f17a1 Merge "Album artwork returns triumphantly to the lockscreen." into lmp-dev 2014-07-16 23:37:00 +00:00
Dan Sandler
16128f4523 Album artwork returns triumphantly to the lockscreen.
It is pulled from the metadata of the active media
session, which we fetch in one of two ways:

1. From a proper media notification, we can extract the
   session token from EXTRA_MEDIA_SESSION.
2. If none of these is found, we ask MediaSessionManager for
   any outstanding media sessions whose packages match an
   active notification. These include legacy RCC clients,
   whose notifications are oblivious to EXTRA_MEDIA_SESSION.

We then pull the album artwork out of the metadata and fade
it in on the lockscreen.

Bug: 15147533
Bug: 15135254
Change-Id: Ia967bfba310b6c792b14673872cb132ddd7052a5
2014-07-16 23:51:54 -04:00
Adrian Roos
19f653ec19 Update QS user switcher colors to spec
Bug: 15545213
Change-Id: Id0e48e4406c64d2a8a19ed8fdcec398896ca11c0
2014-07-17 01:32:30 +02:00
John Spurlock
aedebda776 Update data limit notification icon + strings.
- Use a more specific disabled cellular data icon.
- Reword framework strings to use "Cellular" instead of "Mobile"
  and avoid "enabled/disabled"
- Update SystemUI's network limit dialog to follow suit.

Bug:16185238
Change-Id: Ie9191990fab17cd7dc04395fad39f84bfff8349d
2014-07-16 23:32:44 -04:00
Baligh Uddin
fa8d78019c Import translations. DO NOT MERGE
Change-Id: I499617c1385457c1f844f73b042ef5c360ad14cc
Auto-generated-cl: translation import
2014-07-16 18:13:44 -07:00
Dan Sandler
5c95b3de42 Merge "Clean up autoredaction text." into lmp-dev 2014-07-16 00:46:50 +00:00
Adrian Roos
00a0b1f397 Implement real QS user switcher
Replaces the stop-gap user switcher with the real deal.
Dimensions may need some further adjustments.

Bug: 15545213
Change-Id: I4399635c03553dac935049d5b8297fe5f5c1dc9a
2014-07-16 16:25:30 +00:00
Dan Sandler
18bb4f9920 Clean up autoredaction text.
Also show the timestamp if the original notification does.

Bug: 16289371
Change-Id: I6898990629c036dc7c1a129609449e556f8afa72
2014-07-16 12:04:05 -04:00
Dan Sandler
6d8edb1170 Merge "Pressed the "dim" button on the clock one too many times." into lmp-dev 2014-07-15 16:05:45 +00:00
Dan Sandler
bd8797616d Pressed the "dim" button on the clock one too many times.
Bug: 16202293
Change-Id: I0d1c746bb775f56db018c231a296daca848e9235
2014-07-15 13:38:41 -04:00
Winson Chung
82c8c5e987 DO NOT MERGE Using a fixed sized ImageView to prevent unnecessary layouts.
- Preparing for task view clipping using the view outline

Change-Id: I4aae4189a759a48057f1e3729cc2a9e6d553c11e
2014-07-15 17:25:21 +00:00
Adrian Roos
1ef80fe590 Make user switcher appear inside the QS panel
Bug: 15545213
Change-Id: I0f15214a7474ae5303c3af0b7ef6f6a11be572b8
2014-07-15 15:43:31 +02:00
Adrian Roos
5f1652c285 Add strings for QS user switcher
Bug: 15545213
Change-Id: Iec98b704cd4b662d3cc5ff0b76671d44f93837d5
2014-07-14 22:39:54 +02:00
John Spurlock
1a462c1d23 QS: Update rotation lock icons.
Only three states: unlocked / portrait / landscape, no animation.

Bug:16161728
Change-Id: Id916b81c09925455f87cfccf1350ac4977bad42e
2014-07-14 11:01:24 -04:00