Home
last modified time | relevance | path

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

1234

/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()
DQuickQSPanel.java75 super.setPadding(0, 0, 0, 0); in QuickQSPanel()
79 public void setPadding(int left, int top, int right, int bottom) { in setPadding() method in QuickQSPanel
/frameworks/base/core/tests/coretests/src/android/widget/
DAbsSeekBarTest.java62 mBar.setPadding(10, 10, 10, 10); in testExclusionForThumb_limitedTo48dp()
79 mBar.setPadding(10, 10, 10, 10); in testExclusionForThumb_limitedToHeight()
98 mBar.setPadding(10, 10, 10, 10); in testExclusionForThumb_passesThroughUserExclusions()
/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.java109 public void setPadding(int l, int t, int r, int b) { in setPadding() method in ActionMenuItemView
111 super.setPadding(l, t, r, b); in setPadding()
280 super.setPadding(mSavedPaddingLeft, getPaddingTop(), in onMeasure()
303 super.setPadding((w - dw) / 2, getPaddingTop(), getPaddingRight(), getPaddingBottom()); in onMeasure()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNotificationsQuickSettingsContainer.java111 setPadding(0, 0, 0, mBottomPadding); in onApplyWindowInsets()
190 setPadding(0, 0, 0, 0); in setCustomizerShowing()
193 setPadding(0, 0, 0, mBottomPadding); in setCustomizerShowing()
DKeyguardPreviewContainer.java66 setPadding(0, 0, 0, insets.getStableInsetBottom()); in onApplyWindowInsets()
DUserAvatarView.java98 mDrawable.setPadding(avatarPadding); in setAvatarPadding()
/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/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/
DDeviceChooserActivity.java123 titleView.setPadding(padding, padding, padding, padding); in setTitle()
132 progressBar.setPadding(padding, padding, padding, padding); in getProgressBar()
/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/core/tests/coretests/src/android/widget/gridview/
DGridSimple.java41 getGridView().setPadding(0, 0, 0, 0); in onCreate()
/frameworks/base/core/tests/coretests/src/android/widget/layout/table/
DAddColumn.java46 view.setPadding(3, 3, 3, 3); in onCreate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DHardwareUiLayout.java374 v.setPadding(v.getPaddingTop(), v.getPaddingRight(), v.getPaddingBottom(), in rotateLeft()
383 v.setPadding(v.getPaddingBottom(), v.getPaddingLeft(), v.getPaddingTop(), in rotateRight()
392 v.setPadding(v.getPaddingTop(), v.getPaddingLeft(), v.getPaddingBottom(), in swapLeftAndTop()
520 setPadding(0, 0, 0, 0); in updatePaddingAndGravityIfTooTall()
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/statusbar/hvac/
DAnimatedTemperatureView.java127 setPadding(0, 0, 0, 0); in AnimatedTemperatureView()
167 textView.setPadding(mPaddingRect.left, mPaddingRect.top, mPaddingRect.right, in generateTextView()
/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
386 setPadding( in inflateTag()
/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/tuner/
DTunablePadding.java65 mView.setPadding(getPadding(dimen, left), getPadding(dimen, FLAG_TOP), in onTuningChanged()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DPrintPreviewController.java217 public void setPadding(int left, int top , int right, int bottom) { in setPadding() method in PrintPreviewController
218 mRecyclerView.setPadding(left, top, right, bottom); in setPadding()
/frameworks/base/core/java/android/inputmethodservice/
DCompactExtractEditLayout.java92 setPadding( in applyProportionalLayout()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/
DBluetoothDeviceLayerDrawable.java73 batteryDrawable.setPadding(pad, pad, pad, pad); in createLayerDrawable()

1234