Home
last modified time | relevance | path

Searched refs:verticalPadding (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/core/java/android/text/method/
DTouch.java47 … final int verticalPadding = widget.getTotalPaddingTop() + widget.getTotalPaddingBottom(); in scrollTo() local
48 final int bottom = layout.getLineForVertical(y + widget.getHeight() - verticalPadding); in scrollTo()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DPageAdapter.java466 final int verticalPadding; in updatePreviewAreaPageSizeAndEmptyState() local
469 verticalPadding = Math.max(0, in updatePreviewAreaPageSizeAndEmptyState()
473 verticalPadding = Math.max(mPreviewListPadding, in updatePreviewAreaPageSizeAndEmptyState()
477 mPreviewArea.setPadding(horizontalPadding, verticalPadding, in updatePreviewAreaPageSizeAndEmptyState()
478 horizontalPadding, verticalPadding); in updatePreviewAreaPageSizeAndEmptyState()
/frameworks/base/core/java/com/android/internal/widget/
DActionBarContextView.java321 final int verticalPadding = getPaddingTop() + getPaddingBottom(); in onMeasure() local
323 final int height = maxHeight - verticalPadding; in onMeasure()
372 int paddedViewHeight = v.getMeasuredHeight() + verticalPadding; in onMeasure()
DGridLayoutManager.java289 final int verticalPadding = getPaddingTop() + getPaddingBottom(); in setMeasuredDimension() local
291 final int usedHeight = childrenBounds.height() + verticalPadding; in setMeasuredDimension()
298 height = chooseSize(hSpec, mCachedBorders[mCachedBorders.length - 1] + verticalPadding, in setMeasuredDimension()
DActionBarView.java919 final int verticalPadding = getPaddingTop() + getPaddingBottom(); in onMeasure() local
922 final int height = maxHeight - verticalPadding; in onMeasure()
1072 int paddedViewHeight = v.getMeasuredHeight() + verticalPadding; in onMeasure()
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/
DPeopleTileViewHelper.java1135 int verticalPadding = (int) Math.floor(mMediumVerticalPadding * mDensity); in setViewForContentLayout() local
1136 views.setViewPadding(R.id.content, horizontalPadding, verticalPadding, in setViewForContentLayout()
1138 verticalPadding); in setViewForContentLayout()
/frameworks/base/core/java/android/widget/
DScrollView.java1419 final int verticalPadding = mPaddingTop + mPaddingBottom; in measureChild() local
1421 Math.max(0, MeasureSpec.getSize(parentHeightMeasureSpec) - verticalPadding), in measureChild()
DTextView.java7502 final int verticalPadding = getExtendedPaddingTop() + getVerticalOffset(true); in invalidateCursorPath() local
7526 (int) Math.floor(verticalPadding + TEMP_RECTF.top - thick), in invalidateCursorPath()
7528 (int) Math.ceil(verticalPadding + TEMP_RECTF.bottom + thick)); in invalidateCursorPath()
7532 invalidate(bounds.left + horizontalPadding, bounds.top + verticalPadding, in invalidateCursorPath()
7533 bounds.right + horizontalPadding, bounds.bottom + verticalPadding); in invalidateCursorPath()
7590 final int verticalPadding = getExtendedPaddingTop() + getVerticalOffset(true); in invalidateRegion() local
7604 invalidate(mScrollX + left, verticalPadding + top, in invalidateRegion()
7605 mScrollX + right, verticalPadding + bottom); in invalidateRegion()