Home
last modified time | relevance | path

Searched refs:setPadding (Results 1 – 25 of 102) 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.java62 mFirstLine.setPadding(mHorizontalPaddingPx, 0, mHorizontalPaddingPx, 0); in QSDualTileLabel()
64 firstLineLayout.setPadding(0, 0, 0, 0); in QSDualTileLabel()
76 mSecondLine.setPadding(mHorizontalPaddingPx, 0, mHorizontalPaddingPx, 0); in QSDualTileLabel()
104 mFirstLine.setPadding(mHorizontalPaddingPx, 0, 0, 0); in setFirstLineCaret()
110 tv.setPadding(0, 0, 0, 0); in initTextView()
DQuickStatusBarHeader.java395 mDatePrivacyView.setPadding(padding.first, 0, padding.second, 0); in onApplyWindowInsets()
396 mClockIconsView.setPadding(padding.first, 0, padding.second, 0); in onApplyWindowInsets()
482 mDatePrivacyView.setPadding(paddingLeft, in updateHeadersPadding()
486 mClockIconsView.setPadding(paddingLeft, in updateHeadersPadding()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNotificationsQuickSettingsContainer.java88 setPadding(0, 0, 0, mBottomPadding); in onApplyWindowInsets()
158 setPadding(0, 0, 0, 0); in updateBottomMargin()
161 setPadding(0, 0, 0, mBottomPadding); in updateBottomMargin()
DKeyguardPreviewContainer.java66 setPadding(0, 0, 0, insets.getStableInsetBottom()); in onApplyWindowInsets()
/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/SystemUI/src/com/android/systemui/util/
DDualHeightHorizontalLinearLayout.kt110 override fun setPadding(left: Int, top: Int, right: Int, bottom: Int) { in <lambda>() method
111 super.setPadding(left, top, right, bottom) in <lambda>()
/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/packages/SystemUI/src/com/android/systemui/controls/ui/
DDetailDialog.kt148 setPadding(l, t, r, insets.getInsets(Type.systemBars()).bottom) in <lambda>()
154 v.setPadding(l, insets.getInsets(Type.systemBars()).top, r, b) in <lambda>()
DControlsActivity.kt59 setPadding(l, t, r, insets.getInsets(Type.systemBars()).bottom) 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/core/tests/coretests/src/android/widget/layout/table/
DAddColumn.java46 view.setPadding(3, 3, 3, 3); in onCreate()
/frameworks/base/core/java/com/android/internal/app/
DResolverMultiProfilePagerAdapter.java76 emptyStateCont.setPadding( in updateAfterConfigChange()
243 container.setPadding(container.getPaddingLeft(), container.getPaddingTop(), in setupContainerPadding()
/frameworks/base/core/tests/coretests/src/com/android/internal/view/
DScrollCaptureViewSupportTest.java66 target.setPadding(25, 50, 25, 50); in testComputeScrollBounds()
/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/
DCompanionDeviceActivity.java224 titleView.setPadding(padding, padding, padding, padding); in setTitle()
232 progressBar.setPadding(padding, padding, padding, padding); in getProgressBar()
304 textView.setPadding(padding, padding, padding, padding); in newView()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
DSeekBarObserver.kt82 holder.seekBar.setPadding(leftPadding, padding, rightPadding, bottomPadding) in setVerticalPadding()
/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()

12345