/frameworks/base/core/tests/coretests/src/android/animation/ |
D | EventsTest.java | 58 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 …]
|
D | ViewPropertyAnimatorTest.java | 57 …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 …]
|
D | AnimatorSetEventsTest.java | 38 mAnimator = new AnimatorSet(); in setUp() 39 ((AnimatorSet)mAnimator).playSequentially(xAnim, yAnim); in setUp() 45 return (2 * mAnimator.getDuration()) + (2 * mAnimator.getStartDelay()) + in getTimeout()
|
D | ValueAnimatorEventsTest.java | 25 mAnimator = ValueAnimator.ofFloat(0, 1); in setUp()
|
D | ObjectAnimatorEventsTest.java | 31 mAnimator = ObjectAnimator.ofFloat(button, "translationX", 0, 100); in setUp()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | QSDetailClipper.java | 32 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/ |
D | StateListAnimator.java | 83 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 …]
|
D | Animator.java | 541 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/ |
D | KeyguardGlowStripView.java | 50 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/ |
D | BitmapMutateActivity.java | 34 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()
|
D | LinesActivity.java | 33 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()
|
D | ColoredRectsActivity.java | 32 private ObjectAnimator mAnimator; field in ColoredRectsActivity
|
D | Lines2Activity.java | 32 private ObjectAnimator mAnimator; field in Lines2Activity
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
D | DefaultItemAnimatorTest.java | 42 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/ |
D | DatePickerDialog.java | 84 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/ |
D | PlayAnimationThread.java | 28 private final Animator mAnimator; field in PlayAnimationThread 33 mAnimator = animator; in PlayAnimationThread() 40 mAnimator.start(); in preAnimation()
|
/frameworks/base/core/java/android/widget/ |
D | DatePickerCalendarDelegate.java | 90 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/ |
D | BackgroundManager.java | 182 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/ |
D | FocusHighlightHelper.java | 41 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/ |
D | WindowStateAnimator.java | 81 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 …]
|
D | AppWindowAnimator.java | 37 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()
|
D | AppWindowToken.java | 51 final WindowAnimator mAnimator; field in AppWindowToken 123 mAnimator = service.mAnimator; in AppWindowToken()
|
D | InputMonitor.java | 242 final WindowStateAnimator universeBackground = mService.mAnimator.mUniverseBackground; in updateInputWindowsLw() 243 final int aboveUniverseLayer = mService.mAnimator.mAboveUniverseLayer; in updateInputWindowsLw()
|
D | WindowManagerService.java | 688 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/ |
D | animations.jd | 378 ObjectAnimator mAnimator; 379 mAnimator = ObjectAnimator.ofFloat(view, View.X, View.Y, path); 381 mAnimator.start();
|