Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shade/
DNotificationsQSContainerControllerLegacyTest.kt419 val qsStartMargin = getConstraintSetLayout(R.id.qs_frame).startMargin in testSinglePaneLayout_childrenHaveEqualMargins()
421 val notifStartMargin = getConstraintSetLayout(R.id.notification_stack_scroller).startMargin in testSinglePaneLayout_childrenHaveEqualMargins()
437 assertThat(getConstraintSetLayout(R.id.notification_stack_scroller).startMargin) in testSplitShadeLayout_childrenHaveInsideMarginsOfZero()
446 assertThat(getConstraintSetLayout(R.id.qs_frame).startMargin).isEqualTo(0) in testSplitShadeLayout_qsFrameHasHorizontalMarginsOfZero()
511 assertThat(getConstraintSetLayout(R.id.qs_frame).startMargin) in testSinglePaneShadeLayout_qsFrameHasHorizontalMarginsSetToCorrectValue()
DNotificationsQSContainerControllerTest.kt409 val qsStartMargin = getConstraintSetLayout(R.id.qs_frame).startMargin in testSinglePaneLayout_childrenHaveEqualMargins()
426 assertThat(getConstraintSetLayout(R.id.qs_frame).startMargin).isEqualTo(0) in testSplitShadeLayout_qsFrameHasHorizontalMarginsOfZero()
484 assertThat(getConstraintSetLayout(R.id.qs_frame).startMargin) in testSinglePaneShadeLayout_qsFrameHasHorizontalMarginsSetToCorrectValue()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/ui/view/layout/sections/
DDefaultDeviceEntrySectionTest.kt156 assertThat(constraint.layout.startMargin).isEqualTo(4) in testCenterIcon_udfps_refactor_off()
172 assertThat(constraint.layout.startMargin).isEqualTo(4) in testCenterIcon_udfps_refactor_on()
/frameworks/base/core/java/android/widget/
DTimePickerSpinnerDelegate.java188 final int startMargin = lp.getMarginStart(); in TimePickerSpinnerDelegate() local
190 if (startMargin != endMargin) { in TimePickerSpinnerDelegate()
192 lp.setMarginEnd(startMargin); in TimePickerSpinnerDelegate()
DRelativeLayout.java755 int childSize, int startMargin, int endMargin, int startPadding, in getChildMeasureSpec() argument
789 tempStart = startPadding + startMargin; 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
602 mContentMarginStart = startMargin; in setContentMargins()
/frameworks/base/core/java/com/android/internal/widget/
DLinearLayoutManager.java2342 final int startMargin = estimatedChildStart - startReference;
2343 if (startMargin < 0) {
2345 mCoordinate += Math.min(previousEndMargin, -startMargin);
2350 final int startMargin = childStart - mOrientationHelper.getStartAfterPadding();
2352 if (startMargin > 0) { // we have room to fix end as well
2363 mCoordinate -= Math.min(startMargin, -endMargin);
DActionBarContextView.java392 final int startMargin = (isLayoutRtl ? lp.rightMargin : lp.leftMargin); in onLayout() local
394 x = next(x, startMargin, isLayoutRtl); in onLayout()
/frameworks/base/core/java/android/view/
DViewGroup.java8493 private int startMargin = DEFAULT_MARGIN_RELATIVE; field in ViewGroup.MarginLayoutParams
8594 startMargin = a.getDimensionPixelSize( in MarginLayoutParams()
8652 this.startMargin = source.startMargin; in MarginLayoutParams()
8676 this.startMargin = source.startMargin; in copyMarginsFrom()
8732 startMargin = start; in setMarginsRelative()
8747 startMargin = start; in setMarginStart()
8759 if (startMargin != DEFAULT_MARGIN_RELATIVE) return startMargin; in getMarginStart()
8814 return (startMargin != DEFAULT_MARGIN_RELATIVE || endMargin != DEFAULT_MARGIN_RELATIVE); in isMarginRelative()
8869 && startMargin > DEFAULT_MARGIN_RELATIVE) { in doResolveMargins()
8870 leftMargin = startMargin; in doResolveMargins()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/complication/
DComplicationLayoutEngineTest.java134 final int startMargin = rand.nextInt(); in testComplicationMarginPosition() local
141 startMargin, topMargin, endMargin, bottomMargin, mTouchSession, 0, 0); in testComplicationMarginPosition()