Searched refs:endIndex (Results 1 – 6 of 6) sorted by relevance
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ |
D | OverlayHostTest.java | 87 int endIndex = result.indexOf('}', startIndex); in getStateForOverlay() local 88 assertTrue(endIndex > startIndex); in getStateForOverlay() 91 assertTrue(startIndex < stateIndex && stateIndex < endIndex); in getStateForOverlay() 94 assertTrue(stateIndex < colonIndex && colonIndex < endIndex); in getStateForOverlay() 97 assertTrue(colonIndex < endLineIndex && endLineIndex < endIndex); in getStateForOverlay()
|
/cts/tests/tests/text/src/android/text/cts/ |
D | StaticLayoutLineBreakingTest.java | 208 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/ |
D | Util.java | 123 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/ |
D | TextViewTest.java | 8068 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/ |
D | BlockCipherTestBase.java | 1573 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/ |
D | WebViewTest.java | 2568 int endIndex, in testSetCustomTextClassifier() argument 2577 int endIndex, in testSetCustomTextClassifier() argument
|