Home
last modified time | relevance | path

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

123

/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DTunablePadding.java58 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/
DViewBindingAdapterTest.java39 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/
DDrawableLayoutDirectionHelperTest.java60 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/
DRecyclerMixinTest.java108 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/
DVectorDrawableCommon.java143 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/
DListMixinTest.java113 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/
DBatteryMeterDrawableBaseTest.java87 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/
DDeviceChooserActivity.java120 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/
DSwitchCompat.java808 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/
DDrawableWrapper.java150 public boolean getPadding(Rect padding) { in getPadding() method in DrawableWrapper
151 return mDrawable.getPadding(padding); in getPadding()
/frameworks/base/core/java/android/widget/
DSwitch.java828 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/
DForegroundLinearLayout.java112 mForeground.getPadding(padding); in setForegroundGravity()
167 drawable.getPadding(padding); in setForeground()
/frameworks/opt/setupwizard/library/recyclerview/src/com/android/setupwizardlib/items/
DRecyclerItemAdapter.java242 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/
DRecyclerItemAdapterTest.java94 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/
DFloatingActionButtonImpl.java316 getPadding(rect); in updatePadding()
321 void getPadding(Rect rect) { in getPadding() method in FloatingActionButtonImpl
322 mShadowDrawable.getPadding(rect); in getPadding()
DCircularBorderDrawable.java113 public boolean getPadding(Rect padding) { in getPadding() method in CircularBorderDrawable
/frameworks/support/compat/java/android/support/v4/graphics/drawable/
DDrawableWrapperApi14.java199 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/
DGuidedActionEditText.java39 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/
DViewBindingObject.java125 public int getPadding() { in getPadding() method in ViewBindingObject
/frameworks/support/v7/cardview/src/android/support/v7/widget/
DCardViewApi21Impl.java57 return getCardBackground(cardView).getPadding(); in getMaxElevation()
DRoundRectDrawableWithShadow.java168 public boolean getPadding(Rect padding) { in getPadding() method in RoundRectDrawableWithShadow
344 getPadding(into); in getMaxShadowAndCornerPadding()
/frameworks/layoutlib/bridge/src/android/graphics/
DBitmapFactory_Delegate.java84 int[] paddingArray = chunk.getPadding(); in nativeDecodeStream()
/frameworks/base/graphics/java/android/graphics/drawable/
DDrawableContainer.java101 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()
DInsetDrawable.java231 public boolean getPadding(Rect padding) { in getPadding() method in InsetDrawable
232 final boolean pad = super.getPadding(padding); in getPadding()
DDrawableWrapper.java239 public boolean getPadding(@NonNull Rect padding) { in getPadding() method in DrawableWrapper
240 return mDrawable != null && mDrawable.getPadding(padding); in getPadding()

123