Home
last modified time | relevance | path

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

/development/samples/Support7Demos/src/com/example/android/supportv7/widget/
DAnimatedRecyclerView.java127 mRunningAnimations.put(anim.mViewHolder, anim); in createAnimator()
186 if (anim.mViewHolder == item) { in createAnimator()
245 dispatchChangeFinished(mViewHolder, true); in createAnimator()
250 dispatchChangeStarting(mViewHolder, true); in createAnimator()
271 MyViewHolder mViewHolder; field in ItemChangeAnimator
275 mViewHolder = viewHolder; in ItemChangeAnimator()
276 mMaxX = mViewHolder.itemView.getWidth(); in ItemChangeAnimator()
277 mStartRatio = ViewCompat.getTranslationX(mViewHolder.textView) / mMaxX; in ItemChangeAnimator()
283 mValueAnimator.setTarget(mViewHolder.itemView); in ItemChangeAnimator()
289 ViewCompat.setTranslationX(mViewHolder.textView, fraction * mMaxX); in setFraction()
[all …]