/frameworks/minikin/tests/unittest/ |
D | LayoutCoreTest.cpp | 94 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 …]
|
D | LayoutTest.cpp | 450 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/ |
D | TextLineJustificationTest.kt | 49 }.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/ |
D | Layout.cpp | 213 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/ |
D | Layout.h | 119 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);
|
D | LayoutCore.h | 53 uint32_t clusterCount() const { return mClusterCount; } in clusterCount() function
|
/frameworks/base/services/core/java/com/android/server/power/stats/ |
D | CpuPowerStatsLayout.java | 74 public void addDeviceSectionCpuTimeByCluster(int clusterCount) { in addDeviceSectionCpuTimeByCluster() argument 75 mDeviceCpuTimeByClusterPosition = addDeviceSection(clusterCount, "clusters"); in addDeviceSectionCpuTimeByCluster() 76 mDeviceCpuTimeByClusterCount = clusterCount; in addDeviceSectionCpuTimeByCluster()
|
D | CpuPowerStatsProcessor.java | 164 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/ |
D | MinikinUtils.cpp | 102 minikin::MinikinRect* bounds, uint32_t* clusterCount) { in measureText() argument 113 endHyphen, advances, bounds, clusterCount, minikinRunFlag); in measureText()
|
D | MinikinUtils.h | 56 float* advances, minikin::MinikinRect* bounds, uint32_t* clusterCount);
|
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/ |
D | CpuPowerStatsCollectorTest.java | 403 private void mockCpuScalingPolicies(int clusterCount) { in mockCpuScalingPolicies() argument 408 if (clusterCount == 2) { in mockCpuScalingPolicies()
|
/frameworks/base/libs/hwui/jni/ |
D | Paint.cpp | 511 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()
|
D | GraphicsJNI.h | 80 static void set_cluster_count_to_run_info(JNIEnv* env, jobject runInfo, jint clusterCount);
|
D | Graphics.cpp | 513 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/ |
D | TextLine.java | 89 public void setClusterCount(int clusterCount) { in setClusterCount() argument 90 mClusterCount = clusterCount; in setClusterCount()
|
/frameworks/base/graphics/java/android/graphics/ |
D | Paint.java | 2548 public void setClusterCount(int clusterCount) { in setClusterCount() argument 2549 mClusterCount = clusterCount; in setClusterCount()
|