Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DUdfpsDialogMeasureAdapter.java326 final int horizontalPadding = sensorDistanceFromEdge in calculateHorizontalSpacerWidthForLandscape() local
334 + ", Horizontal spacer width (landscape): " + horizontalPadding); in calculateHorizontalSpacerWidthForLandscape()
336 return horizontalPadding; in calculateHorizontalSpacerWidthForLandscape()
/frameworks/base/core/java/android/text/method/
DTouch.java38 final int horizontalPadding = widget.getTotalPaddingLeft() + widget.getTotalPaddingRight(); in scrollTo() local
39 final int availableWidth = widget.getWidth() - horizontalPadding; in scrollTo()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DPageAdapter.java459 final int horizontalPadding = (availableWidth - totalContentWidth) / 2; in updatePreviewAreaPageSizeAndEmptyState() local
477 mPreviewArea.setPadding(horizontalPadding, verticalPadding, in updatePreviewAreaPageSizeAndEmptyState()
478 horizontalPadding, verticalPadding); in updatePreviewAreaPageSizeAndEmptyState()
/frameworks/base/core/java/com/android/internal/widget/
DGridLayoutManager.java288 final int horizontalPadding = getPaddingLeft() + getPaddingRight(); in setMeasuredDimension() local
293 width = chooseSize(wSpec, mCachedBorders[mCachedBorders.length - 1] + horizontalPadding, in setMeasuredDimension()
296 final int usedWidth = childrenBounds.width() + horizontalPadding; in setMeasuredDimension()
/frameworks/base/core/java/android/inputmethodservice/
DKeyboard.java597 CharSequence characters, int columns, int horizontalPadding) { in Keyboard() argument
614 || x + mDefaultWidth + horizontalPadding > mDisplayWidth) { in Keyboard()
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/
DPeopleTileViewHelper.java1134 int horizontalPadding = (int) Math.floor(MAX_MEDIUM_PADDING * mDensity); in setViewForContentLayout() local
1136 views.setViewPadding(R.id.content, horizontalPadding, verticalPadding, in setViewForContentLayout()
1137 horizontalPadding, in setViewForContentLayout()
/frameworks/base/core/java/android/widget/
DHorizontalScrollView.java1385 final int horizontalPadding = mPaddingLeft + mPaddingRight; in measureChild() local
1387 Math.max(0, MeasureSpec.getSize(parentWidthMeasureSpec) - horizontalPadding), in measureChild()
DTextView.java7501 final int horizontalPadding = getCompoundPaddingLeft(); in invalidateCursorPath() local
7525 invalidate((int) Math.floor(horizontalPadding + TEMP_RECTF.left - thick), in invalidateCursorPath()
7527 (int) Math.ceil(horizontalPadding + TEMP_RECTF.right + thick), in invalidateCursorPath()
7532 invalidate(bounds.left + horizontalPadding, bounds.top + verticalPadding, in invalidateCursorPath()
7533 bounds.right + horizontalPadding, bounds.bottom + verticalPadding); in invalidateCursorPath()