Home
last modified time | relevance | path

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

12

/frameworks/base/tools/aapt2/link/
DXmlCompatVersioner_test.cpp31 paddingRight = 0x010100d8u, // (API 1) enumerator
52 .AddPublicSymbol("android:attr/paddingRight", R::attr::paddingRight, in SetUp()
124 ReplacementAttr{"paddingRight", R::attr::paddingRight,
149 attr = el->FindAttribute(xml::kSchemaAndroid, "paddingRight");
167 attr = el->FindAttribute(xml::kSchemaAndroid, "paddingRight");
185 ReplacementAttr{"paddingRight", R::attr::paddingRight,
211 attr = el->FindAttribute(xml::kSchemaAndroid, "paddingRight");
222 EXPECT_EQ(nullptr, el->FindAttribute(xml::kSchemaAndroid, "paddingRight"));
234 EXPECT_EQ(nullptr, el->FindAttribute(xml::kSchemaAndroid, "paddingRight"));
252 android:paddingRight="16dp"/>)EOF");
[all …]
/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.cpp171 assert(outPatch->paddingRight == inPatch->paddingRight); in checkNinePatchSerialization()
999 image->info9Patch.paddingLeft = image->info9Patch.paddingRight = -1; in do9Patch()
1051 &image->info9Patch.paddingRight, &errorMsg, nullptr, in do9Patch()
1095 image->info9Patch.paddingRight = W - 2 - xDivs[1]; in do9Patch()
1098 image->info9Patch.paddingRight = W - 2 - image->info9Patch.paddingRight; in do9Patch()
DNinePatch.cpp614 data.paddingRight = padding.right; in SerializeBase()
/frameworks/support/core-ui/java/android/support/v4/view/
DPagerTitleStrip.java344 final int paddingRight = getPaddingRight(); in updateTextPositions() local
348 final int textPaddedRight = paddingRight + halfCurrWidth; in updateTextPositions()
406 final int nextLeft = Math.max(stripWidth - paddingRight - nextWidth, in updateTextPositions()
DViewPager.java1679 int paddingRight = getPaddingRight();
1709 childLeft = width - paddingRight - child.getMeasuredWidth();
1710 paddingRight += child.getMeasuredWidth();
1739 final int childWidth = width - paddingLeft - paddingRight;
1860 int paddingRight = getPaddingRight();
1883 childLeft = width - paddingRight - child.getMeasuredWidth();
1884 paddingRight += child.getMeasuredWidth();
/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/support/v7/appcompat/src/android/support/v7/widget/
DSwitchCompat.java840 int paddingRight = padding.right; in onMeasure() local
844 paddingRight = Math.max(paddingRight, inset.right); in onMeasure()
848 2 * mThumbWidth + paddingLeft + paddingRight); in onMeasure()
DToolbar.java1707 final int paddingRight = getPaddingRight(); in onLayout() local
1711 int right = width - paddingRight; in onLayout()
1753 collapsingMargins[1] = Math.max(0, contentInsetRight - (width - paddingRight - right)); in onLayout()
1755 right = Math.min(right, width - paddingRight - contentInsetRight); in onLayout()
1901 final int parentCenter = paddingLeft + (width - paddingLeft - paddingRight) / 2; in onLayout()
DListViewCompat.java279 final int paddingRight = getListPaddingRight(); in measureHeightOfChildrenCompat() local
/frameworks/base/core/jni/android/graphics/
DBitmapFactory.cpp126 chunk->paddingRight = int(chunk->paddingRight * scale + 0.5f); in scaleNinePatchChunk()
557 peeker.mPatch->paddingRight, peeker.mPatch->paddingBottom); in doDecode()
/frameworks/base/core/java/android/widget/
DSwitch.java858 int paddingRight = padding.right; in onMeasure() local
862 paddingRight = Math.max(paddingRight, inset.right); in onMeasure()
866 2 * mThumbWidth + paddingLeft + paddingRight); in onMeasure()
DSimpleMonthView.java890 final int paddingRight = getPaddingRight(); in onLayout() local
892 final int paddedRight = w - paddingRight; in onLayout()
916 final int maxSelectorWidth = cellWidth / 2 + Math.min(paddingLeft, paddingRight); in onLayout()
DToolbar.java1703 final int paddingRight = getPaddingRight(); in onLayout() local
1707 int right = width - paddingRight; in onLayout()
1749 collapsingMargins[1] = Math.max(0, contentInsetRight - (width - paddingRight - right)); in onLayout()
1751 right = Math.min(right, width - paddingRight - contentInsetRight); in onLayout()
1897 final int parentCenter = paddingLeft + (width - paddingLeft - paddingRight) / 2; in onLayout()
DGridLayout.java1125 int paddingRight = getPaddingRight(); in onLayout() local
1128 mHorizontalAxis.layout(targetWidth - paddingLeft - paddingRight); in onLayout()
1184 targetWidth - width - paddingRight - rightMargin - dx; in onLayout()
/frameworks/base/core/java/com/android/internal/widget/
DViewPager.java1499 int paddingRight = getPaddingRight();
1529 childLeft = width - paddingRight - child.getMeasuredWidth();
1530 paddingRight += child.getMeasuredWidth();
1559 final int childWidth = width - paddingLeft - paddingRight;
1594 childLeft = MAX_SCROLL_X - paddingRight - startOffset - childMeasuredWidth;
1694 int paddingRight = getPaddingRight();
1717 childLeft = width - paddingRight - child.getMeasuredWidth();
1718 paddingRight += child.getMeasuredWidth();
DActionBarView.java921 final int paddingRight = getPaddingRight(); in onMeasure() local
926 int availableWidth = contentWidth - paddingLeft - paddingRight; in onMeasure()
/frameworks/support/v7/appcompat/src/android/support/v7/app/
DAlertController.java839 final int paddingRight = getPaddingRight(); in setHasDecor() local
841 setPadding(paddingLeft, paddingTop, paddingRight, paddingBottom); in setHasDecor()
/frameworks/base/media/java/android/media/
DWebVttRenderer.java1432 final int paddingRight = 100 * getPaddingRight() / viewportWidth; in layoutCue() local
1437 final float rightEdge = 100 - paddingRight; in layoutCue()
1439 size -= paddingRight; in layoutCue()
/frameworks/base/core/java/com/android/internal/app/
DAlertController.java927 final int paddingRight = getPaddingRight(); in setHasDecor() local
929 setPadding(paddingLeft, paddingTop, paddingRight, paddingBottom); in setHasDecor()
/frameworks/base/tools/aapt2/
Dreadme.md12 Ex: `android:paddingHorizontal` degrades to `android:paddingLeft` and `android:paddingRight`.
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/
DGridLayout.java1021 int paddingRight = getPaddingRight(); in onLayout() local
1024 mHorizontalAxis.layout(targetWidth - paddingLeft - paddingRight); in onLayout()
1080 targetWidth - width - paddingRight - rightMargin - dx; in onLayout()
/frameworks/support/design/src/android/support/design/widget/
DCoordinatorLayout.java725 final int paddingRight = getPaddingRight(); in onMeasure() local
734 final int widthPadding = paddingLeft + paddingRight; in onMeasure()
760 keylineWidthUsed = Math.max(0, widthSize - paddingRight - keylinePos); in onMeasure()
/frameworks/base/libs/androidfw/include/androidfw/
DResourceTypes.h135 int32_t paddingLeft, paddingRight; member
/frameworks/base/tools/aapt2/cmd/
DLink.cpp315 paddingRight = 0x010100d8u, enumerator
380 {"paddingRight", R::attr::paddingRight, in ResourceFileFlattener()

12