Searched refs:rangeSize (Results 1 – 4 of 4) sorted by relevance
712 val rangeSize = min(pageIndicatorCount, pageCount) in computePageIndicatorStates() constant715 var rangeStart = page - rangeSize / 2 in computePageIndicatorStates()716 var rangeEnd = rangeStart + rangeSize - 1 in computePageIndicatorStates()721 rangeStart = rangeEnd - rangeSize + 1 in computePageIndicatorStates()727 rangeEnd = rangeSize - 1 in computePageIndicatorStates()735 if (rangeSize < 2) { in computePageIndicatorStates()740 states.fill(R.drawable.ic_swipe_circle_dark, 0, rangeSize) in computePageIndicatorStates()749 states[rangeSize - 1] = R.drawable.ic_swipe_circle_bottom in computePageIndicatorStates()
461 final int rangeSize = Math.min(pageIndicatorCount, pageCount); in computePageIndicatorStates() local464 int rangeStart = page - (rangeSize / 2); in computePageIndicatorStates()465 int rangeEnd = rangeStart + rangeSize - 1; in computePageIndicatorStates()470 rangeStart = rangeEnd - rangeSize + 1; in computePageIndicatorStates()476 rangeEnd = rangeSize - 1; in computePageIndicatorStates()484 if (rangeSize < 2) { in computePageIndicatorStates()489 Arrays.fill(states, 0, rangeSize, R.drawable.ic_swipe_circle_dark); in computePageIndicatorStates()498 states[rangeSize - 1] = R.drawable.ic_swipe_circle_bottom; in computePageIndicatorStates()
99 int rangeSize = (MAX_AUTOCLICK_DELAY - MIN_AUTOCLICK_DELAY) / in getAutoclickPreferenceSummaryIndex() local101 return (delay - MIN_AUTOCLICK_DELAY) / rangeSize; in getAutoclickPreferenceSummaryIndex()