Home
last modified time | relevance | path

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

/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.java7583 int startIndex = text.indexOf("president"); in testSmartSelection() local
7584 int endIndex = startIndex + "president".length(); in testSmartSelection()
7588 Point offset = getCenterPositionOfTextAt(mTextView, startIndex, endIndex); in testSmartSelection()
7607 int startIndex = text.indexOf("is coming to town"); in testSmartSelection_dragSelection() local
7608 int endIndex = startIndex + "is coming to town".length(); in testSmartSelection_dragSelection()
7611 Point start = getCenterPositionOfTextAt(mTextView, startIndex, startIndex); in testSmartSelection_dragSelection()
7624 assertEquals(startIndex, mTextView.getSelectionStart()); in testSmartSelection_dragSelection()
7632 int startIndex = text.indexOf("president"); in testSmartSelection_resetSelection() local
7633 int endIndex = startIndex + "president".length(); in testSmartSelection_resetSelection()
7637 Point offset = getCenterPositionOfTextAt(mTextView, startIndex, endIndex); in testSmartSelection_resetSelection()
[all …]
/cts/tests/tests/webkit/src/android/webkit/cts/
DWebViewTest.java2719 int startIndex,
2728 int startIndex,