Home
last modified time | relevance | path

Searched refs:getPadding (Results 1 – 25 of 49) 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/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/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/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/
DDeviceChooserActivity.java122 final int padding = getPadding(getResources()); in setTitle()
131 final int padding = getPadding(getResources()); in getProgressBar()
136 static int getPadding(Resources r) { in getPadding() method in DeviceChooserActivity
/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/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/base/core/jni/android/graphics/
DNinePatchPeeker.h46 void getPadding(JNIEnv*, jobject outPadding) const;
DNinePatch.cpp141 void NinePatchPeeker::getPadding(JNIEnv* env, jobject outPadding) const { in getPadding() function in NinePatchPeeker
/frameworks/base/core/java/android/widget/
DSwitch.java916 mThumbDrawable.getPadding(padding); in onMeasure()
936 mTrackDrawable.getPadding(padding); in onMeasure()
1001 mThumbDrawable.getPadding(mTempRect); in hitThumb()
1190 mTrackDrawable.getPadding(trackPadding); in onLayout()
1256 mTrackDrawable.getPadding(padding); in draw()
1285 mThumbDrawable.getPadding(padding); in draw()
1308 trackDrawable.getPadding(padding); in onDraw()
1409 mTrackDrawable.getPadding(padding); in getThumbScrollRange()
DListPopupWindow.java530 popupBackground.getPadding(mTempRect); in setContentWidth()
1237 background.getPadding(mTempRect); in buildDropDown()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DCastDrawable.java88 public boolean getPadding(Rect padding) { in getPadding() method in CastDrawable
/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()
1067 if (drawables[i].getPadding(t)) { in getConstantPadding()
DInsetDrawable.java233 public boolean getPadding(Rect padding) { in getPadding() method in InsetDrawable
234 final boolean pad = super.getPadding(padding); in getPadding()
DDrawableWrapper.java252 public boolean getPadding(@NonNull Rect padding) { in getPadding() method in DrawableWrapper
253 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/layoutlib/bridge/src/android/graphics/
DBitmapFactory_Delegate.java85 int[] paddingArray = chunk.getPadding(); in nativeDecodeStream()
/frameworks/base/core/tests/coretests/src/android/widget/espresso/
DTextViewAssertions.java212 drawable.getPadding(drawablePadding);
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/
DBatteryMeterDrawableBase.java258 public boolean getPadding(Rect padding) { in getPadding() method in BatteryMeterDrawableBase
263 return super.getPadding(padding); in getPadding()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/
DQSIconViewImpl.java109 int padding = icon != null ? icon.getPadding() : 0; in updateIcon()
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/
DFakeShadowDrawable.java138 public boolean getPadding(Rect padding) { in getPadding() method in FakeShadowDrawable
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/qs/
DQSTile.java99 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