Home
last modified time | relevance | path

Searched refs:paddingTop (Results 1 – 25 of 33) sorted by relevance

12

/frameworks/base/core/java/com/android/internal/widget/
DNotificationActionListLayout.java205 final int paddingTop = mPaddingTop; in onLayout() local
225 int innerHeight = height - paddingTop - mPaddingBottom; in onLayout()
246 childTop = paddingTop + ((innerHeight - childHeight) / 2) in onLayout()
265 int paddingTop = getResources().getDimensionPixelSize( in updateHeights() local
270 mEmphasizedHeight = paddingBottom + paddingTop + getResources().getDimensionPixelSize( in updateHeights()
286 int paddingTop = getResources().getDimensionPixelSize( in setEmphasizedMode() local
295 paddingTop - buttonPaddingInternal, in setEmphasizedMode()
DWatchListDecorLayout.java215 int paddingTop = Math.max(mListView.getPaddingTop(), in onMeasure() local
220 if (paddingTop != mListView.getPaddingTop() in onMeasure()
222 mPendingScroll += mListView.getPaddingTop() - paddingTop; in onMeasure()
224 mListView.getPaddingLeft(), paddingTop, in onMeasure() local
DViewPager.java1506 int paddingTop = getPaddingTop();
1543 childTop = paddingTop;
1546 childTop = paddingTop;
1547 paddingTop += child.getMeasuredHeight();
1551 paddingTop);
1593 (int) (height - paddingTop - paddingBottom),
1607 final int childTop = paddingTop;
1612 mTopPageBounds = paddingTop;
/frameworks/ml/nn/common/operations/
DDepthwiseConv2D.cpp128 uint32_t paddingHeight = (uint32_t)paddingTop; \
133 int32_t paddingLeft, int32_t paddingRight, int32_t paddingTop, in depthwiseConvNhwc() argument
168 int32_t paddingRight, int32_t paddingTop, int32_t paddingBottom, 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
264 paddingTop, paddingBottom, strideWidth, strideHeight, in depthwiseConvNhwc()
277 const Shape& biasShape, int32_t paddingLeft, int32_t paddingRight, int32_t paddingTop, in depthwiseConvQuant8PerChannelNhwc() argument
284 uint32_t paddingHeight = (uint32_t)paddingTop; in depthwiseConvQuant8PerChannelNhwc()
329 int32_t hInputOrigin = static_cast<int32_t>(h) * strideHeight - paddingTop; in depthwiseConvQuant8PerChannelNhwc()
[all …]
DTransposeConv2D.cpp61 int32_t paddingTop, paddingBottom; member
86 paddingImplicit, &paddingTop, &paddingBottom); in initialize()
90 paddingTop = context->getInputValue<int32_t>(5); in initialize()
102 NN_RET_CHECK_GE(paddingTop, 0); in initialize()
121 int32_t paddingTop = param.paddingTop, paddingBottom = param.paddingBottom; \
143 int32_t hOutputOrigin = static_cast<int32_t>(h) * strideHeight - paddingTop; in transposeConvNhwc()
230 int32_t hOutputOrigin = static_cast<int32_t>(h) * strideHeight - paddingTop; in transposeConvNhwc()
372 int32_t hOutputOrigin = static_cast<int32_t>(h) * strideHeight - paddingTop; in transposeConvQuant8PerChannelNhwc()
527 param.paddingTop, param.paddingBottom); in prepare()
DConv2D.cpp355 int32_t paddingTop, int32_t paddingBottom, int32_t strideWidth, in convQuant8PerChannelNhwc() argument
403 int32_t hInputOrigin = static_cast<int32_t>(h) * strideHeight - paddingTop; in convQuant8PerChannelNhwc()
448 int32_t paddingTop, int32_t paddingBottom, int32_t strideWidth, in convQuant8PerChannelNhwc() argument
493 convParams.padding_values.height = paddingTop; in convQuant8PerChannelNhwc()
511 int32_t paddingRight, int32_t paddingTop, int32_t paddingBottom, in convQuant8PerChannel() argument
521 biasData, biasShape, paddingLeft, paddingRight, paddingTop, paddingBottom, strideWidth, in convQuant8PerChannel()
/frameworks/base/core/jni/android/graphics/
DNinePatchPeeker.cpp89 mPatch->paddingTop = int(mPatch->paddingTop * scaleY + 0.5f); in scale()
DNinePatch.cpp144 mPatch->paddingLeft, mPatch->paddingTop, in getPadding()
/frameworks/ml/nn/common/include/
DOperations.h51 int32_t paddingRight, int32_t paddingTop, int32_t paddingBottom,
57 int32_t paddingLeft, int32_t paddingRight, int32_t paddingTop,
65 int32_t paddingRight, int32_t paddingTop, int32_t paddingBottom,
73 int32_t paddingRight, int32_t paddingTop, int32_t paddingBottom,
DOperationsUtils.h240 int32_t paddingRight, int32_t paddingTop, in getPaddingScheme() argument
242 if (paddingLeft == 0 && paddingRight == 0 && paddingTop == 0 && paddingBottom == 0) { in getPaddingScheme()
254 expectedPaddingTop == paddingTop && expectedPaddingBottom == paddingBottom) { in getPaddingScheme()
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/app/
DPerfTimeline.java118 int paddingTop = getPaddingTop(); in onDraw() local
123 int contentHeight = getHeight() - paddingTop - paddingBottom; in onDraw()
/frameworks/ml/nn/runtime/test/fuzzing/operation_signatures/
DConvolutions.cpp32 int32_t paddingTop = op->inputs[5]->value<int32_t>(); in conv2DExplicitConstructor() local
69 strideHeight, dilationHeight, paddingTop, paddingBottom, in conv2DExplicitConstructor()
271 int32_t paddingTop = op->inputs[5]->value<int32_t>(); in depthwiseConv2DExplicitConstructor() local
309 strideHeight, dilationHeight, paddingTop, paddingBottom, in depthwiseConv2DExplicitConstructor()
524 int32_t paddingTop = op->inputs[5]->value<int32_t>(); in groupedConv2DExplicitConstructor() local
562 strideHeight, /*dilation=*/1, paddingTop, paddingBottom, in groupedConv2DExplicitConstructor()
678 int32_t paddingTop = op->inputs[5]->value<int32_t>(); in transposeConv2DExplicitConstructor() local
707 strideHeight, paddingTop, paddingBottom, in transposeConv2DExplicitConstructor()
DPoolings.cpp30 int32_t paddingTop = op->inputs[3]->value<int32_t>(); in poolingExplicitOpConstructor() local
55 /*dilation=*/1, paddingTop, paddingBottom, in poolingExplicitOpConstructor()
/frameworks/base/core/java/android/widget/
DSimpleMonthView.java612 final int paddingTop = getPaddingTop(); in onDraw() local
613 canvas.translate(paddingLeft, paddingTop); in onDraw()
619 canvas.translate(-paddingLeft, -paddingTop); in onDraw()
893 final int paddingTop = getPaddingTop(); in onLayout() local
899 final int paddedHeight = paddedBottom - paddingTop; in onLayout()
909 final int measuredPaddedHeight = getMeasuredHeight() - paddingTop - paddingBottom; in onLayout()
DToolbar.java1826 final int paddingTop = getPaddingTop(); in onLayout() local
1922 final int space = height - paddingTop - paddingBottom; in onLayout()
1928 spaceAbove - paddingTop; in onLayout()
1934 titleTop = paddingTop + spaceAbove; in onLayout()
2097 final int paddingTop = getPaddingTop(); in getChildTop() local
2100 final int space = height - paddingTop - paddingBottom; in getChildTop()
2106 spaceAbove - paddingTop; in getChildTop()
2111 return paddingTop + spaceAbove; in getChildTop()
DLinearLayout.java1707 final int paddingTop = mPaddingTop; in layoutHorizontal() local
1717 int childSpace = height - paddingTop - mPaddingBottom; in layoutHorizontal()
1779 childTop = paddingTop + lp.topMargin; in layoutHorizontal()
1797 childTop = paddingTop + ((childSpace - childHeight) / 2) in layoutHorizontal()
1809 childTop = paddingTop; in layoutHorizontal()
DGridView.java274 int paddingTop = 0; in fillGap() local
276 paddingTop = getListPaddingTop(); in fillGap()
279 getChildAt(count - 1).getBottom() + verticalSpacing : paddingTop; in fillGap()
DGridLayout.java1147 int paddingTop = getPaddingTop(); in onLayout() local
1152 mVerticalAxis.layout(targetHeight - paddingTop - paddingBottom); in onLayout()
1208 int cy = paddingTop + y1 + gravityOffsetY + alignmentOffsetY + topMargin; in onLayout()
DListView.java750 int paddingTop = 0; in fillGap() local
752 paddingTop = getListPaddingTop(); in fillGap()
755 paddingTop; in fillGap()
/frameworks/base/tools/aapt/
DImages.cpp566 image->info9Patch.paddingTop = image->info9Patch.paddingBottom = -1; in do_9patch()
623 … if (get_vertical_ticks(image->rows, (W-1)*4, H, transparent, false, &image->info9Patch.paddingTop, in do_9patch()
625 errorPixel = image->info9Patch.paddingTop; in do_9patch()
662 if (image->info9Patch.paddingTop < 0) { in do_9patch()
663 image->info9Patch.paddingTop = yDivs[0]; in do_9patch()
676 image->info9Patch.paddingTop, image->info9Patch.paddingBottom); in do_9patch()
808 assert(outPatch->paddingTop == inPatch->paddingTop); in checkNinePatchSerialization()
/frameworks/base/tools/aapt2/compile/
DPng.cpp173 assert(outPatch->paddingTop == inPatch->paddingTop); in checkNinePatchSerialization()
1001 image->info9Patch.paddingTop = image->info9Patch.paddingBottom = -1; in do9Patch()
1061 &image->info9Patch.paddingTop, in do9Patch()
1064 errorPixel = image->info9Patch.paddingTop; in do9Patch()
1101 if (image->info9Patch.paddingTop < 0) { in do9Patch()
1102 image->info9Patch.paddingTop = yDivs[0]; in do9Patch()
DNinePatch.cpp615 data.paddingTop = padding.top; in SerializeBase()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/
DSetupWizardLayout.java286 public void setDecorPaddingTop(int paddingTop) { in setDecorPaddingTop() argument
290 view.getPaddingLeft(), paddingTop, view.getPaddingRight(), view.getPaddingBottom()); in setDecorPaddingTop() local
/frameworks/base/media/java/android/media/
DCea708CaptionRenderer.java1263 int paddingTop = getPaddingTop(); in onLayout() local
1269 int childTop = paddingTop + mRectArray[i].top; in onLayout()
1271 int childRight = paddingTop + mRectArray[i].right; in onLayout()
1285 int paddingTop = getPaddingTop(); in dispatchDraw() local
1294 int childTop = paddingTop + mRectArray[i].top; in dispatchDraw()
/frameworks/base/core/java/com/android/internal/app/
DAlertController.java971 final int paddingTop = hasTitle ? getPaddingTop() : mPaddingTopNoTitle; in setHasDecor() local
974 setPadding(paddingLeft, paddingTop, paddingRight, paddingBottom); in setHasDecor()

12