Commit Graph

13485 Commits

Author SHA1 Message Date
Selim Cinek
4e0b58be83 Merge "Fixed a clicking bug on the lockscreen" into nyc-dev
am: e961f32b0f

* commit 'e961f32b0f96902276c69f25a35e89aa8cc34ea0':
  Fixed a clicking bug on the lockscreen
2016-02-19 23:20:46 +00:00
Selim Cinek
9867f9ae34 Merge "Cleaned up the logic for the picture end margin" into nyc-dev
am: 54c857cda6

* commit '54c857cda62fbd3a86f5a74924fcea23b89bb1f5':
  Cleaned up the logic for the picture end margin
2016-02-19 23:17:45 +00:00
Selim Cinek
10a16df62d Merge "Adapted the measuring of notification content view" into nyc-dev
am: 79fa406933

* commit '79fa406933c5ec65e2d48279dc9e0011809512b3':
  Adapted the measuring of notification content view
2016-02-19 23:11:28 +00:00
Selim Cinek
e961f32b0f Merge "Fixed a clicking bug on the lockscreen" into nyc-dev 2016-02-19 23:04:55 +00:00
Selim Cinek
54c857cda6 Merge "Cleaned up the logic for the picture end margin" into nyc-dev 2016-02-19 23:04:26 +00:00
Selim Cinek
79fa406933 Merge "Adapted the measuring of notification content view" into nyc-dev 2016-02-19 23:03:59 +00:00
Mady Mellor
8205e5bd5e Merge "Improve touch target for the gear beneath a notification" into nyc-dev
am: ed8f6cff50

* commit 'ed8f6cff50e495329f33535e5302c70e3439e838':
  Improve touch target for the gear beneath a notification
2016-02-19 22:24:53 +00:00
Jorim Jaggi
7e17f73b69 Merge "New behavior for docked stack when going home" into nyc-dev
am: 0bea7ebf56

* commit '0bea7ebf56d00513411378d6b287878ccaa028e1':
  New behavior for docked stack when going home
2016-02-19 22:19:02 +00:00
Mady Mellor
ed8f6cff50 Merge "Improve touch target for the gear beneath a notification" into nyc-dev 2016-02-19 22:15:55 +00:00
Jorim Jaggi
0bea7ebf56 Merge "New behavior for docked stack when going home" into nyc-dev 2016-02-19 22:14:46 +00:00
Mady Mellor
f7acbef6a9 Merge "Initial implementation of dismiss gesture + inline settings icon" into nyc-dev
am: 15d6eafec5

* commit '15d6eafec54f8631c908b8a81c997fef8dd4cd8a':
  Initial implementation of dismiss gesture + inline settings icon
2016-02-19 22:12:53 +00:00
Mady Mellor
15d6eafec5 Merge "Initial implementation of dismiss gesture + inline settings icon" into nyc-dev 2016-02-19 22:06:33 +00:00
Jason Monk
b134b53f38 Merge changes Iaf1ee1e6,I861cb65d into nyc-dev
am: d2308771f0

* commit 'd2308771f011c6277fc2e5e2e5f78e35d2cf22e6':
  Add TileService settings API
  Add QS long-press -> Settings
2016-02-19 22:01:22 +00:00
Jason Monk
724214a878 Add TileService settings API
It will be used for long-clicks on TileServices when available.
Otherwise will default back to app info for the app providing the
tile.

Bug: 27269699
Change-Id: Iaf1ee1e6fe6e1357cda32c74bfdc0c26af0f5901
2016-02-19 16:43:00 -05:00
Jason Monk
76c67aa361 Add QS long-press -> Settings
Bug: 27269699
Change-Id: I861cb65dbb6609d9c95d5341f5f5aebc3cc519f3
2016-02-19 16:42:50 -05:00
Jorim Jaggi
42625d1bc7 New behavior for docked stack when going home
- We keep the docked stack visible when home task is visible even
though it's not resizable.
- We introduce the a new concept called "minimizing" the docked stack,
which happens when going home. In this state, the docked stack is
clipped of almost completely.
- To achieve that, we introduce TaskStackBoundsAdjustController,
which adjusts the bounds of the docked stack when minimized. Also,
migrate the IME handling to this new class.
- We also need to inform SysUI that it is now minimized so it can
remove the drag affordance on the divider, and also make it a bit
smaller.
- When we detect an app transition, we check whether the home stack
gets visible/invisible. We then start an animation which runs in
sync with the normal app transition. For that we introduce
DockedStackDividerController.animate(), which performs the animation.

Bug: 27137961
Change-Id: I8623bc73cc6872bf28c5b1b8d5795974576811b2
2016-02-19 12:11:11 -08:00
Adrian Roos
ed101b4eb5 Merge "Use actual lockscreen wallpaper" into nyc-dev
am: 6e99febd18

* commit '6e99febd180a72536a08cf4c0456d852a47e9b2f':
  Use actual lockscreen wallpaper
2016-02-19 19:59:53 +00:00
Selim Cinek
34eda5ed70 Fixed a clicking bug on the lockscreen
Parts of custom notficications were not singeclickable

Bug: 27247884
Change-Id: I7c52500a77929059b24e8119f50492e0f1399401
2016-02-19 11:54:43 -08:00
Selim Cinek
247fa01931 Cleaned up the logic for the picture end margin
This allows decorated custom remote views to be properly
showing with a large image.

Bug: 24866646
Change-Id: Ie355e503437f19ace2503d42f44bee4bd22f03c8
2016-02-19 11:54:41 -08:00
Selim Cinek
f619ffccd7 Adapted the measuring of notification content view
We are now measuring all notifications content views
with AT_MOST but with an upperboundary. This allows us
to put custom views inside our normal views and still not
blow up the small size. Also adapted the dimens not to
clamp the templates

Bug: 24866646
Change-Id: If9053d84a9d91e6bc9964f64b170e3c3260a807d
2016-02-19 11:54:15 -08:00
Adrian Roos
6e99febd18 Merge "Use actual lockscreen wallpaper" into nyc-dev 2016-02-19 19:53:20 +00:00
Sudheer Shanka
bea4c54f73 Merge "Part1 - Don\'t add padlock if the restriction is not set by admin." into nyc-dev
am: f498c8ddc1

* commit 'f498c8ddc15a709402cf97c4451806f2e6720f52':
  Part1 - Don't add padlock if the restriction is not set by admin.
2016-02-19 19:38:09 +00:00
Sudheer Shanka
f498c8ddc1 Merge "Part1 - Don't add padlock if the restriction is not set by admin." into nyc-dev 2016-02-19 19:31:47 +00:00
Adrian Roos
e381c169fc Use actual lockscreen wallpaper
Bug: 25454162
Change-Id: I30ff02420bc4b72d7e4bf9105f2fd4c8017f5756
2016-02-19 11:29:16 -08:00
Julia Reynolds
f7f055e407 Merge "Remove Notification Topics." into nyc-dev
am: 73d96fb4bb

* commit '73d96fb4bbe1e3796e655314619bf9897d07c929':
  Remove Notification Topics.
2016-02-19 19:25:04 +00:00
Sudheer Shanka
a8fbbb30ea Part1 - Don't add padlock if the restriction is not set by admin.
Bug: 26687435
Change-Id: I2fd740b1fa0d76eceedc4dde73e41d779820bbcf
2016-02-19 19:21:57 +00:00
Julia Reynolds
73d96fb4bb Merge "Remove Notification Topics." into nyc-dev 2016-02-19 19:17:25 +00:00
Jason Monk
0aecf08207 Merge changes Ie427a2d8,I213f1f76 into nyc-dev
am: ea168d229d

* commit 'ea168d229d316c84652e88ad0f19adbaa884d731':
  SysUI Tuner: UI cleanup and grouping
  SysUI Tuner: Night mode v3
2016-02-19 18:59:47 +00:00
Mady Mellor
f062580d39 Improve touch target for the gear beneath a notification
This CL increases the touch target size of the gear beneath
a notification.

It also adds the logic:
- If the gear is displayed and the notification is touched
then the notification slides back over the gear
- If the grey background is touched rather than the gear
  nothing happens

Bug: 22451710
Change-Id: I7c1d8943e066fdd821446c2f90807891d6b74e5c
2016-02-19 10:52:06 -08:00
Jason Monk
ea168d229d Merge changes Ie427a2d8,I213f1f76 into nyc-dev
* changes:
  SysUI Tuner: UI cleanup and grouping
  SysUI Tuner: Night mode v3
2016-02-19 18:50:05 +00:00
Mady Mellor
4b80b1025f Initial implementation of dismiss gesture + inline settings icon
- Added a view to display / control the gear behind the noti
- Updated SwipeHelper to hide / show the gear based on the gesture
- Only one notification or notification group can show the gear
  at a time

Couple of things left to do that will come in a follow up CL:
- Animation (to / from inline controls, fading gear based on movement)
- For children in a group there needs to be a grey background

Bug: 22451710
Change-Id: I2f93edf48109a82bab0839c73cbaba1535caee9a
2016-02-19 10:04:27 -08:00
Jason Monk
379aa7a947 Merge changes I91733155,If5912504 into nyc-dev
am: 26ae3c8063

* commit '26ae3c806329101a9fbab69558df980c55c50de3':
  QS header: animation work
  Add TouchAnimator to make QS Animations simpler
2016-02-18 20:50:33 +00:00
Xiaohui Chen
594c17ae0b sysui: refactor for extensibility
am: ea4b6ba420

* commit 'ea4b6ba420834ab7df28907ae57aa7dffb4ef0d3':
  sysui: refactor for extensibility
2016-02-18 20:49:22 +00:00
Jason Monk
26ae3c8063 Merge changes I91733155,If5912504 into nyc-dev
* changes:
  QS header: animation work
  Add TouchAnimator to make QS Animations simpler
2016-02-18 19:21:20 +00:00
Jason Monk
8816dff9f2 SysUI Tuner: UI cleanup and grouping
Clean up strings and locations of various features.

Change-Id: Ie427a2d8c51afa6f2a68b4cde1d6b15cda897e1a
2016-02-18 14:19:49 -05:00
Xiaohui Chen
ea4b6ba420 sysui: refactor for extensibility
Bug: 27100755
Change-Id: I7fff6751b7f197e3e66ab1f87690d556f6e66872
2016-02-18 19:16:57 +00:00
Jorim Jaggi
843cd3a55a Fix issues with docked icon
am: d30d95d36c

* commit 'd30d95d36ceabb6ce1e4908251606be6e36c125f':
  Fix issues with docked icon
2016-02-18 19:12:20 +00:00
Jason Monk
83db0eedc9 Merge "Tuner volume dnd panel work" into nyc-dev
am: ea834eca6e

* commit 'ea834eca6eebe2a140bfec1c1f278f1e87d7315b':
  Tuner volume dnd panel work
2016-02-18 19:10:39 +00:00
Jason Monk
5dbd4aad80 SysUI Tuner: Night mode v3
TwilightService:
 - Add support for locking on/off twilight globally
 - Change twilight state to have float amount rather than
   having clients calculate it using the sunrise/set values
 - State controlled through secure setting
 - Override mode which locks to a state for a couple hours then
   resets
 - Add broadcast for SysUI to listen to

Brightness/Power:
 - Updates to handle TwilightService changes
 - Added secure setting to control whether or not to use
   twilight when calculating brightness.

Tuner:
 - UI Overhall
 - NightModeController will set the values of the custom color matrix
   taking into account the current twilight service state and any
   custom calibration set by the user.
 - Probably other stuff.

Change-Id: I213f1f76a143e711c507b2ba7d784f581bfc32b4
2016-02-18 14:06:51 -05:00
Jorim Jaggi
d30d95d36c Fix issues with docked icon
- Make sure to update when configuration changes
- Do not reset it to a deprecated icon we don't use
anymore.

Bug: 26451729
Bug: 27045882
Change-Id: I6c23a91fd9577ca836818fcd3ab6a0682880df1f
2016-02-18 18:52:29 +00:00
Jason Monk
ea834eca6e Merge "Tuner volume dnd panel work" into nyc-dev 2016-02-18 18:47:06 +00:00
Jason Monk
aa911b37ae Tuner volume dnd panel work
Change-Id: Id7852e96f987d13c06041e2280d44163a296f49b
2016-02-18 13:39:38 -05:00
Jason Monk
f954142df8 Merge "Remove lights out views from nav bar" into nyc-dev
am: 5cac50c3c6

* commit '5cac50c3c658529b703ff1fdf0940ad0dc7e87c7':
  Remove lights out views from nav bar
2016-02-18 18:38:25 +00:00
Jason Monk
97cb9c77bc QS header: animation work
Bug: 27201532
Change-Id: I917331555132028897821c2a996d1d9dd8ad1833
2016-02-18 13:37:24 -05:00
Jason Monk
794457ae5c Add TouchAnimator to make QS Animations simpler
Bug: 27201532
Change-Id: If5912504748f7b29dd71b70a41bba4ff70b1fc9d
2016-02-18 13:37:05 -05:00
Rakesh Iyer
512f875736 Merge "Dejank app switching." into nyc-dev
am: 6f1cdc92e5

* commit '6f1cdc92e5aba46fb018427d60df7af159a8c16f':
  Dejank app switching.
2016-02-18 18:35:58 +00:00
Clara Bayarri
79813436d6 Merge "Lock Work Profile immediately when user presses power button" into nyc-dev
am: 983bc7076c

* commit '983bc7076c38ccd99d33b3b34bb400500a8c621a':
  Lock Work Profile immediately when user presses power button
2016-02-18 18:27:10 +00:00
Jason Monk
5cac50c3c6 Merge "Remove lights out views from nav bar" into nyc-dev 2016-02-18 15:11:01 +00:00
Rakesh Iyer
6f1cdc92e5 Merge "Dejank app switching." into nyc-dev 2016-02-18 14:12:26 +00:00
Julia Reynolds
ef37f28436 Remove Notification Topics.
Bug: 23220370
Change-Id: Ifbcdbab1cf6974c192483091512f75762784a98e
2016-02-18 08:55:33 -05:00