/packages/apps/Car/Dialer/src/com/android/car/dialer/ |
D | StrequentsItemAnimator.java | 63 public ViewHolder oldHolder, newHolder; field in StrequentsItemAnimator.ChangeInfo 65 private ChangeInfo(ViewHolder oldHolder, ViewHolder newHolder) { in ChangeInfo() argument 66 this.oldHolder = oldHolder; in ChangeInfo() 70 private ChangeInfo(ViewHolder oldHolder, ViewHolder newHolder, in ChangeInfo() argument 72 this(oldHolder, newHolder); in ChangeInfo() 82 "oldHolder=" + oldHolder + in toString() 148 ViewHolder holder = changes.get(0).oldHolder; in runPendingAnimations() 316 public boolean animateChange(ViewHolder oldHolder, ViewHolder newHolder, in animateChange() argument 318 final float prevTranslationX = ViewCompat.getTranslationX(oldHolder.itemView); in animateChange() 319 final float prevTranslationY = ViewCompat.getTranslationY(oldHolder.itemView); in animateChange() [all …]
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
D | ItemAnimator.java | 158 public boolean animateChange(@NonNull final ViewHolder oldHolder, in animateChange() argument 161 endAnimation(oldHolder); in animateChange() 168 if (oldHolder == newHolder) { in animateChange() 192 } else if (!(oldHolder instanceof OnAnimateChangeListener) || in animateChange() 195 dispatchChangeFinished(oldHolder, true); in animateChange() 200 final Animator oldChangeAnimator = ((OnAnimateChangeListener) oldHolder) in animateChange() 201 .onAnimateChange(oldHolder, newHolder, changeDuration); in animateChange() 206 dispatchChangeStarting(oldHolder, true); in animateChange() 212 mAnimators.remove(oldHolder); in animateChange() 213 dispatchChangeFinished(oldHolder, true); in animateChange() [all …]
|
/packages/apps/Settings/src/com/android/settings/dashboard/ |
D | DashboardItemAnimator.java | 26 public boolean animateChange(ViewHolder oldHolder, ViewHolder newHolder, int fromX, int fromY, in animateChange() argument 28 final Object tag = oldHolder.itemView.getTag(); in animateChange() 29 if (tag instanceof Tile && oldHolder == newHolder) { in animateChange() 33 fromX += ViewCompat.getTranslationX(oldHolder.itemView); in animateChange() 34 fromY += ViewCompat.getTranslationY(oldHolder.itemView); in animateChange() 38 dispatchMoveFinished(oldHolder); in animateChange() 42 return super.animateChange(oldHolder, newHolder, fromX, fromY, toX, toY); in animateChange()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/ |
D | DirectoryItemAnimator.java | 103 public boolean animateChange(final RecyclerView.ViewHolder oldHolder, in animateChange() argument 106 if (oldHolder != newHolder) { in animateChange() 107 return super.animateChange(oldHolder, newHolder, preInfo, postInfo); in animateChange() 114 dispatchAnimationFinished(oldHolder); in animateChange() 119 oldHolder.itemView.setBackgroundColor(startColor); in animateChange() 120 mPendingAnimations.add(new ColorAnimation(oldHolder, startColor, endColor)); in animateChange()
|
/packages/apps/DeskClock/src/com/android/deskclock/alarms/dataadapter/ |
D | CollapsedAlarmViewHolder.java | 156 public Animator onAnimateChange(final ViewHolder oldHolder, ViewHolder newHolder, in onAnimateChange() argument 158 if (!(oldHolder instanceof AlarmItemViewHolder) in onAnimateChange() 167 ? createCollapsingAnimator((AlarmItemViewHolder) oldHolder, duration) in onAnimateChange() 208 private Animator createCollapsingAnimator(AlarmItemViewHolder oldHolder, long duration) { in createCollapsingAnimator() argument 220 final View oldView = oldHolder.itemView; in createCollapsingAnimator() 226 final View oldArrow = oldHolder.arrow; in createCollapsingAnimator()
|
D | ExpandedAlarmViewHolder.java | 313 public Animator onAnimateChange(final ViewHolder oldHolder, ViewHolder newHolder, in onAnimateChange() argument 315 if (!(oldHolder instanceof AlarmItemViewHolder) in onAnimateChange() 325 ? createExpandingAnimator((AlarmItemViewHolder) oldHolder, duration) in onAnimateChange() 410 private Animator createExpandingAnimator(AlarmItemViewHolder oldHolder, long duration) { in createExpandingAnimator() argument 411 final View oldView = oldHolder.itemView; in createExpandingAnimator() 421 final View oldArrow = oldHolder.arrow; in createExpandingAnimator()
|
/packages/services/Car/car-support-lib/src/android/support/car/ui/ |
D | CarItemAnimator.java | 34 public boolean animateChange(RecyclerView.ViewHolder oldHolder, in animateChange() argument 43 boolean ret = super.animateChange(oldHolder, newHolder, fromX, fromY, toX, toY); in animateChange()
|