HomeSort by relevance Sort by last modified time
    Searched refs:KeyEvent (Results 51 - 75 of 608) sorted by null

1 23 4 5 6 7 8 91011>>

  /frameworks/base/core/tests/coretests/src/android/widget/focus/
FocusAfterRemovalTest.java 26 import android.view.KeyEvent;
76 sendKeys(KeyEvent.KEYCODE_DPAD_CENTER);
88 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN);
92 sendKeys(KeyEvent.KEYCODE_DPAD_CENTER);
104 sendKeys(KeyEvent.KEYCODE_DPAD_RIGHT);
108 sendKeys(KeyEvent.KEYCODE_DPAD_CENTER);
119 sendKeys(KeyEvent.KEYCODE_DPAD_RIGHT);
120 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN);
124 sendKeys(KeyEvent.KEYCODE_DPAD_CENTER);
  /development/samples/ApiDemos/src/com/example/android/apis/view/
List12.java 21 import android.view.KeyEvent;
70 public boolean onKey(View v, int keyCode, KeyEvent event) {
71 if (event.getAction() == KeyEvent.ACTION_DOWN) {
73 case KeyEvent.KEYCODE_DPAD_CENTER:
74 case KeyEvent.KEYCODE_ENTER:
  /frameworks/base/core/tests/coretests/src/android/widget/listview/arrowscroll/
ListWithSeparatorsTest.java 22 import android.view.KeyEvent;
53 sendKeys(KeyEvent.KEYCODE_DPAD_UP);
63 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN);
71 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN);
72 sendKeys(KeyEvent.KEYCODE_DPAD_UP);
ListInterleaveFocusablesTest.java 22 import android.view.KeyEvent;
53 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN);
65 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN);
74 sendKeys(KeyEvent.KEYCODE_DPAD_UP);
86 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN);
95 sendKeys(KeyEvent.KEYCODE_DPAD_UP);
ListWithScreenOfNoSelectablesTest.java 21 import android.view.KeyEvent;
60 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN);
73 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN);
84 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN);
92 sendKeys(KeyEvent.KEYCODE_DPAD_UP);
98 sendKeys(KeyEvent.KEYCODE_DPAD_UP);
  /frameworks/base/core/tests/coretests/src/android/widget/scroll/arrowscroll/
TallTextAboveButtonTest.java 23 import android.view.KeyEvent;
56 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN);
63 sendKeys(KeyEvent.KEYCODE_DPAD_UP);
70 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN);
72 sendKeys(KeyEvent.KEYCODE_DPAD_UP);
  /cts/tests/tests/text/src/android/text/method/cts/
QwertyKeyListenerTest.java 36 import android.view.KeyEvent;
77 callOnKeyDown(keyListener, KeyEvent.KEYCODE_H);
80 callOnKeyDown(keyListener, KeyEvent.KEYCODE_E);
83 callOnKeyDown(keyListener, KeyEvent.KEYCODE_L);
86 callOnKeyDown(keyListener, KeyEvent.KEYCODE_L);
89 callOnKeyDown(keyListener, KeyEvent.KEYCODE_O);
99 callOnKeyDown(keyListener, KeyEvent.KEYCODE_H);
102 callOnKeyDown(keyListener, KeyEvent.KEYCODE_E);
105 callOnKeyDown(keyListener, KeyEvent.KEYCODE_L);
108 callOnKeyDown(keyListener, KeyEvent.KEYCODE_L)
    [all...]
MultiTapKeyListenerTest.java 35 import android.view.KeyEvent;
126 callOnKeyDown(keyListener, KeyEvent.KEYCODE_4, 2);
129 callOnKeyDown(keyListener, KeyEvent.KEYCODE_3, 2);
132 callOnKeyDown(keyListener, KeyEvent.KEYCODE_5, 3);
135 callOnKeyDown(keyListener, KeyEvent.KEYCODE_5, 3);
138 callOnKeyDown(keyListener, KeyEvent.KEYCODE_6, 3);
148 callOnKeyDown(keyListener, KeyEvent.KEYCODE_4, 2);
151 callOnKeyDown(keyListener, KeyEvent.KEYCODE_3, 2);
154 callOnKeyDown(keyListener, KeyEvent.KEYCODE_5, 3);
157 callOnKeyDown(keyListener, KeyEvent.KEYCODE_5, 3)
    [all...]
  /frameworks/base/core/java/com/android/internal/app/
AlertActivity.java 22 import android.view.KeyEvent;
78 public boolean onKeyDown(int keyCode, KeyEvent event) {
84 public boolean onKeyUp(int keyCode, KeyEvent event) {
  /frameworks/base/core/tests/coretests/src/android/widget/listview/
ListSetSelection.java 20 import android.view.KeyEvent;
64 public boolean dispatchKeyEvent(KeyEvent event) {
65 if (event.getKeyCode() == KeyEvent.KEYCODE_S) {
  /frameworks/base/core/tests/coretests/src/android/widget/touchmode/
StartInTouchWithViewInFocusTest.java 24 import android.view.KeyEvent;
55 assertNotInTouchModeAfterKey(this, KeyEvent.KEYCODE_DPAD_DOWN, mEditText);
62 assertNotInTouchModeAfterKey(this, KeyEvent.KEYCODE_A, mEditText);
  /packages/apps/Launcher2/src/com/android/launcher2/
AccessibleTabView.java 21 import android.view.KeyEvent;
41 public boolean onKeyDown(int keyCode, KeyEvent event) {
47 public boolean onKeyUp(int keyCode, KeyEvent event) {
FolderEditText.java 5 import android.view.KeyEvent;
29 public boolean onKeyPreIme(int keyCode, KeyEvent event) {
31 if (event.getKeyCode() == android.view.KeyEvent.KEYCODE_BACK) {
  /packages/apps/Mms/src/com/android/mms/ui/
MessageListView.java 22 import android.view.KeyEvent;
35 public boolean onKeyShortcut(int keyCode, KeyEvent event) {
37 case KeyEvent.KEYCODE_C:
  /sdk/draw9patch/src/com/android/draw9patch/ui/action/
ExitAction.java 22 import java.awt.event.KeyEvent;
34 putValue(MNEMONIC_KEY, KeyEvent.VK_Q);
35 putValue(ACCELERATOR_KEY, KeyStroke.getKeyStroke(KeyEvent.VK_Q,
OpenAction.java 22 import java.awt.event.KeyEvent;
35 putValue(MNEMONIC_KEY, KeyEvent.VK_O);
36 putValue(ACCELERATOR_KEY, KeyStroke.getKeyStroke(KeyEvent.VK_O,
SaveAction.java 22 import java.awt.event.KeyEvent;
35 putValue(MNEMONIC_KEY, KeyEvent.VK_S);
36 putValue(ACCELERATOR_KEY, KeyStroke.getKeyStroke(KeyEvent.VK_S,
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
Gesture.java 21 import org.eclipse.swt.events.KeyEvent;
131 public boolean keyPressed(KeyEvent event) {
141 public boolean keyReleased(KeyEvent event) {
  /sdk/hierarchyviewer/src/com/android/hierarchyviewer/ui/action/
ExitAction.java 24 import java.awt.event.KeyEvent;
36 putValue(MNEMONIC_KEY, KeyEvent.VK_Q);
37 putValue(ACCELERATOR_KEY, KeyStroke.getKeyStroke(KeyEvent.VK_Q,
LoadGraphAction.java 22 import java.awt.event.KeyEvent;
34 putValue(MNEMONIC_KEY, KeyEvent.VK_L);
35 putValue(ACCELERATOR_KEY, KeyStroke.getKeyStroke(KeyEvent.VK_L,
SaveSceneAction.java 22 import java.awt.event.KeyEvent;
35 putValue(MNEMONIC_KEY, KeyEvent.VK_S);
36 putValue(ACCELERATOR_KEY, KeyStroke.getKeyStroke(KeyEvent.VK_S,
ShowDevicesAction.java 23 import java.awt.event.KeyEvent;
35 putValue(MNEMONIC_KEY, KeyEvent.VK_D);
36 putValue(ACCELERATOR_KEY, KeyStroke.getKeyStroke(KeyEvent.VK_D,
  /frameworks/base/core/java/android/inputmethodservice/
AbstractInputMethodService.java 22 import android.view.KeyEvent;
45 implements KeyEvent.Callback {
48 final KeyEvent.DispatcherState mDispatcherState
49 = new KeyEvent.DispatcherState();
134 public void dispatchKeyEvent(int seq, KeyEvent event, EventCallback callback) {
155 * Return the global {@link KeyEvent.DispatcherState KeyEvent.DispatcherState}
160 public KeyEvent.DispatcherState getKeyDispatcherState() {
  /packages/apps/Music/tests/src/com/android/music/stress/
MusicPlaybackStress.java 27 import android.view.KeyEvent;
68 inst.sendKeyDownUpSync(KeyEvent.KEYCODE_DPAD_RIGHT);
69 inst.sendKeyDownUpSync(KeyEvent.KEYCODE_DPAD_UP);
70 inst.sendKeyDownUpSync(KeyEvent.KEYCODE_DPAD_CENTER);
73 inst.sendKeyDownUpSync(KeyEvent.KEYCODE_DPAD_DOWN);
75 inst.sendKeyDownUpSync(KeyEvent.KEYCODE_DPAD_CENTER);
  /frameworks/base/core/java/android/content/
DialogInterface.java 19 import android.view.KeyEvent;
152 * @param event The KeyEvent object containing full information about
156 public boolean onKey(DialogInterface dialog, int keyCode, KeyEvent event);

Completed in 869 milliseconds

1 23 4 5 6 7 8 91011>>