/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
D | LinearLayoutManagerTest.java | 267 int endMargin = helper.getEndAfterPadding() - in keepFocusOnResizeTest() local 269 Log.d(TAG, "initial start margin " + startMargin + " , end margin:" + endMargin); in keepFocusOnResizeTest() 275 endMargin = helper.getEndAfterPadding() - in keepFocusOnResizeTest() 278 Log.d(TAG, "start margin " + startMargin + " , end margin:" + endMargin); in keepFocusOnResizeTest() 279 assertTrue("View should become fully visible", startMargin >= 0 && endMargin >= 0); in keepFocusOnResizeTest() 288 if (startMargin < endMargin) { in keepFocusOnResizeTest() 297 endMargin = helper.getEndAfterPadding() - in keepFocusOnResizeTest() 300 || endMargin < 0); in keepFocusOnResizeTest() 328 endMargin = helper.getEndAfterPadding() - helper.getDecoratedEnd(focused); in keepFocusOnResizeTest() 335 endMargin >= 0); in keepFocusOnResizeTest() [all …]
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | ImageFloatingTextView.java | 83 int endMargin = getContext().getResources().getDimensionPixelSize( in makeSingleLayout() local 89 margins[i] = endMargin; in makeSingleLayout()
|
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/util/ |
D | AsyncListUtil.java | 422 int endMargin = lastLoadedTileStart - mLastRequiredTileStart; 423 if (startMargin > 0 && (startMargin >= endMargin || 426 } else if (endMargin > 0 && (startMargin < endMargin ||
|
/frameworks/base/core/java/android/widget/ |
D | TimePickerSpinnerDelegate.java | 188 final int endMargin = lp.getMarginEnd(); in TimePickerSpinnerDelegate() local 189 if (startMargin != endMargin) { in TimePickerSpinnerDelegate() 190 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/widget/ |
D | ActionBarContextView.java | 329 final int endMargin = (isLayoutRtl ? lp.leftMargin : lp.rightMargin); in onLayout() local 332 x = next(x, endMargin, isLayoutRtl); in onLayout()
|
/frameworks/base/core/java/android/view/ |
D | ViewGroup.java | 7161 private int endMargin = DEFAULT_MARGIN_RELATIVE; field in ViewGroup.MarginLayoutParams 7253 endMargin = a.getDimensionPixelSize( in MarginLayoutParams() 7298 this.endMargin = source.endMargin; in MarginLayoutParams() 7322 this.endMargin = source.endMargin; in copyMarginsFrom() 7378 endMargin = end; in setMarginsRelative() 7424 endMargin = end; in setMarginEnd() 7436 if (endMargin != DEFAULT_MARGIN_RELATIVE) return endMargin; in getMarginEnd() 7458 return (startMargin != DEFAULT_MARGIN_RELATIVE || endMargin != DEFAULT_MARGIN_RELATIVE); in isMarginRelative() 7517 && endMargin > DEFAULT_MARGIN_RELATIVE) { in doResolveMargins() 7518 rightMargin = endMargin; in doResolveMargins() [all …]
|
/frameworks/base/core/java/android/app/ |
D | Notification.java | 3376 int endMargin = R.dimen.notification_content_picture_margin; in bindLargeIcon() local 3377 contentView.setViewLayoutMarginEndDimen(R.id.line1, endMargin); in bindLargeIcon() 3378 contentView.setViewLayoutMarginEndDimen(R.id.text, endMargin); in bindLargeIcon() 3379 contentView.setViewLayoutMarginEndDimen(R.id.progress, endMargin); in bindLargeIcon() 5245 int endMargin = 0; in handleInboxImageMargin() local 5251 endMargin = R.dimen.notification_content_picture_margin; in handleInboxImageMargin() 5254 contentView.setViewLayoutMarginEndDimen(id, endMargin); in handleInboxImageMargin() 5439 int endMargin = R.dimen.notification_content_margin_end; in makeMediaContentView() local 5441 endMargin = R.dimen.notification_content_plus_picture_margin_end; in makeMediaContentView() 5443 view.setViewLayoutMarginEndDimen(R.id.notification_main_column, endMargin); in makeMediaContentView() [all …]
|
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
D | LinearLayoutManager.java | 2285 final int endMargin = endReference - estimatedEnd; 2286 if (endMargin < 0) { 2287 mCoordinate -= Math.min(startMargin, -endMargin);
|