/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | PathMeasureTest.java | 106 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/ |
D | TvProviderPerfTest.java | 89 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/ |
D | GestureDescriptionTest.java | 201 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/ |
D | EmojiTest.java | 232 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()
|
D | MyanmarTest.java | 199 measure(MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED), in capture()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | HorizontalScrollViewTest.java | 318 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()
|
D | ScrollViewTest.java | 332 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()
|
D | AbsSpinnerTest.java | 197 absSpinner.measure(View.MeasureSpec.UNSPECIFIED, View.MeasureSpec.UNSPECIFIED); in testPointToPosition() 259 mAbsSpinner.measure(View.MeasureSpec.EXACTLY, View.MeasureSpec.EXACTLY); in testOnSaveAndRestoreInstanceState()
|
D | TableLayoutTest.java | 249 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()
|
D | ListViewTest.java | 502 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()
|
D | GridLayoutTest.java | 263 p.measure(View.MeasureSpec.UNSPECIFIED, View.MeasureSpec.UNSPECIFIED); in verifyGridAlignment()
|
D | LinearLayoutTest.java | 234 parent.measure(spec, spec); in testWeightDistribution() 253 parent.measure(spec, spec); in testWeightDistribution()
|
D | ImageViewTest.java | 505 mImageViewRegular.measure(200, 150); in testOnMeasure()
|
/cts/hostsidetests/theme/app/src/android/theme/app/ |
D | ReferenceViewGroup.java | 59 child.measure(width, height); in onMeasure()
|
/cts/tests/sample/src/android/sample/cts/ |
D | SampleDeviceResultTest.java | 65 double[] result = MeasureTime.measure(REPEAT, new MeasureRun() { in testSort()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | ViewStubTest.java | 148 viewStub.measure(200, 300); in testViewStubHasNoDimensions() 152 viewStub.measure(100, 200); in testViewStubHasNoDimensions()
|
D | ViewPaddingTest.java | 52 viewGroup.measure(measureSpec, measureSpec); in testPadding()
|
D | ViewGroup_MarginLayoutParamsTest.java | 230 viewGroup.measure(measureSpec, measureSpec); in testVerticalHorizontalMargins()
|
/cts/hostsidetests/ui/control/src/android/taskswitching/control/cts/ |
D | TaskSwitchingDeviceTest.java | 58 double[] results = MeasureTime.measure(NUMBER_REPEAT, new MeasureRun() { in testMeasureTaskSwitching()
|
/cts/hostsidetests/ui/src/android/ui/cts/ |
D | InstallTimeTest.java | 95 double[] result = MeasureTime.measure(NUMBER_REPEAT, new MeasureRun() { in testInstallTime()
|
/cts/tests/tests/transition/src/android/transition/cts/ |
D | TransitionInflaterTest.java | 226 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/ |
D | SampleHostResultTest.java | 114 double[] result = MeasureTime.measure(REPEAT, new MeasureRun() { in testTransferTime()
|
/cts/tests/filesystem/src/android/filesystem/cts/ |
D | SequentialRWTest.java | 120 double[] times = MeasureTime.measure(NUMBER_READ, new MeasureRun() { in testSingleSequentialRead()
|
D | FileUtil.java | 392 double[] times = MeasureTime.measure(numberRepeatInOneRun, new MeasureRun() { in doSequentialUpdateTest()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
D | BoxInsetLayout.java | 231 child.measure(childWidthMeasureSpec, childHeightMeasureSpec); in onMeasure()
|