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()
DInternalSelectionView.java113 int desiredWidth = 300 + mPaddingLeft + mPaddingRight; in measureWidth()
146 int rectRight = getWidth() - mPaddingRight; in onDraw()
199 getWidth() - mPaddingRight, in getRectForRow()
/frameworks/base/core/java/android/widget/
DHorizontalScrollView.java243 final int rightEdge = getWidth() - mPaddingRight; in getRightFadingEdgeStrength()
386 return getWidth() < childWidth + mPaddingLeft + mPaddingRight ; in canScroll()
455 widthPadding = mPaddingLeft + mPaddingRight + lp.leftMargin + lp.rightMargin; in onMeasure()
458 widthPadding = mPaddingLeft + mPaddingRight; in onMeasure()
963 final int viewportWidth = getWidth() - mPaddingLeft - mPaddingRight; in performAccessibilityActionInternal()
975 final int viewportWidth = getWidth() - mPaddingLeft - mPaddingRight; in performAccessibilityActionInternal()
1023 child.getWidth() - (getWidth() - mPaddingLeft - mPaddingRight)); in getScrollRange()
1358 final int width = getWidth() - mPaddingRight - mPaddingLeft; in smoothScrollBy()
1392 final int contentWidth = getWidth() - mPaddingLeft - mPaddingRight; in computeHorizontalScrollRange()
1419 final int horizontalPadding = mPaddingLeft + mPaddingRight; in measureChild()
[all …]
DAbsSeekBar.java694 final int trackWidth = w - mPaddingRight - mPaddingLeft;
720 int available = w - mPaddingLeft - mPaddingRight;
853 final float spacing = (getWidth() - mPaddingLeft - mPaddingRight) / (float) count;
892 dw += mPaddingLeft + mPaddingRight;
908 final int availableWidth = getWidth() - mPaddingLeft - mPaddingRight;
987 final int availableWidth = width - mPaddingLeft - mPaddingRight;
992 if (x > width - mPaddingRight) {
1004 } else if (x > width - mPaddingRight) {
DGallery.java489 return (getWidth() - mPaddingLeft - mPaddingRight) / 2 + mPaddingLeft; in getCenterOfGallery()
529 final int galleryRight = getWidth() - mPaddingRight; in detachOffScreenChildren()
739 curRightEdge = mRight - mLeft - mPaddingRight; in fillToGalleryLeftRtl()
768 curRightEdge = mRight - mLeft - mPaddingRight; in fillToGalleryLeftLtr()
796 int galleryRight = mRight - mLeft - mPaddingRight; in fillToGalleryRightRtl()
827 int galleryRight = mRight - mLeft - mPaddingRight; in fillToGalleryRightLtr()
1552 delta = Math.min(getWidth() - mPaddingLeft - mPaddingRight - 1, delta);
1560 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()
DRelativeLayout.java560 width += mPaddingRight; in onMeasure()
579 params.mLeft = width - mPaddingRight - childWidth; in onMeasure()
619 selfBounds.set(mPaddingLeft, mPaddingTop, width - mPaddingRight, in onMeasure()
689 mPaddingLeft, mPaddingRight, in measureChild()
702 params.width, params.leftMargin, params.rightMargin, mPaddingLeft, mPaddingRight, in measureChildHorizontal()
870 params.mRight = myWidth - mPaddingRight - params.rightMargin; in positionAtEdge()
925 childParams.mRight = myWidth - mPaddingRight - childParams.rightMargin; in applyHorizontalSizeRules()
949 childParams.mRight = myWidth - mPaddingRight - childParams.rightMargin; in applyHorizontalSizeRules()
959 childParams.mRight = myWidth - mPaddingRight - childParams.rightMargin; in applyHorizontalSizeRules()
DScrollView.java492 widthPadding = mPaddingLeft + mPaddingRight + lp.leftMargin + lp.rightMargin; in onMeasure()
495 widthPadding = mPaddingLeft + mPaddingRight; in onMeasure()
1510 + mPaddingRight, lp.width); in measureChild()
1525 mPaddingLeft + mPaddingRight + lp.leftMargin + lp.rightMargin in measureChildWithMargins()
1985 x = clamp(x, getWidth() - mPaddingRight - mPaddingLeft, child.getWidth()); in scrollTo()
2047 width = getWidth() - mPaddingLeft - mPaddingRight; in draw()
2071 width = getWidth() - mPaddingLeft - mPaddingRight; in draw()
DAbsSpinner.java187 mSpinnerPadding.right = mPaddingRight > mSelectionRightPadding ? mPaddingRight in onMeasure()
DAbsoluteLayout.java88 maxWidth += mPaddingLeft + mPaddingRight; in onMeasure()
DFrameLayout.java164 return isForegroundInsidePadding() ? Math.max(mPaddingRight, mForegroundPaddingRight) : in getPaddingRightWithForeground()
165 mPaddingRight + mForegroundPaddingRight; in getPaddingRightWithForeground()
DAdapterViewAnimator.java690 final int childWidth = getMeasuredWidth() - mPaddingLeft - mPaddingRight; in measureChildren()
728 mPaddingRight : 0; in onMeasure()
731 int width = mReferenceChildWidth + mPaddingLeft + mPaddingRight; in onMeasure()
DExpandableListView.java376 scrollX + mRight - mLeft - mPaddingRight, in dispatchDraw()
442 indicatorRect.left -= mPaddingRight; in dispatchDraw()
443 indicatorRect.right -= mPaddingRight; in dispatchDraw()
DImageView.java1168 final int pright = mPaddingRight; in onMeasure()
1289 final int vwidth = getWidth() - mPaddingLeft - mPaddingRight; in configureBounds()
1401 final int vwidth = getWidth() - mPaddingLeft - mPaddingRight; in animateTransform()
1437 scrollX + mRight - mLeft - mPaddingRight, in onDraw()
DLinearLayout.java1029 mPaddingLeft + mPaddingRight + lp.leftMargin + lp.rightMargin, in measureVertical()
1091 maxWidth += mPaddingLeft + mPaddingRight; in measureVertical()
1371 mTotalLength += mPaddingLeft + mPaddingRight; in measureHorizontal()
1483 mTotalLength += mPaddingLeft + mPaddingRight; in measureHorizontal()
1664 int childRight = width - mPaddingRight; in layoutVertical()
1667 int childSpace = width - paddingLeft - mPaddingRight; in layoutVertical()
/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.java90 int measuredWidth = mPaddingLeft + mPaddingRight; in onMeasure()
169 + mPaddingLeft + mPaddingRight); in onMeasure()
207 final int childRight = width - mPaddingRight; in onLayout()
DNotificationOptimizedLinearLayout.java421 mPaddingLeft + mPaddingRight + lp.leftMargin + lp.rightMargin, lp.width); in measureVerticalOptimized()
476 int childRight = width - mPaddingRight; in layoutVerticalOptimized()
479 int childSpace = width - paddingLeft - mPaddingRight; in layoutVerticalOptimized()
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.java227 final int paddingX = mPaddingLeft + mPaddingRight + mInnerPaddingX * 2; in onMeasure()
249 final int paddingX = mPaddingLeft + mPaddingRight + mInnerPaddingX * 2; in computeMeasurements()
DNotificationActionListLayout.java250 final int innerWidth = MeasureSpec.getSize(widthMeasureSpec) - mPaddingLeft - mPaddingRight; in onMeasure()
263 mTotalWidth = usedWidth + mPaddingRight + mPaddingLeft + mExtraStartPadding; in onMeasure()
/frameworks/base/graphics/java/android/graphics/drawable/
DLayerDrawable.java324 state.mPaddingRight = a.getDimensionPixelOffset(attr, state.mPaddingRight); in updateStateFromTypedArray()
1047 final int paddingR = paddingRtlR >= 0 ? paddingRtlR : layerState.mPaddingRight; in getPadding()
1095 layerState.mPaddingRight = right; in setPadding()
1133 layerState.mPaddingRight = -1; in setPaddingRelative()
1165 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/base/packages/PrintSpooler/src/com/android/printspooler/widget/
DPrintOptionsLayout.java59 ? (widthSize - mPaddingLeft - mPaddingRight) / mColumnCount : 0; in onMeasure()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSContainerImpl.java119 int padding = mPaddingLeft + mPaddingRight + layoutParams.leftMargin in onMeasure()

12