/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/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/vo/ |
D | ViewBindingObject.java | 57 private int mPaddingTop = 13; field in ViewBindingObject 150 return mPaddingTop; in getPaddingTop() 172 mPaddingTop = 130; in changeValues()
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | InternalSelectionView.java | 132 mNumRows * mEstimatedPixelHeight + mPaddingTop + mPaddingBottom; in measureHeight() 146 int rectTop = mPaddingTop; in onDraw() 186 final int availableHeight = getHeight() - mPaddingTop - mPaddingBottom; in getRowHeight() 198 final int top = mPaddingTop + row * rowHeight; in getRectForRow()
|
/frameworks/base/core/java/android/widget/ |
D | ScrollView.java | 301 return getHeight() < childHeight + mPaddingTop + mPaddingBottom; in canScroll() 369 heightPadding = mPaddingTop + mPaddingBottom + lp.topMargin + lp.bottomMargin; in onMeasure() 372 heightPadding = mPaddingTop + mPaddingBottom; in onMeasure() 855 final int viewportHeight = getHeight() - mPaddingBottom - mPaddingTop; in performAccessibilityActionInternal() 864 final int viewportHeight = getHeight() - mPaddingBottom - mPaddingTop; in performAccessibilityActionInternal() 918 child.getHeight() - (getHeight() - mPaddingBottom - mPaddingTop)); in getScrollRange() 1216 final int height = getHeight() - mPaddingBottom - mPaddingTop; in smoothScrollBy() 1254 final int contentHeight = getHeight() - mPaddingBottom - mPaddingTop; in computeVerticalScrollRange() 1286 final int verticalPadding = mPaddingTop + mPaddingBottom; in measureChild() 1302 final int usedTotal = mPaddingTop + mPaddingBottom + lp.topMargin + lp.bottomMargin + in measureChildWithMargins() [all …]
|
D | AbsoluteLayout.java | 88 maxHeight += mPaddingTop + mPaddingBottom; in onMeasure() 122 int childTop = mPaddingTop + lp.y; in onLayout()
|
D | HorizontalScrollView.java | 342 heightPadding = mPaddingTop + mPaddingBottom + lp.topMargin + lp.bottomMargin; in onMeasure() 345 heightPadding = mPaddingTop + mPaddingBottom; in onMeasure() 1269 mPaddingTop + mPaddingBottom, lp.height); in measureChild() 1279 mPaddingTop + mPaddingBottom + lp.topMargin + lp.bottomMargin in measureChildWithMargins() 1633 y = clamp(y, getHeight() - mPaddingBottom - mPaddingTop, child.getHeight()); in scrollTo() 1663 final int height = getHeight() - mPaddingTop - mPaddingBottom; in draw() 1666 canvas.translate(-height + mPaddingTop, Math.min(0, scrollX)); in draw() 1676 final int height = getHeight() - mPaddingTop - mPaddingBottom; in draw() 1679 canvas.translate(-mPaddingTop, in draw()
|
D | AbsSeekBar.java | 580 final int paddedHeight = h - mPaddingTop - mPaddingBottom; 655 final int offsetY = mPaddingTop; 689 tempRect.offset(mPaddingLeft - mThumbOffset, mPaddingTop); 737 canvas.translate(mPaddingLeft - mThumbOffset, mPaddingTop); 756 dh += mPaddingTop + mPaddingBottom;
|
D | AdapterViewAnimator.java | 683 final int childHeight = getMeasuredHeight() - mPaddingTop - mPaddingBottom; in measureChildren() 705 heightSpecSize = haveChildRefSize ? mReferenceChildHeight + mPaddingTop + in onMeasure() 709 int height = mReferenceChildHeight + mPaddingTop + mPaddingBottom; in onMeasure() 768 int childBottom = mPaddingTop + child.getMeasuredHeight(); in onLayout() 770 child.layout(mPaddingLeft, mPaddingTop, childRight, childBottom); in onLayout()
|
D | LinearLayout.java | 592 childTop += ((mBottom - mTop - mPaddingTop - mPaddingBottom) - in getBaseline() 906 mTotalLength += mPaddingTop + mPaddingBottom; in measureVertical() 983 mTotalLength += mPaddingTop + mPaddingBottom; in measureVertical() 1343 mPaddingTop + mPaddingBottom + lp.topMargin + lp.bottomMargin, in measureHorizontal() 1436 maxHeight += mPaddingTop + mPaddingBottom; in measureHorizontal() 1583 childTop = mPaddingTop + bottom - top - mTotalLength; in layoutVertical() 1588 childTop = mPaddingTop + (bottom - top - mTotalLength) / 2; in layoutVertical() 1593 childTop = mPaddingTop; in layoutVertical() 1669 final int paddingTop = mPaddingTop; in layoutHorizontal()
|
D | QuickContactBadge.java | 162 if (mPaddingTop == 0 && mPaddingLeft == 0) { in onDraw() 167 canvas.translate(mPaddingLeft, mPaddingTop); in onDraw()
|
D | ImageView.java | 1102 final int ptop = mPaddingTop; 1223 final int vheight = getHeight() - mPaddingTop - mPaddingBottom; 1348 if (mDrawMatrix == null && mPaddingTop == 0 && mPaddingLeft == 0) { 1357 canvas.clipRect(scrollX + mPaddingLeft, scrollY + mPaddingTop, 1362 canvas.translate(mPaddingLeft, mPaddingTop);
|
D | RelativeLayout.java | 599 selfBounds.set(mPaddingLeft, mPaddingTop, width - mPaddingRight, in onMeasure() 674 mPaddingTop, mPaddingBottom, in measureChild() 700 maxHeight = Math.max(0, myHeight - mPaddingTop - mPaddingBottom in measureChildHorizontal() 875 params.mTop = mPaddingTop + params.topMargin; in positionChildVertical() 880 params.mTop = mPaddingTop + params.topMargin; in positionChildVertical() 978 childParams.mTop = mPaddingTop + childParams.topMargin; in applyVerticalSizeRules() 985 childParams.mTop = mPaddingTop + childParams.topMargin; in applyVerticalSizeRules() 998 childParams.mTop = mPaddingTop + childParams.topMargin; in applyVerticalSizeRules()
|
D | FrameLayout.java | 160 return isForegroundInsidePadding() ? Math.max(mPaddingTop, mForegroundPaddingTop) : in getPaddingTopWithForeground() 161 mPaddingTop + mForegroundPaddingTop; in getPaddingTopWithForeground()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | MessagingLinearLayout.java | 110 int totalHeight = mPaddingTop + mPaddingBottom; in onMeasure() 133 - mPaddingTop - mPaddingBottom + spacing); in onMeasure() 158 int totalHeight = mPaddingTop + mPaddingBottom; in onMeasure() 221 childTop = mPaddingTop;
|
D | AlertDialogLayout.java | 292 childTop = mPaddingTop + bottom - top - totalLength; in onLayout() 297 childTop = mPaddingTop + (bottom - top - totalLength) / 2; in onLayout() 302 childTop = mPaddingTop; in onLayout()
|
D | LockPatternView.java | 630 final int height = h - mPaddingTop - mPaddingBottom; in onSizeChanged() 635 mNotSelectedDrawable.setBounds(mPaddingLeft, mPaddingTop, width, height); in onSizeChanged() 636 mSelectedDrawable.setBounds(mPaddingLeft, mPaddingTop, width, height); in onSizeChanged() 827 float offset = mPaddingTop + (squareHeight - hitSize) / 2f; in getRowHit() 1051 return mPaddingTop + row * mSquareHeight + mSquareHeight / 2f; in getCenterYForRow() 1221 (int) (mPaddingTop + i * mSquareHeight), 1223 (int) (mPaddingTop + (i + 1) * mSquareHeight));
|
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() 299 c.translate(mPaddingLeft + innerPaddingX, mPaddingTop); in onDraw()
|
/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/graphics/java/android/graphics/drawable/ |
D | LayerDrawable.java | 309 state.mPaddingTop = a.getDimensionPixelOffset(attr, state.mPaddingTop); in updateStateFromTypedArray() 1030 final int paddingT = layerState.mPaddingTop; in getPadding() 1086 layerState.mPaddingTop = top; in setPadding() 1119 layerState.mPaddingTop = top; in setPaddingRelative() 1206 return mLayerState.mPaddingTop; in getTopPadding() 1930 int mPaddingTop = -1; 1977 mPaddingTop = orig.mPaddingTop; 2012 if (mPaddingTop > 0) { 2013 mPaddingTop = Drawable.scaleFromDensity( 2014 mPaddingTop, sourceDensity, targetDensity, false);
|
/frameworks/base/core/java/android/app/ |
D | FragmentBreadCrumbs.java | 204 final int childTop = mPaddingTop; in onLayout() 205 final int childBottom = mPaddingTop + child.getMeasuredHeight() - mPaddingBottom; in onLayout() 263 maxHeight += mPaddingTop + mPaddingBottom; in onMeasure()
|
/frameworks/base/core/java/android/inputmethodservice/ |
D | KeyboardView.java | 601 setMeasuredDimension(mPaddingLeft + mPaddingRight, mPaddingTop + mPaddingBottom); in onMeasure() 607 setMeasuredDimension(width, mKeyboard.getHeight() + mPaddingTop + mPaddingBottom); in onMeasure() 674 final int kbdPaddingTop = mPaddingTop; in onBufferDraw() 1048 mDirtyRect.union(key.x + mPaddingLeft, key.y + mPaddingTop, in invalidateKey() 1049 key.x + key.width + mPaddingLeft, key.y + key.height + mPaddingTop); in invalidateKey() 1051 invalidate(key.x + mPaddingLeft, key.y + mPaddingTop, in invalidateKey() 1052 key.x + key.width + mPaddingLeft, key.y + key.height + mPaddingTop); in invalidateKey() 1137 mPopupY = popupKey.y + mPaddingTop; in onLongPress() 1220 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()
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
D | ListRowPresenter.java | 64 final int mPaddingTop; field in ListRowPresenter.ViewHolder 73 mPaddingTop = mGridView.getPaddingTop(); in ViewHolder() 551 paddingTop = (vh.isSelected() ? sExpandedSelectedRowTopPadding : vh.mPaddingTop) in setVerticalPadding()
|
/frameworks/support/design/src/android/support/design/internal/ |
D | NavigationMenuPresenter.java | 658 private final int mPaddingTop; field in NavigationMenuPresenter.NavigationMenuSeparatorItem 663 mPaddingTop = paddingTop; in NavigationMenuSeparatorItem() 668 return mPaddingTop; in getPaddingTop()
|