Home
last modified time | relevance | path

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

/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DStaggeredGridLayoutManagerSnappingTest.java257 int minDist = Integer.MAX_VALUE; in findMinSafeScrollDistance() local
261 if (dist < minDist) { in findMinSafeScrollDistance()
262 minDist = dist; in findMinSafeScrollDistance()
265 return minDist / 2 - 1; in findMinSafeScrollDistance()
DBaseStaggeredGridLayoutManagerTest.java600 int minDist = Integer.MAX_VALUE; in findFirstVisibleItemClosestToCenter() local
609 if (dist < minDist) { in findFirstVisibleItemClosestToCenter()
610 minDist = dist; in findFirstVisibleItemClosestToCenter()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
DNotificationStackScrollLayout.java1038 float minDist = Float.MAX_VALUE; in getClosestChildAtRawPosition() local
1054 if (dist < minDist) { in getClosestChildAtRawPosition()
1056 minDist = dist; in getClosestChildAtRawPosition()