Home
last modified time | relevance | path

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

/packages/apps/DeskClock/src/com/android/deskclock/
DItemAnimator.java159 @NonNull final ViewHolder newHolder, @NonNull ItemHolderInfo preInfo, in animateChange() argument
162 endAnimation(newHolder); in animateChange()
168 if (oldHolder == newHolder) { in animateChange()
169 final Animator animator = ((OnAnimateChangeListener) newHolder) in animateChange()
173 dispatchChangeFinished(newHolder, false); in animateChange()
179 dispatchChangeStarting(newHolder, false); in animateChange()
185 mAnimators.remove(newHolder); in animateChange()
186 dispatchChangeFinished(newHolder, false); in animateChange()
190 mAnimators.put(newHolder, animator); in animateChange()
193 !(newHolder instanceof OnAnimateChangeListener)) { in animateChange()
[all …]
/packages/apps/DeskClock/src/com/android/deskclock/alarms/dataadapter/
DCollapsedAlarmViewHolder.kt139 newHolder: ViewHolder, in <lambda>()
143 newHolder !is AlarmItemViewHolder) { in <lambda>()
147 val isCollapsing = this == newHolder in <lambda>()
153 createExpandingAnimator(newHolder, duration) in <lambda>()
168 private fun createExpandingAnimator(newHolder: AlarmItemViewHolder, duration: Long): Animator { in <lambda>()
183 val newView: View = newHolder.itemView in <lambda>()
DCollapsedAlarmViewHolder.java156 public Animator onAnimateChange(final ViewHolder oldHolder, ViewHolder newHolder, in onAnimateChange() argument
159 || !(newHolder instanceof AlarmItemViewHolder)) { in onAnimateChange()
163 final boolean isCollapsing = this == newHolder; in onAnimateChange()
168 : createExpandingAnimator((AlarmItemViewHolder) newHolder, duration); in onAnimateChange()
183 private Animator createExpandingAnimator(AlarmItemViewHolder newHolder, long duration) { in createExpandingAnimator() argument
198 final View newView = newHolder.itemView; in createExpandingAnimator()
DExpandedAlarmViewHolder.kt283 newHolder: ViewHolder, in <lambda>()
287 newHolder !is AlarmItemViewHolder) { in <lambda>()
291 val isExpanding = this == newHolder in <lambda>()
298 createCollapsingAnimator(newHolder, duration) in <lambda>()
314 private fun createCollapsingAnimator(newHolder: AlarmItemViewHolder, duration: Long): Animator { in <lambda>()
323 val newView: View = newHolder.itemView in <lambda>()
DExpandedAlarmViewHolder.java313 public Animator onAnimateChange(final ViewHolder oldHolder, ViewHolder newHolder, in onAnimateChange() argument
316 || !(newHolder instanceof AlarmItemViewHolder)) { in onAnimateChange()
320 final boolean isExpanding = this == newHolder; in onAnimateChange()
326 : createCollapsingAnimator((AlarmItemViewHolder) newHolder, duration); in onAnimateChange()
342 private Animator createCollapsingAnimator(AlarmItemViewHolder newHolder, long duration) { in createCollapsingAnimator() argument
351 final View newView = newHolder.itemView; in createCollapsingAnimator()
/packages/apps/Launcher3/go/quickstep/src/com/android/quickstep/
DContentFillItemAnimator.java150 ViewHolder newHolder, int fromLeft, int fromTop, int toLeft, int toTop) { in animateChange() argument
152 if (oldHolder == newHolder) { in animateChange()
158 dispatchChangeFinished(newHolder, false /* oldItem */); in animateChange()