/frameworks/base/core/tests/coretests/src/android/widget/ |
D | LabelView.java | 82 mPaddingRight = 3; in initLabelView() 141 + mPaddingRight; in measureWidth()
|
D | InternalSelectionView.java | 113 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/ |
D | HorizontalScrollView.java | 243 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 …]
|
D | AbsSeekBar.java | 694 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) {
|
D | Gallery.java | 489 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);
|
D | CheckedTextView.java | 399 mNeedRequestlayout |= (mPaddingRight != newPadding); in updatePadding() 400 mPaddingRight = newPadding; in updatePadding() 412 mBasePadding = mPaddingRight; in setBasePadding()
|
D | RelativeLayout.java | 560 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()
|
D | ScrollView.java | 492 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()
|
D | AbsSpinner.java | 187 mSpinnerPadding.right = mPaddingRight > mSelectionRightPadding ? mPaddingRight in onMeasure()
|
D | AbsoluteLayout.java | 88 maxWidth += mPaddingLeft + mPaddingRight; in onMeasure()
|
D | FrameLayout.java | 164 return isForegroundInsidePadding() ? Math.max(mPaddingRight, mForegroundPaddingRight) : in getPaddingRightWithForeground() 165 mPaddingRight + mForegroundPaddingRight; in getPaddingRightWithForeground()
|
D | AdapterViewAnimator.java | 690 final int childWidth = getMeasuredWidth() - mPaddingLeft - mPaddingRight; in measureChildren() 728 mPaddingRight : 0; in onMeasure() 731 int width = mReferenceChildWidth + mPaddingLeft + mPaddingRight; in onMeasure()
|
D | ExpandableListView.java | 376 scrollX + mRight - mLeft - mPaddingRight, in dispatchDraw() 442 indicatorRect.left -= mPaddingRight; in dispatchDraw() 443 indicatorRect.right -= mPaddingRight; in dispatchDraw()
|
D | ImageView.java | 1168 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()
|
D | LinearLayout.java | 1029 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/ |
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 | 90 int measuredWidth = mPaddingLeft + mPaddingRight; in onMeasure() 169 + mPaddingLeft + mPaddingRight); in onMeasure() 207 final int childRight = width - mPaddingRight; in onLayout()
|
D | NotificationOptimizedLinearLayout.java | 421 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()
|
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 | 227 final int paddingX = mPaddingLeft + mPaddingRight + mInnerPaddingX * 2; in onMeasure() 249 final int paddingX = mPaddingLeft + mPaddingRight + mInnerPaddingX * 2; in computeMeasurements()
|
D | NotificationActionListLayout.java | 250 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/ |
D | LayerDrawable.java | 324 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/ |
D | PrintOptionsLayout.java | 59 ? (widthSize - mPaddingLeft - mPaddingRight) / mColumnCount : 0; in onMeasure()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | QSContainerImpl.java | 119 int padding = mPaddingLeft + mPaddingRight + layoutParams.leftMargin in onMeasure()
|