Searched defs:widthMeasureSpec (Results 1 - 25 of 219) sorted by relevance

123456789

/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/
H A DDialogTitle.java53 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument
54 super.onMeasure(widthMeasureSpec, heightMeasureSpec);
77 super.onMeasure(widthMeasureSpec, heightMeasureSpec);
H A DAppCompatRatingBar.java55 protected synchronized void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument
56 super.onMeasure(widthMeasureSpec, heightMeasureSpec);
61 setMeasuredDimension(View.resolveSizeAndState(width, widthMeasureSpec, 0),
/frameworks/base/core/java/android/widget/
H A DDayPickerViewPager.java53 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument
60 MeasureSpec.getMode(widthMeasureSpec) != MeasureSpec.EXACTLY ||
70 measureChild(child, widthMeasureSpec, heightMeasureSpec);
99 setMeasuredDimension(resolveSizeAndState(maxWidth, widthMeasureSpec, childState),
117 childWidthMeasureSpec = getChildMeasureSpec(widthMeasureSpec,
H A DSpace.java95 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument
97 getDefaultSize2(getSuggestedMinimumWidth(), widthMeasureSpec),
/frameworks/base/core/java/com/android/internal/widget/
H A DDialogTitle.java49 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument
50 super.onMeasure(widthMeasureSpec, heightMeasureSpec);
72 super.onMeasure(widthMeasureSpec, heightMeasureSpec);
H A DDialogViewAnimator.java42 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument
44 MeasureSpec.getMode(widthMeasureSpec) != MeasureSpec.EXACTLY ||
64 measureChildWithMargins(child, widthMeasureSpec, 0, heightMeasureSpec, 0);
102 setMeasuredDimension(resolveSizeAndState(maxWidth, widthMeasureSpec, childState),
119 childWidthMeasureSpec = getChildMeasureSpec(widthMeasureSpec,
H A DPreferenceImageView.java46 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument
47 final int widthMode = MeasureSpec.getMode(widthMeasureSpec);
49 final int widthSize = MeasureSpec.getSize(widthMeasureSpec);
53 widthMeasureSpec = MeasureSpec.makeMeasureSpec(maxWidth, MeasureSpec.AT_MOST);
67 super.onMeasure(widthMeasureSpec, heightMeasureSpec);
H A DRemeasuringLinearLayout.java52 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument
53 super.onMeasure(widthMeasureSpec, heightMeasureSpec);
H A DWeightedLinearLayout.java57 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument
62 final int widthMode = getMode(widthMeasureSpec);
64 super.onMeasure(widthMeasureSpec, heightMeasureSpec);
69 widthMeasureSpec = MeasureSpec.makeMeasureSpec(width, EXACTLY);
77 widthMeasureSpec = MeasureSpec.makeMeasureSpec(weightedMin, EXACTLY);
80 widthMeasureSpec = MeasureSpec.makeMeasureSpec(weightedMax, EXACTLY);
88 super.onMeasure(widthMeasureSpec, heightMeasureSpec);
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/notification/
H A DZenRadioLayout.java39 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument
40 super.onMeasure(widthMeasureSpec, heightMeasureSpec);
66 super.onMeasure(widthMeasureSpec, heightMeasureSpec);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DKeyboardShortcutAppItemLayout.java45 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument
46 if (MeasureSpec.getMode(widthMeasureSpec) == MeasureSpec.EXACTLY) {
49 int totalMeasuredWidth = MeasureSpec.getSize(widthMeasureSpec);
58 super.onMeasure(widthMeasureSpec, heightMeasureSpec);
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/
H A DButtonBarLayout.java47 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument
48 final int widthSize = MeasureSpec.getSize(widthMeasureSpec);
54 int initialWidthMeasureSpec = widthMeasureSpec;
55 if (MeasureSpec.getMode(widthMeasureSpec) == MeasureSpec.EXACTLY) {
74 super.onMeasure(widthMeasureSpec, heightMeasureSpec);
H A DIntrinsicSizeFrameLayout.java68 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument
69 super.onMeasure(getIntrinsicMeasureSpec(widthMeasureSpec, mIntrinsicWidth),
/frameworks/support/browser/src/main/java/androidx/browser/browseractions/
H A DBrowserActionsFallbackMenuView.java46 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument
50 widthMeasureSpec = MeasureSpec.makeMeasureSpec(contextMenuWidth, MeasureSpec.EXACTLY);
51 super.onMeasure(widthMeasureSpec, heightMeasureSpec);
/frameworks/support/frameworks/support/samples/SupportDesignDemos/src/main/java/com/example/android/support/design/widget/
H A DCustomSnackbarMainContent.java47 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument
48 super.onMeasure(widthMeasureSpec, heightMeasureSpec);
/frameworks/support/legacy/core-ui/src/main/java/androidx/legacy/widget/
H A DSpace.java106 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument
108 getDefaultSize2(getSuggestedMinimumWidth(), widthMeasureSpec),
/frameworks/support/samples/SupportDesignDemos/src/main/java/com/example/android/support/design/widget/
H A DCustomSnackbarMainContent.java47 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument
48 super.onMeasure(widthMeasureSpec, heightMeasureSpec);
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/
H A DPrintOptionsLayout.java54 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument
55 final int widthMode = MeasureSpec.getMode(widthMeasureSpec);
56 final int widthSize = MeasureSpec.getSize(widthMeasureSpec);
93 childWidthMeasureSpec = getChildMeasureSpec(widthMeasureSpec,
121 setMeasuredDimension(resolveSizeAndState(width, widthMeasureSpec, childState),
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DResizingSpace.java98 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument
100 getDefaultSize2(getSuggestedMinimumWidth(), widthMeasureSpec),
/frameworks/base/services/autofill/java/com/android/server/autofill/ui/
H A DCustomScrollView.java58 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument
59 super.onMeasure(widthMeasureSpec, heightMeasureSpec);
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DTextPathActivity.java52 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument
53 setMeasuredDimension(MeasureSpec.getSize(widthMeasureSpec), 3000);
/frameworks/base/tests/WindowAnimationJank/src/android/windowanimationjank/
H A DFlowLayout.java36 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument
38 MeasureSpec.getSize(widthMeasureSpec) - getPaddingLeft() -getPaddingRight();
/frameworks/layoutlib/bridge/src/android/view/
H A DView_Delegate.java76 /*package*/ static void measure(View thisView, int widthMeasureSpec, int heightMeasureSpec) { argument
80 thisView.measure_Original(widthMeasureSpec, heightMeasureSpec);
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/
H A DFixedAspectSurfaceView.java86 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument
88 int widthMode = MeasureSpec.getMode(widthMeasureSpec);
90 int width = MeasureSpec.getSize(widthMeasureSpec);
143 width = View.resolveSizeAndState(width, widthMeasureSpec, 0);
H A DVerticalSeekBar.java47 protected synchronized void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { argument
48 super.onMeasure(heightMeasureSpec, widthMeasureSpec);

Completed in 426 milliseconds

123456789