Home
last modified time | relevance | path

Searched refs:mPaddingTop (Results 1 – 25 of 41) 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.java129 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/
DDualHeightHorizontalLinearLayout.kt66 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/
DNotificationTopLineView.java173 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/
DScrollView.java408 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 …]
DAbsoluteLayout.java89 maxHeight += mPaddingTop + mPaddingBottom; in onMeasure()
123 int childTop = mPaddingTop + lp.y; in onLayout()
DAbsSeekBar.java671 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;
DAdapterViewAnimator.java686 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()
DHorizontalScrollView.java446 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()
DImageView.java1165 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()
DLinearLayout.java626 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()
DQuickContactBadge.java164 if (mPaddingTop == 0 && mPaddingLeft == 0) { in onDraw()
169 canvas.translate(mPaddingLeft, mPaddingTop); in onDraw()
DRelativeLayout.java619 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()
DAbsSpinner.java185 mSpinnerPadding.top = mPaddingTop > mSelectionTopPadding ? mPaddingTop in onMeasure()
DFrameLayout.java169 return isForegroundInsidePadding() ? Math.max(mPaddingTop, mForegroundPaddingTop) : in getPaddingTopWithForeground()
170 mPaddingTop + mForegroundPaddingTop; in getPaddingTopWithForeground()
/frameworks/base/core/java/com/android/internal/widget/
DMessagingLinearLayout.java94 totalHeight = mPaddingTop + mPaddingBottom; in onMeasure()
128 - mPaddingTop - mPaddingBottom + spacing); in onMeasure()
195 childTop = mPaddingTop; in onLayout()
DAlertDialogLayout.java294 childTop = mPaddingTop + bottom - top - totalLength; in onLayout()
299 childTop = mPaddingTop + (bottom - top - totalLength) / 2; in onLayout()
304 childTop = mPaddingTop; in onLayout()
DWatchListDecorLayout.java275 return isForegroundInsidePadding() ? Math.max(mPaddingTop, mForegroundPaddingTop) : in getPaddingTopWithForeground()
276 mPaddingTop + mForegroundPaddingTop; in getPaddingTopWithForeground()
DSubtitleView.java228 final int height = layout.getHeight() + mPaddingTop + mPaddingBottom; in onMeasure()
302 c.translate(mPaddingLeft + innerPaddingX, mPaddingTop); in onDraw()
DLockPatternView.java674 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/
DFragmentBreadCrumbs.java207 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/
DLayerDrawable.java315 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/
DNonInterceptingScrollView.java104 child.getHeight() - (getHeight() - mPaddingBottom - mPaddingTop)); in getScrollRange()
/frameworks/base/core/java/android/inputmethodservice/
DKeyboardView.java609 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/
DObservableScrollView.java64 child.getHeight() - (getHeight() - mPaddingBottom - mPaddingTop)); in getMaxScrollY()

12