Home
last modified time | relevance | path

Searched refs:clusterCount (Results 1 – 16 of 16) sorted by relevance

/frameworks/minikin/tests/unittest/
DLayoutCoreTest.cpp94 EXPECT_EQ(1u, layout.clusterCount()); in TEST()
107 EXPECT_EQ(2u, layout.clusterCount()); in TEST()
124 EXPECT_EQ(2u, layout.clusterCount()); in TEST()
152 EXPECT_EQ(2u, layout.clusterCount()); in TEST()
169 EXPECT_EQ(2u, layout.clusterCount()); in TEST()
193 EXPECT_EQ(1u, layout.clusterCount()); in TEST()
207 EXPECT_EQ(1u, layout.clusterCount()); in TEST()
221 EXPECT_EQ(1u, layout.clusterCount()); in TEST()
235 EXPECT_EQ(2u, layout.clusterCount()); in TEST()
251 EXPECT_EQ(2u, layout.clusterCount()); in TEST()
[all …]
DLayoutTest.cpp450 uint32_t clusterCount = 0; in TEST_F() local
454 &clusterCount, RunFlag::NONE)); in TEST_F()
455 ASSERT_EQ(1u, clusterCount); in TEST_F()
463 uint32_t clusterCount = 0; in TEST_F() local
467 &clusterCount, RunFlag::NONE)); in TEST_F()
468 ASSERT_EQ(2u, clusterCount); in TEST_F()
477 uint32_t clusterCount = 0; in TEST_F() local
482 &clusterCount, RunFlag::NONE)); in TEST_F()
483 ASSERT_EQ(3u, clusterCount); in TEST_F()
/frameworks/base/core/tests/coretests/src/android/text/
DTextLineJustificationTest.kt49 }.clusterCount in <lambda>()
65 val clusterCount = getClusterCount(line, PAINT) in justifyTest_IntrCharacter_Latin() constant
74 assertThat(tl.addedLetterSpacingInPx).isEqualTo(extraWidth / (clusterCount - 1)) in justifyTest_IntrCharacter_Latin()
82 val clusterCount = getClusterCount(line, PAINT) in justifyTest_IntrCharacter_Japanese() constant
91 assertThat(tl.addedLetterSpacingInPx).isEqualTo(extraWidth / (clusterCount - 1)) in justifyTest_IntrCharacter_Japanese()
/frameworks/minikin/libs/minikin/
DLayout.cpp213 uint32_t* clusterCount, RunFlag runFlag) { in measureText() argument
215 if (clusterCount) { in measureText()
216 *clusterCount = 0; in measureText()
234 bounds ? &tmpBounds : nullptr, clusterCount); in measureText()
249 uint32_t* clusterCount) { in doLayoutRunCached() argument
268 bounds ? &tmpBounds : nullptr, clusterCount); in doLayoutRunCached()
300 mClusterCount += layoutPiece.clusterCount(); in operator ()()
319 float* advances, MinikinRect* bounds, uint32_t* clusterCount) { in doLayoutWord() argument
330 if (clusterCount) { in doLayoutWord()
331 *clusterCount += f.getClusterCount(); in doLayoutWord()
/frameworks/minikin/include/minikin/
DLayout.h119 uint32_t* clusterCount) { in measureText() argument
121 clusterCount, RunFlag::NONE); in measureText()
127 uint32_t* clusterCount, RunFlag runFlag);
189 uint32_t* clusterCount);
195 float* advances, MinikinRect* bounds, uint32_t* clusterCount);
200 EndHyphenEdit endHyphen, MinikinRect* bounds, uint32_t* clusterCount);
DLayoutCore.h53 uint32_t clusterCount() const { return mClusterCount; } in clusterCount() function
/frameworks/base/services/core/java/com/android/server/power/stats/
DCpuPowerStatsLayout.java74 public void addDeviceSectionCpuTimeByCluster(int clusterCount) { in addDeviceSectionCpuTimeByCluster() argument
75 mDeviceCpuTimeByClusterPosition = addDeviceSection(clusterCount, "clusters"); in addDeviceSectionCpuTimeByCluster()
76 mDeviceCpuTimeByClusterCount = clusterCount; in addDeviceSectionCpuTimeByCluster()
DCpuPowerStatsProcessor.java164 int clusterCount = mStatsLayout.getCpuClusterCount(); in finish() local
165 if (clusterCount != mCpuClusterCount) { in finish()
166 Log.e(TAG, "Mismatched CPU cluster count in PowerStats: " + clusterCount in finish()
/frameworks/base/libs/hwui/hwui/
DMinikinUtils.cpp102 minikin::MinikinRect* bounds, uint32_t* clusterCount) { in measureText() argument
113 endHyphen, advances, bounds, clusterCount, minikinRunFlag); in measureText()
DMinikinUtils.h56 float* advances, minikin::MinikinRect* bounds, uint32_t* clusterCount);
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DCpuPowerStatsCollectorTest.java403 private void mockCpuScalingPolicies(int clusterCount) { in mockCpuScalingPolicies() argument
408 if (clusterCount == 2) { in mockCpuScalingPolicies()
/frameworks/base/libs/hwui/jni/
DPaint.cpp511 jint advancesIndex, SkRect* drawBounds, uint32_t* clusterCount) { in doRunAdvance() argument
524 drawBounds ? &bounds : nullptr, clusterCount); in doRunAdvance()
533 clusterCount); in doRunAdvance()
567 uint32_t clusterCount = 0; in getRunCharacterAdvance___CIIIIZI_FI_F() local
571 drawBounds ? &skDrawBounds : nullptr, &clusterCount); in getRunCharacterAdvance___CIIIIZI_FI_F()
576 GraphicsJNI::set_cluster_count_to_run_info(env, runInfo, clusterCount); in getRunCharacterAdvance___CIIIIZI_FI_F()
DGraphicsJNI.h80 static void set_cluster_count_to_run_info(JNIEnv* env, jobject runInfo, jint clusterCount);
DGraphics.cpp513 void GraphicsJNI::set_cluster_count_to_run_info(JNIEnv* env, jobject runInfo, jint clusterCount) { in set_cluster_count_to_run_info() argument
514 env->SetIntField(runInfo, gRunInfo_clusterCount, clusterCount); in set_cluster_count_to_run_info()
/frameworks/base/core/java/android/text/
DTextLine.java89 public void setClusterCount(int clusterCount) { in setClusterCount() argument
90 mClusterCount = clusterCount; in setClusterCount()
/frameworks/base/graphics/java/android/graphics/
DPaint.java2548 public void setClusterCount(int clusterCount) { in setClusterCount() argument
2549 mClusterCount = clusterCount; in setClusterCount()