Home
last modified time | relevance | path

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

/external/webkit/Source/WebCore/platform/graphics/
DStringTruncator.cpp128 unsigned keepCountForLargestKnownToFit = 0; in truncateString() local
135 keepCountForLargestKnownToFit = 1; in truncateString()
139 while (keepCountForLargestKnownToFit + 1 < keepCountForSmallestKnownToNotFit) { in truncateString()
143 float ratio = (keepCountForSmallestKnownToNotFit - keepCountForLargestKnownToFit) in truncateString()
147 if (keepCount <= keepCountForLargestKnownToFit) { in truncateString()
148 keepCount = keepCountForLargestKnownToFit + 1; in truncateString()
156 ASSERT(keepCount > keepCountForLargestKnownToFit); in truncateString()
162 keepCountForLargestKnownToFit = keepCount; in truncateString()
170 if (keepCountForLargestKnownToFit == 0) { in truncateString()
171 keepCountForLargestKnownToFit = 1; in truncateString()
[all …]