Home
last modified time | relevance | path

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

/packages/apps/UnifiedEmail/src/com/google/android/mail/common/html/parser/
DHtmlTree.java460 int textPos = textPositions[nodePos]; in canBeginBlockAt() local
464 if (textPos == plainText.length()) { in canBeginBlockAt()
465 textPos--; in canBeginBlockAt()
470 for (int i = textPos; i > 0; i--) { in canBeginBlockAt()
475 if (i < textPos && !HTML_WHITESPACE.matches(ch)) { in canBeginBlockAt()
485 private int getBlockStart(int textPos) { in getBlockStart() argument
486 int nodenum = Arrays.binarySearch(textPositions, textPos); in getBlockStart()
490 while ((nodenum - 1) >= 0 && textPositions[nodenum - 1] == textPos) { in getBlockStart()
505 private int getBlockEnd(int textPos) { in getBlockEnd() argument
506 int nodenum = Arrays.binarySearch(textPositions, textPos); in getBlockEnd()
[all …]