Home
last modified time | relevance | path

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

/packages/apps/DeskClock/src/com/android/deskclock/
DTimerCircleFrameLayout.kt54 val paddingTop = paddingTop in onMeasure() constant
59 val height = MeasureSpec.getSize(variableHeightMeasureSpec) - paddingTop - paddingBottom in onMeasure()
69 variableHeightMeasureSpec = MeasureSpec.makeMeasureSpec(size + paddingTop + paddingBottom, in onMeasure()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/asset/
DBitmapUtils.java111 int paddingTop = rect.top; in calculateVerticalAlignment() local
113 int totalVerticalPadding = paddingTop + paddingBottom; in calculateVerticalAlignment()
118 : paddingTop / ((float) paddingTop + paddingBottom); in calculateVerticalAlignment()
/packages/modules/NeuralNetworks/common/operations/
DDepthwiseConv2D.cpp130 uint32_t paddingHeight = (uint32_t)paddingTop; \
135 int32_t paddingLeft, int32_t paddingRight, int32_t paddingTop, in depthwiseConvNhwc() argument
170 int32_t paddingRight, int32_t paddingTop, int32_t paddingBottom, in depthwiseConvNhwc() argument
184 biasDataFloat32.data(), biasShape, paddingLeft, paddingRight, paddingTop, in depthwiseConvNhwc()
195 int32_t paddingLeft, int32_t paddingRight, int32_t paddingTop, in depthwiseConvNhwc() argument
246 int32_t paddingLeft, int32_t paddingRight, int32_t paddingTop, in depthwiseConvNhwc() argument
266 paddingTop, paddingBottom, strideWidth, strideHeight, in depthwiseConvNhwc()
279 const Shape& biasShape, int32_t paddingLeft, int32_t paddingRight, int32_t paddingTop, in depthwiseConvQuant8PerChannelNhwc() argument
286 uint32_t paddingHeight = (uint32_t)paddingTop; in depthwiseConvQuant8PerChannelNhwc()
331 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()
122 int32_t paddingTop = param.paddingTop, paddingBottom = param.paddingBottom; \
144 int32_t hOutputOrigin = static_cast<int32_t>(h) * strideHeight - paddingTop; in transposeConvNhwc()
231 int32_t hOutputOrigin = static_cast<int32_t>(h) * strideHeight - paddingTop; in transposeConvNhwc()
373 int32_t hOutputOrigin = static_cast<int32_t>(h) * strideHeight - paddingTop; in transposeConvQuant8PerChannelNhwc()
532 param.paddingTop, param.paddingBottom); in prepare()
DConv2D.cpp356 int32_t paddingTop, int32_t paddingBottom, int32_t strideWidth, in convQuant8PerChannelNhwc() argument
404 int32_t hInputOrigin = static_cast<int32_t>(h) * strideHeight - paddingTop; in convQuant8PerChannelNhwc()
449 int32_t paddingTop, int32_t paddingBottom, int32_t strideWidth, in convQuant8PerChannelNhwc() argument
494 convParams.padding_values.height = paddingTop; in convQuant8PerChannelNhwc()
512 int32_t paddingRight, int32_t paddingTop, int32_t paddingBottom, in convQuant8PerChannel() argument
522 biasData, biasShape, paddingLeft, paddingRight, paddingTop, paddingBottom, strideWidth, in convQuant8PerChannel()
/packages/modules/NeuralNetworks/common/include/
DOperations.h55 int32_t paddingRight, int32_t paddingTop, int32_t paddingBottom,
61 int32_t paddingLeft, int32_t paddingRight, int32_t paddingTop,
69 int32_t paddingRight, int32_t paddingTop, int32_t paddingBottom,
77 int32_t paddingRight, int32_t paddingTop, int32_t paddingBottom,
DOperationsUtils.h224 int32_t paddingRight, int32_t paddingTop, in getPaddingScheme() argument
226 if (paddingLeft == 0 && paddingRight == 0 && paddingTop == 0 && paddingBottom == 0) { in getPaddingScheme()
238 expectedPaddingTop == paddingTop && expectedPaddingBottom == paddingBottom) { in getPaddingScheme()
/packages/modules/NeuralNetworks/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()
/packages/modules/Permission/PermissionController/src/android/support/wearable/view/
DCircledImageView.java207 int paddingTop = getPaddingTop(); in onDraw() local
213 mOval.set(paddingLeft, paddingTop, getWidth() - getPaddingRight(), in onDraw()
231 mOval.set(paddingLeft, paddingTop, getWidth() - getPaddingRight(), in onDraw()
254 mOval.set(paddingLeft, paddingTop, getWidth() - getPaddingRight(), in onDraw()
/packages/apps/TV/tuner/src/com/android/tv/tuner/layout/
DScaledLayout.java267 int paddingTop = getPaddingTop(); in onLayout() local
273 int childTop = paddingTop + mRectArray[i].top; in onLayout()
275 int childRight = paddingTop + mRectArray[i].right; in onLayout()
/packages/apps/Camera2/src/com/android/camera/ui/
DTopRightWeightedLayout.java149 int paddingTop = v.getPaddingTop(); in fixGravityAndPadding() local
152 v.setPadding(paddingBottom, paddingRight, paddingTop, paddingLeft); in fixGravityAndPadding()
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DPendingAppWidgetHostView.java232 int paddingTop = getPaddingTop(); in updateDrawableBounds() local
241 int availableHeight = getHeight() - paddingTop - paddingBottom - 2 * minPadding; in updateDrawableBounds()
296 mRect.top = paddingTop + minPadding; in updateDrawableBounds()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DConfig.java32 public int paddingTop; field in Config.AlbumSetPage
54 paddingTop = r.getDimensionPixelSize(R.dimen.albumset_padding_top); in AlbumSetPage()
DAlbumSetPage.java135 int slotViewTop = mActionBar.getHeight() + mConfig.paddingTop;
/packages/apps/Settings/src/com/android/settings/widget/
DMatchParentShrinkingLinearLayout.java1217 final int paddingTop = mPaddingTop; in layoutHorizontal() local
1227 int childSpace = height - paddingTop - mPaddingBottom; in layoutHorizontal()
1290 childTop = paddingTop + lp.topMargin; in layoutHorizontal()
1308 childTop = paddingTop + ((childSpace - childHeight) / 2) in layoutHorizontal()
1320 childTop = paddingTop; in layoutHorizontal()
/packages/apps/Dialer/java/com/android/dialer/app/widget/
DSearchEditTextLayout.java231 int paddingTop = this.getPaddingTop(); in expand() local
237 setPaddingRelative(paddingStart, paddingTop, paddingEnd, paddingBottom); in expand()
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/recyclerview/
DCarUiRecyclerViewImpl.java637 private void setScrollBarPadding(int paddingTop, int paddingBottom) { in setScrollBarPadding() argument
639 mScrollBarPaddingTop = paddingTop; in setScrollBarPadding()
643 mScrollBar.setPadding(paddingTop + getPaddingTop(), in setScrollBarPadding()
/packages/apps/Contacts/src/com/android/contacts/list/
DMultiSelectContactsListFragment.java426 private void setListViewPaddingTop(View listView, int paddingTop) { in setListViewPaddingTop() argument
427 listView.setPadding(listView.getPaddingLeft(), paddingTop, listView.getPaddingRight(), in setListViewPaddingTop() local
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DFolderAnimationManager.java376 final float paddingTop = btv.getPaddingTop() * iconScale; in addPreviewItemAnimators() local
377 final int previewPosY = (int) ((mTmpParams.transY + previewItemOffsetY - paddingTop) in addPreviewItemAnimators()