Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
platform_frameworks_base-old
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Farzin Kazemzadeh
platform_frameworks_base-old
Commits
99c0c2d1
Commit
99c0c2d1
authored
9 months ago
by
Jeff DeCew
Committed by
Android (Google) Code Review
9 months ago
Browse files
Options
Downloads
Plain Diff
Merge "Reset SSA animationProperties on each animation pass" into main
parents
53265788
737a4c88
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/StackStateAnimator.java
+7
-0
7 additions, 0 deletions
...emui/statusbar/notification/stack/StackStateAnimator.java
with
7 additions
and
0 deletions
packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/StackStateAnimator.java
+
7
−
0
View file @
99c0c2d1
...
...
@@ -37,6 +37,7 @@ import com.android.systemui.statusbar.NotificationShelf;
import
com.android.systemui.statusbar.notification.row.ExpandableNotificationRow
;
import
com.android.systemui.statusbar.notification.row.ExpandableView
;
import
com.android.systemui.statusbar.notification.row.StackScrollerDecorView
;
import
com.android.systemui.statusbar.notification.shared.NotificationHeadsUpCycling
;
import
com.android.systemui.statusbar.notification.shared.NotificationsImprovedHunAnimation
;
import
java.util.ArrayList
;
...
...
@@ -178,6 +179,10 @@ public class StackStateAnimator {
mHeadsUpDisappearChildren
.
clear
();
mNewEvents
.
clear
();
mNewAddChildren
.
clear
();
if
(
NotificationsImprovedHunAnimation
.
isEnabled
()
||
NotificationHeadsUpCycling
.
isEnabled
())
{
mAnimationProperties
.
resetCustomInterpolators
();
}
}
private
void
initAnimationProperties
(
ExpandableView
child
,
...
...
@@ -592,6 +597,7 @@ public class StackStateAnimator {
Interpolators
.
LINEAR
);
mAnimationProperties
.
getAnimationFilter
().
animateY
=
true
;
mTmpState
.
animateTo
(
changingView
,
mAnimationProperties
);
mAnimationProperties
.
resetCustomInterpolators
();
}
else
if
(
endRunnable
!=
null
)
{
endRunnable
.
run
();
}
...
...
@@ -697,6 +703,7 @@ public class StackStateAnimator {
Interpolators
.
FAST_OUT_SLOW_IN_REVERSE
);
mAnimationProperties
.
getAnimationFilter
().
animateY
=
true
;
mTmpState
.
animateTo
(
changingView
,
mAnimationProperties
);
mAnimationProperties
.
resetCustomInterpolators
();
}
}
else
if
(
endRunnable
!=
null
)
{
endRunnable
.
run
();
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment