23438 Commits

Author SHA1 Message Date
Tomasz Mikolajewski
64f2ffaa7e Merge "Remove unused state in DocumentsUI." into nyc-dev 2016-04-07 04:44:25 +00:00
Tomasz Mikolajewski
e68cc51614 Merge "Do not crash when selecting a lot of files." into nyc-dev 2016-04-07 03:27:13 +00:00
Tomasz Mikolajewski
1451847bea Remove unused state in DocumentsUI.
Selection in State is very large, but no longer used. Removed.

Bug: 27208679
Change-Id: I2750347f6d06f2d006a0a04865d81110307ff7c5
2016-04-07 11:30:48 +09:00
Tomasz Mikolajewski
90e0ff0884 Do not crash when selecting a lot of files.
Bug: 27208679
Change-Id: I3763e190bf8a014274895a349b9739672f3e2224
2016-04-07 11:12:07 +09: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
50e439df28 Merge "Fix dismiss all clipping for tablet / landscape" into nyc-dev 2016-04-06 23:04:38 +00:00
Aga Wronska
11cac9cead Merge changes I010309c5,Iefdf2f2a into nyc-dev
* changes:
  Set status bar color to material_blue_grey_950 as specified by UX.
  Revert 'Make Files drawer appear behind system ui bars' because of action mode bug
2016-04-06 22:56:33 +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
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 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
Aga Wronska
6af13300d4 Set status bar color to material_blue_grey_950 as specified by UX.
Change-Id: I010309c5c5aaf312e645a75720e710ef83111952
Fixing: b/27561646
2016-04-06 14:21:56 -07: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
Aga Wronska
48c846368f Revert 'Make Files drawer appear behind system ui bars' because of action mode bug
Fixing: b/27854892
Bug: 27570567

Change-Id: Iefdf2f2a450d80c551027efb35121554503cca3c
2016-04-06 14:03:16 -07: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
cbc68e5911 Merge "Fixed the contentinfo api usage in the bugreport" into nyc-dev 2016-04-06 20:47:45 +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
ed01756000 Merge "Dynamic density change handling" into nyc-dev 2016-04-06 20:23:03 +00:00
Evan Rosky
15971223dc Merge "Added padding and gravity support to PIN entry" into nyc-dev 2016-04-06 20:03:53 +00:00
Selim Cinek
bc3b0458bf Fixed the contentinfo api usage in the bugreport
Removed the percentage shown in the header and
migrated the name to the subtext as contentinfo
was deprecated.

Change-Id: Ifd79a67cad8958049bd29b8eb4c9bcbb4822688b
2016-04-06 12:18:53 -07: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
Steve McKay
3855e9ce49 Merge "Massage code to better support Files overlay." into nyc-dev 2016-04-06 18:44:59 +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 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
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
Steve McKay
53f109b39e Massage code to better support Files overlay.
Also, allow "productivity_mode" config to be enabled via intent extra
    as a developement aide.

Bug: 28006206
Change-Id: I7be8d96a0e924f9ce8023347e051d28d69a0eec9
2016-04-06 10:25:02 -07:00
Bill Yi
1667682d99 Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-04-06 17:10:27 +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
Evan Rosky
9042750788 Added padding and gravity support to PIN entry
Also made it more customizable via attributes

Bug: 25184308
Change-Id: I3cfd48b6bb964ea8db1539586ed70343fda5e40a
2016-04-06 16:35:25 +00:00
Philip P. Moltmann
1a1f24980c Merge "Prefix printer description with service-label instead of package-label." into nyc-dev 2016-04-06 16:09:02 +00:00
Philip P. Moltmann
6c2bed24ec Merge "Print Activity: Use a single (re-implemented) parsing logig for page ranges." into nyc-dev 2016-04-06 16:08:49 +00:00
Ben Kwa
2084796e23 Merge "DocsUI: Update the drag shadow to meet UI spec." into nyc-dev 2016-04-06 15:02:04 +00:00
Bill Yi
da92d4881e Import translations. DO NOT MERGE
Change-Id: I856a941ac139b90d05f278db1023b96715211893
Auto-generated-cl: translation import
2016-04-06 05:38:14 -07: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
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
841b49bc3f Merge "PIP: Fix regressions caused by previous commit a0d4d25" into nyc-dev 2016-04-06 05:46:57 +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
b7da9ce4f0 Merge "Close inline controls / hide the gear when interaction outside occurs" into nyc-dev 2016-04-06 00:26:51 +00:00
Sanket Agarwal
a951a593c0 Merge "PBAP connect to alternate device." into nyc-dev 2016-04-05 23:39:20 +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