Commit Graph

14427 Commits

Author SHA1 Message Date
Mady Mellor
e5c12ac0c6 Merge "Close guts/gear after a timeout and if there\'s been no interaction" into nyc-dev
am: ff2468b

* commit 'ff2468b73a0024b93cd1bbaadf8fd7eb9e9c0b5c':
  Close guts/gear after a timeout and if there's been no interaction

Change-Id: Ia4c00a5294cdba09e88f819129713767d9256de7
2016-04-06 23:27:40 +00:00
Mady Mellor
ff2468b73a Merge "Close guts/gear after a timeout and if there's been no interaction" into nyc-dev 2016-04-06 23:23:13 +00:00
Mady Mellor
a8d0fe0cab Merge "Fix dismiss all clipping for tablet / landscape" into nyc-dev
am: 50e439d

* commit '50e439df28f1ceb76c229543f93f0b3f6ea05793':
  Fix dismiss all clipping for tablet / landscape

Change-Id: I182a773a7ec30a5af1773e34d6ccad2682abfddb
2016-04-06 23:12:58 +00:00
Mady Mellor
50e439df28 Merge "Fix dismiss all clipping for tablet / landscape" into nyc-dev 2016-04-06 23:04:38 +00:00
Mady Mellor
97c8df4693 Close guts/gear after a timeout and if there's been no interaction
On the lock screen the inline controls and gear behind the
notifications may be activated by accident. This CL alters them
to close after a certain period of time has occurred without
interaction.

Bug: 27335311
Change-Id: Ib3b0575571076a5912e23c7d2da5209e9a523fc8
2016-04-06 15:11:47 -07:00
Jorim Jaggi
45b262c63c Merge "Don\'t lock device when double tapping" into nyc-dev
am: 347bb9a

* commit '347bb9a3cf53595b8beed17574cec9c0072aa819':
  Don't lock device when double tapping

Change-Id: I964ae558db13679b5d15220a7c783b75ea894b6b
2016-04-06 22:05:18 +00:00
Jorim Jaggi
347bb9a3cf Merge "Don't lock device when double tapping" into nyc-dev 2016-04-06 21:56:55 +00:00
Jorim Jaggi
f1cdf9558d Don't lock device when double tapping
Bug: 24265204
Change-Id: Ia19e956def454604ed3f3e3e9815fc1872ef649a
2016-04-06 14:53:32 -07:00
Winson
e7be30d79a Merge changes I0efc513b,Ibe45ba62 into nyc-dev
am: da8ec0d

* commit 'da8ec0d0df9a4c5cd017ed3d9f4c348bd5e45445':
  Adding more logging of the state to the bug report.
  Disable landscape aspect-scaled behavior for TV.

Change-Id: I0779848c46061bae5ef4d356ee1b80c7750a62aa
2016-04-06 21:34:58 +00:00
Winson Chung
da8ec0d0df Merge changes I0efc513b,Ibe45ba62 into nyc-dev
* changes:
  Adding more logging of the state to the bug report.
  Disable landscape aspect-scaled behavior for TV.
2016-04-06 21:28:14 +00:00
Mady Mellor
9c2c49634f Fix dismiss all clipping for tablet / landscape
Shouldn't animate the whole view, use the translatable views so that
they get clipped on tablet / landscape.

Additionally this changes the behavior in the case where the gear
might be showing, previously that would hide prior to the dismiss
all animation, UX prefers this to just have the notification cover
the gear and slide away or the gear fade away depending on the side
it's showing.

Bug: 28006639
Change-Id: I43027cb29410496de5b6e09c4a0c57a69484295c
2016-04-06 14:05:42 -07:00
Mady Mellor
0296a6229e Merge "Adds security challenge when changing notification settings from lock screen" into nyc-dev
am: 6de5ce2

* commit '6de5ce2be0d71b461a2d2becd1c240a9bef538a4':
  Adds security challenge when changing notification settings from lock screen

Change-Id: If5561845da204dbfe4f947149480e7c1dbfdc407
2016-04-06 20:58:41 +00:00
Mady Mellor
6de5ce2be0 Merge "Adds security challenge when changing notification settings from lock screen" into nyc-dev 2016-04-06 20:54:44 +00:00
Selim Cinek
ac51be5b1c Merge "Deprecated the contentinfo and the number" into nyc-dev
am: 82404bc

* commit '82404bc0689aceb328a29fe17c277091ce793fa8':
  Deprecated the contentinfo and the number

Change-Id: I4ab5ddb1fa42221377d5603e89dfea84425344fe
2016-04-06 20:51:42 +00:00
Selim Cinek
9a734801a3 Merge "Fixed a bug where the scrollrange was calculated wrong" into nyc-dev
am: f558200

* commit 'f5582005367e1e14dfdfa1bc948140fdd7544f0a':
  Fixed a bug where the scrollrange was calculated wrong

Change-Id: Ia69a105019bcc01b8fa6c916838a04add66ba946
2016-04-06 20:51:39 +00:00
Selim Cinek
82404bc068 Merge "Deprecated the contentinfo and the number" into nyc-dev 2016-04-06 20:45:56 +00:00
Selim Cinek
f558200536 Merge "Fixed a bug where the scrollrange was calculated wrong" into nyc-dev 2016-04-06 20:45:19 +00:00
Jorim Jaggi
ff4cbb9dd5 Merge "Dynamic density change handling" into nyc-dev
am: ed01756

* commit 'ed017560009ad1fea924b1a7dea9689bc0b14a31':
  Dynamic density change handling

Change-Id: I436ea2f72f3df932e8ea03b9673e9f1ff2b900ae
2016-04-06 20:26:12 +00:00
Selim Cinek
0f9dd1e2f5 Deprecated the contentinfo and the number
It was mainly adding noise to the notification
rather than useful information.

Bug: 27431551
Change-Id: Ie22c9935d60eeac1cca5d9ce97239aadfac9b3cf
2016-04-06 12:18:31 -07:00
Jorim Jaggi
11c62e17af Dynamic density change handling
- In PWM, make sure to read the height values after the new
configuration has been applied.
- Reset all navigation bar button icons when density changes.
- Adjust height of notification bar.
- Reload divider height values in SysUI and WM.
- Snap divider handle to a new position after loading the
new configuration, as the snap points change.

Bug: 26844819
Bug: 27450471
Bug: 27921696
Change-Id: I9e28f0c49f6367c5fcfac010e7a6e98a42e85996
2016-04-06 19:12:24 +00:00
Winson
d72c315d5e Adding more logging of the state to the bug report.
Bug: 28009206
Change-Id: I0efc513bb6fc5ea4c9724b0a411ca5d60a71f27e
2016-04-06 11:49:33 -07:00
Jason Monk
e1200c40a8 Merge "Fix inability to add all tiles." into nyc-dev
am: 8da25ef

* commit '8da25ef74afaa63e1ba2814f219c0d0bac2abf7e':
  Fix inability to add all tiles.

Change-Id: Ic035a82116f5b619326858c3f4c4ce3bff45f41c
2016-04-06 18:44:04 +00:00
Selim Cinek
a424c504d5 Fixed a bug where the scrollrange was calculated wrong
First the scrollrange would allow the first element to be
collapsed which doesn't make sense now that it's scrolling
off. It could also be wrong if the notification was a group.
Then the scrollrange was also wrong because the bottomInset
was always added even though it shouldn't have done that.

Change-Id: I7184946c4406bc0b5796194af86155aa6ba68c8e
Fixes: 28015188
2016-04-06 11:39:56 -07:00
Jason Monk
8da25ef74a Merge "Fix inability to add all tiles." into nyc-dev 2016-04-06 18:34:55 +00:00
Jason Monk
89e6f010e2 Fix inability to add all tiles.
Change-Id: I1d6ea9825277c902e238a896580c96d509b459ef
Fixes: 27837813
2016-04-06 14:32:54 -04:00
Winson
aabdff83f2 Merge changes I1bad66e2,Ibc93597e,Id985fc28 into nyc-dev
am: fef8cfc

* commit 'fef8cfc3f07900a68041e91e016dfb9b644a4615':
  Remove the highlight on the overview button in the screen pinning dialog
  Fixing bad regression in alt-tab layout.
  Workaround to ensure that a SystemUI process is always available.

Change-Id: I7072dc07c1e034d568df14a0b9a12134b24f823b
2016-04-06 17:57:21 +00:00
Winson Chung
fef8cfc3f0 Merge changes I1bad66e2,Ibc93597e,Id985fc28 into nyc-dev
* changes:
  Remove the highlight on the overview button in the screen pinning dialog
  Fixing bad regression in alt-tab layout.
  Workaround to ensure that a SystemUI process is always available.
2016-04-06 17:50:31 +00:00
Selim Cinek
4daf1356d3 Fixed a bug where the height of the group was wrong
am: f1f270a

* commit 'f1f270a09469343abd864f1b02a630a8a15762ff':
  Fixed a bug where the height of the group was wrong

Change-Id: I202f32befb06f1c38bfbd98323f52ac7b8f370ca
2016-04-06 17:40:14 +00:00
Selim Cinek
f1f270a094 Fixed a bug where the height of the group was wrong
This lead to very visible bugs.

Bug: 24866646
Change-Id: I62bfbb2f3895a5a69eb4807d109643bdfdf95351
2016-04-06 17:36:08 +00:00
Jason Monk
e25ef515da Merge "Make QS tile lifecycle tests less flaky (hopefully)" into nyc-dev
am: b2c8a4a

* commit 'b2c8a4a06a29472f65b9f5a46fcedf106f5a3487':
  Make QS tile lifecycle tests less flaky (hopefully)

Change-Id: I603df4f38c9cdcabc871733b58fb74c031e47b60
2016-04-06 17:05:36 +00:00
Bill Yi
a0026d58bc Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-04-06 17:03:21 +00:00
Jason Monk
b2c8a4a06a Merge "Make QS tile lifecycle tests less flaky (hopefully)" into nyc-dev 2016-04-06 16:57:44 +00:00
Jason Monk
f30b5ca1b1 Make QS tile lifecycle tests less flaky (hopefully)
Change-Id: I387c774267c076cf244d2870b051ad6d586d3564
2016-04-06 12:54:26 -04:00
Bill Yi
32eb985d65 Import translations. DO NOT MERGE
Change-Id: I6e780e155d307e6357040492e2007698ea8264a2
Auto-generated-cl: translation import
2016-04-06 03:28:47 -07:00
Jaewan Kim
e2a06f2f26 Merge "PIP: Apply the latest Recents row animation when PIP control is focused" into nyc-dev
am: 4b12df6

* commit '4b12df6f7ec1684c4ae5218668ad26d0e8cf81d7':
  PIP: Apply the latest Recents row animation when PIP control is focused

Change-Id: Ib162a6a5764cfb9920dea8d8e0b3a1af7931df58
2016-04-06 06:40:37 +00:00
Jaewan Kim
4b12df6f7e Merge "PIP: Apply the latest Recents row animation when PIP control is focused" into nyc-dev 2016-04-06 06:35:41 +00:00
Jaewan Kim
04cbe870ae PIP: Apply the latest Recents row animation when PIP control is focused
Bug: 27540465
Change-Id: Ib3b40fb64953a175593eab789552db3c231f0227
2016-04-06 15:20:58 +09:00
Jaewan Kim
2b58c2b41d Merge "PIP: Fix regressions caused by previous commit a0d4d25" into nyc-dev
am: 841b49b

* commit '841b49bc3ffa28b1ea115486621b1c1a79c4e5c4':
  PIP: Fix regressions caused by previous commit a0d4d25

Change-Id: I9a3ab48b83e6cd25a784e4e60a3eac6f8c18f280
2016-04-06 05:55:54 +00:00
Jaewan Kim
841b49bc3f Merge "PIP: Fix regressions caused by previous commit a0d4d25" into nyc-dev 2016-04-06 05:46:57 +00:00
Jorim Jaggi
5a15a0dd12 Fix divider touchable region
am: 8eb8a32

* commit '8eb8a32f98915bc5fc009130d79d00021ef7a7c9':
  Fix divider touchable region

Change-Id: I111f51d0f2e2f04857a730dd4f09853a51ee3ea1
2016-04-06 01:27:48 +00:00
Jorim Jaggi
8eb8a32f98 Fix divider touchable region
Make sure to update the touchable region whenever the layout
changes. The layout is wrong if the window is invisible during
the first layout.

Bug: 27854148
Change-Id: Ic0501eccf7b919d10491c6f5aa0c0f1765a07c52
2016-04-06 01:20:25 +00:00
Mady Mellor
ceafc8493d Merge "Close inline controls / hide the gear when interaction outside occurs" into nyc-dev
am: b7da9ce

* commit 'b7da9ce4f0e03df1b1a38a693fb64a3c23d2ca84':
  Close inline controls / hide the gear when interaction outside occurs

Change-Id: Ie6b1597d777a2bc744feb3b5b2ce3113042ecd1b
2016-04-06 00:30:38 +00:00
Mady Mellor
b7da9ce4f0 Merge "Close inline controls / hide the gear when interaction outside occurs" into nyc-dev 2016-04-06 00:26:51 +00: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
Winson
aeb298c4db Fixing bad regression in alt-tab layout.
- Removing the notion of drawing the task header thumbnail on preload.
  This would not work because we could not know the stack state until
  showRecents() is actually called.  Instead, we keep a cached thumbnail
  bitmap that we draw into when we start the activity, which is only
  updated when the layout changes.
- Ensuring that with the smaller task views in the focused layout
  overlap and do not show a gap between them (this was introduced when
  the task views were made smaller to show more of the task behind it)
- Ensure that both alt-tab and paging both default to focused state
- Always reset the stack layout to clear the task overrides so that
  we don’t inadvertently get overrides when alt-tabbing

Bug: 28014191
Change-Id: Ibc93597e9c027ce5abd65a8b77c0628864814c9b
2016-04-05 15:55:27 -07:00
Winson
3c2c34bb03 Workaround to ensure that a SystemUI process is always available.
- For a non-primary user, this CL will ensure that the SystemUI process
  is started when we are switched to the user.  This allows us to
  maintain our current user-management model for Recents, which depends
  on this process for preloading and state management.

Bug: 27175589
Change-Id: Id985fc2876e6daf06f303b44c0f9d1d3fd377842
2016-04-05 15:54:59 -07:00
Jaewan Kim
10a86910aa PIP: Fix regressions caused by previous commit a0d4d25
This includes two fixes
- Restore PIP location when PIP menu is closed.
- Prevent PIP from moving to fullscreen when it's resized directly
  via ActivityManager with animation.

These are regressions caused by
a0d4d25 PIP: Apply the animation spec for the PIP in Recents

Bug: 27540465
Change-Id: Id5b131faa3052a809138ab058bcfe65ce6a820b7
2016-04-06 07:10:18 +09:00
Mady Mellor
7a9b2a67b7 Close inline controls / hide the gear when interaction outside occurs
This CL adds the behavior so that if the gear or inline controls are
visible, they will close if the user interacts with another area of
the screen (e.g. scrolls, pulls down QS, etc) this is on the lock screen
as well as the shade.

This CL makes an additional change to remove the GearDisplayedListener
and use the StackScroller to maintain state of the gear / reset as
appropriate.

Bug: 27598072
Bug: 27335311

Change-Id: Iebff9aa542c9d91389054a4ff292d0dda11fe950
2016-04-05 14:27:26 -07:00
Winson
be46ffc0b6 Merge "Fixing tiny issue with empty state graphic not being centered correctly." into nyc-dev
am: d1427fb

* commit 'd1427fbe0de9039e9ca94038ef070772e8afc4a3':
  Fixing tiny issue with empty state graphic not being centered correctly.

Change-Id: Idb90f2f7453e27412cc58433a6ab3a88a330f424
2016-04-05 20:17:57 +00:00
Winson Chung
d1427fbe0d Merge "Fixing tiny issue with empty state graphic not being centered correctly." into nyc-dev 2016-04-05 20:10:31 +00:00