Home
last modified time | relevance | path

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

/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
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/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DKeyButtonRipple.java73 private final HashSet<Animator> mRunningAnimations = new HashSet<>(); field in KeyButtonRipple
258 mTmpArray.addAll(mRunningAnimations); in cancelAnimations()
265 mRunningAnimations.clear(); in cancelAnimations()
272 if (mRunningAnimations.isEmpty()) { in setPressedSoftware()
296 mRunningAnimations.add(scaleAnimator); in enterSoftware()
311 mRunningAnimations.add(alphaAnimator); in exitSoftware()
317 if (mRunningAnimations.isEmpty()) { in setPressedHardware()
412 mRunningAnimations.add(startAnim); in enterHardware()
413 mRunningAnimations.add(endAnim); in enterHardware()
434 mRunningAnimations.add(opacityAnim); in exitHardware()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DBoundsAnimationController.java84 private ArrayMap<BoundsAnimationTarget, BoundsAnimator> mRunningAnimations = new ArrayMap<>(); field in BoundsAnimationController
111 for (int i = 0; i < mRunningAnimations.size(); i++) { in run()
112 final BoundsAnimator b = mRunningAnimations.valueAt(i); in run()
371 mRunningAnimations.remove(mTarget); in onAnimationEnd()
442 final BoundsAnimator existing = mRunningAnimations.get(target); in cancel()
455 final BoundsAnimator existing = mRunningAnimations.get(target); in animateBoundsImpl()
527 mRunningAnimations.put(target, animator); in animateBoundsImpl()
559 final BoundsAnimator existing = mRunningAnimations.get(target); in isRunningFadeInAnimation()
564 for (int i = 0; i < mRunningAnimations.size(); i++) { in resume()
565 final BoundsAnimator b = mRunningAnimations.valueAt(i); in resume()
[all …]
DSurfaceAnimationRunner.java71 final ArrayMap<SurfaceControl, RunningAnimation> mRunningAnimations = new ArrayMap<>(); field in SurfaceAnimationRunner
146 final RunningAnimation anim = mRunningAnimations.get(leash); in onAnimationCancelled()
148 mRunningAnimations.remove(leash); in onAnimationCancelled()
206 mRunningAnimations.remove(a.mLeash); in startAnimationLocked()
218 mRunningAnimations.put(a.mLeash, a); in startAnimationLocked()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DSurfaceAnimationRunnerTest.java131 assertFalse(mSurfaceAnimationRunner.mRunningAnimations.isEmpty()); in testCancel_running()
133 assertTrue(mSurfaceAnimationRunner.mRunningAnimations.isEmpty()); in testCancel_running()
166 assertTrue(mSurfaceAnimationRunner.mRunningAnimations.isEmpty()); in testCancel_sneakyCancelBeforeUpdate()
176 assertTrue(mSurfaceAnimationRunner.mRunningAnimations.isEmpty()); in testDeferStartingAnimations()
179 assertFalse(mSurfaceAnimationRunner.mRunningAnimations.isEmpty()); in testDeferStartingAnimations()