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

<<11121314151617181920>>

  /frameworks/base/opengl/tests/testPauseResume/src/com/android/test/
TestView.java 39 import android.view.KeyEvent;
  /frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/
FileList.java 29 import android.view.KeyEvent;
39 public boolean onKeyDown(int keyCode, KeyEvent event) {
42 case KeyEvent.KEYCODE_DPAD_LEFT:
54 case KeyEvent.KEYCODE_DPAD_RIGHT:
  /frameworks/base/tests/ImfTest/src/com/android/imftest/samples/
AutoCompleteTextViewActivityPortrait.java 21 import android.view.KeyEvent;
  /packages/apps/Mms/src/com/android/mms/ui/
EditSlideDurationActivity.java 26 import android.view.KeyEvent;
121 public boolean onKey(View v, int keyCode, KeyEvent event) {
122 if (event.getAction() != KeyEvent.ACTION_DOWN) {
127 case KeyEvent.KEYCODE_DPAD_CENTER:
  /packages/apps/Settings/src/com/android/settings/
SettingsSafetyLegalActivity.java 27 import android.view.KeyEvent;
118 public boolean dispatchKeyEvent(KeyEvent event) {
119 if (event.getKeyCode() == KeyEvent.KEYCODE_BACK
120 && event.getAction() == KeyEvent.ACTION_DOWN) {
  /frameworks/base/core/java/android/widget/
TabHost.java 29 import android.view.KeyEvent;
131 public boolean onKey(View v, int keyCode, KeyEvent event) {
133 case KeyEvent.KEYCODE_DPAD_CENTER:
134 case KeyEvent.KEYCODE_DPAD_LEFT:
135 case KeyEvent.KEYCODE_DPAD_RIGHT:
136 case KeyEvent.KEYCODE_DPAD_UP:
137 case KeyEvent.KEYCODE_DPAD_DOWN:
138 case KeyEvent.KEYCODE_ENTER:
297 public boolean dispatchKeyEvent(KeyEvent event) {
303 && (event.getAction() == KeyEvent.ACTION_DOWN
    [all...]
  /cts/tests/tests/text/src/android/text/method/cts/
TextKeyListenerTest.java 39 import android.view.KeyEvent;
256 args = {View.class, Editable.class, int.class, KeyEvent.class}
261 args = {View.class, Editable.class, int.class, KeyEvent.class}
284 sendKeys(KeyEvent.KEYCODE_4);
303 args = {View.class, Editable.class, KeyEvent.class}
324 KeyEvent event = new KeyEvent(SystemClock.uptimeMillis(), text,
325 1, KeyEvent.FLAG_WOKE_HERE);
DigitsKeyListenerTest.java 35 import android.view.KeyEvent;
373 sendKeys(KeyEvent.KEYCODE_MINUS);
377 sendKeys(KeyEvent.KEYCODE_1);
381 sendKeys(KeyEvent.KEYCODE_PERIOD);
385 sendKeys(KeyEvent.KEYCODE_2);
412 sendKeys(KeyEvent.KEYCODE_MINUS);
416 sendKeys(KeyEvent.KEYCODE_1);
420 sendKeys(KeyEvent.KEYCODE_PERIOD);
424 sendKeys(KeyEvent.KEYCODE_2);
428 sendKeys(KeyEvent.KEYCODE_MINUS)
    [all...]
  /cts/tests/tests/view/src/android/view/inputmethod/cts/
BaseInputConnectionTest.java 35 import android.view.KeyEvent;
341 args = {KeyEvent.class}
355 mConnection.sendKeyEvent(new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_7));
356 mConnection.sendKeyEvent(new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_7));
  /development/apps/OBJViewer/com/android/objviewer/
OBJViewer.java 31 import android.view.KeyEvent;
105 public boolean onKeyDown(int keyCode, KeyEvent event) {
112 case KeyEvent.KEYCODE_DPAD_LEFT:
116 case KeyEvent.KEYCODE_DPAD_RIGHT:
120 case KeyEvent.KEYCODE_DPAD_CENTER:
124 case KeyEvent.KEYCODE_DPAD_UP:
128 case KeyEvent.KEYCODE_DPAD_DOWN:
132 case KeyEvent.KEYCODE_U:
  /frameworks/base/core/java/android/inputmethodservice/
InputMethodService.java 42 import android.view.KeyEvent;
    [all...]
  /frameworks/base/core/java/android/view/
IWindow.aidl 25 import android.view.KeyEvent;
  /frameworks/base/core/java/android/view/inputmethod/
InputConnectionWrapper.java 20 import android.view.KeyEvent;
113 public boolean sendKeyEvent(KeyEvent event) {
  /frameworks/base/core/tests/coretests/src/android/widget/listview/arrowscroll/
ListItemFocusablesFarApartTest.java 21 import android.view.KeyEvent;
105 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN);
  /frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/
SceneGraphView.java 39 import android.view.KeyEvent;
74 public boolean onKeyDown(int keyCode, KeyEvent event)
  /frameworks/base/tests/RenderScriptTests/tests/src/com/android/rs/test/
RSTestView.java 39 import android.view.KeyEvent;
76 public boolean onKeyDown(int keyCode, KeyEvent event)
  /packages/apps/Browser/src/com/android/browser/
XLargeUi.java 32 import android.view.KeyEvent;
321 public boolean dispatchKey(int code, KeyEvent event) {
324 if (event.getAction() == KeyEvent.ACTION_DOWN) {
326 case KeyEvent.KEYCODE_TAB:
327 case KeyEvent.KEYCODE_DPAD_UP:
328 case KeyEvent.KEYCODE_DPAD_LEFT:
334 boolean ctrl = event.hasModifiers(KeyEvent.META_CTRL_ON);
344 private boolean isTypingKey(KeyEvent evt) {
BrowserActivity.java 28 import android.view.KeyEvent;
214 public boolean onKeyDown(int keyCode, KeyEvent event) {
220 public boolean onKeyLongPress(int keyCode, KeyEvent event) {
226 public boolean onKeyUp(int keyCode, KeyEvent event) {
255 public boolean dispatchKeyEvent(KeyEvent event) {
261 public boolean dispatchKeyShortcutEvent(KeyEvent event) {
  /external/replicaisland/src/com/replica/replicaisland/
KeyboardConfigDialogPreference.java 28 import android.view.KeyEvent;
95 mLeftKeyCode = mSharedPrefs.getInt(mLeftPrefKey, KeyEvent.KEYCODE_DPAD_LEFT);
96 mRightKeyCode = mSharedPrefs.getInt(mRightPrefKey, KeyEvent.KEYCODE_DPAD_RIGHT);
97 mJumpKeyCode = mSharedPrefs.getInt(mJumpPrefKey, KeyEvent.KEYCODE_SPACE);
98 mAttackKeyCode = mSharedPrefs.getInt(mAttackPrefKey, KeyEvent.KEYCODE_SHIFT_LEFT);
211 public boolean onKey(DialogInterface dialog, int keyCode, KeyEvent event) {
  /frameworks/base/core/java/android/preference/
SeekBarPreference.java 24 import android.view.KeyEvent;
85 public boolean onKey(View v, int keyCode, KeyEvent event) {
86 if (event.getAction() != KeyEvent.ACTION_UP) {
87 if (keyCode == KeyEvent.KEYCODE_PLUS
88 || keyCode == KeyEvent.KEYCODE_EQUALS) {
92 if (keyCode == KeyEvent.KEYCODE_MINUS) {
  /frameworks/base/core/java/android/text/method/
LinkMovementMethod.java 24 import android.view.KeyEvent;
40 int movementMetaState, KeyEvent event) {
42 case KeyEvent.KEYCODE_DPAD_CENTER:
43 case KeyEvent.KEYCODE_ENTER:
44 if (KeyEvent.metaStateHasNoModifiers(movementMetaState)) {
45 if (event.getAction() == KeyEvent.ACTION_DOWN &&
  /frameworks/base/core/tests/coretests/src/android/widget/scroll/
RequestRectangleVisibleTest.java 30 import android.view.KeyEvent;
103 sendKeys(KeyEvent.KEYCODE_DPAD_CENTER);
125 sendKeys(KeyEvent.KEYCODE_DPAD_CENTER);
144 sendKeys(KeyEvent.KEYCODE_DPAD_CENTER);
162 sendKeys(KeyEvent.KEYCODE_DPAD_CENTER);
183 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN);
  /packages/apps/Music/src/com/android/music/
AudioPreview.java 38 import android.view.KeyEvent;
386 public boolean onKeyDown(int keyCode, KeyEvent event) {
388 case KeyEvent.KEYCODE_HEADSETHOOK:
389 case KeyEvent.KEYCODE_MEDIA_PLAY_PAUSE:
397 case KeyEvent.KEYCODE_MEDIA_FAST_FORWARD:
398 case KeyEvent.KEYCODE_MEDIA_NEXT:
399 case KeyEvent.KEYCODE_MEDIA_PREVIOUS:
400 case KeyEvent.KEYCODE_MEDIA_REWIND:
402 case KeyEvent.KEYCODE_MEDIA_STOP:
403 case KeyEvent.KEYCODE_BACK
    [all...]
  /cts/tests/tests/app/src/android/app/cts/
InstrumentationTest.java 47 import android.view.KeyEvent;
486 List<KeyEvent> keyUpList = mActivity.getKeyUpList();
487 List<KeyEvent> keyDownList = mActivity.getKeyDownList();
492 KeyEvent[] keyEvents = kcm.getEvents(text.toCharArray());
623 mInstrumentation.sendKeyDownUpSync(KeyEvent.KEYCODE_0);
627 assertEquals(KeyEvent.KEYCODE_0, mActivity.getKeyUpList().get(0).getKeyCode());
628 assertEquals(KeyEvent.KEYCODE_0, mActivity.getKeyDownList().get(0).getKeyCode());
702 mInstrumentation.sendCharacterSync(KeyEvent.KEYCODE_0);
704 assertEquals(KeyEvent.KEYCODE_0, mActivity.getKeyDownCode());
705 assertEquals(KeyEvent.KEYCODE_0, mActivity.getKeyUpCode())
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/view/
GameView.java 28 import android.view.KeyEvent;
113 public boolean onKeyDown(int keyCode, KeyEvent event) {
120 case KeyEvent.KEYCODE_DPAD_LEFT:
125 case KeyEvent.KEYCODE_DPAD_RIGHT:
130 case KeyEvent.KEYCODE_DPAD_UP:
135 case KeyEvent.KEYCODE_DPAD_DOWN:
156 public boolean onKeyUp(int keyCode, KeyEvent event) {
162 case KeyEvent.KEYCODE_DPAD_LEFT:
167 case KeyEvent.KEYCODE_DPAD_RIGHT:
172 case KeyEvent.KEYCODE_DPAD_UP
    [all...]

Completed in 952 milliseconds

<<11121314151617181920>>