Home
last modified time | relevance | path

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

12

/frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/vo/
DViewBindingObject.java61 private int mPaddingRight = 15; field in ViewBindingObject
142 return mPaddingRight; in getPaddingRight()
174 mPaddingRight = 150; in changeValues()
/frameworks/base/core/java/android/widget/
DHorizontalScrollView.java198 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 …]
DAbsSeekBar.java603 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) {
DGallery.java476 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);
DCheckedTextView.java355 mNeedRequestlayout |= (mPaddingRight != newPadding); in updatePadding()
356 mPaddingRight = newPadding; in updatePadding()
368 mBasePadding = mPaddingRight; in setBasePadding()
DRelativeLayout.java540 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()
DScrollView.java368 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()
DFrameLayout.java155 return isForegroundInsidePadding() ? Math.max(mPaddingRight, mForegroundPaddingRight) : in getPaddingRightWithForeground()
156 mPaddingRight + mForegroundPaddingRight; in getPaddingRightWithForeground()
DAbsSpinner.java185 mSpinnerPadding.right = mPaddingRight > mSelectionRightPadding ? mPaddingRight in onMeasure()
DExpandableListView.java365 scrollX + mRight - mLeft - mPaddingRight, in dispatchDraw()
431 indicatorRect.left -= mPaddingRight; in dispatchDraw()
432 indicatorRect.right -= mPaddingRight; in dispatchDraw()
DAdapterViewAnimator.java682 final int childWidth = getMeasuredWidth() - mPaddingLeft - mPaddingRight; in measureChildren()
720 mPaddingRight : 0; in onMeasure()
723 int width = mReferenceChildWidth + mPaddingLeft + mPaddingRight; in onMeasure()
DAbsoluteLayout.java87 maxWidth += mPaddingLeft + mPaddingRight; in onMeasure()
DLinearLayout.java956 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/
DMessagingLinearLayout.java155 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;
DNotificationActionListLayout.java99 final int innerWidth = MeasureSpec.getSize(widthMeasureSpec) - mPaddingLeft - mPaddingRight; in onMeasure()
157 mTotalWidth = usedWidth + mPaddingRight + mPaddingLeft; in onMeasure()
DAlertDialogLayout.java277 final int childRight = width - mPaddingRight; in onLayout()
280 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/core/tests/coretests/src/android/widget/
DLabelView.java82 mPaddingRight = 3; in initLabelView()
141 + mPaddingRight; in measureWidth()
/frameworks/base/core/tests/coretests/src/android/util/
DInternalSelectionView.java115 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/
DFragmentBreadCrumbs.java214 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/
DThemePreviewLayout.java100 int wSize = MeasureSpec.getSize(widthMeasureSpec) - mPaddingLeft - mPaddingRight; in onMeasure()
159 mPaddingRight + mPaddingLeft; in onMeasure()
/frameworks/base/graphics/java/android/graphics/drawable/
DLayerDrawable.java318 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/
DListRowPresenter.java67 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/
DPrintOptionsLayout.java58 ? (widthSize - mPaddingLeft - mPaddingRight) / mColumnCount : 0; in onMeasure()

12