Searched refs:mMaxX (Results 1 – 1 of 1) sorted by relevance
272 final float mMaxX; field in ItemChangeAnimator276 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()