Home
last modified time | relevance | path

Searched refs:widthSpec (Results 1 – 25 of 39) sorted by relevance

12

/aosp12/packages/apps/LegacyCamera/src/com/android/camera/ui/
H A DControlPanelLayout.java40 protected void onMeasure(int widthSpec, int heightSpec) { in onMeasure() argument
41 int widthSpecSize = MeasureSpec.getSize(widthSpec); in onMeasure()
50 mode = MeasureSpec.getMode(widthSpec); in onMeasure()
81 widthSpec = MeasureSpec.makeMeasureSpec(measuredSize, MeasureSpec.EXACTLY); in onMeasure()
86 super.onMeasure(widthSpec, heightSpec); in onMeasure()
H A DRotateLayout.java65 protected void onMeasure(int widthSpec, int heightSpec) { in onMeasure() argument
70 measureChild(mChild, widthSpec, heightSpec); in onMeasure()
76 measureChild(mChild, heightSpec, widthSpec); in onMeasure()
H A DIndicatorControlWheelContainer.java117 protected void onMeasure(int widthSpec, int heightSpec) { in onMeasure() argument
128 int widthMode = MeasureSpec.getMode(widthSpec); in onMeasure()
134 measuredWidth = Math.min(desiredWidth, MeasureSpec.getSize(widthSpec)); in onMeasure()
136 measuredWidth = MeasureSpec.getSize(widthSpec); in onMeasure()
/aosp12/frameworks/base/core/java/android/widget/
H A DListPopupWindow.java650 final int widthSpec; in show() local
654 widthSpec = -1; in show()
656 widthSpec = getAnchorView().getWidth(); in show()
658 widthSpec = mDropDownWidth; in show()
684 mDropDownVerticalOffset, (widthSpec < 0)? -1 : widthSpec, in show()
688 final int widthSpec; in show()
690 widthSpec = ViewGroup.LayoutParams.MATCH_PARENT; in show()
693 widthSpec = getAnchorView().getWidth(); in show()
695 widthSpec = mDropDownWidth; in show()
710 mPopup.setWidth(widthSpec); in show()
[all …]
/aosp12/packages/apps/Camera2/src/com/android/camera/ui/
H A DRotateLayout.java70 protected void onMeasure(int widthSpec, int heightSpec) { in onMeasure() argument
75 measureChild(mChild, widthSpec, heightSpec); in onMeasure()
81 measureChild(mChild, heightSpec, widthSpec); in onMeasure()
/aosp12/frameworks/opt/setupwizard/library/recyclerview/src/com/android/setupwizardlib/view/
H A DStickyHeaderRecyclerView.java75 protected void onMeasure(int widthSpec, int heightSpec) { in onMeasure() argument
76 super.onMeasure(widthSpec, heightSpec); in onMeasure()
78 measureChild(getHeader(), widthSpec, heightSpec); in onMeasure() local
/aosp12/frameworks/base/packages/SystemUI/src/com/android/keyguard/
H A DKeyguardSecurityViewFlipper.java112 protected void onMeasure(int widthSpec, int heightSpec) { in onMeasure() argument
113 final int widthMode = MeasureSpec.getMode(widthSpec); in onMeasure()
116 Log.w(TAG, "onMeasure: widthSpec " + MeasureSpec.toString(widthSpec) + in onMeasure()
124 final int widthSize = MeasureSpec.getSize(widthSpec); in onMeasure()
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DMeasureHelper.java45 public void measure(int widthSpec, int heightSpec) { in measure() argument
48 getLength(widthSpec, mPreferredWidth + p.left + p.right), in measure()
H A DGLView.java365 public void measure(int widthSpec, int heightSpec) { in measure() argument
366 if (widthSpec == mLastWidthSpec && heightSpec == mLastHeightSpec in measure()
371 mLastWidthSpec = widthSpec; in measure()
375 onMeasure(widthSpec, heightSpec); in measure()
382 protected void onMeasure(int widthSpec, int heightSpec) { in onMeasure() argument
/aosp12/packages/apps/LegacyCamera/src/com/android/camera/
H A DPreviewFrameLayout.java63 protected void onMeasure(int widthSpec, int heightSpec) { in onMeasure() argument
64 int previewWidth = MeasureSpec.getSize(widthSpec); in onMeasure()
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/
H A DDropTargetBar.java145 int widthSpec = MeasureSpec.makeMeasureSpec(width, MeasureSpec.EXACTLY); in onMeasure() local
151 button.measure(widthSpec, heightSpec); in onMeasure()
163 int widthSpec = MeasureSpec.makeMeasureSpec(availableWidth, MeasureSpec.AT_MOST); in onMeasure() local
168 button.measure(widthSpec, heightSpec); in onMeasure()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/
H A DBaseTooltipView.java274 final int widthSpec = in getTextWidthWith() local
278 mTextView.measure(widthSpec, heightSpec); in getTextWidthWith()
283 final int widthSpec = in getTextHeightWith() local
287 mTextView.measure(widthSpec, heightSpec); in getTextHeightWith()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/util/animation/
H A DUniqueObjectHostView.kt46 val widthSpec = MeasureSpec.makeMeasureSpec(width, MeasureSpec.getMode(widthMeasureSpec)) regex
49 val measurementInput = MeasurementInput(widthSpec, heightSpec)
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
H A DGlobalActionsPopupMenu.java95 int widthSpec = MeasureSpec.makeMeasureSpec( in show() local
100 child.measure(widthSpec, MeasureSpec.UNSPECIFIED); in show()
/aosp12/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/
H A DHierarchicalMove.java100 int widthSpec = wide ? LayoutParams.WRAP_CONTENT : LayoutParams.MATCH_PARENT; in sendMessage() local
101 LayoutParams params = new LayoutParams(widthSpec, LayoutParams.WRAP_CONTENT); in sendMessage()
/aosp12/frameworks/base/tests/UiBench/src/com/android/test/uibench/
H A DNotificationShadeActivity.java131 int widthSpec = MeasureSpec.makeMeasureSpec(getWidth(), MeasureSpec.AT_MOST); in updateState() local
133 child.measure(widthSpec, heightSpec); in updateState()
/aosp12/packages/apps/Contacts/src/com/android/contacts/list/
H A DPinnedHeaderListView.java363 int widthSpec; in ensurePinnedHeaderLayout() local
367 widthSpec = View.MeasureSpec in ensurePinnedHeaderLayout()
370 widthSpec = View.MeasureSpec in ensurePinnedHeaderLayout()
380 view.measure(widthSpec, heightSpec); in ensurePinnedHeaderLayout()
/aosp12/frameworks/base/core/java/android/transition/
H A DTransitionUtils.java107 int widthSpec = View.MeasureSpec.makeMeasureSpec(right - left, View.MeasureSpec.EXACTLY); in copyViewImage() local
109 copy.measure(widthSpec, heightSpec); in copyViewImage()
/aosp12/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/text/
H A DSubtitleView.java207 final int widthSpec = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() local
209 if (computeMeasurements(widthSpec)) { in onMeasure()
/aosp12/frameworks/base/core/java/com/android/internal/widget/
H A DResolverDrawerLayout.java935 final int widthSpec = MeasureSpec.makeMeasureSpec(widthSize, MeasureSpec.EXACTLY);
951 measureChildWithMargins(child, widthSpec, 0,
955 measureChildWithMargins(child, widthSpec, 0, heightSpec, heightUsed);
971 measureChildWithMargins(child, widthSpec, 0,
975 measureChildWithMargins(child, widthSpec, 0, heightSpec, heightUsed);
H A DSubtitleView.java220 final int widthSpec = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() local
222 if (computeMeasurements(widthSpec)) { in onMeasure()
H A DRecyclerView.java3072 protected void onMeasure(int widthSpec, int heightSpec) { in onMeasure() argument
3074 defaultOnMeasure(widthSpec, heightSpec); in onMeasure()
3078 final int widthMode = MeasureSpec.getMode(widthSpec); in onMeasure()
3082 mLayout.onMeasure(mRecycler, mState, widthSpec, heightSpec); in onMeasure()
3091 mLayout.setMeasureSpecs(widthSpec, heightSpec); in onMeasure()
3147 void defaultOnMeasure(int widthSpec, int heightSpec) { in defaultOnMeasure() argument
3150 final int width = LayoutManager.chooseSize(widthSpec, in defaultOnMeasure()
7048 mRecyclerView.defaultOnMeasure(widthSpec, heightSpec); in setMeasuredDimensionFromChildren()
8503 child.measure(widthSpec, heightSpec); in measureChild()
8605 child.measure(widthSpec, heightSpec); in measureChildWithMargins()
[all …]
H A DGridLayoutManager.java742 private void measureChildWithDecorationsAndMargin(View child, int widthSpec, int heightSpec, in measureChildWithDecorationsAndMargin() argument
747 measure = shouldReMeasureChild(child, widthSpec, heightSpec, lp); in measureChildWithDecorationsAndMargin()
749 measure = shouldMeasureChild(child, widthSpec, heightSpec, lp); in measureChildWithDecorationsAndMargin()
752 child.measure(widthSpec, heightSpec); in measureChildWithDecorationsAndMargin()
/aosp12/frameworks/ex/widget/java/com/android/ex/widget/
H A DStaggeredGridView.java778 final int widthSpec = MeasureSpec.makeMeasureSpec(widthSize, MeasureSpec.EXACTLY); in layoutChildren() local
787 child.measure(widthSpec, heightSpec); in layoutChildren()
906 final int widthSpec = MeasureSpec.makeMeasureSpec(widthSize, MeasureSpec.EXACTLY); in fillUp() local
944 child.measure(widthSpec, heightSpec); in fillUp()
1020 final int widthSpec = MeasureSpec.makeMeasureSpec(widthSize, MeasureSpec.EXACTLY); in fillDown() local
1058 child.measure(widthSpec, heightSpec); in fillDown()
/aosp12/packages/apps/Messaging/src/com/android/messaging/ui/
H A DSnackBarManager.java290 final int widthSpec = ViewGroup.getChildMeasureSpec( in measureSnackBar() local
296 rootView.measure(widthSpec, heightSpec); in measureSnackBar()

12