Searched defs:keyCode (Results 1 - 25 of 131) sorted by relevance

123456

/frameworks/av/include/media/
H A DMediaMetadataRetrieverInterface.h41 virtual const char* extractMetadata(int keyCode) = 0;
53 virtual const char* extractMetadata(int keyCode) { return NULL; } argument
/frameworks/base/core/java/android/text/method/
H A DKeyListener.java64 int keyCode, KeyEvent event);
72 int keyCode, KeyEvent event);
63 onKeyDown(View view, Editable text, int keyCode, KeyEvent event) argument
71 onKeyUp(View view, Editable text, int keyCode, KeyEvent event) argument
H A DBaseKeyListener.java48 public boolean backspace(View view, Editable content, int keyCode, KeyEvent event) { argument
49 return backspaceOrForwardDelete(view, content, keyCode, event, false);
60 public boolean forwardDelete(View view, Editable content, int keyCode, KeyEvent event) { argument
61 return backspaceOrForwardDelete(view, content, keyCode, event, true);
64 private boolean backspaceOrForwardDelete(View view, Editable content, int keyCode, argument
151 int keyCode, KeyEvent event) {
153 switch (keyCode) {
155 handled = backspace(view, content, keyCode, event);
158 handled = forwardDelete(view, content, keyCode, event);
169 return super.onKeyDown(view, content, keyCode, even
150 onKeyDown(View view, Editable content, int keyCode, KeyEvent event) argument
[all...]
H A DMovementMethod.java37 public boolean onKeyDown(TextView widget, Spannable text, int keyCode, KeyEvent event); argument
38 public boolean onKeyUp(TextView widget, Spannable text, int keyCode, KeyEvent event); argument
H A DLinkMovementMethod.java39 protected boolean handleMovementKey(TextView widget, Spannable buffer, int keyCode, argument
41 switch (keyCode) {
52 return super.handleMovementKey(widget, buffer, keyCode, movementMetaState, event);
H A DNumberKeyListener.java97 int keyCode, KeyEvent event) {
138 return super.onKeyDown(view, content, keyCode, event);
96 onKeyDown(View view, Editable content, int keyCode, KeyEvent event) argument
/frameworks/base/core/java/com/android/internal/app/
H A DAlertActivity.java78 public boolean onKeyDown(int keyCode, KeyEvent event) { argument
79 if (mAlert.onKeyDown(keyCode, event)) return true;
80 return super.onKeyDown(keyCode, event);
84 public boolean onKeyUp(int keyCode, KeyEvent event) { argument
85 if (mAlert.onKeyUp(keyCode, event)) return true;
86 return super.onKeyUp(keyCode, event);
/frameworks/base/core/tests/coretests/src/android/util/
H A DTouchModeFlexibleAsserts.java60 public static void assertNotInTouchModeAfterKey(InstrumentationTestCase test, int keyCode, View checkForTouchMode) { argument
61 test.sendKeys(keyCode);
/frameworks/av/media/libmediaplayerservice/
H A DMidiMetadataRetriever.cpp61 const char* MidiMetadataRetriever::extractMetadata(int keyCode) argument
63 ALOGV("extractMetdata: key(%d)", keyCode);
69 switch (keyCode) {
85 ALOGE("Unsupported key code (%d)", keyCode);
/frameworks/base/core/tests/coretests/src/android/widget/focus/
H A DGoneParentFocusedChild.java84 public boolean onKeyUp(int keyCode, KeyEvent event) { argument
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/
H A DSceneGraphView.java74 public boolean onKeyDown(int keyCode, KeyEvent event) argument
78 return super.onKeyDown(keyCode, event);
/frameworks/base/tests/RenderScriptTests/tests/src/com/android/rs/test/
H A DRSTestView.java76 public boolean onKeyDown(int keyCode, KeyEvent event) argument
78 return super.onKeyDown(keyCode, event);
/frameworks/base/tests/RenderScriptTests/tests_v11/src/com/android/rs/test/
H A DRSTestView.java76 public boolean onKeyDown(int keyCode, KeyEvent event) argument
78 return super.onKeyDown(keyCode, event);
/frameworks/base/tests/RenderScriptTests/tests_v14/src/com/android/rs/test/
H A DRSTestView.java76 public boolean onKeyDown(int keyCode, KeyEvent event) argument
78 return super.onKeyDown(keyCode, event);
/frameworks/native/opengl/tests/gl_jni/src/com/android/gljni/
H A DGLJNIView.java85 public boolean onKeyDown(int keyCode, KeyEvent event) { argument
/frameworks/base/media/mca/samples/CameraEffectsRecordingSample/java/android/media/filterfw/samples/
H A DCameraEffectsRecordingSample.java61 public boolean onKeyDown(int keyCode, KeyEvent event) { argument
62 switch (keyCode) {
67 return super.onKeyDown(keyCode, event);
/frameworks/base/core/java/android/content/
H A DDialogInterface.java151 * @param keyCode The code for the physical key that was pressed
156 public boolean onKey(DialogInterface dialog, int keyCode, KeyEvent event); argument
/frameworks/base/core/java/android/webkit/
H A DPluginFullScreenHolder.java100 public boolean onKeyDown(int keyCode, KeyEvent event) { argument
102 return super.onKeyDown(keyCode, event);
104 mWebView.onKeyDown(keyCode, event);
110 public boolean onKeyUp(int keyCode, KeyEvent event) { argument
112 return super.onKeyUp(keyCode, event);
114 mWebView.onKeyUp(keyCode, event);
/frameworks/base/core/java/android/widget/
H A DMultiAutoCompleteTextView.java91 protected void performFiltering(CharSequence text, int keyCode) { argument
96 performFiltering(text, start, end, keyCode);
169 int keyCode) {
168 performFiltering(CharSequence text, int start, int end, int keyCode) argument
H A DZoomButton.java78 public boolean onKeyUp(int keyCode, KeyEvent event) { argument
80 return super.onKeyUp(keyCode, event);
/frameworks/base/core/java/com/android/internal/view/menu/
H A DMenuDialogHelper.java92 public boolean onKey(DialogInterface dialog, int keyCode, KeyEvent event) { argument
93 if (keyCode == KeyEvent.KEYCODE_MENU || keyCode == KeyEvent.KEYCODE_BACK) {
124 return mMenu.performShortcut(keyCode, event, 0);
/frameworks/base/core/tests/coretests/src/android/view/
H A DMenuTest.java276 private KeyEvent makeKeyEvent(int keyCode, int metaState) { argument
277 return new KeyEvent(0L, 0L, KeyEvent.ACTION_DOWN, keyCode, 0, metaState);
/frameworks/base/core/tests/coretests/src/android/widget/gridview/
H A DGridDelete.java55 public boolean onKeyDown(int keyCode, KeyEvent event) { argument
56 if (keyCode == KeyEvent.KEYCODE_DEL) {
61 return super.onKeyDown(keyCode, event);
/frameworks/base/include/androidfw/
H A DKeyLayoutMap.h69 status_t findScanCodesForKey(int32_t keyCode, Vector<int32_t>* outScanCodes) const;
78 int32_t keyCode; member in struct:android::KeyLayoutMap::Key
/frameworks/base/policy/src/com/android/internal/policy/impl/
H A DShortcutManager.java105 * @param keyCode The key code.
110 public Intent getIntent(KeyCharacterMap kcm, int keyCode, int metaState) { argument
114 int shortcut = kcm.get(keyCode, metaState);
121 shortcut = Character.toLowerCase(kcm.getDisplayLabel(keyCode));

Completed in 236 milliseconds

123456