• Home
  • History
  • Annotate
  • only in /frameworks/base/packages/SystemUI/src/com/android/systemui/tv/pip/
History log of /frameworks/base/packages/SystemUI/src/com/android/systemui/tv/pip/
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
ipControlButtonView.java
ipControlsView.java
ipManager.java
ipRecentsControlsView.java
ipRecentsOverlayManager.java
2d4d07c66329bad4ad7cabf13eedca5bfe9a1a66 20-May-2016 Jaewan Kim <jaewan@google.com> PIP: Handle configuration changes

Bug: 28727532
Change-Id: I2a566082fa88984ef56d6ed8515c9bcd6a6ea868
ipManager.java
ipRecentsOverlayManager.java
ipUI.java
dded3aa8bdc33063cada498dcfc0e641e68263e1 14-Apr-2016 Jaewan Kim <jaewan@google.com> PIP: Show background scrim for PIP controls in Recents

Scrim will fade in after the PIP control's focus losing animation,
and will be gone immediately when PIP control gets focus.

Bug: 28041690
Change-Id: Ibb7fa0ce15ba1af13781a1bd5e87609fefa95cc0
ipControlsView.java
ipRecentsControlsView.java
66fc3ac40a133435ac7fcc2b236ff04b8e8f36e4 28-Apr-2016 Jaewan Kim <jaewan@google.com> PIP: Prevent PIP icons in Recents from blinking when PIP is closed

Bug: 28426049
Change-Id: I462877376bced76aa168af4e99a9d8c1f2f1bc98
ipRecentsOverlayManager.java
fa255f6ead7097acba8400998c47685cc3defc67 27-Apr-2016 Rob Carr <racarr@google.com> Merge "Revert "Prevent recents from closing while moving PiP to fullscreen."" into nyc-dev
f0fd218382b96f052d22a2e8ee00510cc23a6d1e 20-Apr-2016 Jaewan Kim <jaewan@google.com> PIP: Send KEYCODE_WINDOW to app first if PIP isn't exist

Bug: 27954955
Change-Id: I517e378d5c1672ac0eb87bdf4375b7d733276e58
ipManager.java
1e2c754c2822bd4544e9092c9d0117398be97ea8 21-Apr-2016 Jaewan Kim <jaewan@google.com> PIP: Changed the wording and background of the PIP onboarding screen

Bug: 28300868
Change-Id: I73e465ddac5520e0b70098bf6a39fb85d59ad0f9
ipOnboardingActivity.java
b003364bc7e31e7f85865ef298d399ed61c372a2 22-Apr-2016 Jaewan Kim <jaewan@google.com> Revert "Prevent recents from closing while moving PiP to fullscreen."

This reverts commit 744e6e3aef4d4b6cb3a75e8ecbbc1796da2388b2
to prevent Recents from shown again after an activity is PIPed
immediately after the fullscreen.

Bug: 28333917
Change-Id: Ifeceb910eefc3eef109bdc3ed24e11109f2cf9b4
ipManager.java
fe6f335b638f73d2bb2d343c938a6fa4e0e2eb4d 21-Apr-2016 Jaewan Kim <jaewan@google.com> PIP: Fix system UI crash

Bug: 28306480
Change-Id: Ie36f73c46f3ee8d6a2cb8264458cb0e0410aaecd
ipRecentsOverlayManager.java
34a96e704e6bc12cc06d186ad7a344706a8afb5b 21-Apr-2016 Jaewan Kim <jaewan@google.com> Merge "PIP: Support accessibility" into nyc-dev
744e6e3aef4d4b6cb3a75e8ecbbc1796da2388b2 20-Apr-2016 Robert Carr <racarr@google.com> Prevent recents from closing while moving PiP to fullscreen.

If we close recents when beginning the animation, we will
trigger a resume of the previous fullscreen app, which will
attempt to aniamte in at the same time we are animating
the PiP to fullscreen. These conflict causing flicker and
churn.

Bug: 27793381
Change-Id: I520181dadab938bbf62b25891f5ba0e4e9783967
ipManager.java
f915bf7e9b6b1d0f65f16788d98ee39df0bb2e7b 15-Apr-2016 Jaewan Kim <jaewan@google.com> PIP: Support accessibility

Bug: 27890756
Change-Id: If1689d264075dc23612fd26a46fe67c8b4492ee0
ipControlButtonView.java
ipRecentsOverlayManager.java
7c1f3905af890bd2959f7bf25d2a6f76a8ccd076 14-Apr-2016 Dongwon Kang <dwkang@google.com> Merge "PipManager: Revisit the logic for PIP close for TV app case" into nyc-dev
36530859d061d126ff09abc6dbd65617035dab7c 14-Apr-2016 Jaewan Kim <jaewan@google.com> Merge "PIP: Fix regressions" into nyc-dev
cac7b221ae24377e67e04afba67362c7c9a09a22 14-Apr-2016 Jaewan Kim <jaewan@google.com> Merge "PIP: Implement new onboarding spec" into nyc-dev
8ad841944ebc2e10c620e5bb70135def4a9e5005 14-Apr-2016 Jaewan Kim <jaewan@google.com> PIP: Update the focusability of recents row whenever Recents is shown

Bug: 28175628
Change-Id: I39da6ca3a8d379b85cea2341b3b61f93bf8cada4
ipRecentsOverlayManager.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
ipRecentsOverlayManager.java
9d712faa453f51f2a6b0571faccbf8eab3b65cba 14-Apr-2016 Jaewan Kim <jaewan@google.com> PIP: Implement new onboarding spec

Bug: 27954437
Change-Id: Ib939a4ca5f304821036a43971ae7f45b7802ed8a
ipOnboardingActivity.java
353d8d78ac9f581536abd35840be87ad9f72650e 14-Apr-2016 Dongwon Kang <dwkang@google.com> PipManager: Revisit the logic for PIP close for TV app case

Bug: 26644185
Change-Id: I566f965796bc5a50b4e2ecf08b7217c6565cb163
ipManager.java
6309cabcda6a6a3e2e397808f34ec6cc91b535aa 14-Apr-2016 Jaewan Kim <jaewan@google.com> Merge "PIP: Implement focus change animation in PIP control buttons" into nyc-dev
1e59f2412d716adece672e8fe6a4784a3b3f4814 07-Apr-2016 Jaewan Kim <jaewan@google.com> PIP: Implement focus change animation in PIP control buttons

This includes following animation.
- Fix focus change animation duration among the PIP control buttons
- Apply ripple animation for PIP control buttons
- PIP menu enter/exit animation.

Bug: 27677096
Change-Id: I2f992416efc8a0994eeb56d5dec00201fd08a7aa
ipControlButtonView.java
ipControlsView.java
ipMenuActivity.java
ipRecentsControlsView.java
ipRecentsOverlayManager.java
4ba16e66fe32b25b2d1f89237d507d6f7d3d8b6d 07-Apr-2016 Jaewan Kim <jaewan@google.com> PIP: Implement overlay text fade in/out

Bug: 28030603
Change-Id: Iac3e0007b66173f13082b3625c0dbfc8e6990ffa
ipOverlayActivity.java
d89a6944aadf3ca8d3838f84aa7dec27538cadd6 08-Apr-2016 Jaewan Kim <jaewan@google.com> PIP: Move PIP to left when Settings is visible

Default PIP location hides the upper part of the Settings,
so it should be moved a bit not to cover it.

Bug: 27891236
Change-Id: I6f13419cc9dc91522696c14a202e25652bd2232a
ipManager.java
4b12df6f7ec1684c4ae5218668ad26d0e8cf81d7 06-Apr-2016 Jaewan Kim <jaewan@google.com> Merge "PIP: Apply the latest Recents row animation when PIP control is focused" into nyc-dev
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
ipRecentsOverlayManager.java
10a86910aa66781ba3343bbb782d449a5a78248e 04-Apr-2016 Jaewan Kim <jaewan@google.com> PIP: Fix regressions caused by previous commit a0d4d25

This includes two fixes
- Restore PIP location when PIP menu is closed.
- Prevent PIP from moving to fullscreen when it's resized directly
via ActivityManager with animation.

These are regressions caused by
a0d4d25 PIP: Apply the animation spec for the PIP in Recents

Bug: 27540465
Change-Id: Id5b131faa3052a809138ab058bcfe65ce6a820b7
ipManager.java
ipMenuActivity.java
ipOverlayActivity.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
ipControlsView.java
ipManager.java
ipMenuActivity.java
ipOnboardingActivity.java
ipOverlayActivity.java
ipRecentsControlsView.java
ipRecentsOverlayManager.java
b5923b9b8cba215f818c4b026491be107aa1eff5 29-Mar-2016 Jaewan Kim <jaewan@google.com> PIP: Fix NPE

Change-Id: I80f000fcb7fbac94e633796c07130c9a62001af7
ipControlsView.java
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
ipControlsView.java
ipManager.java
ipMenuActivity.java
ipOverlayActivity.java
938a50b424eb73ee96d34c96b5e2cbd11f733d7a 14-Mar-2016 Jaewan Kim <jaewan@google.com> Refactor SystemServicesProxy to manage ITaskStackListener locally

This reduces the IPC calls between system service and SystemUI app.

Bug: 27635150
Change-Id: I6886edbc8e3736416af06c8de204f2a3b470ccd1
ipManager.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
ipManager.java
ipMenuActivity.java
ipOnboardingActivity.java
ipOverlayActivity.java
742983e711ba3132cd09e1b277e9de53ae6596d5 22-Mar-2016 Jaewan Kim <jaewan@google.com> Merge "PIP: Prevent PipOverlayActivity from restarting" into nyc-dev
e75a9adfbd37f9ec1a9324caceb9d5d7ceed217c 19-Mar-2016 Wale Ogunwale <ogunwale@google.com> Added support to specify animation duration when resizing stack

Needed for sys-ui to control the duration of various Pip transitions.

Bug: 27674339
Change-Id: I7bad27aaa19755a73c594e88b88b56db033e1a45
ipManager.java
21e0421235b2b0b29119264b99504eccad099744 21-Mar-2016 Jaewan Kim <jaewan@google.com> PIP: Prevent PipOverlayActivity from restarting

PipManager moves the PIPed activity to fullscreen if the activity is
restarted. It's because the activity may be started by the Launcher or
an intent again, but we don't want do so for the PipOverlayActivity.

Bug: 27689029
Change-Id: Icebc09e22e5f5f4650fcdbfdd8c452b7cf23844b
ipManager.java
ipOverlayActivity.java
1ea8722f933b761ef791813968ff0cc202a2f8b9 10-Mar-2016 Jaewan Kim <jaewan@google.com> Merge "PIP: Close PIP if media session is gone" into nyc-dev
f40fcdca2cabbebb59826191a3ec2fca11f0d93a 04-Mar-2016 Jaewan Kim <jaewan@google.com> PIP: Close PIP if media session is gone

This keeps the PIP if there's no media session from the beginning.

Bug: 26717072
Change-Id: Idf5bab14d8979c0e50f4451f61bb9355d4562b96
ipManager.java
c64b0eeee30e5248291a3b662f4348ece7fa166f 04-Mar-2016 Jaewan Kim <jaewan@google.com> PIP: Provide a way to show onboarding everytime

This is for development and debug purpose.
To use this,
$ adb shell 'setprop debug.tv.pip_force_onboarding true; stop; start'

Change-Id: I9755266f8de00b87ce3ad1efbe9c57261aaf38c7
ipManager.java
88baef6bfc4f45b91abf6f0c13f2eb862153d74f 04-Mar-2016 Jaewan Kim <jaewan@google.com> PIP: Apply the comment from the previous commit

This applies the comment from the following CL
32686b6 PIP: Fix move to full screen

Change-Id: Iece46ee85f6e5c3040c9c1431236319e0dbd4105
ipMenuActivity.java
32686b6da5978729a9b9a3de288e1d0556701ea1 03-Mar-2016 Jaewan Kim <jaewan@google.com> PIP: Fix move to full screen

Change-Id: I6aeb230f77aef2c16c7a93a767b9a810407dfac3
ipMenuActivity.java
3ebc1e3f9963c8d786f83f21abb6b6f78270ede1 26-Feb-2016 Jaewan Kim <jaewan@google.com> PIP: Show recents again when PIP menu is closed

Framework enforces that an app cannot go back to Recents.
So launches the Recents again for the PIP menu.

Change-Id: I7526edfe7dd38c7eb1befe6a8b2b5f4ea30aa84e
ipMenuActivity.java
623381921c4b9c26c888cdbe3307d5bfb9c23db1 25-Feb-2016 Jaewan Kim <jaewan@google.com> PIP: Implement play/pause button in menu

Bug: 26685243
Change-Id: Id3138cc35dbef90d91767797e7f26f3c60191b1a
ipManager.java
ipMenuActivity.java
ipOnboardingActivity.java
ipOverlayActivity.java
9c23b28a2283359eb79fd18a2994c91be63cbf22 26-Feb-2016 Jaewan Kim <jaewan@google.com> PIP: Restore PIP size when PIP menu is gone

Change-Id: Ifb1bf992b875dc2cf10a3e9e05ca0b1fe6bd535b
ipMenuActivity.java
91b440aaea97a61b277bfa6466edf3644e451aa0 26-Feb-2016 Jaewan Kim <jaewan@google.com> Merge "PIP: Apply the latest UI spec for onboarding activity" into nyc-dev
edd02dc1595f20c6e36db05527375b7735cd8191 23-Feb-2016 Jaewan Kim <jaewan@google.com> PIP: Apply the latest UI spec for onboarding activity

Bug: 27273286
Change-Id: I57b3050e1f07ffbcee66e30404578937f65c3189
ipOnboardingActivity.java
ipOverlayActivity.java
1a9dc566bea8abc8293ab9db40711147e99a65ea 17-Feb-2016 Jaewan Kim <jaewan@google.com> PIP: Apply the latest UI spec for PIP menu

Bug: 27190196
Change-Id: I71b5f2eb46ee90af8601f4ec02e20e2792ebc4de
ipManager.java
ipMenuActivity.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
ipManager.java
ipOverlayActivity.java
36a165d71200fbbd42e0508d81239545ef34adae 25-Feb-2016 Jaewan Kim <jaewan@google.com> Revert "PIP: Temporarily disable overlay text bubble timeout"

Bug: 27224884
This reverts commit bfef1edd2632fecc99600fcdb5e0d0854373cee1.
ipOverlayActivity.java
ffd4c73a293ebac22efa644db99ba907f9776604 22-Feb-2016 Youngsang Cho <youngsang@google.com> Merge "PIP: Rename closeInternal to closePipInternal" into nyc-dev
336007ba719dab28a1837abfef0d6fcbbf4b7fb2 22-Feb-2016 Youngsang Cho <youngsang@google.com> PIP: Rename closeInternal to closePipInternal

Change-Id: I6e1e98a1a75728d057a7dee3edbd2f2a6f32112d
ipManager.java
d78bf970ca8b7a48bf26651016c034b5e319456c 22-Feb-2016 Youngsang Cho <youngsang@google.com> Merge "Close PIP when PIP activity is finished" into nyc-dev
23df699451c3bb4fcb0121702a48f38c0fe19b04 27-Jan-2016 Youngsang Cho <youngsang@google.com> Close PIP when PIP activity is finished

Bug: 26717072
Change-Id: I5dd431b0ee64ca152bd49013bb6bbb3e8d9fba71
ipManager.java
88072ab9b1991fba7abc21b48a6def7532faf6af 18-Feb-2016 Jaewan Kim <jaewan@google.com> Merge "PIP: Temporarily disable overlay text bubble timeout" into nyc-dev
bfef1edd2632fecc99600fcdb5e0d0854373cee1 18-Feb-2016 Jaewan Kim <jaewan@google.com> PIP: Temporarily disable overlay text bubble timeout

Bug: 27224884
Change-Id: I2aeae84b62d3918d5e43ea5fda616a37683e1841
ipOverlayActivity.java
ed0f7e22978536491af49f4bbca3349b6d95f44c 18-Feb-2016 Wale Ogunwale <ogunwale@google.com> Make PipOverlayActivity views visible onResume

Also moved the scheduling of the invisible timeout to onResume.

Change-Id: If56d61a2e20b08748e1c9f7f3ab1b12b22320110
ipOverlayActivity.java
06e8ee0c8ad2527add3db3dd1a1d4eee9d8631f8 12-Feb-2016 Wale Ogunwale <ogunwale@google.com> Added AM API to remove a stack

Use the new API when closing Pip.

Bug: 26982752
Change-Id: I074d23b5535a4534626183ab77142d3932a803f0
ipManager.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
ipManager.java
ipMenuActivity.java
ipOnboardingActivity.java
ipOverlayActivity.java
977dcdc3cda467b9bad63ed6c2c363326d976ddd 20-Jan-2016 Jaewan Kim <jaewan@google.com> PIP: Implement the initial version of onboarding screen

Redlines and assets will be applied later.

Bug: 26676479
Change-Id: I1a42fad0b918681c64ae84abb1bff8fac3289004
ipManager.java
ipOnboardingActivity.java
54fa566ab74368bd0f0a8e9da7c695b2d33d6124 30-Jan-2016 Jaewan Kim <jaewan@google.com> Merge "PIP: Use StatusBarService to handle PIP key"
c0d7058b14c24cd07912f5629c26b39b7b4673d5 29-Jan-2016 Winson <winsonc@google.com> Referencing static interpolators.

Change-Id: I5d2292016e869ed533f5873e373a1eccce651fc5
ipManager.java
ipMenuActivity.java
ipOverlayActivity.java
c552b04cb4aac9d31dbaf9744f32ddc14886e222 18-Jan-2016 Jaewan Kim <jaewan@google.com> PIP: Use StatusBarService to handle PIP key

Bug: 26591829
Change-Id: I7051fab966e2fc0887b2a21ddbf11aff7e16804b
ipManager.java
6a00b709f9ceda69c3abbf24051c518bc4fb22a5 26-Jan-2016 Youngsang Cho <youngsang@google.com> Handle TaskStackListener.onPinnedActivityRestartAttempt in PIP system UI

Bug: 26452296
Change-Id: Ic828462dce0b6f88c9b00fac36ade5492cec94fb
ipManager.java
cc25a8a24ea85409f440c052fdf36dc304cd7111 23-Jan-2016 Wale Ogunwale <ogunwale@google.com> Send notification we attempted to start an already running pinned acitvity

API will be used by Android TV sys-ui to decide what to do next with the
Pinned activity.

Bug: 26452296
Change-Id: I5411515d079468616422ba9e5093164a924cd6a2
ipManager.java
efbbd496f97c82088ff0722ef9bc6f60e75abff4 21-Jan-2016 Youngsang Cho <youngsang@google.com> Use ActivityOptions.setLaunchBounds to resize PIP

Bug: 26574470
Change-Id: I5444ae40a51cf2746d78b4c006e5936c91d01ae4
ipManager.java
ipMenuActivity.java
ad8ceb037ea54573e4e9b869641c56cb63abba53 16-Jan-2016 Youngsang Cho <youngsang@google.com> Close picture-in-picture when a fullscreen app starts to play a video

Bug: 26549507
Change-Id: I27e8f7b1847bf0e34e7c47bf6303c425c3eb9127
ipManager.java
f164792472dae77b14a47a30ad66c1a0e41340b0 17-Dec-2015 Youngsang Cho <youngsang@google.com> Initial check-in of picture-in-picture system-ui

Bug: 26549507
Change-Id: I6c69b5e2b5492858fc997657b5a06d3e50ca16e3
ipManager.java
ipMenuActivity.java
ipOverlayActivity.java
ipUI.java