History log of /frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/FreeformWorkspaceLayoutAlgorithm.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
59924fe0d9136cf349759bea1e06b661603f95fe 17-Mar-2016 Winson <winsonc@google.com> 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
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/FreeformWorkspaceLayoutAlgorithm.java
e693aafe0511c2a7ffc571b22abeefba44046225 01-Mar-2016 Winson <winsonc@google.com> Disabling timer

- Disabling the timer by default
- Adding flag to enable/disable paging (disabled by default). When
disabled, the second tap will just launch the next task.
- Updating the initial state to put tasks at specific points on the
curve. This allows us to allocate specific space for the front most
tasks, as well as the tasks behind it.
- Removing hardware layer config (no devices targeting N depend on it)
- Fixing issue with the header not having the final dim applied when
transitioning into recents.
- Fixing issue where the stack range would not be reloaded after docking
or undocking a task.

Bug: 27409035

Change-Id: I13a03fba2b1a770f15d0033d43ef4c28415041c9
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/FreeformWorkspaceLayoutAlgorithm.java
1499150478b2836a7d2549129ccaed005b24bc06 16-Feb-2016 Winson <winsonc@google.com> Tweaking stack shadows and layout.

- Properly setting view outline alpha
- Ensuring that dismissing while in focused state will return to
non-focused state
- Fixing mis-calculation with bottom stack area

Change-Id: I281b7707421ffde4225180c63c7d40bf325f7f72
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/FreeformWorkspaceLayoutAlgorithm.java
680888123db816ad0c5f082d1e9b3f9b756bc7b6 13-Feb-2016 Winson <winsonc@google.com> Minor tweaks

- Initializing to focused state when going into Recents
- Dimming the front-most tasks to highlight the focused task
- Fixing wrong call to resize in the LruCache

Change-Id: I41833a9dc59a9bdf4a94b698e4800c1019bceb01
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/FreeformWorkspaceLayoutAlgorithm.java
1bcf3c4742da5a1d9c04c73efac5c2418142c262 10-Feb-2016 Winson <winsonc@google.com> Moving dim calculation into the stack layout.

- This simplifies code and also prepares the code for dimming certain
tasks when focused.
- Ensuring that cancelling transitions will completely remove all
listeners in a given animation.

Change-Id: I77050d94097f9af404250c287522d83c146cfb25
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/FreeformWorkspaceLayoutAlgorithm.java
c0d7058b14c24cd07912f5629c26b39b7b4673d5 29-Jan-2016 Winson <winsonc@google.com> Referencing static interpolators.

Change-Id: I5d2292016e869ed533f5873e373a1eccce651fc5
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/FreeformWorkspaceLayoutAlgorithm.java
c5fd350522d9269e6239af818f7261a6ead51570 19-Jan-2016 Winson <winsonc@google.com> Removing extraneous calls.

- Removing calls to ensureCapacity, which was causing reallocations when
using a temporary set with multiple uses.
- Fixing issue with update callback not being called when immediately
updating a TaskView’s transform
- Adding utility methods in preparation for refactoring code


Change-Id: If62c3751ed6af15092a34435df08bb4d627536ea
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/FreeformWorkspaceLayoutAlgorithm.java
5500390a006f2bbea565068234774a36cea076c0 12-Jan-2016 Winson <winsonc@google.com> Reducing numerous extraneous allocations.

Change-Id: Icca49f12a9e0be08eb6d4dbbbf2fd5994a3a25a5
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/FreeformWorkspaceLayoutAlgorithm.java
778f495f0431be15c4c4f4305960465afe0e6d3a 08-Jan-2016 Winson <winsonc@google.com> Removing code to animate thumbnail scale now that we animate bounds.

- This CL reverts the code to the previous state where we can just
calculate the thumbnail scale from the view bounds.

Change-Id: I156ae915af76055b5177a6bdf0f929bdf6acea01
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/FreeformWorkspaceLayoutAlgorithm.java
dc8de848201f64542ad87940cfaa7a5e3d1343ad 07-Jan-2016 Winson <winsonc@google.com> Cleaning up imports and dead code.

Change-Id: Ie59fa7fc7c69eb375792c9227295d75c4672e802
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/FreeformWorkspaceLayoutAlgorithm.java
ef06413afce31800dc8dfee65e5f89bb610f192a 05-Jan-2016 Winson <winsonc@google.com> Moving more callbacks to animated events.

- In preparation for the animation refactoring, this CL just moves the
enter/exit callbacks that route though RecentsView into events that
the task stack can handle directly.

Change-Id: I90f602c5486e1781129225a73dbf97af29477479
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/FreeformWorkspaceLayoutAlgorithm.java
509d0d0c9e2ee165d04e898fea59f8941ac7138d 16-Dec-2015 Winson Chung <winsonc@google.com> 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
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/FreeformWorkspaceLayoutAlgorithm.java
de0591a0788c96757cce1eed93a7e8bc8bd0ef01 05-Dec-2015 Winson <winsonc@google.com> Updating the header bar item visibility with the task view frame.

- In freeform mode, we hide the buttons depending on the available width
of the task view
- Also fixes the rounded corners on the task views as the frame changes
- Tweaking the freeform workspace background

Change-Id: Iec9352acb5cb3ce95c09ff6d1026a9900717d3e6
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/FreeformWorkspaceLayoutAlgorithm.java
bb410951b9ae373999c058fa141b3522ba169960 04-Dec-2015 Winson <winsonc@google.com> Updating layouts to use frame vs translation and clipping.

- This greatly simplifies the freeform layout as well, since we don’t
need to scale and clip the views to match the freeform task bounds.
- Also fixing the animation from the back of the stack

Change-Id: Iba998a788dbdc48d031da8a8c908ea1a9f8f795f
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/FreeformWorkspaceLayoutAlgorithm.java
5b7dd536aa6cb8ce323b47cee109f879feb0d33a 02-Dec-2015 Winson <winsonc@google.com> Updating the freeform workspace layout

- Updating layout for freeform workspaces
- Consolidates the clipping and bitmap scale with the transform to make
the transitions more unified
- Updating clipping as we synchronize scroll instead of afterwards

Change-Id: I33de4e2646c75f0bc0eb75bd6909fe94557196b5
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/FreeformWorkspaceLayoutAlgorithm.java
f0d1c44a59a10707baa0cca8dd377302260710c1 01-Dec-2015 Winson <winsonc@google.com> Adding notion of stack state to the layout.

- This allows us to choose which layout to show, either freeform, stack,
or a combination of the two
- Fixing crash with null bitmap

Change-Id: I659e66d89f7205ccb0c2ba22c57aee95c8d4b3ab
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/FreeformWorkspaceLayoutAlgorithm.java
479f7446cf489fb99c91b3fc2bf96b1dc184f5ba 26-Nov-2015 Winson <winsonc@google.com> Improving drag and drop

- No longer rendering the task view to another drag view, instead we
drag the task view directly. This allows us to do a smooth transition
to and from the freeform workspace and the stack by animating the
thumbnail scale as we clip/unclip the task view.
- Removing the extra code to disable rotation while dragging since the
system does that for us already

Change-Id: I1e02c9319347aace9870eaa4983b3b87c5f0f58e
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/FreeformWorkspaceLayoutAlgorithm.java
387aac6ad7bde21f2c2510cb8a2f3af3959721e0 25-Nov-2015 Winson <winsonc@google.com> Fixing task view heights in paging tasks

- Now, all task views will be bounded by the stack rect, and the
thumbnail bitmaps will be scaled accordingly to fit either by width
(when stacked) or to the view rect (when freeform)
- Fixing issue where the history button was not offset in freeform
- Tweaking thumbnail sizes of fullscreen screenshots
- Still requires changes to fix clipping to the correct aspect ratio in
freeform.

Change-Id: I678b87c2f06947d32f3bb7c60a35f28eb36b5a68
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/FreeformWorkspaceLayoutAlgorithm.java
eca4ab6e99bcb2a7b31b8b4b1c3b5474297b6b25 04-Nov-2015 Winson <winsonc@google.com> Adding dnd to/from freeform workspaces.

Change-Id: I5b75fe5a942e9a2e344e62229e860b5108f9872e
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/FreeformWorkspaceLayoutAlgorithm.java
a5e6b36034fa66549dd71601a86397381c6bf02b 03-Nov-2015 Winson <winsonc@google.com> Updating freeform layout to be static at the top of recents.

Change-Id: I5118d03c115080e05447d325097419b9a1c6f8b4
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/FreeformWorkspaceLayoutAlgorithm.java
36a5a2c7003ef8157f276b411c3fda47ad2f75e3 30-Oct-2015 Winson <winsonc@google.com> Initial layout/behaviour for freeform workspace.

Change-Id: Idc878862747d0d726cbf10be9893c48736673d0e
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/FreeformWorkspaceLayoutAlgorithm.java