Home
last modified time | relevance | path

Searched refs:padding (Results 1 – 25 of 353) sorted by relevance

12345678910>>...15

/frameworks/base/docs/html/sdk/support_api_diff/22.2.1/
Dstylesheet-jdiff.css4 div.and-diff-id {border: 1px solid #eee;position:relative;float:right;clear:both;padding:0px;}
5 table.diffspectable {border:1px;padding:0px;margin:0px;}
7 .diffspectable tr {border:0px;padding:0px;}
8 …und-color:eee;border:0px;font-size:90%;font-weight:normal;padding:0px;padding-left:1px;padding-rig…
9 …order:0px;font-size:80%;font-style:normal;text-align:left;padding:0px;padding-left:1px;padding-rig…
10 …rder:0px;font-size:80%;font-weight:normal;text-align:left;padding:0px;padding-left:1px;padding-rig…
11 …rder:0px;font-size:80%;font-weight:normal;text-align:left;padding:0px;padding-left:1px;padding-rig…
12 …or:white;border:0px;font-size:80%;font-weight:normal;padding:1px;color:444;text-align:right;paddin…
20 padding:2px;
21 padding-left:1em;}
[all …]
/frameworks/base/docs/html/sdk/support_api_diff/23/
Dstylesheet-jdiff.css4 div.and-diff-id {border: 1px solid #eee;position:relative;float:right;clear:both;padding:0px;}
5 table.diffspectable {border:1px;padding:0px;margin:0px;}
7 .diffspectable tr {border:0px;padding:0px;}
8 …und-color:eee;border:0px;font-size:90%;font-weight:normal;padding:0px;padding-left:1px;padding-rig…
9 …order:0px;font-size:80%;font-style:normal;text-align:left;padding:0px;padding-left:1px;padding-rig…
10 …rder:0px;font-size:80%;font-weight:normal;text-align:left;padding:0px;padding-left:1px;padding-rig…
11 …rder:0px;font-size:80%;font-weight:normal;text-align:left;padding:0px;padding-left:1px;padding-rig…
12 …or:white;border:0px;font-size:80%;font-weight:normal;padding:1px;color:444;text-align:right;paddin…
20 padding:2px;
21 padding-left:1em;}
[all …]
/frameworks/base/docs/html/sdk/api_diff/21/
Dstylesheet-jdiff.css4 div.and-diff-id {border: 1px solid #eee;position:relative;float:right;clear:both;padding:0px;}
5 table.diffspectable {border:1px;padding:0px;margin:0px;}
7 .diffspectable tr {border:0px;padding:0px;}
8 …und-color:eee;border:0px;font-size:90%;font-weight:normal;padding:0px;padding-left:1px;padding-rig…
9 …order:0px;font-size:80%;font-style:normal;text-align:left;padding:0px;padding-left:1px;padding-rig…
10 …rder:0px;font-size:80%;font-weight:normal;text-align:left;padding:0px;padding-left:1px;padding-rig…
11 …rder:0px;font-size:80%;font-weight:normal;text-align:left;padding:0px;padding-left:1px;padding-rig…
12 …or:white;border:0px;font-size:80%;font-weight:normal;padding:1px;color:444;text-align:right;paddin…
20 padding:2px;
21 padding-left:1em;}
[all …]
/frameworks/base/docs/html/sdk/support_api_diff/22.2.0/
Dstylesheet-jdiff.css4 div.and-diff-id {border: 1px solid #eee;position:relative;float:right;clear:both;padding:0px;}
5 table.diffspectable {border:1px;padding:0px;margin:0px;}
7 .diffspectable tr {border:0px;padding:0px;}
8 …und-color:eee;border:0px;font-size:90%;font-weight:normal;padding:0px;padding-left:1px;padding-rig…
9 …order:0px;font-size:80%;font-style:normal;text-align:left;padding:0px;padding-left:1px;padding-rig…
10 …rder:0px;font-size:80%;font-weight:normal;text-align:left;padding:0px;padding-left:1px;padding-rig…
11 …rder:0px;font-size:80%;font-weight:normal;text-align:left;padding:0px;padding-left:1px;padding-rig…
12 …or:white;border:0px;font-size:80%;font-weight:normal;padding:1px;color:444;text-align:right;paddin…
20 padding:2px;
21 padding-left:1em;}
[all …]
/frameworks/base/docs/html/sdk/api_diff/22/
Dstylesheet-jdiff.css4 div.and-diff-id {border: 1px solid #eee;position:relative;float:right;clear:both;padding:0px;}
5 table.diffspectable {border:1px;padding:0px;margin:0px;}
7 .diffspectable tr {border:0px;padding:0px;}
8 …und-color:eee;border:0px;font-size:90%;font-weight:normal;padding:0px;padding-left:1px;padding-rig…
9 …order:0px;font-size:80%;font-style:normal;text-align:left;padding:0px;padding-left:1px;padding-rig…
10 …rder:0px;font-size:80%;font-weight:normal;text-align:left;padding:0px;padding-left:1px;padding-rig…
11 …rder:0px;font-size:80%;font-weight:normal;text-align:left;padding:0px;padding-left:1px;padding-rig…
12 …or:white;border:0px;font-size:80%;font-weight:normal;padding:1px;color:444;text-align:right;paddin…
20 padding:2px;
21 padding-left:1em;}
[all …]
/frameworks/base/docs/html/sdk/api_diff/20/
Dstylesheet-jdiff.css4 div.and-diff-id {border: 1px solid #eee;position:relative;float:right;clear:both;padding:0px;}
5 table.diffspectable {border:1px;padding:0px;margin:0px;}
7 .diffspectable tr {border:0px;padding:0px;}
8 …und-color:eee;border:0px;font-size:90%;font-weight:normal;padding:0px;padding-left:1px;padding-rig…
9 …order:0px;font-size:80%;font-style:normal;text-align:left;padding:0px;padding-left:1px;padding-rig…
10 …rder:0px;font-size:80%;font-weight:normal;text-align:left;padding:0px;padding-left:1px;padding-rig…
11 …rder:0px;font-size:80%;font-weight:normal;text-align:left;padding:0px;padding-left:1px;padding-rig…
12 …or:white;border:0px;font-size:80%;font-weight:normal;padding:1px;color:444;text-align:right;paddin…
20 padding:2px;
21 padding-left:1em;}
[all …]
/frameworks/base/docs/html/sdk/api_diff/19/
Dstylesheet-jdiff.css4 div.and-diff-id {border: 1px solid #eee;position:relative;float:right;clear:both;padding:0px;}
5 table.diffspectable {border:1px;padding:0px;margin:0px;}
7 .diffspectable tr {border:0px;padding:0px;}
8 …und-color:eee;border:0px;font-size:90%;font-weight:normal;padding:0px;padding-left:1px;padding-rig…
9 …order:0px;font-size:80%;font-style:normal;text-align:left;padding:0px;padding-left:1px;padding-rig…
10 …rder:0px;font-size:80%;font-weight:normal;text-align:left;padding:0px;padding-left:1px;padding-rig…
11 …rder:0px;font-size:80%;font-weight:normal;text-align:left;padding:0px;padding-left:1px;padding-rig…
12 …or:white;border:0px;font-size:80%;font-weight:normal;padding:1px;color:444;text-align:right;paddin…
20 padding:2px;
21 padding-left:1em;}
[all …]
/frameworks/base/docs/html/sdk/api_diff/23/
Dstylesheet-jdiff.css4 div.and-diff-id {border: 1px solid #eee;position:relative;float:right;clear:both;padding:0px;}
5 table.diffspectable {border:1px;padding:0px;margin:0px;}
7 .diffspectable tr {border:0px;padding:0px;}
8 …und-color:eee;border:0px;font-size:90%;font-weight:normal;padding:0px;padding-left:1px;padding-rig…
9 …order:0px;font-size:80%;font-style:normal;text-align:left;padding:0px;padding-left:1px;padding-rig…
10 …rder:0px;font-size:80%;font-weight:normal;text-align:left;padding:0px;padding-left:1px;padding-rig…
11 …rder:0px;font-size:80%;font-weight:normal;text-align:left;padding:0px;padding-left:1px;padding-rig…
12 …or:white;border:0px;font-size:80%;font-weight:normal;padding:1px;color:444;text-align:right;paddin…
20 padding:2px;
21 padding-left:1em;}
[all …]
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/
DViewBindingAdapter.java63 public static void setPadding(View view, int padding) { in setPadding() argument
64 view.setPadding(padding, padding, padding, padding); in setPadding()
68 public static void setPaddingBottom(View view, int padding) { in setPaddingBottom() argument
70 padding); in setPaddingBottom() local
74 public static void setPaddingEnd(View view, int padding) { in setPaddingEnd() argument
76 view.setPaddingRelative(view.getPaddingStart(), view.getPaddingTop(), padding, in setPaddingEnd() local
79 view.setPadding(view.getPaddingLeft(), view.getPaddingTop(), padding, in setPaddingEnd() local
85 public static void setPaddingLeft(View view, int padding) { in setPaddingLeft() argument
86 view.setPadding(padding, view.getPaddingTop(), view.getPaddingRight(), in setPaddingLeft()
91 public static void setPaddingRight(View view, int padding) { in setPaddingRight() argument
[all …]
DCardViewBindingAdapter.java32 public static void setContentPadding(CardView view, int padding) { in setContentPadding() argument
33 view.setContentPadding(padding, padding, padding, padding); in setContentPadding()
/frameworks/base/docs/html/ndk/reference/
Ddoxygen.css26 padding-top: 8px;
27 padding-bottom: 4px;
165 padding: 4px 6px;
176 padding: 4px 6px;
194 padding-left: 53px;
195 padding-bottom: 0px;
216 padding-right: 4px;
236 padding: 0.2em;
276 padding: 2px 10px;
284 padding: 2px 10px;
[all …]
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DSwitchCompat.java534 final Rect padding = mTempRect; in onMeasure() local
539 mThumbDrawable.getPadding(padding); in onMeasure()
540 thumbWidth = mThumbDrawable.getIntrinsicWidth() - padding.left - padding.right; in onMeasure()
559 mTrackDrawable.getPadding(padding); in onMeasure()
562 padding.setEmpty(); in onMeasure()
568 int paddingLeft = padding.left; in onMeasure()
569 int paddingRight = padding.right; in onMeasure()
857 final Rect padding = mTempRect; in draw() local
874 mTrackDrawable.getPadding(padding); in draw()
877 thumbInitialLeft += padding.left; in draw()
[all …]
/frameworks/base/core/java/android/widget/
DSwitch.java819 final Rect padding = mTempRect; in onMeasure() local
824 mThumbDrawable.getPadding(padding); in onMeasure()
825 thumbWidth = mThumbDrawable.getIntrinsicWidth() - padding.left - padding.right; in onMeasure()
844 mTrackDrawable.getPadding(padding); in onMeasure()
847 padding.setEmpty(); in onMeasure()
853 int paddingLeft = padding.left; in onMeasure()
854 int paddingRight = padding.right; in onMeasure()
1143 final Rect padding = mTempRect; in draw() local
1160 mTrackDrawable.getPadding(padding); in draw()
1163 thumbInitialLeft += padding.left; in draw()
[all …]
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DBitmapFactory_Delegate.java52 @Nullable Rect padding, @Nullable Options opts) { in nativeDecodeStream() argument
81 if (padding != null) { in nativeDecodeStream()
84 padding.left = paddingArray[0]; in nativeDecodeStream()
85 padding.top = paddingArray[1]; in nativeDecodeStream()
86 padding.right = paddingArray[2]; in nativeDecodeStream()
87 padding.bottom = paddingArray[3]; in nativeDecodeStream()
102 Rect padding, Options opts) { in nativeDecodeFileDescriptor() argument
108 /*package*/ static Bitmap nativeDecodeAsset(long asset, Rect padding, Options opts) { in nativeDecodeAsset() argument
/frameworks/base/core/java/android/appwidget/
DAppWidgetHostView.java144 Rect padding = getDefaultPaddingForWidget(mContext, info.provider, null); in setAppWidget() local
145 setPadding(padding.left, padding.top, padding.right, padding.bottom); in setAppWidget()
167 Rect padding) { in getDefaultPaddingForWidget() argument
171 if (padding == null) { in getDefaultPaddingForWidget()
172 padding = new Rect(0, 0, 0, 0); in getDefaultPaddingForWidget()
174 padding.set(0, 0, 0, 0); in getDefaultPaddingForWidget()
181 return padding; in getDefaultPaddingForWidget()
186 padding.left = r.getDimensionPixelSize(com.android.internal. in getDefaultPaddingForWidget()
188 padding.right = r.getDimensionPixelSize(com.android.internal. in getDefaultPaddingForWidget()
190 padding.top = r.getDimensionPixelSize(com.android.internal. in getDefaultPaddingForWidget()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/
DAssistDisclosure.java197 private void drawGeometry(Canvas canvas, Paint paint, float padding) { in drawGeometry() argument
209 height, paint, padding); in drawGeometry()
218 height - thickness, paint, padding); in drawGeometry()
223 height - thickness, paint, padding); in drawGeometry()
233 thickness, paint, padding); in drawGeometry()
238 thickness, paint, padding); in drawGeometry()
243 Paint paint, float padding) { in drawBeam() argument
244 canvas.drawRect(left - padding, in drawBeam()
245 top - padding, in drawBeam()
246 right + padding, in drawBeam()
[all …]
/frameworks/base/keystore/java/android/security/keystore/
DKeyProperties.java391 public static int toKeymaster(@NonNull @EncryptionPaddingEnum String padding) { in toKeymaster() argument
392 if (ENCRYPTION_PADDING_NONE.equalsIgnoreCase(padding)) { in toKeymaster()
394 } else if (ENCRYPTION_PADDING_PKCS7.equalsIgnoreCase(padding)) { in toKeymaster()
396 } else if (ENCRYPTION_PADDING_RSA_PKCS1.equalsIgnoreCase(padding)) { in toKeymaster()
398 } else if (ENCRYPTION_PADDING_RSA_OAEP.equalsIgnoreCase(padding)) { in toKeymaster()
402 "Unsupported encryption padding scheme: " + padding); in toKeymaster()
407 public static @EncryptionPaddingEnum String fromKeymaster(int padding) { in fromKeymaster() argument
408 switch (padding) { in fromKeymaster()
419 "Unsupported encryption padding: " + padding); in fromKeymaster()
459 static int toKeymaster(@NonNull @SignaturePaddingEnum String padding) { in toKeymaster() argument
[all …]
/frameworks/base/docs/html/guide/topics/ui/layout/
Dgrid.jd50 android:padding="3dip" />
54 android:padding="3dip" />
60 android:padding="3dip" />
64 android:padding="3dip" />
93 android:padding="3dip" />
97 android:padding="3dip" />
104 android:padding="3dip" />
108 android:padding="3dip" />
115 android:padding="3dip" />
119 android:padding="3dip" />
[all …]
/frameworks/base/graphics/java/android/graphics/drawable/
DNinePatchDrawable.java93 public NinePatchDrawable(Bitmap bitmap, byte[] chunk, Rect padding, String srcName) { in NinePatchDrawable() argument
94 this(new NinePatchState(new NinePatch(bitmap, chunk, srcName), padding), null); in NinePatchDrawable()
102 Rect padding, String srcName) { in NinePatchDrawable() argument
103 this(new NinePatchState(new NinePatch(bitmap, chunk, srcName), padding), res); in NinePatchDrawable()
114 Rect padding, Rect opticalInsets, String srcName) { in NinePatchDrawable() argument
115 this(new NinePatchState(new NinePatch(bitmap, chunk, srcName), padding, opticalInsets), in NinePatchDrawable()
273 public boolean getPadding(Rect padding) { in getPadding() argument
277 padding.set(scaledPadding.right, scaledPadding.top, in getPadding()
280 padding.set(scaledPadding); in getPadding()
282 return (padding.left | padding.top | padding.right | padding.bottom) != 0; in getPadding()
[all …]
DLayerDrawable.java927 public boolean getPadding(Rect padding) { in getPadding() argument
930 computeNestedPadding(padding); in getPadding()
932 computeStackedPadding(padding); in getPadding()
938 padding.top = layerState.mPaddingTop; in getPadding()
942 padding.bottom = layerState.mPaddingBottom; in getPadding()
957 padding.left = paddingLeft; in getPadding()
962 padding.right = paddingRight; in getPadding()
965 return padding.left != 0 || padding.top != 0 || padding.right != 0 || padding.bottom != 0; in getPadding()
1132 private void computeNestedPadding(Rect padding) { in computeNestedPadding() argument
1133 padding.left = 0; in computeNestedPadding()
[all …]
/frameworks/av/media/libstagefright/foundation/
Dbase64.cpp30 size_t padding = 0; in decodeBase64() local
32 padding = 1; in decodeBase64()
35 padding = 2; in decodeBase64()
38 padding = 3; in decodeBase64()
43 size_t outLen = 3 * s.size() / 4 - padding; in decodeBase64()
66 if (i < n - padding) { in decodeBase64()
/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
117 for (i = 0; i < padding; ++i) { in FwdLockGlue_ValidatePadding()
118 if ((size_t)*pData != padding) { in FwdLockGlue_ValidatePadding()
157 size_t padding = AES_BLOCK_SIZE - (plaintextKeyLength % AES_BLOCK_SIZE); in FwdLockGlue_EncryptKey() local
160 memset((unsigned char *)pEncryptedKey + plaintextKeyLength, (int)padding, padding); in FwdLockGlue_EncryptKey()
/frameworks/base/core/java/android/service/wallpaper/
DWallpaperService.java688 final Rect padding = mIWallpaperEngine.mDisplayPadding; in updateSurface() local
689 w += padding.left + padding.right + mOutsets.left + mOutsets.right; in updateSurface()
690 h += padding.top + padding.bottom + mOutsets.top + mOutsets.bottom; in updateSurface()
691 mOverscanInsets.left += padding.left; in updateSurface()
692 mOverscanInsets.top += padding.top; in updateSurface()
693 mOverscanInsets.right += padding.right; in updateSurface()
694 mOverscanInsets.bottom += padding.bottom; in updateSurface()
695 mContentInsets.left += padding.left; in updateSurface()
696 mContentInsets.top += padding.top; in updateSurface()
697 mContentInsets.right += padding.right; in updateSurface()
[all …]
/frameworks/support/v4/java/android/support/v4/widget/
DCircleImageView.java70 final int padding = mShadowRadius; in CircleImageView() local
72 setPadding(padding, padding, padding, padding); in CircleImageView()
/frameworks/base/tests/WallpaperTest/src/com/example/wallpapertest/
DMainActivity.java146 Rect padding = new Rect(); in updatePadding() local
147 padding.left = loadIntText(mPaddingLeftView); in updatePadding()
148 padding.top = loadIntText(mPaddingTopView); in updatePadding()
149 padding.right = loadIntText(mPaddingRightView); in updatePadding()
150 padding.bottom = loadIntText(mPaddingBottomView); in updatePadding()
151 mWallpaperManager.setDisplayPadding(padding); in updatePadding()

12345678910>>...15