Home
last modified time | relevance | path

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

/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DStaggeredGridDefault.java292 location = location + (mReversedFlow ? -mMargin : mMargin); in appendVisibleItemsWithoutCache()
298 location = location + (mReversedFlow ? -mMargin : mMargin); in appendVisibleItemsWithoutCache()
310 location = location + (mReversedFlow ? - size - mMargin : size + mMargin); in appendVisibleItemsWithoutCache()
393 location = location + (mReversedFlow ? mMargin : -mMargin); in prependVisibleItemsWithoutCache()
399 location = location + (mReversedFlow ? mMargin : -mMargin); in prependVisibleItemsWithoutCache()
412 location = location + (mReversedFlow ? size + mMargin : -size - mMargin); in prependVisibleItemsWithoutCache()
DGrid.java111 protected int mMargin; field in Grid
140 mMargin = margin; in setMargin()
296 return mReversedFlow ? findRowMin(true, null) <= toLimit + mMargin : in checkAppendOverLimit()
297 findRowMax(false, null) >= toLimit - mMargin; in checkAppendOverLimit()
307 return mReversedFlow ? findRowMax(false, null) >= toLimit + mMargin : in checkPrependOverLimit()
308 findRowMin(true, null) <= toLimit - mMargin; in checkPrependOverLimit()
DSingleRow.java85 edge = mProvider.getEdge(index + 1) + mMargin + size; in prependVisibleItems()
87 edge = mProvider.getEdge(index + 1) - mMargin - size; in prependVisibleItems()
118 edge = mProvider.getEdge(index - 1) - mProvider.getSize(index - 1) - mMargin; in appendVisibleItems()
120 edge = mProvider.getEdge(index - 1) + mProvider.getSize(index - 1) + mMargin; in appendVisibleItems()
DStaggeredGrid.java222 int offset = isReversedFlow() ? -getLocation(cachedIndex).size - mMargin: in calculateOffsetAfterLastItem()
223 getLocation(cachedIndex).size + mMargin; in calculateOffsetAfterLastItem()