Home
last modified time | relevance | path

Searched refs:mSpacing (Results 1 – 12 of 12) sorted by relevance

/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
DGrid.java131 protected int mSpacing; field in Grid
160 mSpacing = spacing; in setSpacing()
321 return mReversedFlow ? findRowMin(true, null) <= toLimit + mSpacing : in checkAppendOverLimit()
322 findRowMax(false, null) >= toLimit - mSpacing; in checkAppendOverLimit()
332 return mReversedFlow ? findRowMax(false, null) >= toLimit - mSpacing : in checkPrependOverLimit()
333 findRowMin(true, null) <= toLimit + mSpacing; in checkPrependOverLimit()
473 edge = mProvider.getEdge(lastPos) - mProvider.getSize(lastPos) - mSpacing; in fillDisappearingItems()
475 edge = mProvider.getEdge(lastPos) + mProvider.getSize(lastPos) + mSpacing; in fillDisappearingItems()
486 edge = edge - size - mSpacing; in fillDisappearingItems()
488 edge = edge + size + mSpacing; in fillDisappearingItems()
[all …]
DSingleRow.java87 edge = mProvider.getEdge(index + 1) + mSpacing + size; in prependVisibleItems()
89 edge = mProvider.getEdge(index + 1) - mSpacing - size; in prependVisibleItems()
120 edge = mProvider.getEdge(index - 1) - mProvider.getSize(index - 1) - mSpacing; in appendVisibleItems()
122 edge = mProvider.getEdge(index - 1) + mProvider.getSize(index - 1) + mSpacing; in appendVisibleItems()
148 + (mReversedFlow ? mSpacing : -mSpacing); in collectAdjacentPrefetchPositions()
156 int itemSizeWithSpace = mProvider.getSize(mLastVisibleIndex) + mSpacing; in collectAdjacentPrefetchPositions()
DStaggeredGridDefault.java292 location = location + (mReversedFlow ? -mSpacing : mSpacing); in appendVisibleItemsWithoutCache()
298 location = location + (mReversedFlow ? -mSpacing : mSpacing); in appendVisibleItemsWithoutCache()
310 location = location + (mReversedFlow ? - size - mSpacing : size + mSpacing); in appendVisibleItemsWithoutCache()
393 location = location + (mReversedFlow ? mSpacing : -mSpacing); in prependVisibleItemsWithoutCache()
399 location = location + (mReversedFlow ? mSpacing : -mSpacing); in prependVisibleItemsWithoutCache()
412 location = location + (mReversedFlow ? size + mSpacing : -size - mSpacing); in prependVisibleItemsWithoutCache()
DStaggeredGrid.java218 int offset = isReversedFlow() ? -getLocation(cachedIndex).size - mSpacing: in calculateOffsetAfterLastItem()
219 getLocation(cachedIndex).size + mSpacing; in calculateOffsetAfterLastItem()
/frameworks/base/libs/hwui/tests/common/scenes/
DRoundRectClippingAnimation.cpp23 int mSpacing, mSize; member in RoundRectClippingAnimation
25 RoundRectClippingAnimation(int spacing, int size) : mSpacing(spacing), mSize(size) {} in RoundRectClippingAnimation()
33 for (int x = 0; x < width; x += mSpacing) { in createContent()
34 for (int y = 0; y < height; y += mSpacing) { in createContent()
/frameworks/base/services/core/jni/BroadcastRadio/
Dregions.cpp45 uint32_t mSpacing; member in android::server::BroadcastRadio::regions::RegionalBandDefinition
149 if (std::find(spacings.begin(), spacings.end(), mSpacing) == spacings.end()) return false; in fitsInsideBand()
160 config.spacings = hidl_vec<uint32_t>({ mSpacing }); in withConfig()
/frameworks/base/core/java/com/android/internal/widget/
DMessagingLinearLayout.java42 private int mSpacing; field in MessagingLinearLayout
60 mSpacing = a.getDimensionPixelSize(i, 0); in MessagingLinearLayout()
101 int spacing = mSpacing; in onMeasure()
191 childTop += mSpacing; in onLayout()
/frameworks/base/core/java/android/hardware/radio/
DRadioManager.java542 private final int mSpacing; field in RadioManager.BandDescriptor
552 mSpacing = spacing; in BandDescriptor()
609 return mSpacing; in getSpacing()
617 mSpacing = in.readInt(); in BandDescriptor()
655 dest.writeInt(mSpacing); in writeToParcel()
666 + mLowerLimit + ", mUpperLimit=" + mUpperLimit + ", mSpacing=" + mSpacing + "]"; in toString()
677 result = prime * result + mSpacing; in hashCode()
696 if (mSpacing != other.getSpacing()) in equals()
/frameworks/base/core/java/android/widget/
DGallery.java78 private int mSpacing = 0; field in Gallery
294 mSpacing = spacing; in setSpacing()
708 int itemSpacing = mSpacing; in fillToGalleryLeftRtl()
739 int itemSpacing = mSpacing; in fillToGalleryLeftLtr()
779 int itemSpacing = mSpacing; in fillToGalleryRightRtl()
810 int itemSpacing = mSpacing; in fillToGalleryRightLtr()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DSmartReplyViewTest.java79 private int mSpacing; field in SmartReplyViewTest
101 mSpacing = res.getDimensionPixelSize(R.dimen.smart_reply_button_spacing); in setUp()
414 lp.leftMargin = mSpacing; in buildExpectedView()
416 lp.rightMargin = mSpacing; in buildExpectedView()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DSmartReplyView.java67 private final int mSpacing; field in SmartReplyView
148 mSpacing = spacing; in SmartReplyView()
302 final int spacing = displayedChildCount == 0 ? 0 : mSpacing; in onMeasure()
555 final int childWidthWithSpacing = childWidth + mSpacing; in onLayout()
/frameworks/base/config/
Dhiddenapi-light-greylist.txt6977 Landroid/widget/Gallery;->mSpacing:I