23247 Commits

Author SHA1 Message Date
Jason Monk
9cbb71997b Merge "Fix QS RTL" into nyc-dev 2016-03-30 16:37:41 +00:00
Jason Monk
ca4dc9a7e1 Merge "Clear out old views when setting new content in settings" into nyc-dev 2016-03-30 16:36:28 +00:00
Jason Monk
4ea6657d58 Clear out old views when setting new content in settings
Bug: 27529989
Change-Id: Id44ca442c2117bc5df7929bcd79434c0ae23cded
2016-03-30 12:35:29 -04:00
Jason Monk
05ceda5ccc Merge "QS: Only allow clicking in the expand button" into nyc-dev 2016-03-30 16:33:12 +00:00
Jason Monk
98bad0e578 Merge "Add more metrics for QS" into nyc-dev 2016-03-30 16:32:22 +00:00
Jason Monk
96defbe2b1 Add more metrics for QS
Bug: 27851703
Change-Id: Iecd1eb739fa1a283b7964b6e0952673e5fb38e8f
2016-03-30 12:26:04 -04:00
Jason Monk
1ed1bb0fc0 Merge "Fix tests and tag them for continuous testage" into nyc-dev 2016-03-30 15:44:07 +00:00
Philip P. Moltmann
c37a32365d Merge "RemotePrintDocument might get destroyed in constructor" into nyc-dev 2016-03-30 15:13:18 +00:00
Tomasz Mikolajewski
836bd28a1b Merge "Render thumbnails in DocumentsUI jank tests." into nyc-dev 2016-03-30 06:01:14 +00:00
Sudheer Shanka
e1f9e5152a Merge "Temporary changes to fix crashes during tests." into nyc-dev 2016-03-30 05:09:20 +00:00
Tomasz Mikolajewski
794306fafe Render thumbnails in DocumentsUI jank tests.
Bug: 27383277
Change-Id: I0b5f267d7dc6c6c426b68f261c470f4ae46367a4
2016-03-30 13:54:44 +09:00
Sudheer Shanka
1c15e01f6d Temporary changes to fix crashes during tests.
Bug: 27852443
Change-Id: Ie61e628213281fc921e8de403d27ae1f941352e9
2016-03-29 21:23:41 -07:00
Winson Chung
fe1886f8b8 Merge changes Ie59ed72c,Ie763a2a6,I7f830e5c,Ife637438 into nyc-dev
* changes:
  Should not update initial state at all on resize.
  Adding logging to track down bitmap issues.
  Moving the background to the window.
  Adding clear-all button.
2016-03-30 01:15:21 +00:00
Winson
44849b8abd Should not update initial state at all on resize.
This fixes an issue with the stack scrolling upon resizing.  We only 
need to update the initial state if docking, or upon rotation.

Change-Id: Ie59ed72cb22c9b000289db3f04b1a71ad5f64816
2016-03-29 17:59:04 -07:00
Winson
7845e8c494 Adding logging to track down bitmap issues.
Bug: 27849282
Change-Id: Ie763a2a6cc968896e1ec0c4d89859cb49bd89e85
2016-03-29 17:58:59 -07:00
Winson
e8a4eff9d9 Moving the background to the window.
- Make sure to remove the background from the DecorView while
resizing, so we don't draw it twice.

Bug: 27869246
Change-Id: I7f830e5c825749fdf2b5bbda7af92239702b70ad
2016-03-29 17:58:54 -07:00
Winson
3b6ba1ab14 Adding clear-all button.
Change-Id: Ife637438b191c4a5004f3c6551bc75691e8e426b
2016-03-29 17:57:56 -07:00
Daichi Hirono
c124427880 Merge "Use AppFuse to write document." into nyc-dev 2016-03-30 00:20:39 +00:00
Philip P. Moltmann
7134fcc07c RemotePrintDocument might get destroyed in constructor
... if it cannot connect to remote PrintDocumentAdapter. Then the state
will be set to destroyed and the print activity will be aborted via the
onDied callback.

Bug: 27899066
Change-Id: Ieb287b92ac21fc71a56b491a1035feaff6cd2837
2016-03-29 14:47:04 -07:00
Muyuan Li
415ebdb880 Merge "sysui: refactor for extensibility" into nyc-dev 2016-03-29 20:29:51 +00:00
Jason Monk
f7d9c49223 QS: Only allow clicking in the expand button
Also ditch the header BG so the panel can feel like one surface, as
a result need to set some clip bounds on the QSPanel to avoid some
collisions between the header and QS.

Bug: 27881430
Change-Id: Ia78c5b8a7a90bd02b97fa448efa06fc056f624ef
2016-03-29 16:29:39 -04:00
Muyuan Li
8303bd2b17 sysui: refactor for extension
Refactored ZenModePanel:
1. Button creation is split from onFinishInflate.
2. Added a method to query current Zen condition
3. Made mZenButtonsCallback protected.

Change-Id: I959fa2f7770ba1888af01eababe7c4512981332d
(cherry picked from commit 79df200108c5240c0d2a041d7d841f8d9d143ec0)
2016-03-29 20:09:46 +00:00
Muyuan Li
94fa1df713 sysui: refactor for extensibility
Split button creation code from init in ZenModePanel

Bug: 27101250
Change-Id: Id4bbd505b4e311fdcd2d330f20b73d2338fa9686
(cherry picked from commit 80870e93a49c08f4f4e57d2c0902d2308faa3f7a)
2016-03-29 20:08:29 +00:00
Jason Monk
0c6e099482 Fix tests and tag them for continuous testage
Change-Id: I25d7d34ff8c12308755be6567aae1db009b59a4d
2016-03-29 15:49:02 -04:00
Udam Saini
bc5aa7a736 Merge "Calling setIsDrawerPresent(false) twice causes a crash." into nyc-dev 2016-03-29 19:42:43 +00:00
Jason Monk
809077d43c Merge "Fix QS expand on tablets" into nyc-dev 2016-03-29 19:16:39 +00:00
Udam Saini
68dab67de2 Calling setIsDrawerPresent(false) twice causes a crash.
We should only call setDrawerLockMode(...) if mDrawerLayout isn't
null.

bug:26288300
Change-Id: I8a1b77e03414360f9cd7e3fa6e6c98ef0e139ebf
2016-03-29 10:55:01 -07:00
Aga Wronska
160222a439 Merge "Action OPEN_DOCUMENT_TREE shows advanced roots ignoring config flag Fixed: 27856396" into nyc-dev 2016-03-29 17:34:45 +00:00
Aga Wronska
973168c142 Action OPEN_DOCUMENT_TREE shows advanced roots ignoring config flag
Fixed: 27856396

Change-Id: I2dc135ac6aa66452edf8bd8439d5e54bcc387070
2016-03-29 10:26:25 -07:00
Jason Monk
85686d6ef6 Fix QS expand on tablets
Fix the way NotificationPanelView checks the X bounds of QS intercepts
since the translation is now on the density container, it should be
the source of truth for x and width.

Bug: 27865453
Change-Id: Id698a63563ed99a509a68386f289e6f28302e1e2
2016-03-29 12:34:28 -04:00
Rakesh Iyer
1d487016f5 Merge "Fix crash in CarNavigationBarController." into nyc-dev 2016-03-29 14:56:31 +00:00
Jason Monk
49573e9c89 Fix overlapping things in battery indicator
Bug: 27335792
Change-Id: I5b39fdad6ba21cbc75b1a0da9f66ae748b8a7f1e
2016-03-29 10:48:33 -04:00
Andrei Stingaceanu
2298bb199c Keyboard shortcuts: RTL for KeyboardShortcutKeysLayout
Introduced RTL support for the KeyboardShortcutKeysLayout and
with another minor change to the dialog layout achived full
RTL support for the keyboard shortcuts UI.

Bug: 22776761
Bug: 27674152
Change-Id: I14e38dc4533208f6fd982a53a1d0305e003d926b
2016-03-29 11:55:16 +01:00
Jaewan Kim
b5923b9b8c PIP: Fix NPE
Change-Id: I80f000fcb7fbac94e633796c07130c9a62001af7
2016-03-29 17:01:23 +09:00
Daichi Hirono
f4e7fa8038 Use AppFuse to write document.
Previously MtpDocumentsProvider used pipes to transfer bytes from an
application to the provider when writing a document.  The problem was
application could not ensure that the last chunk of bytes was
successfully written to MTP device, since pipes had been already closed
when the provider transferred bytes to MTP device. Though the provider
encountered an error, the provider could not report the error to an
application.

The CL switches the method to transfer bytes from pipes to AppFuse. Now
application can flush() bytes on the file descriptor, and flush will not
complete until the provider completes writing bytes to MTP device.

Fixed: 23093747
Change-Id: I4e28f8cbf19d6c97e591943349a7535241d768f7
2016-03-29 16:27:59 +09:00
Winson Chung
9007136ee9 Merge "Fixing regression in recents entrance animation when docking app" into nyc-dev 2016-03-29 00:59:49 +00:00
Tomasz Mikolajewski
21fece7a32 Merge "Add basic jank tests for DocumentsUI." into nyc-dev 2016-03-29 00:45:32 +00:00
Rakesh Iyer
9a8386a803 Fix crash in CarNavigationBarController.
Typo resulted in the wrong key being used to query a map,
causing a NPE.

Bug: 27880811
Change-Id: I357f4869f4e212466d4eef16d5090e1c90a55b4c
2016-03-28 16:06:16 -07:00
Philip P. Moltmann
c7927cb648 Merge "Update printers even if there are no printers found." into nyc-dev 2016-03-28 21:59:40 +00:00
Winson
c69249fd6f Fixing regression in recents entrance animation when docking app
- Merged the two identical launch state flags
- Only relaying out task views if the bounds have changed
- Always setting the task transform instead of the view properties 
  directly

Bug: 27859626
Change-Id: I2571c1660820e21fde87ef82808098809b4d3c24
2016-03-28 14:39:14 -07:00
Felipe Leme
12bf75f354 Merge "Removed FLAG_ADVANCED." into nyc-dev 2016-03-28 21:11:26 +00:00
Jason Monk
d964a9f4d7 Merge "Update the data saver assets" into nyc-dev 2016-03-28 20:40:39 +00:00
Jason Monk
67477d9c1b Update the data saver assets
Bug: 27588223
Change-Id: Ic25a7a695fb2df019b861ef1547da3fca5cd96f9
2016-03-28 16:36:35 -04:00
Wale Ogunwale
ddfc6f7dc9 Merge "Show non-top tasks in the docked stack in recents." into nyc-dev 2016-03-28 20:22:35 +00:00
Jason Monk
ede7d958ab Merge "QS Anim tweaks" into nyc-dev 2016-03-28 20:12:14 +00:00
Felipe Leme
f8cf395636 Removed FLAG_ADVANCED.
On M, internal storage such as bugreport files were only shown when user
selected the "Show internal storage", but such UI has changed on N.

BUG: 27862860
Change-Id: I1edf086a9f9345303595ee952e4646764709d36d
2016-03-28 13:02:04 -07:00
Jason Monk
789e9c04bf QS Anim tweaks
Change-Id: Ic1c3b3c9554dea2b608edfd1b11d255eee38b1ef
2016-03-28 16:00:09 -04:00
Wale Ogunwale
64ae08aa16 Show non-top tasks in the docked stack in recents.
Allows the user to access the task through recents since
it isn't currently visible on screen.

Also, changed recents to launch task currently in the docked
stack in the fullscreen stack when selected from recents list.

Bug: 27864383
Change-Id: I58549023920d064a30b6355367c3193ce3207bbd
2016-03-28 12:06:44 -07:00
Jason Monk
51fb85a088 Fix QS RTL
- Reverse order of pages
 - Change pivot point on date
 - Default to last page position
 - Fix animation

Bug: 27345063
Change-Id: I91aa03810fd3c78c63a07d4b0e0a10127792de60
2016-03-28 14:06:04 -04:00
Aga Wronska
9d032bd9ab Merge "Add full bar mode for search view on small devices" into nyc-dev 2016-03-28 16:18:57 +00:00