Home
last modified time | relevance | path

Searched refs:widthSpecSize (Results 1 – 9 of 9) sorted by relevance

/aosp12/packages/apps/LegacyCamera/src/com/android/camera/ui/
H A DControlPanelLayout.java41 int widthSpecSize = MeasureSpec.getSize(widthSpec); in onMeasure() local
51 longSideSize = widthSpecSize; in onMeasure()
53 specSize = widthSpecSize; in onMeasure()
57 shortSideSize = widthSpecSize; in onMeasure()
61 if (widthSpecSize > 0 && heightSpecSize > 0 && mode == MeasureSpec.AT_MOST) { in onMeasure()
/aosp12/frameworks/base/core/java/android/widget/
H A DVideoView.java192 int widthSpecSize = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() local
198 width = widthSpecSize; in onMeasure()
211 width = widthSpecSize; in onMeasure()
221 if (widthSpecMode == MeasureSpec.AT_MOST && width > widthSpecSize) { in onMeasure()
223 width = widthSpecSize; in onMeasure()
234 if (widthSpecMode == MeasureSpec.AT_MOST && width > widthSpecSize) { in onMeasure()
236 width = widthSpecSize; in onMeasure()
H A DAdapterViewAnimator.java697 int widthSpecSize = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() local
722 widthSpecSize = haveChildRefSize ? mReferenceChildWidth + mPaddingLeft + in onMeasure()
727 if (width > widthSpecSize) { in onMeasure()
728 widthSpecSize |= MEASURED_STATE_TOO_SMALL; in onMeasure()
730 widthSpecSize = width; in onMeasure()
735 setMeasuredDimension(widthSpecSize, heightSpecSize); in onMeasure()
H A DSlidingDrawer.java284 int widthSpecSize = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() local
298 mContent.measure(MeasureSpec.makeMeasureSpec(widthSpecSize, MeasureSpec.EXACTLY), in onMeasure()
301 int width = widthSpecSize - handle.getMeasuredWidth() - mTopOffset; in onMeasure()
306 setMeasuredDimension(widthSpecSize, heightSpecSize); in onMeasure()
H A DStackView.java1184 int widthSpecSize = MeasureSpec.getSize(widthMeasureSpec);
1215 widthSpecSize = haveChildRefSize ?
1221 if (width <= widthSpecSize) {
1222 widthSpecSize = width;
1224 widthSpecSize |= MEASURED_STATE_TOO_SMALL;
1227 widthSpecSize = 0;
1230 setMeasuredDimension(widthSpecSize, heightSpecSize);
/aosp12/packages/apps/TV/tuner/src/com/android/tv/tuner/layout/
H A DScaledLayout.java131 int widthSpecSize = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() local
133 int width = widthSpecSize - getPaddingLeft() - getPaddingRight(); in onMeasure()
261 setMeasuredDimension(widthSpecSize, heightSpecSize); in onMeasure()
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/
H A DShortcutAndWidgetContainer.java94 int widthSpecSize = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() local
96 setMeasuredDimension(widthSpecSize, heightSpecSize); in onMeasure()
/aosp12/frameworks/base/core/java/com/android/internal/widget/
H A DSlidingTab.java488 int widthSpecSize = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() local
511 width = Math.max(widthSpecSize, leftTabWidth + rightTabWidth); in onMeasure()
/aosp12/frameworks/base/media/java/android/media/
H A DCea708CaptionRenderer.java1145 int widthSpecSize = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() local
1147 int width = widthSpecSize - getPaddingLeft() - getPaddingRight(); in onMeasure()
1257 setMeasuredDimension(widthSpecSize, heightSpecSize); in onMeasure()