1006 Commits

Author SHA1 Message Date
Adrian Roos
3207d8f8a1 Merge "Direct Reply: Add back emoji button" into nyc-dev 2016-06-08 20:25:01 +00:00
Adrian Roos
713fed9226 Direct Reply: Add back emoji button
Bug: 29077108
Change-Id: Ibd1423465c5ec9aced4c4b77575a469f5e85f20d
2016-06-08 13:22:25 -07: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
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
Julia Reynolds
656f98681e Radio buttons belong in a radio group.
Fix for 'multiple buttons selected at once' issue.

Change-Id: Iec54eac699886ed1c7b8afd91382ff9b5750c696
Fixes: 27698976
2016-06-01 12:37:13 -04:00
Jae Seo
f8c504db7f Merge "PIP: Improve PIP control row's focus change animation in Recents" into nyc-dev 2016-05-27 17:23:58 +00:00
Jason Monk
0215802097 QS: Handle detail scroll properly
Add custom scrollview that ensures the touches can cause a scroll.

Change-Id: Ib18ac24ded11d06f59f582248964bd697652c192
Fixes: 28671167
2016-05-27 10:47:51 -04:00
Jaewan Kim
a9e0621f33 PIP: Improve PIP control row's focus change animation in Recents
This includes following changes for performance
1. Passes the key events directly between the windows instead of using
   dummy Views and OnFocusChangeListener to prevent main thread from
   handling unnecessary focus changes.
2. Limits the window size for PIP controls to reduce unnecessary draw.

Here's the test result. Test is performed with paused PIP video
1. 5 visible recents task
  Focus down: 48.14 fps -> 85.396 fps (+77.39%)
  Focus up: 24.67 fps -> 45.33 fps (+83.77%)
2. 3 visible recents task
  Focus down: 51.98 fps -> 132.72 fps (+155.34%)
  Focus up: 30.91 fps -> 53.38 fps (+72.69%)

Bug: 28042495
Change-Id: I363232176975b160e122748c9997ef4b46b73a28
2016-05-27 08:41:48 +00:00
Jason Monk
931f5464f5 QS Edit: Hide black bar in landscape
Change-Id: I954e5571c01945b697c6254c168c1830467ff7db
Fixes: 28924803
2016-05-25 11:19:04 -04:00
Mady Mellor
31e49b0964 Merge "Children should have backgrounds" into nyc-dev 2016-05-24 20:59:50 +00:00
Selim Cinek
c178f519b9 Merge changes I7773ed3a,I73d97d9a into nyc-dev
* changes:
  Added accessibility action for scrolling the notifications
  Fixed a bug where the text directionality was inconsistent
2016-05-24 20:01:24 +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
Selim Cinek
c22fff6cf6 Added accessibility action for scrolling the notifications
Also made the stackscroller focusable if and only if it is
scrollable. This will allow it to be important for accessibility
again.

Change-Id: I7773ed3a19d23f6bc62a1b9a23464cfbecd0ec03
Fixes: 25673942
2016-05-23 16:51:16 -07:00
Jason Monk
9a6552d71f Nav bar: fix tablet density change issues
- Re-inflate the contents of the NavigationBarInflaterView
 - Call up to parent to notify the contents has been reinflated
 - Fix how default tunable is handled, so that the resource is
   reloaded on density change

Change-Id: If25f68d01eedd3319b0c270e1cf80ac382eea637
Fixes: 27227522
2016-05-20 11:21:59 -04:00
TreeHugger Robot
a1e0cebf3a Merge "DO NOT MERGE Rename PointerIcon and Pointer Capture APIs" into nyc-dev 2016-05-19 15:03:36 +00:00
Michael Wright
f9d9ce7705 DO NOT MERGE Rename PointerIcon and Pointer Capture APIs
This is a response to API council feedback.

Bug: 26830970
Change-Id: Ia2d284b5c1ab8365bedfdc37d129be4b8146036b
2016-05-17 18:02:32 +01:00
Julia Reynolds
04132ed420 Adjust spacing.
Bug: 27597108
Change-Id: I75db314162cf0293422bdea6ef5e931a3ee7f813
2016-05-16 16:19:02 -04:00
Adrian Roos
d390b893ea Fix density change bugs in SystemUI
- Reinflate KeyguardUserSwitcher on density changes.
- Update size of UserAvatar on Keyguard.
- Fix brightness slider width in quick settings.
- Refetch and rescale user icons on density changes.

Change-Id: I961c59b8b224d6ac22cbbb8e115b8a12547a04b9
Fixes: 28535987
Fixes: 28454340
2016-05-10 21:01:43 +00:00
Jason Monk
d4bdf9ca7c Merge "QQS: Fix ripple clipping" into nyc-dev 2016-05-09 13:20:20 +00:00
Jason Monk
4987524b27 QQS: Fix ripple clipping
Change-Id: Ib29265ca582e8563277466edefb32b0a5c852b2f
Fixes: 28175282
2016-05-06 14:44:25 -04:00
Jason Monk
5df0ee53ac Merge "QS Header: remove collapsed alarm ripple" into nyc-dev 2016-05-06 18:36:00 +00:00
Julia Reynolds
20aef8a291 Quicksettings accessibility.
Bug: 15696340
Change-Id: I6887e2dad4822911d3a1642aaec5703174b57330
2016-05-06 10:24:38 -04:00
Jason Monk
b8ae788f07 QS Header: remove collapsed alarm ripple
Its no longer a button, so it shouldn't act like one.

Change-Id: Iac78f80bb0e99fd4d6135f6c1ceac9bc96c7cc8e
Fixes: 28611090
2016-05-05 14:36:57 -04:00
Jason Monk
cd4e382bd0 Fix QS header size after landscape inflation
Change-Id: Ic735462d0af2437ed9e74a960ff0dc12126c30f2
Fixes: 28306834
2016-05-04 16:08:08 -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
Julia Reynolds
e377b956a8 Less clipping.
Bug: 28385494
Change-Id: Ic28041621e5574e003b46aa84e8b69dc3472506d
2016-04-29 14:54:09 -04:00
Julia Reynolds
a0676c9207 Merge changes from topic 'api_review' into nyc-dev
* changes:
  Api review: Settings.
  Reduce spacing.
2016-04-26 15:29:11 +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
Julia Reynolds
47bee3b529 Reduce spacing.
Bug: 28325996
Change-Id: I065dc077876abb98d7c3381cc0ac28af77323c8a
2016-04-25 13:09:16 -04: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
ca2ce9b74a Merge "Add back elevation to quick settings" into nyc-dev 2016-04-22 15:47:31 +00:00
Jason Monk
ce2b421439 Add back elevation to quick settings
Change-Id: I6bd94b23438566156160018d7d078eb32a8becf7
Fixes: 27855302
2016-04-21 10:19:46 -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
Jaewan Kim
34a96e704e Merge "PIP: Support accessibility" into nyc-dev 2016-04-21 01:11:40 +00:00
TreeHugger Robot
75fe7d5d79 Merge "Fix inline reply clobbering when narrowly missing send button" into nyc-dev 2016-04-20 23:39:52 +00:00
Adrian Roos
5389a1778d Fix inline reply clobbering when narrowly missing send button
The RemoteInputView leaked through unhandled touches. To prevent this,
we now make sure the send button covers the entire area, and we catch
any touches that did not go to either the send button or the text box.

Bug: 27357771
Change-Id: Idc08d98dc7970b99c735f80088ea1eec0ec2d831
2016-04-20 13:58:33 -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
e86ac2f0da Merge "Animate volume dialog expansion/contraction." into nyc-dev 2016-04-20 19:07:13 +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
Julia Reynolds
e80f67545d Animate volume dialog expansion/contraction.
Bug: 28275874
Change-Id: I751addeb73e7354d3a2018be1ba08bf9b8378b95
2016-04-20 14:58:47 -04:00
Jason Monk
c4f80d217e Allow QS details to scroll when the screen is really small
Change-Id: Ib28b6e9d888e864741c3ac472d30ef7cae06fe67
Fixes: 27276984
2016-04-20 13:30:11 -04:00
Jaewan Kim
f915bf7e9b PIP: Support accessibility
Bug: 27890756
Change-Id: If1689d264075dc23612fd26a46fe67c8b4492ee0
2016-04-20 13:06:36 +09:00
Jason Monk
aa2702feca Increase contrast on edit button
Change-Id: I2d7eefabe9becc93e83aa6d245c42797ee966543
Fixes: 28180748
2016-04-19 14:17:01 -04:00
Andrei Stingaceanu
bf8207e270 Merge "Keyboard shortcuts: UI polish 2" into nyc-dev 2016-04-19 09:59:53 +00:00
Selim Cinek
1ed0c12a65 Merge changes Id1aab629,Idb24dbd4 into nyc-dev
* changes:
  Fixed a few issues when adapting the dpi
  Fixed a few issues with status bar density changes
2016-04-19 02:54:47 +00:00
Winson
d2a0306131 Adding desired undocking animation.
- Separating task binding from task data updating
- Removing unused parameters

Bug: 27154882
Change-Id: Ia970597d57857a74b5d008e91a93703d8fb70c1e
2016-04-18 18:19:06 -07:00
Selim Cinek
3e7592d0cb Fixed a few issues when adapting the dpi
The statusbar is now behaving nicer and other
parts are behaving similar as if they had been inflated
that way. The signalclusterview is now properly recreated
ensuring that it's scaled correclty.

Fixes: 	26844819
Change-Id: Id1aab629204d03c079815358e7a5eb12d2a4e557
2016-04-18 15:10:37 -07:00