23260 Commits

Author SHA1 Message Date
Aga Wronska
3d6dc3a60a Merge "Add metrics for create directory and rename file operations" into nyc-dev 2016-03-30 22:04:24 +00:00
Philip P. Moltmann
456f1e33b8 Merge "Update print preview when option is changed and clear ranges when they layout changes" into nyc-dev 2016-03-30 21:44:19 +00:00
Joseph Pirozzo
43b5d980d8 Merge "PBAP client Settings profile." into nyc-dev 2016-03-30 21:00:54 +00:00
Jason Monk
be8612de2c Fix QS animation visibility issue on lockscreen
Change-Id: I4ed417051b1efe23952b20a993830ba06f8faee7
Fixes: 27616176
2016-03-30 16:31:32 -04:00
Aga Wronska
6f000a1a63 Merge "Add metrics for opening the drawer" into nyc-dev 2016-03-30 20:13:51 +00:00
Vladislav Kaznacheev
0fd3b1abda Merge "Update DocumentsUI according to DragStartHelper API changes" into nyc-dev 2016-03-30 19:43:47 +00:00
Joseph Pirozzo
563c700f70 PBAP client Settings profile.
Add content to Settings and SettingsLib to add a checkbox for PBAP
client profile, and remove the box for PBAP server profile when the
client profile is enabled.

Bug: 27642222
Change-Id: I125559904a8e017a01ae90b1f6425129a87cbee3
2016-03-30 12:20:51 -07:00
Vladislav Kaznacheev
0e84279947 Update DocumentsUI according to DragStartHelper API changes
Bug: 27810240
Change-Id: I1daed13d6d9cc215a6b1ba4d0ad259a996b0eb5f
2016-03-30 11:14:29 -07:00
Aga Wronska
7dcf81e6fa Add metrics for opening the drawer
Change-Id: I1315463c5217ce47aa7fa40ddd8b8773c7038208
Fixed: 27905111
2016-03-30 11:05:04 -07:00
Aga Wronska
4e8c7f61be Add metrics for create directory and rename file operations
Change-Id: I4814673b4066efa840e1fb52a7549d8c7ebc4f63
Fixed: 27908149
2016-03-30 11:00:03 -07:00
Jason Monk
b01a0afb4e Merge "Fix QS panel after density changes" into nyc-dev 2016-03-30 17:52:27 +00:00
Jason Monk
f160edcab9 Fix QS panel after density changes
Fixes: 27744717
Change-Id: Ic3724b39e027379bb81e94e7059e67d2bbe30e88
2016-03-30 13:49:58 -04:00
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