Searched refs:endMargin (Results 1 – 8 of 8) sorted by relevance
/frameworks/support/v7/recyclerview/src/android/support/v7/util/ |
D | AsyncListUtil.java | 422 int endMargin = lastLoadedTileStart - mLastRequiredTileStart; 423 if (startMargin > 0 && (startMargin >= endMargin || 426 } else if (endMargin > 0 && (startMargin < endMargin ||
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
D | LinearLayoutManagerTest.java | 314 int endMargin = helper.getEndAfterPadding() - in keepFocusOnResizeTest() local 316 Log.d(TAG, "initial start margin " + startMargin + " , end margin:" + endMargin); in keepFocusOnResizeTest() 330 endMargin = helper.getEndAfterPadding() - in keepFocusOnResizeTest() 333 Log.d(TAG, "start margin " + startMargin + " , end margin:" + endMargin); in keepFocusOnResizeTest() 334 assertTrue("View should become fully visible", startMargin >= 0 && endMargin >= 0); in keepFocusOnResizeTest() 343 if (startMargin < endMargin) { in keepFocusOnResizeTest() 352 endMargin = helper.getEndAfterPadding() - in keepFocusOnResizeTest() 355 || endMargin < 0); in keepFocusOnResizeTest() 383 endMargin = helper.getEndAfterPadding() - helper.getDecoratedEnd(focused); in keepFocusOnResizeTest() 390 endMargin >= 0); in keepFocusOnResizeTest() [all …]
|
/frameworks/base/core/java/android/widget/ |
D | TimePickerSpinnerDelegate.java | 192 final int endMargin = lp.getMarginEnd(); in TimePickerSpinnerDelegate() local 193 if (startMargin != endMargin) { in TimePickerSpinnerDelegate() 194 lp.setMarginStart(endMargin); in TimePickerSpinnerDelegate()
|
D | RelativeLayout.java | 735 int childSize, int startMargin, int endMargin, int startPadding, in getChildMeasureSpec() argument 772 tempEnd = mySize - endPadding - endMargin; in getChildMeasureSpec()
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
D | ActionBarContextView.java | 328 final int endMargin = (isLayoutRtl ? lp.leftMargin : lp.rightMargin); in onLayout() local 331 x = next(x, endMargin, isLayoutRtl); in onLayout()
|
/frameworks/base/core/java/android/view/ |
D | ViewGroup.java | 7016 private int endMargin = DEFAULT_MARGIN_RELATIVE; field in ViewGroup.MarginLayoutParams 7108 endMargin = a.getDimensionPixelSize( in MarginLayoutParams() 7156 this.endMargin = source.endMargin; in MarginLayoutParams() 7183 this.endMargin = source.endMargin; in copyMarginsFrom() 7239 endMargin = end; in setMarginsRelative() 7285 endMargin = end; in setMarginEnd() 7297 if (endMargin != DEFAULT_MARGIN_RELATIVE) return endMargin; in getMarginEnd() 7319 return (startMargin != DEFAULT_MARGIN_RELATIVE || endMargin != DEFAULT_MARGIN_RELATIVE); in isMarginRelative() 7378 && endMargin > DEFAULT_MARGIN_RELATIVE) { in doResolveMargins() 7379 rightMargin = endMargin; in doResolveMargins() [all …]
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | ActionBarContextView.java | 391 final int endMargin = (isLayoutRtl ? lp.leftMargin : lp.rightMargin); in onLayout() local 394 x = next(x, endMargin, isLayoutRtl); in onLayout()
|
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
D | LinearLayoutManager.java | 2174 final int endMargin = endReference - estimatedEnd; 2175 if (endMargin < 0) { 2176 mCoordinate -= Math.min(startMargin, -endMargin);
|