Searched refs:mReversedFlow (Results 1 – 5 of 5) sorted by relevance
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
D | StaggeredGridDefault.java | 32 if (mReversedFlow) { in getRowMax() 69 if (mReversedFlow) { in getRowMin() 111 if (mReversedFlow) { in findRowMax() 163 if (mReversedFlow) { in findRowMin() 247 edgeLimit = mReversedFlow ? getRowMin(i) : getRowMax(i); in appendVisibleItemsWithoutCache() 253 edgeLimit = mReversedFlow ? findRowMin(false, edgeLimitSearchIndex, null) : in appendVisibleItemsWithoutCache() 256 if (mReversedFlow ? getRowMin(rowIndex) <= edgeLimit in appendVisibleItemsWithoutCache() 263 edgeLimit = mReversedFlow ? findRowMin(false, null) : findRowMax(true, null); in appendVisibleItemsWithoutCache() 286 int location = mReversedFlow ? getRowMin(rowIndex) : getRowMax(rowIndex); in appendVisibleItemsWithoutCache() 290 … location = mReversedFlow ? getRowMin(mNumRows - 1) : getRowMax(mNumRows - 1); in appendVisibleItemsWithoutCache() [all …]
|
D | Grid.java | 129 protected boolean mReversedFlow; field in Grid 166 mReversedFlow = reversedFlow; in setReversedFlow() 173 return mReversedFlow; in isReversedFlow() 288 return findRowMin(findLarge, mReversedFlow ? mLastVisibleIndex : mFirstVisibleIndex, in findRowMin() 303 return findRowMax(findLarge, mReversedFlow ? mFirstVisibleIndex : mLastVisibleIndex, in findRowMax() 320 return mReversedFlow ? findRowMin(true, null) <= toLimit + mSpacing : in checkAppendOverLimit() 331 return mReversedFlow ? findRowMax(false, null) >= toLimit - mSpacing : in checkPrependOverLimit() 362 return prependVisibleItems(mReversedFlow ? Integer.MIN_VALUE : Integer.MAX_VALUE, true); in prependOneColumnVisibleItems() 388 return appendVisibleItems(mReversedFlow ? Integer.MAX_VALUE : Integer.MIN_VALUE, true); in appendOneColumnVisibleItems() 415 boolean offEnd = !mReversedFlow ? mProvider.getEdge(mLastVisibleIndex) >= toLimit in removeInvisibleItemsAtEnd() [all …]
|
D | WindowAlignment.java | 75 private boolean mReversedFlow; field in WindowAlignment.Axis 196 if (!mReversedFlow) { in calculateKeyline() 237 if (!mReversedFlow ? (mWindowAlignment & WINDOW_ALIGN_LOW_EDGE) != 0 in updateMinMax() 247 if (!mReversedFlow ? (mWindowAlignment & WINDOW_ALIGN_HIGH_EDGE) != 0 in updateMinMax() 257 if (!mReversedFlow ? (mWindowAlignment & WINDOW_ALIGN_LOW_EDGE) != 0 in updateMinMax() 259 if (!mReversedFlow ? isPreferKeylineOverLowEdge() in updateMinMax() 268 } else if (!mReversedFlow ? (mWindowAlignment & WINDOW_ALIGN_HIGH_EDGE) != 0 in updateMinMax() 270 if (!mReversedFlow ? isPreferKeylineOverHighEdge() in updateMinMax() 295 if ((!mReversedFlow ? (mWindowAlignment & WINDOW_ALIGN_LOW_EDGE) != 0 in getScroll() 309 if ((!mReversedFlow ? (mWindowAlignment & WINDOW_ALIGN_HIGH_EDGE) != 0 in getScroll() [all …]
|
D | SingleRow.java | 83 edge = mReversedFlow ? Integer.MIN_VALUE : Integer.MAX_VALUE; in prependVisibleItems() 86 if (mReversedFlow) { in prependVisibleItems() 116 edge = mReversedFlow ? Integer.MAX_VALUE : Integer.MIN_VALUE; in appendVisibleItems() 119 if (mReversedFlow) { in appendVisibleItems() 140 if (mReversedFlow ? da > 0 : da < 0) { in collectAdjacentPrefetchPositions() 148 + (mReversedFlow ? mSpacing : -mSpacing); in collectAdjacentPrefetchPositions() 158 + (mReversedFlow ? -itemSizeWithSpace : itemSizeWithSpace); in collectAdjacentPrefetchPositions() 180 return mReversedFlow ? mProvider.getEdge(indexLimit) - mProvider.getSize(indexLimit) in findRowMin() 190 return mReversedFlow ? mProvider.getEdge(indexLimit) in findRowMax()
|
D | StaggeredGrid.java | 262 int thisEdge = !mReversedFlow ? edge - loc.size : edge + loc.size; in prependVisibleItemToRow()
|