Home
last modified time | relevance | path

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

/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DParallaxEffect.java86 for (Parallax.PropertyMarkerValue markerValue : markerValues) { in setPropertyRanges()
87 mMarkerValues.add(markerValue); in setPropertyRanges()
318 int markerValue = k.getMarkerValue(source); in calculateFraction() local
323 if (currentValue >= markerValue) { in calculateFraction()
327 if (lastIndex == index && lastMarkerValue < markerValue) { in calculateFraction()
338 } else if (currentValue >= markerValue) { in calculateFraction()
344 / (lastMarkerValue - markerValue); in calculateFraction()
351 / (lastMarkerValue - markerValue); in calculateFraction()
356 fraction = 1f - (float) (currentValue - markerValue) in calculateFraction()
364 lastMarkerValue = markerValue; in calculateFraction()
[all …]
DParallax.java325 public final PropertyMarkerValue atAbsolute(float markerValue) { in atAbsolute() argument
326 return new FloatPropertyMarkerValue(this, markerValue, 0f); in atAbsolute()