Home
last modified time | relevance | path

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

12

/frameworks/base/tools/aapt2/link/
DXmlCompatVersioner_test.cpp38 paddingRight = 0x010100d8u, // (API 1) enumerator
59 .AddPublicSymbol("android:attr/paddingRight", R::attr::paddingRight, in SetUp()
131 ReplacementAttr{"paddingRight", R::attr::paddingRight, Attribute(TYPE_DIMENSION)}}));
155 attr = el->FindAttribute(xml::kSchemaAndroid, "paddingRight");
173 attr = el->FindAttribute(xml::kSchemaAndroid, "paddingRight");
191 ReplacementAttr{"paddingRight", R::attr::paddingRight, Attribute(TYPE_DIMENSION)}}));
216 attr = el->FindAttribute(xml::kSchemaAndroid, "paddingRight");
227 EXPECT_THAT(el->FindAttribute(xml::kSchemaAndroid, "paddingRight"), IsNull());
239 EXPECT_THAT(el->FindAttribute(xml::kSchemaAndroid, "paddingRight"), IsNull());
257 android:paddingRight="16dp"/>)");
[all …]
/frameworks/base/libs/hwui/jni/
DNinePatchPeeker.cpp84 mPatch->paddingRight = int(mPatch->paddingRight * scaleX + 0.5f); in scale()
DNinePatch.cpp143 mPatch->paddingRight, mPatch->paddingBottom); in getPadding()
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/app/
DPerfTimeline.java119 int paddingRight = getPaddingRight(); in onDraw() local
122 int contentWidth = getWidth() - paddingLeft - paddingRight; in onDraw()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shade/
DShadeHeaderControllerTest.kt692 val paddingRight = 20 in <lambda>() constant
698 whenever(view.paddingRight).thenReturn(paddingRight) in <lambda>()
717 val offset = (width - paddingLeft - paddingRight - cutoutWidth) / 2 in <lambda>()
729 val paddingRight = 20 in <lambda>() constant
735 whenever(view.paddingRight).thenReturn(paddingRight) in <lambda>()
754 val offset = (width - paddingLeft - paddingRight - cutoutWidth) / 2 in <lambda>()
/frameworks/base/tools/aapt/
DImages.cpp565 image->info9Patch.paddingLeft = image->info9Patch.paddingRight = in do_9patch()
616 &image->info9Patch.paddingRight, &errorMsg, NULL, false) != NO_ERROR) { in do_9patch()
657 image->info9Patch.paddingRight = W - 2 - xDivs[1]; in do_9patch()
660 image->info9Patch.paddingRight = W - 2 - image->info9Patch.paddingRight; in do_9patch()
675 image->info9Patch.paddingLeft, image->info9Patch.paddingRight, in do_9patch()
807 assert(outPatch->paddingRight == inPatch->paddingRight); in checkNinePatchSerialization()
/frameworks/base/tools/aapt2/compile/
DPng.cpp172 assert(outPatch->paddingRight == inPatch->paddingRight); in checkNinePatchSerialization()
1000 image->info9Patch.paddingLeft = image->info9Patch.paddingRight = -1; in do9Patch()
1052 &image->info9Patch.paddingRight, &errorMsg, nullptr, in do9Patch()
1096 image->info9Patch.paddingRight = W - 2 - xDivs[1]; in do9Patch()
1099 image->info9Patch.paddingRight = W - 2 - image->info9Patch.paddingRight; in do9Patch()
/frameworks/ex/widget/java/com/android/ex/widget/
DStaggeredGridView.java747 final int paddingRight = getPaddingRight(); in layoutChildren() local
750 … (getWidth() - paddingLeft - paddingRight - itemMargin * (mColCount - 1)) / mColCount; in layoutChildren()
883 final int paddingRight = getPaddingRight(); in fillUp() local
886 … (getWidth() - paddingLeft - paddingRight - itemMargin * (mColCount - 1)) / mColCount; in fillUp()
997 final int paddingRight = getPaddingRight(); in fillDown() local
1000 … (getWidth() - paddingLeft - paddingRight - itemMargin * (mColCount - 1)) / mColCount; in fillDown()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DKeyguardBottomAreaView.kt133 setPadding(paddingLeft, paddingTop, paddingRight, bottom) in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/taptotransfer/receiver/
DMediaTttChipControllerReceiverTest.kt404 assertThat(chipView.getAppIconView().paddingRight).isEqualTo(0) in updateView_isAppIcon_usesAppIconPadding()
417 assertThat(chipView.getAppIconView().paddingRight).isEqualTo(expectedPadding) in updateView_notAppIcon_usesGenericIconPadding()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
DManageEducationView.kt119 manageView.paddingTop, manageView.paddingRight, manageView.paddingBottom) in show()
DStackEducationView.kt144 setPadding(positioner.bubbleSize + stackPadding, paddingTop, paddingRight, in show()
DBubbleExpandedView.java948 final float paddingRight = (showVertically && !onLeft) in setPointerPosition() local
954 setPadding((int) paddingLeft, (int) paddingTop, (int) paddingRight, 0); in setPointerPosition()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/models/player/
DSeekBarObserver.kt169 val rightPadding = holder.seekBar.paddingRight in setVerticalPadding()
DSeekBarViewModel.kt432 val padR = bar.paddingRight in onDown()
/frameworks/base/core/java/android/widget/
DSwitch.java1029 int paddingRight = padding.right; in onMeasure() local
1033 paddingRight = Math.max(paddingRight, inset.right); in onMeasure()
1037 2 * mThumbWidth + paddingLeft + paddingRight); in onMeasure()
DSimpleMonthView.java896 final int paddingRight = getPaddingRight(); in onLayout() local
898 final int paddedRight = w - paddingRight; in onLayout()
922 final int maxSelectorWidth = cellWidth / 2 + Math.min(paddingLeft, paddingRight); in onLayout()
DToolbar.java1825 final int paddingRight = getPaddingRight(); in onLayout() local
1829 int right = width - paddingRight; in onLayout()
1871 collapsingMargins[1] = Math.max(0, contentInsetRight - (width - paddingRight - right)); in onLayout()
1873 right = Math.min(right, width - paddingRight - contentInsetRight); in onLayout()
2019 final int parentCenter = paddingLeft + (width - paddingLeft - paddingRight) / 2; in onLayout()
DGridLayout.java1154 int paddingRight = getPaddingRight(); in onLayout() local
1157 mHorizontalAxis.layout(targetWidth - paddingLeft - paddingRight); in onLayout()
1213 targetWidth - width - paddingRight - rightMargin - dx; in onLayout()
/frameworks/base/core/java/com/android/internal/widget/
DViewPager.java1507 int paddingRight = getPaddingRight();
1537 childLeft = width - paddingRight - child.getMeasuredWidth();
1538 paddingRight += child.getMeasuredWidth();
1567 final int childWidth = width - paddingLeft - paddingRight;
1602 childLeft = MAX_SCROLL_X - paddingRight - startOffset - childMeasuredWidth;
1702 int paddingRight = getPaddingRight();
1725 childLeft = width - paddingRight - child.getMeasuredWidth();
1726 paddingRight += child.getMeasuredWidth();
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/
DShadeHeaderController.kt238 header.paddingRight, in <lambda>()
360 (view.width - view.paddingLeft - view.paddingRight - topCutout.width()) / 2 in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/
DMediaHost.kt58 var right = tmpLocationOnScreen[0] + hostView.width - hostView.paddingRight in <lambda>()
/frameworks/base/media/java/android/media/
DWebVttRenderer.java1434 final int paddingRight = 100 * getPaddingRight() / viewportWidth; in layoutCue() local
1439 final float rightEdge = 100 - paddingRight; in layoutCue()
1441 size -= paddingRight; in layoutCue()
/frameworks/base/core/java/com/android/internal/app/
DAlertController.java1004 final int paddingRight = getPaddingRight(); in setHasDecor() local
1006 setPadding(paddingLeft, paddingTop, paddingRight, paddingBottom); in setHasDecor()
/frameworks/base/tools/aapt2/
Dreadme.md48 Ex: `android:paddingHorizontal` degrades to `android:paddingLeft` and `android:paddingRight`.

12