Home
last modified time | relevance | path

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

12

/cts/tests/tests/graphics/src/android/graphics/cts/
DPathMeasureTest.java106 PathMeasure measure = new PathMeasure(circle, false); in testIsClosed() local
107 assertTrue(measure.isClosed()); in testIsClosed()
108 measure.setPath(circle, true); in testIsClosed()
109 assertTrue(measure.isClosed()); in testIsClosed()
114 measure.setPath(line, false); in testIsClosed()
115 assertFalse(measure.isClosed()); in testIsClosed()
116 measure.setPath(line, true); in testIsClosed()
117 assertTrue(measure.isClosed()); in testIsClosed()
/cts/tests/tvprovider/src/android/tvprovider/cts/
DTvProviderPerfTest.java89 double[] applyBatchTimes = MeasureTime.measure(TRANSACTION_RUNS, new MeasureRun() { in testChannels()
125 applyBatchTimes = MeasureTime.measure(TRANSACTION_RUNS, new MeasureRun() { in testChannels()
150 applyBatchTimes = MeasureTime.measure(QUERY_RUNS, new MeasureRun() { in testChannels()
168 applyBatchTimes = MeasureTime.measure(QUERY_RUNS, new MeasureRun() { in testChannels()
186 applyBatchTimes = MeasureTime.measure(1, new MeasureRun() { in testChannels()
233 double[] applyBatchTimes = MeasureTime.measure(NUM_CHANNELS, new MeasureRun() { in testPrograms()
262 applyBatchTimes = MeasureTime.measure(NUM_CHANNELS, new MeasureRun() { in testPrograms()
295 applyBatchTimes = MeasureTime.measure(QUERY_RUNS, new MeasureRun() { in testPrograms()
311 applyBatchTimes = MeasureTime.measure(QUERY_RUNS, new MeasureRun() { in testPrograms()
333 applyBatchTimes = MeasureTime.measure(QUERY_RUNS, new MeasureRun() { in testPrograms()
[all …]
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DGestureDescriptionTest.java201 PathMeasure measure = new PathMeasure(returnedPath, false); in testStrokeDescriptionGetters_workAsExpected() local
202 assertEquals(50, (int) measure.getLength()); in testStrokeDescriptionGetters_workAsExpected()
/cts/tests/tests/text/src/android/text/cts/
DEmojiTest.java232 measure(MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED), in capture()
256 measure(MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED), in capture()
280 measure(MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED), in capture()
DMyanmarTest.java199 measure(MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED), in capture()
/cts/tests/tests/widget/src/android/widget/cts/
DHorizontalScrollViewTest.java318 child.measure(MeasureSpec.makeMeasureSpec(100, MeasureSpec.EXACTLY), in testMeasureChild()
340 child.measure(MeasureSpec.makeMeasureSpec(100, MeasureSpec.EXACTLY), in testMeasureChildWithMargins()
437 mScrollViewRegular.measure(MeasureSpec.makeMeasureSpec(150, MeasureSpec.EXACTLY), in testFillViewport()
458 mScrollViewRegular.measure(MeasureSpec.makeMeasureSpec(100, MeasureSpec.EXACTLY), in testFillViewportWithScrollViewPadding()
483 mScrollViewRegular.measure(MeasureSpec.makeMeasureSpec(100, MeasureSpec.EXACTLY), in testFillViewportWithChildMargins()
503 mScrollViewRegular.measure(MeasureSpec.makeMeasureSpec(100, MeasureSpec.EXACTLY), in testFillViewportWithScrollViewPaddingAlreadyFills()
531 mScrollViewRegular.measure(MeasureSpec.makeMeasureSpec(100, MeasureSpec.EXACTLY), in testFillViewportWithChildMarginsAlreadyFills()
DScrollViewTest.java332 child.measure(MeasureSpec.makeMeasureSpec(100, MeasureSpec.EXACTLY), in testMeasureChild()
354 child.measure(MeasureSpec.makeMeasureSpec(100, MeasureSpec.EXACTLY), in testMeasureChildWithMargins()
449 mScrollViewRegular.measure( in testFillViewport()
471 mScrollViewRegular.measure( in testFillViewportWithScrollViewPadding()
497 mScrollViewRegular.measure(MeasureSpec.makeMeasureSpec(100, MeasureSpec.EXACTLY), in testFillViewportWithChildMargins()
517 mScrollViewRegular.measure(MeasureSpec.makeMeasureSpec(100, MeasureSpec.EXACTLY), in testFillViewportWithScrollViewPaddingAlreadyFills()
545 mScrollViewRegular.measure(MeasureSpec.makeMeasureSpec(100, MeasureSpec.EXACTLY), in testFillViewportWithChildMarginsAlreadyFills()
DAbsSpinnerTest.java197 absSpinner.measure(View.MeasureSpec.UNSPECIFIED, View.MeasureSpec.UNSPECIFIED); in testPointToPosition()
259 mAbsSpinner.measure(View.MeasureSpec.EXACTLY, View.MeasureSpec.EXACTLY); in testOnSaveAndRestoreInstanceState()
DTableLayoutTest.java249 column0.measure(MeasureSpec.UNSPECIFIED, MeasureSpec.EXACTLY); in testColumnStretchableEffect()
251 column1.measure(MeasureSpec.UNSPECIFIED, MeasureSpec.EXACTLY); in testColumnStretchableEffect()
253 column2.measure(MeasureSpec.UNSPECIFIED, MeasureSpec.EXACTLY); in testColumnStretchableEffect()
DListViewTest.java502 mListView.measure(measureSpec,measureSpec); in testSaveAndRestoreInstanceState_positionIsRestored()
647 mListView.measure(measureSpec, measureSpec); in testRequestLayoutCallsMeasure()
654 mListView.measure(measureSpec, measureSpec); in testRequestLayoutCallsMeasure()
675 mListView.measure(measureSpec, measureSpec); in testNoSelectableItems()
681 mListView.measure(measureSpec, measureSpec); in testNoSelectableItems()
DGridLayoutTest.java263 p.measure(View.MeasureSpec.UNSPECIFIED, View.MeasureSpec.UNSPECIFIED); in verifyGridAlignment()
DLinearLayoutTest.java234 parent.measure(spec, spec); in testWeightDistribution()
253 parent.measure(spec, spec); in testWeightDistribution()
DImageViewTest.java505 mImageViewRegular.measure(200, 150); in testOnMeasure()
/cts/hostsidetests/theme/app/src/android/theme/app/
DReferenceViewGroup.java59 child.measure(width, height); in onMeasure()
/cts/tests/sample/src/android/sample/cts/
DSampleDeviceResultTest.java65 double[] result = MeasureTime.measure(REPEAT, new MeasureRun() { in testSort()
/cts/tests/tests/view/src/android/view/cts/
DViewStubTest.java148 viewStub.measure(200, 300); in testViewStubHasNoDimensions()
152 viewStub.measure(100, 200); in testViewStubHasNoDimensions()
DViewPaddingTest.java52 viewGroup.measure(measureSpec, measureSpec); in testPadding()
DViewGroup_MarginLayoutParamsTest.java230 viewGroup.measure(measureSpec, measureSpec); in testVerticalHorizontalMargins()
/cts/hostsidetests/ui/control/src/android/taskswitching/control/cts/
DTaskSwitchingDeviceTest.java58 double[] results = MeasureTime.measure(NUMBER_REPEAT, new MeasureRun() { in testMeasureTaskSwitching()
/cts/hostsidetests/ui/src/android/ui/cts/
DInstallTimeTest.java95 double[] result = MeasureTime.measure(NUMBER_REPEAT, new MeasureRun() { in testInstallTime()
/cts/tests/tests/transition/src/android/transition/cts/
DTransitionInflaterTest.java226 PathMeasure measure = new PathMeasure(path, false); in verifyPatternPathMotion() local
227 assertEquals(200f, measure.getLength(), 0.1f); in verifyPatternPathMotion()
/cts/hostsidetests/sample/src/android/sample/cts/
DSampleHostResultTest.java114 double[] result = MeasureTime.measure(REPEAT, new MeasureRun() { in testTransferTime()
/cts/tests/filesystem/src/android/filesystem/cts/
DSequentialRWTest.java120 double[] times = MeasureTime.measure(NUMBER_READ, new MeasureRun() { in testSingleSequentialRead()
DFileUtil.java392 double[] times = MeasureTime.measure(numberRepeatInOneRun, new MeasureRun() { in doSequentialUpdateTest()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DBoxInsetLayout.java231 child.measure(childWidthMeasureSpec, childHeightMeasureSpec); in onMeasure()

12