Home
last modified time | relevance | path

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

/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DParallaxEffect.java252 final float getFractionWithWeightAdjusted(float fraction, int markerValueIndex) { in getFractionWithWeightAdjusted() argument
259 fraction = fraction * mWeights.get(markerValueIndex - 1) / allWeights; in getFractionWithWeightAdjusted()
260 if (markerValueIndex >= 2) { in getFractionWithWeightAdjusted()
261 fraction += mTotalWeights.get(markerValueIndex - 2) / allWeights; in getFractionWithWeightAdjusted()
267 if (markerValueIndex >= 2) { in getFractionWithWeightAdjusted()
268 fraction += (float) (markerValueIndex - 1) / allWeights; in getFractionWithWeightAdjusted()