23147 Commits

Author SHA1 Message Date
Alan Viverette
76ba7186fe Merge "Move DensityUtils into SettingsLib" into nyc-dev 2016-03-25 19:59:39 +00:00
Alan Viverette
8890cfa67f Move DensityUtils into SettingsLib
Bug: 27644685
Change-Id: I24b9e53d9add294eba43b612b30e3c4d6f74c8b5
2016-03-25 14:56:38 -04:00
Aga Wronska
a7329c5133 Merge "Fix copying folders using keyboard shortcuts" into nyc-dev 2016-03-25 18:22:43 +00:00
Aga Wronska
abd321a8c9 Merge "Make pressing 'Back' button open the drawer when in Recents root" into nyc-dev 2016-03-25 18:21:50 +00:00
Philip P. Moltmann
ebf397625e Merge "Change hasCustomPrintIcon and setStatus as requested by API council." into nyc-dev 2016-03-25 16:50:36 +00:00
Selim Cinek
91628f6cf3 Merge "Fixed a bug with the number of notifications visible on lockscreen" into nyc-dev 2016-03-25 16:36:18 +00:00
Aga Wronska
b85ec6d0ee Merge "Revert "Revert "Make status bar translucent. Make drawer appera below status bar."" with a fix for cts tests." into nyc-dev 2016-03-25 16:14:15 +00:00
Selim Cinek
53f8e7d5de Fixed a bug with the number of notifications visible on lockscreen
It also accounted for invisible groups.

Bug: 24866646
Change-Id: I97de1468bdaaafbdbe69de5d1599555d5cf8f3f7
2016-03-25 15:27:28 +00:00
Selim Cinek
197823da52 Fixed a bug where longpress was not possible in landscape
The clause used there was using a reused value of a motion event
and therefore not trigger, even if it should have.
Also added a clause which this was actually used for to remove
the long press callback when using the inline settings slider.

Bug: 27352426
Change-Id: I9c432eeb354d7d5e72b375cfc5ead9e04a4e6c81
2016-03-25 15:26:42 +00:00
Daichi Hirono
77dc205bcb Merge "Add new metric to DocumentsUI to record launch time." into nyc-dev 2016-03-25 12:20:36 +00:00
Daichi Hirono
7352c55e78 Add new metric to DocumentsUI to record launch time.
BUG=27255964

Change-Id: I0bebdb95a0008ce087550849b4ca5fc5ead5c664
2016-03-25 19:04:39 +09:00
Jaewan Kim
00b41d18a5 Merge "PIP: Apply the new UX spec for PIP in Recents" into nyc-dev 2016-03-25 05:01:13 +00:00
Jaewan Kim
8f584b8dee PIP: Apply the new UX spec for PIP in Recents
Detailed animations will be applied in another CL.

Bug: 27540465
Change-Id: I3664dc10efadeb8f183a4871a684c706e1472999
2016-03-25 13:30:16 +09:00
Winson Chung
941a1f81b0 Merge "Don’t scale task thumbnails." into nyc-dev 2016-03-25 03:51:09 +00:00
Winson
217009356e Don’t scale task thumbnails.
- Changing task view thumbnail layout.  In portrait, scale the thumbnail
  to width for portrait screenshots, and apply the same scale to 
  landscape screenshots.  In landscape, scale screenshots up to 1:1, and
  tweak the app transition to clip the sides instead of scaling.
  In both orientations, fill with the background color in the remaining
  space.
- Moving some resources related to the title bar to be calculated 
  programmatically so that we can have different header bar sizes which 
  completely overlap the action bar in the screenshot in each 
  orientation.
- Constraining the task stack width in landscape to portrait

Bug: 27504677
Change-Id: Ic9b6fdde6dd728d9f2d20a8b89c05b3a350edfbf
2016-03-24 20:03:02 -07:00
Daichi Hirono
09ece6c68b Implement FUSE_WRITE command in app fuse.
The CL adds a handler for FUSE_WRITE command which invokes a Java
handler.

BUG=23093747

Change-Id: I1903fca6b5663e6241ad540a89fe812310ba6810
(cherry picked from commit 35693da25af11583053d4af6a70d4acbf446978d)
2016-03-25 11:18:44 +09:00
Philip P. Moltmann
d74d1e5491 Change hasCustomPrintIcon and setStatus as requested by API council.
Bonus: null advanced keys produced a exception deep in the print
       spooler. Hence prevent null keys on the surface from now on.

Bug: 27716355
Change-Id: I3c064956f4e670cd7091437ade06605aa8d797b0
2016-03-24 16:53:36 -07:00
Joe Onorato
a8a644e5f6 Merge "Turn off verbose logs and remove log that is covered by verbose logs." into nyc-dev 2016-03-24 23:21:47 +00:00
Felipe Leme
3e39f50a3d Merge "Proper handle of duplicated BUGREPORT_STARTED." into nyc-dev 2016-03-24 22:14:43 +00:00
Winson Chung
533daacef7 Merge "Disabling affiliated tasks." into nyc-dev 2016-03-24 19:10:48 +00:00
Robin Lee
363e70dd00 Merge "Declare provider.Settings intent for VPN fragment" into nyc-dev 2016-03-24 18:32:52 +00:00
Joe Onorato
13460a6cba Turn off verbose logs and remove log that is covered by verbose logs.
Bug: 27744135
Change-Id: I436cfd325f87b3b9205d50e92e2a70a50dd33344
2016-03-24 11:32:17 -07:00
Robin Lee
a249aee10b Declare provider.Settings intent for VPN fragment
Currently used for a number of tests. May also be useful for 3rd-party
apps using VPN in some manner or another.

Bug: 27700919
Bug: 26887434
Change-Id: I4d269954265a2590499e20150f009fe437c8078f
2016-03-24 17:25:06 +00:00
Winson
d8f7431d0f Disabling affiliated tasks.
Bug: 27701456
Change-Id: I9ed42215bdff12540f68e803ea822d38890a1382
2016-03-24 09:59:51 -07:00
Winson Chung
5d443a43a5 Merge "Fix transition to the wrong location on screen." into nyc-dev 2016-03-24 16:55:20 +00:00
Paul Jensen
a6f2691391 Merge "Make captive portal login app not restart upon device rotation." into nyc-dev 2016-03-24 16:03:12 +00:00
Clara Bayarri
3e5bf786b7 Merge "Keyboard Shortcuts: plumb deviceId through" into nyc-dev 2016-03-24 13:30:48 +00:00
Clara Bayarri
0c4ad623ce Merge "Keyboard Shortcuts: Make Modifiers human-readable" into nyc-dev 2016-03-24 11:50:38 +00:00
Clara Bayarri
bfd996f5cd Merge "Keyboard Shortcuts: Add Keycodes for shortcut representation" into nyc-dev 2016-03-24 11:49:05 +00:00
Clara Bayarri
fcd7e80b21 Keyboard Shortcuts: plumb deviceId through
Bug: 27673736
Change-Id: Ie72807aa8c2bfd142b081a6a915e101c16d31473
2016-03-24 11:47:32 +00:00
Clara Bayarri
b9057df9f5 Keyboard Shortcuts: Make Modifiers human-readable
Bug: 27454791 27419260
Change-Id: Ic98b9e265f16d417b9c401032714b49deb8d9f92
2016-03-24 11:47:31 +00:00
Clara Bayarri
4e850ffaa7 Keyboard Shortcuts: Add Keycodes for shortcut representation
This changes the current API given app feedback received. In order to use
keycodes as well as chars we also must implement a mapping of Keycodes to
Display labels as only keys with a single char representation are provided
by KeyCharacterMap.

Bug: 27409783
Change-Id: I3da653adc4b8cbc66a4d1aa24a5f9181f71e83c3
2016-03-24 11:47:23 +00:00
Tomasz Mikolajewski
50c8d49d4c Merge "Make the activated root color darker in DocumentsUI for better a11y." into nyc-dev 2016-03-24 09:37:58 +00:00
Tomasz Mikolajewski
588d6934d5 Make the activated root color darker in DocumentsUI for better a11y.
Bug: 27724950
Change-Id: Ie1150aae6e6dabe1dc460a99deec4ccfa48ec080
2016-03-24 17:02:46 +09:00
Winson Chung
0df18a12bf Merge "Adding workaround for crash." into nyc-dev 2016-03-24 03:25:29 +00:00
Winson
c5b12dd37e Fix transition to the wrong location on screen.
- TaskStackLayoutAlgorithm currently depends on the launch state to 
  calculate the right bounds, which means that the launch state has to
  be set before the call to getThumbnailTransitionActivityOptions().  
  When double-tapping quickly, we would use the old launch state which
  would cause us to calculate the wrong bounds.

Change-Id: I5dd9f38b49652a6ac8bed4b9fd4ffa02dfe90289
2016-03-23 20:25:12 -07:00
Adrian Roos
93c687c4ba Merge "Scroll to remote input view" into nyc-dev 2016-03-24 02:52:32 +00:00
Daichi Hirono
b2ef9ed7c4 Merge "Use mipmap instead of drawable for app icon of DocumentsUI." into nyc-dev 2016-03-24 02:50:18 +00:00
Winson
22574afa00 Adding workaround for crash.
Bug: 27815919
Change-Id: I04d70d16dd8b8281ba1ffbba056d475d834d5b54
2016-03-23 19:27:25 -07:00
Winson
f8597b2aef Tweaking scroll-to-launch task animation.
- Always scroll so that the launch task is focused

Change-Id: I84516d0799ad0b308cfa458f4ce79c82acc48f51
2016-03-23 19:02:40 -07:00
Winson
8f6ee48225 Completely removing dead code related to history view.
- This CL repurposes the history button above the stack to a more
  generic “stack action” button in preparation for a future change.

Bug: 27742174
Change-Id: I1da274bf88c77bdc09d91072683b2ea7ca022432
2016-03-23 18:49:22 -07:00
Winson
008ee15fe8 Completely removing dead code related to search widget.
Bug: 27742174
Change-Id: Ie478c562f6152338417aca5262b7f33ee4ca7ed5
2016-03-23 18:49:22 -07:00
Winson
59924fe0d9 Iterating on stack layout
- Tweaking initial layout to show more of the next task
- Bounding the width of the stack to the smallest display edge length
- Fixing issue where the screen pinning button was not shown when
  entering recents from home, and the task view clip state was not
  restored correctly for tasks in front of the launch task.
- Fixing issue where there was no alpha during the transition to/from
  home
- Refactoring and removing unused dimens, and moved remaining layout
  calculation logic out of RecentsConfiguration.
- Fixing small regression in finding task anchor scroll points. This
  caused tasks to be animated strangely when swiping to dismiss and
  the task had an override task progress.
- Fixing several regressions in drag and drop due to override progresses

Change-Id: I1eac1dcea19e502bc7fe6362011b38977e3f3d6d
2016-03-23 18:48:03 -07:00
Jaewan Kim
98551e43b5 Merge "Refactor SystemServicesProxy to manage ITaskStackListener locally" into nyc-dev 2016-03-24 01:31:42 +00:00
Jaewan Kim
938a50b424 Refactor SystemServicesProxy to manage ITaskStackListener locally
This reduces the IPC calls between system service and SystemUI app.

Bug: 27635150
Change-Id: I6886edbc8e3736416af06c8de204f2a3b470ccd1
2016-03-24 10:22:34 +09:00
Adrian Roos
5153d4ac95 Scroll to remote input view
Bug: 27668960
Fixes: 27668960
Change-Id: Ie8f7858257922362b289ea4e4e22e689e1405e58
2016-03-24 01:19:43 +00:00
Aga Wronska
1334376d1d Merge "Add guard to access drawer toolbar when setting accessibility, because this toolbar does not exist in fixed_layout mode." into nyc-dev 2016-03-24 00:43:21 +00:00
Tomasz Mikolajewski
378f409034 Merge "Fix testModelIdIsUnique test in DocumentsUI." into nyc-dev 2016-03-24 00:40:07 +00:00
Aga Wronska
96e30eba1e Make pressing 'Back' button open the drawer when in Recents root
Change-Id: I3c6cbcd3d2d003af1a6459c3bfd193ee45021882
Fixed: 27230999
2016-03-23 17:14:18 -07:00
Aga Wronska
d01aac3a81 Fix copying folders using keyboard shortcuts
Change-Id: I1f7797cfc7d0b564b8c70a26b3eca49b02c0da55
Fixed: 27409583
2016-03-23 16:15:30 -07:00