Home
last modified time | relevance | path

Searched refs:mRunningAnimations (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/
DRippleActivity.java55 ArrayList<RenderNodeAnimator> mRunningAnimations = new ArrayList<RenderNodeAnimator>(); field in RippleActivity.RippleView
129 for (int i = 0; i < mRunningAnimations.size(); i++) { in performClick()
130 mRunningAnimations.get(i).cancel(); in performClick()
132 mRunningAnimations.clear(); in performClick()
136 mRunningAnimations.add(new RenderNodeAnimator( in performClick()
139 mRunningAnimations.add(new RenderNodeAnimator( in performClick()
142 mRunningAnimations.add(new RenderNodeAnimator( in performClick()
145 mRunningAnimations.add(new RenderNodeAnimator( in performClick()
148 mRunningAnimations.add(new RenderNodeAnimator( in performClick()
151 mRunningAnimations.add(new RenderNodeAnimator( in performClick()
[all …]
DCirclePropActivity.java63 ArrayList<RenderNodeAnimator> mRunningAnimations = new ArrayList<RenderNodeAnimator>(); field in CirclePropActivity.CircleView
98 for (int i = 0; i < mRunningAnimations.size(); i++) { in performClick()
99 mRunningAnimations.get(i).cancel(); in performClick()
101 mRunningAnimations.clear(); in performClick()
105 mRunningAnimations.add(new RenderNodeAnimator( in performClick()
108 mRunningAnimations.add(new RenderNodeAnimator( in performClick()
111 mRunningAnimations.add(new RenderNodeAnimator( in performClick()
114 mRunningAnimations.add(new RenderNodeAnimator( in performClick()
118 mRunningAnimations.add(new RenderNodeAnimator( in performClick()
122 mRunningAnimations.add(new RenderNodeAnimator( in performClick()
[all …]
/frameworks/base/core/java/android/inputmethodservice/navigationbar/
DKeyButtonRipple.java78 private final HashSet<Animator> mRunningAnimations = new HashSet<>(); field in KeyButtonRipple
291 mTmpArray.addAll(mRunningAnimations); in endAnimations()
302 mRunningAnimations.clear(); in endAnimations()
309 if (mRunningAnimations.isEmpty()) { in setPressedSoftware()
333 mRunningAnimations.add(scaleAnimator); in enterSoftware()
348 mRunningAnimations.add(alphaAnimator); in exitSoftware()
354 if (mRunningAnimations.isEmpty()) { in setPressedHardware()
450 mRunningAnimations.add(startAnim); in enterHardware()
451 mRunningAnimations.add(endAnim); in enterHardware()
473 mRunningAnimations.add(opacityAnim); in exitHardware()
[all …]
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/navigationbar/
DKeyButtonRipple.java85 private final HashSet<Animator> mRunningAnimations = new HashSet<>(); field in KeyButtonRipple
321 mTmpArray.addAll(mRunningAnimations); in endAnimations()
332 mRunningAnimations.clear(); in endAnimations()
339 if (mRunningAnimations.isEmpty()) { in setPressedSoftware()
363 mRunningAnimations.add(scaleAnimator); in enterSoftware()
378 mRunningAnimations.add(alphaAnimator); in exitSoftware()
384 if (mRunningAnimations.isEmpty()) { in setPressedHardware()
486 mRunningAnimations.add(startAnim); in enterHardware()
487 mRunningAnimations.add(endAnim); in enterHardware()
509 mRunningAnimations.add(opacityAnim); in exitHardware()
[all …]
/frameworks/base/core/java/android/view/
DInsetsController.java631 private final ArrayList<RunningAnimation> mRunningAnimations = new ArrayList<>(); field in InsetsController
758 if (mRunningAnimations.isEmpty()) {
761 mRunningAnimations.add(new RunningAnimation(runner, runner.getAnimationType()));
786 if (mRunningAnimations.isEmpty()) { in InsetsController()
793 for (int i = mRunningAnimations.size() - 1; i >= 0; i--) { in InsetsController()
794 RunningAnimation runningAnimation = mRunningAnimations.get(i); in InsetsController()
1006 for (int i = mRunningAnimations.size() - 1; i >= 0; i--) { in onControlsChanged()
1007 mRunningAnimations.get(i).runner.updateSurfacePosition(mTmpControlArray); in onControlsChanged()
1077 for (int i = mRunningAnimations.size() - 1; i >= 0; i--) { in setPredictiveBackImeHideAnimInProgress()
1078 final InsetsAnimationControlRunner runner = mRunningAnimations.get(i).runner; in setPredictiveBackImeHideAnimInProgress()
[all …]
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DSurfaceAnimationRunnerTest.java142 assertFalse(mSurfaceAnimationRunner.mRunningAnimations.isEmpty()); in testCancel_running()
144 assertTrue(mSurfaceAnimationRunner.mRunningAnimations.isEmpty()); in testCancel_running()
175 assertTrue(mSurfaceAnimationRunner.mRunningAnimations.isEmpty()); in testCancel_sneakyCancelBeforeUpdate()
185 assertTrue(mSurfaceAnimationRunner.mRunningAnimations.isEmpty()); in testDeferStartingAnimations()
189 assertFalse(mSurfaceAnimationRunner.mRunningAnimations.isEmpty()); in testDeferStartingAnimations()
/frameworks/base/graphics/java/android/graphics/drawable/
DRippleDrawable.java233 private ArrayList<RippleAnimationSession> mRunningAnimations = new ArrayList<>(); field in RippleDrawable
289 for (int i = 0; i < mRunningAnimations.size(); i++) { in endPatternedAnimations()
290 RippleAnimationSession session = mRunningAnimations.get(i); in endPatternedAnimations()
293 mRunningAnimations.clear(); in endPatternedAnimations()
769 for (int i = 0; i < mRunningAnimations.size(); i++) { in onHotspotBoundsChanged()
770 RippleAnimationSession s = mRunningAnimations.get(i); in onHotspotBoundsChanged()
900 if (mRunningAnimations.size() > 0 && !addRipple) { in drawPatterned()
906 if (addRipple && mRunningAnimations.size() <= MAX_RIPPLES) { in drawPatterned()
919 mRunningAnimations.add(new RippleAnimationSession(properties, !useCanvasProps) in drawPatterned()
922 mRunningAnimations.remove(session); in drawPatterned()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DSurfaceAnimationRunner.java110 final ArrayMap<SurfaceControl, RunningAnimation> mRunningAnimations = new ArrayMap<>(); field in SurfaceAnimationRunner
258 final RunningAnimation anim = mRunningAnimations.get(leash); in onAnimationCancelled()
260 mRunningAnimations.remove(leash); in onAnimationCancelled()
318 mRunningAnimations.remove(a.mLeash); in startAnimationLocked()
330 mRunningAnimations.put(a.mLeash, a); in startAnimationLocked()