Home
last modified time | relevance | path

Searched refs:runLimit (Results 1 – 2 of 2) sorted by relevance

/libcore/ojluni/src/test/java/text/AttributedString/
DgetRunStartLimitTest.java78 int runLimit = aci.getRunLimit(); in main() local
79 if (runLimit != 3) { in main()
80 throw new Exception("1st run limit is wrong. ("+runLimit+" should be 3.)"); in main()
95 aci.setIndex(runLimit); in main()
101 runLimit = aci.getRunLimit(); in main()
102 if (runLimit != 4) { in main()
103 throw new Exception("2nd run limit is wrong. ("+runLimit+" should be 4.)"); in main()
/libcore/ojluni/src/main/java/java/text/
DAttributedString.java640 int runLimit = (currIndex < runCount - 1) ? runStarts[currIndex + 1] : textLength; in getAttributeCheckRange() local
641 while (runLimit <= endIndex && in getAttributeCheckRange()
644 runLimit = (currIndex < runCount - 1) ? runStarts[currIndex + 1] : textLength; in getAttributeCheckRange()
646 if (runLimit > endIndex) { in getAttributeCheckRange()
914 int runLimit = currentRunLimit; in getRunLimit() local
916 while (runLimit < endIndex && in getRunLimit()
919 runLimit = runIndex < runCount - 1 ? runStarts[runIndex + 1] : endIndex; in getRunLimit()
921 if (runLimit > endIndex) { in getRunLimit()
922 runLimit = endIndex; in getRunLimit()
924 return runLimit; in getRunLimit()
[all …]