Home
last modified time | relevance | path

Searched refs:setPadding (Results 1 – 25 of 150) sorted by relevance

123456

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/tuner/
DTunablePaddingTest.java70 verify(mView).setPadding(eq(DEFAULT), eq(0), eq(0), eq(0)); in testFlags()
76 verify(mView).setPadding(eq(0), eq(DEFAULT), eq(0), eq(0)); in testFlags()
82 verify(mView).setPadding(eq(0), eq(0), eq(DEFAULT), eq(0)); in testFlags()
88 verify(mView).setPadding(eq(0), eq(0), eq(0), eq(DEFAULT)); in testFlags()
99 verify(mView).setPadding(eq(DEFAULT), eq(0), eq(0), eq(0)); in testRtl()
105 verify(mView).setPadding(eq(0), eq(0), eq(DEFAULT), eq(0)); in testRtl()
119 verify(mView).setPadding(eq(output), eq(0), eq(0), eq(0)); in testTuning()
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
DGlobalActionsColumnLayout.java87 setPadding(offset, 0, 0, 0); in snapToPowerButton()
91 setPadding(0, 0, offset, 0); in snapToPowerButton()
95 setPadding(0, offset, 0, 0); in snapToPowerButton()
108 setPadding(0, 0, 0, 0); in centerAlongEdge()
112 setPadding(0, 0, 0, 0); in centerAlongEdge()
116 setPadding(0, 0, 0, 0); in centerAlongEdge()
/frameworks/base/core/tests/coretests/src/android/widget/focus/
DAdjacentVerticalRectLists.java76 mLeftColumn.setPadding(10, 10, 10, 10); in onCreate()
81 mMiddleColumn.setPadding(10, 10, 10, 10); in onCreate()
86 mRightColumn.setPadding(10, 10, 10, 10); in onCreate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSDualTileLabel.java65 mFirstLine.setPadding(mHorizontalPaddingPx, 0, mHorizontalPaddingPx, 0); in QSDualTileLabel()
67 firstLineLayout.setPadding(0, 0, 0, 0); in QSDualTileLabel()
79 mSecondLine.setPadding(mHorizontalPaddingPx, 0, mHorizontalPaddingPx, 0); in QSDualTileLabel()
107 mFirstLine.setPadding(mHorizontalPaddingPx, 0, 0, 0); in setFirstLineCaret()
113 tv.setPadding(0, 0, 0, 0); in initTextView()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/graph/
DBatteryMeterDrawableBaseTest.java59 mBatteryMeterDrawableBase.setPadding(PADDING, PADDING, PADDING, PADDING); in testDraw_hasPaddingAndBounds_drawWarningInCorrectPosition()
72 mBatteryMeterDrawableBase.setPadding(PADDING, PADDING, PADDING, PADDING); in testDraw_hasPaddingAndBounds_drawBatteryLevelInCorrectPosition()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/
DButtonBarLayout.java113 setPadding(paddingHorizontal, getPaddingTop(), paddingHorizontal, getPaddingBottom()); in setStacked()
115 setPadding(originalPaddingLeft, getPaddingTop(), originalPaddingRight, getPaddingBottom()); in setStacked()
/frameworks/base/core/java/com/android/internal/view/menu/
DActionMenuItemView.java115 public void setPadding(int l, int t, int r, int b) { in setPadding() method in ActionMenuItemView
117 super.setPadding(l, t, r, b); in setPadding()
286 super.setPadding(mSavedPaddingLeft, getPaddingTop(), in onMeasure()
309 super.setPadding((w - dw) / 2, getPaddingTop(), getPaddingRight(), getPaddingBottom()); in onMeasure()
/frameworks/base/core/tests/coretests/src/android/widget/
DAbsSeekBarTest.java62 mBar.setPadding(PADDING, PADDING, PADDING, PADDING); in testExclusionForThumb_limitedTo48dp()
83 mBar.setPadding(PADDING, PADDING, PADDING, PADDING); in testExclusionForThumb_limitedToHeight()
106 mBar.setPadding(PADDING, PADDING, PADDING, PADDING); in testExclusionForThumb_passesThroughUserExclusions()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/view/layout/sections/
DBaseShortcutSection.kt45 setPadding(padding, padding, padding, padding) in addLeftShortcut()
74 setPadding(padding, padding, padding, padding) in addRightShortcut()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ui/
DScreenshotShelfView.kt143 screenshotStatic.setPadding(0, 0, 0, navBarInsets.bottom) in <lambda>()
147 screenshotStatic.setPadding( in <lambda>()
159 screenshotStatic.setPadding( in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/scene/ui/view/
DWindowRootView.kt79 setPadding(0, 0, 0, 0) in onApplyWindowInsets()
85 setPadding(0, 0, 0, 0) in onApplyWindowInsets()
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/graph/
DBatteryMeterDrawableBaseTest.java88 mBatteryDrawable.setPadding(left, top, right, bottom); in testPadding_returnsCorrectValues()
100 mBatteryDrawable.setPadding(0, 0, 0, 0); in testPadding_falseIfUnsetOrZero()
/frameworks/base/tests/HandwritingIme/src/com/google/android/test/handwritingime/
DHandwritingIme.java259 view.setPadding(0, 0, 0, 0); in onCreateInputView()
288 mRichGestureModeSpinner.setPadding(100, 0, 100, 0); in getRichGestureActionsSpinner()
360 mBoundsInfoCheckBoxes.setPadding(100, 0, 100, 0); in getBoundsInfoCheckBoxes()
395 mRichGestureGranularitySpinner.setPadding(100, 0, 100, 0); in getRichGestureGranularitySpinner()
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/
DMenuMessageView.java153 setPadding(containerPadding, /* top= */ 0, containerPadding, /* bottom= */ 0); in updateResources()
167 mTextView.setPadding(/* left= */ 0, textPadding, /* right= */ 0, textPadding); in updateResources()
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/widgets/
DSmartspaceAppWidgetHostView.kt35 setPadding(0, 0, 0, 0) in setAppWidget()
/frameworks/base/services/tests/wmtests/OverlayApp/src/com/android/server/wm/overlay_app/
DOverlayApp.java40 tv.setPadding(50, 50, 50, 50); in onCreate()
/frameworks/opt/setupwizard/library/recyclerview/test/instrumentation/src/com/android/setupwizardlib/items/
DRecyclerItemAdapterTest.java88 child.setPadding(0, 0, 0, 0); in testPatchedLayerDrawableNoPadding()
99 child.setPadding(10, 10, 10, 10); in testPatchedLayerDrawableWithPadding()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
DStackEducationView.kt157 setPadding( in show()
165 setPadding( in show()
/frameworks/base/core/tests/coretests/src/android/widget/gridview/
DGridSimple.java41 getGridView().setPadding(0, 0, 0, 0); in onCreate()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/bubbles/
DBubblePopupView.kt54 setPadding(padding.left, padding.top, padding.right, padding.bottom) in setArrowDirection()
/frameworks/base/packages/EasterEgg/src/com/android/egg/widget/
DPaintChipsActivity.kt38 layout.setPadding(dp2px(8f), dp2px(8f), dp2px(8f), dp2px(8f)) in onCreate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyboard/backlight/ui/view/
DKeyboardBacklightDialog.kt40 import androidx.core.view.setPadding in <lambda>()
214 setPadding( in <lambda>()
250 setPadding(iconProperties.padding) in <lambda>()
/frameworks/base/core/tests/coretests/src/android/widget/layout/table/
DAddColumn.java46 view.setPadding(3, 3, 3, 3); in onCreate()
/frameworks/base/tests/WindowInsetsTests/src/com/google/android/test/windowinsetstests/
DWindowInsetsTestsMainActivity.java40 v.setPadding(i.left, i.top, i.right, i.bottom); in onCreate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/events/
DPrivacyDotViewController.kt236 corner.setPadding(0, paddingTop, 0, 0) in <lambda>()
280 tl.setPadding(0, state.paddingTop, 0, 0) in <lambda>()
293 tr.setPadding(0, state.paddingTop, 0, 0) in <lambda>()
306 br.setPadding(0, state.paddingTop, 0, 0) in <lambda>()
319 bl.setPadding(0, state.paddingTop, 0, 0) in <lambda>()

123456