/frameworks/minikin/tests/unittest/ |
D | FontCollectionItemizeTest.cpp | 123 auto runs = itemize(collection, "'a' 'b' 'c' 'd' 'e'", kRegularStyle); in TEST() local 124 ASSERT_EQ(1U, runs.size()); in TEST() 125 EXPECT_EQ(0, runs[0].start); in TEST() 126 EXPECT_EQ(5, runs[0].end); in TEST() 127 EXPECT_EQ(kLatinFont, getFontName(runs[0])); in TEST() 128 EXPECT_FALSE(runs[0].fakedFont.fakery.isFakeBold()); in TEST() 129 EXPECT_FALSE(runs[0].fakedFont.fakery.isFakeItalic()); in TEST() 131 runs = itemize(collection, "'a' 'b' 'c' 'd' 'e'", kItalicStyle); in TEST() 132 ASSERT_EQ(1U, runs.size()); in TEST() 133 EXPECT_EQ(0, runs[0].start); in TEST() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/ |
D | InitControllerTest.java | 39 boolean[] runs = {false, false, false}; in testInitControllerExecutesTasks() 41 runs[0] = true; in testInitControllerExecutesTasks() 44 runs[1] = true; in testInitControllerExecutesTasks() 47 runs[2] = true; in testInitControllerExecutesTasks() 49 assertFalse(runs[0] || runs[1] || runs[2]); in testInitControllerExecutesTasks() 52 assertTrue(runs[0] && runs[1] && runs[2]); in testInitControllerExecutesTasks() 57 boolean[] runs = {false, false, false}; in testInitControllerThrowsWhenTasksAreAddedAfterExecution() 59 runs[0] = true; in testInitControllerThrowsWhenTasksAreAddedAfterExecution() 62 runs[1] = true; in testInitControllerThrowsWhenTasksAreAddedAfterExecution() 69 runs[2] = true; in testInitControllerThrowsWhenTasksAreAddedAfterExecution()
|
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/util/perf/ |
D | PerformanceRunner.java | 47 mRuns = classConfig != null && classConfig.runs() != -1 ? in PerformanceRunner() 48 classConfig.runs() : in PerformanceRunner() 55 int runs; in methodInvoker() local 61 runs = methodConfig != null && methodConfig.runs() != -1 ? in methodInvoker() 62 methodConfig.runs() : in methodInvoker() 64 return new TimedStatement(super.methodInvoker(method, test), warmUpIterations, runs, in methodInvoker() 78 int runs() default -1; in runs() method
|
D | TimedStatementResult.java | 35 TimedStatementResult(int warmUpIterations, int runs, in TimedStatementResult() argument 40 mRuns = runs; in TimedStatementResult()
|
D | TimedStatement.java | 55 TimedStatement(Statement statement, int warmUpIterations, int runs, in TimedStatement() argument 59 mRuns = runs; in TimedStatement()
|
/frameworks/base/core/java/com/android/internal/graphics/palette/ |
D | VariationalKMeansQuantizer.java | 130 int runs = mInitializations; in getOptimalKMeans() local 131 while (runs > 0) { in getOptimalKMeans() 133 Log.d(TAG, "k-means run: " + runs); in getOptimalKMeans() 144 runs--; in getOptimalKMeans()
|
/frameworks/base/core/java/android/text/ |
D | Layout.java | 955 int[] runs = dirs.mDirections; in isLevelBoundary() local 960 int runIndex = offset == lineStart ? 0 : runs.length - 2; in isLevelBoundary() 961 return ((runs[runIndex + 1] >>> RUN_LEVEL_SHIFT) & RUN_LEVEL_MASK) != paraLevel; in isLevelBoundary() 965 for (int i = 0; i < runs.length; i += 2) { in isLevelBoundary() 966 if (offset == runs[i]) { in isLevelBoundary() 987 int[] runs = dirs.mDirections; in isRtlCharAt() local 989 for (int i = 0; i < runs.length; i += 2) { in isRtlCharAt() 990 int start = lineStart + runs[i]; in isRtlCharAt() 991 int limit = start + (runs[i+1] & RUN_LENGTH_MASK); in isRtlCharAt() 993 int level = (runs[i+1] >>> RUN_LEVEL_SHIFT) & RUN_LEVEL_MASK; in isRtlCharAt() [all …]
|
D | TextLine.java | 546 int[] runs = mDirections.mDirections; 554 runIndex = runs.length; 558 for (runIndex = 0; runIndex < runs.length; runIndex += 2) { 559 runStart = lineStart + runs[runIndex]; 561 runLimit = runStart + (runs[runIndex+1] & Layout.RUN_LENGTH_MASK); 566 runLevel = (runs[runIndex+1] >>> Layout.RUN_LEVEL_SHIFT) & 574 for (prevRunIndex = 0; prevRunIndex < runs.length; prevRunIndex += 2) { 575 prevRunStart = lineStart + runs[prevRunIndex]; 578 (runs[prevRunIndex+1] & Layout.RUN_LENGTH_MASK); 583 prevRunLevel = (runs[prevRunIndex+1] >>> Layout.RUN_LEVEL_SHIFT) [all …]
|
/frameworks/minikin/include/minikin/ |
D | MeasuredText.h | 183 std::vector<std::unique_ptr<Run>> runs; variable 212 MeasuredText(const U16StringPiece& textBuf, std::vector<std::unique_ptr<Run>>&& runs, in MeasuredText() argument 214 : widths(textBuf.size()), runs(std::move(runs)) { in MeasuredText()
|
/frameworks/av/media/libaaudio/tests/ |
D | test_timestamps.cpp | 249 for (int runs = 0; runs < NUM_LOOPS; runs++) { in testTimeStamps() local 250 printf("------------------ loop #%d\n", runs); in testTimeStamps()
|
/frameworks/base/tests/ActivityManagerPerfTests/ |
D | README.txt | 13 to the time the Service runs its callbacks 18 * Each test will run multiple times to account for variation in test runs 22 * Instrumentation test which runs the various performance tests and reports the results
|
/frameworks/minikin/libs/minikin/ |
D | MeasuredText.cpp | 135 for (const auto& run : runs) { in measure() 280 for (const auto& run : runs) { in buildLayout() 300 for (const auto& run : runs) { in getBounds() 316 for (const auto& run : runs) { in getExtent()
|
D | GreedyLineBreaker.cpp | 169 for (const auto& run : mMeasuredText.runs) { in tryLineBreakWithHyphenation() 329 for (const auto& run : mMeasuredText.runs) { in process()
|
/frameworks/base/tests/SystemMemoryTest/ |
D | README.txt | 18 This installs and runs the test on device. You can see the metrics in the
|
/frameworks/base/startop/view_compiler/ |
D | README.md | 30 code validates, runs, and has the correct behavior. There are, unfortunately, a 34 * `dex_testcase_generator` - Written in C++ using `DexBuilder`. This runs as a
|
/frameworks/base/native/android/ |
D | system_fonts.cpp | 249 std::vector<minikin::FontCollection::Run> runs = fc->itemize( in AFontMatcher_match() local 256 const minikin::Font* font = runs[0].fakedFont.font; in AFontMatcher_match() 270 *runLength = runs[0].end; in AFontMatcher_match()
|
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/results/ |
D | GlobalResultsStore.java | 360 ArrayList<UiBenchmarkResult> runs = detailedResults.get(test); in writeRawResults() local 361 for (int i = 0; i < runs.size(); i++) { in writeRawResults() 362 UiBenchmarkResult run = runs.get(i); in writeRawResults()
|
/frameworks/base/packages/SettingsProvider/ |
D | Android.bp | 21 …// because this test is not an instrumentation test. (because the target runs in the system proces…
|
/frameworks/native/opengl/tests/testViewport/ |
D | README | 28 call (which means it is called before every draw), the program runs correctly.
|
/frameworks/base/packages/InputDevices/ |
D | Android.bp | 32 // the check runs for platform builds.
|
/frameworks/opt/telephony/ |
D | README.txt | 17 telephony-related code runs in the privileged com.android.phone process. Such
|
/frameworks/base/tests/FlickerTests/ |
D | README.md | 7 The library builds and runs UI transitions, captures Winscope traces and exposes common assertions … 113 …tion. This monitor is started by default and is used to eliminate *janky* runs. If an iteration ha…
|
/frameworks/av/apex/ |
D | Android.bp | 20 // Extractor process runs only with the primary ABI.
|
/frameworks/rs/tests/java_api/Refocus/dataExtraction/ |
D | RefocusTestTimingProcess.txt | 9 …s) and average the performance number. Make sure not to use the first two runs since the device mi…
|
/frameworks/native/cmds/flatland/ |
D | README.txt | 29 measured, each sample measurement runs for between 50 and 200 ms, so a sleep
|