/frameworks/base/core/tests/coretests/src/android/widget/ |
H A D | LabelView.java | 80 mPaddingLeft = 3; 140 result = (int) mTextPaint.measureText(mText) + mPaddingLeft 185 canvas.drawText(mText, mPaddingLeft, mPaddingTop - mAscent, mTextPaint);
|
/frameworks/base/core/java/android/widget/ |
H A D | AbsSeekBar.java | 206 w - mPaddingRight - mPaddingLeft, h - mPaddingBottom - gapForCenteringTrack 212 d.setBounds(0, 0, w - mPaddingRight - mPaddingLeft, h - mPaddingBottom 226 int available = w - mPaddingLeft - mPaddingRight; 257 canvas.translate(mPaddingLeft - mThumbOffset, mPaddingTop); 275 dw += mPaddingLeft + mPaddingRight; 321 final int available = width - mPaddingLeft - mPaddingRight; 325 if (x < mPaddingLeft) { 330 scale = (float)(x - mPaddingLeft) / (float)available;
|
H A D | AbsoluteLayout.java | 84 maxWidth += mPaddingLeft + mPaddingRight; 118 int childLeft = mPaddingLeft + lp.x;
|
H A D | ImageView.java | 642 int pleft = mPaddingLeft; 754 int vwidth = getWidth() - mPaddingLeft - mPaddingRight; 853 if (mDrawMatrix == null && mPaddingTop == 0 && mPaddingLeft == 0) { 862 canvas.clipRect(scrollX + mPaddingLeft, scrollY + mPaddingTop, 867 canvas.translate(mPaddingLeft, mPaddingTop);
|
H A D | Gallery.java | 437 return (getWidth() - mPaddingLeft - mPaddingRight) / 2 + mPaddingLeft; 460 final int galleryLeft = mPaddingLeft; 649 int galleryLeft = mPaddingLeft; 695 curLeftEdge = mPaddingLeft; 1359 delta = Math.min(getWidth() - mPaddingLeft - mPaddingRight - 1, delta); 1366 delta = Math.max(-(getWidth() - mPaddingRight - mPaddingLeft - 1), delta);
|
H A D | HorizontalScrollView.java | 257 return getWidth() < childWidth + mPaddingLeft + mPaddingRight ; 321 width -= mPaddingLeft; 655 child.getWidth() - (getWidth() - mPaddingLeft - mPaddingRight)); 993 final int width = getWidth() - mPaddingRight - mPaddingLeft; 1027 final int contentWidth = getWidth() - mPaddingLeft - mPaddingRight; 1348 int width = getWidth() - mPaddingRight - mPaddingLeft; 1382 x = clamp(x, getWidth() - mPaddingRight - mPaddingLeft, child.getWidth());
|
H A D | FrameLayout.java | 257 maxWidth += mPaddingLeft + mPaddingRight + mForegroundPaddingLeft + mForegroundPaddingRight; 282 final int parentLeft = mPaddingLeft + mForegroundPaddingLeft; 373 selfBounds.set(mPaddingLeft, mPaddingTop, w - mPaddingRight, h - mPaddingBottom);
|
H A D | ProgressBar.java | 801 final int scrollX = mScrollX + mPaddingLeft; 815 int right = w - mPaddingRight - mPaddingLeft; 836 canvas.translate(mPaddingLeft, mPaddingTop); 871 dw += mPaddingLeft + mPaddingRight;
|
H A D | AbsSpinner.java | 169 mSpinnerPadding.left = mPaddingLeft > mSelectionLeftPadding ? mPaddingLeft
|
H A D | RelativeLayout.java | 488 selfBounds.set(mPaddingLeft, mPaddingTop, width - mPaddingRight, 559 mPaddingLeft, mPaddingRight, 573 mPaddingLeft, mPaddingRight, 595 * @param startPadding mPaddingLeft or mPaddingTop 680 params.mLeft = mPaddingLeft + params.leftMargin; 685 params.mLeft = mPaddingLeft + params.leftMargin; 749 childParams.mLeft = mPaddingLeft + childParams.leftMargin; 756 childParams.mLeft = mPaddingLeft + childParams.leftMargin; 771 childParams.mLeft = mPaddingLeft + childParams.leftMargin;
|
H A D | LinearLayout.java | 513 mPaddingLeft + mPaddingRight + 566 maxWidth += mPaddingLeft + mPaddingRight; 814 mTotalLength += mPaddingLeft + mPaddingRight; 916 mTotalLength += mPaddingLeft + mPaddingRight; 1062 final int paddingLeft = mPaddingLeft; 1151 int childLeft = mPaddingLeft; 1175 childLeft = mRight - mLeft + mPaddingLeft - mTotalLength;
|
H A D | ScrollView.java | 313 int childWidthMeasureSpec = getChildMeasureSpec(widthMeasureSpec, mPaddingLeft 1055 childWidthMeasureSpec = getChildMeasureSpec(parentWidthMeasureSpec, mPaddingLeft 1069 mPaddingLeft + mPaddingRight + lp.leftMargin + lp.rightMargin 1382 x = clamp(x, getWidth() - mPaddingRight - mPaddingLeft, child.getWidth());
|
H A D | TableLayout.java | 559 int size = MeasureSpec.getSize(widthMeasureSpec) - mPaddingLeft - mPaddingRight;
|
H A D | ExpandableListView.java | 242 canvas.clipRect(scrollX + mPaddingLeft, scrollY + mPaddingTop,
|
H A D | TextView.java | 1252 return mPaddingLeft; 1254 return mPaddingLeft + dr.mDrawablePadding + dr.mDrawableSizeLeft; 1586 if (left != mPaddingLeft || 3843 return getCompoundPaddingLeft() - mPaddingLeft + 3890 scrollX += mPaddingLeft; 3953 canvas.translate(scrollX + mPaddingLeft,
|
H A D | AbsListView.java | 1238 listPadding.left = mSelectionLeftPadding + mPaddingLeft; 1469 canvas.clipRect(scrollX + mPaddingLeft, scrollY + mPaddingTop,
|
H A D | ListView.java | 3011 bounds.left = mPaddingLeft;
|
/frameworks/base/core/tests/coretests/src/android/util/ |
H A D | InternalSelectionView.java | 110 int desiredWidth = 300 + mPaddingLeft + mPaddingRight; 145 int rectLeft = mPaddingLeft; 188 rect.set(mPaddingLeft,
|
/frameworks/base/core/java/android/inputmethodservice/ |
H A D | KeyboardView.java | 574 setMeasuredDimension(mPaddingLeft + mPaddingRight, mPaddingTop + mPaddingBottom); 576 int width = mKeyboard.getMinWidth() + mPaddingLeft + mPaddingRight; 643 final int kbdPaddingLeft = mPaddingLeft; 900 mPopupPreviewX = key.x - mPreviewText.getPaddingLeft() + mPaddingLeft; 973 mDirtyRect.union(key.x + mPaddingLeft, key.y + mPaddingTop, 974 key.x + key.width + mPaddingLeft, key.y + key.height + mPaddingTop); 976 invalidate(key.x + mPaddingLeft, key.y + mPaddingTop, 977 key.x + key.width + mPaddingLeft, key.y + key.height + mPaddingTop); 1064 mPopupX = popupKey.x + mPaddingLeft; 1130 int touchX = (int) me.getX() - mPaddingLeft; [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | LockPatternView.java | 439 final int width = w - mPaddingLeft - mPaddingRight; 570 float offset = mPaddingLeft + (squareWidth - hitSize) / 2f; 773 return mPaddingLeft + column * mSquareWidth + mSquareWidth / 2f; 874 final int paddingLeft = mPaddingLeft;
|
/frameworks/base/services/java/com/android/server/ |
H A D | LoadAverageService.java | 256 int neededWidth = mPaddingLeft + mPaddingRight + maxWidth;
|
/frameworks/base/core/java/android/view/ |
H A D | View.java | 1687 protected int mPaddingLeft; field in class:View 2174 setPadding(leftPadding >= 0 ? leftPadding : mPaddingLeft, 3073 mPaddingLeft = insets.left; 5688 setPadding(mPaddingLeft, mPaddingTop, mUserPaddingRight, mUserPaddingBottom); 5958 left = scrollX + (mPaddingLeft & inside); 6910 int paddingLeft = mPaddingLeft; 7675 if (mPaddingLeft != left) { 7677 mPaddingLeft = left; 7725 return mPaddingLeft; 8191 if (mPaddingLeft ! [all...] |
H A D | ViewGroup.java | 1174 if ((mPaddingLeft | mPaddingTop | mPaddingRight | mPaddingRight) != 0) { 1356 canvas.clipRect(mScrollX + mPaddingLeft, mScrollY + mPaddingTop, 3105 mPaddingLeft + mPaddingRight, lp.width); 3132 mPaddingLeft + mPaddingRight + lp.leftMargin + lp.rightMargin
|