Home | History | Annotate | Download | only in listview

Lines Matching defs:inst

60         Instrumentation inst = getInstrumentation();
62 int firstVisiblePosition = arrowScroll(inst);
64 inst.sendCharacterSync(KeyEvent.KEYCODE_BACK);
65 inst.waitForIdleSync();
77 Instrumentation inst = getInstrumentation();
79 int firstVisiblePosition = touchScroll(inst);
81 inst.sendCharacterSync(KeyEvent.KEYCODE_BACK);
82 inst.waitForIdleSync();
95 Instrumentation inst = getInstrumentation();
97 int firstVisiblePosition = arrowScroll(inst);
100 inst.sendCharacterSync(KeyEvent.KEYCODE_BACK);
101 inst.waitForIdleSync();
116 Instrumentation inst = getInstrumentation();
118 int firstVisiblePosition = touchScroll(inst);
120 inst.sendCharacterSync(KeyEvent.KEYCODE_DPAD_DOWN);
121 inst.waitForIdleSync();
122 inst.sendCharacterSync(KeyEvent.KEYCODE_DPAD_DOWN);
123 inst.waitForIdleSync();
124 inst.sendCharacterSync(KeyEvent.KEYCODE_BACK);
125 inst.waitForIdleSync();
131 public int arrowScroll(Instrumentation inst) {
135 inst.sendCharacterSync(KeyEvent.KEYCODE_DPAD_DOWN);
137 inst.waitForIdleSync();
143 inst.sendCharacterSync(KeyEvent.KEYCODE_DPAD_CENTER);
144 inst.waitForIdleSync();
155 public int touchScroll(Instrumentation inst) {
157 inst.waitForIdleSync();
159 inst.waitForIdleSync();
161 inst.waitForIdleSync();
163 inst.waitForIdleSync();
170 inst.waitForIdleSync();