22390 Commits

Author SHA1 Message Date
Jason Monk
c0e015a495 Merge "Guard against monkey crash" into nyc-dev 2016-02-25 20:47:13 +00:00
Jason Monk
cb654cb172 Fix drag to add tiles showing too many times
It was appearing from the night tile being unavailable and causing
extra nulls in the list.  Fix the night mode tile so the nulls don't
happen.  Also fix the null handling to avoid this happening with other
bad specs.

Bug: 27061683
Change-Id: I48f769c06ed17c2ff1f166434857ec1faff14d02
2016-02-25 15:43:07 -05:00
Selim Cinek
a0d65ecf77 Merge "Fixed a bug with the scrolling after expanding a notification" into nyc-dev 2016-02-25 20:40:13 +00:00
Julia Reynolds
4077945e1b Remove inline settings slider.
Bug: 22451710
Change-Id: Ia4f85569f878531102d91564d0728a94783cc79d
2016-02-25 15:39:35 -05:00
Philip P. Moltmann
645a3e1ca6 Force cancel pending RemotePrintDocument commands when the PrintActivity exits
Otherwise the print-client app can prevent the print activity from exiting as
we wait for the command to finish. As this is a violation of the
remote-print-document contract we deal with this similar to a command failure.
As the PrintActivity is exiting we don't further send any commands to the
print-client.

Bug: 27207751
Change-Id: Ieacb16786112f217ca5b8031bfb597598e28dc3d
2016-02-25 12:36:27 -08:00
Selim Cinek
94ab18c0f1 Fixed a bug with the scrolling after expanding a notification
Bug: 24866646
Change-Id: I1ca8bfaa42e79dd7f3c5ebfbf94ff2a44718ec7e
2016-02-25 12:35:51 -08:00
Adrian Roos
a52cce2c84 Merge "Fix duplicate eventlogtags warnings" into nyc-dev 2016-02-25 20:18:03 +00:00
Felipe Leme
262887834c Reset UI fields when dialog is reused, otherwise it might contain fields
from a previous bug report.

BUG: 26524513
Change-Id: If9d176806b28120b57dddeb62b636065f8ff7cf6
2016-02-25 12:10:43 -08:00
Felipe Leme
3fd6d9b371 Merge "Final (?) fixes on id / pid split." into nyc-dev 2016-02-25 19:57:42 +00:00
Selim Cinek
f045b5a61b Merge "Make group expanding nicer" into nyc-dev 2016-02-25 19:43:27 +00:00
Selim Cinek
dafa00cb98 Merge "Transforming notifications now based on the user dragging" into nyc-dev 2016-02-25 19:42:25 +00:00
Xiaohui Chen
e90c2c5ae9 sysui: refactor for reuse
Bug: 27099709
Change-Id: I44d3abc7dbed0b655efeb1769fa6a2543bc8322e
2016-02-25 19:16:33 +00:00
Felipe Leme
85ae3cf46a Final (?) fixes on id / pid split.
The main goal of this CL was to change the test cases to send an
EXTRA_ID instead of EXTRA_PID, but in changing that it was revealed 2
minor bugs:

- When setting the name property, it was using id instead of pid (which
  is what dumpstate expects).
- When the pid is replaced by the name in the screenshots, it would be
  replaced twice if the pid was small enough (because the call to
  String.replace() would also replace the counter).

This CL fixes these issues, and removes the temporary assignment of id =
pid when the former is missing.

BUG: 27076108
Change-Id: I70e7ce7d145019438272594686ac0d4d5dbe1723
2016-02-25 11:14:03 -08:00
Selim Cinek
42357e030c Make group expanding nicer
The group expanding now follows the finger.

Bug: 19437552
Change-Id: If85557bb75ea2f2e560cb28d62a06c217187c9c3
2016-02-25 11:02:34 -08:00
Selim Cinek
8f2f6a67fa Transforming notifications now based on the user dragging
The animation is not a canned animation anymore but base on
the finger movement of the user.

Bug: 19437552
Change-Id: I0f81ac2ff05a92673e3f3b9b72a5c2de238890d0
2016-02-25 11:02:30 -08:00
Jason Monk
60a82ffe45 Expose bssids for AccessPoints
Bug: 26271353
Change-Id: Id83cb8ae8f25247e2d8eec9c4e06604b7dbb5488
2016-02-25 13:55:03 -05:00
Jorim Jaggi
d7dbe7c486 Merge "Accessibility for split-screen divider" into nyc-dev 2016-02-25 18:40:22 +00:00
Ben Kwa
355d731ece Merge changes from topic 'dragon-drop' into nyc-dev
* changes:
  Clean up after a drop event.
  Enable dragon drop for touch.
2016-02-25 18:32:48 +00:00
Jorim Jaggi
88afd020b6 Accessibility for split-screen divider
- Add label
- Add actions

Bug: 27274494
Bug: 26894949
Change-Id: I041c44f793f1ec86ec27951cc8e87868148b527d
2016-02-25 13:18:12 -05:00
Jason Monk
6bea950bfa Guard against monkey crash
Bug: 27337783
Change-Id: Ifa1538a0a0521789a516f8cdbc0615a057611ce7
2016-02-25 13:07:41 -05:00
Jaewan Kim
1a9dc566be PIP: Apply the latest UI spec for PIP menu
Bug: 27190196
Change-Id: I71b5f2eb46ee90af8601f4ec02e20e2792ebc4de
2016-02-25 10:03:14 -08:00
Jason Monk
66eaf31a7a Fix QS Issues
- Fix lack of clipping on tablets
 - Fix icons disappearing on animation scroll
 - Fix brightness width on tablets and y location

Bug: 27278616
Bug: 27294042
Change-Id: I0db5a7fe187931cd39287194ff4b003674893c01
2016-02-25 12:42:53 -05:00
Adrian Roos
4cc2a58ed2 Fix duplicate eventlogtags warnings
Moves the protos and event log tags into a library,
so the build system doesn't think they're duplicates.

Bug: 27151225
Change-Id: Ic96b6b811d4813a4c48940081ea77b12fb23f0bc
2016-02-25 09:28:13 -08:00
Adrian Roos
1c7c9d45b4 Merge "Fix anti falsing detection" into nyc-dev 2016-02-25 16:22:38 +00:00
Ben Kwa
1b685e5363 Clean up after a drop event.
- Clear the drop target highlight.
- Exit selection mode.

BUG=27296889

Change-Id: I869bd01cb49555b28b19164638b4c0af48ca8583
2016-02-25 07:44:58 -08:00
Ben Kwa
e3dfebf846 Enable dragon drop for touch.
- Start a drag when the user long-presses on an already-selected item.
- Start a drag when the user mouse-drags on an already-selected item.
- Add highlighting of drop targets.

BUG=20556237

Change-Id: I450fd6768eeb08906304227385476942d641fd11
2016-02-25 07:35:30 -08:00
Daichi Hirono
1bc289c92c Merge "Resolve unmapped document when the device is connected." into nyc-dev 2016-02-25 08:37:14 +00:00
Jaewan Kim
c92a7d12e3 PIP: Make PIPed activity to be focused from Recents
This makes PIPed activity to look like part of the Recents.

Bug: 26946155
Change-Id: Ic0ac441e57af5594c06701fa9d30400f0f7cc5a5
2016-02-24 23:59:27 -08:00
Winson Chung
e1c4641d6f Merge changes Ib309e9de,Ia7cf8b99,I055b0825,Ie2ea4318,If92221d3 into nyc-dev
* changes:
  Fixing crash when focusing tasks.
  Minor tweaks to layout and visuals.
  Improving transition from paging to stack.
  Fixing issue with persistent screenshot notification
  Updating task description when activity is visible.
2016-02-25 03:15:25 +00:00
Jaewan Kim
565f11f9d5 Merge "Revert "PIP: Temporarily disable overlay text bubble timeout"" into nyc-dev 2016-02-25 02:52:14 +00:00
Jaewan Kim
36a165d712 Revert "PIP: Temporarily disable overlay text bubble timeout"
Bug: 27224884
This reverts commit bfef1edd2632fecc99600fcdb5e0d0854373cee1.
2016-02-24 18:50:28 -08:00
Daichi Hirono
9e08d41ca8 Merge "Delete disconnected row when the corresponding remote file is deleted in a MTP device." into nyc-dev 2016-02-25 02:30:44 +00:00
Aga Wronska
5099cca93d Merge "Launch the activity with the test root opened for tests to reduce some flakiness and save time used on opening test root over and over again." into nyc-dev 2016-02-25 02:06:33 +00:00
Daniel Sandler
ab0037c8a0 Merge "N-release temporary platlogo." into nyc-dev 2016-02-25 02:05:55 +00:00
Dan Sandler
bbcf8b6567 N-release temporary platlogo.
What are we going to do 13 releases from now, I wonder?

Bug: 27315386
Change-Id: I65814f9cd686b3bac537565166b2a5d09a9b8f2b
2016-02-25 02:04:51 +00:00
Aga Wronska
b9eeee1543 Launch the activity with the test root opened for tests
to reduce some flakiness and save time used on opening test root over
and over again.

Bug: 27271765
Change-Id: I6fa191ed8e0c7e8e071e4dd17c62aab5db1e23a5
2016-02-24 16:34:43 -08:00
Winson
c438702740 Fixing crash when focusing tasks.
- We call bindVisibleTaskViews() at the new scroll value expecting all
  visible task views at that scroll to be bound synchronously, however, 
  the call to computeVisibleTaskTransforms() would not produce the 
  correct visible range if the visible range at the current and new
  scroll resulted in gaps (ie. at scroll 0, 0-3 are visible, and at 
  scroll s, 5-8 were visible).  As a result, the task view would not be
  bound, causing a later crash.  

  Instead of the optimization before, which would assume every task 
  after the first non-visible task would also be non-visible, we can
  just update the transforms for all task views.  This ensures that 
  all visible task views should be bound, even if they are not in a 
  contiguous range.  A global range is still provided in the call to 
  allow accessibility to focus the next task when a task is unbound at 
  the two ends of the stack.
- Also removing expensive calls to remove all listeners and cancel 
  animations that are not even started.

Bug: 27295423

Change-Id: Ib309e9de3095cacb178ae9ff5c53b8ee2c7ddac0
2016-02-24 16:31:10 -08:00
Winson
12858a6eae Minor tweaks to layout and visuals.
- Constructing max dim paths to be dependent on focused range
- Reducing highlight on tasks
- Making header/icons smaller

Change-Id: Ia7cf8b996428012e9619a640e178b4b42e094d68
2016-02-24 16:31:05 -08:00
Winson
66474134a7 Improving transition from paging to stack.
- When we start scrolling, project the tasks onto the unfocused curve,
  then reduce the offsets from the projected task indices back to the
  normal indices as you scroll.  This doesn’t give you a perfect result,
  especially when scrolling in the same direction as the tasks are 
  offset, but is better than what we have now.

Change-Id: I055b08257fe1427e00e26ffa02f261cf51a8a2e0
2016-02-24 16:31:00 -08:00
Winson
e559171fe1 Fixing issue with persistent screenshot notification
- Ensure that we dismiss notifications when cancelled
- Removing unnecessary notification id and cancel extra
- Fixing the strings when capturing a screenshot fails

Bug: 27149651
Bug: 27177097
Change-Id: Ie2ea4318309fff4041acb04833216fdd5cf8838a
2016-02-24 16:30:38 -08:00
Adrian Roos
c5584ceaad Fix anti falsing detection
The falsing detection stopped listening for touches
when the lockscreen showed without turning the screen off.

This happens e.g. when SystemUI crashes, when switching users,
when ending lock-to-task.

As a result, the falsing detection usually got stuck on a bad
value and without further touches continued preventing all input.

Bug: 27227578
Change-Id: I6717c04b0271e4d2578b88fc584b6ad46492e497
2016-02-24 22:41:59 +00:00
Jason Monk
b7838209cb Merge "QS Tweaks" into nyc-dev 2016-02-24 22:30:38 +00:00
Jason Monk
b53b6c566f QS Tweaks
- Bring back toolbar, save on close, reset -> overflow
 - Fix drag on touch
 - Fix battery icon size
 - Verify correct permission to display QS tile

Bug: 27327479
Bug: 27250519
Bug: 27341503
Change-Id: I8984e441222e004f7ddd4b280b0c154bda2cc742
2016-02-24 17:25:49 -05:00
Ben Kwa
c2dd99a6da Merge "Type-to-focus improvements." into nyc-dev 2016-02-24 21:55:44 +00:00
Ben Kwa
435653451c Merge "Fix a crash when browsing empty roots." into nyc-dev 2016-02-24 21:52:49 +00:00
Jason Monk
ef507c2ed0 Merge "Make sure tuner has metrics coverage for new stuff" into nyc-dev 2016-02-24 21:52:14 +00:00
Ben Kwa
22937c9fc7 Type-to-focus improvements.
- Fix handling of tab and backspace keys while in type-to-search mode.
- Fix search term highlighting on directory items in grid view.
- Switch to a time-based search model.  Typing starts a search.  The
  current search expires if no keys are pressed for 500 ms.
- Make type-to-focus case-insensitive.

BUG=27336167
BUG=27324974

Change-Id: I92633222c9a04af24729501c48885eabebf00696
2016-02-24 13:49:48 -08:00
Steve McKay
12f4509f9f Merge "Don't restore stack when picking copy destination." into nyc-dev 2016-02-24 21:32:39 +00:00
Steve McKay
c95d87c983 Don't restore stack when picking copy destination.
Move fancy drawer "fiddling" to FilesActivity.
Rename the various "Restore" tasks to better reflect their roles.

Change-Id: I7f5c3dee11112bf0a31e6219d09c572c5651629d
2016-02-24 13:29:45 -08:00
Jason Monk
5732df41db Make sure tuner has metrics coverage for new stuff
Change-Id: I1e0d8e34f518cb3fc2bd9ccff0b71dc586ed2ab6
2016-02-24 16:24:55 -05:00