Home
last modified time | relevance | path

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

123456

/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DUdfpsDialogMeasureAdapter.java127 child.getLayoutParams().width, MeasureSpec.EXACTLY), in onMeasureInternalPortrait()
128 MeasureSpec.makeMeasureSpec(sensorDiameter, MeasureSpec.EXACTLY)); in onMeasureInternalPortrait()
138 MeasureSpec.makeMeasureSpec(width, MeasureSpec.EXACTLY), in onMeasureInternalPortrait()
140 child.getLayoutParams().height, MeasureSpec.EXACTLY)); in onMeasureInternalPortrait()
145 MeasureSpec.makeMeasureSpec(width, MeasureSpec.EXACTLY), in onMeasureInternalPortrait()
146 MeasureSpec.makeMeasureSpec(clampedSpacerHeight, MeasureSpec.EXACTLY)); in onMeasureInternalPortrait()
154 MeasureSpec.EXACTLY), in onMeasureInternalPortrait()
156 MeasureSpec.EXACTLY)); in onMeasureInternalPortrait()
159 MeasureSpec.makeMeasureSpec(width, MeasureSpec.EXACTLY), in onMeasureInternalPortrait()
186 MeasureSpec.makeMeasureSpec(currWidth, MeasureSpec.EXACTLY), in measureDescription()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DVariableDateViewControllerTest.kt137 onMeasureListenerCaptor.value.onMeasureAction(10000, View.MeasureSpec.EXACTLY) in testLotsOfSpaceUseLongText()
145 onMeasureListenerCaptor.value.onMeasureAction(1, View.MeasureSpec.EXACTLY) in testSmallSpaceUseEmpty()
155 onMeasureListenerCaptor.value.onMeasureAction(average, View.MeasureSpec.EXACTLY) in testSpaceInBetweenUseShortText()
163 onMeasureListenerCaptor.value.onMeasureAction(1, View.MeasureSpec.EXACTLY) in testSwitchBackToLonger()
166 onMeasureListenerCaptor.value.onMeasureAction(10000, View.MeasureSpec.EXACTLY) in testSwitchBackToLonger()
177 onMeasureListenerCaptor.value.onMeasureAction(average, View.MeasureSpec.EXACTLY) in testNoSwitchingWhenFrozen()
181 onMeasureListenerCaptor.value.onMeasureAction(1, View.MeasureSpec.EXACTLY) in testNoSwitchingWhenFrozen()
192 View.MeasureSpec.EXACTLY in testQsExpansionTrue_ignoreAtMostMeasureRequests()
207 View.MeasureSpec.EXACTLY in testQsExpansionFalse_acceptAtMostMeasureRequests()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/chips/ui/view/
DChipBackgroundContainerTest.kt54 View.MeasureSpec.makeMeasureSpec(123, View.MeasureSpec.EXACTLY), in onMeasure_maxHeightFetcherNotSet_usesDesired()
66 View.MeasureSpec.makeMeasureSpec(123, View.MeasureSpec.EXACTLY), in onMeasure_maxLargerThanDesired_usesDesired()
78 View.MeasureSpec.makeMeasureSpec(567, View.MeasureSpec.EXACTLY), in onMeasure_desiredLargerThanMax_usesMaxMinusOne()
86 val WIDTH_SPEC = View.MeasureSpec.makeMeasureSpec(100, View.MeasureSpec.EXACTLY)
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ui/
DBiometricPromptLayout.java108 MeasureSpec.makeMeasureSpec(width, MeasureSpec.EXACTLY), in onMeasureInternal()
110 MeasureSpec.EXACTLY)); in onMeasureInternal()
115 MeasureSpec.EXACTLY), in onMeasureInternal()
117 MeasureSpec.EXACTLY)); in onMeasureInternal()
121 MeasureSpec.EXACTLY), in onMeasureInternal()
123 MeasureSpec.EXACTLY)); in onMeasureInternal()
130 MeasureSpec.makeMeasureSpec(width, MeasureSpec.EXACTLY), in onMeasureInternal()
/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()
DNotificationOptimizedLinearLayout.java136 if (isHorizontal && MeasureSpec.getMode(widthMeasureSpec) != MeasureSpec.EXACTLY) { in isOptimizationPossible()
188 MeasureSpec.getMode(widthMeasureSpec) != MeasureSpec.EXACTLY; in requiresMatchParentRemeasureForVerticalLinearLayout()
384 if (lp.height == 0 && heightMode == MeasureSpec.EXACTLY) { in measureVerticalOptimized()
407 heightMode == MeasureSpec.EXACTLY ? MeasureSpec.EXACTLY : MeasureSpec.AT_MOST; in measureVerticalOptimized()
412 if (lp.height == 0 && heightMode == MeasureSpec.EXACTLY) { in measureVerticalOptimized()
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()
/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.java856 if (heightMode == MeasureSpec.EXACTLY && useExcessSpace) { in measureVertical()
918 if (widthMode != MeasureSpec.EXACTLY && lp.width == LayoutParams.MATCH_PARENT) { in measureVertical()
1013 if (mUseLargestChild && heightMode != MeasureSpec.EXACTLY) { in measureVertical()
1016 || heightMode == MeasureSpec.EXACTLY)) { in measureVertical()
1027 Math.max(0, childHeight), MeasureSpec.EXACTLY); in measureVertical()
1042 boolean matchWidthLocally = widthMode != MeasureSpec.EXACTLY && in measureVertical()
1065 if (useLargestChild && heightMode != MeasureSpec.EXACTLY) { in measureVertical()
1079 MeasureSpec.EXACTLY), in measureVertical()
1081 MeasureSpec.EXACTLY)); in measureVertical()
1087 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()
/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/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};
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardSecurityViewFlipper.java148 int width = widthMode == MeasureSpec.EXACTLY ? widthSize : 0; in onMeasure()
149 int height = heightMode == MeasureSpec.EXACTLY ? heightSize : 0; in onMeasure()
174 mode = MeasureSpec.EXACTLY; in makeChildMeasureSpec()
178 mode = MeasureSpec.EXACTLY; in makeChildMeasureSpec()
/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/base/core/tests/coretests/src/android/widget/
DLabelView.java135 if (specMode == MeasureSpec.EXACTLY) { in measureWidth()
162 if (specMode == MeasureSpec.EXACTLY) { in measureHeight()
DAbsSeekBarTest.java19 import static android.view.View.MeasureSpec.EXACTLY;
162 mBar.measure(makeMeasureSpec(wPx, EXACTLY), makeMeasureSpec(hPx, EXACTLY)); in measureAndLayout()
DTextViewFallbackLineSpacingTest.java109 View.MeasureSpec.makeMeasureSpec(width, View.MeasureSpec.EXACTLY), in testFallbackLineSpacing()
110 View.MeasureSpec.makeMeasureSpec(height, View.MeasureSpec.EXACTLY)); in testFallbackLineSpacing()
/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/tests/graphics/SilkFX/src/com/android/test/silkfx/hdr/
DBlingyNotification.kt55 if (widthMode == MeasureSpec.EXACTLY && heightMode != MeasureSpec.EXACTLY) { in onMeasure()

123456