Home
last modified time | relevance | path

Searched refs:mAnimator (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/animation/
DEventsTest.java54 protected Animator mAnimator; // The animator used in the tests. Must be set in subclass field in EventsTest
191 mAnimator.addListener(mListener); in setUp()
192 mAnimator.setDuration(ANIM_DURATION); in setUp()
207 mAnimator.cancel(); in testCancel()
217 mAnimator.end(); in testEnd()
232 mAnimator.start(); in testStartCancel()
233 mAnimator.cancel(); in testStartCancel()
255 mAnimator.start(); in testStartEnd()
256 mAnimator.end(); in testStartEnd()
272 mAnimator.setStartDelay(ANIM_DELAY); in testStartDelayedCancel()
[all …]
DViewPropertyAnimatorTest.java57 …protected ViewPropertyAnimator mAnimator; // The animator used in the tests. Must be set in subcla… field in ViewPropertyAnimatorTest
143 mAnimator = button.animate().x(100).y(100); in setUp()
180 mAnimator.setListener(mListener); in setUp()
181 mAnimator.setDuration(ANIM_DURATION); in setUp()
196 mAnimator.cancel(); in testCancel()
211 mAnimator.start(); in testStartCancel()
212 mAnimator.cancel(); in testStartCancel()
228 mAnimator.setStartDelay(ANIM_DELAY); in testStartDelayedCancel()
234 mAnimator.start(); in testStartDelayedCancel()
235 mAnimator.cancel(); in testStartDelayedCancel()
[all …]
DAnimatorSetEventsTest.java38 mAnimator = new AnimatorSet(); in setUp()
39 ((AnimatorSet)mAnimator).playSequentially(xAnim, yAnim); in setUp()
DValueAnimatorEventsTest.java25 mAnimator = ValueAnimator.ofFloat(0, 1); in setUp()
DObjectAnimatorEventsTest.java31 mAnimator = ObjectAnimator.ofFloat(button, "translationX", 0, 100); in setUp()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DBitmapMutateActivity.java34 private ObjectAnimator mAnimator; field in BitmapMutateActivity
46 mAnimator = ObjectAnimator.ofInt(view, "offset", 0, PATTERN_SIZE - 1); in onCreate()
47 mAnimator.setDuration(1500); in onCreate()
48 mAnimator.setRepeatCount(ObjectAnimator.INFINITE); in onCreate()
49 mAnimator.setRepeatMode(ObjectAnimator.REVERSE); in onCreate()
50 mAnimator.start(); in onCreate()
56 mAnimator.cancel(); in onDestroy()
DLinesActivity.java33 private ObjectAnimator mAnimator; field in LinesActivity
42 mAnimator = ObjectAnimator.ofFloat(view, "offset", 0.0f, 15.0f); in onCreate()
43 mAnimator.setDuration(1500); in onCreate()
44 mAnimator.setRepeatCount(ObjectAnimator.INFINITE); in onCreate()
45 mAnimator.setRepeatMode(ObjectAnimator.REVERSE); in onCreate()
46 mAnimator.start(); in onCreate()
52 mAnimator.cancel(); in onDestroy()
DColoredRectsActivity.java32 private ObjectAnimator mAnimator; field in ColoredRectsActivity
DLines2Activity.java32 private ObjectAnimator mAnimator; field in Lines2Activity
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DPlayAnimationThread.java28 private final Animator mAnimator; field in PlayAnimationThread
33 mAnimator = animator; in PlayAnimationThread()
40 mAnimator.start(); in preAnimation()
/frameworks/base/services/java/com/android/server/wm/
DAppWindowAnimator.java22 final WindowAnimator mAnimator; field in AppWindowAnimator
56 mAnimator = service.mAnimator; in AppWindowAnimator()
136 final boolean screenAnimation = mAnimator.mScreenRotationAnimation != null in stepThumbnailAnimation()
137 && mAnimator.mScreenRotationAnimation.isAnimating(); in stepThumbnailAnimation()
140 mAnimator.mScreenRotationAnimation.getEnterTransformation()); in stepThumbnailAnimation()
236 mAnimator.mPendingLayoutChanges |= WindowManagerPolicy.FINISH_LAYOUT_REDO_ANIM; in stepAnimationLocked()
238 mService.debugLayoutRepeats("AppWindowToken", mAnimator.mPendingLayoutChanges); in stepAnimationLocked()
DWindowStateAnimator.java54 final WindowAnimator mAnimator; field in WindowStateAnimator
146 mAnimator = mService.mAnimator; in WindowStateAnimator()
302 if (mAnimator.mWindowDetachedWallpaper == mWin) { in stepAnimationLocked()
303 mAnimator.mWindowDetachedWallpaper = null; in stepAnimationLocked()
345 mAnimator.mPendingLayoutChanges |= WindowManagerPolicy.FINISH_LAYOUT_REDO_ANIM; in stepAnimationLocked()
347 "WindowStateAnimator", mAnimator.mPendingLayoutChanges); in stepAnimationLocked()
391 mAnimator.hideWallpapersLocked(mWin); in finishExit()
762 mAnimator.hideWallpapersLocked(mWin); in destroySurfaceLocked()
788 mAnimator.hideWallpapersLocked(mWin); in destroyDeferredSurfaceLocked()
834 final boolean screenAnimation = mService.mAnimator.mScreenRotationAnimation != null in computeShownFrameLocked()
[all …]
DAppWindowToken.java48 final WindowAnimator mAnimator; field in AppWindowToken
106 mAnimator = service.mAnimator; in AppWindowToken()
DWindowManagerService.java660 synchronized (mAnimator) { in run()
662 final ArrayList<WindowStateAnimator> winAnimators = mAnimator.mWinAnimators; in run()
671 mAnimator.animate(); in run()
680 final WindowAnimator mAnimator; field in WindowManagerService
913 mAnimator = new WindowAnimator(this, context, mPolicy); in WindowManagerService()
1659 if (w != mAnimator.mWindowDetachedWallpaper && w.mAppToken != null) { in adjustWallpaperWindowsLocked()
1685 } else if (w == mAnimator.mWindowDetachedWallpaper) { in adjustWallpaperWindowsLocked()
2978 animating = mAnimator.mAnimating; in relayoutWindow()
5704 if (mAnimator.mScreenRotationAnimation != null && in updateRotationUncheckedLocked()
5705 mAnimator.mScreenRotationAnimation.isAnimating()) { in updateRotationUncheckedLocked()
[all …]
/frameworks/base/core/java/android/view/
DView.java3105 private ViewPropertyAnimator mAnimator = null; field in View
16982 if (mAnimator == null) {
16983 mAnimator = new ViewPropertyAnimator(this);
16985 return mAnimator;