Home
last modified time | relevance | path

Searched defs:padding (Results 1 – 25 of 96) sorted by relevance

1234

/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/
DViewBindingAdapter.java65 final int padding = pixelsToDimensionPixelSize(paddingFloat); in setPadding() local
71 final int padding = pixelsToDimensionPixelSize(paddingFloat); in setPaddingBottom() local
73 padding); in setPaddingBottom() local
78 final int padding = pixelsToDimensionPixelSize(paddingFloat); in setPaddingEnd() local
80 view.setPaddingRelative(view.getPaddingStart(), view.getPaddingTop(), padding, in setPaddingEnd() local
83 view.setPadding(view.getPaddingLeft(), view.getPaddingTop(), padding, in setPaddingEnd() local
90 final int padding = pixelsToDimensionPixelSize(paddingFloat); in setPaddingLeft() local
97 final int padding = pixelsToDimensionPixelSize(paddingFloat); in setPaddingRight() local
98 view.setPadding(view.getPaddingLeft(), view.getPaddingTop(), padding, in setPaddingRight() local
104 final int padding = pixelsToDimensionPixelSize(paddingFloat); in setPaddingStart() local
[all …]
DCardViewBindingAdapter.java32 public static void setContentPadding(CardView view, int padding) { in setContentPadding()
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DBitmapFactory_Delegate.java52 @Nullable Rect padding, @Nullable Options opts) { in nativeDecodeStream()
103 Rect padding, Options opts) { in nativeDecodeFileDescriptor()
109 /*package*/ static Bitmap nativeDecodeAsset(long asset, Rect padding, Options opts) { in nativeDecodeAsset()
/frameworks/base/graphics/java/android/graphics/drawable/
DNinePatchDrawable.java100 public NinePatchDrawable(Bitmap bitmap, byte[] chunk, Rect padding, String srcName) { in NinePatchDrawable()
109 Rect padding, String srcName) { in NinePatchDrawable()
120 Rect padding, Rect opticalInsets, String srcName) { in NinePatchDrawable()
269 public boolean getPadding(@NonNull Rect padding) { in getPadding()
429 final Rect padding = new Rect(); in updateStateFromTypedArray() local
597 NinePatchState(@NonNull NinePatch ninePatch, @Nullable Rect padding) { in NinePatchState()
601 NinePatchState(@NonNull NinePatch ninePatch, @Nullable Rect padding, in NinePatchState()
606 NinePatchState(@NonNull NinePatch ninePatch, @Nullable Rect padding, in NinePatchState()
/frameworks/base/core/java/android/service/wallpaper/
DIWallpaperService.aidl28 int reqWidth, int reqHeight, in Rect padding); in attach()
DIWallpaperEngine.aidl28 void setDisplayPadding(in Rect padding); in setDisplayPadding()
DWallpaperService.java691 final Rect padding = mIWallpaperEngine.mDisplayPadding; in updateSurface() local
893 void doDisplayPaddingChanged(Rect padding) { in doDisplayPaddingChanged()
1092 int windowType, boolean isPreview, int reqWidth, int reqHeight, Rect padding) { in IWallpaperEngineWrapper()
1111 public void setDisplayPadding(Rect padding) { in setDisplayPadding()
1243 int windowType, boolean isPreview, int reqWidth, int reqHeight, Rect padding) { in attach()
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/common/
DFwdLockGlue.c115 size_t padding = AES_BLOCK_SIZE - (decryptedKeyLength % AES_BLOCK_SIZE); in FwdLockGlue_ValidatePadding() local
157 size_t padding = AES_BLOCK_SIZE - (plaintextKeyLength % AES_BLOCK_SIZE); in FwdLockGlue_EncryptKey() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/
DAssistDisclosure.java189 private void drawGeometry(Canvas canvas, Paint paint, float padding) { in drawGeometry()
222 Paint paint, float padding) { in drawBeam()
/frameworks/support/design/src/android/support/design/internal/
DForegroundLinearLayout.java104 Rect padding = new Rect(); in setForegroundGravity() local
157 Rect padding = new Rect(); in setForeground() local
/frameworks/base/keystore/java/android/security/keystore/
DKeyProperties.java391 public static int toKeymaster(@NonNull @EncryptionPaddingEnum String padding) { in toKeymaster()
407 public static @EncryptionPaddingEnum String fromKeymaster(int padding) { in fromKeymaster()
459 static int toKeymaster(@NonNull @SignaturePaddingEnum String padding) { in toKeymaster()
472 static @SignaturePaddingEnum String fromKeymaster(int padding) { in fromKeymaster()
/frameworks/base/libs/androidfw/
DBackupData.cpp75 uint32_t padding = 0xbcbcbcbc; in write_padding_for() local
373 uint32_t padding; in skip_padding() local
/frameworks/base/graphics/java/android/graphics/
DBitmapFactory.java719 Rect padding, Options opts); in nativeDecodeStream()
721 Rect padding, Options opts); in nativeDecodeFileDescriptor()
722 private static native Bitmap nativeDecodeAsset(long nativeAsset, Rect padding, Options opts); in nativeDecodeAsset()
/frameworks/base/core/jni/android/graphics/
DBitmapFactory.cpp227 static jobject doDecode(JNIEnv* env, SkStreamRewindable* stream, jobject padding, jobject options) { in doDecode()
544 jobject padding, jobject options) { in nativeDecodeStream()
559 jobject padding, jobject bitmapFactoryOptions) { in nativeDecodeFileDescriptor()
609 jobject padding, jobject options) { in nativeDecodeAsset()
/frameworks/base/core/java/android/widget/
DSwitch.java820 final Rect padding = mTempRect; in onMeasure() local
1144 final Rect padding = mTempRect; in draw() local
1210 final Rect padding = mTempRect; in onDraw() local
1276 int padding = super.getCompoundPaddingLeft() + mSwitchWidth; in getCompoundPaddingLeft() local
1288 int padding = super.getCompoundPaddingRight() + mSwitchWidth; in getCompoundPaddingRight() local
1313 final Rect padding = mTempRect; in getThumbScrollRange() local
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DSwitchCompat.java790 final Rect padding = mTempRect; in onMeasure() local
1134 final Rect padding = mTempRect; in draw() local
1201 final Rect padding = mTempRect; in onDraw() local
1267 int padding = super.getCompoundPaddingLeft() + mSwitchWidth; in getCompoundPaddingLeft() local
1279 int padding = super.getCompoundPaddingRight() + mSwitchWidth; in getCompoundPaddingRight() local
1304 final Rect padding = mTempRect; in getThumbScrollRange() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSTileView.java69 int padding = res.getDimensionPixelSize(R.dimen.qs_tile_padding_top); in updateTopPadding() local
/frameworks/av/media/libstagefright/foundation/
Dbase64.cpp30 size_t padding = 0; in decodeBase64() local
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DStaggeredGridLayoutManagerWrapContentTest.java43 public StaggeredGridLayoutManagerWrapContentTest(Rect padding) { in StaggeredGridLayoutManagerWrapContentTest()
DDefaultMeasureSpecTest.java105 int wSpec, int hSpec, int expectedW, int expectedH, Rect padding) { in DefaultMeasureSpecTest()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DGuidedActionEditText.java39 public boolean getPadding(Rect padding) { in getPadding()
/frameworks/base/core/java/android/appwidget/
DAppWidgetHostView.java152 Rect padding = getDefaultPaddingForWidget(mContext, info.provider, null); in setAppWidget() local
175 Rect padding) { in getDefaultPaddingForWidget()
293 Rect padding = new Rect(); in updateAppWidgetSize() local
/frameworks/support/design/lollipop/android/support/design/widget/
DFloatingActionButtonLollipop.java141 void onPaddingUpdated(Rect padding) { in onPaddingUpdated()
/frameworks/base/tests/WallpaperTest/src/com/example/wallpapertest/
DMainActivity.java146 Rect padding = new Rect(); in updatePadding() local
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/app/
DFragmentLayoutSupport.java214 int padding = (int)TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, in onCreateView() local

1234