Home
last modified time | relevance | path

Searched refs:startMargin (Results 1 – 8 of 8) sorted by relevance

/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DLinearLayoutManagerTest.java273 int startMargin = helper.getDecoratedStart(vh.itemView) - in keepFocusOnResizeTest() local
277 Log.d(TAG, "initial start margin " + startMargin + " , end margin:" + endMargin); in keepFocusOnResizeTest()
281 startMargin = helper.getDecoratedStart(vh.itemView) - in keepFocusOnResizeTest()
286 Log.d(TAG, "start margin " + startMargin + " , end margin:" + endMargin); in keepFocusOnResizeTest()
287 assertTrue("View should become fully visible", startMargin >= 0 && endMargin >= 0); in keepFocusOnResizeTest()
296 if (startMargin < endMargin) { in keepFocusOnResizeTest()
303 startMargin = helper.getDecoratedStart(vh.itemView) - in keepFocusOnResizeTest()
307 assertTrue("test sanity, view should not be fully visible", startMargin < 0 in keepFocusOnResizeTest()
335 startMargin = helper.getDecoratedStart(focused) - helper.getStartAfterPadding(); in keepFocusOnResizeTest()
345 startMargin >= 0); in keepFocusOnResizeTest()
[all …]
/frameworks/support/v7/recyclerview/src/android/support/v7/util/
DAsyncListUtil.java421 int startMargin = mFirstRequiredTileStart - firstLoadedTileStart;
423 if (startMargin > 0 && (startMargin >= endMargin ||
426 } else if (endMargin > 0 && (startMargin < endMargin ||
/frameworks/base/core/java/android/widget/
DTimePickerSpinnerDelegate.java187 final int startMargin = lp.getMarginStart(); in TimePickerSpinnerDelegate() local
189 if (startMargin != endMargin) { in TimePickerSpinnerDelegate()
191 lp.setMarginEnd(startMargin); in TimePickerSpinnerDelegate()
DRelativeLayout.java735 int childSize, int startMargin, int endMargin, int startPadding, in getChildMeasureSpec() argument
769 tempStart = startPadding + startMargin; in getChildMeasureSpec()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DActionBarContextView.java324 final int startMargin = (isLayoutRtl ? lp.rightMargin : lp.leftMargin); in onLayout() local
326 x = next(x, startMargin, isLayoutRtl); in onLayout()
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
DLinearLayoutManager.java2233 final int startMargin = estimatedChildStart - startReference;
2234 if (startMargin < 0) {
2236 mCoordinate += Math.min(previousEndMargin, -startMargin);
2241 final int startMargin = childStart - mOrientationHelper.getStartAfterPadding();
2243 if (startMargin > 0) { // we have room to fix end as well
2254 mCoordinate -= Math.min(startMargin, -endMargin);
/frameworks/base/core/java/android/view/
DViewGroup.java7178 private int startMargin = DEFAULT_MARGIN_RELATIVE; field in ViewGroup.MarginLayoutParams
7275 startMargin = a.getDimensionPixelSize( in MarginLayoutParams()
7322 this.startMargin = source.startMargin; in MarginLayoutParams()
7346 this.startMargin = source.startMargin; in copyMarginsFrom()
7401 startMargin = start; in setMarginsRelative()
7416 startMargin = start; in setMarginStart()
7428 if (startMargin != DEFAULT_MARGIN_RELATIVE) return startMargin; in getMarginStart()
7483 return (startMargin != DEFAULT_MARGIN_RELATIVE || endMargin != DEFAULT_MARGIN_RELATIVE); in isMarginRelative()
7538 && startMargin > DEFAULT_MARGIN_RELATIVE) { in doResolveMargins()
7539 leftMargin = startMargin; in doResolveMargins()
[all …]
/frameworks/base/core/java/com/android/internal/widget/
DActionBarContextView.java390 final int startMargin = (isLayoutRtl ? lp.rightMargin : lp.leftMargin); in onLayout() local
392 x = next(x, startMargin, isLayoutRtl); in onLayout()