Searched refs:cursors (Results 1 – 3 of 3) sorted by relevance
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/audiolib/ |
D | WaveformView.java | 163 public void setCursorData(int[] cursors) { in setCursorData() argument 164 if (cursors == null) { in setCursorData() 167 if (mCursors == null || cursors.length != mCursors.length) { in setCursorData() 168 mCursors = new int[cursors.length]; in setCursorData() 170 System.arraycopy(cursors, 0, mCursors, 0, mCursors.length); in setCursorData()
|
/cts/tests/tests/database/src/android/database/cts/ |
D | MergeCursorTest.java | 105 Cursor[] cursors = new Cursor[2]; in testCursorSwiching() local 106 cursors[0] = mDatabase.query(TABLE5_NAME, null, null, null, null, null, null); in testCursorSwiching() 107 assertEquals(1, cursors[0].getCount()); in testCursorSwiching() 109 cursors[1] = mCursors[1]; in testCursorSwiching() 110 assertTrue(cursors[1].getCount() > 0); in testCursorSwiching() 111 MergeCursor mergeCursor = new MergeCursor(cursors); in testCursorSwiching()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
D | AudioTap2ToneActivity.java | 328 int[] cursors = new int[2]; in processTest() local 329 cursors[0] = result.events[0].sampleIndex; in processTest() 330 cursors[1] = result.events[1].sampleIndex; in processTest() 331 mWaveformView.setCursorData(cursors); in processTest() 333 int latencySamples = cursors[1] - cursors[0]; in processTest()
|