[go: nahoru, domu]

History log of /frameworks/base/packages/SystemUI/src/com/android/systemui/recents/tv/RecentsTvActivity.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
a9e0621f33233c43f29e876b6c1055cf1dc855fc 16-May-2016 Jaewan Kim <jaewan@google.com> PIP: Improve PIP control row's focus change animation in Recents

This includes following changes for performance
1. Passes the key events directly between the windows instead of using
dummy Views and OnFocusChangeListener to prevent main thread from
handling unnecessary focus changes.
2. Limits the window size for PIP controls to reduce unnecessary draw.

Here's the test result. Test is performed with paused PIP video
1. 5 visible recents task
Focus down: 48.14 fps -> 85.396 fps (+77.39%)
Focus up: 24.67 fps -> 45.33 fps (+83.77%)
2. 3 visible recents task
Focus down: 51.98 fps -> 132.72 fps (+155.34%)
Focus up: 30.91 fps -> 53.38 fps (+72.69%)

Bug: 28042495
Change-Id: I363232176975b160e122748c9997ef4b46b73a28
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/tv/RecentsTvActivity.java
17d29b6d70a23d56c55a50cce00ffa66ed58ac63 25-May-2016 Sid Soundararajan <ssoundar@google.com> Alternate method for adding dismiss in talkback

This is an alternate solution. Not sure if this is better than
the current solution.

BUG: 28594452
Change-Id: I08b4ca8741ceb3491950ba779510b08775bd0ee7
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/tv/RecentsTvActivity.java
4332dda9a76191b0f055dedbea8d509a20d5c455 12-May-2016 Sid Soundararajan <ssoundar@google.com> Add a check to adjust thumbnail scaling for full screen shots on TV

This should let us get away with taking smaller bitmaps for TV.

BUG: 28371792
Change-Id: Ia5d43dd48c57c4dd519b46f0c0d0ec94df5f42a9
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/tv/RecentsTvActivity.java
16c91bd47f1ed378441adc89cde69b161562e3b3 18-May-2016 Jaewan Kim <jaewan@google.com> PIP: Fix NPE when enters Recents with PIP

Bug: 28826021
Change-Id: Ic81f705dccbd4b334ed5a26345fdc5fee23f5a68
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/tv/RecentsTvActivity.java
1aae32b44abd189c905c4ac799422829ce24b186 17-May-2016 Sid Soundararajan <ssoundar@google.com> Merge "Move onStart update of recents tasks to onResume" into nyc-dev
ea98d35d62ec9e8273e5e632feec167c24a90a15 17-May-2016 Sid Soundararajan <ssoundar@google.com> Merge "Add an extra to HOME intent to indicate it comes form recents." into nyc-dev
165410d445bf200ac615d4d1abc7221e95c5f82c 16-May-2016 Sid Soundararajan <ssoundar@google.com> Add an extra to HOME intent to indicate it comes form recents.

This allows the launcher to know how to handle HOME press properly
when a video is playing in the background. Without this, the Launcher
dismisses it's UI.

Launcher CL: https://googleplex-android-review.git.corp.google.com/#/c/1043435/

BUG: 28173127
Change-Id: Iab0c5013fc41f79a6fd45f49904edd0d0f9c17ff
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/tv/RecentsTvActivity.java
9df42a37c3bfe15f6515228f4a2c4f2f31c7978c 16-May-2016 Jaewan Kim <jaewan@google.com> Workaround that Recents is shown again after an activity is PIPed

Bug: 28333917
Change-Id: Ib85db2ffdb588476b7bc7cd764af95d759f518b5
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/tv/RecentsTvActivity.java
de3321d13bcac4108affa2a80de9c7d30eaa0ce6 11-May-2016 Sid Soundararajan <ssoundar@google.com> Move onStart update of recents tasks to onResume

This is needed to ensure that the update happens between app
launches, since translucent apps do not get to onStop(). Part of fixes
to improve performance for bug.

BUG: 28371792
Change-Id: I47e3a20bba4f006bfc637635d9c9af697a7fc648
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/tv/RecentsTvActivity.java
dfd7be012b889f92d3e7e6d80ff7fe6b55c75901 10-May-2016 Winson <winsonc@google.com> Fixing issue with excluded task showing when docking.

- On multi-window state changes, we should not include the front most
excluded task when fetching the task list. This CL also clarifies
which tasks are included and excluded.

Bug: 28452689

Change-Id: Ia30eaf75382286a9d4ee5a5b11013dddf8e4ac82
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/tv/RecentsTvActivity.java
061f81e7b03a7cc82157416ef53c88b70ebb5876 05-May-2016 Sid Soundararajan <ssoundar@google.com> Reset Cards as they come into view

This will ensure that they are in the correct configuration. Needed since
recycler view will be re-using views.

BUG:28632740
Change-Id: Icdaa48696e198cfeb8c37718fec05f7f9b195842
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/tv/RecentsTvActivity.java
d46b72788e8811d2e423ea1e5b2ff104ecb7f721 20-Apr-2016 Winson <winsonc@google.com> Removing legacy calculation of Recents visibility.

- This was causing us to try and launch the Recents activity again after
docking because the running task was the newly docked task and not
Recents.

Bug: 28177001
Change-Id: I222e50f6de00a9d7881da2182eebc61564fd3266
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/tv/RecentsTvActivity.java
f915bf7e9b6b1d0f65f16788d98ee39df0bb2e7b 15-Apr-2016 Jaewan Kim <jaewan@google.com> PIP: Support accessibility

Bug: 27890756
Change-Id: If1689d264075dc23612fd26a46fe67c8b4492ee0
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/tv/RecentsTvActivity.java
419c89533a148d0037e98b801068bb81f8a2cd2a 11-Apr-2016 Jaewan Kim <jaewan@google.com> PIP: Fix regressions

This includes following fixes
- Press back key to go to Home from Recents
- Do not show Recents when an activity is PIPed immediately after moved
to fullscreen.

These regressions are caused by
c81082b Improve Animation Calculations to remove Jank

Bug: 28107787
Change-Id: I3078a5d8a9505c8d03cceee329e5d740efae7feb
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/tv/RecentsTvActivity.java
15986f0900255e1a6adf1ff5efff5e0e8a94476d 13-Apr-2016 Sid Soundararajan <ssoundar@google.com> Merge "Have Recents focus second task when launched, if 2 or more tasks are available" into nyc-dev
85b0a0f1eccc0c32a2032385f2f199c76c50a917 09-Apr-2016 Sid Soundararajan <ssoundar@google.com> Fix issue with All Tasks Dismissed

Fix issues dealing with dismissal of apps.

BUG: 27933484
Change-Id: If9494bd2debefedd023e8b1d57484276c52f0fed
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/tv/RecentsTvActivity.java
18cfc84f4814f87d660d04bad4f9941e6d503125 08-Apr-2016 Sid Soundararajan <ssoundar@google.com> Have Recents focus second task when launched, if 2 or more tasks are available

This should kill 2 bugs.

b/27952292
b/27876144

Change-Id: I49521fc4b7fc52b9b34ce71b108cbe795e40104f
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/tv/RecentsTvActivity.java
67ed54a724df258738062e60d7f702f396502b49 30-Mar-2016 Sid Soundararajan <ssoundar@google.com> Add Home Recents Transition Animations

b/27349208

Change-Id: I2f97954aad8671eb8dc006f3b949abc8025f4c33
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/tv/RecentsTvActivity.java
04cbe870ae6c8721d6322c248d40bb94a9cb5a09 04-Apr-2016 Jaewan Kim <jaewan@google.com> PIP: Apply the latest Recents row animation when PIP control is focused

Bug: 27540465
Change-Id: Ib3b40fb64953a175593eab789552db3c231f0227
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/tv/RecentsTvActivity.java
a0d4d2588dfa5cbd09100c5b06c8ecfeaaf3a279 31-Mar-2016 Jaewan Kim <jaewan@google.com> PIP: Apply the animation spec for the PIP in Recents

Bug: 27540465
Change-Id: Ibdd4a4e3fd194978ccbc29235a1c620ebddff942
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/tv/RecentsTvActivity.java
a1ededd056d51532ab18354f17f8065ec1134535 25-Mar-2016 Winson <winsonc@google.com> Launch state/config change audit. (Part 1)

- Fixing issue with onResume logic being run even when the window focus
is changing. This only needs to be run when we are launching into
Recents again.
- Removed a bunch of launch state flags that are no longer necessary
because of changes to configuration handling. This reduces the work
that we have to do on resize, etc.
- Decoupled the resume with the stack-update, which fixes a couple
issues where we were updating the layout unexpectedly.
- Fixed an issue where we were not updating the nav bar scrims on
configuration change
- Fixing margin start/end regression in header bar
- Fixing small issue with paddings being scaled beyond their base size
- Fixing issue where the clip state was not properly getting reset
causing lots of overdraw.

Change-Id: I9aeb191a99ff23807b3f5d905f6480b10157a060
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/tv/RecentsTvActivity.java
48e34670a69b3951cd22a2263680697d0bd0ffbb 25-Mar-2016 Youngsang Cho <youngsang@google.com> Merge "PIP: Dismiss Recents when PIP moves to fullscreen" into nyc-dev
8f584b8dee2a2a15a1777fabf6ba033b78419b9a 22-Mar-2016 Jaewan Kim <jaewan@google.com> PIP: Apply the new UX spec for PIP in Recents

Detailed animations will be applied in another CL.

Bug: 27540465
Change-Id: I3664dc10efadeb8f183a4871a684c706e1472999
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/tv/RecentsTvActivity.java
72a67c93166b8da5f800e59f5d7ac18f33ad38e7 24-Mar-2016 Youngsang Cho <youngsang@google.com> PIP: Dismiss Recents when PIP moves to fullscreen

Bug: 27792906
Change-Id: I3d5c813362868c332e805a7beb325e9874e31606
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/tv/RecentsTvActivity.java
008ee15fe82c8216e8e4f67e3032de468cc6c92a 19-Mar-2016 Winson <winsonc@google.com> Completely removing dead code related to search widget.

Bug: 27742174
Change-Id: Ie478c562f6152338417aca5262b7f33ee4ca7ed5
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/tv/RecentsTvActivity.java
82ac50d607ac252905bf8a095d6e6061f023664e 21-Mar-2016 Jaewan Kim <jaewan@google.com> PIP: Fix NPE when an activity is PIPed again immediately

More proper fix would be not showing Recents after an activity is PIPed,
but NPE shouldn't be happen so let me propose the CL as the first step.

Bug: 27634771
Change-Id: Ie98293b7dd2d206567ded08d54134164aa78ca9c
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/tv/RecentsTvActivity.java
8873754f66527d2cc9feab295dd4eef23298212a 17-Feb-2016 Winson <winsonc@google.com> Refactoring to update stack in onResume.

This CL fixes a long-standing issue in which Recents is not updated
correctly if it is not completely hidden and shown. In particular, it
would cause animation issues when launching into a non-fullscreen
activity or if the user quickly toggles between recent tasks. It
contains several fixes:

- The visual state in Recents is no longer reset until the activity is
fully hidden (onStop() is called), and the task stack state is saved
allowing us to return to the same initial state. When restarting the
activity, we propagate whether the activity was hidden down the view
hierarchy, so that each task can decide whether to reset itself.
- When the recents activity is started, we now merge the new stack with
the current stack instead of replacing it completely. This unifies
the logic when dismissing multi-window while Recents is open, and this
CL fixes an issue with the merging where onStackTaskAdded() was called
before the stack was updated with the new task. As a result of this
change, we can just rebind the task views without having to return and
pick them up from the view pool.
- This CL also fixes an issue with flashing when the screen turns off.
The activity onStop() can be called before the activity is fully
hidden, which would trigger a reset(), which would return all views to
the pool.

Bug: 23815609
Bug: 25411120
Bug: 27186407
Change-Id: I83d74c947f9b47766d6778b7f5c421bb6df833e9
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/tv/RecentsTvActivity.java
d27dafeadeb38d451826122d0505702abf58bd1d 04-Mar-2016 Sid Soundararajan <ssoundar@google.com> Merge "Add Launch Task Animation, re-do values for red-lines." into nyc-dev
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/tv/RecentsTvActivity.java
1008cc25863be3d86e01c15eeabe9dfedb963224 01-Feb-2016 Sid Soundararajan <ssoundar@google.com> Add Launch Task Animation, re-do values for red-lines.

This is a cherry-pick of https://googleplex-android-review.git.corp.google.com/#/c/859952/
Adjusted to fix merge conflicts.

Change-Id: I8395a4172bd34faff88094913ee4afd97f71076a
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/tv/RecentsTvActivity.java
623381921c4b9c26c888cdbe3307d5bfb9c23db1 25-Feb-2016 Jaewan Kim <jaewan@google.com> PIP: Implement play/pause button in menu

Bug: 26685243
Change-Id: Id3138cc35dbef90d91767797e7f26f3c60191b1a
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/tv/RecentsTvActivity.java
c92a7d12e345e05272f3e84d49d75c77dc6e3edc 16-Feb-2016 Jaewan Kim <jaewan@google.com> 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
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/tv/RecentsTvActivity.java
480dca0d1b08f8895f66f857e9bd341033fab2d9 06-Feb-2016 Wale Ogunwale <ogunwale@google.com> Reduce jank during pinned stack animation

- Don’t launch Pip overlay activities during pinned stack animation.
This causes extra CPU load and takes a way resources from the running
animation.
- Finish Pip overlay activities before starting pinned stack resize
animation. Reduces the amount of work the system needs to do to keep
the overlays in-sync with the other activities in the pinned stack.
- Use AM.resizeStack with null bounds to take Pip to fullscreen so that
we can animate the bounds changed.
- Also, fixed Activity.enterPictureInPicture API to animate the transition
if Pip is entered from the app instead of Pip manager.

Bug: 25672053
Change-Id: I82399c10f1b8c675ea3861ba973dc8ecfbfbe50f
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/tv/RecentsTvActivity.java
e161f08e98fdbe6fe83f70ffa1ea11142a027ebe 05-Feb-2016 Jorim Jaggi <jjaggi@google.com> Multi-window optimizations #3

- Make sure divider is pushing frames only if necessary
- When starting recents while docking, make sure no unnecessary
animations are played to reduce system load.

Change-Id: I536f009aef7282ed85dde79b853aeae62644f3e3
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/tv/RecentsTvActivity.java
d952961977a0eb6c1fefcb0707d1c61741515f68 28-Jan-2016 Winson <winsonc@google.com> Fixing some drag and drop issues.

- When opening recents while there is a task docked, initialize the
stack scroll to the front of the stack
- When undocking a task while recents is open, scroll to the front of
the stack
- Fixing offset when adjusting the task stack size due to top inset
being double applied in some dock states
- Fixing issue with task view not scaling when picking up from the
freeform workspace

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

Change-Id: I5d2292016e869ed533f5873e373a1eccce651fc5
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/tv/RecentsTvActivity.java
b58c46acec2e270f24ca587a64298f06cefb09cb 27-Jan-2016 Sid Soundararajan <ssoundar@google.com> Initial Commit of a Horizontal Grid View based recents UI for TV.

Change-Id: I048210e6fc91abafa41300ccb219b7bb9c84e835
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/tv/RecentsTvActivity.java