963 Commits

Author SHA1 Message Date
Julia Reynolds
e86ac2f0da Merge "Animate volume dialog expansion/contraction." into nyc-dev 2016-04-20 19:07:13 +00: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
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
Selim Cinek
e803491cb0 Fixed a few issues with status bar density changes
Reinflated the brightnessmirror to have the propper layouting.
Also fixed the height of the heads up scrim.

Bug: 26844819
Change-Id: Idb24dbd40f071a2a722c59cc202ae46c5ace2da8
2016-04-18 15:10:36 -07:00
Andrei Stingaceanu
f04cce25d1 Keyboard shortcuts: UI polish 2
1. Changed list title from body1 (14sp, regular) to
body2 (14sp, bold).

2. Reduced spacing between list title and first list item
by 3dp

3. Reduced height from divider line to list by 20dp (I had
this in redlines as 20dp, but I think that added an
additional 20dp to the component so it ended up being
40dp in implementation)

4. Reduced padding between app icon and app name from 32dp
to 24dp (this is a change from original redlines so that
the text aligns 72dp from the edge of the dialog which is
a standard Material keyline)

Bug: 28169928
Change-Id: I01b92486353fa990158819a2d18b16cd910d7ded
2016-04-18 14:42:44 +01:00
Julia Reynolds
4d920ff6eb Notification slider update.
Bug: 27558254
Change-Id: I5e03aacf3aafb900f45d227a031a5dbb328ba18f
2016-04-15 11:03:53 -04:00
Winson Chung
e2a49bfc50 Merge "Fixing jank issue with animating alpha." into nyc-dev 2016-04-15 01:25:16 +00:00
Winson
f19376ec01 Fixing jank issue with animating alpha.
Change-Id: I32685921eb58210f3ab012587c607d84a64be494
2016-04-14 18:20:56 -07:00
Winson Chung
4ecc096b62 Merge "Fixing various layout issues when docking" into nyc-dev 2016-04-14 17:51:54 +00:00
Winson
67c79578f9 Fixing various layout issues when docking
- Fixing regression where we were scrolling to front immediately on 
  dragging-to-dock a task, we should only scroll to the front on 
  configuration change.
- Accounting for the inset when calculating the final stack bounds
  (similar to b/27921362)
- Fixing issue with task views being clipped as user drags a view due 
  to the bounds of the view changing.  We manually now set the frame on
  the view to the current stack task bounds.
- Simplifying calls to animate the task view bounds
- Removing old instance state code

Change-Id: I17d3e33e159ff250c11a504ef87558051926a974
2016-04-14 10:45:31 -07:00
Jaewan Kim
cac7b221ae Merge "PIP: Implement new onboarding spec" into nyc-dev 2016-04-14 17:21:39 +00:00
Jaewan Kim
9d712faa45 PIP: Implement new onboarding spec
Bug: 27954437
Change-Id: Ib939a4ca5f304821036a43971ae7f45b7802ed8a
2016-04-15 01:17:42 +09:00
Sid Soundararajan
ac5a240f05 Merge "Add a fall back for when the thumbnail is not generated for a task" into nyc-dev 2016-04-14 15:19:24 +00:00
Jaewan Kim
2e27de2ea0 PIP: Fix runtime crash in System UI
Bug: 27677096
Change-Id: I182e29962b5da8355f729287a4abde1e73e66e42
2016-04-14 15:18:46 +09:00
Jaewan Kim
6309cabcda Merge "PIP: Implement focus change animation in PIP control buttons" into nyc-dev 2016-04-14 01:41:56 +00:00
Jaewan Kim
49d9c79e31 Merge "PIP: Add PIP boundary" into nyc-dev 2016-04-14 01:32:43 +00:00
Sid Soundararajan
bda1b17d45 Add a fall back for when the thumbnail is not generated for a task
Re-add scrim and shadows to cards.

This can happen on TV when an App is mid launch and the HOME button
is pressed. The Banner of the App is used as a fallback, with the
icon of the app as a final fallback. The icon should not be used
normally, since an App would fail review for not providing a banner.

BUG: 27349208
BUG: 27857124
BUG: 27953609
Change-Id: I50f6ee714eeddee1ea2b5ae31f23ea68d230bc59
2016-04-13 18:31:18 -07:00
Jason Monk
2977ba2cd7 QS: Add content description to page indicator
Change-Id: I4e9bdfe803d681484eb4c8915c44e37be40d8aa2
Fixes: 27325720
2016-04-13 13:01:14 -04:00
Jaewan Kim
1cc1e339b1 PIP: Add PIP boundary
Bug: 28040141
Change-Id: Iebd1e2cce4b3103e322bb92113c61e644a35be72
2016-04-13 14:56:56 +09:00
Jaewan Kim
1e59f2412d PIP: Implement focus change animation in PIP control buttons
This includes following animation.
  - Fix focus change animation duration among the PIP control buttons
  - Apply ripple animation for PIP control buttons
  - PIP menu enter/exit animation.

Bug: 27677096
Change-Id: I2f992416efc8a0994eeb56d5dec00201fd08a7aa
2016-04-13 13:24:19 +09:00
Jorim Jaggi
2917dc4918 Add shadow for minimized dock
Bug: 27972642
Change-Id: Ic4c8145f61694ff2bb0e237da1142093c6a4d965
2016-04-12 19:17:24 -07:00
Winson Chung
87c343cddc Merge "Updating visuals for incompatible apps." into nyc-dev 2016-04-12 01:51:06 +00:00
Winson
9b001396c2 Updating visuals for incompatible apps.
Bug: 26774190
Change-Id: I688d5dbab0305e794cad832ae92a8e5c9440737a
2016-04-11 18:48:49 -07:00
Jason Monk
97e4c5e607 Merge "Fix QS accessibility issues" into nyc-dev 2016-04-11 16:23:48 +00:00
Jason Monk
bc4574352d Fix QS accessibility issues
- Add label to quick settings expand indicator
 - Add battery tile content description

Change-Id: I112c3ba23906a4afe8068acf916e710ec9d40917
Fixes: 28073200
2016-04-11 11:36:55 -04:00
Andrei Stingaceanu
1399890890 Merge "Keyboard shortcuts: UI polish 1" into nyc-dev 2016-04-11 13:24:57 +00:00
Andrei Stingaceanu
a02965e211 Keyboard shortcuts: UI polish 1
* title color for system groups is now: "material_deep_teal_500"

* background behind shortcut keys:
** Now has 2dp rounded corners
** changed color from "material_grey_200" to "material_grey_100"

* the text items now have a minimum width equal to their height.
This means that now the text items with one character are always
the same (square) size as the icon items. Makes the UI look much
cleaner thus easier to read

* the line item now has a minimum height of 48dp and the content
is vertically centered

* minor variable renaming for increased readability

Bug: 28075364
Change-Id: Id7090b607b9c604c55513e7c393ed1084a1c8df0
2016-04-11 13:21:17 +01:00
Jorim Jaggi
7b3936977f Update visuals of force resizable
Bug: 27327287
Change-Id: I32d30a8044f683e2f6287035250126999f623e15
2016-04-09 01:14:48 +00:00
Jason Monk
3212a4c759 Merge "Visual updates to battery screen" into nyc-dev 2016-04-08 20:47:17 +00:00
Adrian Roos
f37c507619 Merge "Fix HUN Scrim" into nyc-dev 2016-04-08 20:29:17 +00:00
Jason Monk
006572a63f Visual updates to battery screen
Change-Id: Ie9e2c45201a986493bb629b02cb7421805f38d85
Fixes: 27479696
Fixes: 27678421
2016-04-08 14:43:08 -04:00
Adrian Roos
77537b9dbf Fix HUN Scrim
Fixes: 26365345
Change-Id: I2dd0250cdeb83dec5f7bbdde6719a71a802bff84
2016-04-08 11:23:31 -07:00
Evan Rosky
289d8a0850 Merge "Centralized user icon drawing with badges" into nyc-dev 2016-04-08 15:38:38 +00:00
Andrei Stingaceanu
2b2b7ed811 Merge "Keyboard shortcuts: icons for application group" into nyc-dev 2016-04-08 10:12:59 +00:00
Jorim Jaggi
7c3912e4ab Merge "Dismiss docked stack when opening non-resizable activity" into nyc-dev 2016-04-07 23:40:44 +00:00
Evan Rosky
aa7f51fe8c Centralized user icon drawing with badges
Renamed CircleFramedDrawable to UserIconDrawable and
added badge/frame support.
Replaced several instances of user icon drawing with
UserIconDrawable

Bug: 27483956
Change-Id: I10d665406ea8b085667aa8c71ffcedffe72dafbd
2016-04-07 23:09:40 +00:00
Jorim Jaggi
d53f09254e Dismiss docked stack when opening non-resizable activity
- Also move the toast to SysemUI as a cleanup.

Bug: 27341740
Bug: 28026841
Change-Id: Ic6196ed75511751c6fadb12fa24574c881100f65
2016-04-07 16:07:27 -07:00
Xiaohui Chen
2f3551b04d sysui: refactoring qs for extensibility
Bug: 27100060
Change-Id: I4913999e57ff1a1b473649009b8822e24c0393c8
2016-04-07 18:41:23 +00:00
Andrei Stingaceanu
12e9803d4f Keyboard shortcuts: icons for application group
Query the package manager and if the user has default
applications for categories (email, browser, etc.) then
show the default app icon else do not show an entry in
the group.

PS: tested with 10x apps and did not notice any visible
jank or delay.

Bug: 27453985
Change-Id: Ic8b73419518c81e3b19278341f83e91bb547c5f7
2016-04-07 18:13:08 +01:00
Jason Monk
917c06a0fb Merge "Work on QS landscape fitting" into nyc-dev 2016-04-07 14:27:42 +00:00
Andrei Stingaceanu
d15191076d Keyboard shortcuts: icons for shortcut items
Introduces the ability to display a shortcut item as
an image (if it has a resource attached). Also added
vector drawables for: up, down, left, right, enter, meta
and backspace.
Note that accessibilty wise the drawables dynamically scale
to the height of the text items (which have the text size
set in sp).

Bug: 27455410
Change-Id: I49739313d83cf661bea9378108a1fa3d6c51bd2e
2016-04-07 10:36:59 +00:00
Jason Monk
6573ef2079 Work on QS landscape fitting
Battery/DND detail panels still need some work.

Bug: 27276984
Change-Id: I0c94d1ecdbe8c230a3f991daaf65dfbd81d08b85
2016-04-06 12:46:28 -04:00
Winson
5b3b4b43c9 Remove the highlight on the overview button in the screen pinning dialog
- Now that you just long press back, we should not indicate to the user
  that you need to long press both to exit screen pinning.

Bug: 28024008
Change-Id: I1bad66e2b975f1f5943989d56348bc8e8b27fbbe
2016-04-05 15:55:33 -07:00
Jason Monk
0b349adcd8 Add app attribution to QS editing
Add a divider between where system tiles and custom tiles are and
add their app label to them as well.

Change-Id: I8890a7fee54e4c5340bbe95c6e100c58f81ee5c3
Fixes: 27874624
2016-04-04 11:18:03 -04:00
Jaewan Kim
2edfe0106a Merge "PIP: Apply the animation spec for the PIP in Recents" into nyc-dev 2016-04-01 06:19:53 +00:00