Searched refs:mCursors (Results 1 – 2 of 2) sorted by relevance
44 Cursor[] mCursors = null; field in MergeCursorTest61 mCursors = new Cursor[2]; in setUp()66 for (int i = 0; i < mCursors.length; i++) { in tearDown()67 if (null != mCursors[i]) { in tearDown()68 mCursors[i].close(); in tearDown()78 MergeCursor mergeCursor = new MergeCursor(mCursors); in testConstructor()84 mergeCursor = new MergeCursor(mCursors); in testConstructor()85 assertEquals(mCursors[0].getCount() + mCursors[1].getCount(), mergeCursor.getCount()); in testConstructor()90 MergeCursor mergeCursor = new MergeCursor(mCursors); in testOnMove()109 cursors[1] = mCursors[1]; in testCursorSwiching()[all …]
43 private int[] mCursors; field in WaveformView117 if (mCursors != null) { in onDraw()118 for (int i = 0; i < mCursors.length; i++) { in onDraw()119 float x = mCursors[i] * xScale; in onDraw()165 mCursors = 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()