Home
last modified time | relevance | path

Searched refs:mPaddingTop (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/base/core/tests/coretests/src/android/widget/
DLabelView.java81 mPaddingTop = 3; in initLabelView()
167 result = (int) (-mAscent + mTextPaint.descent()) + mPaddingTop in measureHeight()
185 canvas.drawText(mText, mPaddingLeft, mPaddingTop - mAscent, mTextPaint); in onDraw()
/frameworks/base/core/tests/coretests/src/android/util/
DInternalSelectionView.java127 mNumRows * mEstimatedPixelHeight + mPaddingTop + mPaddingBottom; in measureHeight()
144 int rectTop = mPaddingTop; in onDraw()
182 return (getHeight() - mPaddingTop - mPaddingBottom) / mNumRows; in getRowHeight()
187 final int top = mPaddingTop + row * rowHeight; in getRectForRow()
/frameworks/base/core/java/android/widget/
DAbsSeekBar.java237 int trackHeight = Math.min(mMaxHeight, h - mPaddingTop - mPaddingBottom);
251 - mPaddingTop);
257 - mPaddingTop);
301 canvas.translate(mPaddingLeft - mThumbOffset, mPaddingTop);
320 dh += mPaddingTop + mPaddingBottom;
DAbsoluteLayout.java85 maxHeight += mPaddingTop + mPaddingBottom; in onMeasure()
119 int childTop = mPaddingTop + lp.y; in onLayout()
DHorizontalScrollView.java320 int childHeightMeasureSpec = getChildMeasureSpec(heightMeasureSpec, mPaddingTop in onMeasure()
1135 childHeightMeasureSpec = getChildMeasureSpec(parentHeightMeasureSpec, mPaddingTop in measureChild()
1149 mPaddingTop + mPaddingBottom + lp.topMargin + lp.bottomMargin in measureChildWithMargins()
1463 y = clamp(y, getHeight() - mPaddingBottom - mPaddingTop, child.getHeight()); in scrollTo()
1493 final int height = getHeight() - mPaddingTop - mPaddingBottom; in draw()
1496 canvas.translate(-height + mPaddingTop, Math.min(0, scrollX)); in draw()
1506 final int height = getHeight() - mPaddingTop - mPaddingBottom; in draw()
1509 canvas.translate(-mPaddingTop, in draw()
DImageView.java686 int ptop = mPaddingTop; in onMeasure()
794 int vheight = getHeight() - mPaddingTop - mPaddingBottom; 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.java669 final int childHeight = getMeasuredHeight() - mPaddingTop - mPaddingBottom; in measureChildren()
691 heightSpecSize = haveChildRefSize ? mReferenceChildHeight + mPaddingTop + in onMeasure()
695 int height = mReferenceChildHeight + mPaddingTop + mPaddingBottom; in onMeasure()
754 int childBottom = mPaddingTop + child.getMeasuredHeight(); in onLayout()
756 child.layout(mPaddingLeft, mPaddingTop, childRight, childBottom); in onLayout()
DScrollView.java263 return getHeight() < childHeight + mPaddingTop + mPaddingBottom; in canScroll()
331 height -= mPaddingTop; in onMeasure()
743 child.getHeight() - (getHeight() - mPaddingBottom - mPaddingTop)); in getScrollRange()
1077 final int height = getHeight() - mPaddingBottom - mPaddingTop; in smoothScrollBy()
1115 final int contentHeight = getHeight() - mPaddingBottom - mPaddingTop; in computeVerticalScrollRange()
1457 int height = getHeight() - mPaddingBottom - mPaddingTop; in fling()
1500 y = clamp(y, getHeight() - mPaddingBottom - mPaddingTop, child.getHeight()); in scrollTo()
DQuickContactBadge.java124 if (mPaddingTop == 0 && mPaddingLeft == 0) { in onDraw()
129 canvas.translate(mPaddingLeft, mPaddingTop); in onDraw()
DLinearLayout.java461 childTop += ((mBottom - mTop - mPaddingTop - mPaddingBottom) - in getBaseline()
758 mTotalLength += mPaddingTop + mPaddingBottom; in measureVertical()
840 mTotalLength += mPaddingTop + mPaddingBottom; in measureVertical()
1178 mPaddingTop + mPaddingBottom + lp.topMargin + lp.bottomMargin, in measureHorizontal()
1291 maxHeight += mPaddingTop + mPaddingBottom; in measureHorizontal()
1434 childTop = mPaddingTop + mBottom - mTop - mTotalLength; in layoutVertical()
1439 childTop = mPaddingTop + (mBottom - mTop - mTotalLength) / 2; in layoutVertical()
1444 childTop = mPaddingTop; in layoutVertical()
1505 final int paddingTop = mPaddingTop; in layoutHorizontal()
DFrameLayout.java264 return mForegroundInPadding ? Math.max(mPaddingTop, mForegroundPaddingTop) : in getPaddingTopWithForeground()
265 mPaddingTop + mForegroundPaddingTop; in getPaddingTopWithForeground()
466 … selfBounds.set(mPaddingLeft, mPaddingTop, w - mPaddingRight, h - mPaddingBottom); in draw()
DRelativeLayout.java499 selfBounds.set(mPaddingLeft, mPaddingTop, width - mPaddingRight, in onMeasure()
577 mPaddingTop, mPaddingBottom, in measureChild()
722 params.mTop = mPaddingTop + params.topMargin; in positionChildVertical()
727 params.mTop = mPaddingTop + params.topMargin; in positionChildVertical()
820 childParams.mTop = mPaddingTop + childParams.topMargin; in applyVerticalSizeRules()
827 childParams.mTop = mPaddingTop + childParams.topMargin; in applyVerticalSizeRules()
842 childParams.mTop = mPaddingTop + childParams.topMargin; in applyVerticalSizeRules()
DProgressBar.java908 final int scrollY = mScrollY + mPaddingTop; in invalidateDrawable()
935 int bottom = h - mPaddingBottom - mPaddingTop; in updateDrawableBounds()
979 canvas.translate(mPaddingLeft, mPaddingTop); in onDraw()
1016 dh += mPaddingTop + mPaddingBottom; in onMeasure()
DAbsSpinner.java171 mSpinnerPadding.top = mPaddingTop > mSelectionTopPadding ? mPaddingTop in onMeasure()
DStackView.java1099 int childBottom = mPaddingTop + child.getMeasuredHeight();
1102 child.layout(mPaddingLeft + lp.horizontalOffset, mPaddingTop + lp.verticalOffset,
1132 - mPaddingTop - mPaddingBottom;
1182 mPaddingTop + mPaddingBottom : 0;
1186 + mPaddingTop + mPaddingBottom;
DTableRow.java218 mPaddingTop + mPaddingBottom + lp.topMargin + in measureChildBeforeLayout()
DAbsListView.java1798 return top < mPaddingTop ? (float) -(top - mPaddingTop) / fadeLength : fadeEdge; in getTopFadingEdgeStrength()
1828 listPadding.top = mSelectionTopPadding + mPaddingTop; in onMeasure()
2081 canvas.clipRect(scrollX + mPaddingLeft, scrollY + mPaddingTop, in dispatchDraw()
2116 return (mGroupFlags & CLIP_TO_PADDING_MASK) == CLIP_TO_PADDING_MASK ? 0 : -mPaddingTop; in getTopPaddingOffset()
3792 delta = Math.min(getHeight() - mPaddingBottom - mPaddingTop - 1, delta);
3802 delta = Math.max(-(getHeight() - mPaddingBottom - mPaddingTop - 1), delta);
4431 final int height = getHeight() - mPaddingBottom - mPaddingTop;
DExpandableListView.java243 canvas.clipRect(scrollX + mPaddingLeft, scrollY + mPaddingTop, in dispatchDraw()
DListView.java1099 final int offset = Math.max(0, childBottom - (h - mPaddingTop)); in onSizeChanged()
2224 mSpecificTop = mPaddingTop + getVerticalFadingEdgeLength(); in pageScroll()
3005 final int listTop = mListPadding != null ? mListPadding.top : mPaddingTop;
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DLoadAverageService.java199 int top = mPaddingTop + 2; in onDraw()
200 int bottom = mPaddingTop + mFH - 2; in onDraw()
215 int y = mPaddingTop - (int)mAscent; in onDraw()
274 int neededHeight = mPaddingTop + mPaddingBottom + (mFH*(1+NW)); in updateDisplay()
/frameworks/base/core/java/android/app/
DFragmentBreadCrumbs.java169 int childBottom = mPaddingTop + child.getMeasuredHeight() - mPaddingBottom; in onLayout()
170 child.layout(mPaddingLeft, mPaddingTop, childRight, childBottom); in onLayout()
196 maxHeight += mPaddingTop + mPaddingBottom; in onMeasure()
/frameworks/base/core/java/android/inputmethodservice/
DKeyboardView.java587 setMeasuredDimension(mPaddingLeft + mPaddingRight, mPaddingTop + mPaddingBottom); in onMeasure()
593 setMeasuredDimension(width, mKeyboard.getHeight() + mPaddingTop + mPaddingBottom); in onMeasure()
660 final int kbdPaddingTop = mPaddingTop; in onBufferDraw()
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()
1127 mPopupY = popupKey.y + mPaddingTop; in onLongPress()
1228 int touchY = (int) me.getY() - mPaddingTop;
/frameworks/base/core/java/com/android/internal/widget/
DLockPatternView.java453 final int height = h - mPaddingTop - mPaddingBottom; in onSizeChanged()
591 float offset = mPaddingTop + (squareHeight - hitSize) / 2f; in getRowHit()
860 return mPaddingTop + row * mSquareHeight + mSquareHeight / 2f;
921 final int paddingTop = mPaddingTop;
/frameworks/base/core/java/android/view/
DView.java2247 protected int mPaddingTop; field in View
3088 topPadding >= 0 ? topPadding : mPaddingTop, in View()
4502 mPaddingTop = insets.top; in fitSystemWindows()
9035 setPadding(mUserPaddingLeft, mPaddingTop, mUserPaddingRight, mUserPaddingBottom);
9374 top = scrollY + (mPaddingTop & inside);
10785 int top = mPaddingTop;
10795 int padding = mPaddingTop;
11762 if (mPaddingTop != top) {
11764 mPaddingTop = top;
11821 return mPaddingTop;
[all …]
DViewGroup.java2284 if ((mPaddingLeft | mPaddingTop | mPaddingRight | mPaddingBottom) != 0) { in setPadding()
2478 canvas.clipRect(mScrollX + mPaddingLeft, mScrollY + mPaddingTop, in dispatchDraw()
4646 mPaddingTop + mPaddingBottom, lp.height); in measureChild()
4674 mPaddingTop + mPaddingBottom + lp.topMargin + lp.bottomMargin in measureChildWithMargins()

12