Home
last modified time | relevance | path

Searched refs:EXACTLY (Results 1 – 25 of 112) sorted by relevance

12345

/frameworks/rs/tests/java_api/RsCameraDemo/src/com/android/example/rscamera/
DFixedAspectSurfaceView.java102 if (widthMode == MeasureSpec.EXACTLY && heightMode == MeasureSpec.EXACTLY) { in onMeasure()
104 } else if (widthMode == MeasureSpec.EXACTLY) { in onMeasure()
107 } else if (heightMode == MeasureSpec.EXACTLY) { in onMeasure()
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/
DFixedAspectSurfaceView.java102 if (widthMode == MeasureSpec.EXACTLY && heightMode == MeasureSpec.EXACTLY) { in onMeasure()
104 } else if (widthMode == MeasureSpec.EXACTLY) { in onMeasure()
107 } else if (heightMode == MeasureSpec.EXACTLY) { in onMeasure()
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/view/
DFillContentLayoutTest.java63 MeasureSpec.makeMeasureSpec(300, MeasureSpec.EXACTLY), in testMeasureChildIsSmallerThanMaxSize()
64 MeasureSpec.makeMeasureSpec(300, MeasureSpec.EXACTLY)); in testMeasureChildIsSmallerThanMaxSize()
82 MeasureSpec.makeMeasureSpec(88, MeasureSpec.EXACTLY), in testMeasureChildIsSmallerThanParent()
83 MeasureSpec.makeMeasureSpec(88, MeasureSpec.EXACTLY)); in testMeasureChildIsSmallerThanParent()
/frameworks/base/core/java/com/android/internal/widget/
DWeightedLinearLayout.java69 widthMeasureSpec = MeasureSpec.makeMeasureSpec(width, EXACTLY); in onMeasure()
77 widthMeasureSpec = MeasureSpec.makeMeasureSpec(weightedMin, EXACTLY); in onMeasure()
80 widthMeasureSpec = MeasureSpec.makeMeasureSpec(weightedMax, EXACTLY); in onMeasure()
DDialogViewAnimator.java44 MeasureSpec.getMode(widthMeasureSpec) != MeasureSpec.EXACTLY || in onMeasure()
45 MeasureSpec.getMode(heightMeasureSpec) != MeasureSpec.EXACTLY; in onMeasure()
117 MeasureSpec.EXACTLY); in onMeasure()
129 MeasureSpec.EXACTLY); in onMeasure()
DWatchListDecorLayout.java121 width, MeasureSpec.EXACTLY); in applyMeasureToChild()
135 height, MeasureSpec.EXACTLY); in applyMeasureToChild()
163 MeasureSpec.getMode(widthMeasureSpec) != MeasureSpec.EXACTLY || in onMeasure()
164 MeasureSpec.getMode(heightMeasureSpec) != MeasureSpec.EXACTLY; in onMeasure()
DAlertDialogLayout.java168 buttonHeight, MeasureSpec.EXACTLY); in tryOnMeasure()
212 if (widthMode != MeasureSpec.EXACTLY) { in tryOnMeasure()
228 getMeasuredWidth(), MeasureSpec.EXACTLY); in forceUniformWidth()
/frameworks/base/core/java/android/widget/
DDayPickerViewPager.java60 MeasureSpec.getMode(widthMeasureSpec) != MeasureSpec.EXACTLY || in onMeasure()
61 MeasureSpec.getMode(heightMeasureSpec) != MeasureSpec.EXACTLY; in onMeasure()
115 MeasureSpec.EXACTLY); in onMeasure()
125 MeasureSpec.EXACTLY); in onMeasure()
DLinearLayout.java820 if (heightMode == MeasureSpec.EXACTLY && useExcessSpace) { in measureVertical()
882 if (widthMode != MeasureSpec.EXACTLY && lp.width == LayoutParams.MATCH_PARENT) { in measureVertical()
977 if (mUseLargestChild && heightMode != MeasureSpec.EXACTLY) { in measureVertical()
980 || heightMode == MeasureSpec.EXACTLY)) { in measureVertical()
991 Math.max(0, childHeight), MeasureSpec.EXACTLY); in measureVertical()
1006 boolean matchWidthLocally = widthMode != MeasureSpec.EXACTLY && in measureVertical()
1029 if (useLargestChild && heightMode != MeasureSpec.EXACTLY) { in measureVertical()
1043 MeasureSpec.EXACTLY), in measureVertical()
1045 MeasureSpec.EXACTLY)); in measureVertical()
1051 if (!allFillParent && widthMode != MeasureSpec.EXACTLY) { in measureVertical()
[all …]
DSlidingDrawer.java298 mContent.measure(MeasureSpec.makeMeasureSpec(widthSpecSize, MeasureSpec.EXACTLY), in onMeasure()
299 MeasureSpec.makeMeasureSpec(height, MeasureSpec.EXACTLY)); in onMeasure()
302 mContent.measure(MeasureSpec.makeMeasureSpec(width, MeasureSpec.EXACTLY), in onMeasure()
303 MeasureSpec.makeMeasureSpec(heightSpecSize, MeasureSpec.EXACTLY)); in onMeasure()
670 content.measure(MeasureSpec.makeMeasureSpec(mRight - mLeft, MeasureSpec.EXACTLY), in prepareContent()
671 MeasureSpec.makeMeasureSpec(height, MeasureSpec.EXACTLY)); in prepareContent()
677 content.measure(MeasureSpec.makeMeasureSpec(width, MeasureSpec.EXACTLY), in prepareContent()
678 MeasureSpec.makeMeasureSpec(mBottom - mTop, MeasureSpec.EXACTLY)); in prepareContent()
DFrameLayout.java183 MeasureSpec.getMode(widthMeasureSpec) != MeasureSpec.EXACTLY || in onMeasure()
184 MeasureSpec.getMode(heightMeasureSpec) != MeasureSpec.EXACTLY; in onMeasure()
241 width, MeasureSpec.EXACTLY); in onMeasure()
255 height, MeasureSpec.EXACTLY); in onMeasure()
/frameworks/base/apct-tests/perftests/core/src/android/widget/
DTextViewOnMeasurePerfTest.java20 import static android.view.View.MeasureSpec.EXACTLY;
132 textView.measure(EXACTLY | VIEW_WIDTH, EXACTLY | VIEW_HEIGHT); in testMeasure_Exactly()
DLayoutPerfTest.java22 import static android.view.View.MeasureSpec.EXACTLY;
63 private int[] mMeasureSpecs = {EXACTLY, AT_MOST, UNSPECIFIED};
DEditTextLongTextPerfTest.java94 editText.measure(MeasureSpec.makeMeasureSpec(width, MeasureSpec.EXACTLY), in setupEditText()
95 MeasureSpec.makeMeasureSpec(height, MeasureSpec.EXACTLY)); in setupEditText()
/frameworks/base/core/java/com/android/internal/app/
DResolverViewPager.java59 widthMeasureSpec = MeasureSpec.makeMeasureSpec(getMeasuredWidth(), MeasureSpec.EXACTLY); in onMeasure()
73 heightMeasureSpec = MeasureSpec.makeMeasureSpec(height, MeasureSpec.EXACTLY); in onMeasure()
/frameworks/base/core/tests/coretests/src/android/widget/
DAbsSeekBarTest.java19 import static android.view.View.MeasureSpec.EXACTLY;
129 mBar.measure(makeMeasureSpec(wPx, EXACTLY), makeMeasureSpec(hPx, EXACTLY)); in measureAndLayout()
DLabelView.java135 if (specMode == MeasureSpec.EXACTLY) { in measureWidth()
162 if (specMode == MeasureSpec.EXACTLY) { in measureHeight()
DTextViewFallbackLineSpacingTest.java109 View.MeasureSpec.makeMeasureSpec(width, View.MeasureSpec.EXACTLY), in testFallbackLineSpacing()
110 View.MeasureSpec.makeMeasureSpec(height, View.MeasureSpec.EXACTLY)); in testFallbackLineSpacing()
DListViewTest.java49 int measureSpec = View.MeasureSpec.makeMeasureSpec(100, View.MeasureSpec.EXACTLY); in testRequestLayout()
81 int measureSpec = View.MeasureSpec.makeMeasureSpec(100, View.MeasureSpec.EXACTLY); in testNoSelectableItems()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/
DIntrinsicSizeFrameLayout.java83 return MeasureSpec.makeMeasureSpec(intrinsicHeight, MeasureSpec.EXACTLY); in getIntrinsicMeasureSpec()
87 return MeasureSpec.makeMeasureSpec(Math.min(size, intrinsicHeight), MeasureSpec.EXACTLY); in getIntrinsicMeasureSpec()
DFillContentLayout.java111 return MeasureSpec.makeMeasureSpec(childDimension, MeasureSpec.EXACTLY); in getMaxSizeMeasureSpec()
114 return MeasureSpec.makeMeasureSpec(size, MeasureSpec.EXACTLY); in getMaxSizeMeasureSpec()
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/util/
DDrawingTestHelper.java77 MeasureSpec.makeMeasureSpec(mWidth, MeasureSpec.EXACTLY), in drawView()
78 MeasureSpec.makeMeasureSpec(mHeight, MeasureSpec.EXACTLY)); in drawView()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/clock/
DViewPreviewer.java65 view.measure(View.MeasureSpec.makeMeasureSpec(width, View.MeasureSpec.EXACTLY), in createPreview()
66 View.MeasureSpec.makeMeasureSpec(height, View.MeasureSpec.EXACTLY)); in createPreview()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardSecurityViewFlipper.java233 int width = widthMode == MeasureSpec.EXACTLY ? widthSize : 0; in onMeasure()
234 int height = heightMode == MeasureSpec.EXACTLY ? heightSize : 0; in onMeasure()
259 mode = MeasureSpec.EXACTLY; in makeChildMeasureSpec()
263 mode = MeasureSpec.EXACTLY; in makeChildMeasureSpec()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/animation/
DTransitionLayout.kt127 MeasureSpec.EXACTLY) in applyCurrentState()
129 MeasureSpec.EXACTLY) in applyCurrentState()
173 MeasureSpec.EXACTLY) in onMeasure()
175 MeasureSpec.EXACTLY) in onMeasure()

12345