Home
last modified time | relevance | path

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

12345

/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.java110 public void setPadding(int l, int t, int r, int b) { in setPadding() method in ActionMenuItemView
112 super.setPadding(l, t, r, b); in setPadding()
281 super.setPadding(mSavedPaddingLeft, getPaddingTop(), in onMeasure()
304 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/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/core/tests/coretests/src/android/widget/gridview/
DGridSimple.java41 getGridView().setPadding(0, 0, 0, 0); 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/
DManageEducationView.kt115 manageView.setPadding(manageView.paddingLeft, manageView.paddingTop, in show()
118 manageView.setPadding(realManageButtonRect.left - expandedView.manageButtonMargin, in show()
DStackEducationView.kt144 setPadding(positioner.bubbleSize + stackPadding, paddingTop, paddingRight, in show()
147 setPadding(paddingLeft, paddingTop, positioner.bubbleSize + stackPadding, in show()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/events/
DPrivacyDotViewController.kt224 corner.setPadding(0, paddingTop, 0, 0) in <lambda>()
268 tl.setPadding(0, state.paddingTop, 0, 0) in <lambda>()
280 tr.setPadding(0, state.paddingTop, 0, 0) in <lambda>()
292 br.setPadding(0, state.paddingTop, 0, 0) in <lambda>()
304 bl.setPadding(0, state.paddingTop, 0, 0) in <lambda>()
/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/statusbar/phone/
DKeyguardPreviewContainer.java66 setPadding(0, 0, 0, insets.getStableInsetBottom()); in onApplyWindowInsets()
/frameworks/base/core/tests/coretests/src/android/widget/layout/table/
DAddColumn.java46 view.setPadding(3, 3, 3, 3); in onCreate()
/frameworks/base/core/tests/coretests/src/com/android/internal/view/
DScrollCaptureViewSupportTest.java75 target.setPadding(25, 50, 25, 50); in testComputeScrollBounds()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DUdfpsKeyguardView.java197 mLockScreenFp.setPadding(padding, padding, padding, padding); in updatePadding()
198 mAodFp.setPadding(padding, padding, padding, padding); in updatePadding()
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DTunablePadding.java65 mView.setPadding(getPadding(dimen, left), getPadding(dimen, FLAG_TOP), in onTuningChanged()
/frameworks/base/tests/UiBench/src/com/android/test/uibench/recyclerview/
DRvBoxAdapter.java64 h.mTextView.setPadding(20, 0, 20, 0); in onCreateViewHolder()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/fsi/
DFsiChromeView.kt54 setPadding( in onFinishInflate()
/frameworks/base/graphics/java/android/graphics/drawable/
DShapeDrawable.java146 public void setPadding(int left, int top, int right, int bottom) { in setPadding() method in ShapeDrawable
162 public void setPadding(Rect padding) { in setPadding() method in ShapeDrawable
385 setPadding( in inflateTag()
/frameworks/base/tests/HandwritingIme/src/com/google/android/test/handwritingime/
DHandwritingIme.java81 view.setPadding(0, 0, 0, 0); in onCreateInputView()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shade/
DNotificationsQuickSettingsContainerTest.kt69 qsContainer.setPadding(0, 0, 0, 0) in qsContainerPaddingSetAgainAfterQsRecreated()

12345