Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/widget/
DAbsSeekBar.java250 w - mPaddingRight - mPaddingLeft, h - mPaddingBottom - gapForCenteringTrack
256 d.setBounds(0, 0, w - mPaddingRight - mPaddingLeft, h - mPaddingBottom
270 int available = w - mPaddingLeft - mPaddingRight;
301 canvas.translate(mPaddingLeft - mThumbOffset, mPaddingTop);
319 dw += mPaddingLeft + mPaddingRight;
395 final int available = width - mPaddingLeft - mPaddingRight;
399 if (x < mPaddingLeft) {
404 scale = (float)(x - mPaddingLeft) / (float)available;
DGallery.java446 return (getWidth() - mPaddingLeft - mPaddingRight) / 2 + mPaddingLeft; in getCenterOfGallery()
469 final int galleryLeft = mPaddingLeft; in detachOffScreenChildren()
677 int galleryLeft = mPaddingLeft; in fillToGalleryLeftRtl()
708 int galleryLeft = mPaddingLeft; in fillToGalleryLeftLtr()
760 curLeftEdge = mPaddingLeft; in fillToGalleryRightRtl()
793 curLeftEdge = mPaddingLeft; in fillToGalleryRightLtr()
1445 delta = Math.min(getWidth() - mPaddingLeft - mPaddingRight - 1, delta);
1453 delta = Math.max(-(getWidth() - mPaddingRight - mPaddingLeft - 1), delta);
DAbsoluteLayout.java84 maxWidth += mPaddingLeft + mPaddingRight; in onMeasure()
118 int childLeft = mPaddingLeft + lp.x; in onLayout()
DScrollView.java330 mPaddingLeft + mPaddingRight, lp.width); in onMeasure()
1144 childWidthMeasureSpec = getChildMeasureSpec(parentWidthMeasureSpec, mPaddingLeft in measureChild()
1158 mPaddingLeft + mPaddingRight + lp.leftMargin + lp.rightMargin in measureChildWithMargins()
1499 x = clamp(x, getWidth() - mPaddingRight - mPaddingLeft, child.getWidth()); in scrollTo()
1529 final int width = getWidth() - mPaddingLeft - mPaddingRight; in draw()
1531 canvas.translate(mPaddingLeft, Math.min(0, scrollY)); in draw()
1540 final int width = getWidth() - mPaddingLeft - mPaddingRight; in draw()
1543 canvas.translate(-width + mPaddingLeft, in draw()
DImageView.java684 int pleft = mPaddingLeft; in onMeasure()
793 int vwidth = getWidth() - mPaddingLeft - mPaddingRight; in configureBounds()
891 if (mDrawMatrix == null && mPaddingTop == 0 && mPaddingLeft == 0) { in onDraw()
900 canvas.clipRect(scrollX + mPaddingLeft, scrollY + mPaddingTop, in onDraw()
905 canvas.translate(mPaddingLeft, mPaddingTop); in onDraw()
DAdapterViewAnimator.java668 final int childWidth = getMeasuredWidth() - mPaddingLeft - mPaddingRight; in measureChildren()
705 widthSpecSize = haveChildRefSize ? mReferenceChildWidth + mPaddingLeft + in onMeasure()
709 int width = mReferenceChildWidth + mPaddingLeft + mPaddingRight; in onMeasure()
753 int childRight = mPaddingLeft + child.getMeasuredWidth(); in onLayout()
756 child.layout(mPaddingLeft, mPaddingTop, childRight, childBottom); in onLayout()
DHorizontalScrollView.java253 return getWidth() < childWidth + mPaddingLeft + mPaddingRight ; in canScroll()
322 width -= mPaddingLeft; in onMeasure()
737 child.getWidth() - (getWidth() - mPaddingLeft - mPaddingRight)); in getScrollRange()
1072 final int width = getWidth() - mPaddingRight - mPaddingLeft; in smoothScrollBy()
1106 final int contentWidth = getWidth() - mPaddingLeft - mPaddingRight; in computeHorizontalScrollRange()
1428 int width = getWidth() - mPaddingRight - mPaddingLeft; in fling()
1462 x = clamp(x, getWidth() - mPaddingRight - mPaddingLeft, child.getWidth()); in scrollTo()
DQuickContactBadge.java124 if (mPaddingTop == 0 && mPaddingLeft == 0) { in onDraw()
129 canvas.translate(mPaddingLeft, mPaddingTop); in onDraw()
DRelativeLayout.java499 selfBounds.set(mPaddingLeft, mPaddingTop, width - mPaddingRight, in onMeasure()
572 mPaddingLeft, mPaddingRight, in measureChild()
586 mPaddingLeft, mPaddingRight, in measureChildHorizontal()
693 params.mLeft = mPaddingLeft + params.leftMargin; in positionChildHorizontal()
698 params.mLeft = mPaddingLeft + params.leftMargin; in positionChildHorizontal()
762 childParams.mLeft = mPaddingLeft + childParams.leftMargin; in applyHorizontalSizeRules()
769 childParams.mLeft = mPaddingLeft + childParams.leftMargin; in applyHorizontalSizeRules()
784 childParams.mLeft = mPaddingLeft + childParams.leftMargin; in applyHorizontalSizeRules()
DFrameLayout.java254 return mForegroundInPadding ? Math.max(mPaddingLeft, mForegroundPaddingLeft) : in getPaddingLeftWithForeground()
255 mPaddingLeft + mForegroundPaddingLeft; in getPaddingLeftWithForeground()
466 … selfBounds.set(mPaddingLeft, mPaddingTop, w - mPaddingRight, h - mPaddingBottom); in draw()
DLinearLayout.java794 mPaddingLeft + mPaddingRight + in measureVertical()
876 maxWidth += mPaddingLeft + mPaddingRight; in measureVertical()
1136 mTotalLength += mPaddingLeft + mPaddingRight; in measureHorizontal()
1243 mTotalLength += mPaddingLeft + mPaddingRight; in measureHorizontal()
1414 final int paddingLeft = mPaddingLeft; in layoutVertical()
1531 childLeft = mPaddingLeft + mRight - mLeft - mTotalLength; in layoutHorizontal()
1536 childLeft = mPaddingLeft + (mRight - mLeft - mTotalLength) / 2; in layoutHorizontal()
1541 childLeft = mPaddingLeft; in layoutHorizontal()
DProgressBar.java907 final int scrollX = mScrollX + mPaddingLeft; in invalidateDrawable()
934 int right = w - mPaddingRight - mPaddingLeft; in updateDrawableBounds()
979 canvas.translate(mPaddingLeft, mPaddingTop); in onDraw()
1015 dw += mPaddingLeft + mPaddingRight; in onMeasure()
DAbsSpinner.java169 mSpinnerPadding.left = mPaddingLeft > mSelectionLeftPadding ? mPaddingLeft in onMeasure()
DExpandableListView.java243 canvas.clipRect(scrollX + mPaddingLeft, scrollY + mPaddingTop, in dispatchDraw()
302 indicatorRect.left += mPaddingLeft; in dispatchDraw()
303 indicatorRect.right += mPaddingLeft; in dispatchDraw()
DStackView.java1098 int childRight = mPaddingLeft + child.getMeasuredWidth();
1102 child.layout(mPaddingLeft + lp.horizontalOffset, mPaddingTop + lp.verticalOffset,
1130 - mPaddingLeft - mPaddingRight;
1202 mPaddingLeft + mPaddingRight : 0;
1205 int width = mReferenceChildWidth + mPaddingLeft + mPaddingRight;
DTableLayout.java559 int size = MeasureSpec.getSize(widthMeasureSpec) - mPaddingLeft - mPaddingRight; in shrinkAndStretchColumns()
/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/tests/coretests/src/android/util/
DInternalSelectionView.java110 int desiredWidth = 300 + mPaddingLeft + mPaddingRight; in measureWidth()
145 int rectLeft = mPaddingLeft; in onDraw()
188 rect.set(mPaddingLeft, in getRectForRow()
/frameworks/base/core/java/android/app/
DFragmentBreadCrumbs.java168 int childRight = mPaddingLeft + child.getMeasuredWidth() - mPaddingRight; in onLayout()
170 child.layout(mPaddingLeft, mPaddingTop, childRight, childBottom); in onLayout()
195 maxWidth += mPaddingLeft + mPaddingRight; in onMeasure()
/frameworks/base/core/java/android/inputmethodservice/
DKeyboardView.java587 setMeasuredDimension(mPaddingLeft + mPaddingRight, mPaddingTop + mPaddingBottom); in onMeasure()
589 int width = mKeyboard.getMinWidth() + mPaddingLeft + mPaddingRight; in onMeasure()
659 final int kbdPaddingLeft = mPaddingLeft; in onBufferDraw()
922 mPopupPreviewX = key.x - mPreviewText.getPaddingLeft() + mPaddingLeft; in showKey()
1038 mDirtyRect.union(key.x + mPaddingLeft, key.y + mPaddingTop, in invalidateKey()
1039 key.x + key.width + mPaddingLeft, key.y + key.height + mPaddingTop); in invalidateKey()
1041 invalidate(key.x + mPaddingLeft, key.y + mPaddingTop, in invalidateKey()
1042 key.x + key.width + mPaddingLeft, key.y + key.height + mPaddingTop); in invalidateKey()
1126 mPopupX = popupKey.x + mPaddingLeft; in onLongPress()
1227 int touchX = (int) me.getX() - mPaddingLeft;
/frameworks/base/core/java/com/android/internal/widget/
DLockPatternView.java450 final int width = w - mPaddingLeft - mPaddingRight; in onSizeChanged()
611 float offset = mPaddingLeft + (squareWidth - hitSize) / 2f; in getColumnHit()
856 return mPaddingLeft + column * mSquareWidth + mSquareWidth / 2f;
922 final int paddingLeft = mPaddingLeft;
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/
DRecentsHorizontalScrollView.java190 int paddingLeft = mPaddingLeft; in draw()
DRecentsVerticalScrollView.java205 int paddingLeft = mPaddingLeft; in draw()
/frameworks/base/core/java/android/view/
DView.java2233 protected int mPaddingLeft; field in View
3087 setPadding(leftPadding >= 0 ? leftPadding : mPaddingLeft, in View()
4501 mPaddingLeft = insets.left; in fitSystemWindows()
9346 left = scrollX + (mPaddingLeft & inside);
9559 mUserPaddingLeft = mPaddingLeft;
9570 mUserPaddingLeft = mPaddingLeft;
10910 int paddingLeft = mPaddingLeft;
11758 if (mPaddingLeft != left) {
11760 mPaddingLeft = left;
11843 return mPaddingLeft;
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DLoadAverageService.java273 int neededWidth = mPaddingLeft + mPaddingRight + maxWidth; in updateDisplay()

12