Home
last modified time | relevance | path

Searched refs:oldHolder (Results 1 – 6 of 6) sorted by relevance

/packages/apps/DeskClock/src/com/android/deskclock/
DItemAnimator.java158 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/DeskClock/src/com/android/deskclock/alarms/dataadapter/
DCollapsedAlarmViewHolder.kt138 oldHolder: ViewHolder, in <lambda>()
142 if (oldHolder !is AlarmItemViewHolder || in <lambda>()
151 createCollapsingAnimator(oldHolder, duration) in <lambda>()
193 private fun createCollapsingAnimator(oldHolder: AlarmItemViewHolder, duration: Long): Animator { in <lambda>()
205 val oldView: View = oldHolder.itemView in <lambda>()
211 val oldArrow: View = oldHolder.arrow in <lambda>()
DCollapsedAlarmViewHolder.java156 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()
DExpandedAlarmViewHolder.kt282 oldHolder: ViewHolder, in <lambda>()
286 if (oldHolder !is AlarmItemViewHolder || in <lambda>()
296 createExpandingAnimator(oldHolder, duration) in <lambda>()
382 private fun createExpandingAnimator(oldHolder: AlarmItemViewHolder, duration: Long): Animator { in <lambda>()
383 val oldView: View = oldHolder.itemView in <lambda>()
393 val oldArrow: View = oldHolder.arrow in <lambda>()
DExpandedAlarmViewHolder.java313 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/apps/Launcher3/go/quickstep/src/com/android/quickstep/
DContentFillItemAnimator.java149 public boolean animateChange(ViewHolder oldHolder, in animateChange() argument
152 if (oldHolder == newHolder) { in animateChange()
153 PendingAnimation pendAnim = new PendingAnimation(oldHolder, ANIM_TYPE_CHANGE); in animateChange()
157 dispatchChangeFinished(oldHolder, true /* oldItem */); in animateChange()