Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DPseudoGridView.java76 int startOfRow = row * mNumColumns; in onMeasure() local
77 int endOfRow = Math.min(startOfRow + mNumColumns, children); in onMeasure()
79 for (int i = startOfRow; i < endOfRow; i++) { in onMeasure()
85 for (int i = startOfRow; i < endOfRow; i++) { in onMeasure()
109 int startOfRow = row * mNumColumns; in onLayout() local
110 int endOfRow = Math.min(startOfRow + mNumColumns, children); in onLayout()
111 for (int i = startOfRow; i < endOfRow; i++) { in onLayout()
/frameworks/base/core/java/android/widget/
DGridView.java1908 int startOfRow; in sequenceScroll() local
1911 startOfRow = (selectedPosition / numColumns) * numColumns; in sequenceScroll()
1912 endOfRow = Math.min(startOfRow + numColumns - 1, count - 1); in sequenceScroll()
1916 startOfRow = Math.max(0, endOfRow - numColumns + 1); in sequenceScroll()
1940 showScroll = selectedPosition == startOfRow; in sequenceScroll()