Home
last modified time | relevance | path

Searched refs:verticalPadding (Results 1 – 7 of 7) 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.java320 final int verticalPadding = getPaddingTop() + getPaddingBottom(); in onMeasure() local
322 final int height = maxHeight - verticalPadding; in onMeasure()
371 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/core/java/android/widget/
DScrollView.java1390 final int verticalPadding = mPaddingTop + mPaddingBottom; in measureChild() local
1392 Math.max(0, MeasureSpec.getSize(parentHeightMeasureSpec) - verticalPadding), in measureChild()
DTextView.java7411 final int verticalPadding = getExtendedPaddingTop() + getVerticalOffset(true); in invalidateCursorPath() local
7435 (int) Math.floor(verticalPadding + TEMP_RECTF.top - thick), in invalidateCursorPath()
7437 (int) Math.ceil(verticalPadding + TEMP_RECTF.bottom + thick)); in invalidateCursorPath()
7441 invalidate(bounds.left + horizontalPadding, bounds.top + verticalPadding, in invalidateCursorPath()
7442 bounds.right + horizontalPadding, bounds.bottom + verticalPadding); in invalidateCursorPath()
7499 final int verticalPadding = getExtendedPaddingTop() + getVerticalOffset(true); in invalidateRegion() local
7513 invalidate(mScrollX + left, verticalPadding + top, in invalidateRegion()
7514 mScrollX + right, verticalPadding + bottom); in invalidateRegion()