Home
last modified time | relevance | path

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

12345678

/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.java278 mView.measure(WIDTH_SPEC, HEIGHT_SPEC); in testMeasure_empty()
285 mView.measure(WIDTH_SPEC, HEIGHT_SPEC); in testLayout_empty()
300 expectedView.measure(MeasureSpec.UNSPECIFIED, MeasureSpec.UNSPECIFIED); in testMeasure_shortChoices()
303 mView.measure(MeasureSpec.UNSPECIFIED, MeasureSpec.UNSPECIFIED); in testMeasure_shortChoices()
317 expectedView.measure(MeasureSpec.UNSPECIFIED, MeasureSpec.UNSPECIFIED); in testLayout_shortChoices()
322 mView.measure(MeasureSpec.UNSPECIFIED, MeasureSpec.UNSPECIFIED); in testLayout_shortChoices()
337 expectedView.measure(MeasureSpec.UNSPECIFIED, MeasureSpec.UNSPECIFIED); in testMeasure_choiceWithTwoLines()
340 mView.measure(MeasureSpec.UNSPECIFIED, MeasureSpec.UNSPECIFIED); in testMeasure_choiceWithTwoLines()
354 expectedView.measure(MeasureSpec.UNSPECIFIED, MeasureSpec.UNSPECIFIED); in testLayout_choiceWithTwoLines()
359 mView.measure(MeasureSpec.UNSPECIFIED, MeasureSpec.UNSPECIFIED); in testLayout_choiceWithTwoLines()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DUdfpsDialogMeasureAdapter.java125 iconFrame.measure( in onMeasureInternalPortrait()
131 icon.measure( in onMeasureInternalPortrait()
135 child.measure( in onMeasureInternalPortrait()
140 child.measure( in onMeasureInternalPortrait()
147 child.measure( in onMeasureInternalPortrait()
154 child.measure( in onMeasureInternalPortrait()
180 description.measure( in measureDescription()
223 iconFrame.measure( in onMeasureInternalLandscape()
228 icon.measure( in onMeasureInternalLandscape()
235 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/tests/coretests/src/com/android/internal/widget/
DActionBarOverlayLayoutTest.java105 mLayout.measure(EXACTLY_1000, EXACTLY_1000); in topInset_consumedCutout_stable()
117 mLayout.measure(EXACTLY_1000, EXACTLY_1000); in topInset_consumedCutout_notStable()
129 mLayout.measure(EXACTLY_1000, EXACTLY_1000); in topInset_noCutout_stable()
141 mLayout.measure(EXACTLY_1000, EXACTLY_1000); in topInset_noCutout_notStable()
153 mLayout.measure(EXACTLY_1000, EXACTLY_1000); in topInset_cutout_stable()
165 mLayout.measure(EXACTLY_1000, EXACTLY_1000); in topInset_cutout_notStable()
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/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()
DTextViewPerformanceTest.java56 mLabelView.measure(View.MeasureSpec.AT_MOST | 320, View.MeasureSpec.AT_MOST | 240); in setUp()
67 mTextView.measure(View.MeasureSpec.AT_MOST | 320, View.MeasureSpec.AT_MOST | 240); in setUp()
/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/telephony/java/android/telephony/
DCellSignalStrengthNr.java437 private int updateLevelWithMeasure(int measure, int[] thresholds) { in updateLevelWithMeasure() argument
439 if (measure == CellInfo.UNAVAILABLE) { in updateLevelWithMeasure()
441 } else if (measure >= thresholds[3]) { in updateLevelWithMeasure()
443 } else if (measure >= thresholds[2]) { in updateLevelWithMeasure()
445 } else if (measure >= thresholds[1]) { in updateLevelWithMeasure()
447 } else if (measure >= thresholds[0]) { in updateLevelWithMeasure()
DCellSignalStrengthLte.java364 private int updateLevelWithMeasure(int measure, int[] thresholds) { in updateLevelWithMeasure() argument
366 if (measure == CellInfo.UNAVAILABLE) { in updateLevelWithMeasure()
368 } else if (measure >= thresholds[3]) { in updateLevelWithMeasure()
370 } else if (measure >= thresholds[2]) { in updateLevelWithMeasure()
372 } else if (measure >= thresholds[1]) { in updateLevelWithMeasure()
374 } else if (measure >= thresholds[0]) { in updateLevelWithMeasure()
/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/tests/src/com/android/systemui/shared/clocks/
DAnimatableClockViewTest.kt57 clockView.measure(50, 50) in <lambda>()
78 clockView.measure(50, 50) in <lambda>()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/compatui/
DReachabilityEduLayout.java116 mMoveLeftButton.measure(MeasureSpec.UNSPECIFIED, MeasureSpec.UNSPECIFIED); in onFinishInflate()
117 mMoveRightButton.measure(MeasureSpec.UNSPECIFIED, MeasureSpec.UNSPECIFIED); in onFinishInflate()
118 mMoveUpButton.measure(MeasureSpec.UNSPECIFIED, MeasureSpec.UNSPECIFIED); in onFinishInflate()
119 mMoveDownButton.measure(MeasureSpec.UNSPECIFIED, MeasureSpec.UNSPECIFIED); in onFinishInflate()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
DTileLayoutTest.java131 mTileLayout.measure(mLayoutSizeForOneTile, mLayoutSizeForOneTile); in testMeasureLayout_CallsLayoutOnTile()
142 mTileLayout.measure(mLayoutSizeForOneTile * 2, mLayoutSizeForOneTile * 2); in testMeasureLayout_CallsLayoutOnTilesWithNeighboredBounds()
179 mTileLayout.measure(mLayoutSizeForOneTile, mLayoutSizeForOneTile);
208 mTileLayout.measure(mLayoutSizeForOneTile * 2, mLayoutSizeForOneTile * 2);
/frameworks/base/core/tests/coretests/src/android/text/
DTextLineTest.java119 assertEquals(expected[offset], tl.measure(offset, trailing, null), 0.0f); in assertMeasurements()
281 tl.measure(text.length(), false /* trailing */, null /* fmi */); in testHandleRun_ellipsizedReplacementSpan_isSkipped()
298 tl.measure(text.length(), false /* trailing */, null /* fmi */); in testHandleRun_notEllipsizedReplacementSpan_isNotSkipped()
315 tl.measure(text.length(), false /* trailing */, null /* fmi */); in testHandleRun_halfEllipsizedReplacementSpan_isNotSkipped()
/frameworks/base/packages/SystemUI/compose/core/src/com/android/compose/modifiers/
DPadding.kt100 override fun MeasureScope.measure( in measure() method
112 val placeable = measurable.measure(constraints.offset(-horizontal, -vertical)) in measure()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DSignalTileView.java87 mIn.measure(ws, hs); in onMeasure()
88 mOut.measure(ws, hs); in onMeasure()
DPseudoGridView.java91 child.measure(childWidthSpec, childHeightSpec); in onMeasure()
98 child.measure(childWidthSpec, maxHeightSpec); in onMeasure()
/frameworks/base/core/java/android/view/
DNotificationTopLineView.java129 child.measure(childWidthSpec, childHeightSpec); in onMeasure()
437 targetView.measure(childWidthSpec, mHeightSpec); in adjust()
447 targetDivider.measure(dividerWidthSpec, mHeightSpec); in adjust()
456 mRegrowView.measure(regrowWidthSpec, mHeightSpec); in adjust()
/frameworks/base/libs/hwui/
DVectorDrawable.cpp98 SkPathMeasure measure(inPath, false); in applyTrim() local
99 float len = SkScalarToFloat(measure.getLength()); in applyTrim()
104 measure.getSegment(start, len, outPath, true); in applyTrim()
106 measure.getSegment(0, end, outPath, true); in applyTrim()
109 measure.getSegment(start, end, outPath, true); in applyTrim()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/
DBridgeRenderSession.java94 public Result measure(long timeout) { in measure() method in BridgeRenderSession
101 mLastResult = mSession.measure(); in measure()
/frameworks/base/libs/hwui/hwui/
DMinikinUtils.cpp140 SkPathMeasure measure(path, false); in hOffsetForTextAlign() local
141 return align * (layout.getAdvance() - measure.getLength()); in hOffsetForTextAlign()

12345678