Home
last modified time | relevance | path

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

1234567

/frameworks/base/docs/html/sdk/support_api_diff/25.1.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/support_api_diff/25.0.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/libs/hwui/tests/common/scenes/
DSaveLayer2Animation.cpp40 int padding = smallRectHeight / 4; in createContent() local
44 mBluePaint.getSkFont().setSize(padding); in createContent()
46 mGreenPaint.getSkFont().setSize(padding); in createContent()
50 canvas.saveLayer(bounds.fLeft, top, bounds.fRight, top + padding, &mBluePaint, in createContent()
56 top + padding); in createContent()
59 canvas.drawRect(bounds.fLeft, top + padding, bounds.fRight, in createContent()
60 top + smallRectHeight - padding, mBluePaint); in createContent()
63 top + smallRectHeight - padding); in createContent()
/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/
DDeviceChooserActivity.java122 final int padding = getPadding(getResources()); in setTitle() local
123 titleView.setPadding(padding, padding, padding, padding); in setTitle()
131 final int padding = getPadding(getResources()); in getProgressBar() local
132 progressBar.setPadding(padding, padding, padding, padding); in getProgressBar()
137 return r.getDimensionPixelSize(R.dimen.padding); in getPadding()
/frameworks/base/tests/UiBench/src/com/android/test/uibench/
DSaveLayerInterleaveActivity.java62 int padding = smallRectHeight / 4; in onCreate()
65 mBluePaint.setTextSize(padding); in onCreate()
67 mGreenPaint.setTextSize(padding); in onCreate()
71 canvas.saveLayer(bounds.left, top, bounds.right, top + padding, in onCreate()
74 canvas.drawText("offscreen line "+ i, bounds.left, top + padding, in onCreate()
78 Rect partX = new Rect(bounds.left, top + padding, in onCreate()
79 bounds.right,top + smallRectHeight - padding); in onCreate()
82 top + smallRectHeight - padding, mGreenPaint); in onCreate()
/frameworks/base/core/java/android/widget/
DSwitch.java911 final Rect padding = mTempRect; in onMeasure() local
916 mThumbDrawable.getPadding(padding); in onMeasure()
917 thumbWidth = mThumbDrawable.getIntrinsicWidth() - padding.left - padding.right; in onMeasure()
936 mTrackDrawable.getPadding(padding); in onMeasure()
939 padding.setEmpty(); in onMeasure()
945 int paddingLeft = padding.left; in onMeasure()
946 int paddingRight = padding.right; in onMeasure()
1239 final Rect padding = mTempRect; in draw() local
1256 mTrackDrawable.getPadding(padding); in draw()
1259 thumbInitialLeft += padding.left; in draw()
[all …]
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/graph/
DBatteryMeterDrawableBaseTest.java86 final Rect padding = new Rect(); in testPadding_returnsCorrectValues() local
90 assertThat(mBatteryDrawable.getPadding(padding)).isEqualTo(true); in testPadding_returnsCorrectValues()
91 assertThat(padding).isEqualTo(expected); in testPadding_returnsCorrectValues()
96 final Rect padding = new Rect(); in testPadding_falseIfUnsetOrZero() local
97 assertThat(mBatteryDrawable.getPadding(padding)).isEqualTo(false); in testPadding_falseIfUnsetOrZero()
98 assertThat(isRectZero(padding)).isEqualTo(true); in testPadding_falseIfUnsetOrZero()
101 assertThat(mBatteryDrawable.getPadding(padding)).isEqualTo(false); in testPadding_falseIfUnsetOrZero()
102 assertThat(isRectZero(padding)).isEqualTo(true); in testPadding_falseIfUnsetOrZero()
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/
DAssistDisclosure.java187 private void drawGeometry(Canvas canvas, Paint paint, float padding) { in drawGeometry() argument
197 height, paint, padding); in drawGeometry()
204 height - thickness, paint, padding); in drawGeometry()
209 height - thickness, paint, padding); in drawGeometry()
216 thickness, paint, padding); in drawGeometry()
220 Paint paint, float padding) { in drawBeam() argument
221 canvas.drawRect(left - padding, in drawBeam()
222 top - padding, in drawBeam()
223 right + padding, in drawBeam()
224 bottom + padding, in drawBeam()
/frameworks/layoutlib/bridge/src/android/graphics/
DBitmapFactory_Delegate.java52 @Nullable Rect padding, @Nullable Options opts, long inBitmapHandle, in nativeDecodeStream() argument
83 if (padding != null) { in nativeDecodeStream()
86 padding.left = paddingArray[0]; in nativeDecodeStream()
87 padding.top = paddingArray[1]; in nativeDecodeStream()
88 padding.right = paddingArray[2]; in nativeDecodeStream()
89 padding.bottom = paddingArray[3]; in nativeDecodeStream()
104 Rect padding, Options opts, long inBitmapHandle, long colorSpaceHandle) { in nativeDecodeFileDescriptor() argument
112 /*package*/ static Bitmap nativeDecodeAsset(long asset, Rect padding, Options opts, in nativeDecodeAsset() argument
/frameworks/ml/nn/runtime/test/specs/V1_0/
Davg_pool_float_4.mod.py33 padding = Int32Scalar("padding", pad) variable
42 …"AVERAGE_POOL_2D", i0, padding, padding, padding, padding, stride, stride, filt, filt, act3).To(ou…
Davg_pool_quant8_2.mod.py33 padding = Int32Scalar("padding", pad) variable
42 …"AVERAGE_POOL_2D", i0, padding, padding, padding, padding, stride, stride, filt, filt, act0).To(ou…
Davg_pool_float_2.mod.py33 padding = Int32Scalar("padding", pad) variable
42 …"AVERAGE_POOL_2D", i0, padding, padding, padding, padding, stride, stride, filt, filt, act0).To(ou…
Davg_pool_quant8_3.mod.py33 padding = Int32Scalar("padding", pad) variable
42 …"AVERAGE_POOL_2D", i0, padding, padding, padding, padding, stride, stride, filt, filt, act0).To(ou…
Davg_pool_float_3.mod.py33 padding = Int32Scalar("padding", pad) variable
42 …"AVERAGE_POOL_2D", i0, padding, padding, padding, padding, stride, stride, filt, filt, act0).To(ou…
Dmax_pool_quant8_3.mod.py33 padding = Int32Scalar("padding", pad) variable
42 …"MAX_POOL_2D", i0, padding, padding, padding, padding, stride, stride, filt, filt, act2).To(output)
Dmax_pool_float_3.mod.py33 padding = Int32Scalar("padding", pad) variable
42 …"MAX_POOL_2D", i0, padding, padding, padding, padding, stride, stride, filt, filt, act3).To(output)
Dmax_pool_quant8_2.mod.py33 padding = Int32Scalar("padding", pad) variable
42 …"MAX_POOL_2D", i0, padding, padding, padding, padding, stride, stride, filt, filt, act0).To(output)
Dmax_pool_float_2.mod.py33 padding = Int32Scalar("padding", pad) variable
42 …"MAX_POOL_2D", i0, padding, padding, padding, padding, stride, stride, filt, filt, act0).To(output)
/frameworks/ml/nn/runtime/test/specs/V1_1/
Davg_pool_float_3_relaxed.mod.py33 padding = Int32Scalar("padding", pad) variable
42 …"AVERAGE_POOL_2D", i0, padding, padding, padding, padding, stride, stride, filt, filt, act0).To(ou…
Davg_pool_float_4_relaxed.mod.py33 padding = Int32Scalar("padding", pad) variable
42 …"AVERAGE_POOL_2D", i0, padding, padding, padding, padding, stride, stride, filt, filt, act3).To(ou…
Davg_pool_float_2_relaxed.mod.py35 padding = Int32Scalar("padding", pad) variable
44 …"AVERAGE_POOL_2D", i0, padding, padding, padding, padding, stride, stride, filt, filt, act0).To(ou…
Dmax_pool_float_3_relaxed.mod.py33 padding = Int32Scalar("padding", pad) variable
42 …"MAX_POOL_2D", i0, padding, padding, padding, padding, stride, stride, filt, filt, act3).To(output)
Dmax_pool_float_2_relaxed.mod.py33 padding = Int32Scalar("padding", pad) variable
42 …"MAX_POOL_2D", i0, padding, padding, padding, padding, stride, stride, filt, filt, act0).To(output)
/frameworks/base/core/java/android/appwidget/
DAppWidgetHostView.java147 Rect padding = getDefaultPadding(); in setAppWidget() local
148 setPadding(padding.left, padding.top, padding.right, padding.bottom); in setAppWidget()
179 Rect padding) { in getDefaultPaddingForWidget() argument
180 return getDefaultPaddingForWidget(context, padding); in getDefaultPaddingForWidget()
183 private static Rect getDefaultPaddingForWidget(Context context, Rect padding) { in getDefaultPaddingForWidget() argument
184 if (padding == null) { in getDefaultPaddingForWidget()
185 padding = new Rect(0, 0, 0, 0); in getDefaultPaddingForWidget()
187 padding.set(0, 0, 0, 0); in getDefaultPaddingForWidget()
190 padding.left = r.getDimensionPixelSize( in getDefaultPaddingForWidget()
192 padding.right = r.getDimensionPixelSize( in getDefaultPaddingForWidget()
[all …]
/frameworks/base/graphics/java/android/graphics/drawable/
DNinePatchDrawable.java100 public NinePatchDrawable(Bitmap bitmap, byte[] chunk, Rect padding, String srcName) { in NinePatchDrawable() argument
101 this(new NinePatchState(new NinePatch(bitmap, chunk, srcName), padding), null); in NinePatchDrawable()
109 Rect padding, String srcName) { in NinePatchDrawable() argument
110 this(new NinePatchState(new NinePatch(bitmap, chunk, srcName), padding), res); in NinePatchDrawable()
120 Rect padding, Rect opticalInsets, String srcName) { in NinePatchDrawable() argument
121 this(new NinePatchState(new NinePatch(bitmap, chunk, srcName), padding, opticalInsets), in NinePatchDrawable()
270 public boolean getPadding(@NonNull Rect padding) { in getPadding() argument
272 padding.set(mPadding); in getPadding()
273 return (padding.left | padding.top | padding.right | padding.bottom) != 0; in getPadding()
275 return super.getPadding(padding); in getPadding()
[all …]

1234567