/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/core/java/android/widget/ |
D | ScrollView.java | 402 return getHeight() < childHeight + mPaddingTop + mPaddingBottom; in canScroll() 471 heightPadding = mPaddingTop + mPaddingBottom + lp.topMargin + lp.bottomMargin; in onMeasure() 474 heightPadding = mPaddingTop + mPaddingBottom; in onMeasure() 961 final int viewportHeight = getHeight() - mPaddingBottom - mPaddingTop; in performAccessibilityActionInternal() 970 final int viewportHeight = getHeight() - mPaddingBottom - mPaddingTop; in performAccessibilityActionInternal() 1024 child.getHeight() - (getHeight() - mPaddingBottom - mPaddingTop)); in getScrollRange() 1322 final int height = getHeight() - mPaddingBottom - mPaddingTop; in smoothScrollBy() 1360 final int contentHeight = getHeight() - mPaddingBottom - mPaddingTop; in computeVerticalScrollRange() 1392 final int verticalPadding = mPaddingTop + mPaddingBottom; in measureChild() 1408 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 | 669 final int paddedHeight = h - mPaddingTop - mPaddingBottom; 744 final int offsetY = mPaddingTop; 769 mThumbRect.offset(mPaddingLeft - mThumbOffset, mPaddingTop); 817 tempRect.offset(mPaddingLeft - mThumbOffset, mPaddingTop); 866 canvas.translate(mPaddingLeft - mThumbOffset, mPaddingTop); 885 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 | 439 heightPadding = mPaddingTop + mPaddingBottom + lp.topMargin + lp.bottomMargin; in onMeasure() 442 heightPadding = mPaddingTop + mPaddingBottom; in onMeasure() 1367 mPaddingTop + mPaddingBottom, lp.height); in measureChild() 1377 mPaddingTop + mPaddingBottom + lp.topMargin + lp.bottomMargin in measureChildWithMargins() 1731 y = clamp(y, getHeight() - mPaddingBottom - mPaddingTop, child.getHeight()); in scrollTo() 1750 final int height = getHeight() - mPaddingTop - mPaddingBottom; in draw() 1753 canvas.translate(-height + mPaddingTop, Math.min(0, scrollX)); in draw() 1763 final int height = getHeight() - mPaddingTop - mPaddingBottom; in draw() 1766 canvas.translate(-mPaddingTop, in draw()
|
D | ImageView.java | 1159 final int ptop = mPaddingTop; in onMeasure() 1280 final int vheight = getHeight() - mPaddingTop - mPaddingBottom; in configureBounds() 1392 final int vheight = getHeight() - mPaddingTop - mPaddingBottom; in animateTransform() 1417 if (mDrawMatrix == null && mPaddingTop == 0 && mPaddingLeft == 0) { in onDraw() 1426 canvas.clipRect(scrollX + mPaddingLeft, scrollY + mPaddingTop, in onDraw() 1431 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 | 618 selfBounds.set(mPaddingLeft, mPaddingTop, width - mPaddingRight, in onMeasure() 693 mPaddingTop, mPaddingBottom, in measureChild() 719 maxHeight = Math.max(0, myHeight - mPaddingTop - mPaddingBottom in measureChildHorizontal() 894 params.mTop = mPaddingTop + params.topMargin; in positionChildVertical() 899 params.mTop = mPaddingTop + params.topMargin; in positionChildVertical() 997 childParams.mTop = mPaddingTop + childParams.topMargin; in applyVerticalSizeRules() 1004 childParams.mTop = mPaddingTop + childParams.topMargin; in applyVerticalSizeRules() 1017 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()
|
D | StackView.java | 1112 int childBottom = mPaddingTop + child.getMeasuredHeight(); 1115 child.layout(mPaddingLeft + lp.horizontalOffset, mPaddingTop + lp.verticalOffset, 1145 - mPaddingTop - mPaddingBottom; 1195 mPaddingTop + mPaddingBottom : 0; 1199 + mPaddingTop + mPaddingBottom;
|
/frameworks/layoutlib/studio-custom-widgets/src/com/android/tools/idea/editors/theme/widgets/ |
D | ThemePreviewLayout.java | 161 mPaddingBottom + mPaddingTop; in onMeasure() 177 int y = mPaddingTop; in onLayout() 191 y = mPaddingTop; in onLayout()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | MessagingLinearLayout.java | 89 totalHeight = mPaddingTop + mPaddingBottom; in onMeasure() 109 - mPaddingTop - mPaddingBottom + spacing); in onMeasure() 158 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 | LockPatternView.java | 672 final int height = h - mPaddingTop - mPaddingBottom; in onSizeChanged() 677 mNotSelectedDrawable.setBounds(mPaddingLeft, mPaddingTop, width, height); in onSizeChanged() 678 mSelectedDrawable.setBounds(mPaddingLeft, mPaddingTop, width, height); in onSizeChanged() 869 float offset = mPaddingTop + (squareHeight - hitSize) / 2f; in getRowHit() 1098 return mPaddingTop + row * mSquareHeight + mSquareHeight / 2f; in getCenterYForRow() 1287 (int) (mPaddingTop + i * mSquareHeight), 1289 (int) (mPaddingTop + (i + 1) * mSquareHeight));
|
D | SubtitleView.java | 228 final int height = layout.getHeight() + mPaddingTop + mPaddingBottom; in onMeasure() 302 c.translate(mPaddingLeft + innerPaddingX, mPaddingTop); in onDraw()
|
D | ImageFloatingTextView.java | 121 int availableHeight = MeasureSpec.getSize(heightMeasureSpec) - mPaddingTop - mPaddingBottom; in onMeasure()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | LayerDrawable.java | 314 state.mPaddingTop = a.getDimensionPixelOffset(attr, state.mPaddingTop); in updateStateFromTypedArray() 1037 final int paddingT = layerState.mPaddingTop; in getPadding() 1093 layerState.mPaddingTop = top; in setPadding() 1126 layerState.mPaddingTop = top; in setPaddingRelative() 1213 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/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/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()
|