Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/
DLoadAverageService.java198 int paddingRight = getPaddingRight(); in onDraw() local
199 int x = RIGHT - paddingRight; in onDraw()
217 canvas.drawText(stats.mLoadText, RIGHT-paddingRight-stats.mLoadWidth-1, in onDraw()
219 canvas.drawText(stats.mLoadText, RIGHT-paddingRight-stats.mLoadWidth-1, in onDraw()
221 canvas.drawText(stats.mLoadText, RIGHT-paddingRight-stats.mLoadWidth+1, in onDraw()
223 canvas.drawText(stats.mLoadText, RIGHT-paddingRight-stats.mLoadWidth+1, in onDraw()
225 canvas.drawText(stats.mLoadText, RIGHT-paddingRight-stats.mLoadWidth, in onDraw()
237 x = RIGHT - paddingRight; in onDraw()
247 canvas.drawText(st.name, RIGHT-paddingRight-st.nameWidth-1, in onDraw()
249 canvas.drawText(st.name, RIGHT-paddingRight-st.nameWidth-1, in onDraw()
[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/
DPng.cpp166 assert(outPatch->paddingRight == inPatch->paddingRight); in checkNinePatchSerialization()
965 image->info9Patch.paddingLeft = image->info9Patch.paddingRight = -1; in do9Patch()
1016 &image->info9Patch.paddingLeft, &image->info9Patch.paddingRight, in do9Patch()
1057 image->info9Patch.paddingRight = W - 2 - xDivs[1]; in do9Patch()
1060 image->info9Patch.paddingRight = W - 2 - image->info9Patch.paddingRight; in do9Patch()
/frameworks/support/v4/java/android/support/v4/view/
DPagerTitleStrip.java352 final int paddingRight = getPaddingRight(); in updateTextPositions() local
356 final int textPaddedRight = paddingRight + halfCurrWidth; in updateTextPositions()
414 final int nextLeft = Math.max(stripWidth - paddingRight - nextWidth, in updateTextPositions()
DViewPager.java1541 int paddingRight = getPaddingRight();
1571 childLeft = width - paddingRight - child.getMeasuredWidth();
1572 paddingRight += child.getMeasuredWidth();
1601 final int childWidth = width - paddingLeft - paddingRight;
1714 int paddingRight = getPaddingRight();
1737 childLeft = width - paddingRight - child.getMeasuredWidth();
1738 paddingRight += child.getMeasuredWidth();
/frameworks/base/core/jni/android/graphics/
DBitmapFactory.cpp114 chunk->paddingRight = int(chunk->paddingRight * scale + 0.5f); in scaleNinePatchChunk()
412 peeker.mPatch->paddingRight, peeker.mPatch->paddingBottom); in doDecode()
/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.java569 int paddingRight = padding.right; in onMeasure() local
573 paddingRight = Math.max(paddingRight, inset.right); in onMeasure()
577 2 * mThumbWidth + paddingLeft + paddingRight); in onMeasure()
DToolbar.java1388 final int paddingRight = getPaddingRight(); in onLayout() local
1392 int right = width - paddingRight; in onLayout()
1431 collapsingMargins[1] = Math.max(0, getContentInsetRight() - (width - paddingRight - right)); in onLayout()
1433 right = Math.min(right, width - paddingRight - getContentInsetRight()); in onLayout()
1579 final int parentCenter = paddingLeft + (width - paddingLeft - paddingRight) / 2; in onLayout()
/frameworks/base/core/java/android/widget/
DSwitch.java854 int paddingRight = padding.right; in onMeasure() local
858 paddingRight = Math.max(paddingRight, inset.right); in onMeasure()
862 2 * mThumbWidth + paddingLeft + paddingRight); in onMeasure()
DSimpleMonthView.java633 final int paddingRight = getPaddingRight(); in onLayout() local
635 final int paddedRight = w - paddingRight; in onLayout()
659 final int maxSelectorWidth = cellWidth / 2 + Math.min(paddingLeft, paddingRight); in onLayout()
DToolbar.java1368 final int paddingRight = getPaddingRight(); in onLayout() local
1372 int right = width - paddingRight; in onLayout()
1411 collapsingMargins[1] = Math.max(0, getContentInsetRight() - (width - paddingRight - right)); in onLayout()
1413 right = Math.min(right, width - paddingRight - getContentInsetRight()); in onLayout()
1559 final int parentCenter = paddingLeft + (width - paddingLeft - paddingRight) / 2; in onLayout()
DGridLayout.java1109 int paddingRight = getPaddingRight(); in onLayout() local
1112 mHorizontalAxis.layout(targetWidth - paddingLeft - paddingRight); in onLayout()
1168 targetWidth - width - paddingRight - rightMargin - dx; in onLayout()
/frameworks/base/core/java/com/android/internal/widget/
DViewPager.java1510 int paddingRight = getPaddingRight();
1540 childLeft = width - paddingRight - child.getMeasuredWidth();
1541 paddingRight += child.getMeasuredWidth();
1570 final int childWidth = width - paddingLeft - paddingRight;
1605 childLeft = MAX_SCROLL_X - paddingRight - startOffset - childMeasuredWidth;
1705 int paddingRight = getPaddingRight();
1728 childLeft = width - paddingRight - child.getMeasuredWidth();
1729 paddingRight += child.getMeasuredWidth();
DActionBarView.java919 final int paddingRight = getPaddingRight(); in onMeasure() local
924 int availableWidth = contentWidth - paddingLeft - paddingRight; in onMeasure()
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
DListViewCompat.java262 final int paddingRight = getListPaddingRight(); in measureHeightOfChildrenCompat() local
/frameworks/base/docs/html/guide/topics/ui/layout/
Dlinear.jd88 android:paddingRight="16dp"
Drelative.jd88 android:paddingRight="16dp" >
/frameworks/base/graphics/java/android/graphics/drawable/
DLayerDrawable.java960 final int paddingRight = paddingRtlRight >= 0 ? paddingRtlRight : layerState.mPaddingRight; in getPadding() local
961 if (paddingRight >= 0) { in getPadding()
962 padding.right = paddingRight; in getPadding()
/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/support/design/src/android/support/design/widget/
DCoordinatorLayout.java618 final int paddingRight = getPaddingRight(); in onMeasure() local
627 final int widthPadding = paddingLeft + paddingRight; in onMeasure()
648 keylineWidthUsed = Math.max(0, widthSize - paddingRight - keylinePos); in onMeasure()
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/
DGridLayout.java1009 int paddingRight = getPaddingRight(); in onLayout() local
1012 mHorizontalAxis.layout(targetWidth - paddingLeft - paddingRight); in onLayout()
1068 targetWidth - width - paddingRight - rightMargin - dx; in onLayout()
/frameworks/base/include/androidfw/
DResourceTypes.h133 int32_t paddingLeft, paddingRight; member
/frameworks/base/libs/androidfw/
DResourceTypes.cpp160 paddingRight = htonl(paddingRight); in deviceToFile()
180 paddingRight = ntohl(paddingRight); in fileToDevice()
/frameworks/base/api/
Dcurrent.txt886 field public static final int paddingRight = 16842968; // 0x10100d8

12