Home
last modified time | relevance | path

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

/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DParallaxEffect.java258 final float allWeights = mTotalWeights.get(mTotalWeights.size() - 1); in getFractionWithWeightAdjusted() local
259 fraction = fraction * mWeights.get(markerValueIndex - 1) / allWeights; in getFractionWithWeightAdjusted()
261 fraction += mTotalWeights.get(markerValueIndex - 2) / allWeights; in getFractionWithWeightAdjusted()
265 final float allWeights = mMarkerValues.size() - 1; in getFractionWithWeightAdjusted() local
266 fraction = fraction / allWeights; in getFractionWithWeightAdjusted()
268 fraction += (float) (markerValueIndex - 1) / allWeights; in getFractionWithWeightAdjusted()