Searched refs:runs (Results 1 - 11 of 11) sorted by relevance

/frameworks/minikin/tests/unittest/
H A DFontCollectionItemizeTest.cpp82 std::vector<FontCollection::Run> runs; local
89 itemize(collection, "'a' 'b' 'c' 'd' 'e'", kRegularStyle, &runs);
90 ASSERT_EQ(1U, runs.size());
91 EXPECT_EQ(0, runs[0].start);
92 EXPECT_EQ(5, runs[0].end);
93 EXPECT_EQ(kLatinFont, getFontPath(runs[0]));
94 EXPECT_FALSE(runs[0].fakedFont.fakery.isFakeBold());
95 EXPECT_FALSE(runs[0].fakedFont.fakery.isFakeItalic());
97 itemize(collection, "'a' 'b' 'c' 'd' 'e'", kItalicStyle, &runs);
98 ASSERT_EQ(1U, runs
154 std::vector<FontCollection::Run> runs; local
197 std::vector<FontCollection::Run> runs; local
258 std::vector<FontCollection::Run> runs; local
347 std::vector<FontCollection::Run> runs; local
386 std::vector<FontCollection::Run> runs; local
525 std::vector<FontCollection::Run> runs; local
650 std::vector<FontCollection::Run> runs; local
674 std::vector<FontCollection::Run> runs; local
731 std::vector<FontCollection::Run> runs; local
742 std::vector<FontCollection::Run> runs; local
950 std::vector<FontCollection::Run> runs; local
1263 std::vector<FontCollection::Run> runs; local
1274 std::vector<FontCollection::Run> runs; local
1356 std::vector<FontCollection::Run> runs; local
1438 std::vector<FontCollection::Run> runs; local
1477 std::vector<FontCollection::Run> runs; local
1497 std::vector<FontCollection::Run> runs; local
1545 std::vector<FontCollection::Run> runs; local
1580 std::vector<FontCollection::Run> runs; local
[all...]
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/util/perf/
H A DPerformanceRunner.java47 mRuns = classConfig != null && classConfig.runs() != -1 ?
48 classConfig.runs() :
55 int runs;
61 runs = methodConfig != null && methodConfig.runs() != -1 ?
62 methodConfig.runs() :
64 return new TimedStatement(super.methodInvoker(method, test), warmUpIterations, runs,
78 int runs() default -1;
H A DTimedStatementResult.java35 TimedStatementResult(int warmUpIterations, int runs, argument
40 mRuns = runs;
H A DTimedStatement.java55 TimedStatement(Statement statement, int warmUpIterations, int runs, argument
59 mRuns = runs;
/frameworks/base/core/java/android/text/
H A DTextLine.java236 int[] runs = mDirections.mDirections;
238 int lastRunIndex = runs.length - 2;
239 for (int i = 0; i < runs.length; i += 2) {
240 int runStart = runs[i];
241 int runLimit = runStart + (runs[i+1] & Layout.RUN_LENGTH_MASK);
245 boolean runIsRtl = (runs[i+1] & Layout.RUN_RTL_FLAG) != 0;
315 int[] runs = mDirections.mDirections;
316 for (int i = 0; i < runs.length; i += 2) {
317 int runStart = runs[i];
318 int runLimit = runStart + (runs[
[all...]
H A DLayout.java907 int[] runs = dirs.mDirections;
912 int runIndex = offset == lineStart ? 0 : runs.length - 2;
913 return ((runs[runIndex + 1] >>> RUN_LEVEL_SHIFT) & RUN_LEVEL_MASK) != paraLevel;
917 for (int i = 0; i < runs.length; i += 2) {
918 if (offset == runs[i]) {
939 int[] runs = dirs.mDirections;
941 for (int i = 0; i < runs.length; i += 2) {
942 int start = lineStart + runs[i];
943 int limit = start + (runs[i+1] & RUN_LENGTH_MASK);
945 int level = (runs[
[all...]
/frameworks/base/core/java/com/android/internal/graphics/palette/
H A DVariationalKMeansQuantizer.java49 * consistent results across multiple runs.
130 int runs = mInitializations;
131 while (runs > 0) {
133 Log.d(TAG, "k-means run: " + runs);
144 runs--;
/frameworks/base/packages/SettingsProvider/test/
H A DAndroid.mk8 # because this test is not an instrumentation test. (because the target runs in the system process.)
/frameworks/av/media/libaaudio/tests/
H A Dtest_timestamps.cpp206 for (int runs = 0; runs < NUM_LOOPS; runs++) {
207 printf("------------------ loop #%d\n", runs);
/frameworks/av/services/mediacodec/
H A DAndroid.mk53 # mediacodec runs in 32-bit combatibility mode. For 64 bit architectures,
/frameworks/native/cmds/dumpstate/
H A Dutils.cpp195 MYLOGI("Average max progress: %d in %d runs; estimated max: %d\n", average_max_, n_runs_, max_);
200 int32_t runs = n_runs_ + 1; local
201 int32_t average = floor(((float)total) / runs);
202 MYLOGI("Saving stats (total=%d, runs=%d, average=%d) on %s\n", total, runs, average,
208 std::string content = android::base::StringPrintf("%d %d\n", runs, average);

Completed in 264 milliseconds