/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/ |
D | TunablePadding.java | 65 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/ |
D | DrawableLayoutDirectionHelperTest.java | 63 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/ |
D | RecyclerMixinTest.java | 105 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/ |
D | ListMixinTest.java | 109 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/ |
D | BatteryMeterDrawableBaseTest.java | 90 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/ |
D | DeviceChooserActivity.java | 122 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/ |
D | RecyclerItemAdapter.java | 241 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/ |
D | RecyclerItemAdapterTest.java | 92 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/ |
D | NinePatchPeeker.h | 46 void getPadding(JNIEnv*, jobject outPadding) const;
|
D | NinePatch.cpp | 141 void NinePatchPeeker::getPadding(JNIEnv* env, jobject outPadding) const { in getPadding() function in NinePatchPeeker
|
/frameworks/base/core/java/android/widget/ |
D | Switch.java | 916 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()
|
D | ListPopupWindow.java | 530 popupBackground.getPadding(mTempRect); in setContentWidth() 1237 background.getPadding(mTempRect); in buildDropDown()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | CastDrawable.java | 88 public boolean getPadding(Rect padding) { in getPadding() method in CastDrawable
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | DrawableContainer.java | 105 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()
|
D | InsetDrawable.java | 233 public boolean getPadding(Rect padding) { in getPadding() method in InsetDrawable 234 final boolean pad = super.getPadding(padding); in getPadding()
|
D | DrawableWrapper.java | 252 public boolean getPadding(@NonNull Rect padding) { in getPadding() method in DrawableWrapper 253 return mDrawable != null && mDrawable.getPadding(padding); in getPadding()
|
D | ShapeDrawable.java | 205 public boolean getPadding(Rect padding) { in getPadding() method in ShapeDrawable 210 return super.getPadding(padding); in getPadding()
|
D | NinePatchDrawable.java | 270 public boolean getPadding(@NonNull Rect padding) { in getPadding() method in NinePatchDrawable 275 return super.getPadding(padding); in getPadding()
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
D | BitmapFactory_Delegate.java | 85 int[] paddingArray = chunk.getPadding(); in nativeDecodeStream()
|
/frameworks/base/core/tests/coretests/src/android/widget/espresso/ |
D | TextViewAssertions.java | 212 drawable.getPadding(drawablePadding);
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/ |
D | BatteryMeterDrawableBase.java | 258 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/ |
D | QSIconViewImpl.java | 109 int padding = icon != null ? icon.getPadding() : 0; in updateIcon()
|
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/ |
D | FakeShadowDrawable.java | 138 public boolean getPadding(Rect padding) { in getPadding() method in FakeShadowDrawable
|
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/qs/ |
D | QSTile.java | 99 public int getPadding() { in getPadding() method in QSTile.Icon
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | WatchListDecorLayout.java | 249 if (foreground.getPadding(padding)) { in setForegroundGravity()
|