Home
last modified time | relevance | path

Searched refs:mPaddingLeft (Results 1 – 25 of 41) sorted by relevance

12

/frameworks/base/core/java/android/widget/
DAbsSeekBar.java692 final int trackWidth = w - mPaddingRight - mPaddingLeft;
718 int available = w - mPaddingLeft - mPaddingRight;
743 final int offsetX = mPaddingLeft - mThumbOffset;
769 mThumbRect.offset(mPaddingLeft - mThumbOffset, mPaddingTop);
817 tempRect.offset(mPaddingLeft - mThumbOffset, mPaddingTop);
845 final float spacing = (getWidth() - mPaddingLeft - mPaddingRight) / (float) count;
847 canvas.translate(mPaddingLeft, getHeight() / 2);
866 canvas.translate(mPaddingLeft - mThumbOffset, mPaddingTop);
884 dw += mPaddingLeft + mPaddingRight;
900 final int availableWidth = getWidth() - mPaddingLeft - mPaddingRight;
[all …]
DHorizontalScrollView.java369 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()
963 child.getWidth() - (getWidth() - mPaddingLeft - mPaddingRight)); in getScrollRange()
1298 final int width = getWidth() - mPaddingRight - mPaddingLeft; in smoothScrollBy()
1332 final int contentWidth = getWidth() - mPaddingLeft - mPaddingRight; in computeHorizontalScrollRange()
1359 final int horizontalPadding = mPaddingLeft + mPaddingRight; in measureChild()
1377 final int usedTotal = mPaddingLeft + mPaddingRight + lp.leftMargin + lp.rightMargin + in measureChildWithMargins()
[all …]
DGallery.java488 return (getWidth() - mPaddingLeft - mPaddingRight) / 2 + mPaddingLeft; in getCenterOfGallery()
512 final int galleryLeft = mPaddingLeft; in detachOffScreenChildren()
723 int galleryLeft = mPaddingLeft; in fillToGalleryLeftRtl()
754 int galleryLeft = mPaddingLeft; in fillToGalleryLeftLtr()
807 curLeftEdge = mPaddingLeft; in fillToGalleryRightRtl()
840 curLeftEdge = mPaddingLeft; in fillToGalleryRightLtr()
1551 delta = Math.min(getWidth() - mPaddingLeft - mPaddingRight - 1, delta);
1559 delta = Math.max(-(getWidth() - mPaddingRight - mPaddingLeft - 1), delta);
DAbsoluteLayout.java88 maxWidth += mPaddingLeft + mPaddingRight; in onMeasure()
122 int childLeft = mPaddingLeft + lp.x; in onLayout()
DAdapterViewAnimator.java685 final int childWidth = getMeasuredWidth() - mPaddingLeft - mPaddingRight; in measureChildren()
722 widthSpecSize = haveChildRefSize ? mReferenceChildWidth + mPaddingLeft + in onMeasure()
726 int width = mReferenceChildWidth + mPaddingLeft + mPaddingRight; in onMeasure()
770 int childRight = mPaddingLeft + child.getMeasuredWidth(); in onLayout()
773 child.layout(mPaddingLeft, mPaddingTop, childRight, childBottom); in onLayout()
DScrollView.java470 widthPadding = mPaddingLeft + mPaddingRight + lp.leftMargin + lp.rightMargin; in onMeasure()
473 widthPadding = mPaddingLeft + mPaddingRight; in onMeasure()
1388 childWidthMeasureSpec = getChildMeasureSpec(parentWidthMeasureSpec, mPaddingLeft in measureChild()
1404 mPaddingLeft + mPaddingRight + lp.leftMargin + lp.rightMargin in measureChildWithMargins()
1782 x = clamp(x, getWidth() - mPaddingRight - mPaddingLeft, child.getWidth()); in scrollTo()
1844 width = getWidth() - mPaddingLeft - mPaddingRight; in draw()
1846 translateX = mPaddingLeft; in draw()
1868 width = getWidth() - mPaddingLeft - mPaddingRight; in draw()
1870 translateX = mPaddingLeft; in draw()
DCheckedTextView.java396 mNeedRequestlayout |= (mPaddingLeft != newPadding); in updatePadding()
397 mPaddingLeft = newPadding; in updatePadding()
410 mBasePadding = mPaddingLeft; in setBasePadding()
DImageView.java1157 final int pleft = mPaddingLeft; in onMeasure()
1279 final int vwidth = getWidth() - mPaddingLeft - mPaddingRight; in configureBounds()
1391 final int vwidth = getWidth() - mPaddingLeft - mPaddingRight; in animateTransform()
1417 if (mDrawMatrix == null && mPaddingTop == 0 && mPaddingLeft == 0) { in onDraw()
1426 canvas.clipRect(scrollX + mPaddingLeft, scrollY + mPaddingTop, in onDraw()
1431 canvas.translate(mPaddingLeft, mPaddingTop); in onDraw()
DQuickContactBadge.java164 if (mPaddingTop == 0 && mPaddingLeft == 0) { in onDraw()
169 canvas.translate(mPaddingLeft, mPaddingTop); in onDraw()
DLinearLayout.java993 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()
1601 final int paddingLeft = mPaddingLeft; in layoutVertical()
1733 childLeft = mPaddingLeft + right - left - mTotalLength; in layoutHorizontal()
1738 childLeft = mPaddingLeft + (right - left - mTotalLength) / 2; in layoutHorizontal()
1743 childLeft = mPaddingLeft; in layoutHorizontal()
DAbsSpinner.java183 mSpinnerPadding.left = mPaddingLeft > mSelectionLeftPadding ? mPaddingLeft in onMeasure()
DFrameLayout.java159 return isForegroundInsidePadding() ? Math.max(mPaddingLeft, mForegroundPaddingLeft) : in getPaddingLeftWithForeground()
160 mPaddingLeft + mForegroundPaddingLeft; in getPaddingLeftWithForeground()
DRelativeLayout.java619 selfBounds.set(mPaddingLeft, mPaddingTop, width - mPaddingRight, in onMeasure()
689 mPaddingLeft, mPaddingRight, in measureChild()
702 params.width, params.leftMargin, params.rightMargin, mPaddingLeft, mPaddingRight, in measureChildHorizontal()
873 params.mLeft = mPaddingLeft + params.leftMargin; in positionAtEdge()
934 childParams.mLeft = mPaddingLeft + childParams.leftMargin; in applyHorizontalSizeRules()
941 childParams.mLeft = mPaddingLeft + childParams.leftMargin; in applyHorizontalSizeRules()
954 childParams.mLeft = mPaddingLeft + childParams.leftMargin; in applyHorizontalSizeRules()
/frameworks/base/core/tests/coretests/src/android/widget/
DLabelView.java80 mPaddingLeft = 3; in initLabelView()
140 result = (int) mTextPaint.measureText(mText) + mPaddingLeft in measureWidth()
185 canvas.drawText(mText, mPaddingLeft, mPaddingTop - mAscent, mTextPaint); in onDraw()
/frameworks/base/core/java/android/app/
DFragmentBreadCrumbs.java222 childLeft = mPaddingLeft + (mRight - mLeft - child.getMeasuredWidth()) / 2; in onLayout()
228 childLeft = mPaddingLeft; in onLayout()
233 if (childLeft < mPaddingLeft) { in onLayout()
234 childLeft = mPaddingLeft; in onLayout()
265 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()
176 int x = mPaddingLeft; in onLayout()
/frameworks/base/core/tests/coretests/src/android/util/
DInternalSelectionView.java112 int desiredWidth = 300 + mPaddingLeft + mPaddingRight; in measureWidth()
144 int rectLeft = mPaddingLeft; in onDraw()
196 rect.set(mPaddingLeft, in getRectForRow()
/frameworks/base/core/java/com/android/internal/widget/
DNotificationActionListLayout.java116 final int innerWidth = MeasureSpec.getSize(widthMeasureSpec) - mPaddingLeft - mPaddingRight; in onMeasure()
154 mTotalWidth = usedWidth + mPaddingRight + mPaddingLeft; in onMeasure()
211 childLeft = mPaddingLeft + left + (right - left) / 2 - mTotalWidth / 2; in onLayout()
213 childLeft = mPaddingLeft; in onLayout()
DMessagingLinearLayout.java79 int measuredWidth = mPaddingLeft + mPaddingRight; in onMeasure()
154 + mPaddingLeft + mPaddingRight); in onMeasure()
183 final int paddingLeft = mPaddingLeft; in onLayout()
DSubtitleView.java226 final int paddingX = mPaddingLeft + mPaddingRight + mInnerPaddingX * 2; in onMeasure()
248 final int paddingX = mPaddingLeft + mPaddingRight + mInnerPaddingX * 2; in computeMeasurements()
302 c.translate(mPaddingLeft + innerPaddingX, mPaddingTop); in onDraw()
DWatchListDecorLayout.java265 return isForegroundInsidePadding() ? Math.max(mPaddingLeft, mForegroundPaddingLeft) : in getPaddingLeftWithForeground()
266 mPaddingLeft + mForegroundPaddingLeft; in getPaddingLeftWithForeground()
DLockPatternView.java668 final int width = w - mPaddingLeft - mPaddingRight; in onSizeChanged()
677 mNotSelectedDrawable.setBounds(mPaddingLeft, mPaddingTop, width, height); in onSizeChanged()
678 mSelectedDrawable.setBounds(mPaddingLeft, mPaddingTop, width, height); in onSizeChanged()
889 float offset = mPaddingLeft + (squareWidth - hitSize) / 2f; in getColumnHit()
1094 return mPaddingLeft + column * mSquareWidth + mSquareWidth / 2f; in getCenterXForColumn()
1286 (int) (mPaddingLeft + j * mSquareWidth),
1288 (int) (mPaddingLeft + (j + 1) * mSquareWidth),
/frameworks/base/graphics/java/android/graphics/drawable/
DLayerDrawable.java320 state.mPaddingLeft = a.getDimensionPixelOffset(attr, state.mPaddingLeft); in updateStateFromTypedArray()
1045 final int paddingL = paddingRtlL >= 0 ? paddingRtlL : layerState.mPaddingLeft; in getPadding()
1092 layerState.mPaddingLeft = left; in setPadding()
1131 layerState.mPaddingLeft = -1; in setPaddingRelative()
1148 return mLayerState.mPaddingLeft; in getLeftPadding()
1942 int mPaddingLeft = -1;
1989 mPaddingLeft = orig.mPaddingLeft;
2018 if (mPaddingLeft > 0) {
2019 mPaddingLeft = Drawable.scaleFromDensity(
2020 mPaddingLeft, sourceDensity, targetDensity, false);
/frameworks/base/core/java/android/inputmethodservice/
DKeyboardView.java609 setMeasuredDimension(mPaddingLeft + mPaddingRight, mPaddingTop + mPaddingBottom); in onMeasure()
611 int width = mKeyboard.getMinWidth() + mPaddingLeft + mPaddingRight; in onMeasure()
683 final int kbdPaddingLeft = mPaddingLeft; in onBufferDraw()
955 mPopupPreviewX = key.x - mPreviewText.getPaddingLeft() + mPaddingLeft; in showKey()
1059 mDirtyRect.union(key.x + mPaddingLeft, key.y + mPaddingTop, in invalidateKey()
1060 key.x + key.width + mPaddingLeft, key.y + key.height + mPaddingTop); in invalidateKey()
1062 invalidate(key.x + mPaddingLeft, key.y + mPaddingTop, in invalidateKey()
1063 key.x + key.width + mPaddingLeft, key.y + key.height + mPaddingTop); in invalidateKey()
1148 mPopupX = popupKey.x + mPaddingLeft; in onLongPress()
1231 int touchX = (int) me.getX() - mPaddingLeft;
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/
DPrintOptionsLayout.java59 ? (widthSize - mPaddingLeft - mPaddingRight) / mColumnCount : 0; in onMeasure()

12