Home
last modified time | relevance | path

Searched refs:endMargin (Results 1 – 10 of 10) sorted by relevance

/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DLinearLayoutManagerTest.java275 int endMargin = helper.getEndAfterPadding() - in keepFocusOnResizeTest() local
277 Log.d(TAG, "initial start margin " + startMargin + " , end margin:" + endMargin); in keepFocusOnResizeTest()
283 endMargin = helper.getEndAfterPadding() - 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()
305 endMargin = helper.getEndAfterPadding() - in keepFocusOnResizeTest()
308 || endMargin < 0); in keepFocusOnResizeTest()
336 endMargin = helper.getEndAfterPadding() - helper.getDecoratedEnd(focused); in keepFocusOnResizeTest()
343 endMargin >= 0); in keepFocusOnResizeTest()
[all …]
/frameworks/base/core/java/com/android/internal/widget/
DImageFloatingTextView.java76 int endMargin = getContext().getResources().getDimensionPixelSize( in makeSingleLayout() local
82 margins[i] = endMargin; in makeSingleLayout()
DActionBarContextView.java391 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/util/
DAsyncListUtil.java422 int endMargin = lastLoadedTileStart - mLastRequiredTileStart;
423 if (startMargin > 0 && (startMargin >= endMargin ||
426 } else if (endMargin > 0 && (startMargin < endMargin ||
/frameworks/base/core/java/android/widget/
DTimePickerSpinnerDelegate.java188 final int endMargin = lp.getMarginEnd(); in TimePickerSpinnerDelegate() local
189 if (startMargin != endMargin) { in TimePickerSpinnerDelegate()
190 lp.setMarginStart(endMargin); in TimePickerSpinnerDelegate()
DRelativeLayout.java735 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/widget/
DActionBarContextView.java325 final int endMargin = (isLayoutRtl ? lp.leftMargin : lp.rightMargin); in onLayout() local
328 x = next(x, endMargin, isLayoutRtl); in onLayout()
/frameworks/base/core/java/android/view/
DViewGroup.java7186 private int endMargin = DEFAULT_MARGIN_RELATIVE; field in ViewGroup.MarginLayoutParams
7278 endMargin = a.getDimensionPixelSize( in MarginLayoutParams()
7323 this.endMargin = source.endMargin; in MarginLayoutParams()
7347 this.endMargin = source.endMargin; in copyMarginsFrom()
7403 endMargin = end; in setMarginsRelative()
7449 endMargin = end; in setMarginEnd()
7461 if (endMargin != DEFAULT_MARGIN_RELATIVE) return endMargin; in getMarginEnd()
7483 return (startMargin != DEFAULT_MARGIN_RELATIVE || endMargin != DEFAULT_MARGIN_RELATIVE); in isMarginRelative()
7542 && endMargin > DEFAULT_MARGIN_RELATIVE) { in doResolveMargins()
7543 rightMargin = endMargin; in doResolveMargins()
[all …]
/frameworks/base/core/java/android/app/
DNotification.java3347 int endMargin = R.dimen.notification_content_picture_margin; in bindLargeIcon() local
3348 contentView.setViewLayoutMarginEndDimen(R.id.line1, endMargin); in bindLargeIcon()
3349 contentView.setViewLayoutMarginEndDimen(R.id.text, endMargin); in bindLargeIcon()
3350 contentView.setViewLayoutMarginEndDimen(R.id.progress, endMargin); in bindLargeIcon()
5069 int endMargin = 0; in handleInboxImageMargin() local
5075 endMargin = R.dimen.notification_content_picture_margin; in handleInboxImageMargin()
5078 contentView.setViewLayoutMarginEndDimen(id, endMargin); in handleInboxImageMargin()
5263 int endMargin = R.dimen.notification_content_margin_end; in makeMediaContentView() local
5265 endMargin = R.dimen.notification_content_plus_picture_margin_end; in makeMediaContentView()
5267 view.setViewLayoutMarginEndDimen(R.id.notification_main_column, endMargin); in makeMediaContentView()
[all …]
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
DLinearLayoutManager.java2252 final int endMargin = endReference - estimatedEnd;
2253 if (endMargin < 0) {
2254 mCoordinate -= Math.min(startMargin, -endMargin);