21644 Commits

Author SHA1 Message Date
Steve Pfetsch
9ad66d365b Merge "Fixed NullPointerException in SystemUI" 2016-01-29 17:59:47 +00:00
Rubin Xu
a0a5836562 Merge "Enable work mode quick settings tile" 2016-01-29 17:50:04 +00:00
Daichi Hirono
f11f14cbde Merge "Return NULL available bytes when the MTP device is closed." 2016-01-29 09:17:07 +00:00
Daichi Hirono
83983d75cb Return NULL available bytes when the MTP device is closed.
Before MtpDocumentsProvider opens a device, it cannot fetch the storage
size. Currently it says 0 bytes available. But actually it is unknown.

BUG=26866812

Change-Id: I3f24773da8e76fe1092c11f1335aac9703f1b3f9
2016-01-29 17:37:36 +09:00
Selim Cinek
acec8ad6cb Merge "Animating the work profile button location now" 2016-01-29 03:04:40 +00:00
Selim Cinek
d0803bb4ad Merge "Fixed a bug with the media notication template" 2016-01-29 03:04:22 +00:00
Selim Cinek
0d07c7eccd Animating the work profile button location now
Media notifications have them in a different location
so we'd like to animate it.

Change-Id: I50d289bc6ed73d56dcad8cebdcb7101e2aad6ea9
2016-01-28 19:02:21 -08:00
Selim Cinek
6ecc810ca2 Fixed a bug with the media notication template
The image could overlap with the buttons due to
the specced way. This is now fixed.

Change-Id: I346467d48b5f8337d09af4b20e5cdfcd41e12b81
2016-01-28 19:02:20 -08:00
Steve Pfetsch
ef39ce87d3 Fixed NullPointerException in SystemUI
NullPointerException occurred on some devices during boot if no user
listener is attached to MultiUserSwitch.

Change-Id: Id6aabf81e0e982a4a6d88d78dcae639a7cbedee4
2016-01-28 18:41:19 -08:00
Andrei Stingaceanu
8861cb002f Keyboard Shortcuts UI - add shortcuts to dialog.
This is the first UI iteration which contains elements for
displaying the keyboard shortcuts. Is is by no means final,
the following items (and maybe more) still need to be actioned:

* no UI for phone
* no view for system shortcuts (which contain icons)
* the shortcut items container needs a custom layout which
  needs to wrap and right align elements (prototype done)
* find or build an util which can produce human readable
  names of the baseCharacter and the modifiers (so far I
  found a few functions, none of them good)
* not pixel-perfect
* the scrollbar does not show
* the last separator (before the DONE button) is not
  visible

Change-Id: I0d191e9516ab8f4728f40b3eefe9d854249ee7a8
2016-01-29 02:07:22 +00:00
Steve McKay
5a2120820a Merge "Files always visible, same for new window menu." 2016-01-28 23:42:34 +00:00
Steve McKay
f2580c5d05 Merge "Create new windows on *other* side in multi-window mode." 2016-01-28 22:32:29 +00:00
Adrian Roos
59b69096c4 Merge "Flipping the bit on the HIC" 2016-01-28 22:30:28 +00:00
Sid Soundararajan
d1e2332ea3 Merge "Initial Commit of a Horizontal Grid View based recents UI for TV." 2016-01-28 21:16:51 +00:00
Andrei Stingaceanu
30c33e09b6 Merge "RestrictedLockUtils - introduce check for suspended apps" 2016-01-28 21:01:53 +00:00
Andrei Stingaceanu
44af4828c3 RestrictedLockUtils - introduce check for suspended apps
Used in Settings for restricting preferences.

Bug: 22776761
Change-Id: I6aad4400981cee00c734060ea3d6cf2641a721d9
2016-01-28 20:56:04 +00:00
Steve McKay
a7e923c57c Create new windows on *other* side in multi-window mode.
Bug:26831180
Change-Id: Ie3fb22847e70cd78998d467a8af9bf20642304e5
2016-01-28 12:03:48 -08:00
Sudheer Shanka
26387474fa Merge "Add padlocks to more qs tiles." 2016-01-28 19:51:39 +00:00
Sudheer Shanka
b6fc931204 Add padlocks to more qs tiles.
Bug: 26764485
Bug: 26765645
Change-Id: I89bb1b3b9a507772299778a1b3611884441408c9
2016-01-28 19:48:46 +00:00
Steve McKay
5fe5c458dc Files always visible, same for new window menu.
Remove "productivity_device" bit.

Change-Id: I28ee3e210fc5f8c367d45a74edab0e04667ddd5e
2016-01-28 11:43:08 -08:00
Pavel Maltsev
3311dc17a9 Merge "Fix indexOutOfBound exception in SystemUI" 2016-01-28 19:21:10 +00:00
Selim Cinek
19ba7050c3 Fixed that notification content were sometimes not readable
Because dark was only called on the visible view.

Change-Id: I4c9a00e7fcc29c107432fc7f0c61bc095c2e77a0
2016-01-28 19:20:51 +00:00
Sid Soundararajan
b58c46acec Initial Commit of a Horizontal Grid View based recents UI for TV.
Change-Id: I048210e6fc91abafa41300ccb219b7bb9c84e835
2016-01-28 11:13:23 -08:00
Filip Gruszczynski
2a25dd5c91 Merge "Animate pinned stack resizing." 2016-01-28 17:57:52 +00:00
Adam Powell
5720c8c141 Merge "Revert "Pinning components in ChooserActivity"" 2016-01-28 17:20:07 +00:00
Tony Mantler
14d7b39544 Merge "Change AccessPoint sorting to bucket signal levels" 2016-01-28 17:15:12 +00:00
Adam Powell
e7c74cc96e Revert "Pinning components in ChooserActivity"
This reverts commit ec6bc41e1835804533fd21b3ef8047ecd893bcfd.

Bug 26842512

Change-Id: I9fc775d21081885d0e26fca4ade412a18da45b7c
2016-01-28 09:04:20 -08:00
Sudheer Shanka
afa51a0ee6 Merge "Add a DPM method to allow system to query parent profile instance." 2016-01-28 16:48:31 +00:00
Filip Gruszczynski
84fa3351a2 Animate pinned stack resizing.
This introduces animating of stack bounds within window manager
module. It also uses this type of animation when moving an activity from
fullscreen stack to pinned stack.

Bug: 25672053
Change-Id: I75914a685d10021f8a7535b47ef12b6920b3fd5e
2016-01-28 08:47:54 -08:00
Sudheer Shanka
978fc0d44c Add a DPM method to allow system to query parent profile instance.
Bug: 26830384
Change-Id: Ib12b171b1032bd86488f32f8d22eb0a9efb75e8f
2016-01-28 16:36:00 +00:00
Sudheer Shanka
6a38e65b7d Merge "Update notification title when admin disallows unredacted ones." 2016-01-28 14:43:35 +00:00
Michal Karpinski
bc0ce99043 Merge "Logging of keyguard actions into security log" 2016-01-28 11:47:23 +00:00
Michal Karpinski
31502d3d95 Logging of keyguard actions into security log
Bug: 22860162
Change-Id: I7dbe68fff7d9d45b6c417d960cf025c8d0694917
2016-01-28 11:07:56 +00:00
Daichi Hirono
750d0f0c09 Merge "Reuse buffer when reading bytes from files." 2016-01-28 06:08:21 +00:00
Pavel Maltsev
04a22a26d6 Fix indexOutOfBound exception in SystemUI
Long-pressing events are optional, refactor code a little bit to avoid exceptions.

Bug:26806128
Change-Id: Ib883b4d5d31af256fc40ab2b4293ba1bf2abef3f
2016-01-27 21:56:32 -08:00
Jaewan Kim
3842e318b2 Merge "PIP: Disable translations for picture-in-picture temporarily" 2016-01-28 05:42:45 +00:00
Winson Chung
8e781d94ab Merge "Part 3: Fade in app icons" 2016-01-28 05:35:59 +00:00
Daichi Hirono
2f310f6d5d Reuse buffer when reading bytes from files.
Previously AppFuse getObjectBytes returns byte array and the array's
length needs to equals to the exact number of bytes the method read.

The CL change the function signature so that it can return the number of
read bytes. And reuse a buffer array instead of slicing the array with
valid length.

BUG=None

Change-Id: I78b714554cac9ae71b895cb8929bc98969f5a8ca
2016-01-28 14:09:26 +09:00
Jaewan Kim
f986b458d6 PIP: Disable translations for picture-in-picture temporarily
UX and strings are not finalized yet, so do not ask for translation
for a while.

Bug: 26602353
Change-Id: I8d823ace47cae39a07a68ac8867ae58e2cd03f70
2016-01-28 13:57:06 +09:00
Tomasz Mikolajewski
748ea8cc78 Show a warning notification and a dialog in case of conversion when copying.
Change-Id: I451b0944069deb5f0b49b54c514e7761be449e3d
2016-01-28 13:12:55 +09:00
Jason Monk
a9f128832f Add preview section to nav bar tuner.
It uses density scaling to show a slightly smaller real time version
of the nav bar, so you can see edits without possibly breaking the
nav bar.

Also fix rotation in the tuner, cause it was broken.

Change-Id: I3de89c3df25c6adb18f0aef41b597c96446d1631
2016-01-27 23:05:11 -05:00
Jason Monk
8457ad89a8 Add keycode buttons to nav bar tuner
Allow a keycode (list generated from KeyEvent.java) and a image to
be selected as a new KeyButtonView to be shown in the nav bar.

Change-Id: I26fcad5b74a96090f2c5574fd214b4afbcadbb30
2016-01-27 23:05:11 -05:00
Jason Monk
3b58714344 Add clipboard to tuner
Allow button to be added to nav bar that acts as a drag target/source
for the clipboard.

Change-Id: I94ca3c7decd1a1b178ceb9a4b4ab9e275c90acbb
2016-01-27 23:05:06 -05:00
Jason Monk
46a196e250 Allow width control of nav bar buttons
Encode the width as part of the spec as a float. For instance:
"home[.5]" is a home button with half its normal width.

The UI will allow users to adjust the width of standard buttons and
spaces from .25 to 1.75, excluding the app shelf, which fills all
available space.

Change-Id: Icd2f498c164933d61f55d779b3e9be0afaba9c2d
2016-01-27 23:03:36 -05:00
Jason Monk
3ebd23943b Nav bar tuner
Allows reorginization of the navigation bar.  First pass.

Change-Id: If546ca5835412d15c05c41ffd5c5aa0857b9417f
2016-01-27 23:03:36 -05:00
Jason Monk
f0c6f64e5b SysUI Tuner: Color mod v2
Change-Id: Id2734c2f4ee8724ef7d7e633fed124454e2d8c5a
2016-01-27 23:03:36 -05:00
Winson
6d5b8b8e44 Part 3: Fade in app icons
- Fixing misordered call to remove the callbacks when recycling before
  unloading the actual task data
- Prevent thumbnails from being fetched while loading icons in the
  history view.

Change-Id: I8f5dc65f867e60c2d062bb8222c91bf98f54f6d6
2016-01-27 18:37:41 -08:00
Winson Chung
bed00cc437 Merge "Part 2: Adding clear-all to history" 2016-01-28 02:20:55 +00:00
Adam Powell
2ebfc6f59e Merge "Pinning components in ChooserActivity" 2016-01-28 01:38:05 +00:00
Winson
214f0f0dc8 Part 2: Adding clear-all to history
Change-Id: I9cd51f2a97ebe0f306e4934cdcac1a522526cf50
2016-01-27 17:25:02 -08:00