/frameworks/base/core/tests/coretests/src/android/widget/ |
D | LabelView.java | 82 mPaddingRight = 3; in initLabelView() 141 + mPaddingRight; in measureWidth()
|
/frameworks/base/core/java/android/widget/ |
D | HorizontalScrollView.java | 226 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 …]
|
D | AbsSeekBar.java | 692 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) {
|
D | Gallery.java | 488 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);
|
D | CheckedTextView.java | 399 mNeedRequestlayout |= (mPaddingRight != newPadding); in updatePadding() 400 mPaddingRight = newPadding; in updatePadding() 412 mBasePadding = mPaddingRight; in setBasePadding()
|
D | ScrollView.java | 470 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()
|
D | RelativeLayout.java | 559 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()
|
D | AbsSpinner.java | 187 mSpinnerPadding.right = mPaddingRight > mSelectionRightPadding ? mPaddingRight in onMeasure()
|
D | AdapterViewAnimator.java | 685 final int childWidth = getMeasuredWidth() - mPaddingLeft - mPaddingRight; in measureChildren() 723 mPaddingRight : 0; in onMeasure() 726 int width = mReferenceChildWidth + mPaddingLeft + mPaddingRight; in onMeasure()
|
D | FrameLayout.java | 164 return isForegroundInsidePadding() ? Math.max(mPaddingRight, mForegroundPaddingRight) : in getPaddingRightWithForeground() 165 mPaddingRight + mForegroundPaddingRight; in getPaddingRightWithForeground()
|
D | AbsoluteLayout.java | 88 maxWidth += mPaddingLeft + mPaddingRight; in onMeasure()
|
D | ExpandableListView.java | 374 scrollX + mRight - mLeft - mPaddingRight, in dispatchDraw() 440 indicatorRect.left -= mPaddingRight; in dispatchDraw() 441 indicatorRect.right -= mPaddingRight; in dispatchDraw()
|
D | ImageView.java | 1158 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()
|
D | LinearLayout.java | 993 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()
|
D | StackView.java | 1143 - mPaddingLeft - mPaddingRight; 1215 mPaddingLeft + mPaddingRight : 0; 1218 int width = mReferenceChildWidth + mPaddingLeft + mPaddingRight;
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | InternalSelectionView.java | 112 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/ |
D | FragmentBreadCrumbs.java | 217 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/ |
D | MessagingLinearLayout.java | 80 int measuredWidth = mPaddingLeft + mPaddingRight; in onMeasure() 128 + mPaddingLeft + mPaddingRight); in onMeasure() 153 final int childRight = width - mPaddingRight; in onLayout()
|
D | NotificationActionListLayout.java | 116 final int innerWidth = MeasureSpec.getSize(widthMeasureSpec) - mPaddingLeft - mPaddingRight; in onMeasure() 154 mTotalWidth = usedWidth + mPaddingRight + mPaddingLeft; in onMeasure()
|
D | AlertDialogLayout.java | 279 final int childRight = width - mPaddingRight; in onLayout() 282 final int childSpace = width - paddingLeft - mPaddingRight; in onLayout()
|
D | WatchListDecorLayout.java | 270 return isForegroundInsidePadding() ? Math.max(mPaddingRight, mForegroundPaddingRight) : in getPaddingRightWithForeground() 271 mPaddingRight + mForegroundPaddingRight; in getPaddingRightWithForeground()
|
D | SubtitleView.java | 226 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/ |
D | LayerDrawable.java | 323 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/ |
D | ThemePreviewLayout.java | 100 int wSize = MeasureSpec.getSize(widthMeasureSpec) - mPaddingLeft - mPaddingRight; in onMeasure() 159 mPaddingRight + mPaddingLeft; in onMeasure()
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/ |
D | PrintOptionsLayout.java | 59 ? (widthSize - mPaddingLeft - mPaddingRight) / mColumnCount : 0; in onMeasure()
|