Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/
DPageIndicator.java102 int windowStart = Math.max(0, activeIndex - hWindowSize); in offsetWindowCenterTo() local
103 int windowEnd = Math.min(mMarkers.size(), windowStart + mMaxWindowSize); in offsetWindowCenterTo()
104 windowStart = windowEnd - Math.min(mMarkers.size(), windowSize); in offsetWindowCenterTo()
105 int windowMid = windowStart + (windowEnd - windowStart) / 2; in offsetWindowCenterTo()
106 boolean windowAtStart = (windowStart == 0); in offsetWindowCenterTo()
108 boolean windowMoved = (mWindowRange[0] != windowStart) || in offsetWindowCenterTo()
119 if (markerIndex < windowStart || markerIndex >= windowEnd) { in offsetWindowCenterTo()
127 if (windowStart <= i && i < windowEnd) { in offsetWindowCenterTo()
129 addView(marker, i - windowStart); in offsetWindowCenterTo()
158 mWindowRange[0] = windowStart; in offsetWindowCenterTo()