/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() 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/ |
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/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
D | DefaultItemAnimatorTest.java | 33 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/ |
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/base/core/java/android/animation/ |
D | StateListAnimator.java | 76 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/ |
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 | 92 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/ |
D | BackgroundManager.java | 181 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/ |
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 | AppWindowAnimator.java | 37 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()
|
D | WindowStateAnimator.java | 77 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 …]
|
D | AppWindowToken.java | 51 final WindowAnimator mAnimator; field in AppWindowToken 123 mAnimator = service.mAnimator; in AppWindowToken()
|
D | InputMonitor.java | 243 final WindowStateAnimator universeBackground = mService.mAnimator.mUniverseBackground; in updateInputWindowsLw() 244 final int aboveUniverseLayer = mService.mAnimator.mAboveUniverseLayer; in updateInputWindowsLw()
|
D | WindowManagerService.java | 671 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/ |
D | animations.jd | 376 ObjectAnimator mAnimator; 377 mAnimator = ObjectAnimator.ofFloat(view, View.X, View.Y, path); 379 mAnimator.start();
|
/frameworks/base/core/java/android/view/ |
D | View.java | 3380 private ViewPropertyAnimator mAnimator = null; field in View 19765 if (mAnimator == null) { 19766 mAnimator = new ViewPropertyAnimator(this); 19768 return mAnimator;
|