Home
last modified time | relevance | path

Searched refs:bubbleWidth (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Settings/src/com/android/settings/display/
DMessageBubbleBackground.java38 int bubbleWidth = getMeasuredWidth() - widthPadding; in onMeasure() local
41 bubbleWidth = Math.min(maxWidth, in onMeasure()
42 (int) (Math.ceil(bubbleWidth / (float) mSnapWidthPixels) * mSnapWidthPixels)); in onMeasure()
44 MeasureSpec.makeMeasureSpec(bubbleWidth + widthPadding, MeasureSpec.EXACTLY), in onMeasure()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/display/
DMessageBubbleBackground.java38 int bubbleWidth = getMeasuredWidth() - widthPadding; in onMeasure() local
41 bubbleWidth = Math.min(maxWidth, in onMeasure()
42 (int) (Math.ceil(bubbleWidth / (float) mSnapWidthPixels) * mSnapWidthPixels)); in onMeasure()
44 MeasureSpec.makeMeasureSpec(bubbleWidth + widthPadding, MeasureSpec.EXACTLY), in onMeasure()
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
DMessageBubbleBackground.java38 int bubbleWidth = getMeasuredWidth() - widthPadding; in onMeasure() local
41 bubbleWidth = Math.min(maxWidth, in onMeasure()
42 (int) (Math.ceil(bubbleWidth / (float) mSnapWidthPixels) * mSnapWidthPixels)); in onMeasure()
44 MeasureSpec.makeMeasureSpec(bubbleWidth + widthPadding, MeasureSpec.EXACTLY), in onMeasure()