Home
last modified time | relevance | path

Searched refs:actualWidth (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DMessagingImageTransformState.java101 public void setStartActualWidth(int actualWidth) { in setStartActualWidth() argument
102 mTransformedView.setTag(START_ACTUAL_WIDTH, actualWidth); in setStartActualWidth()
110 public void setStartActualHeight(int actualWidth) { in setStartActualHeight() argument
111 mTransformedView.setTag(START_ACTUAL_HEIGHT, actualWidth); in setStartActualHeight()
/frameworks/base/core/java/android/text/method/
DTouch.java62 final int actualWidth = right - left; in scrollTo() local
64 if (actualWidth < availableWidth) { in scrollTo()
66 x = left - ((availableWidth - actualWidth) / 2); in scrollTo()
72 x = left - (availableWidth - actualWidth); in scrollTo()
/frameworks/support/textclassifier/src/main/java/androidx/textclassifier/
DTextClassification.java327 final int actualWidth = Math.max(1, drawable.getIntrinsicWidth()); in drawableToBitmap() local
329 final double scaleWidth = ((double) maxDims) / actualWidth; in drawableToBitmap()
332 final int width = (int) (actualWidth * scale); in drawableToBitmap()
336 if (actualWidth != width || actualHeight != height) { in drawableToBitmap()
/frameworks/base/core/java/com/android/internal/widget/
DMessagingImageMessage.java231 public void setActualWidth(int actualWidth) {
232 mActualWidth = actualWidth;
/frameworks/base/services/autofill/java/com/android/server/autofill/ui/
DSaveUi.java381 final int actualWidth = serviceIcon.getMinimumWidth(); in setServiceIcon() local
384 if (actualWidth <= maxWidth && actualHeight <= maxHeight) { in setServiceIcon()
387 + "(" + actualWidth + "x" + actualHeight + ") as it's less than maximum " in setServiceIcon()
393 + "(" + actualWidth + "x" + actualHeight + ") because maximum is " in setServiceIcon()