/frameworks/base/core/tests/coretests/src/android/widget/ |
D | LabelView.java | 81 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/ |
D | InternalSelectionView.java | 127 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/ |
D | AbsSeekBar.java | 237 int trackHeight = Math.min(mMaxHeight, h - mPaddingTop - mPaddingBottom); 251 - mPaddingTop); 257 - mPaddingTop); 301 canvas.translate(mPaddingLeft - mThumbOffset, mPaddingTop); 320 dh += mPaddingTop + mPaddingBottom;
|
D | AbsoluteLayout.java | 85 maxHeight += mPaddingTop + mPaddingBottom; in onMeasure() 119 int childTop = mPaddingTop + lp.y; in onLayout()
|
D | HorizontalScrollView.java | 320 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()
|
D | ImageView.java | 686 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()
|
D | AdapterViewAnimator.java | 669 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()
|
D | ScrollView.java | 263 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()
|
D | QuickContactBadge.java | 124 if (mPaddingTop == 0 && mPaddingLeft == 0) { in onDraw() 129 canvas.translate(mPaddingLeft, mPaddingTop); in onDraw()
|
D | LinearLayout.java | 461 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()
|
D | FrameLayout.java | 264 return mForegroundInPadding ? Math.max(mPaddingTop, mForegroundPaddingTop) : in getPaddingTopWithForeground() 265 mPaddingTop + mForegroundPaddingTop; in getPaddingTopWithForeground() 466 … selfBounds.set(mPaddingLeft, mPaddingTop, w - mPaddingRight, h - mPaddingBottom); in draw()
|
D | RelativeLayout.java | 499 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()
|
D | ProgressBar.java | 908 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()
|
D | AbsSpinner.java | 171 mSpinnerPadding.top = mPaddingTop > mSelectionTopPadding ? mPaddingTop in onMeasure()
|
D | StackView.java | 1099 int childBottom = mPaddingTop + child.getMeasuredHeight(); 1102 child.layout(mPaddingLeft + lp.horizontalOffset, mPaddingTop + lp.verticalOffset, 1132 - mPaddingTop - mPaddingBottom; 1182 mPaddingTop + mPaddingBottom : 0; 1186 + mPaddingTop + mPaddingBottom;
|
D | TableRow.java | 218 mPaddingTop + mPaddingBottom + lp.topMargin + in measureChildBeforeLayout()
|
D | AbsListView.java | 1798 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;
|
D | ExpandableListView.java | 243 canvas.clipRect(scrollX + mPaddingLeft, scrollY + mPaddingTop, in dispatchDraw()
|
D | ListView.java | 1099 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/ |
D | LoadAverageService.java | 199 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/ |
D | FragmentBreadCrumbs.java | 169 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/ |
D | KeyboardView.java | 587 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/ |
D | LockPatternView.java | 453 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/ |
D | View.java | 2247 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 …]
|
D | ViewGroup.java | 2284 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()
|