Home
last modified time | relevance | path

Searched refs:getPadding (Results 1 – 25 of 48) 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/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/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/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/java/android/widget/
DSwitch.java924 mThumbDrawable.getPadding(padding); in onMeasure()
944 mTrackDrawable.getPadding(padding); in onMeasure()
1009 mThumbDrawable.getPadding(mTempRect); in hitThumb()
1209 mTrackDrawable.getPadding(trackPadding); in onLayout()
1275 mTrackDrawable.getPadding(padding); in draw()
1304 mThumbDrawable.getPadding(padding); in draw()
1327 trackDrawable.getPadding(padding); in onDraw()
1428 mTrackDrawable.getPadding(padding); in getThumbScrollRange()
DListPopupWindow.java537 popupBackground.getPadding(mTempRect); in setContentWidth()
1254 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
DScreenRecordDrawable.java135 public boolean getPadding(Rect padding) { in getPadding() method in ScreenRecordDrawable
/frameworks/layoutlib/bridge/src/android/graphics/
DBitmapFactory_Delegate.java85 int[] paddingArray = chunk.getPadding(); in nativeDecodeStream()
/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/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/plugin/src/com/android/systemui/plugins/qs/
DQSTile.java113 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