Searched refs:mPaddingLeft (Results 1 - 23 of 23) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/widget/
H A DLabelView.java80 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 DAbsSeekBar.java206 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 DAbsoluteLayout.java84 maxWidth += mPaddingLeft + mPaddingRight;
118 int childLeft = mPaddingLeft + lp.x;
H A DImageView.java642 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 DGallery.java437 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 DHorizontalScrollView.java257 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 DFrameLayout.java257 maxWidth += mPaddingLeft + mPaddingRight + mForegroundPaddingLeft + mForegroundPaddingRight;
282 final int parentLeft = mPaddingLeft + mForegroundPaddingLeft;
373 selfBounds.set(mPaddingLeft, mPaddingTop, w - mPaddingRight, h - mPaddingBottom);
H A DProgressBar.java801 final int scrollX = mScrollX + mPaddingLeft;
815 int right = w - mPaddingRight - mPaddingLeft;
836 canvas.translate(mPaddingLeft, mPaddingTop);
871 dw += mPaddingLeft + mPaddingRight;
H A DAbsSpinner.java169 mSpinnerPadding.left = mPaddingLeft > mSelectionLeftPadding ? mPaddingLeft
H A DRelativeLayout.java488 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 DLinearLayout.java513 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 DScrollView.java313 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 DTableLayout.java559 int size = MeasureSpec.getSize(widthMeasureSpec) - mPaddingLeft - mPaddingRight;
H A DExpandableListView.java242 canvas.clipRect(scrollX + mPaddingLeft, scrollY + mPaddingTop,
H A DTextView.java1252 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 DAbsListView.java1238 listPadding.left = mSelectionLeftPadding + mPaddingLeft;
1469 canvas.clipRect(scrollX + mPaddingLeft, scrollY + mPaddingTop,
H A DListView.java3011 bounds.left = mPaddingLeft;
/frameworks/base/core/tests/coretests/src/android/util/
H A DInternalSelectionView.java110 int desiredWidth = 300 + mPaddingLeft + mPaddingRight;
145 int rectLeft = mPaddingLeft;
188 rect.set(mPaddingLeft,
/frameworks/base/core/java/android/inputmethodservice/
H A DKeyboardView.java574 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 DLockPatternView.java439 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 DLoadAverageService.java256 int neededWidth = mPaddingLeft + mPaddingRight + maxWidth;
/frameworks/base/core/java/android/view/
H A DView.java1687 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 DViewGroup.java1174 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

Completed in 1018 milliseconds