1309 Commits

Author SHA1 Message Date
Jason Monk
5aa661d7c0 resolve merge conflicts of fbf366d to nyc-mr1-dev
Change-Id: If2c3d07d680c36b206fe49a8e8e7dc20619a5c42
2016-06-08 16:24:16 -04:00
Sudheer Shanka
31a37ed77f Merge "Disable some QS functionality in retail demo mode." into nyc-mr1-dev 2016-06-08 17:15:04 +00:00
Jason Monk
487e1f8500 QS: Show date even on small screens
People don't like to lose their date, so instead take away their
detailed alarm information.

Change-Id: Ia6a1c7b1ecdb73eeeadd45fc3708531eac588eee
Fixes: 28773347
2016-06-07 15:59:51 -04:00
Will Harmon
beb1f177ef Bug: 28875393
Bug: 28879732

Fixes a bug where setting an app as a default quicksettings tile will
show it twice.

Change-Id: Ie71746d85c6782810966c62be416a62545329859
2016-06-06 14:52:40 -07:00
Sudheer Shanka
ad79049c54 Disable some QS functionality in retail demo mode.
- Remove user switcher
- Remove edit functionality
- Remove some tiles

Change-Id: I5fb2a766dd044a5b5e40a5e3a39c4723bdc0df8b
Fixes: 29103713
2016-06-03 10:58:41 -07:00
Selim Cinek
4f2264ed9d Merge "Fixes a few bugs on the keyguard with font density changes" into nyc-dev
am: 42621023cf

* commit '42621023cfac084b8c74fd4d362bc2c64d61674e':
  Fixes a few bugs on the keyguard with font density changes

Change-Id: Ia5ab8a7269eb3bfcb88bdfc98926bdbd0bff0af8
2016-06-01 19:15:29 +00:00
Selim Cinek
42621023cf Merge "Fixes a few bugs on the keyguard with font density changes" into nyc-dev 2016-06-01 19:03:43 +00:00
Selim Cinek
6ebba59aad Fixes a few bugs on the keyguard with font density changes
The reinflation of the system icons was not working correctly
and all the paddings were of.
Also the affordance icons were outdated and had to be reloaded.

Change-Id: I3cf338d33a82c8be94d01561d7b7d9a37a563ad9
Fixes: 28968657
Fixes: 28672410
2016-06-01 09:41:44 -07:00
Selim Cinek
80b8e67a99 Merge "Fixed a few accessibility issues with notifications and groups" into nyc-dev
am: ddc6de1eda

* commit 'ddc6de1eda495790e6564438994df5d49ddf248f':
  Fixed a few accessibility issues with notifications and groups

Change-Id: Ieec9526a2c54edd2f0d3b34973cc61f610f452ae
2016-05-31 19:36:21 +00:00
Jason Monk
4bb7b1a3e3 QS: Update layout to show gear all the time
Because evidently, when you've gotta change something, you've really
gotta change something.

Bug: 28673919
Change-Id: I085a0424c134a7f80316397b04a6b120440d32c8
2016-05-31 10:37:06 -04:00
Selim Cinek
ddf1b399d8 Fixed a few accessibility issues with notifications and groups
Change-Id: I78fa62884eaa0efe825b5eb1e6cac7d88fc05a7f
Fixes: 28069681
2016-05-27 17:04:56 -07:00
Sid Soundararajan
a3cb77a9b4 Merge "Add support for dismissing in Talkback Mode" into nyc-dev 2016-05-24 22:46:27 +00:00
Mady Mellor
b0a824687f Children should have backgrounds
To add a background to children of a group, a couple of things
are changed when a group is in the expanded state:
- The parent's shadow + background is removed
- The group header is given a background and elevation
- The children are elevated to cast a shadow and have backgrounds
- When it's fully expanded the dividers won't be shown
- There's extra height added to the parent so that the child
  may cast the bottom shadow of the group
- As the children move into the bottom stack the last visible
  one alters its height and the ones below it are hidden
  to achieve the clipping effect

Fixes: 27591195
Fixes: 28655641
Change-Id: I0484308843e9b8bc10391387e54de07973a48f7d
2016-05-24 11:39:12 -07:00
Sid Soundararajan
1103bfca8d Add support for dismissing in Talkback Mode
This should let the user be able to access dismiss in talkback
mode. However, because talkback relies on focus changes to work,
the focus change animator is disabled. This means some visuals
will not work the same as when talkback is turned off.

BUG: 28594452
Change-Id: Idb443fe559bd7a636ff381e6727f81d41d0bd325
2016-05-24 11:33:01 -07:00
Julia Reynolds
da01ac82e2 Swap radio button alphas.
Change-Id: I9fb4ff64a3e92659c614cfff3f23e2ba8fa3b2cd
Fixes: 27597108
2016-05-11 08:54:19 -04:00
Jaewan Kim
dded3aa8bd PIP: Show background scrim for PIP controls in Recents
Scrim will fade in after the PIP control's focus losing animation,
and will be gone immediately when PIP control gets focus.

Bug: 28041690
Change-Id: Ibb7fa0ce15ba1af13781a1bd5e87609fefa95cc0
2016-05-03 06:55:27 +09:00
Adrian Roos
25ea5b8586 Fix contrast enforcement for RemoteInputView
Previously, the disabled color was used for the contrast
calculations, which resulted in too dark RemoteInputView
backgrounds.

Change-Id: I99e8b2fa64a22a59fdc5d1be8a6aff5af3523a27
Fixes: 28429720
2016-04-28 00:08:21 +00:00
Daniel Sandler
4c40888673 Merge "Tap, don't touch." into nyc-dev 2016-04-25 19:21:46 +00:00
Mady Mellor
5a3e441158 Merge "Fix the gear so that it is always centered based on the min noti height" into nyc-dev 2016-04-25 19:05:48 +00:00
Dan Sandler
f4b596860d Tap, don't touch.
Part of global change from touch —> tap for certain screen
gestures.

Change-Id: Ifffee1336793e8304dc03da5c3d36a1fe8ba133f
Fixes: 26750003
2016-04-23 11:14:17 -04:00
TreeHugger Robot
eefff3742d Merge "Fix content description for notification icons" into nyc-dev 2016-04-23 01:45:02 +00:00
Adrian Roos
eba0582af1 Fix content description for notification icons
Change-Id: Icb4c6d8a77211d0c8922e28958609a332b19dfcc
Fixes: 27552350
2016-04-22 17:09:30 -07:00
Jaewan Kim
b27a5fd45b Merge "PIP: Changed the wording and background of the PIP onboarding screen" into nyc-dev 2016-04-23 00:04:55 +00:00
Jaewan Kim
1e2c754c28 PIP: Changed the wording and background of the PIP onboarding screen
Bug: 28300868
Change-Id: I73e465ddac5520e0b70098bf6a39fb85d59ad0f9
2016-04-23 08:51:55 +09:00
Winson
3f32e7eba7 Tweaks to make overview animations to match spec.
- Fixing incompatible app message text color
- Fixing drag target hover color
- Fixing final frame jank when animating home from overview
- Adding animation prop setter for initial play time

Bug: 27154882
Change-Id: Ia8a90434da2174d3c78a353b881509a8b1d525ba
2016-04-22 14:24:16 -07:00
Jason Monk
3e4a99c382 Add strings for quick settings accessibility
Bug: 15696340
Change-Id: Ie775c90c9fed8078f4db4bde5752a2f2d7f94f25
2016-04-22 14:11:04 -04:00
Julia Reynolds
2feab1644b Announce when volume controls appear and disappear.
Bug: 28120156
Change-Id: I4e17b9cf1cd4a442adb7513168c12e3af24c424f
2016-04-21 15:00:45 -04:00
Clara Bayarri
9b1fdff2e7 Reinflate QS view on Locale configuration change
The existing DensityContainer already did this for density changes,
repurposed it to handle other Configuration changes. Also renamed
to AutoReinflateContainer.

Bug: 27952059
Change-Id: Ieb572abcbafe49aec73b16e1bcb8c294011afdd3
2016-04-21 14:32:07 +01:00
TreeHugger Robot
206748d10e Merge "A11y: Fix battery icon and clock descriptions" into nyc-dev 2016-04-21 00:25:16 +00:00
Adrian Roos
70dcf8392c A11y: Fix battery icon and clock descriptions
Now announces charging state on the battery icon
and AM/PM on the clock.

Change-Id: Ib8d249e60b555834e5e224287ea332178ce7c165
Fixes: 27552350
2016-04-20 15:51:59 -07:00
Julia Reynolds
1ff2412cc4 Merge "Align radio buttons with app icon, change text color." into nyc-dev 2016-04-20 19:10:12 +00:00
Julia Reynolds
682d73fb3a Align radio buttons with app icon, change text color.
Bug: 27597108
Change-Id: Id821b46b6f2898295ae711ec33f56fed1b529584
2016-04-20 15:04:49 -04:00
Jason Monk
eeaaf26805 Merge "Daydream -> screen saver" into nyc-dev 2016-04-20 17:48:48 +00:00
Jason Monk
427aa24be2 Daydream -> screen saver
Change-Id: I604530a721797e6d4b28df3782303a79fabcdac7
Fixes: 28268243
2016-04-20 13:44:05 -04:00
Jason Monk
85b866d5e4 Update QS header to handle 320dp without overlapping
Change-Id: I7f52ed8aac14bea6c2cdc9a6ef8087ff6ef1b802
Fixes: 28181221
2016-04-20 10:08:55 -04:00
Winson
ce9630da86 Tweaking accessibility actions for dock divider.
- Adding tl_full/70%/50%/30%/rb_full

Bug: 27724715
Change-Id: Ie3125ec81e6463696cf56640c6b86f9cfcbda945
2016-04-19 14:46:24 -07:00
Winson
99ef458ff1 Adding hint text for drop targets.
Bug: 28192178
Change-Id: Id7be5129488622b56082d2dfa328b751311cabd7
2016-04-18 18:20:43 -07:00
Sid Soundararajan
be8f788f86 Merge "Add Rounded corners to cards." into nyc-dev 2016-04-18 17:30:25 +00:00
Jorim Jaggi
322870ff5c Merge "Slow down entrance animation on tablets a bit" into nyc-dev 2016-04-15 21:54:03 +00:00
Jorim Jaggi
e370e15056 Slow down entrance animation on tablets a bit
Also fix an issue where resize was not called.

And make the translation a bit larger, because the
animation is longer.

Bug: 27870534
Change-Id: Ia6128db8108fe57bee96816fc95fd0811d941ffb
2016-04-15 14:34:55 -07:00
Sid Soundararajan
e44ff8fd9f Merge "Add a dimmed dismiss icon below task card view" into nyc-dev 2016-04-15 20:19:51 +00:00
Sid Soundararajan
3e3a35eb36 Add Rounded corners to cards.
BUG: 27953508
Change-Id: Id911ad10d318d1fb3ea174869f96fec4b38b4c69
2016-04-15 11:36:53 -07:00
Julia Reynolds
4d920ff6eb Notification slider update.
Bug: 27558254
Change-Id: I5e03aacf3aafb900f45d227a031a5dbb328ba18f
2016-04-15 11:03:53 -04:00
Sid Soundararajan
be403e345e Add a dimmed dismiss icon below task card view
This should give a clear indication of moving down to dismiss.

BUG: 27968917

Change-Id: I49bbc2b071eb176b1af59ce9fd9e75a4b9bf2f56
2016-04-14 19:03:15 -07:00
Chong Zhang
6eee0e131a Disable starting window for Recents
When using a starting window, transition could start early before
real app window is drawn. We don't want this with Recents, so disable
it explicitly.

bug: 27812497
Change-Id: I648b2de3f91923978ef8b3d4f2629f0f73321b98
2016-04-14 23:22:48 +00:00
Mady Mellor
cdd5718eac Fix the gear so that it is always centered based on the min noti height
This alters how the gear is positioned so that it is centered based
on what the minimum height of the notification or the height of a
collapsed group.

Bug: 27316874
Change-Id: I726f51ab8b18b485d1b2ea22ca7bb4dd71ee3d85
2016-04-14 15:46:22 -07:00
Jaewan Kim
36530859d0 Merge "PIP: Fix regressions" into nyc-dev 2016-04-14 19:04:10 +00:00
Jaewan Kim
cac7b221ae Merge "PIP: Implement new onboarding spec" into nyc-dev 2016-04-14 17:21:39 +00:00
Jaewan Kim
419c89533a PIP: Fix regressions
This includes following fixes
- Press back key to go to Home from Recents
- Do not show Recents when an activity is PIPed immediately after moved
  to fullscreen.

These regressions are caused by
c81082b Improve Animation Calculations to remove Jank

Bug: 28107787
Change-Id: I3078a5d8a9505c8d03cceee329e5d740efae7feb
2016-04-15 01:50:04 +09:00
Jaewan Kim
9d712faa45 PIP: Implement new onboarding spec
Bug: 27954437
Change-Id: Ib939a4ca5f304821036a43971ae7f45b7802ed8a
2016-04-15 01:17:42 +09:00