Home
last modified time | relevance | path

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

12

/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()
59 mBackground.startTransition((int)(mAnimator.getDuration() * 0.6)); in animateCircularClip()
60 mAnimator.addListener(mVisibleOnStart); in animateCircularClip()
62 mDetail.postDelayed(mReverseBackground, (long)(mAnimator.getDuration() * 0.65)); in animateCircularClip()
[all …]
/frameworks/base/core/java/android/animation/
DStateListAnimator.java83 tuple.mAnimator.addListener(mAnimatorListener); in addState()
127 mTuples.get(i).mAnimator.setTarget(null); in clearTarget()
147 final Animator animatorClone = tuple.mAnimator.clone(); in clone()
185 match.mAnimator.setTarget(getTarget()); in start()
186 mRunningAnimator = match.mAnimator; in start()
279 final Animator mAnimator; field in StateListAnimator.Tuple
283 mAnimator = animator; in Tuple()
297 return mAnimator; in getAnimator()
310 final StateListAnimator mAnimator; field in StateListAnimator.StateListAnimatorConstantState
315 mAnimator = animator; in StateListAnimatorConstantState()
[all …]
DAnimator.java541 final Animator mAnimator; field in Animator.AnimatorConstantState
545 mAnimator = animator; in AnimatorConstantState()
547 mAnimator.mConstantState = this; in AnimatorConstantState()
548 mChangingConf = mAnimator.getChangingConfigurations(); in AnimatorConstantState()
558 final Animator clone = mAnimator.clone(); in newInstance()
/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/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/support/v7/recyclerview/tests/src/android/support/v7/widget/
DDefaultItemAnimatorTest.java42 DefaultItemAnimator mAnimator; field in DefaultItemAnimatorTest
61 mAnimator = new DefaultItemAnimator(); in setUp()
64 mAnimator.setListener(new RecyclerView.ItemAnimator.ItemAnimatorListener() { in setUp()
143 mAnimator.runPendingAnimations(); in runAndWait()
170 assertTrue(mAnimator.isRunning()); in testAnimateAdd()
178 assertTrue(mAnimator.isRunning()); in testAnimateRemove()
186 assertTrue(mAnimator.isRunning()); in testAnimateMove()
195 assertTrue(mAnimator.isRunning()); in testAnimateChange()
311 mAnimator.endAnimation(vh); in endAnimations()
322 result[0] = mAnimator.animateAdd(vh); in animateAdd()
[all …]
/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.java90 private AccessibleDateAnimator mAnimator; field in DatePickerCalendarDelegate
213 mAnimator = (AccessibleDateAnimator) mainView.findViewById(R.id.animator); in DatePickerCalendarDelegate()
214 mAnimator.addView(mDayPickerView); in DatePickerCalendarDelegate()
215 mAnimator.addView(mYearPickerView); in DatePickerCalendarDelegate()
216 mAnimator.setDateMillis(mCurrentDate.getTimeInMillis()); in DatePickerCalendarDelegate()
220 mAnimator.setInAnimation(animation); in DatePickerCalendarDelegate()
224 mAnimator.setOutAnimation(animation2); in DatePickerCalendarDelegate()
323 mAnimator.setDateMillis(millis); in updateDisplay()
331 mAnimator.announceForAccessibility(fullDateText); in updateDisplay()
344 mAnimator.setDisplayedChild(MONTH_AND_DAY_VIEW); in setCurrentView()
[all …]
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
DBackgroundManager.java182 protected ValueAnimator mAnimator; field in BackgroundManager.DrawableWrapper
219 if (mAnimator != null && mAnimator.isStarted()) { in fade()
220 mAnimator.cancel(); in fade()
222 mAnimator = ValueAnimator.ofInt(getAlpha(), alpha); in fade()
223 mAnimator.addUpdateListener(mAnimationUpdateListener); in fade()
224 mAnimator.setInterpolator(mInterpolator); in fade()
225 mAnimator.setDuration(durationMs); in fade()
226 mAnimator.setStartDelay(delayMs); in fade()
233 return mAnimator != null && mAnimator.isStarted(); in isAnimationStarted()
240 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/
DWindowStateAnimator.java81 final WindowAnimator mAnimator; field in WindowStateAnimator
196 mAnimator = service.mAnimator; in WindowStateAnimator()
373 if (mAnimator.mWindowDetachedWallpaper == mWin) { in stepAnimationLocked()
374 mAnimator.mWindowDetachedWallpaper = null; in stepAnimationLocked()
427 mAnimator.setPendingLayoutChanges(displayId, WindowManagerPolicy.FINISH_LAYOUT_REDO_ANIM); in stepAnimationLocked()
429 "WindowStateAnimator", mAnimator.getPendingLayoutChanges(displayId)); in stepAnimationLocked()
489 mAnimator.hideWallpapersLocked(mWin); in finishExit()
987 mAnimator.hideWallpapersLocked(mWin); in destroySurfaceLocked()
1013 mAnimator.hideWallpapersLocked(mWin); in destroyDeferredSurfaceLocked()
1059 mAnimator.getScreenRotationAnimationLocked(displayId); in computeShownFrameLocked()
[all …]
DAppWindowAnimator.java37 final WindowAnimator mAnimator; field in AppWindowAnimator
88 mAnimator = atoken.mAnimator; in AppWindowAnimator()
181 mAnimator.getScreenRotationAnimationLocked(Display.DEFAULT_DISPLAY); in stepThumbnailAnimation()
291 mAnimator.setAppLayoutChanges(this, WindowManagerPolicy.FINISH_LAYOUT_REDO_ANIM, in stepAnimationLocked()
350 pw.print(prefix); pw.print("mAnimator="); pw.println(mAnimator); in dump()
DAppWindowToken.java51 final WindowAnimator mAnimator; field in AppWindowToken
123 mAnimator = service.mAnimator; in AppWindowToken()
DInputMonitor.java242 final WindowStateAnimator universeBackground = mService.mAnimator.mUniverseBackground; in updateInputWindowsLw()
243 final int aboveUniverseLayer = mService.mAnimator.mAboveUniverseLayer; in updateInputWindowsLw()
DWindowManagerService.java688 final WindowAnimator mAnimator; field in WindowManagerService
811 mAnimator.mAboveUniverseLayer = mPolicy.getAboveUniverseLayer() in initPolicy()
901 mAnimator = new WindowAnimator(this); in WindowManagerService()
1750 if (w != mAnimator.mWindowDetachedWallpaper && w.mAppToken != null) { in adjustWallpaperWindowsLocked()
1782 } else if (w == mAnimator.mWindowDetachedWallpaper) { in adjustWallpaperWindowsLocked()
3292 animating = mAnimator.mAnimating && win.mWinAnimator.isAnimating(); in relayoutWindow()
5415 mAnimator.mKeyguardGoingAway = true; in keyguardGoingAway()
5416 mAnimator.mKeyguardGoingAwayToNotificationShade = keyguardGoingToNotificationShade; in keyguardGoingAway()
5417 mAnimator.mKeyguardGoingAwayDisableWindowAnimations = disableWindowAnimations; in keyguardGoingAway()
6264 mAnimator.getScreenRotationAnimationLocked(Display.DEFAULT_DISPLAY); in screenshotApplications()
[all …]
/frameworks/base/docs/html/training/material/
Danimations.jd378 ObjectAnimator mAnimator;
379 mAnimator = ObjectAnimator.ofFloat(view, View.X, View.Y, path);
381 mAnimator.start();

12