Searched refs:horizontalPadding (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/core/java/android/text/method/ |
D | Touch.java | 38 final int horizontalPadding = widget.getTotalPaddingLeft() + widget.getTotalPaddingRight(); in scrollTo() local 39 final int availableWidth = widget.getWidth() - horizontalPadding; in scrollTo()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardSliceView.java | 563 int horizontalPadding = (int) getContext().getResources() in updatePadding() local 565 setPadding(horizontalPadding, 0, horizontalPadding * (hasText ? 1 : -1), 0); in updatePadding()
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/ |
D | PageAdapter.java | 459 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/android/inputmethodservice/ |
D | Keyboard.java | 597 CharSequence characters, int columns, int horizontalPadding) { in Keyboard() argument 614 || x + mDefaultWidth + horizontalPadding > mDisplayWidth) { in Keyboard()
|
/frameworks/base/core/java/android/widget/ |
D | HorizontalScrollView.java | 1361 final int horizontalPadding = mPaddingLeft + mPaddingRight; in measureChild() local 1363 Math.max(0, MeasureSpec.getSize(parentWidthMeasureSpec) - horizontalPadding), in measureChild()
|
D | TextView.java | 7372 final int horizontalPadding = getCompoundPaddingLeft(); in invalidateCursorPath() local 7396 invalidate((int) Math.floor(horizontalPadding + TEMP_RECTF.left - thick), in invalidateCursorPath() 7398 (int) Math.ceil(horizontalPadding + TEMP_RECTF.right + thick), in invalidateCursorPath() 7403 invalidate(bounds.left + horizontalPadding, bounds.top + verticalPadding, in invalidateCursorPath() 7404 bounds.right + horizontalPadding, bounds.bottom + verticalPadding); in invalidateCursorPath()
|