Home
last modified time | relevance | path

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

/cts/tests/tests/text/src/android/text/cts/
DStaticLayoutLineBreakingTest.java216 int startIndex = text.indexOf('<'); in spanify() local
217 if (startIndex < 0) return text; in spanify()
224 text = text.substring(0, startIndex) + text.substring(startIndex + 1, endIndex) + in spanify()
227 spanStarts[spanCount] = startIndex; in spanify()
231 startIndex = text.indexOf('<'); in spanify()
232 } while (startIndex >= 0); in spanify()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DUtil.java123 public static int findMaxIndex(double[] data, int startIndex, int endIndex) { in findMaxIndex() argument
124 int maxIndex = startIndex; in findMaxIndex()
125 for (int i = startIndex + 1; i <= endIndex; i++) { in findMaxIndex()
/cts/tests/tests/widget/src/android/widget/cts/
DTextViewTest.java7468 int startIndex = text.indexOf("president"); in testSmartSelection() local
7469 int endIndex = startIndex + "president".length(); in testSmartSelection()
7473 Point offset = getCenterPositionOfTextAt(mTextView, startIndex, endIndex); in testSmartSelection()
7492 int startIndex = text.indexOf("is coming to town"); in testSmartSelection_dragSelection() local
7493 int endIndex = startIndex + "is coming to town".length(); in testSmartSelection_dragSelection()
7496 Point start = getCenterPositionOfTextAt(mTextView, startIndex, startIndex); in testSmartSelection_dragSelection()
7509 assertEquals(startIndex, mTextView.getSelectionStart()); in testSmartSelection_dragSelection()
7517 int startIndex = text.indexOf("president"); in testSmartSelection_resetSelection() local
7518 int endIndex = startIndex + "president".length(); in testSmartSelection_resetSelection()
7522 Point offset = getCenterPositionOfTextAt(mTextView, startIndex, endIndex); in testSmartSelection_resetSelection()
[all …]
/cts/tests/libcore/javautilcollections/libs/
Dguava-testlib-20.0.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...