Home
last modified time | relevance | path

Searched refs:specWidth (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusIconContainer.java160 final int specWidth = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() local
177 int childWidthSpec = MeasureSpec.makeMeasureSpec(specWidth, MeasureSpec.UNSPECIFIED); in onMeasure()
197 getMeasuredWidth(widthMode, specWidth, totalWidth), in onMeasure()
213 private int getMeasuredWidth(int widthMode, int specWidth, int totalWidth) { in getMeasuredWidth() argument
215 if (!mNeedsUnderflow && totalWidth > specWidth) { in getMeasuredWidth()
218 return specWidth; in getMeasuredWidth()
220 if (widthMode == MeasureSpec.AT_MOST && totalWidth > specWidth) { in getMeasuredWidth()
222 totalWidth = specWidth; in getMeasuredWidth()
/frameworks/base/media/java/android/media/
DWebVttRenderer.java1570 final int specWidth = MeasureSpec.getSize(widthMeasureSpec); in measureForParent() local
1575 final int size = width * specWidth / 100; in measureForParent()
1765 final int specWidth = MeasureSpec.getSize(widthMeasureSpec); in measureForParent() local
1793 final int size = Math.min(cue.mSize, maximumSize) * specWidth / 100; in measureForParent()