Home
last modified time | relevance | path

Searched refs:getPadding (Results 1 – 25 of 50) sorted by relevance

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DTunablePadding.java65 mView.setPadding(getPadding(dimen, left), getPadding(dimen, FLAG_TOP), in onTuningChanged()
66 getPadding(dimen, right), getPadding(dimen, FLAG_BOTTOM)); in onTuningChanged()
69 private int getPadding(int dimen, int flag) { in getPadding() method in TunablePadding
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/
DDrawableLayoutDirectionHelperTest.java63 insetDrawable.getPadding(outRect); in testCreateRelativeInsetDrawableLtr()
86 insetDrawable.getPadding(outRect); in testCreateRelativeInsetDrawableRtl()
104 insetDrawable.getPadding(outRect); in testCreateRelativeInsetDrawableViewRtl()
131 insetDrawable.getPadding(outRect); in testCreateRelativeInsetDrawableContextRtl()
/frameworks/opt/setupwizard/library/recyclerview/test/instrumentation/src/com/android/setupwizardlib/template/
DRecyclerMixinTest.java105 insetDrawable.getPadding(rect); in testDividerLegacyInset()
121 insetDrawable.getPadding(rect); in testDividerInsets()
139 insetDrawable.getPadding(rect); in testDividerInsetLegacyRtl()
160 insetDrawable.getPadding(rect); in testDividerInsetsRtl()
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/graph/
DBatteryMeterDrawableBaseTest.java90 assertThat(mBatteryDrawable.getPadding(padding)).isEqualTo(true); in testPadding_returnsCorrectValues()
97 assertThat(mBatteryDrawable.getPadding(padding)).isEqualTo(false); in testPadding_falseIfUnsetOrZero()
101 assertThat(mBatteryDrawable.getPadding(padding)).isEqualTo(false); in testPadding_falseIfUnsetOrZero()
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/template/
DListMixinTest.java109 insetDrawable.getPadding(rect); in testDividerInsetLegacy()
125 insetDrawable.getPadding(rect); in testDividerInsets()
143 insetDrawable.getPadding(rect); in testDividerInsetLegacyRtl()
164 insetDrawable.getPadding(rect); in testDividerInsetsRtl()
/frameworks/base/core/java/android/text/style/
DIconMarginSpan.java115 return "IconMarginSpan{bitmap=" + getBitmap() + ", padding=" + getPadding() + '}'; in toString()
130 @Px public int getPadding() { in getPadding() method in IconMarginSpan
DDrawableMarginSpan.java133 @Px public int getPadding() { in getPadding() method in DrawableMarginSpan
/frameworks/base/libs/hwui/jni/
DNinePatchPeeker.h46 void getPadding(JNIEnv*, jobject outPadding) const;
DNinePatch.cpp139 void NinePatchPeeker::getPadding(JNIEnv* env, jobject outPadding) const { in getPadding() function in NinePatchPeeker
/frameworks/opt/setupwizard/library/recyclerview/test/instrumentation/src/com/android/setupwizardlib/items/
DRecyclerItemAdapterTest.java92 assertFalse("Patched layer drawable should not have padding", drawable.getPadding(padding)); in testPatchedLayerDrawableNoPadding()
103 assertTrue("Patched layer drawable should have padding", drawable.getPadding(padding)); in testPatchedLayerDrawableWithPadding()
/frameworks/opt/setupwizard/library/recyclerview/src/com/android/setupwizardlib/items/
DRecyclerItemAdapter.java241 public boolean getPadding(Rect padding) { in getPadding() method in RecyclerItemAdapter.PatchedLayerDrawable
242 final boolean superHasPadding = super.getPadding(padding); in getPadding()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/bubbles/
DBubblePopupView.kt53 if (it.getPadding(padding)) { in setArrowDirection()
DBubblePopupDrawable.kt93 override fun getPadding(padding: Rect): Boolean { in <lambda>() method in com.android.wm.shell.common.bubbles.BubblePopupDrawable
/frameworks/base/core/java/android/widget/
DSwitch.java999 mThumbDrawable.getPadding(padding); in onMeasure()
1019 mTrackDrawable.getPadding(padding); in onMeasure()
1084 mThumbDrawable.getPadding(mTempRect); in hitThumb()
1284 mTrackDrawable.getPadding(trackPadding); in onLayout()
1350 mTrackDrawable.getPadding(padding); in draw()
1379 mThumbDrawable.getPadding(padding); in draw()
1402 trackDrawable.getPadding(padding); in onDraw()
1503 mTrackDrawable.getPadding(padding); in getThumbScrollRange()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DCastDrawable.java88 public boolean getPadding(Rect padding) { in getPadding() method in CastDrawable
DScreenRecordDrawable.java135 public boolean getPadding(Rect padding) { in getPadding() method in ScreenRecordDrawable
/frameworks/base/core/tests/coretests/src/android/widget/espresso/
DTextViewAssertions.java212 drawable.getPadding(drawablePadding);
/frameworks/base/graphics/java/android/graphics/drawable/
DDrawableContainer.java105 public boolean getPadding(Rect padding) { in getPadding() method in DrawableContainer
113 result = mCurrDrawable.getPadding(padding); in getPadding()
115 result = super.getPadding(padding); in getPadding()
1066 if (drawables[i].getPadding(t)) { in getConstantPadding()
DInsetDrawable.java234 public boolean getPadding(Rect padding) { in getPadding() method in InsetDrawable
235 final boolean pad = super.getPadding(padding); in getPadding()
DDrawableWrapper.java253 public boolean getPadding(@NonNull Rect padding) { in getPadding() method in DrawableWrapper
254 return mDrawable != null && mDrawable.getPadding(padding); in getPadding()
DShapeDrawable.java205 public boolean getPadding(Rect padding) { in getPadding() method in ShapeDrawable
210 return super.getPadding(padding); in getPadding()
DNinePatchDrawable.java270 public boolean getPadding(@NonNull Rect padding) { in getPadding() method in NinePatchDrawable
275 return super.getPadding(padding); in getPadding()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/
DBatteryMeterDrawableBase.java259 public boolean getPadding(Rect padding) { in getPadding() method in BatteryMeterDrawableBase
264 return super.getPadding(padding); in getPadding()
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/qs/
DQSTile.java143 public int getPadding() { in getPadding() method in QSTile.Icon
/frameworks/base/core/java/com/android/internal/widget/
DWatchListDecorLayout.java249 if (foreground.getPadding(padding)) { in setForegroundGravity()

12