Home
last modified time | relevance | path

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

123

/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/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/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/
DDeviceChooserActivity.java119 final int padding = getPadding(getResources()); in setTitle()
128 final int padding = getPadding(getResources()); in getProgressBar()
133 static int getPadding(Resources r) { in getPadding() method in DeviceChooserActivity
/frameworks/opt/setupwizard/library/full-support/test/instrumentation/src/com/android/setupwizardlib/template/
DRecyclerMixinTest.java108 insetDrawable.getPadding(rect); in testDividerInset()
126 insetDrawable.getPadding(rect); in testDividerInsetRtl()
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/template/
DListMixinTest.java113 insetDrawable.getPadding(rect); in testDividerInset()
131 insetDrawable.getPadding(rect); in testDividerInsetRtl()
/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/opt/setupwizard/library/full-support/src/com/android/setupwizardlib/items/
DRecyclerItemAdapter.java212 public boolean getPadding(Rect padding) { in getPadding() method in RecyclerItemAdapter.PatchedLayerDrawable
213 final boolean superHasPadding = super.getPadding(padding); in getPadding()
/frameworks/opt/setupwizard/library/full-support/test/instrumentation/src/com/android/setupwizardlib/items/
DRecyclerItemAdapterTest.java93 assertFalse("Patched layer drawable should not have padding", drawable.getPadding(padding)); in testPatchedLayerDrawableNoPadding()
104 assertTrue("Patched layer drawable should have padding", drawable.getPadding(padding)); in testPatchedLayerDrawableWithPadding()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DSwitchCompat.java810 mThumbDrawable.getPadding(padding); in onMeasure()
830 mTrackDrawable.getPadding(padding); in onMeasure()
893 mThumbDrawable.getPadding(mTempRect); in hitThumb()
1082 mTrackDrawable.getPadding(trackPadding); in onLayout()
1148 mTrackDrawable.getPadding(padding); in draw()
1177 mThumbDrawable.getPadding(padding); in draw()
1201 trackDrawable.getPadding(padding); in onDraw()
1302 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/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/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/ics/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/base/tools/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()
DShapeDrawable.java206 public boolean getPadding(Rect padding) { in getPadding() method in ShapeDrawable
211 return super.getPadding(padding); in getPadding()
/frameworks/base/core/tests/coretests/src/android/widget/espresso/
DTextViewAssertions.java208 drawable.getPadding(drawablePadding);

123