Searched refs:skipCount (Results 1 – 3 of 3) sorted by relevance
/packages/apps/Email/tests/src/com/android/emailcommon/utility/ |
D | TextUtilitiesTests.java | 87 int[] skipCount = new int[1]; in testStripHtmlEntityEdgeCases() local 89 char c = TextUtilities.stripHtmlEntity("&", 0, skipCount); in testStripHtmlEntityEdgeCases() 91 assertEquals(0, skipCount[0]); in testStripHtmlEntityEdgeCases() 93 c = TextUtilities.stripHtmlEntity("&;", 0, skipCount); in testStripHtmlEntityEdgeCases() 95 assertEquals(0, skipCount[0]); in testStripHtmlEntityEdgeCases() 97 c = TextUtilities.stripHtmlEntity("&nosuch;", 0, skipCount); in testStripHtmlEntityEdgeCases() 99 assertEquals(0, skipCount[0]); in testStripHtmlEntityEdgeCases() 101 c = TextUtilities.stripHtmlEntity(" andmore;", 0, skipCount); in testStripHtmlEntityEdgeCases() 103 assertEquals(0, skipCount[0]); in testStripHtmlEntityEdgeCases() 105 c = TextUtilities.stripHtmlEntity("&#ABC", 0, skipCount); in testStripHtmlEntityEdgeCases() [all …]
|
/packages/apps/Gallery/src/com/android/camera/gallery/ |
D | ImageListUber.java | 114 int skipCount = 0; in getImageAt() local 123 if (skipCount + offset > index) { in getImageAt() 124 int subindex = mSkipCounts[which] + (index - skipCount); in getImageAt() 127 skipCount += offset; in getImageAt() 131 for (; true; ++skipCount) { in getImageAt() 134 if (skipCount == index) { in getImageAt() 176 int skipCount = 0; in modifySkipCountForDeletedImage() local 180 if (skipCount + offset > index) { in modifySkipCountForDeletedImage() 184 skipCount += offset; in modifySkipCountForDeletedImage() 216 int skipCount = 0; in getImageIndex() local [all …]
|
/packages/apps/UnifiedEmail/src/com/android/emailcommon/utility/ |
D | TextUtilities.java | 375 int[] skipCount = new int[1]; in makeSnippetFromText() local 428 c = stripHtmlEntity(text, i, skipCount); in makeSnippetFromText() 429 i += skipCount[0]; in makeSnippetFromText() 459 static /*package*/ char stripHtmlEntity(String text, int pos, int[] skipCount) { in stripHtmlEntity() argument 463 skipCount[0] = 0; in stripHtmlEntity() 482 skipCount[0] = entityLength; in stripHtmlEntity() 498 skipCount[0] = entityLength; in stripHtmlEntity()
|