Commit Graph

12819 Commits

Author SHA1 Message Date
Winson Chung
2a43922df9 Merge changes Iac20cc7b,I87ce6320
* changes:
  Fixing potential issue with wrong task descriptions being loaded.
  Refactoring to AnimatedEvent.
2015-12-17 22:33:54 +00:00
Winson Chung
296278a067 Fixing potential issue with wrong task descriptions being loaded.
- Also cleaning up the Task to remove some confusing nomenclature
  related to task properties.  Now there is a single icon and title,
  and we keep a copy of the TaskDescription for future icon loading.
- Also changing a few cases where we should be calling isFreeformTask()

Bug: 26221779
Change-Id: Iac20cc7b4912f76c14232a323981ab2e8f62628a
2015-12-17 17:29:40 -05:00
Julia Reynolds
9d7381e28b Merge "Allow users to set app-wide Importance default" 2015-12-17 22:12:04 +00:00
Julia Reynolds
a07af88b95 Allow users to set app-wide Importance default
And the associated ui changes to the notification guts.

Bug: 22451710
Change-Id: I4e0b11e7b24d70b039a432c5e6cd76c9c7cc547c
2015-12-17 16:53:36 -05:00
Winson Chung
aaeaac1783 Refactoring to AnimatedEvent.
Change-Id: I87ce63201120dc687eccd63024801cc2c19bebd6
2015-12-17 11:11:01 -05:00
Winson Chung
aa4f800891 Fixing minor issue with freeform workspace not showing.
- Also slightly tweaking drop target sizes to be a bit smaller

Change-Id: I0e877e64acba5dd165c0d7a2cffb24dea88d673f
2015-12-17 15:31:18 +00:00
Winson Chung
d27dae2085 Merge "Minor fixes to freeform workspace" 2015-12-16 22:37:21 +00:00
Winson Chung
509d0d0c9e Minor fixes to freeform workspace
- Fixing regression where we were clobbering the freeform stack order
- Ensure there is padding between tasks
- Fix the header bar animation

Change-Id: I69ced3e3cb2f0c761ddf0c3bd00b17c847d74c0b
2015-12-16 17:34:32 -05:00
Winson Chung
6545fbfa51 Merge "Fixing merge issue from ag/830529" 2015-12-16 22:08:34 +00:00
Winson Chung
9756755db7 Fixing merge issue from ag/830529
- A whole slew of changes didn't make that CL

Bug: 26043233
Change-Id: I470005f1afbf4ca23e6cfe40a497c5c67bb794aa
2015-12-16 17:07:19 -05:00
Winson Chung
75ca185730 Merge changes Ide26856c,I68bbef59,I2186bdfc
* changes:
  Allowing tasks to be swiped away in the history view.
  Loading activity icons in History view.
  Ensuring that the undocked task is visible in Overview.
2015-12-16 21:27:55 +00:00
Winson Chung
4e5fb2f4e1 Allowing tasks to be swiped away in the history view.
Change-Id: Ide26856c291bcdd1b4ab5e15ae9eb876a9af719b
2015-12-16 15:27:12 -05:00
Winson Chung
b169ebd4c4 Loading activity icons in History view.
Change-Id: I68bbef59d380ce7abe251fca75135775528429d5
2015-12-16 15:27:05 -05:00
Winson Chung
062667710e Ensuring that the undocked task is visible in Overview.
Bug: 26043233
Change-Id: I2186bdfc64af161b8e828061a8e064f90c5cae24
2015-12-16 15:26:57 -05:00
Jason Monk
87ccd55e8a Switch Tuner to support prefs (and some improvements)
Change-Id: I2ef62c0c56d4af69f9f34e1cfd297999d59b7da6
2015-12-16 19:41:25 +00:00
Filip Gruszczynski
6eba3bb352 Merge "Fix sysui crash." 2015-12-16 19:38:50 +00:00
Filip Gruszczynski
1d61863bd8 Fix sysui crash.
Bug: 26228707
Change-Id: I34e2362fecda06380e4640483a71365311f99d57
2015-12-16 11:31:12 -08:00
Winson Chung
636e71c326 Merge "Adding catch for b/26221779" 2015-12-16 18:33:47 +00:00
Winson Chung
f4fdabf698 Adding catch for b/26221779
Change-Id: Id0cf455cd65bf5b202a6249b0b51351addb0bd17
2015-12-16 18:20:59 +00:00
Winson Chung
0142299a99 Merge changes I32cbc333,I34926215
* changes:
  Fixing long compare.
  Cancelling window transition when starting focus animation.
2015-12-16 15:15:57 +00:00
Geoff Mendal
6d27bf3724 Import translations. DO NOT MERGE
Change-Id: I8a5e7004c7370fe174d1af2a49b365bdd35c03f9
Auto-generated-cl: translation import
2015-12-16 06:03:13 -08:00
Adrian Roos
b88b1a1dbd Move RemoteInputView inflation to ContentView
Bug: 22452379
Change-Id: Ieed64f7fa0b0bd742ca8a7746e8baf03ca837e1c
2015-12-15 14:12:49 -08:00
Winson Chung
16bc2a7f37 Fixing long compare.
Bug: 24117216
Change-Id: I32cbc333ff9a145e5b65e923af4dbd80ea035cb1
2015-12-15 15:30:12 -05:00
Winson Chung
ead5c0fc20 Enabling history and paging by default
- Removing associated tuner flags

Change-Id: Ia69bf273489b0079c389e7feb1428071569092d5
2015-12-15 15:30:12 -05:00
Winson Chung
d6b78a330b Cancelling window transition when starting focus animation.
Change-Id: I34926215098c3226e99cc224c36d315fd1736b0a
2015-12-15 15:30:12 -05:00
Winson Chung
48f2cda829 Removing the debug header bar icon.
- Repurposing resize button to move tasks between
  stacks when freeform is enabled
- Enabling freeform workspaces for supported
  devices
- Removing old debug dialog

Bug: 26043230
Bug: 24815256

Change-Id: If3236999dd236de5d5bd665d69edfc17f18f74f0
2015-12-15 15:30:12 -05:00
Winson Chung
db35f84f74 Merge "Only show historical tasks in history." 2015-12-15 14:27:25 +00:00
Winson Chung
1a9053366c Merge changes I598642b1,I788fa06d
* changes:
  Removing historical tasks when packages are uninstalled.
  Saving the stack state when you rotate.
2015-12-15 14:26:58 +00:00
Winson Chung
9965b760c1 Merge "Coordinating empty view with the history view." 2015-12-15 14:26:24 +00:00
Jun Mukai
d4eaef7f4c Make public pointer icon API with custom icons.
BUG: 25778347, 23804184
Change-Id: If138b97c750c912e9848412c27b65004899961eb
2015-12-14 19:45:10 -08:00
Winson Chung
de750de531 Only show historical tasks in history.
- Also only show the history button if there are
  historical tasks (and reflect that in the 
  button text)

Change-Id: I7b9dcf79e2feef61f96b720f586144de4c5033e3
2015-12-14 14:23:21 -05:00
Winson Chung
a8a43dbd12 Removing historical tasks when packages are uninstalled.
Change-Id: I598642b14f55124969cb64f0331afce84115ba06
2015-12-14 14:21:09 -05:00
Winson Chung
4ab4d838d5 Saving the stack state when you rotate.
- Saving the focus and stack scroll, along with
  the history visibility on configuration change.

Change-Id: I788fa06de9af8f7769de26442c804e27daa7e627
2015-12-14 14:16:28 -05:00
Winson Chung
9a74290a95 Coordinating empty view with the history view.
- Moving the empty view into the RecentsView so
  that we can coordinate its animation with the
  history button and the task stack (when history
  is visible, all of the other views are animated
  away, and vice versa)
- Removing unnecessary launch state flag to keep
  track of recent task empty state just for deciding
  animations for system bar scrims.
- Fixing issue with overview button not dismissing
  the history view while it is open
- Fixing issue with swiping the last recent task
  away causing both Overview and the docked task
  to be dismissed to home

Bug: 26044055
Change-Id: I731fb0f7efb3de7d5f826673479c602b606453e9
2015-12-14 14:15:23 -05:00
Julia Reynolds
1ed208f800 resolve merge conflicts of d1aa7ae6d7 to master.
Change-Id: I544371082ed38652a47ed2e383a262f46f93e5a9
2015-12-14 13:32:36 -05:00
Julia Reynolds
d1aa7ae6d7 Merge "Fix volume expand arrow to be displayed correctly"
am: caf1972dee

* commit 'caf1972dee1a63dcab130f9af1d066d6af9c38c2':
  Fix volume expand arrow to be displayed correctly
2015-12-14 09:13:56 -08:00
Winson Chung
0a3d3884c4 Merge "Revert "Saving the stack state when you rotate."" 2015-12-14 16:35:02 +00:00
Winson Chung
8c38fd32ba Revert "Saving the stack state when you rotate."
This reverts commit bf0be0a803.

Change-Id: I40b852889980473aea02828b5b0fe29c21951638
2015-12-14 16:34:31 +00:00
Winson Chung
d44e1904cd Merge "Revert "Removing historical tasks when packages are uninstalled."" 2015-12-14 16:34:29 +00:00
Winson Chung
2c1cac12c7 Revert "Removing historical tasks when packages are uninstalled."
This reverts commit 5d1413e7c3.

Change-Id: I6ca79949b4c92a5825554b91f4350685fa605c8f
2015-12-14 16:34:12 +00:00
Winson Chung
e881553866 Revert "Fixing build."
This reverts commit ae0803182a.

Change-Id: Ieb797e73adfdbfc359ca413f49d56211ae6c70db
2015-12-14 16:34:00 +00:00
Winson Chung
ae0803182a Fixing build.
Change-Id: I4bc5dcc5026179fe2021fb39c20319fbb8f4c5cb
2015-12-14 11:19:38 -05:00
Winson Chung
84515129ed Merge "Removing historical tasks when packages are uninstalled." 2015-12-14 15:40:41 +00:00
Winson Chung
02ba0fd81b Merge "Saving the stack state when you rotate." 2015-12-14 15:40:29 +00:00
Jason Monk
ded2b10520 Merge "Support dnd condition in Settings" 2015-12-14 15:39:55 +00:00
Winson Chung
5d1413e7c3 Removing historical tasks when packages are uninstalled.
Change-Id: I9eb1307264fab8dcace732af2290ca419fcc548a
2015-12-14 10:39:05 -05:00
Winson Chung
bf0be0a803 Saving the stack state when you rotate.
- Saving the focus and stack scroll, along with
  the history visibility on configuration change.

Change-Id: I159d2f0f6c58dac46cb3b16ee4d9e17c426ffb35
2015-12-14 10:39:01 -05:00
Winson Chung
2b9ef6548b Fix: Affiliated tasks not showing when history is enabled.
- Because these tasks may not have valid
  last-active times (they can be launched in the
  background), the historical state should reflect
  the task that they are affiliated with.

Bug: 26043228
Change-Id: I04db9effc371783a80bea80bd0a45b666269ead1
2015-12-14 15:15:57 +00:00
Alexander Toresson
5bb6dcef3f Fix volume expand arrow to be displayed correctly
Sometimes, the volume control expand arrow would be displayed
incorrectly. When different apps use different volume controls and
force different orientations, the position of the arrow (expand button)
will not be updated correctly. When this happens the arrow cannot be
pressed and the volume settings cannot be expanded.

The underlying reason is that onLayoutChange only compares the old
dimensions of a view with the new dimensions, which doesn't take into
account that the last time onLayoutChange was run it may have been run
for a different view (a different volume control), in which case the
dimensions of the new view may not have changed, but the arrow needs to
be repositioned anyway as it needs to be positioned in relation to
another view.

Fix this problem by storing the last stream (volume control) that the
arrow was positioned in relation to, and checking if we're positioning
in relation to the same stream the next time the position of the arrow
is updated.

Change-Id: Id23e7605d50857292e09c1909b3e27f01bdf5e22
2015-12-14 16:11:31 +01:00
Geoff Mendal
b78ee352df Import translations. DO NOT MERGE
Change-Id: I3e31c8e699bedb04b82b364311d9a504527cca98
Auto-generated-cl: translation import
2015-12-14 05:55:22 -08:00