Home
last modified time | relevance | path

Searched refs:timeRatio (Results 1 – 2 of 2) 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()