/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 | 278 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/ |
D | UdfpsDialogMeasureAdapter.java | 125 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/ |
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/tests/coretests/src/com/android/internal/widget/ |
D | ActionBarOverlayLayoutTest.java | 105 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()
|
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/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()
|
D | TextViewPerformanceTest.java | 56 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/ |
D | FillContentLayoutTest.java | 43 layout.measure( in testMeasureMinSize() 62 layout.measure( in testMeasureChildIsSmallerThanMaxSize() 81 layout.measure( in testMeasureChildIsSmallerThanParent()
|
/frameworks/base/telephony/java/android/telephony/ |
D | CellSignalStrengthNr.java | 437 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()
|
D | CellSignalStrengthLte.java | 364 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/ |
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/tests/src/com/android/systemui/shared/clocks/ |
D | AnimatableClockViewTest.kt | 57 clockView.measure(50, 50) in <lambda>() 78 clockView.measure(50, 50) in <lambda>()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/compatui/ |
D | ReachabilityEduLayout.java | 116 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/ |
D | TileLayoutTest.java | 131 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/ |
D | TextLineTest.java | 119 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/ |
D | Padding.kt | 100 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/ |
D | SignalTileView.java | 87 mIn.measure(ws, hs); in onMeasure() 88 mOut.measure(ws, hs); in onMeasure()
|
D | PseudoGridView.java | 91 child.measure(childWidthSpec, childHeightSpec); in onMeasure() 98 child.measure(childWidthSpec, maxHeightSpec); in onMeasure()
|
/frameworks/base/core/java/android/view/ |
D | NotificationTopLineView.java | 129 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/ |
D | VectorDrawable.cpp | 98 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/ |
D | BridgeRenderSession.java | 94 public Result measure(long timeout) { in measure() method in BridgeRenderSession 101 mLastResult = mSession.measure(); in measure()
|
/frameworks/base/libs/hwui/hwui/ |
D | MinikinUtils.cpp | 140 SkPathMeasure measure(path, false); in hOffsetForTextAlign() local 141 return align * (layout.getAdvance() - measure.getLength()); in hOffsetForTextAlign()
|