Home
last modified time | relevance | path

Searched refs:paddingLeft (Results 1 – 25 of 37) 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/ml/nn/common/operations/
DDepthwiseConv2D.cpp129 uint32_t paddingWidth = (uint32_t)paddingLeft;
133 int32_t paddingLeft, int32_t paddingRight, int32_t paddingTop, in depthwiseConvNhwc() argument
167 const _Float16* biasData, const Shape& biasShape, int32_t paddingLeft, in depthwiseConvNhwc() argument
182 biasDataFloat32.data(), biasShape, paddingLeft, paddingRight, paddingTop, in depthwiseConvNhwc()
193 int32_t paddingLeft, int32_t paddingRight, int32_t paddingTop, in depthwiseConvNhwc() argument
244 int32_t paddingLeft, int32_t paddingRight, int32_t paddingTop, in depthwiseConvNhwc() argument
263 filterShape, biasData, biasShape, paddingLeft, paddingRight, in depthwiseConvNhwc()
277 const Shape& biasShape, int32_t paddingLeft, int32_t paddingRight, int32_t paddingTop, in depthwiseConvQuant8PerChannelNhwc() argument
285 uint32_t paddingWidth = (uint32_t)paddingLeft; in depthwiseConvQuant8PerChannelNhwc()
328 int32_t wInputOrigin = static_cast<int32_t>(w) * strideWidth - paddingLeft; in depthwiseConvQuant8PerChannelNhwc()
[all …]
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.cpp354 const Shape& biasShape, int32_t paddingLeft, int32_t paddingRight, in convQuant8PerChannelNhwc() argument
402 int32_t wInputOrigin = static_cast<int32_t>(w) * strideWidth - paddingLeft; in convQuant8PerChannelNhwc()
447 const Shape& biasShape, int32_t paddingLeft, int32_t paddingRight, in convQuant8PerChannelNhwc() argument
494 convParams.padding_values.width = paddingLeft; in convQuant8PerChannelNhwc()
510 const int32_t* biasData, const Shape& biasShape, int32_t paddingLeft, in convQuant8PerChannel() argument
521 biasData, biasShape, paddingLeft, paddingRight, paddingTop, paddingBottom, strideWidth, in convQuant8PerChannel()
/frameworks/base/core/jni/android/graphics/
DNinePatchPeeker.cpp83 mPatch->paddingLeft = int(mPatch->paddingLeft * scaleX + 0.5f); in scale()
DNinePatch.cpp144 mPatch->paddingLeft, mPatch->paddingTop, in getPadding()
/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()
DMessagingLinearLayout.java147 final int paddingLeft = mPaddingLeft; in onLayout() local
177 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 …]
/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.java611 final int paddingLeft = getPaddingLeft(); in onDraw() local
613 canvas.translate(paddingLeft, paddingTop); in onDraw()
619 canvas.translate(-paddingLeft, -paddingTop); in onDraw()
892 final int paddingLeft = getPaddingLeft(); in onLayout() local
898 final int paddedWidth = paddedRight - paddingLeft; in onLayout()
920 final int maxSelectorWidth = cellWidth / 2 + Math.min(paddingLeft, paddingRight); in onLayout()
DSwitch.java945 int paddingLeft = padding.left; in onMeasure() local
949 paddingLeft = Math.max(paddingLeft, inset.left); in onMeasure()
954 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()
DToolbar.java1824 final int paddingLeft = getPaddingLeft(); in onLayout() local
1828 int left = paddingLeft; in onLayout()
2019 final int parentCenter = paddingLeft + (width - paddingLeft - paddingRight) / 2; in onLayout()
DGridLayout.java1146 int paddingLeft = getPaddingLeft(); in onLayout() local
1151 mHorizontalAxis.layout(targetWidth - paddingLeft - paddingRight); in onLayout()
1206 int cx = !isLayoutRtl() ? paddingLeft + leftMargin + dx : in onLayout()
/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/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()
/frameworks/base/core/java/com/android/internal/app/
DAlertController.java970 final int paddingLeft = getPaddingLeft(); in setHasDecor() local
974 setPadding(paddingLeft, paddingTop, paddingRight, paddingBottom); in setHasDecor()

12