HomeSort by relevance Sort by last modified time
    Searched refs:KeyEvent (Results 226 - 250 of 1109) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/droiddriver/src/com/google/android/droiddriver/instrumentation/
InstrumentationContext.java 21 import android.view.KeyEvent;
44 } else if (event instanceof KeyEvent) {
45 instrumentation.sendKeySync((KeyEvent) event);
  /frameworks/base/core/tests/coretests/src/android/util/
ListUtil.java 20 import android.view.KeyEvent;
85 mInstrumentation.sendCharacterSync(KeyEvent.KEYCODE_DPAD_DOWN);
96 mInstrumentation.sendCharacterSync(KeyEvent.KEYCODE_DPAD_UP);
  /frameworks/base/core/tests/coretests/src/android/widget/gridview/
GridDelete.java 19 import android.view.KeyEvent;
55 public boolean onKeyDown(int keyCode, KeyEvent event) {
56 if (keyCode == KeyEvent.KEYCODE_DEL) {
  /frameworks/base/core/tests/coretests/src/android/widget/listview/
ListHeterogeneousTest.java 23 import android.view.KeyEvent;
59 inst.sendCharacterSync(KeyEvent.KEYCODE_DPAD_DOWN);
67 inst.sendCharacterSync(KeyEvent.KEYCODE_DPAD_UP);
  /frameworks/base/core/tests/coretests/src/android/widget/listview/arrowscroll/
ListWithNoFadingEdgeTest.java 25 import android.view.KeyEvent;
56 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN);
74 sendKeys(KeyEvent.KEYCODE_DPAD_UP);
  /frameworks/base/core/tests/coretests/src/android/widget/listview/focus/
ListHorizontalFocusWithinItemWinsTest.java 24 import android.view.KeyEvent;
64 sendKeys(KeyEvent.KEYCODE_DPAD_RIGHT);
69 sendKeys(KeyEvent.KEYCODE_DPAD_LEFT);
  /frameworks/base/core/tests/coretests/src/android/widget/touchmode/
TouchModeFocusableTest.java 26 import android.view.KeyEvent;
67 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN);
80 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN);
  /frameworks/base/tools/layoutlib/bridge/src/com/android/internal/policy/
PolicyManager.java 26 import android.view.KeyEvent;
63 public void preDispatchKeyEvent(KeyEvent event) {
67 public boolean dispatchKeyEvent(KeyEvent event) {
  /packages/apps/Browser/src/com/android/browser/view/
EventRedirectingFrameLayout.java 21 import android.view.KeyEvent;
59 public boolean dispatchKeyEvent(KeyEvent event) {
67 public boolean dispatchKeyEventPreIme(KeyEvent event) {
  /packages/apps/Mms/src/com/android/mms/ui/
MessageListView.java 22 import android.view.KeyEvent;
37 public boolean onKeyShortcut(int keyCode, KeyEvent event) {
39 case KeyEvent.KEYCODE_C:
  /packages/apps/Music/tests/src/com/android/music/
MusicPlayerStability.java 21 import android.view.KeyEvent;
64 inst.sendKeyDownUpSync(KeyEvent.KEYCODE_DPAD_DOWN);
69 inst.sendKeyDownUpSync(KeyEvent.KEYCODE_DPAD_CENTER);
  /packages/services/Telephony/src/com/android/phone/
IccPanel.java 23 import android.view.KeyEvent;
86 public boolean onKeyDown(int keyCode, KeyEvent event) {
87 if (keyCode == KeyEvent.KEYCODE_BACK) {
  /cts/tests/tests/text/src/android/text/method/cts/
ScrollingMovementMethodTest.java 28 import android.view.KeyEvent;
389 method.onKeyDown(mTextView, null, KeyEvent.KEYCODE_DPAD_DOWN,
390 new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_DPAD_DOWN));
397 method.onKeyDown(mTextView, null, KeyEvent.KEYCODE_DPAD_UP,
398 new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_DPAD_UP));
429 KeyEvent.KEYCODE_DPAD_RIGHT, new KeyEvent(KeyEvent.ACTION_DOWN
    [all...]
DigitsKeyListenerTest.java 25 import android.view.KeyEvent;
397 sendKeys(KeyEvent.KEYCODE_MINUS);
401 sendKeys(KeyEvent.KEYCODE_1);
405 sendKeys(KeyEvent.KEYCODE_PERIOD);
409 sendKeys(KeyEvent.KEYCODE_2);
431 sendKeys(KeyEvent.KEYCODE_MINUS);
435 sendKeys(KeyEvent.KEYCODE_1);
439 sendKeys(KeyEvent.KEYCODE_PERIOD);
443 sendKeys(KeyEvent.KEYCODE_PLUS);
447 sendKeys(KeyEvent.KEYCODE_2)
    [all...]
  /frameworks/base/core/java/com/android/internal/widget/
PasswordEntryKeyboardHelper.java 31 import android.view.KeyEvent;
179 KeyEvent[] events = KeyCharacterMap.load(KeyCharacterMap.VIRTUAL_KEYBOARD).getEvents(
184 KeyEvent event = events[i];
185 event = KeyEvent.changeFlags(event, event.getFlags()
186 | KeyEvent.FLAG_SOFT_KEYBOARD | KeyEvent.FLAG_KEEP_TOUCH_MODE);
196 new KeyEvent(eventTime, eventTime, KeyEvent.ACTION_DOWN, keyEventCode, 0, 0,
198 KeyEvent.FLAG_SOFT_KEYBOARD|KeyEvent.FLAG_KEEP_TOUCH_MODE))
    [all...]
  /development/samples/JetBoy/src/com/example/android/jetboy/
JetBoy.java 27 import android.view.KeyEvent;
135 public boolean onKeyDown(int keyCode, KeyEvent msg) {
136 if (keyCode == KeyEvent.KEYCODE_BACK) {
147 public boolean onKeyUp(int keyCode, KeyEvent msg) {
148 if (keyCode == KeyEvent.KEYCODE_BACK) {
  /external/chromium_org/ui/views/focus/
focus_manager.h 78 class KeyEvent;
157 bool OnKeyEvent(const ui::KeyEvent& event);
261 void MaybeResetMenuKeyState(const ui::KeyEvent& key);
298 static bool IsTabTraversalKeyEvent(const ui::KeyEvent& key_event);
333 bool ProcessArrowKeyTraversal(const ui::KeyEvent& event);
  /frameworks/base/policy/src/com/android/internal/policy/impl/
GlobalKeyManager.java 26 import android.view.KeyEvent;
39 * {@link Intent#ACTION_GLOBAL_BUTTON} and the KeyEvent will be included in the intent with
66 * @param event keyEvent which trigged this function
69 boolean handleGlobalKey(Context context, int keyCode, KeyEvent event) {
86 boolean shouldHandleGlobalKey(int keyCode, KeyEvent event) {
106 int keyCode = KeyEvent.keyCodeFromString(keyCodeName);
107 if (keyCode != KeyEvent.KEYCODE_UNKNOWN) {
  /packages/apps/InCallUI/src/com/android/incallui/
DialpadFragment.java 25 import android.view.KeyEvent;
154 KeyEvent event) {
164 case KeyEvent.KEYCODE_ALT_LEFT:
165 case KeyEvent.KEYCODE_ALT_RIGHT:
166 case KeyEvent.KEYCODE_SHIFT_LEFT:
167 case KeyEvent.KEYCODE_SHIFT_RIGHT:
180 int keyCode, KeyEvent event) {
210 int keyCode, KeyEvent event) {
232 public boolean onKeyDown(KeyEvent event) {
258 public boolean onKeyUp(KeyEvent event)
    [all...]
  /packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
OpenWnnEvent.java 19 import android.view.KeyEvent;
97 * This event processes a {@code keyEvent}.
104 * This event processes a {@code keyEvent}.
271 public KeyEvent keyEvent = null;
341 * Generate {@link OpenWnnEvent} from {@link KeyEvent}
347 public OpenWnnEvent(KeyEvent ev) {
348 if(ev.getAction() != KeyEvent.ACTION_UP){
353 this.keyEvent = ev;
356 * Generate {@link OpenWnnEvent} from {@link KeyEvent}
    [all...]
  /external/chromium_org/android_webview/java/src/org/chromium/android_webview/
AwWebContentsDelegateAdapter.java 10 import android.view.KeyEvent;
41 public void handleKeyboardEvent(KeyEvent event) {
42 if (event.getAction() == KeyEvent.ACTION_DOWN) {
45 case KeyEvent.KEYCODE_DPAD_DOWN:
48 case KeyEvent.KEYCODE_DPAD_UP:
51 case KeyEvent.KEYCODE_DPAD_LEFT:
54 case KeyEvent.KEYCODE_DPAD_RIGHT:
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/tester/android/view/
TestWindow.java 9 import android.view.KeyEvent;
86 @Override public void openPanel(int featureId, KeyEvent event) {
92 @Override public void togglePanel(int featureId, KeyEvent event) {
95 @Override public boolean performPanelShortcut(int featureId, int keyCode, KeyEvent event, int flags) {
136 @Override public boolean superDispatchKeyEvent(KeyEvent event) {
172 @Override public boolean isShortcutKey(int keyCode, KeyEvent event) {
190 @Override public boolean superDispatchKeyShortcutEvent(KeyEvent event) {
  /frameworks/base/core/tests/coretests/src/android/widget/focus/
ScrollingThroughListOfFocusablesTest.java 24 import android.view.KeyEvent;
85 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN);
118 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN);
133 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN);
158 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN);
181 sendKeys(KeyEvent.KEYCODE_DPAD_UP);
231 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN);
  /frameworks/base/cmds/input/src/com/android/commands/input/
Input.java 24 import android.view.KeyEvent;
85 } else if (command.equals("keyevent")) {
92 int keyCode = KeyEvent.keyCodeFromString(args[i]);
93 if (keyCode == KeyEvent.KEYCODE_UNKNOWN) {
94 keyCode = KeyEvent.keyCodeFromString("KEYCODE_" + args[i]);
172 KeyEvent[] events = kcm.getEvents(chars);
174 KeyEvent e = events[i];
184 injectKeyEvent(new KeyEvent(now, now, KeyEvent.ACTION_DOWN, keyCode, 0, 0,
187 injectKeyEvent(new KeyEvent(now, now, KeyEvent.ACTION_DOWN, keyCode, 1, 0
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
KeyButtonView.java 34 import android.view.KeyEvent;
72 sendEvent(KeyEvent.ACTION_DOWN, KeyEvent.FLAG_LONG_PRESS);
248 sendEvent(KeyEvent.ACTION_DOWN, 0, mDownTime);
269 sendEvent(KeyEvent.ACTION_UP, KeyEvent.FLAG_CANCELED);
280 sendEvent(KeyEvent.ACTION_UP, 0);
284 sendEvent(KeyEvent.ACTION_UP, KeyEvent.FLAG_CANCELED);
306 final int repeatCount = (flags & KeyEvent.FLAG_LONG_PRESS) != 0 ? 1 : 0
    [all...]

Completed in 377 milliseconds

1 2 3 4 5 6 7 8 91011>>