/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/ |
D | TunablePadding.java | 58 mView.setPadding(getPadding(dimen, left), getPadding(dimen, FLAG_TOP), in onTuningChanged() 59 getPadding(dimen, right), getPadding(dimen, FLAG_BOTTOM)); in onTuningChanged() 62 private int getPadding(int dimen, int flag) { in getPadding() method in TunablePadding
|
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/ |
D | ViewBindingAdapterTest.java | 39 assertEquals(mBindingObject.getPadding(), view.getPaddingBottom()); in testPadding() 40 assertEquals(mBindingObject.getPadding(), view.getPaddingTop()); in testPadding() 41 assertEquals(mBindingObject.getPadding(), view.getPaddingRight()); in testPadding() 42 assertEquals(mBindingObject.getPadding(), view.getPaddingLeft()); in testPadding() 46 assertEquals(mBindingObject.getPadding(), view.getPaddingBottom()); in testPadding() 47 assertEquals(mBindingObject.getPadding(), view.getPaddingTop()); in testPadding() 48 assertEquals(mBindingObject.getPadding(), view.getPaddingRight()); in testPadding() 49 assertEquals(mBindingObject.getPadding(), view.getPaddingLeft()); in testPadding()
|
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/ |
D | DrawableLayoutDirectionHelperTest.java | 60 insetDrawable.getPadding(outRect); in testCreateRelativeInsetDrawableLtr() 78 insetDrawable.getPadding(outRect); in testCreateRelativeInsetDrawableRtl() 95 insetDrawable.getPadding(outRect); in testCreateRelativeInsetDrawableViewRtl() 122 insetDrawable.getPadding(outRect); in testCreateRelativeInsetDrawableContextRtl()
|
/frameworks/opt/setupwizard/library/recyclerview/test/instrumentation/src/com/android/setupwizardlib/template/ |
D | RecyclerMixinTest.java | 108 insetDrawable.getPadding(rect); in testDividerLegacyInset() 124 insetDrawable.getPadding(rect); in testDividerInsets() 142 insetDrawable.getPadding(rect); in testDividerInsetLegacyRtl() 163 insetDrawable.getPadding(rect); in testDividerInsetsRtl()
|
/frameworks/support/graphics/drawable/static/src/android/support/graphics/drawable/ |
D | VectorDrawableCommon.java | 143 public boolean getPadding(Rect padding) { in getPadding() method in VectorDrawableCommon 145 return mDelegateDrawable.getPadding(padding); in getPadding() 147 return super.getPadding(padding); in getPadding()
|
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/template/ |
D | ListMixinTest.java | 113 insetDrawable.getPadding(rect); in testDividerInsetLegacy() 129 insetDrawable.getPadding(rect); in testDividerInsets() 147 insetDrawable.getPadding(rect); in testDividerInsetLegacyRtl() 168 insetDrawable.getPadding(rect); in testDividerInsetsRtl()
|
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/graph/ |
D | BatteryMeterDrawableBaseTest.java | 87 assertThat(mBatteryDrawable.getPadding(padding)).isEqualTo(true); in testPadding_returnsCorrectValues() 94 assertThat(mBatteryDrawable.getPadding(padding)).isEqualTo(false); in testPadding_falseIfUnsetOrZero() 98 assertThat(mBatteryDrawable.getPadding(padding)).isEqualTo(false); in testPadding_falseIfUnsetOrZero()
|
/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/ |
D | DeviceChooserActivity.java | 120 final int padding = getPadding(getResources()); in setTitle() 129 final int padding = getPadding(getResources()); in getProgressBar() 134 static int getPadding(Resources r) { in getPadding() method in DeviceChooserActivity
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
D | SwitchCompat.java | 808 mThumbDrawable.getPadding(padding); in onMeasure() 828 mTrackDrawable.getPadding(padding); in onMeasure() 891 mThumbDrawable.getPadding(mTempRect); in hitThumb() 1080 mTrackDrawable.getPadding(trackPadding); in onLayout() 1146 mTrackDrawable.getPadding(padding); in draw() 1175 mThumbDrawable.getPadding(padding); in draw() 1199 trackDrawable.getPadding(padding); in onDraw() 1300 mTrackDrawable.getPadding(padding); in getThumbScrollRange()
|
/frameworks/support/v7/appcompat/src/android/support/v7/graphics/drawable/ |
D | DrawableWrapper.java | 150 public boolean getPadding(Rect padding) { in getPadding() method in DrawableWrapper 151 return mDrawable.getPadding(padding); in getPadding()
|
/frameworks/base/core/java/android/widget/ |
D | Switch.java | 828 mThumbDrawable.getPadding(padding); in onMeasure() 848 mTrackDrawable.getPadding(padding); in onMeasure() 912 mThumbDrawable.getPadding(mTempRect); in hitThumb() 1099 mTrackDrawable.getPadding(trackPadding); in onLayout() 1165 mTrackDrawable.getPadding(padding); in draw() 1194 mThumbDrawable.getPadding(padding); in draw() 1217 trackDrawable.getPadding(padding); in onDraw() 1318 mTrackDrawable.getPadding(padding); in getThumbScrollRange()
|
/frameworks/support/design/src/android/support/design/internal/ |
D | ForegroundLinearLayout.java | 112 mForeground.getPadding(padding); in setForegroundGravity() 167 drawable.getPadding(padding); in setForeground()
|
/frameworks/opt/setupwizard/library/recyclerview/src/com/android/setupwizardlib/items/ |
D | RecyclerItemAdapter.java | 242 public boolean getPadding(Rect padding) { in getPadding() method in RecyclerItemAdapter.PatchedLayerDrawable 243 final boolean superHasPadding = super.getPadding(padding); in getPadding()
|
/frameworks/opt/setupwizard/library/recyclerview/test/instrumentation/src/com/android/setupwizardlib/items/ |
D | RecyclerItemAdapterTest.java | 94 assertFalse("Patched layer drawable should not have padding", drawable.getPadding(padding)); in testPatchedLayerDrawableNoPadding() 105 assertTrue("Patched layer drawable should have padding", drawable.getPadding(padding)); in testPatchedLayerDrawableWithPadding()
|
/frameworks/support/design/base/android/support/design/widget/ |
D | FloatingActionButtonImpl.java | 316 getPadding(rect); in updatePadding() 321 void getPadding(Rect rect) { in getPadding() method in FloatingActionButtonImpl 322 mShadowDrawable.getPadding(rect); in getPadding()
|
D | CircularBorderDrawable.java | 113 public boolean getPadding(Rect padding) { in getPadding() method in CircularBorderDrawable
|
/frameworks/support/compat/java/android/support/v4/graphics/drawable/ |
D | DrawableWrapperApi14.java | 199 public boolean getPadding(Rect padding) { in getPadding() method in DrawableWrapperApi14 200 return mDrawable.getPadding(padding); in getPadding()
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
D | GuidedActionEditText.java | 39 public boolean getPadding(Rect padding) { in getPadding() method in GuidedActionEditText.NoPaddingDrawable
|
/frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/vo/ |
D | ViewBindingObject.java | 125 public int getPadding() { in getPadding() method in ViewBindingObject
|
/frameworks/support/v7/cardview/src/android/support/v7/widget/ |
D | CardViewApi21Impl.java | 57 return getCardBackground(cardView).getPadding(); in getMaxElevation()
|
D | RoundRectDrawableWithShadow.java | 168 public boolean getPadding(Rect padding) { in getPadding() method in RoundRectDrawableWithShadow 344 getPadding(into); in getMaxShadowAndCornerPadding()
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
D | BitmapFactory_Delegate.java | 84 int[] paddingArray = chunk.getPadding(); in nativeDecodeStream()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | DrawableContainer.java | 101 public boolean getPadding(Rect padding) { in getPadding() method in DrawableContainer 109 result = mCurrDrawable.getPadding(padding); in getPadding() 111 result = super.getPadding(padding); in getPadding() 1062 if (drawables[i].getPadding(t)) { in getConstantPadding()
|
D | InsetDrawable.java | 231 public boolean getPadding(Rect padding) { in getPadding() method in InsetDrawable 232 final boolean pad = super.getPadding(padding); in getPadding()
|
D | DrawableWrapper.java | 239 public boolean getPadding(@NonNull Rect padding) { in getPadding() method in DrawableWrapper 240 return mDrawable != null && mDrawable.getPadding(padding); in getPadding()
|