/frameworks/minikin/tests/unittest/ |
D | FontCollectionItemizeTest.cpp | 88 std::vector<Run> runs; in itemize() local 90 runs.push_back( in itemize() 93 return runs; in itemize() 132 auto runs = itemize(collection, "'a' 'b' 'c' 'd' 'e'", kRegularStyle); in TEST() local 133 ASSERT_EQ(1U, runs.size()); in TEST() 134 EXPECT_EQ(0, runs[0].start); in TEST() 135 EXPECT_EQ(5, runs[0].end); in TEST() 136 EXPECT_EQ(kLatinFont, getFontName(runs[0])); in TEST() 137 EXPECT_FALSE(runs[0].fakedFont.fakery.isFakeBold()); in TEST() 138 EXPECT_FALSE(runs[0].fakedFont.fakery.isFakeItalic()); in TEST() [all …]
|
D | MeasuredTextTest.cpp | 606 EXPECT_EQ((size_t)1, mt->runs.size()); in TEST() 607 EXPECT_EQ(LineBreakStyle::Loose, mt->runs[0]->lineBreakStyle()); in TEST() 608 EXPECT_EQ(LineBreakWordStyle::Phrase, mt->runs[0]->lineBreakWordStyle()); in TEST() 619 EXPECT_EQ((size_t)1, mt->runs.size()); in TEST() 620 EXPECT_EQ(LineBreakStyle::Normal, mt->runs[0]->lineBreakStyle()); in TEST() 621 EXPECT_EQ(LineBreakWordStyle::Phrase, mt->runs[0]->lineBreakWordStyle()); in TEST() 633 EXPECT_EQ((size_t)1, mt->runs.size()); in TEST() 634 EXPECT_EQ(LineBreakStyle::Strict, mt->runs[0]->lineBreakStyle()); in TEST() 635 EXPECT_EQ(LineBreakWordStyle::None, mt->runs[0]->lineBreakWordStyle()); in TEST()
|
/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/bridge_client/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/packages/SystemUI/animation/src/com/android/systemui/animation/ |
D | TextInterpolator.kt | 86 private class Line(val runs: List<Run>) in <lambda>() constant in Line 217 line.runs.forEach { run -> in <lambda>() 242 line.runs.forEach { run -> in <lambda>() 271 val runs = in <lambda>() constant 334 Line(runs) in <lambda>() 432 lines.zip(layoutResult) { line, runs -> in <lambda>() method 433 line.runs.zip(runs) { lineRun, newGlyphs -> in <lambda>() 504 val runs = mutableListOf<PositionedGlyphs>() in <lambda>() constant 512 runs.add(glyphs) in <lambda>() 514 out.add(runs) in <lambda>()
|
/frameworks/base/core/java/com/android/internal/graphics/palette/ |
D | VariationalKMeansQuantizer.java | 131 int runs = mInitializations; in getOptimalKMeans() local 132 while (runs > 0) { in getOptimalKMeans() 134 Log.d(TAG, "k-means run: " + runs); in getOptimalKMeans() 145 runs--; in getOptimalKMeans()
|
/frameworks/native/services/surfaceflinger/CompositionEngine/src/planner/ |
D | Flattener.cpp | 419 std::vector<Run> runs; in findCandidateRuns() local 464 runs.push_back(*run); in findCandidateRuns() 478 runs.push_back(*run); in findCandidateRuns() 482 ALOGV("[%s] Found %zu candidate runs", __func__, runs.size()); in findCandidateRuns() 484 return runs; in findCandidateRuns() 487 std::optional<Flattener::Run> Flattener::findBestRun(std::vector<Flattener::Run>& runs) const { in findBestRun() 488 if (runs.empty()) { in findBestRun() 493 return runs[0]; in findBestRun() 516 std::vector<Run> runs = findCandidateRuns(now); in buildCachedSets() local 518 std::optional<Run> bestRun = findBestRun(runs); in buildCachedSets()
|
/frameworks/base/ravenwood/ |
D | README.md | 3 …lly-supported lightweight unit testing environment for Android platform code that runs on the host. 11 …rectly from build artifacts (no flashing required), runs immediately (no booting required), and ru… 18 ….** This improves maintenance of APIs by providing awareness of what code runs under Ravenwood, in… 22 …mulation of how a device behaves, or they can bring more “real” code that runs on physical devices.
|
D | api-maintainers.md | 20 // This method implementation runs as-is on both devices and Ravenwood 24 // This method implementation runs as-is on devices, but because there 38 // This method implementation runs as-is on both devices and Ravenwood, 44 // This method implementation runs as-is on devices, but the 58 // This method implementation runs as-is on devices, but the 64 // This method implementation only runs under Ravenwood
|
/frameworks/base/tools/lint/fix/ |
D | README.md | 7 It's a python script that runs the framework linter, 18 directory. This script runs the lint, unpacks those files, and copies them back into the tree.
|
/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/core/java/android/text/ |
D | Layout.java | 1431 int[] runs = dirs.mDirections; in isLevelBoundary() local 1436 int runIndex = offset == lineStart ? 0 : runs.length - 2; in isLevelBoundary() 1437 return ((runs[runIndex + 1] >>> RUN_LEVEL_SHIFT) & RUN_LEVEL_MASK) != paraLevel; in isLevelBoundary() 1441 for (int i = 0; i < runs.length; i += 2) { in isLevelBoundary() 1442 if (offset == runs[i]) { in isLevelBoundary() 1463 int[] runs = dirs.mDirections; in isRtlCharAt() local 1465 for (int i = 0; i < runs.length; i += 2) { in isRtlCharAt() 1466 int start = lineStart + runs[i]; in isRtlCharAt() 1467 int limit = start + (runs[i+1] & RUN_LENGTH_MASK); in isRtlCharAt() 1469 int level = (runs[i+1] >>> RUN_LEVEL_SHIFT) & RUN_LEVEL_MASK; in isRtlCharAt() [all …]
|
D | TextLine.java | 948 int[] runs = mDirections.mDirections; 956 runIndex = runs.length; 960 for (runIndex = 0; runIndex < runs.length; runIndex += 2) { 961 runStart = lineStart + runs[runIndex]; 963 runLimit = runStart + (runs[runIndex+1] & Layout.RUN_LENGTH_MASK); 968 runLevel = (runs[runIndex+1] >>> Layout.RUN_LEVEL_SHIFT) & 976 for (prevRunIndex = 0; prevRunIndex < runs.length; prevRunIndex += 2) { 977 prevRunStart = lineStart + runs[prevRunIndex]; 980 (runs[prevRunIndex+1] & Layout.RUN_LENGTH_MASK); 985 prevRunLevel = (runs[prevRunIndex+1] >>> Layout.RUN_LEVEL_SHIFT) [all …]
|
/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 | 179 for (const auto& run : runs) { in measure() 358 for (const auto& run : runs) { in buildLayout() 378 for (const auto& run : runs) { in getBounds() 393 for (const auto& run : runs) { in getExtent() 406 for (const auto& run : runs) { in getLineMetrics()
|
D | GreedyLineBreaker.cpp | 184 for (const auto& run : mMeasuredText.runs) { in tryLineBreakWithHyphenation() 311 for (const auto& run : mMeasuredText.runs) { in doLineBreakWithFallback() 457 for (uint32_t runIndex = 0; runIndex < mMeasuredText.runs.size(); ++runIndex) { in process() 458 const std::unique_ptr<Run>& run = mMeasuredText.runs[runIndex]; in process()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/docs/ |
D | threading.md | 29 - This thread runs with `THREAD_PRIORITY_DISPLAY` priority since so many windowing-critical 39 - This thread runs with `THREAD_PRIORITY_BACKGROUND` priority 66 - Since everything in the Shell runs on the main Shell thread, you do **not** need to explicitly
|
/frameworks/base/tests/SystemMemoryTest/ |
D | README.txt | 18 This installs and runs the test on device. You can see the metrics in the
|
/frameworks/av/media/ |
D | TEST_MAPPING | 4 // runs whenever we change something in this tree
|
/frameworks/native/services/surfaceflinger/tests/tracing/ |
D | readme.md | 5 runs through all testdata/transactions_trace_*.winscope files,
|
/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/libs/WindowManager/Shell/tests/ |
D | README.md | 12 @LargeTest and runs with UI automation on real device
|
/frameworks/native/opengl/tests/testViewport/ |
D | README | 28 call (which means it is called before every draw), the program runs correctly.
|