Searched refs:mEdgeToCenterDistance (Results 1 – 2 of 2) sorted by relevance
82 1 - Math.min(Math.abs(mCardCarousel.mEdgeToCenterDistance), animationStartOffset) in onDrawOver()154 && mCardCarousel.mEdgeToCenterDistance >= 0f) in isNextItemInScrollingDirection()156 && mCardCarousel.mEdgeToCenterDistance < 0f); in isNextItemInScrollingDirection()159 && mCardCarousel.mEdgeToCenterDistance >= 0f) in isNextItemInScrollingDirection()161 && mCardCarousel.mEdgeToCenterDistance < 0f); in isNextItemInScrollingDirection()
80 float mEdgeToCenterDistance = Float.MAX_VALUE; field in WalletCardCarousel273 mEdgeToCenterDistance = edgePosition - center; in updateCardView()304 mEdgeToCenterDistance = Float.MAX_VALUE;314 mCenteredAdapterPosition + (mEdgeToCenterDistance > 0 ? 1 : -1);325 Math.abs(mEdgeToCenterDistance) / mCardEdgeToCenterDistance;