/aosp12/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
H A D | ControlPanelLayout.java | 40 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 D | RotateLayout.java | 65 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 D | IndicatorControlWheelContainer.java | 117 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 D | ListPopupWindow.java | 650 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 D | RotateLayout.java | 70 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 D | StickyHeaderRecyclerView.java | 75 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 D | KeyguardSecurityViewFlipper.java | 112 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 D | MeasureHelper.java | 45 public void measure(int widthSpec, int heightSpec) { in measure() argument 48 getLength(widthSpec, mPreferredWidth + p.left + p.right), in measure()
|
H A D | GLView.java | 365 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 D | PreviewFrameLayout.java | 63 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 D | DropTargetBar.java | 145 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 D | BaseTooltipView.java | 274 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 D | UniqueObjectHostView.kt | 46 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 D | GlobalActionsPopupMenu.java | 95 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 D | HierarchicalMove.java | 100 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 D | NotificationShadeActivity.java | 131 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 D | PinnedHeaderListView.java | 363 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 D | TransitionUtils.java | 107 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 D | SubtitleView.java | 207 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 D | ResolverDrawerLayout.java | 935 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 D | SubtitleView.java | 220 final int widthSpec = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() local 222 if (computeMeasurements(widthSpec)) { in onMeasure()
|
H A D | RecyclerView.java | 3072 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 D | GridLayoutManager.java | 742 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 D | StaggeredGridView.java | 778 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 D | SnackBarManager.java | 290 final int widthSpec = ViewGroup.getChildMeasureSpec( in measureSnackBar() local 296 rootView.measure(widthSpec, heightSpec); in measureSnackBar()
|