Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/animation/
DEventsTest.java58 protected Animator mAnimator; // The animator used in the tests. Must be set in subclass field in EventsTest
237 mAnimator.addListener(mListener); in setUp()
238 mAnimator.setDuration(ANIM_DURATION); in setUp()
253 mAnimator.cancel(); in testCancel()
263 mAnimator.end(); in testEnd()
278 mAnimator.start(); in testStartCancel()
279 mAnimator.cancel(); in testStartCancel()
301 mAnimator.start(); in testStartEnd()
302 mAnimator.end(); in testStartEnd()
318 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()
45 return (2 * mAnimator.getDuration()) + (2 * mAnimator.getStartDelay()) + in getTimeout()
DValueAnimatorEventsTest.java25 mAnimator = ValueAnimator.ofFloat(0, 1); in setUp()
DObjectAnimatorEventsTest.java31 mAnimator = ObjectAnimator.ofFloat(button, "translationX", 0, 100); in setUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSDetailClipper.java32 private Animator mAnimator; field in QSDetailClipper
40 if (mAnimator != null) { in animateCircularClip()
41 mAnimator.cancel(); in animateCircularClip()
50 mAnimator = ViewAnimationUtils.createCircularReveal(mDetail, x, y, 0, r); in animateCircularClip()
52 mAnimator = ViewAnimationUtils.createCircularReveal(mDetail, x, y, r, 0); in animateCircularClip()
54 mAnimator.setDuration((long)(mAnimator.getDuration() * 1.5)); in animateCircularClip()
56 mAnimator.addListener(listener); in animateCircularClip()
60 mBackground.startTransition((int)(mAnimator.getDuration() * 0.6)); in animateCircularClip()
61 mAnimator.addListener(mVisibleOnStart); in animateCircularClip()
63 mDetail.postDelayed(mReverseBackground, (long)(mAnimator.getDuration() * 0.65)); in animateCircularClip()
[all …]
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DKeyguardGlowStripView.java50 private ValueAnimator mAnimator; field in KeyguardGlowStripView
107 if (mAnimator != null) { in makeEmGo()
108 mAnimator.cancel(); in makeEmGo()
112 mAnimator = ValueAnimator.ofFloat(from, to); in makeEmGo()
113 mAnimator.setDuration(DURATION); in makeEmGo()
114 mAnimator.setInterpolator(new LinearInterpolator()); in makeEmGo()
115 mAnimator.addListener(new AnimatorListenerAdapter() { in makeEmGo()
128 mAnimator.addUpdateListener(new AnimatorUpdateListener() { in makeEmGo()
135 mAnimator.start(); in makeEmGo()
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DDefaultItemAnimatorTest.java33 DefaultItemAnimator mAnimator; field in DefaultItemAnimatorTest
50 mAnimator = new DefaultItemAnimator(); in setUp()
53 mAnimator.setListener(new RecyclerView.ItemAnimator.ItemAnimatorListener() { in setUp()
94 mAnimator.runPendingAnimations(); in runAndWait()
109 assertTrue(mAnimator.isRunning()); in testAnimateAdd()
117 assertTrue(mAnimator.isRunning()); in testAnimateRemove()
125 assertTrue(mAnimator.isRunning()); in testAnimateMove()
134 assertTrue(mAnimator.isRunning()); in testAnimateChange()
143 result[0] = mAnimator.animateAdd(vh); in animateAdd()
154 result[0] = mAnimator.animateRemove(vh); in animateRemove()
[all …]
/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/core/java/android/animation/
DStateListAnimator.java76 tuple.mAnimator.addListener(mAnimatorListener); in addState()
119 mTuples.get(i).mAnimator.setTarget(null); in clearTarget()
154 match.mAnimator.setTarget(getTarget()); in start()
155 mRunningAnimator = match.mAnimator; in start()
191 final Animator mAnimator; field in StateListAnimator.Tuple
195 mAnimator = animator; in Tuple()
209 return mAnimator; in getAnimator()
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/
DDatePickerDialog.java84 private AccessibleDateAnimator mAnimator; field in DatePickerDialog
233 mAnimator = (AccessibleDateAnimator) view.findViewById(R.id.animator); in onCreateView()
234 mAnimator.addView(mDayPickerView); in onCreateView()
235 mAnimator.addView(mYearPickerView); in onCreateView()
236 mAnimator.setDateMillis(mCalendar.getTimeInMillis()); in onCreateView()
240 mAnimator.setInAnimation(animation); in onCreateView()
244 mAnimator.setOutAnimation(animation2); in onCreateView()
302 mAnimator.setDisplayedChild(MONTH_AND_DAY_VIEW); in setCurrentView()
309 mAnimator.setContentDescription(mDayPickerDescription+": "+dayString); in setCurrentView()
310 Utils.tryAccessibilityAnnounce(mAnimator, mSelectDay); in setCurrentView()
[all …]
/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/core/java/android/widget/
DDatePickerCalendarDelegate.java92 private AccessibleDateAnimator mAnimator; field in DatePickerCalendarDelegate
208 mAnimator = (AccessibleDateAnimator) mainView.findViewById(R.id.animator); in DatePickerCalendarDelegate()
209 mAnimator.addView(mDayPickerView); in DatePickerCalendarDelegate()
210 mAnimator.addView(mYearPickerView); in DatePickerCalendarDelegate()
211 mAnimator.setDateMillis(mCurrentDate.getTimeInMillis()); in DatePickerCalendarDelegate()
215 mAnimator.setInAnimation(animation); in DatePickerCalendarDelegate()
219 mAnimator.setOutAnimation(animation2); in DatePickerCalendarDelegate()
318 mAnimator.setDateMillis(millis); in updateDisplay()
326 mAnimator.announceForAccessibility(fullDateText); in updateDisplay()
340 mAnimator.setDisplayedChild(MONTH_AND_DAY_VIEW); in setCurrentView()
[all …]
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
DBackgroundManager.java181 protected ValueAnimator mAnimator; field in BackgroundManager.DrawableWrapper
218 if (mAnimator != null && mAnimator.isStarted()) { in fade()
219 mAnimator.cancel(); in fade()
221 mAnimator = ValueAnimator.ofInt(getAlpha(), alpha); in fade()
222 mAnimator.addUpdateListener(mAnimationUpdateListener); in fade()
223 mAnimator.setInterpolator(mInterpolator); in fade()
224 mAnimator.setDuration(durationMs); in fade()
225 mAnimator.setStartDelay(delayMs); in fade()
232 return mAnimator != null && mAnimator.isStarted(); in isAnimationStarted()
239 mAnimator.addListener(listener); in startAnimation()
[all …]
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DFocusHighlightHelper.java41 private final TimeAnimator mAnimator = new TimeAnimator(); field in FocusHighlightHelper.FocusAnimator
53 mAnimator.start(); in animateFocus()
66 mAnimator.setTimeListener(this); in FocusAnimator()
93 mAnimator.end(); in endAnimation()
101 mAnimator.end(); in onTimeUpdate()
/frameworks/base/services/core/java/com/android/server/wm/
DAppWindowAnimator.java37 final WindowAnimator mAnimator; field in AppWindowAnimator
87 mAnimator = atoken.mAnimator; in AppWindowAnimator()
188 mAnimator.getScreenRotationAnimationLocked(Display.DEFAULT_DISPLAY); in stepThumbnailAnimation()
291 mAnimator.setAppLayoutChanges(this, WindowManagerPolicy.FINISH_LAYOUT_REDO_ANIM, in stepAnimationLocked()
354 pw.print(prefix); pw.print("mAnimator="); pw.println(mAnimator); in dump()
DWindowStateAnimator.java77 final WindowAnimator mAnimator; field in WindowStateAnimator
185 mAnimator = service.mAnimator; in WindowStateAnimator()
354 if (mAnimator.mWindowDetachedWallpaper == mWin) { in stepAnimationLocked()
355 mAnimator.mWindowDetachedWallpaper = null; in stepAnimationLocked()
408 mAnimator.setPendingLayoutChanges(displayId, WindowManagerPolicy.FINISH_LAYOUT_REDO_ANIM); in stepAnimationLocked()
410 "WindowStateAnimator", mAnimator.getPendingLayoutChanges(displayId)); in stepAnimationLocked()
454 mAnimator.hideWallpapersLocked(mWin); in finishExit()
953 mAnimator.hideWallpapersLocked(mWin); in destroySurfaceLocked()
984 mAnimator.hideWallpapersLocked(mWin); in destroyDeferredSurfaceLocked()
1030 mAnimator.getScreenRotationAnimationLocked(displayId); in computeShownFrameLocked()
[all …]
DAppWindowToken.java51 final WindowAnimator mAnimator; field in AppWindowToken
123 mAnimator = service.mAnimator; in AppWindowToken()
DInputMonitor.java243 final WindowStateAnimator universeBackground = mService.mAnimator.mUniverseBackground; in updateInputWindowsLw()
244 final int aboveUniverseLayer = mService.mAnimator.mAboveUniverseLayer; in updateInputWindowsLw()
DWindowManagerService.java671 final WindowAnimator mAnimator; field in WindowManagerService
794 mAnimator.mAboveUniverseLayer = mPolicy.getAboveUniverseLayer() in initPolicy()
882 mAnimator = new WindowAnimator(this); in WindowManagerService()
1728 if (w != mAnimator.mWindowDetachedWallpaper && w.mAppToken != null) { in adjustWallpaperWindowsLocked()
1760 } else if (w == mAnimator.mWindowDetachedWallpaper) { in adjustWallpaperWindowsLocked()
3255 animating = mAnimator.mAnimating && win.mWinAnimator.isAnimating(); in relayoutWindow()
5339 mAnimator.mKeyguardGoingAway = true; in keyguardGoingAway()
5340 mAnimator.mKeyguardGoingAwayToNotificationShade = keyguardGoingToNotificationShade; in keyguardGoingAway()
5341 mAnimator.mKeyguardGoingAwayDisableWindowAnimations = disableWindowAnimations; in keyguardGoingAway()
6158 mAnimator.getScreenRotationAnimationLocked(Display.DEFAULT_DISPLAY); in screenshotApplications()
[all …]
/frameworks/base/docs/html/training/material/
Danimations.jd376 ObjectAnimator mAnimator;
377 mAnimator = ObjectAnimator.ofFloat(view, View.X, View.Y, path);
379 mAnimator.start();
/frameworks/base/core/java/android/view/
DView.java3380 private ViewPropertyAnimator mAnimator = null; field in View
19765 if (mAnimator == null) {
19766 mAnimator = new ViewPropertyAnimator(this);
19768 return mAnimator;