Home
last modified time | relevance | path

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

/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DOverlayHostTest.java90 int endIndex = result.indexOf('}', startIndex); in getStateForOverlay() local
91 assertTrue(endIndex > startIndex); in getStateForOverlay()
94 assertTrue(startIndex < stateIndex && stateIndex < endIndex); in getStateForOverlay()
97 assertTrue(stateIndex < colonIndex && colonIndex < endIndex); in getStateForOverlay()
100 assertTrue(colonIndex < endLineIndex && endLineIndex < endIndex); in getStateForOverlay()
/cts/tests/tests/text/src/android/text/cts/
DStaticLayoutLineBreakingTest.java208 int endIndex = text.indexOf('>'); in spanify() local
209 if (endIndex < 0) throw new IllegalArgumentException("Unbalanced span markers"); in spanify()
211 text = text.substring(0, startIndex) + text.substring(startIndex + 1, endIndex) in spanify()
212 + text.substring(endIndex + 1); in spanify()
215 sSpanEnds[spanCount] = endIndex - 2; 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
125 for (int i = startIndex + 1; i <= endIndex; i++) { in findMaxIndex()
/cts/tests/tests/widget/src/android/widget/cts/
DTextViewTest.java8068 int endIndex = startIndex + "president".length(); in testSmartSelection() local
8072 Point offset = getCenterPositionOfTextAt(mTextView, startIndex, endIndex); in testSmartSelection()
8092 int endIndex = startIndex + "is coming to town".length(); in testSmartSelection_dragSelection() local
8096 Point end = getCenterPositionOfTextAt(mTextView, endIndex, endIndex); in testSmartSelection_dragSelection()
8109 assertEquals(endIndex, mTextView.getSelectionEnd()); in testSmartSelection_dragSelection()
8117 int endIndex = startIndex + "president".length(); in testSmartSelection_resetSelection() local
8121 Point offset = getCenterPositionOfTextAt(mTextView, startIndex, endIndex); in testSmartSelection_resetSelection()
8128 endIndex = startIndex + "Filip".length(); in testSmartSelection_resetSelection()
8129 offset = getCenterPositionOfTextAt(mTextView, startIndex, endIndex); in testSmartSelection_resetSelection()
8132 final int selEnd = endIndex; in testSmartSelection_resetSelection()
[all …]
/cts/tests/tests/keystore/src/android/keystore/cts/
DBlockCipherTestBase.java1573 protected static byte[] subarray(byte[] array, int beginIndex, int endIndex) { in subarray() argument
1574 byte[] result = new byte[endIndex - beginIndex]; in subarray()
/cts/tests/tests/webkit/src/android/webkit/cts/
DWebViewTest.java2572 int endIndex, in testSetCustomTextClassifier() argument
2581 int endIndex, in testSetCustomTextClassifier() argument