Home
last modified time | relevance | path

Searched refs:setMargins (Results 1 – 25 of 32) sorted by relevance

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ui/binder/
DActionButtonViewBinder.kt53 setMargins(iconView, textView, viewModel.appearance.label?.isNotEmpty() ?: false) in bind()
65 private fun setMargins(iconView: View, textView: View, hasText: Boolean) { in setMargins() method
/frameworks/opt/colorpicker/src/com/android/colorpicker/
DColorPickerPalette.java178 params.setMargins(mMarginSize, mMarginSize, mMarginSize, mMarginSize); in createBlankSpace()
190 params.setMargins(mMarginSize, mMarginSize, mMarginSize, mMarginSize); in createColorSwatch()
/frameworks/base/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/
DGradientsActivity.java73 lp.setMargins(220, 0, 0, 0); in onCreate()
77 lp.setMargins(440, 0, 0, 0); in onCreate()
81 lp.setMargins(220, -220, 0, 0); in onCreate()
DTextGammaActivity.java95 lp.setMargins(0, 74, 0, 0); in onCreate()
DDisplayListLayersActivity.java74 params.setMargins(0, dipToPx(VERTICAL_MARGIN), 0, 0); in addChild()
/frameworks/base/tests/TaskOrganizerTest/src/com/android/test/taskembed/
DTaskOrganizerMultiWindowTest.java125 viewLayout1.setMargins(firstBounds.left, firstBounds.top, 0, 0); in openTaskView()
133 viewLayout2.setMargins(secondBounds.left, secondBounds.top, 0, 0); in openTaskView()
/frameworks/base/core/tests/coretests/src/android/view/
DViewAttachTest.java121 lp.setMargins(1, 2, 3, 4); in testRoundScrollbarsWithMargins()
/frameworks/base/core/tests/coretests/src/com/android/internal/widget/
DNotificationOptimizedLinearLayoutComparisonTest.java134 firstChildLayoutParams.setMargins(firstChildMargin, in test()
137 secondChildLayoutParams.setMargins(secondChildMargin, in test()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyboard/backlight/ui/view/
DKeyboardBacklightDialog.kt253 setMargins( in <lambda>()
268 setMargins( in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ui/
DDarkIconManager.java70 lp.setMargins(mIconHorizontalMargin, 0, mIconHorizontalMargin, 0); in onCreateLayoutParams()
/frameworks/base/tests/SurfaceViewBufferTests/src/com/android/test/
DMainActivity.kt65 .also { it.setMargins(100, 100, 0, 0) }) in addSurfaceView()
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/brightness/
DBrightnessSliderView.java90 lp.setMargins(-offset, -offset, -offset, -offset); in setBoundaryOffset()
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/
DMenuMessageView.java150 containerParams.setMargins(margin, margin, margin, margin); in updateResources()
/frameworks/base/services/core/java/com/android/server/input/debug/
DFocusEventDebugView.java444 mPressedKeyLayoutParams.setMargins(0, keySeparationMargin, 0, 0); in PressedKeyContainer()
446 mPressedKeyLayoutParams.setMargins(keySeparationMargin, 0, 0, 0); in PressedKeyContainer()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/binder/
DKeyguardBottomAreaViewBinder.kt129 setMargins( in <lambda>()
145 setMargins( in <lambda>()
/frameworks/base/core/tests/coretests/src/android/util/
DListItemFactory.java98 lp.setMargins(10, 0, 10, 0); in horizontalButtonSlots()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/
DSystemBarHelper.java340 lp.setMargins(lp.leftMargin, lp.topMargin, lp.rightMargin, bottomMargin); in onApplyWindowInsets()
/frameworks/base/packages/SystemUI/src/com/android/systemui/battery/
DBatteryMeterView.java149 mlp.setMargins(0, 0, 0, in BatteryMeterView()
687 scaledLayoutParams.setMargins(0, marginTop, 0, marginBottom); in scaleBatteryMeterViewsLegacy()
/frameworks/base/packages/EasterEgg/src/com/android/egg/quares/
DQuaresActivity.kt188 it.setMargins(1, 1, 1, 1) in loadPuzzle()
/frameworks/base/core/java/android/widget/
DTabWidget.java530 lp.setMargins(0, 0, 0, 0); in addView()
DGridLayout.java939 lp.setMargins( in onDebugDrawMargins()
2088 setMargins(left, top, right, bottom);
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DScreenshotView.java457 p.setMargins(0, 0, 0, navBarInsets.bottom); in updateInsets()
461 p.setMargins( in updateInsets()
468 p.setMargins( in updateInsets()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/startingsurface/
DSplashScreenExitAnimationUtils.java315 ((ViewGroup.MarginLayoutParams) getLayoutParams()).setMargins(0, 0, 0, 0); in RadialVanishAnimation()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DNotificationContentViewTest.kt618 mlp.setMargins(0, 0, 0, bottomMargin) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/clipboardoverlay/
DClipboardOverlayView.java255 p.setMargins(margins.left, margins.top, margins.right, margins.bottom); in setInsets()

12