Home
last modified time | relevance | path

Searched refs:paddingLeft (Results 1 – 25 of 40) sorted by relevance

12

/frameworks/base/tools/aapt2/link/
DXmlCompatVersioner_test.cpp37 paddingLeft = 0x010100d6u, // (API 1) enumerator
57 .AddPublicSymbol("android:attr/paddingLeft", R::attr::paddingLeft, in SetUp()
130 {ReplacementAttr{"paddingLeft", R::attr::paddingLeft, Attribute(TYPE_DIMENSION)},
150 xml::Attribute* attr = el->FindAttribute(xml::kSchemaAndroid, "paddingLeft");
168 attr = el->FindAttribute(xml::kSchemaAndroid, "paddingLeft");
190 {ReplacementAttr{"paddingLeft", R::attr::paddingLeft, Attribute(TYPE_DIMENSION)},
211 xml::Attribute* attr = el->FindAttribute(xml::kSchemaAndroid, "paddingLeft");
226 EXPECT_THAT(el->FindAttribute(xml::kSchemaAndroid, "paddingLeft"), IsNull());
238 EXPECT_THAT(el->FindAttribute(xml::kSchemaAndroid, "paddingLeft"), IsNull());
256 android:paddingLeft="16dp"
[all …]
/frameworks/base/libs/hwui/jni/
DNinePatchPeeker.cpp83 mPatch->paddingLeft = int(mPatch->paddingLeft * scaleX + 0.5f); in scale()
DNinePatch.cpp142 mPatch->paddingLeft, mPatch->paddingTop, in getPadding()
/frameworks/ml/nn/common/operations/
DTransposeConv2D.cpp60 int32_t paddingLeft, paddingRight; member
84 paddingImplicit, &paddingLeft, &paddingRight); in initialize()
88 paddingLeft = context->getInputValue<int32_t>(3); in initialize()
101 NN_RET_CHECK_GE(paddingLeft, 0); in initialize()
120 int32_t paddingLeft = param.paddingLeft, paddingRight = param.paddingRight; \
142 int32_t wOutputOrigin = static_cast<int32_t>(w) * strideWidth - paddingLeft; in transposeConvNhwc()
229 int32_t wOutputOrigin = static_cast<int32_t>(w) * strideWidth - paddingLeft; in transposeConvNhwc()
371 int32_t wOutputOrigin = static_cast<int32_t>(w) * strideWidth - paddingLeft; in transposeConvQuant8PerChannelNhwc()
525 param.paddingLeft, param.paddingRight); in prepare()
DConv2D.cpp329 const Shape& biasShape, int32_t paddingLeft, int32_t paddingRight, in convQuant8PerChannelNhwc() argument
377 int32_t wInputOrigin = static_cast<int32_t>(w) * strideWidth - paddingLeft; in convQuant8PerChannelNhwc()
422 const Shape& biasShape, int32_t paddingLeft, int32_t paddingRight, in convQuant8PerChannelNhwc() argument
469 convParams.padding_values.width = paddingLeft; in convQuant8PerChannelNhwc()
485 const int32_t* biasData, const Shape& biasShape, int32_t paddingLeft, in convQuant8PerChannel() argument
496 biasData, biasShape, paddingLeft, paddingRight, paddingTop, paddingBottom, strideWidth, in convQuant8PerChannel()
/frameworks/base/core/java/com/android/internal/widget/
DAlertDialogLayout.java275 final int paddingLeft = mPaddingLeft; in onLayout() local
282 final int childSpace = width - paddingLeft - mPaddingRight; in onLayout()
332 childLeft = paddingLeft + ((childSpace - childWidth) / 2) in onLayout()
342 childLeft = paddingLeft + lp.leftMargin; in onLayout()
DViewPager.java1505 int paddingLeft = getPaddingLeft();
1526 childLeft = paddingLeft;
1529 childLeft = paddingLeft;
1530 paddingLeft += child.getMeasuredWidth();
1534 paddingLeft);
1567 final int childWidth = width - paddingLeft - paddingRight;
1604 childLeft = paddingLeft + startOffset;
1701 int paddingLeft = getPaddingLeft();
1714 childLeft = paddingLeft;
1717 childLeft = paddingLeft;
[all …]
DMessagingLinearLayout.java183 final int paddingLeft = mPaddingLeft; in onLayout() local
213 childLeft = paddingLeft + lp.leftMargin; in onLayout()
/frameworks/ml/nn/common/include/
DOperations.h50 const _Float16* biasData, const Shape& biasShape, int32_t paddingLeft,
57 int32_t paddingLeft, int32_t paddingRight, int32_t paddingTop,
64 const int32_t* biasData, const Shape& biasShape, int32_t paddingLeft,
72 const Shape& biasShape, int32_t paddingLeft,
DOperationsUtils.h239 int32_t filterHeight, int32_t paddingLeft, in getPaddingScheme() argument
242 if (paddingLeft == 0 && paddingRight == 0 && paddingTop == 0 && paddingBottom == 0) { in getPaddingScheme()
253 if (expectedPaddingLeft == paddingLeft && expectedPaddingRight == paddingRight && in getPaddingScheme()
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/app/
DPerfTimeline.java117 int paddingLeft = getPaddingLeft(); in onDraw() local
122 int contentWidth = getWidth() - paddingLeft - paddingRight; in onDraw()
/frameworks/ml/nn/runtime/test/fuzzing/operation_signatures/
DConvolutions.cpp30 int32_t paddingLeft = op->inputs[3]->value<int32_t>(); in conv2DExplicitConstructor() local
74 strideWidth, dilationWidth, paddingLeft, paddingRight, in conv2DExplicitConstructor()
269 int32_t paddingLeft = op->inputs[3]->value<int32_t>(); in depthwiseConv2DExplicitConstructor() local
314 strideWidth, dilationWidth, paddingLeft, paddingRight, in depthwiseConv2DExplicitConstructor()
522 int32_t paddingLeft = op->inputs[3]->value<int32_t>(); in groupedConv2DExplicitConstructor() local
567 strideWidth, /*dilation=*/1, paddingLeft, paddingRight, in groupedConv2DExplicitConstructor()
676 int32_t paddingLeft = op->inputs[3]->value<int32_t>(); in transposeConv2DExplicitConstructor() local
712 strideWidth, paddingLeft, paddingRight, in transposeConv2DExplicitConstructor()
DPoolings.cpp28 int32_t paddingLeft = op->inputs[1]->value<int32_t>(); in poolingExplicitOpConstructor() local
60 paddingLeft, paddingRight, &op->outputs[0]->dimensions[widthIndex]); in poolingExplicitOpConstructor()
/frameworks/ex/widget/java/com/android/ex/widget/
DStaggeredGridView.java746 final int paddingLeft = getPaddingLeft(); in layoutChildren() local
750 … (getWidth() - paddingLeft - paddingRight - itemMargin * (mColCount - 1)) / mColCount; in layoutChildren()
804 final int childLeft = paddingLeft + col * (colWidth + itemMargin); in layoutChildren()
882 final int paddingLeft = getPaddingLeft(); in fillUp() local
886 … (getWidth() - paddingLeft - paddingRight - itemMargin * (mColCount - 1)) / mColCount; in fillUp()
967 final int childLeft = paddingLeft + nextCol * (colWidth + itemMargin); in fillUp()
996 final int paddingLeft = getPaddingLeft(); in fillDown() local
1000 … (getWidth() - paddingLeft - paddingRight - itemMargin * (mColCount - 1)) / mColCount; in fillDown()
1081 final int childLeft = paddingLeft + nextCol * (colWidth + itemMargin); in fillDown()
/frameworks/base/core/java/android/widget/
DSimpleMonthView.java613 final int paddingLeft = getPaddingLeft(); in onDraw() local
615 canvas.translate(paddingLeft, paddingTop); in onDraw()
621 canvas.translate(-paddingLeft, -paddingTop); in onDraw()
894 final int paddingLeft = getPaddingLeft(); in onLayout() local
900 final int paddedWidth = paddedRight - paddingLeft; in onLayout()
922 final int maxSelectorWidth = cellWidth / 2 + Math.min(paddingLeft, paddingRight); in onLayout()
DSwitch.java953 int paddingLeft = padding.left; in onMeasure() local
957 paddingLeft = Math.max(paddingLeft, inset.left); in onMeasure()
962 2 * mThumbWidth + paddingLeft + paddingRight); in onMeasure()
DLinearLayout.java1601 final int paddingLeft = mPaddingLeft; in layoutVertical() local
1611 int childSpace = width - paddingLeft - mPaddingRight; in layoutVertical()
1654 childLeft = paddingLeft + ((childSpace - childWidth) / 2) in layoutVertical()
1664 childLeft = paddingLeft + lp.leftMargin; in layoutVertical()
/frameworks/base/tools/aapt/
DImages.cpp565 image->info9Patch.paddingLeft = image->info9Patch.paddingRight = in do_9patch()
615 … if (get_horizontal_ticks(image->rows[H-1], W, transparent, false, &image->info9Patch.paddingLeft, in do_9patch()
617 errorPixel = image->info9Patch.paddingLeft; in do_9patch()
655 if (image->info9Patch.paddingLeft < 0) { in do_9patch()
656 image->info9Patch.paddingLeft = xDivs[0]; in do_9patch()
675 image->info9Patch.paddingLeft, image->info9Patch.paddingRight, in do_9patch()
806 assert(outPatch->paddingLeft == inPatch->paddingLeft); in checkNinePatchSerialization()
/frameworks/base/tools/aapt2/compile/
DPng.cpp171 assert(outPatch->paddingLeft == inPatch->paddingLeft); in checkNinePatchSerialization()
1000 image->info9Patch.paddingLeft = image->info9Patch.paddingRight = -1; in do9Patch()
1051 &image->info9Patch.paddingLeft, in do9Patch()
1054 errorPixel = image->info9Patch.paddingLeft; in do9Patch()
1094 if (image->info9Patch.paddingLeft < 0) { in do9Patch()
1095 image->info9Patch.paddingLeft = xDivs[0]; in do9Patch()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/animation/
DUniqueObjectHostView.kt86 val left = paddingLeft in addView()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DDoubleLineTileLayout.kt133 val availableWidth = r - l - paddingLeft - paddingRight in onLayout()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
DMediaHost.kt33 var left = tmpLocationOnScreen[0] + hostView.paddingLeft in <lambda>()
DSeekBarViewModel.kt328 val padL = bar.paddingLeft in onDown()
/frameworks/base/media/java/android/media/
DWebVttRenderer.java1433 final int paddingLeft = 100 * getPaddingLeft() / viewportWidth; in layoutCue() local
1435 if (xPosition < paddingLeft && xPosition + size > paddingLeft) { in layoutCue()
1436 xPosition += paddingLeft; in layoutCue()
1437 size -= paddingLeft; in layoutCue()
DCea708CaptionRenderer.java1262 int paddingLeft = getPaddingLeft(); in onLayout() local
1268 int childLeft = paddingLeft + mRectArray[i].left; in onLayout()
1270 int childBottom = paddingLeft + mRectArray[i].bottom; in onLayout()
1284 int paddingLeft = getPaddingLeft(); in dispatchDraw() local
1293 int childLeft = paddingLeft + mRectArray[i].left; in dispatchDraw()

12