/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()
|
D | InternalSelectionView.java | 130 mNumRows * mEstimatedPixelHeight + mPaddingTop + mPaddingBottom; in measureHeight() 144 int rectTop = mPaddingTop; in onDraw() 184 final int availableHeight = getHeight() - mPaddingTop - mPaddingBottom; in getRowHeight() 196 final int top = mPaddingTop + row * rowHeight; in getRectForRow()
|
/frameworks/base/core/java/android/view/ |
D | NotificationTopLineView.java | 176 int childSpace = ownHeight - mPaddingTop - mPaddingBottom; in onLayout() 180 int baselineY = mPaddingTop + ((childSpace - (mMaxAscent + mMaxDescent)) / 2) + mMaxAscent; in onLayout() 195 childTop = mPaddingTop + params.topMargin; in onLayout() 206 childTop = mPaddingTop + (childSpace - childHeight) / 2; in onLayout() 209 childTop = mPaddingTop + ((childSpace - childHeight) / 2) in onLayout() 222 childTop = mPaddingTop; in onLayout()
|
/frameworks/base/core/java/android/widget/ |
D | ScrollView.java | 424 return getHeight() < childHeight + mPaddingTop + mPaddingBottom; in canScroll() 493 heightPadding = mPaddingTop + mPaddingBottom + lp.topMargin + lp.bottomMargin; in onMeasure() 496 heightPadding = mPaddingTop + mPaddingBottom; in onMeasure() 1082 final int viewportHeight = getHeight() - mPaddingBottom - mPaddingTop; in performAccessibilityActionInternal() 1091 final int viewportHeight = getHeight() - mPaddingBottom - mPaddingTop; in performAccessibilityActionInternal() 1143 child.getHeight() - (getHeight() - mPaddingBottom - mPaddingTop)); in getScrollRange() 1441 final int height = getHeight() - mPaddingBottom - mPaddingTop; in smoothScrollBy() 1479 final int contentHeight = getHeight() - mPaddingBottom - mPaddingTop; in computeVerticalScrollRange() 1511 final int verticalPadding = mPaddingTop + mPaddingBottom; in measureChild() 1527 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 | 691 final int childHeight = getMeasuredHeight() - mPaddingTop - mPaddingBottom; in measureChildren() 713 heightSpecSize = haveChildRefSize ? mReferenceChildHeight + mPaddingTop + in onMeasure() 717 int height = mReferenceChildHeight + mPaddingTop + mPaddingBottom; in onMeasure() 776 int childBottom = mPaddingTop + child.getMeasuredHeight(); in onLayout() 778 child.layout(mPaddingLeft, mPaddingTop, childRight, childBottom); in onLayout()
|
D | HorizontalScrollView.java | 456 heightPadding = mPaddingTop + mPaddingBottom + lp.topMargin + lp.bottomMargin; in onMeasure() 459 heightPadding = mPaddingTop + mPaddingBottom; in onMeasure() 1425 mPaddingTop + mPaddingBottom, lp.height); in measureChild() 1435 mPaddingTop + mPaddingBottom + lp.topMargin + lp.bottomMargin in measureChildWithMargins() 1876 y = clamp(y, getHeight() - mPaddingBottom - mPaddingTop, child.getHeight()); in scrollTo() 1895 final int height = getHeight() - mPaddingTop - mPaddingBottom; in draw() 1898 canvas.translate(-height + mPaddingTop, Math.min(0, scrollX)); in draw() 1908 final int height = getHeight() - mPaddingTop - mPaddingBottom; in draw() 1911 canvas.translate(-mPaddingTop, in draw()
|
D | ImageView.java | 1169 final int ptop = mPaddingTop; in onMeasure() 1290 final int vheight = getHeight() - mPaddingTop - mPaddingBottom; in configureBounds() 1402 final int vheight = getHeight() - mPaddingTop - mPaddingBottom; in animateTransform() 1427 if (mDrawMatrix == null && mPaddingTop == 0 && mPaddingLeft == 0) { in onDraw() 1436 canvas.clipRect(scrollX + mPaddingLeft, scrollY + mPaddingTop, in onDraw() 1441 canvas.translate(mPaddingLeft, mPaddingTop); in onDraw()
|
D | LinearLayout.java | 626 childTop += ((mBottom - mTop - mPaddingTop - mPaddingBottom) - in getBaseline() 978 mTotalLength += mPaddingTop + mPaddingBottom; in measureVertical() 1056 mTotalLength += mPaddingTop + mPaddingBottom; in measureVertical() 1433 mPaddingTop + mPaddingBottom + lp.topMargin + lp.bottomMargin, in measureHorizontal() 1530 maxHeight += mPaddingTop + mPaddingBottom; in measureHorizontal() 1677 childTop = mPaddingTop + bottom - top - mTotalLength; in layoutVertical() 1682 childTop = mPaddingTop + (bottom - top - mTotalLength) / 2; in layoutVertical() 1687 childTop = mPaddingTop; in layoutVertical() 1763 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()
|
D | StackView.java | 1114 int childBottom = mPaddingTop + child.getMeasuredHeight(); 1117 child.layout(mPaddingLeft + lp.horizontalOffset, mPaddingTop + lp.verticalOffset, 1147 - mPaddingTop - mPaddingBottom; 1197 mPaddingTop + mPaddingBottom : 0; 1201 + mPaddingTop + mPaddingBottom;
|
/frameworks/base/core/java/com/android/internal/widget/ |
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 | NotificationOptimizedLinearLayout.java | 401 totalLength += mPaddingTop + mPaddingBottom; in measureVerticalOptimized() 489 childTop = mPaddingTop + bottom - top - mTotalLength; in layoutVerticalOptimized() 494 childTop = mPaddingTop + (bottom - top - mTotalLength) / 2; in layoutVerticalOptimized() 499 childTop = mPaddingTop; in layoutVerticalOptimized()
|
D | MessagingLinearLayout.java | 108 totalHeight = mPaddingTop + mPaddingBottom; in onMeasure() 142 - mPaddingTop - mPaddingBottom + spacing); in onMeasure() 212 childTop = mPaddingTop; in onLayout()
|
D | WatchListDecorLayout.java | 275 return isForegroundInsidePadding() ? Math.max(mPaddingTop, mForegroundPaddingTop) : in getPaddingTopWithForeground() 276 mPaddingTop + mForegroundPaddingTop; in getPaddingTopWithForeground()
|
D | SubtitleView.java | 229 final int height = layout.getHeight() + mPaddingTop + mPaddingBottom; in onMeasure() 303 c.translate(mPaddingLeft + innerPaddingX, mPaddingTop); in onDraw()
|
/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 | 115 child.getHeight() - (getHeight() - mPaddingBottom - mPaddingTop)); in getScrollRange()
|
/frameworks/base/core/java/android/inputmethodservice/ |
D | KeyboardView.java | 611 setMeasuredDimension(mPaddingLeft + mPaddingRight, mPaddingTop + mPaddingBottom); in onMeasure() 617 setMeasuredDimension(width, mKeyboard.getHeight() + mPaddingTop + mPaddingBottom); in onMeasure() 686 final int kbdPaddingTop = mPaddingTop; in onBufferDraw() 1061 mDirtyRect.union(key.x + mPaddingLeft, key.y + mPaddingTop, in invalidateKey() 1062 key.x + key.width + mPaddingLeft, key.y + key.height + mPaddingTop); in invalidateKey() 1064 invalidate(key.x + mPaddingLeft, key.y + mPaddingTop, in invalidateKey() 1065 key.x + key.width + mPaddingLeft, key.y + key.height + mPaddingTop); in invalidateKey() 1151 mPopupY = popupKey.y + mPaddingTop; in onLongPress() 1234 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()
|