/frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/vo/ |
D | ViewBindingObject.java | 61 private int mPaddingRight = 15; field in ViewBindingObject 142 return mPaddingRight; in getPaddingRight() 174 mPaddingRight = 150; in changeValues()
|
/frameworks/base/core/java/android/widget/ |
D | HorizontalScrollView.java | 198 final int rightEdge = getWidth() - mPaddingRight; in getRightFadingEdgeStrength() 273 return getWidth() < childWidth + mPaddingLeft + mPaddingRight ; in canScroll() 341 widthPadding = mPaddingLeft + mPaddingRight + lp.leftMargin + lp.rightMargin; in onMeasure() 344 widthPadding = mPaddingLeft + mPaddingRight; in onMeasure() 805 final int viewportWidth = getWidth() - mPaddingLeft - mPaddingRight; in performAccessibilityActionInternal() 817 final int viewportWidth = getWidth() - mPaddingLeft - mPaddingRight; in performAccessibilityActionInternal() 867 child.getWidth() - (getWidth() - mPaddingLeft - mPaddingRight)); in getScrollRange() 1202 final int width = getWidth() - mPaddingRight - mPaddingLeft; in smoothScrollBy() 1236 final int contentWidth = getWidth() - mPaddingLeft - mPaddingRight; in computeHorizontalScrollRange() 1263 final int horizontalPadding = mPaddingLeft + mPaddingRight; in measureChild() [all …]
|
D | AbsSeekBar.java | 603 final int trackWidth = w - mPaddingRight - mPaddingLeft; 629 int available = w - mPaddingLeft - mPaddingRight; 717 final float spacing = (getWidth() - mPaddingLeft - mPaddingRight) / (float) count; 755 dw += mPaddingLeft + mPaddingRight; 841 final int availableWidth = width - mPaddingLeft - mPaddingRight; 846 if (x > width - mPaddingRight) { 857 } else if (x > width - mPaddingRight) {
|
D | Gallery.java | 476 return (getWidth() - mPaddingLeft - mPaddingRight) / 2 + mPaddingLeft; in getCenterOfGallery() 515 final int galleryRight = getWidth() - mPaddingRight; in detachOffScreenChildren() 724 curRightEdge = mRight - mLeft - mPaddingRight; in fillToGalleryLeftRtl() 753 curRightEdge = mRight - mLeft - mPaddingRight; in fillToGalleryLeftLtr() 780 int galleryRight = mRight - mLeft - mPaddingRight; in fillToGalleryRightRtl() 811 int galleryRight = mRight - mLeft - mPaddingRight; in fillToGalleryRightLtr() 1533 delta = Math.min(getWidth() - mPaddingLeft - mPaddingRight - 1, delta); 1541 delta = Math.max(-(getWidth() - mPaddingRight - mPaddingLeft - 1), delta);
|
D | CheckedTextView.java | 355 mNeedRequestlayout |= (mPaddingRight != newPadding); in updatePadding() 356 mPaddingRight = newPadding; in updatePadding() 368 mBasePadding = mPaddingRight; in setBasePadding()
|
D | RelativeLayout.java | 540 width += mPaddingRight; in onMeasure() 559 params.mLeft = width - mPaddingRight - childWidth; in onMeasure() 599 selfBounds.set(mPaddingLeft, mPaddingTop, width - mPaddingRight, in onMeasure() 669 mPaddingLeft, mPaddingRight, in measureChild() 682 params.width, params.leftMargin, params.rightMargin, mPaddingLeft, mPaddingRight, in measureChildHorizontal() 850 params.mRight = myWidth - mPaddingRight - params.rightMargin; in positionAtEdge() 905 childParams.mRight = myWidth - mPaddingRight - childParams.rightMargin; in applyHorizontalSizeRules() 929 childParams.mRight = myWidth - mPaddingRight - childParams.rightMargin; in applyHorizontalSizeRules() 939 childParams.mRight = myWidth - mPaddingRight - childParams.rightMargin; in applyHorizontalSizeRules()
|
D | ScrollView.java | 368 widthPadding = mPaddingLeft + mPaddingRight + lp.leftMargin + lp.rightMargin; in onMeasure() 371 widthPadding = mPaddingLeft + mPaddingRight; in onMeasure() 1285 + mPaddingRight, lp.width); in measureChild() 1300 mPaddingLeft + mPaddingRight + lp.leftMargin + lp.rightMargin in measureChildWithMargins() 1673 x = clamp(x, getWidth() - mPaddingRight - mPaddingLeft, child.getWidth()); in scrollTo() 1750 width = getWidth() - mPaddingLeft - mPaddingRight; in draw() 1774 width = getWidth() - mPaddingLeft - mPaddingRight; in draw()
|
D | FrameLayout.java | 155 return isForegroundInsidePadding() ? Math.max(mPaddingRight, mForegroundPaddingRight) : in getPaddingRightWithForeground() 156 mPaddingRight + mForegroundPaddingRight; in getPaddingRightWithForeground()
|
D | AbsSpinner.java | 185 mSpinnerPadding.right = mPaddingRight > mSelectionRightPadding ? mPaddingRight in onMeasure()
|
D | ExpandableListView.java | 365 scrollX + mRight - mLeft - mPaddingRight, in dispatchDraw() 431 indicatorRect.left -= mPaddingRight; in dispatchDraw() 432 indicatorRect.right -= mPaddingRight; in dispatchDraw()
|
D | AdapterViewAnimator.java | 682 final int childWidth = getMeasuredWidth() - mPaddingLeft - mPaddingRight; in measureChildren() 720 mPaddingRight : 0; in onMeasure() 723 int width = mReferenceChildWidth + mPaddingLeft + mPaddingRight; in onMeasure()
|
D | AbsoluteLayout.java | 87 maxWidth += mPaddingLeft + mPaddingRight; in onMeasure()
|
D | LinearLayout.java | 956 mPaddingLeft + mPaddingRight + lp.leftMargin + lp.rightMargin, in measureVertical() 1018 maxWidth += mPaddingLeft + mPaddingRight; in measureVertical() 1288 mTotalLength += mPaddingLeft + mPaddingRight; in measureHorizontal() 1389 mTotalLength += mPaddingLeft + mPaddingRight; in measureHorizontal() 1570 int childRight = width - mPaddingRight; in layoutVertical() 1573 int childSpace = width - paddingLeft - mPaddingRight; in layoutVertical()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | MessagingLinearLayout.java | 155 int measuredWidth = mPaddingLeft + mPaddingRight; in onMeasure() 179 mPaddingLeft + mPaddingRight + lp.leftMargin + lp.rightMargin, in onMeasure() 193 + mPaddingLeft + mPaddingRight); in onMeasure() 216 final int childRight = width - mPaddingRight;
|
D | NotificationActionListLayout.java | 99 final int innerWidth = MeasureSpec.getSize(widthMeasureSpec) - mPaddingLeft - mPaddingRight; in onMeasure() 157 mTotalWidth = usedWidth + mPaddingRight + mPaddingLeft; in onMeasure()
|
D | AlertDialogLayout.java | 277 final int childRight = width - mPaddingRight; in onLayout() 280 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/core/tests/coretests/src/android/widget/ |
D | LabelView.java | 82 mPaddingRight = 3; in initLabelView() 141 + mPaddingRight; in measureWidth()
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | InternalSelectionView.java | 115 int desiredWidth = 300 + mPaddingLeft + mPaddingRight; in measureWidth() 148 int rectRight = getWidth() - mPaddingRight; in onDraw() 201 getWidth() - mPaddingRight, in getRectForRow()
|
/frameworks/base/core/java/android/app/ |
D | FragmentBreadCrumbs.java | 214 childRight = mRight - mLeft - mPaddingRight; in onLayout() 234 if (childRight > mRight - mLeft - mPaddingRight) { in onLayout() 235 childRight = mRight - mLeft - mPaddingRight; in onLayout() 262 maxWidth += mPaddingLeft + mPaddingRight; in onMeasure()
|
/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/graphics/java/android/graphics/drawable/ |
D | LayerDrawable.java | 318 state.mPaddingRight = a.getDimensionPixelOffset(attr, state.mPaddingRight); in updateStateFromTypedArray() 1039 final int paddingR = paddingRtlR >= 0 ? paddingRtlR : layerState.mPaddingRight; in getPadding() 1087 layerState.mPaddingRight = right; in setPadding() 1125 layerState.mPaddingRight = -1; in setPaddingRelative() 1157 return mLayerState.mPaddingRight; in getRightPadding() 1933 int mPaddingRight = -1; 1980 mPaddingRight = orig.mPaddingRight; 2016 if (mPaddingRight > 0) { 2017 mPaddingRight = Drawable.scaleFromDensity( 2018 mPaddingRight, sourceDensity, targetDensity, false);
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
D | ListRowPresenter.java | 67 final int mPaddingRight; field in ListRowPresenter.ViewHolder 76 mPaddingRight = mGridView.getPaddingRight(); in ViewHolder() 562 vh.getGridView().setPadding(vh.mPaddingLeft, paddingTop, vh.mPaddingRight, in setVerticalPadding()
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/ |
D | PrintOptionsLayout.java | 58 ? (widthSize - mPaddingLeft - mPaddingRight) / mColumnCount : 0; in onMeasure()
|