Commit Graph

21633 Commits

Author SHA1 Message Date
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 ec6bc41e18.

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
Adam Powell
ec6bc41e18 Pinning components in ChooserActivity
Move ChooserActivity to SystemUI. This is a safer place for it to live
and still be able to persist data to storage.

Add a context menu to long press for chooser targets allowing users to
'pin' a target component from an app. This causes it to sort to the
front of the list so that a user's favorite apps are always available
from share UIs, etc. Similarly, all ChooserTargets from a pinned
component receive an impossibly large boost for sorting so that they
will always appear first.

Bug 26791843

Change-Id: Ib4e603d9d4263403e98ce619287452ddab593044
2016-01-27 17:17:31 -08:00
Steve McKay
d114cd0733 Merge "Remember view mode by root." 2016-01-28 01:08:51 +00:00
Winson Chung
3f64f3a3c3 Merge "Part 1: Tweaking history transition to match design." 2016-01-28 00:35:36 +00:00
Steve McKay
3eb2d07fd3 Remember view mode by root.
Now stored in local prefs, not recents DB.
Don't consult preferences for recents from DocumentsActivity.

Bug: 22671255 26689962 26411301
Change-Id: I492d85c450253bce984c929a6dd15d7c31ee6a0b
2016-01-27 16:28:28 -08:00
Tony Mantler
a0e03ddd5f Change AccessPoint sorting to bucket signal levels
Keeps the list from jumping around for non-user-visible reasons

Change-Id: I2a47fa2f8e3dfcd95c17c5ffbb552332273eb425
2016-01-27 15:57:03 -08:00
Sudheer Shanka
f5b850e694 Update notification title when admin disallows unredacted ones.
Currently, we use "Contents hidden" message in either case where user
wants to hide sensitive content or admin disallows  unredacted
notifications. Updated to use a different message when the
admin disallows it.
Change-Id: Idc73968ff7894e96d8f9b5be4621cc02f682e0aa
2016-01-27 23:43:06 +00:00
Sudheer Shanka
ff2feb4ca6 Merge "Fix UserAvatarView.setDisabled method." 2016-01-27 23:20:52 +00:00
Winson
49df4209cf Part 1: Tweaking history transition to match design.
- Adding background scrim that can be controlled across transitions 
  within recents.  As a result, we can remove the status bar scrim.
- Moving the history view into the RecentsView now that it animates in
  parallel with the task stack
- Transition home from history no longer goes back to stack view first
- Removing some extra allocations when going into history and loading 
  tasks

Change-Id: I665baefcdd619de5e9366923eaaf4c558261141a
2016-01-27 15:15:44 -08:00
Jorim Jaggi
c573aa7c3a Merge changes I80100f39,I4b39c1c4,I65ce9a23,I5094a137,Id898752f, ...
* changes:
  Make sure SysUI is not constantly redrawing status bar
  Fix app staying in drag resizing when undocking
  Fix flicker when dismissing non-docked stack
  Start drawing immediately
  Improve dismiss/scrolling handling in recents
  Dim harder when dismissing
2016-01-27 22:23:39 +00:00
Jorim Jaggi
936233c78e Make sure SysUI is not constantly redrawing status bar
When status bar was collapsed, bounds were negative thus triggering
a infinite draw loop.

Change-Id: I80100f394fa5e0dd5858569f9535563eac3aeeb4
2016-01-27 14:16:21 -08:00