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.java367 private int getClusterCount(Paint p, String text) { in getClusterCount() method in PaintTest
371 int ccByString = runInfo.getClusterCount(); in getClusterCount()
377 int ccByChars = runInfo.getClusterCount(); in getClusterCount()
387 assertEquals(1, getClusterCount(p, "A")); in testCluster()
388 assertEquals(2, getClusterCount(p, "AB")); in testCluster()
391 assertEquals(1, getClusterCount(p, "fi")); // Ligature in testCluster()
393 assertEquals(2, getClusterCount(p, "fi")); // Ligature is disabled in testCluster()
397 assertEquals(1, getClusterCount(p, "\u0061\u0300")); // A + COMBINING GRAVE ACCENT in testCluster()
402 assertEquals(3, getClusterCount(p, rtlStr)); in testCluster()
403 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/minikin/libs/minikin/
DLayout.cpp304 uint32_t getClusterCount() const { return mClusterCount; } in getClusterCount() function in minikin::LayoutAppendFunctor
331 *clusterCount += f.getClusterCount(); in doLayoutWord()
/frameworks/base/core/java/android/text/
DTextLine.java85 public int getClusterCount() { in getClusterCount() method in TextLine.LineInfo
312 int lettersCount = lineInfo.getClusterCount(); in justify()
323 lettersCount = lineInfo.getClusterCount(); in justify()
1266 lineInfo.setClusterCount(lineInfo.getClusterCount() + mRunInfo.getClusterCount()); in getRunAdvance()
1279 lineInfo.getClusterCount() + mRunInfo.getClusterCount()); in getRunAdvance()
DLayout.java2110 return mLineInfo.getClusterCount(); in getLineLetterSpacingUnitCount()
/frameworks/base/graphics/java/android/graphics/
DPaint.java2544 public int getClusterCount() { in getClusterCount() method in Paint.RunInfo