/frameworks/base/core/java/android/widget/ |
D | AbsSeekBar.java | 250 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;
|
D | Gallery.java | 446 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);
|
D | AbsoluteLayout.java | 84 maxWidth += mPaddingLeft + mPaddingRight; in onMeasure() 118 int childLeft = mPaddingLeft + lp.x; in onLayout()
|
D | ScrollView.java | 330 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()
|
D | ImageView.java | 684 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()
|
D | AdapterViewAnimator.java | 668 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()
|
D | HorizontalScrollView.java | 253 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()
|
D | QuickContactBadge.java | 124 if (mPaddingTop == 0 && mPaddingLeft == 0) { in onDraw() 129 canvas.translate(mPaddingLeft, mPaddingTop); in onDraw()
|
D | RelativeLayout.java | 499 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()
|
D | FrameLayout.java | 254 return mForegroundInPadding ? Math.max(mPaddingLeft, mForegroundPaddingLeft) : in getPaddingLeftWithForeground() 255 mPaddingLeft + mForegroundPaddingLeft; in getPaddingLeftWithForeground() 466 … selfBounds.set(mPaddingLeft, mPaddingTop, w - mPaddingRight, h - mPaddingBottom); in draw()
|
D | LinearLayout.java | 794 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()
|
D | ProgressBar.java | 907 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()
|
D | AbsSpinner.java | 169 mSpinnerPadding.left = mPaddingLeft > mSelectionLeftPadding ? mPaddingLeft in onMeasure()
|
D | ExpandableListView.java | 243 canvas.clipRect(scrollX + mPaddingLeft, scrollY + mPaddingTop, in dispatchDraw() 302 indicatorRect.left += mPaddingLeft; in dispatchDraw() 303 indicatorRect.right += mPaddingLeft; in dispatchDraw()
|
D | StackView.java | 1098 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;
|
D | TableLayout.java | 559 int size = MeasureSpec.getSize(widthMeasureSpec) - mPaddingLeft - mPaddingRight; in shrinkAndStretchColumns()
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
D | LabelView.java | 80 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/ |
D | InternalSelectionView.java | 110 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/ |
D | FragmentBreadCrumbs.java | 168 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/ |
D | KeyboardView.java | 587 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/ |
D | LockPatternView.java | 450 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/ |
D | RecentsHorizontalScrollView.java | 190 int paddingLeft = mPaddingLeft; in draw()
|
D | RecentsVerticalScrollView.java | 205 int paddingLeft = mPaddingLeft; in draw()
|
/frameworks/base/core/java/android/view/ |
D | View.java | 2233 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/ |
D | LoadAverageService.java | 273 int neededWidth = mPaddingLeft + mPaddingRight + maxWidth; in updateDisplay()
|