/frameworks/rs/toolkit/test/ |
D | AllTests.kt | 142 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/ |
D | SmartReplyViewTest.java | 312 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/ |
D | ActionBarOverlayLayoutTest.java | 116 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()
|
D | MessagingLinearLayoutTest.java | 59 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()
|
D | ImageFloatingTextViewTest.java | 125 mTextView.measure(widthMeasureSpec, heightMeasureSpec); in parametrizedTest() 126 mView.measure(widthMeasureSpec, heightMeasureSpec); in parametrizedTest()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ |
D | UdfpsDialogMeasureAdapter.java | 125 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/ |
D | WeightedLinearLayout.java | 67 boolean measure = false; in onMeasure() 78 measure = true; in onMeasure() 81 measure = true; in onMeasure() 87 if (measure) { in onMeasure()
|
D | AlertDialogLayout.java | 119 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/ |
D | FloatsToPath.java | 102 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/ |
D | QSMediaMeasurePolicy.kt | 38 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/ |
D | ListViewTest.java | 52 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/ |
D | ChipBackgroundContainerTest.kt | 52 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/ |
D | DefaultBlueprint.kt | 177 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>()
|
D | ShortcutsBesideUdfpsBlueprint.kt | 186 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/ |
D | BiometricPromptLayout.java | 107 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/ |
D | VisualizerContext.cpp | 168 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/ |
D | FillContentLayoutTest.java | 43 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/ |
D | VolumeSliderContent.kt | 103 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/ |
D | Size.kt | 31 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/ |
D | CellSignalStrengthNr.java | 468 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()
|
D | CellSignalStrengthLte.java | 370 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/ |
D | AlertDialogLayout.java | 118 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/ |
D | TextViewOnMeasurePerfTest.java | 115 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/ |
D | NotificationHeadsUpHeight.kt | 65 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/ |
D | VariableDayDate.kt | 49 val longerPlaceable = longerMeasurable.measure(constraints) in <lambda>() 50 val shorterPlaceable = shorterMeasurable.measure(constraints) in <lambda>()
|