Home
last modified time | relevance | path

Searched refs:measure (Results 1 – 25 of 227) sorted by relevance

12345678910

/frameworks/rs/toolkit/test/
DAllTests.kt142 timer.measure("IntrinsicBlend") { in <lambda>()
148 timer.measure("ToolkitBlend") { in <lambda>()
153 timer.measure("ReferenceBlend") { in <lambda>()
182 timer.measure("IntrinsicBlend") { in <lambda>()
187 timer.measure("ToolkitBlend") { in <lambda>()
193 timer.measure("ReferenceBlend") { in <lambda>()
237 val intrinsicOutArray = timer.measure("IntrinsicBlur") { in <lambda>()
242 val toolkitOutArray = timer.measure("ToolkitBlur") { in <lambda>()
247 val referenceOutArray = timer.measure("ReferenceBlur") { in <lambda>()
266 val intrinsicOutArray = timer.measure("IntrinsicBlur") { in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DSmartReplyViewTest.java312 mView.measure(WIDTH_SPEC, HEIGHT_SPEC); in testMeasure_empty()
319 mView.measure(WIDTH_SPEC, HEIGHT_SPEC); in testLayout_empty()
334 expectedView.measure(MeasureSpec.UNSPECIFIED, MeasureSpec.UNSPECIFIED); in testMeasure_shortChoices()
337 mView.measure(MeasureSpec.UNSPECIFIED, MeasureSpec.UNSPECIFIED); in testMeasure_shortChoices()
351 expectedView.measure(MeasureSpec.UNSPECIFIED, MeasureSpec.UNSPECIFIED); in testLayout_shortChoices()
356 mView.measure(MeasureSpec.UNSPECIFIED, MeasureSpec.UNSPECIFIED); in testLayout_shortChoices()
371 expectedView.measure(MeasureSpec.UNSPECIFIED, MeasureSpec.UNSPECIFIED); in testMeasure_choiceWithTwoLines()
374 mView.measure(MeasureSpec.UNSPECIFIED, MeasureSpec.UNSPECIFIED); in testMeasure_choiceWithTwoLines()
388 expectedView.measure(MeasureSpec.UNSPECIFIED, MeasureSpec.UNSPECIFIED); in testLayout_choiceWithTwoLines()
393 mView.measure(MeasureSpec.UNSPECIFIED, MeasureSpec.UNSPECIFIED); in testLayout_choiceWithTwoLines()
[all …]
/frameworks/base/core/tests/coretests/src/com/android/internal/widget/
DActionBarOverlayLayoutTest.java116 mLayout.measure(EXACTLY_1000, EXACTLY_1000); in topInset_consumedCutout_stable()
128 mLayout.measure(EXACTLY_1000, EXACTLY_1000); in topInset_consumedCutout_notStable()
140 mLayout.measure(EXACTLY_1000, EXACTLY_1000); in topInset_noCutout_stable()
152 mLayout.measure(EXACTLY_1000, EXACTLY_1000); in topInset_noCutout_notStable()
164 mLayout.measure(EXACTLY_1000, EXACTLY_1000); in topInset_cutout_stable()
176 mLayout.measure(EXACTLY_1000, EXACTLY_1000); in topInset_cutout_notStable()
188 mLayout.measure(EXACTLY_1000, EXACTLY_1000); in topInset_cutout_noContentOnApplyWindowInsetsListener()
201 mLayout.measure(EXACTLY_1000, EXACTLY_1000); in topInset_cutout__hasContentOnApplyWindowInsetsListener()
213 mLayout.measure(EXACTLY_1000, EXACTLY_1000); in topInset_noCutout_noContentOnApplyWindowInsetsListener()
226 mLayout.measure(EXACTLY_1000, EXACTLY_1000); in topInset_noCutout__hasContentOnApplyWindowInsetsListener()
DMessagingLinearLayoutTest.java59 mView.measure(WIDTH_SPEC, HEIGHT_SPEC); in testSingleChild()
74 mView.measure(WIDTH_SPEC, HEIGHT_SPEC); in testLargeSmall()
90 mView.measure(WIDTH_SPEC, HEIGHT_SPEC); in testSmallSmall()
106 mView.measure(WIDTH_SPEC, HEIGHT_SPEC); in testLargeLarge()
122 mView.measure(WIDTH_SPEC, HEIGHT_SPEC); in testLargeSmall_largeWrapsWith3indentbutNotFullHeight_andHitsMax()
DImageFloatingTextViewTest.java125 mTextView.measure(widthMeasureSpec, heightMeasureSpec); in parametrizedTest()
126 mView.measure(widthMeasureSpec, heightMeasureSpec); in parametrizedTest()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DUdfpsDialogMeasureAdapter.java125 iconFrame.measure( in onMeasureInternalPortrait()
131 icon.measure( in onMeasureInternalPortrait()
137 child.measure( in onMeasureInternalPortrait()
144 child.measure( in onMeasureInternalPortrait()
152 child.measure( in onMeasureInternalPortrait()
158 child.measure( in onMeasureInternalPortrait()
185 bodyContent.measure( in measureDescription()
228 iconFrame.measure( in onMeasureInternalLandscape()
233 icon.measure( in onMeasureInternalLandscape()
240 child.measure( in onMeasureInternalLandscape()
[all …]
/frameworks/base/core/java/com/android/internal/widget/
DWeightedLinearLayout.java67 boolean measure = false; in onMeasure()
78 measure = true; in onMeasure()
81 measure = true; in onMeasure()
87 if (measure) { in onMeasure()
DAlertDialogLayout.java119 topPanel.measure(widthMeasureSpec, MeasureSpec.UNSPECIFIED); in tryOnMeasure()
128 buttonPanel.measure(widthMeasureSpec, MeasureSpec.UNSPECIFIED); in tryOnMeasure()
146 middlePanel.measure(widthMeasureSpec, childHeightSpec); in tryOnMeasure()
169 buttonPanel.measure(widthMeasureSpec, childHeightSpec); in tryOnMeasure()
189 middlePanel.measure(widthMeasureSpec, childHeightSpec); in tryOnMeasure()
/frameworks/base/core/java/com/android/internal/widget/remotecompose/player/platform/
DFloatsToPath.java102 PathMeasure measure = new PathMeasure(); // todo cached in genPath() local
103 measure.setPath(path, false); in genPath()
104 float len = measure.getLength(); in genPath()
107 measure.getSegment(scaleStart, scaleStop, retPath, in genPath()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/qs/ui/composable/
DQSMediaMeasurePolicy.kt38 override fun MeasureScope.measure( in measure() method in com.android.systemui.qs.ui.composable.QSMediaMeasurePolicy
45 val qsPlaceable = qsMeasurable.measure(constraints) in measure()
47 mediaMeasurable.measure(constraints.copy(maxWidth = constraints.maxWidth / 2)) in measure()
/frameworks/base/core/tests/coretests/src/android/widget/
DListViewTest.java52 listView.measure(measureSpec, measureSpec); in testRequestLayout()
59 listView.measure(measureSpec, measureSpec); in testRequestLayout()
84 listView.measure(measureSpec, measureSpec); in testNoSelectableItems()
90 listView.measure(measureSpec, measureSpec); in testNoSelectableItems()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/chips/ui/view/
DChipBackgroundContainerTest.kt52 underTest.measure( in onMeasure_maxHeightFetcherNotSet_usesDesired()
64 underTest.measure( in onMeasure_maxLargerThanDesired_usesDesired()
76 underTest.measure( in onMeasure_desiredLargerThanMax_usesMaxMinusOne()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/keyguard/ui/composable/blueprint/
DDefaultBlueprint.kt177 val lockIconPlaceable = lockIconMeasurable.measure(noMinConstraints) in <lambda>()
187 aboveLockIconMeasurable.measure( in <lambda>()
191 belowLockIconMeasurable.measure( in <lambda>()
197 val startShortcutPleaceable = startShortcutMeasurable.measure(noMinConstraints) in <lambda>()
198 val endShortcutPleaceable = endShortcutMeasurable.measure(noMinConstraints) in <lambda>()
199 val settingsMenuPlaceable = settingsMenuMeasurable.measure(noMinConstraints) in <lambda>()
DShortcutsBesideUdfpsBlueprint.kt186 val lockIconPlaceable = lockIconMeasurable.measure(noMinConstraints) in <lambda>()
196 aboveLockIconMeasurable.measure( in <lambda>()
200 startSideShortcutMeasurable.measure(noMinConstraints) in <lambda>()
201 val endSideShortcutPlaceable = endSideShortcutMeasurable.measure(noMinConstraints) in <lambda>()
203 belowLockIconMeasurable.measure( in <lambda>()
208 val settingsMenuPlaceable = settingsMenuMeasurable.measure(noMinConstraints) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ui/
DBiometricPromptLayout.java107 child.measure( in onMeasureInternal()
113 child.measure( in onMeasureInternal()
119 child.measure( in onMeasureInternal()
125 child.measure( in onMeasureInternal()
129 child.measure( in onMeasureInternal()
/frameworks/av/media/libeffects/visualizer/aidl/
DVisualizerContext.cpp168 Visualizer::Measurement measure; in getMeasure() local
170 measure.rms = (rms < 0.000016f) ? -9600 : (int32_t)(2000 * log10(rms / 32767.0f)); in getMeasure()
171 measure.peak = (peakU16 == 0) ? -9600 : (int32_t)(2000 * log10(peakU16 / 32767.0f)); in getMeasure()
172 LOG(VERBOSE) << __func__ << " peak " << peakU16 << " (" << measure.peak << "mB), rms " << rms in getMeasure()
173 << " (" << measure.rms << "mB)"; in getMeasure()
174 return measure; in getMeasure()
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/view/
DFillContentLayoutTest.java43 layout.measure( in testMeasureMinSize()
62 layout.measure( in testMeasureChildIsSmallerThanMaxSize()
81 layout.measure( in testMeasureChildIsSmallerThanParent()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/volume/panel/component/volume/ui/composable/
DVolumeSliderContent.kt103 override fun MeasureScope.measure( in measure() method in com.android.systemui.volume.panel.component.volume.ui.composable.VolumeSliderContentMeasurePolicy
110 .measure(constraints) in measure()
130 ?.measure(constraints.copy(maxWidth = fullLayoutWidth)) in measure()
146 val placeable = measurable.measure(constraints) in Modifier()
/frameworks/base/packages/SystemUI/compose/scene/src/com/android/compose/animation/scene/modifiers/
DSize.kt31 return@approachLayout measurable.measure(constraints).run { in <lambda>()
38 measurable.measure(Constraints.fixed(sizeAtRest.width, sizeAtRest.height)).run { in <lambda>()
/frameworks/base/telephony/java/android/telephony/
DCellSignalStrengthNr.java468 private int updateLevelWithMeasure(int measure, int[] thresholds) { in updateLevelWithMeasure() argument
470 if (measure == CellInfo.UNAVAILABLE) { in updateLevelWithMeasure()
472 } else if (measure >= thresholds[3]) { in updateLevelWithMeasure()
474 } else if (measure >= thresholds[2]) { in updateLevelWithMeasure()
476 } else if (measure >= thresholds[1]) { in updateLevelWithMeasure()
478 } else if (measure >= thresholds[0]) { in updateLevelWithMeasure()
DCellSignalStrengthLte.java370 private int updateLevelWithMeasure(int measure, int[] thresholds) { in updateLevelWithMeasure() argument
372 if (measure == CellInfo.UNAVAILABLE) { in updateLevelWithMeasure()
374 } else if (measure >= thresholds[3]) { in updateLevelWithMeasure()
376 } else if (measure >= thresholds[2]) { in updateLevelWithMeasure()
378 } else if (measure >= thresholds[1]) { in updateLevelWithMeasure()
380 } else if (measure >= thresholds[0]) { in updateLevelWithMeasure()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DAlertDialogLayout.java118 topPanel.measure(widthMeasureSpec, MeasureSpec.UNSPECIFIED); in tryOnMeasure()
127 buttonPanel.measure(widthMeasureSpec, MeasureSpec.UNSPECIFIED); in tryOnMeasure()
145 middlePanel.measure(widthMeasureSpec, childHeightSpec); in tryOnMeasure()
168 buttonPanel.measure(widthMeasureSpec, childHeightSpec); in tryOnMeasure()
188 middlePanel.measure(widthMeasureSpec, childHeightSpec); in tryOnMeasure()
/frameworks/base/apct-tests/perftests/core/src/android/widget/
DTextViewOnMeasurePerfTest.java115 textView.measure(AT_MOST | VIEW_WIDTH, AT_MOST | VIEW_HEIGHT); in testMeasure_AtMost()
132 textView.measure(EXACTLY | VIEW_WIDTH, EXACTLY | VIEW_HEIGHT); in testMeasure_Exactly()
149 textView.measure(UNSPECIFIED, UNSPECIFIED); in testMeasure_Unspecified()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/notifications/ui/composable/
DNotificationHeadsUpHeight.kt65 override fun MeasureScope.measure( in measure() method in com.android.systemui.notifications.ui.composable.HeadsUpLayoutNode
72 measurable.measure( in measure()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/shade/ui/composable/
DVariableDayDate.kt49 val longerPlaceable = longerMeasurable.measure(constraints) in <lambda>()
50 val shorterPlaceable = shorterMeasurable.measure(constraints) in <lambda>()

12345678910