summaryrefslogtreecommitdiff
path: root/packages/SystemUI/src/com/android/systemui/statusbar/AlphaOptimizedFrameLayout.java
Commit message (Collapse)AuthorAgeFilesLines
* Revisit how launch animations handle View visibilityJordan Demeulenaere2023-01-201-9/+0
| | | | | | | | | | | | | | | | | | | | | | | | | This CL refactors the way the ActivityLaunchAnimator and DialogLaunchAnimator handle the visibility of the animated View when that View implements LaunchableView. Before this CL, a View that is animated would always end up being VISIBLE, even if something made that View INVISIBLE or GONE before or during the animation. That is because our animation code would sometimes change the visibility of the View, using View.setVisibility. After this CL, when animating a LaunchableView, all the visibility changes made to the animated View are done using View.setTransitionVisibility instead. That way, a LaunchableView can track all calls to View.setVisibility only and restore the last visibility that was set on the View at the end of the animation. Doing so ensures that all calls made to View.setVisibility have the expected result once the animation is done. Bug: 264728445 Test: DialogLaunchAnimatorTest Change-Id: I5848d42ef94952ecf058d4e895164389e37e0311 (cherry picked from commit 9ecb3db788b9f6be586c0f4f90c19d6337a7cd1b) Merged-In: I5848d42ef94952ecf058d4e895164389e37e0311
* Implement LaunchableView for footer actions Views.Jordan Demeulenaere2022-08-251-1/+32
| | | | | | Bug: 243636422 Test: Manual Change-Id: I0264b119d60cc70c1d9a23d056343c764242a955
* Remove unused imports in frameworks/base.John Spurlock2015-02-281-1/+0
| | | | Change-Id: I031443de83f93eb57a98863001826671b18f3b17
* Improve motion when expanding/collapsing status bar.Jorim Jaggi2014-06-301-0/+51
- Don't fade the whole panel anymore. - Parallax effect for QS header translation, fade on keyguard. - Improve fling curve for dismissing the panel. - Improve peeking behavior. Bug: 14804452 Bug: 15407838 Change-Id: I34b7bcd457cb8a037e0bb06e9802ec66d2b39b73