Home
last modified time | relevance | path

Searched refs:mPaddingRight (Results 1 – 25 of 40) sorted by relevance

12

/frameworks/base/core/tests/coretests/src/android/widget/
DLabelView.java82 mPaddingRight = 3; in initLabelView()
141 + mPaddingRight; in measureWidth()
/frameworks/base/core/java/android/widget/
DHorizontalScrollView.java226 final int rightEdge = getWidth() - mPaddingRight; in getRightFadingEdgeStrength()
369 return getWidth() < childWidth + mPaddingLeft + mPaddingRight ; in canScroll()
438 widthPadding = mPaddingLeft + mPaddingRight + lp.leftMargin + lp.rightMargin; in onMeasure()
441 widthPadding = mPaddingLeft + mPaddingRight; in onMeasure()
903 final int viewportWidth = getWidth() - mPaddingLeft - mPaddingRight; in performAccessibilityActionInternal()
915 final int viewportWidth = getWidth() - mPaddingLeft - mPaddingRight; in performAccessibilityActionInternal()
965 child.getWidth() - (getWidth() - mPaddingLeft - mPaddingRight)); in getScrollRange()
1300 final int width = getWidth() - mPaddingRight - mPaddingLeft; in smoothScrollBy()
1334 final int contentWidth = getWidth() - mPaddingLeft - mPaddingRight; in computeHorizontalScrollRange()
1361 final int horizontalPadding = mPaddingLeft + mPaddingRight; in measureChild()
[all …]
DAbsSeekBar.java692 final int trackWidth = w - mPaddingRight - mPaddingLeft;
718 int available = w - mPaddingLeft - mPaddingRight;
845 final float spacing = (getWidth() - mPaddingLeft - mPaddingRight) / (float) count;
884 dw += mPaddingLeft + mPaddingRight;
900 final int availableWidth = getWidth() - mPaddingLeft - mPaddingRight;
979 final int availableWidth = width - mPaddingLeft - mPaddingRight;
984 if (x > width - mPaddingRight) {
996 } else if (x > width - mPaddingRight) {
DGallery.java488 return (getWidth() - mPaddingLeft - mPaddingRight) / 2 + mPaddingLeft; in getCenterOfGallery()
528 final int galleryRight = getWidth() - mPaddingRight; in detachOffScreenChildren()
738 curRightEdge = mRight - mLeft - mPaddingRight; in fillToGalleryLeftRtl()
767 curRightEdge = mRight - mLeft - mPaddingRight; in fillToGalleryLeftLtr()
795 int galleryRight = mRight - mLeft - mPaddingRight; in fillToGalleryRightRtl()
826 int galleryRight = mRight - mLeft - mPaddingRight; in fillToGalleryRightLtr()
1551 delta = Math.min(getWidth() - mPaddingLeft - mPaddingRight - 1, delta);
1559 delta = Math.max(-(getWidth() - mPaddingRight - mPaddingLeft - 1), delta);
DCheckedTextView.java399 mNeedRequestlayout |= (mPaddingRight != newPadding); in updatePadding()
400 mPaddingRight = newPadding; in updatePadding()
412 mBasePadding = mPaddingRight; in setBasePadding()
DScrollView.java470 widthPadding = mPaddingLeft + mPaddingRight + lp.leftMargin + lp.rightMargin; in onMeasure()
473 widthPadding = mPaddingLeft + mPaddingRight; in onMeasure()
1391 + mPaddingRight, lp.width); in measureChild()
1406 mPaddingLeft + mPaddingRight + lp.leftMargin + lp.rightMargin in measureChildWithMargins()
1784 x = clamp(x, getWidth() - mPaddingRight - mPaddingLeft, child.getWidth()); in scrollTo()
1846 width = getWidth() - mPaddingLeft - mPaddingRight; in draw()
1870 width = getWidth() - mPaddingLeft - mPaddingRight; in draw()
DRelativeLayout.java559 width += mPaddingRight; in onMeasure()
578 params.mLeft = width - mPaddingRight - childWidth; in onMeasure()
618 selfBounds.set(mPaddingLeft, mPaddingTop, width - mPaddingRight, in onMeasure()
688 mPaddingLeft, mPaddingRight, in measureChild()
701 params.width, params.leftMargin, params.rightMargin, mPaddingLeft, mPaddingRight, in measureChildHorizontal()
869 params.mRight = myWidth - mPaddingRight - params.rightMargin; in positionAtEdge()
924 childParams.mRight = myWidth - mPaddingRight - childParams.rightMargin; in applyHorizontalSizeRules()
948 childParams.mRight = myWidth - mPaddingRight - childParams.rightMargin; in applyHorizontalSizeRules()
958 childParams.mRight = myWidth - mPaddingRight - childParams.rightMargin; in applyHorizontalSizeRules()
DAbsSpinner.java187 mSpinnerPadding.right = mPaddingRight > mSelectionRightPadding ? mPaddingRight in onMeasure()
DAdapterViewAnimator.java685 final int childWidth = getMeasuredWidth() - mPaddingLeft - mPaddingRight; in measureChildren()
723 mPaddingRight : 0; in onMeasure()
726 int width = mReferenceChildWidth + mPaddingLeft + mPaddingRight; in onMeasure()
DFrameLayout.java164 return isForegroundInsidePadding() ? Math.max(mPaddingRight, mForegroundPaddingRight) : in getPaddingRightWithForeground()
165 mPaddingRight + mForegroundPaddingRight; in getPaddingRightWithForeground()
DAbsoluteLayout.java88 maxWidth += mPaddingLeft + mPaddingRight; in onMeasure()
DExpandableListView.java374 scrollX + mRight - mLeft - mPaddingRight, in dispatchDraw()
440 indicatorRect.left -= mPaddingRight; in dispatchDraw()
441 indicatorRect.right -= mPaddingRight; in dispatchDraw()
DImageView.java1158 final int pright = mPaddingRight; in onMeasure()
1279 final int vwidth = getWidth() - mPaddingLeft - mPaddingRight; in configureBounds()
1391 final int vwidth = getWidth() - mPaddingLeft - mPaddingRight; in animateTransform()
1427 scrollX + mRight - mLeft - mPaddingRight, in onDraw()
DLinearLayout.java993 mPaddingLeft + mPaddingRight + lp.leftMargin + lp.rightMargin, in measureVertical()
1055 maxWidth += mPaddingLeft + mPaddingRight; in measureVertical()
1325 mTotalLength += mPaddingLeft + mPaddingRight; in measureHorizontal()
1427 mTotalLength += mPaddingLeft + mPaddingRight; in measureHorizontal()
1608 int childRight = width - mPaddingRight; in layoutVertical()
1611 int childSpace = width - paddingLeft - mPaddingRight; in layoutVertical()
DStackView.java1143 - mPaddingLeft - mPaddingRight;
1215 mPaddingLeft + mPaddingRight : 0;
1218 int width = mReferenceChildWidth + mPaddingLeft + mPaddingRight;
/frameworks/base/core/tests/coretests/src/android/util/
DInternalSelectionView.java112 int desiredWidth = 300 + mPaddingLeft + mPaddingRight; in measureWidth()
145 int rectRight = getWidth() - mPaddingRight; in onDraw()
198 getWidth() - mPaddingRight, in getRectForRow()
/frameworks/base/core/java/android/app/
DFragmentBreadCrumbs.java217 childRight = mRight - mLeft - mPaddingRight; in onLayout()
237 if (childRight > mRight - mLeft - mPaddingRight) { in onLayout()
238 childRight = mRight - mLeft - mPaddingRight; in onLayout()
265 maxWidth += mPaddingLeft + mPaddingRight; in onMeasure()
/frameworks/base/core/java/com/android/internal/widget/
DMessagingLinearLayout.java80 int measuredWidth = mPaddingLeft + mPaddingRight; in onMeasure()
128 + mPaddingLeft + mPaddingRight); in onMeasure()
153 final int childRight = width - mPaddingRight; in onLayout()
DNotificationActionListLayout.java116 final int innerWidth = MeasureSpec.getSize(widthMeasureSpec) - mPaddingLeft - mPaddingRight; in onMeasure()
154 mTotalWidth = usedWidth + mPaddingRight + mPaddingLeft; in onMeasure()
DAlertDialogLayout.java279 final int childRight = width - mPaddingRight; in onLayout()
282 final int childSpace = width - paddingLeft - mPaddingRight; in onLayout()
DWatchListDecorLayout.java270 return isForegroundInsidePadding() ? Math.max(mPaddingRight, mForegroundPaddingRight) : in getPaddingRightWithForeground()
271 mPaddingRight + mForegroundPaddingRight; in getPaddingRightWithForeground()
DSubtitleView.java226 final int paddingX = mPaddingLeft + mPaddingRight + mInnerPaddingX * 2; in onMeasure()
248 final int paddingX = mPaddingLeft + mPaddingRight + mInnerPaddingX * 2; in computeMeasurements()
/frameworks/base/graphics/java/android/graphics/drawable/
DLayerDrawable.java323 state.mPaddingRight = a.getDimensionPixelOffset(attr, state.mPaddingRight); in updateStateFromTypedArray()
1046 final int paddingR = paddingRtlR >= 0 ? paddingRtlR : layerState.mPaddingRight; in getPadding()
1094 layerState.mPaddingRight = right; in setPadding()
1132 layerState.mPaddingRight = -1; in setPaddingRelative()
1164 return mLayerState.mPaddingRight; in getRightPadding()
1943 int mPaddingRight = -1;
1990 mPaddingRight = orig.mPaddingRight;
2026 if (mPaddingRight > 0) {
2027 mPaddingRight = Drawable.scaleFromDensity(
2028 mPaddingRight, sourceDensity, targetDensity, false);
/frameworks/layoutlib/studio-custom-widgets/src/com/android/tools/idea/editors/theme/widgets/
DThemePreviewLayout.java100 int wSize = MeasureSpec.getSize(widthMeasureSpec) - mPaddingLeft - mPaddingRight; in onMeasure()
159 mPaddingRight + mPaddingLeft; in onMeasure()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/
DPrintOptionsLayout.java59 ? (widthSize - mPaddingLeft - mPaddingRight) / mColumnCount : 0; in onMeasure()

12