Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shade/
DNotificationsQSContainerControllerLegacyTest.kt420 val qsEndMargin = getConstraintSetLayout(R.id.qs_frame).endMargin in testSinglePaneLayout_childrenHaveEqualMargins()
422 val notifEndMargin = getConstraintSetLayout(R.id.notification_stack_scroller).endMargin in testSinglePaneLayout_childrenHaveEqualMargins()
436 assertThat(getConstraintSetLayout(R.id.qs_frame).endMargin).isEqualTo(0) in testSplitShadeLayout_childrenHaveInsideMarginsOfZero()
445 assertThat(getConstraintSetLayout(R.id.qs_frame).endMargin).isEqualTo(0) in testSplitShadeLayout_qsFrameHasHorizontalMarginsOfZero()
509 assertThat(getConstraintSetLayout(R.id.qs_frame).endMargin) in testSinglePaneShadeLayout_qsFrameHasHorizontalMarginsSetToCorrectValue()
DNotificationsQSContainerControllerTest.kt410 val qsEndMargin = getConstraintSetLayout(R.id.qs_frame).endMargin in testSinglePaneLayout_childrenHaveEqualMargins()
418 assertThat(getConstraintSetLayout(R.id.qs_frame).endMargin).isEqualTo(0) in testSplitShadeLayout_childrenHaveInsideMarginsOfZero()
425 assertThat(getConstraintSetLayout(R.id.qs_frame).endMargin).isEqualTo(0) in testSplitShadeLayout_qsFrameHasHorizontalMarginsOfZero()
482 assertThat(getConstraintSetLayout(R.id.qs_frame).endMargin) in testSinglePaneShadeLayout_qsFrameHasHorizontalMarginsSetToCorrectValue()
/frameworks/base/core/java/android/view/
DNotificationTopLineView.java144 int endMargin = Math.max(mHeaderTextMarginEnd, getPaddingEnd()); in onMeasure() local
145 if (totalWidth > givenWidth - endMargin) { in onMeasure()
146 int overFlow = totalWidth - givenWidth + endMargin; in onMeasure()
DViewGroup.java8502 private int endMargin = DEFAULT_MARGIN_RELATIVE; field in ViewGroup.MarginLayoutParams
8597 endMargin = a.getDimensionPixelSize( in MarginLayoutParams()
8653 this.endMargin = source.endMargin; in MarginLayoutParams()
8677 this.endMargin = source.endMargin; in copyMarginsFrom()
8734 endMargin = end; in setMarginsRelative()
8780 endMargin = end; in setMarginEnd()
8792 if (endMargin != DEFAULT_MARGIN_RELATIVE) return endMargin; in getMarginEnd()
8814 return (startMargin != DEFAULT_MARGIN_RELATIVE || endMargin != DEFAULT_MARGIN_RELATIVE); in isMarginRelative()
8873 && endMargin > DEFAULT_MARGIN_RELATIVE) { in doResolveMargins()
8874 rightMargin = endMargin; in doResolveMargins()
[all …]
/frameworks/base/core/java/android/widget/
DTimePickerSpinnerDelegate.java189 final int endMargin = lp.getMarginEnd(); in TimePickerSpinnerDelegate() local
190 if (startMargin != endMargin) { in TimePickerSpinnerDelegate()
191 lp.setMarginStart(endMargin); in TimePickerSpinnerDelegate()
DRelativeLayout.java755 int childSize, int startMargin, int endMargin, int startPadding, in getChildMeasureSpec() argument
792 tempEnd = mySize - endPadding - endMargin; in getChildMeasureSpec()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSPanelController.java273 public void setContentMargins(int startMargin, int endMargin) { in setContentMargins() argument
274 mView.setContentMargins(startMargin, endMargin, mMediaHost.getHostView()); in setContentMargins()
DQSPanel.java599 public void setContentMargins(int startMargin, int endMargin, ViewGroup mediaHostView) { in setContentMargins() argument
603 mContentMarginEnd = endMargin; in setContentMargins()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/complication/
DComplicationLayoutEngineTest.java136 final int endMargin = rand.nextInt(); in testComplicationMarginPosition() local
141 startMargin, topMargin, endMargin, bottomMargin, mTouchSession, 0, 0); in testComplicationMarginPosition()
174 assertThat(lp.getMarginEnd()).isEqualTo(endMargin); in testComplicationMarginPosition()
180 assertThat(lp.getMarginEnd()).isEqualTo(endMargin); in testComplicationMarginPosition()
/frameworks/base/core/java/com/android/internal/widget/
DActionBarContextView.java393 final int endMargin = (isLayoutRtl ? lp.leftMargin : lp.rightMargin); in onLayout() local
396 x = next(x, endMargin, isLayoutRtl); in onLayout()
DLinearLayoutManager.java2361 final int endMargin = endReference - estimatedEnd;
2362 if (endMargin < 0) {
2363 mCoordinate -= Math.min(startMargin, -endMargin);
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/
DQSTileViewImpl.kt283 val endMargin = resources.getDimensionPixelSize(R.dimen.qs_drawable_end_margin) in <lambda>() constant
286 marginEnd = endMargin in <lambda>()