Home
last modified time | relevance | path

Searched refs:getClusterCount (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/graphics/
DPaintTest.java401 private int getClusterCount(Paint p, String text) { in getClusterCount() method in PaintTest
405 int ccByString = runInfo.getClusterCount(); in getClusterCount()
411 int ccByChars = runInfo.getClusterCount(); in getClusterCount()
422 assertEquals(1, getClusterCount(p, "A")); in testCluster()
423 assertEquals(2, getClusterCount(p, "AB")); in testCluster()
426 assertEquals(1, getClusterCount(p, "fi")); // Ligature in testCluster()
428 assertEquals(2, getClusterCount(p, "fi")); // Ligature is disabled in testCluster()
432 assertEquals(1, getClusterCount(p, "\u0061\u0300")); // A + COMBINING GRAVE ACCENT in testCluster()
437 assertEquals(3, getClusterCount(p, rtlStr)); in testCluster()
438 assertEquals(6, getClusterCount(p, rtlStr + ltrStr)); in testCluster()
[all …]
/frameworks/base/core/tests/coretests/src/android/text/
DTextLineJustificationTest.kt44 private fun getClusterCount(cs: CharSequence, paint: TextPaint) = TextLine.LineInfo().apply { in <lambda>() method
65 val clusterCount = getClusterCount(line, PAINT) in justifyTest_IntrCharacter_Latin()
82 val clusterCount = getClusterCount(line, PAINT) in justifyTest_IntrCharacter_Japanese()
/frameworks/base/core/java/android/text/
DTextLine.java86 public int getClusterCount() { in getClusterCount() method in TextLine.LineInfo
313 int lettersCount = lineInfo.getClusterCount(); in justify()
324 lettersCount = lineInfo.getClusterCount(); in justify()
1267 lineInfo.setClusterCount(lineInfo.getClusterCount() + mRunInfo.getClusterCount()); in getRunAdvance()
1280 lineInfo.getClusterCount() + mRunInfo.getClusterCount()); in getRunAdvance()
DLayout.java2162 return mLineInfo.getClusterCount(); in getLineLetterSpacingUnitCount()
/frameworks/minikin/libs/minikin/
DLayout.cpp331 uint32_t getClusterCount() const { return mClusterCount; } in getClusterCount() function in minikin::LayoutAppendFunctor
358 *clusterCount += f.getClusterCount(); in doLayoutWord()
/frameworks/base/graphics/java/android/graphics/
DPaint.java2703 public int getClusterCount() { in getClusterCount() method in Paint.RunInfo