Searched refs:distanceToReachEdge (Results 1 – 3 of 3) sorted by relevance
357 float distanceToReachEdge = mDp.widthPx / 2 + taskWidth / 2 + mPageSpacing; in getTaskCurveScaleForOffsetX() local358 float interpolation = Math.min(1, offsetX / distanceToReachEdge); in getTaskCurveScaleForOffsetX()
435 float distanceToReachEdge = mDp.widthPx / 2 + taskWidth / 2 + in getTaskCurveScaleForOffsetX() local437 float interpolation = Math.min(1, offsetX / distanceToReachEdge); in getTaskCurveScaleForOffsetX()
715 float distanceToReachEdge = halfScreenWidth + halfPageWidth + pageSpacing; in updateCurveProperties() local717 Math.abs(distanceFromScreenCenter) / distanceToReachEdge); in updateCurveProperties()