Home
last modified time | relevance | path

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

/development/samples/Support7Demos/src/com/example/android/supportv7/widget/
DAnimatedRecyclerView.java272 final float mMaxX; field in ItemChangeAnimator
276 mMaxX = mViewHolder.itemView.getWidth(); in ItemChangeAnimator()
277 mStartRatio = ViewCompat.getTranslationX(mViewHolder.textView) / mMaxX; in ItemChangeAnimator()
289 ViewCompat.setTranslationX(mViewHolder.textView, fraction * mMaxX); in setFraction()
292 ViewCompat.setTranslationX(mViewHolder.textView, (1f - fraction) * mMaxX); in setFraction()