/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
H A D | ListManagedCursorTest.java | 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); 131 arrowScroll(Instrumentation inst) argument 155 touchScroll(Instrumentation inst) argument [all...] |
H A D | ListEmptyViewTest.java | 55 Instrumentation inst = getInstrumentation(); 57 inst.invokeMenuActionSync(mActivity, mActivity.MENU_ADD, 0); 58 inst.waitForIdleSync(); 65 Instrumentation inst = getInstrumentation(); 67 inst.invokeMenuActionSync(mActivity, mActivity.MENU_ADD, 0); 68 inst.waitForIdleSync(); 78 inst.sendCharacterSync(KeyEvent.KEYCODE_BACK); 79 inst.waitForIdleSync(); 87 Instrumentation inst = getInstrumentation(); 92 inst [all...] |
H A D | ListScrollListenerTest.java | 60 Instrumentation inst = getInstrumentation(); 64 inst.sendCharacterSync(KeyEvent.KEYCODE_DPAD_DOWN); 66 inst.waitForIdleSync(); 70 inst.sendCharacterSync(KeyEvent.KEYCODE_SPACE); 71 inst.waitForIdleSync(); 79 inst.sendKeySync(down); 80 inst.sendKeySync(up); 81 inst.waitForIdleSync();
|
H A D | ListHeterogeneousTest.java | 53 Instrumentation inst = getInstrumentation(); 59 inst.sendCharacterSync(KeyEvent.KEYCODE_DPAD_DOWN); 61 inst.waitForIdleSync(); 67 inst.sendCharacterSync(KeyEvent.KEYCODE_DPAD_UP); 69 inst.waitForIdleSync();
|
H A D | ListViewHeightTest.java | 50 Instrumentation inst = getInstrumentation(); 65 inst.waitForIdleSync(); 74 inst.waitForIdleSync(); 82 inst.waitForIdleSync();
|
/frameworks/base/tests/BrowserTestPlugin/jni/ |
H A D | PluginObject.h | 66 SubPlugin(NPP inst) : m_inst(inst) {} argument 70 NPP inst() const { return m_inst; } function in class:SubPlugin
|
/frameworks/base/core/tests/coretests/src/android/util/ |
H A D | KeyUtils.java | 46 final Instrumentation inst = test.getInstrumentation(); 48 inst.sendKeySync(new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_MENU)); 49 inst.sendKeySync(new KeyEvent(KeyEvent.ACTION_UP, KeyEvent.KEYCODE_MENU)); 59 final Instrumentation inst = test.getInstrumentation(); 66 inst.sendKeySync(pushMenuKey); 67 inst.sendKeySync(new KeyEvent(KeyEvent.ACTION_DOWN, shortcutKeyCode)); 68 inst.sendKeySync(new KeyEvent(KeyEvent.ACTION_UP, shortcutKeyCode)); 69 inst.sendKeySync(new KeyEvent(KeyEvent.ACTION_UP, KeyEvent.KEYCODE_MENU)); 78 final Instrumentation inst = test.getInstrumentation(); 80 inst [all...] |
/frameworks/base/core/tests/coretests/src/android/widget/gridview/ |
H A D | GridScrollListenerTest.java | 61 Instrumentation inst = getInstrumentation(); 65 inst.sendCharacterSync(KeyEvent.KEYCODE_DPAD_DOWN); 67 inst.waitForIdleSync(); 72 inst.sendCharacterSync(KeyEvent.KEYCODE_SPACE); 73 inst.waitForIdleSync(); 82 inst.sendKeySync(down); 83 inst.sendKeySync(up); 84 inst.waitForIdleSync(); 93 Instrumentation inst = getInstrumentation();
|
/frameworks/base/tests/BrowserTestPlugin/jni/event/ |
H A D | EventPlugin.cpp | 43 EventPlugin::EventPlugin(NPP inst) : SubPlugin(inst) { } argument 50 inst(), bitmap.width, bitmap.height); 53 PluginObject *obj = (PluginObject*) inst()->pdata; 64 inst(), zoomFactorW, zoomFactorH); 109 browser->getvalue(inst(), NPNVWindowNPObject, &windowObject); 112 gLogI.log(kError_ANPLogType, " ------ %p Unable to retrieve DOM Window", inst()); 134 if (!browser->evaluate(inst(), windowObject, &script, &scriptVariant)) 135 gLogI.log(kError_ANPLogType, " ------ %p Unable to eval the JS.", inst()); 173 gLogI.log(kError_ANPLogType, " ------ %p the plugin did not request touch events", inst()); [all...] |
H A D | EventPlugin.h | 33 EventPlugin(NPP inst);
|
/frameworks/base/test-runner/src/android/test/ |
H A D | TouchUtils.java | 261 Instrumentation inst = test.getInstrumentation(); 268 inst.sendPointerSync(event); 269 inst.waitForIdleSync(); 275 inst.sendPointerSync(event); 276 inst.waitForIdleSync(); 280 inst.sendPointerSync(event); 281 inst.waitForIdleSync(); 301 Instrumentation inst = test.getInstrumentation(); 308 inst.sendPointerSync(event); 309 inst [all...] |
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/forwarder/ |
H A D | ForwardService.java | 30 private static ForwardService inst; field in class:ForwardService 48 if (inst == null) { 49 inst = new ForwardService(); 51 return inst;
|
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/ |
H A D | LoadTestsAutoTest.java | 51 Instrumentation inst = getInstrumentation(); 54 inst.sendStatus(0, bundle);
|
H A D | LayoutTestsAutoTest.java | 167 Instrumentation inst = getInstrumentation(); 170 inst.sendStatus(0, bundle);
|