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.kt147 oldHolder: ViewHolder, in animateChange()
152 endAnimation(oldHolder) in animateChange()
158 if (oldHolder === newHolder) { in animateChange()
180 } else if (oldHolder !is OnAnimateChangeListener || in animateChange()
183 dispatchChangeFinished(oldHolder, true) in animateChange()
188 val oldChangeAnimator = (oldHolder as OnAnimateChangeListener) in animateChange()
189 .onAnimateChange(oldHolder, newHolder, changeDuration) in animateChange()
193 dispatchChangeStarting(oldHolder, true) in animateChange()
198 mAnimators.remove(oldHolder) in animateChange()
199 dispatchChangeFinished(oldHolder, true) in animateChange()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/widget/picker/
DWidgetsListItemAnimator.java42 public boolean animateChange(RecyclerView.ViewHolder oldHolder, in animateChange() argument
52 if (oldHolder.getItemViewType() == VIEW_TYPE_WIDGETS_LIST) { in animateChange()
53 dispatchChangeStarting(oldHolder, true); in animateChange()
54 dispatchChangeFinished(oldHolder, true); in animateChange()
57 return super.animateChange(oldHolder, newHolder, fromLeft, fromTop, toLeft, in animateChange()
/packages/services/Car/car-lib/src/com/android/car/internal/util/
DBinderKeyValueContainer.java123 BinderInterfaceHolder<K, V> oldHolder; in put() local
130 oldHolder = mBinderMap.put(key, holder); in put()
132 if (oldHolder != null) { in put()
133 Slogf.i(TAG, "Replaced the existing callback %s", oldHolder.mBinderInterface); in put()
/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>()
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>()
/packages/apps/Car/Notification/src/com/android/car/notification/
DCarNotificationView.java131 public boolean animateChange(RecyclerView.ViewHolder oldHolder, RecyclerView.ViewHolder in onAttachedToWindow()
133 if (oldHolder == newHolder) { in onAttachedToWindow()
137 dispatchChangeFinished(oldHolder, /* oldItem= */ true); in onAttachedToWindow()