Searched refs:subfocusMin (Results 1 – 1 of 1) sorted by relevance
685 static int computeBestScrollOffset(int currentScrollOffset, int subfocusMin, int subfocusMax, int o… in computeBestScrollOffset() argument693 subfocusMin = std::max(subfocusMin, objectMin); in computeBestScrollOffset()697 if (subfocusMax - subfocusMin > viewportSize) in computeBestScrollOffset()698 subfocusMax = subfocusMin + viewportSize; in computeBestScrollOffset()700 if (subfocusMin + viewportSize > objectMax) { in computeBestScrollOffset()703 objectMin = subfocusMin; in computeBestScrollOffset()704 objectMax = subfocusMin + viewportSize; in computeBestScrollOffset()