/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 | 129 mNumRows * mEstimatedPixelHeight + mPaddingTop + mPaddingBottom; in measureHeight() 143 int rectTop = mPaddingTop; in onDraw() 183 final int availableHeight = getHeight() - mPaddingTop - mPaddingBottom; in getRowHeight() 195 final int top = mPaddingTop + row * rowHeight; in getRectForRow()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/ |
D | DualHeightHorizontalLinearLayout.kt | 66 private var initialPadding = mPaddingTop // All vertical padding is the same in <lambda>() 126 mPaddingTop = 0 in <lambda>() 129 mPaddingTop = initialPadding in <lambda>()
|
/frameworks/base/core/java/android/view/ |
D | NotificationTopLineView.java | 173 int childSpace = ownHeight - mPaddingTop - mPaddingBottom; in onLayout() 177 int baselineY = mPaddingTop + ((childSpace - (mMaxAscent + mMaxDescent)) / 2) + mMaxAscent; in onLayout() 192 childTop = mPaddingTop + params.topMargin; in onLayout() 203 childTop = mPaddingTop + (childSpace - childHeight) / 2; in onLayout() 206 childTop = mPaddingTop + ((childSpace - childHeight) / 2) in onLayout() 219 childTop = mPaddingTop; in onLayout()
|
/frameworks/base/core/java/android/widget/ |
D | ScrollView.java | 408 return getHeight() < childHeight + mPaddingTop + mPaddingBottom; in canScroll() 477 heightPadding = mPaddingTop + mPaddingBottom + lp.topMargin + lp.bottomMargin; in onMeasure() 480 heightPadding = mPaddingTop + mPaddingBottom; in onMeasure() 990 final int viewportHeight = getHeight() - mPaddingBottom - mPaddingTop; in performAccessibilityActionInternal() 999 final int viewportHeight = getHeight() - mPaddingBottom - mPaddingTop; in performAccessibilityActionInternal() 1051 child.getHeight() - (getHeight() - mPaddingBottom - mPaddingTop)); in getScrollRange() 1349 final int height = getHeight() - mPaddingBottom - mPaddingTop; in smoothScrollBy() 1387 final int contentHeight = getHeight() - mPaddingBottom - mPaddingTop; in computeVerticalScrollRange() 1419 final int verticalPadding = mPaddingTop + mPaddingBottom; in measureChild() 1435 final int usedTotal = mPaddingTop + mPaddingBottom + lp.topMargin + lp.bottomMargin + in measureChildWithMargins() [all …]
|
D | AbsoluteLayout.java | 89 maxHeight += mPaddingTop + mPaddingBottom; in onMeasure() 123 int childTop = mPaddingTop + lp.y; in onLayout()
|
D | AbsSeekBar.java | 671 final int paddedHeight = h - mPaddingTop - mPaddingBottom; 746 final int offsetY = mPaddingTop; 771 mThumbRect.offset(mPaddingLeft - mThumbOffset, mPaddingTop); 825 tempRect.offset(mPaddingLeft - mThumbOffset, mPaddingTop); 874 canvas.translate(mPaddingLeft - mThumbOffset, mPaddingTop); 893 dh += mPaddingTop + mPaddingBottom;
|
D | AdapterViewAnimator.java | 686 final int childHeight = getMeasuredHeight() - mPaddingTop - mPaddingBottom; in measureChildren() 708 heightSpecSize = haveChildRefSize ? mReferenceChildHeight + mPaddingTop + in onMeasure() 712 int height = mReferenceChildHeight + mPaddingTop + mPaddingBottom; in onMeasure() 771 int childBottom = mPaddingTop + child.getMeasuredHeight(); in onLayout() 773 child.layout(mPaddingLeft, mPaddingTop, childRight, childBottom); in onLayout()
|
D | HorizontalScrollView.java | 446 heightPadding = mPaddingTop + mPaddingBottom + lp.topMargin + lp.bottomMargin; in onMeasure() 449 heightPadding = mPaddingTop + mPaddingBottom; in onMeasure() 1391 mPaddingTop + mPaddingBottom, lp.height); in measureChild() 1401 mPaddingTop + mPaddingBottom + lp.topMargin + lp.bottomMargin in measureChildWithMargins() 1763 y = clamp(y, getHeight() - mPaddingBottom - mPaddingTop, child.getHeight()); in scrollTo() 1782 final int height = getHeight() - mPaddingTop - mPaddingBottom; in draw() 1785 canvas.translate(-height + mPaddingTop, Math.min(0, scrollX)); in draw() 1795 final int height = getHeight() - mPaddingTop - mPaddingBottom; in draw() 1798 canvas.translate(-mPaddingTop, in draw()
|
D | ImageView.java | 1165 final int ptop = mPaddingTop; in onMeasure() 1286 final int vheight = getHeight() - mPaddingTop - mPaddingBottom; in configureBounds() 1398 final int vheight = getHeight() - mPaddingTop - mPaddingBottom; in animateTransform() 1423 if (mDrawMatrix == null && mPaddingTop == 0 && mPaddingLeft == 0) { in onDraw() 1432 canvas.clipRect(scrollX + mPaddingLeft, scrollY + mPaddingTop, in onDraw() 1437 canvas.translate(mPaddingLeft, mPaddingTop); in onDraw()
|
D | LinearLayout.java | 626 childTop += ((mBottom - mTop - mPaddingTop - mPaddingBottom) - in getBaseline() 942 mTotalLength += mPaddingTop + mPaddingBottom; in measureVertical() 1020 mTotalLength += mPaddingTop + mPaddingBottom; in measureVertical() 1381 mPaddingTop + mPaddingBottom + lp.topMargin + lp.bottomMargin, in measureHorizontal() 1474 maxHeight += mPaddingTop + mPaddingBottom; in measureHorizontal() 1621 childTop = mPaddingTop + bottom - top - mTotalLength; in layoutVertical() 1626 childTop = mPaddingTop + (bottom - top - mTotalLength) / 2; in layoutVertical() 1631 childTop = mPaddingTop; in layoutVertical() 1707 final int paddingTop = mPaddingTop; in layoutHorizontal()
|
D | QuickContactBadge.java | 164 if (mPaddingTop == 0 && mPaddingLeft == 0) { in onDraw() 169 canvas.translate(mPaddingLeft, mPaddingTop); in onDraw()
|
D | RelativeLayout.java | 619 selfBounds.set(mPaddingLeft, mPaddingTop, width - mPaddingRight, in onMeasure() 694 mPaddingTop, mPaddingBottom, in measureChild() 720 maxHeight = Math.max(0, myHeight - mPaddingTop - mPaddingBottom in measureChildHorizontal() 895 params.mTop = mPaddingTop + params.topMargin; in positionChildVertical() 900 params.mTop = mPaddingTop + params.topMargin; in positionChildVertical() 998 childParams.mTop = mPaddingTop + childParams.topMargin; in applyVerticalSizeRules() 1005 childParams.mTop = mPaddingTop + childParams.topMargin; in applyVerticalSizeRules() 1018 childParams.mTop = mPaddingTop + childParams.topMargin; in applyVerticalSizeRules()
|
D | AbsSpinner.java | 185 mSpinnerPadding.top = mPaddingTop > mSelectionTopPadding ? mPaddingTop in onMeasure()
|
D | FrameLayout.java | 169 return isForegroundInsidePadding() ? Math.max(mPaddingTop, mForegroundPaddingTop) : in getPaddingTopWithForeground() 170 mPaddingTop + mForegroundPaddingTop; in getPaddingTopWithForeground()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | MessagingLinearLayout.java | 94 totalHeight = mPaddingTop + mPaddingBottom; in onMeasure() 128 - mPaddingTop - mPaddingBottom + spacing); in onMeasure() 195 childTop = mPaddingTop; in onLayout()
|
D | AlertDialogLayout.java | 294 childTop = mPaddingTop + bottom - top - totalLength; in onLayout() 299 childTop = mPaddingTop + (bottom - top - totalLength) / 2; in onLayout() 304 childTop = mPaddingTop; in onLayout()
|
D | WatchListDecorLayout.java | 275 return isForegroundInsidePadding() ? Math.max(mPaddingTop, mForegroundPaddingTop) : in getPaddingTopWithForeground() 276 mPaddingTop + mForegroundPaddingTop; in getPaddingTopWithForeground()
|
D | SubtitleView.java | 228 final int height = layout.getHeight() + mPaddingTop + mPaddingBottom; in onMeasure() 302 c.translate(mPaddingLeft + innerPaddingX, mPaddingTop); in onDraw()
|
D | LockPatternView.java | 674 final int height = h - mPaddingTop - mPaddingBottom; in onSizeChanged() 679 mNotSelectedDrawable.setBounds(mPaddingLeft, mPaddingTop, width, height); in onSizeChanged() 680 mSelectedDrawable.setBounds(mPaddingLeft, mPaddingTop, width, height); in onSizeChanged() 871 float offset = mPaddingTop + (squareHeight - hitSize) / 2f; in getRowHit() 1114 return mPaddingTop + row * mSquareHeight + mSquareHeight / 2f; in getCenterYForRow() 1314 (int) (mPaddingTop + i * mSquareHeight), 1316 (int) (mPaddingTop + (i + 1) * mSquareHeight));
|
/frameworks/base/core/java/android/app/ |
D | FragmentBreadCrumbs.java | 207 final int childTop = mPaddingTop; in onLayout() 208 final int childBottom = mPaddingTop + child.getMeasuredHeight() - mPaddingBottom; in onLayout() 266 maxHeight += mPaddingTop + mPaddingBottom; in onMeasure()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | LayerDrawable.java | 315 state.mPaddingTop = a.getDimensionPixelOffset(attr, state.mPaddingTop); in updateStateFromTypedArray() 1038 final int paddingT = layerState.mPaddingTop; in getPadding() 1094 layerState.mPaddingTop = top; in setPadding() 1127 layerState.mPaddingTop = top; in setPaddingRelative() 1214 return mLayerState.mPaddingTop; in getTopPadding() 1940 int mPaddingTop = -1; 1987 mPaddingTop = orig.mPaddingTop; 2022 if (mPaddingTop > 0) { 2023 mPaddingTop = Drawable.scaleFromDensity( 2024 mPaddingTop, sourceDensity, targetDensity, false);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | NonInterceptingScrollView.java | 104 child.getHeight() - (getHeight() - mPaddingBottom - mPaddingTop)); in getScrollRange()
|
/frameworks/base/core/java/android/inputmethodservice/ |
D | KeyboardView.java | 609 setMeasuredDimension(mPaddingLeft + mPaddingRight, mPaddingTop + mPaddingBottom); in onMeasure() 615 setMeasuredDimension(width, mKeyboard.getHeight() + mPaddingTop + mPaddingBottom); in onMeasure() 684 final int kbdPaddingTop = mPaddingTop; in onBufferDraw() 1059 mDirtyRect.union(key.x + mPaddingLeft, key.y + mPaddingTop, in invalidateKey() 1060 key.x + key.width + mPaddingLeft, key.y + key.height + mPaddingTop); in invalidateKey() 1062 invalidate(key.x + mPaddingLeft, key.y + mPaddingTop, in invalidateKey() 1063 key.x + key.width + mPaddingLeft, key.y + key.height + mPaddingTop); in invalidateKey() 1149 mPopupY = popupKey.y + mPaddingTop; in onLongPress() 1232 int touchY = (int) me.getY() - mPaddingTop;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | ObservableScrollView.java | 64 child.getHeight() - (getHeight() - mPaddingBottom - mPaddingTop)); in getMaxScrollY()
|