Home
last modified time | relevance | path

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

/packages/apps/PhoneCommon/src/com/android/phone/common/compat/
DPathInterpolatorCompat.java83 int midIndex = (startIndex + endIndex) / 2; in getInterpolation() local
84 if (t < mX[midIndex]) { in getInterpolation()
85 endIndex = midIndex; in getInterpolation()
87 startIndex = midIndex; in getInterpolation()
/packages/modules/IntentResolver/java/src/com/android/intentresolver/contentpreview/payloadtoggle/domain/interactor/
DCursorPreviewsInteractor.kt253 val midIndex = totalIndices / 2 in <lambda>() constant
255 return max(midIndex - halfPage, 0) to min(midIndex + halfPage, totalIndices - 1) in <lambda>()