Home
last modified time | relevance | path

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

/frameworks/native/libs/gui/
DOccupancyTracker.cpp103 float timeRatio = static_cast<float>(timePair.second) / in recordPendingSegment() local
105 occupancyAverage += timeRatio * occupancy; in recordPendingSegment()
/frameworks/base/core/java/com/android/internal/widget/helper/
DItemTouchHelper.java2119 final float timeRatio; in interpolateOutOfBoundsScroll() local
2121 timeRatio = 1f; in interpolateOutOfBoundsScroll()
2123 timeRatio = (float) msSinceStartScroll / DRAG_SCROLL_ACCELERATION_LIMIT_TIME_MS; in interpolateOutOfBoundsScroll()
2126 .getInterpolation(timeRatio)); in interpolateOutOfBoundsScroll()
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/
DItemTouchHelper.java2154 final float timeRatio; in interpolateOutOfBoundsScroll() local
2156 timeRatio = 1f; in interpolateOutOfBoundsScroll()
2158 timeRatio = (float) msSinceStartScroll / DRAG_SCROLL_ACCELERATION_LIMIT_TIME_MS; in interpolateOutOfBoundsScroll()
2161 .getInterpolation(timeRatio)); in interpolateOutOfBoundsScroll()