HomeSort by relevance Sort by last modified time
    Searched full:keycode (Results 226 - 250 of 599) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /frameworks/base/tests/TileBenchmark/src/com/test/tilebenchmark/
ProfileActivity.java 300 public boolean onKeyDown(int keyCode, KeyEvent event) {
301 if ((keyCode == KeyEvent.KEYCODE_BACK) && mWeb.canGoBack()) {
305 return super.onKeyDown(keyCode, event);
  /packages/apps/Browser/src/com/android/browser/
UrlInputView.java 356 public boolean onKeyDown(int keyCode, KeyEvent evt) {
357 if (keyCode == KeyEvent.KEYCODE_ESCAPE && !isInTouchMode()) {
361 return super.onKeyDown(keyCode, evt);
  /packages/apps/Calculator/src/com/android/calculator2/
Calculator.java 236 public boolean onKeyDown(int keyCode, KeyEvent keyEvent) {
237 if (keyCode == KeyEvent.KEYCODE_BACK && getAdvancedVisibility()) {
241 return super.onKeyDown(keyCode, keyEvent);
  /packages/apps/Stk/src/com/android/stk/
StkInputActivity.java 173 public boolean onKeyDown(int keyCode, KeyEvent event) {
174 switch (keyCode) {
180 return super.onKeyDown(keyCode, event);
StkMenuActivity.java 122 public boolean onKeyDown(int keyCode, KeyEvent event) {
128 switch (keyCode) {
141 return super.onKeyDown(keyCode, event);
  /cts/tests/src/android/app/cts/
DialogStubActivity.java 345 public boolean onKeyDown(int keyCode, KeyEvent event) {
347 return super.onKeyDown(keyCode, event);
351 public boolean onKeyUp(int keyCode, KeyEvent event) {
353 return super.onKeyUp(keyCode, event);
  /development/apps/FontLab/src/com/android/fontlab/
FontLab.java 281 @Override public boolean onKeyDown(int keyCode, KeyEvent event) {
285 switch (keyCode) {
307 return super.onKeyDown(keyCode, event);
328 return super.onKeyDown(keyCode, event);
  /development/pdk/docs/porting/
keymaps_keyboard_input.jd 45 <td>Window manager maps scancode to keycode.</td>
46 <td>When the window manager reads a key event out of the driver, it maps the scancode to a keycode using a key layout map file. Typically, the keycode is the primary symbol screen-printed on a key. For example, <code>KEYCODE_DPAD_CENTER</code> is the center button on the five-way navigation control. Even though ALT + G generates a &quot;?&quot; character, <code>KEYCODE_G</code> is the keycode.</td>
50 <td>Window manager sends both the scancode and the keycode to the application.</td>
51 <td>Both the scancode and keycode are handled by the view with focus.
74 <li>Key definitions: Key definitions follow the syntax <code>key SCANCODE KEYCODE [FLAGS...]</code>, where <code>SCANCODE</code> is a number, <code>KEYCODE</code> is defined in your specific keylayout file (<code>android.keylayout.xxx</code>), and potential <code>FLAGS</code> are defined as follows:
233 # keycode base caps fn caps_fn number display_label
  /development/samples/Wiktionary/src/com/example/android/wiktionary/
LookupActivity.java 119 public boolean onKeyDown(int keyCode, KeyEvent event) {
121 if (keyCode == KeyEvent.KEYCODE_BACK && !mHistory.empty()) {
127 return super.onKeyDown(keyCode, event);
139 return super.onKeyDown(keyCode, event);
  /external/chromium/chrome/browser/resources/shared/js/cr/ui/
focus_outline_manager.js 33 if (e.keyCode == 9) // Tab
  /external/qemu/android/skin/
file.h 41 unsigned keycode; member in struct:SkinButton
  /external/webkit/Source/WebKit/chromium/src/
WebScrollbarImpl.cpp 222 int keyCode;
226 keyCode = ((keyboard.modifiers & WebInputEvent::ShiftKey) ? VKEY_PRIOR : VKEY_NEXT);
245 keyCode = keyboard.windowsKeyCode;
249 if (WebViewImpl::mapKeyCodeForScroll(keyCode, &scrollDirection, &scrollGranularity)) {
  /external/webkit/Source/WebKit/mac/Plugins/
WebNetscapePluginEventHandler.h 56 virtual void syntheticKeyDownWithCommandModifier(int keyCode, char character) = 0;
WebNetscapePluginEventHandlerCarbon.h 53 virtual void syntheticKeyDownWithCommandModifier(int keyCode, char character);
WebNetscapePluginEventHandlerCocoa.h 51 virtual void syntheticKeyDownWithCommandModifier(int keyCode, char character);
  /external/webkit/Source/WebKit/win/Interfaces/
DOMEvents.idl 211 //readonly attribute long keyCode;
212 //HRESULT keyCode([out, retval] long* result);
387 //readonly attribute long keyCode;
388 HRESULT keyCode([out, retval] long* result);
  /frameworks/base/core/java/android/text/method/
BaseMovementMethod.java 40 public boolean onKeyDown(TextView widget, Spannable text, int keyCode, KeyEvent event) {
42 boolean handled = handleMovementKey(widget, text, keyCode, movementMetaState, event);
53 final int keyCode = event.getKeyCode();
54 if (keyCode != KeyEvent.KEYCODE_UNKNOWN
59 if (!handleMovementKey(widget, text, keyCode, movementMetaState, event)) {
74 public boolean onKeyUp(TextView widget, Spannable text, int keyCode, KeyEvent event) {
155 * @param keyCode The key code.
161 int keyCode, int movementMetaState, KeyEvent event) {
162 switch (keyCode) {
  /frameworks/base/opengl/tests/gl_jni/src/com/android/gljni/
GLJNIView.java 85 public boolean onKeyDown(int keyCode, KeyEvent event) {
  /frameworks/base/policy/src/com/android/internal/policy/impl/
KeyguardViewMediator.java 681 * @param keyCode The wake key.
685 private void wakeWhenReadyLocked(int keyCode) {
686 if (DBG_WAKE) Log.d(TAG, "wakeWhenReadyLocked(" + keyCode + ")");
695 Message msg = mHandler.obtainMessage(WAKE_WHEN_READY, keyCode, 0);
    [all...]
  /frameworks/base/services/input/
InputReader.cpp 123 static int32_t rotateKeyCode(int32_t keyCode, int32_t orientation) {
124 return rotateValueUsingRotationMap(keyCode, orientation,
175 int32_t buttonState, int32_t keyCode) {
184 action, 0, keyCode, 0, context->getGlobalMetaState(), when);
548 InputDevice* device, int32_t keyCode, int32_t scanCode) {
551 "temporarily disabled for the next %0.3fms. keyCode=%d, scanCode=%d",
554 keyCode, scanCode);
612 int32_t keyCode) {
615 return getStateLocked(deviceId, sourceMask, keyCode, &InputDevice::getKeyCodeState);
800 InputDevice* device, int32_t keyCode, int32_t scanCode)
    [all...]
InputDispatcher.h 249 * Returns an alternate keycode to redispatch as a fallback, or 0 to give up. */
472 int32_t keyCode;
491 int32_t flags, int32_t keyCode, int32_t scanCode, int32_t metaState,
701 // The specific keycode of the key event to cancel, or -1 to cancel any key event.
702 int32_t keyCode;
708 mode(mode), reason(reason), keyCode(-1), deviceId(-1) { }
745 // Gets the fallback key associated with a keycode.
750 // Sets the fallback key for a particular keycode.
753 // Removes the fallback key for a particular keycode.
764 int32_t keyCode;
    [all...]
  /frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/
WebViewEventSender.java 59 int keyCode = modifierMapper(withModifiers[i]);
60 modifier = new KeyEvent(KeyEvent.ACTION_DOWN, keyCode);
64 int keyCode = keyMapper(character.toLowerCase().toCharArray()[0]);
65 KeyEvent event = new KeyEvent(KeyEvent.ACTION_DOWN, keyCode);
  /packages/apps/Music/src/com/android/music/
VerticalTextSpinner.java 169 public boolean onKeyDown(int keyCode, KeyEvent event) {
175 if ((keyCode == KeyEvent.KEYCODE_DPAD_UP) && canScrollDown()) {
180 } else if ((keyCode == KeyEvent.KEYCODE_DPAD_DOWN) && canScrollUp()) {
186 return super.onKeyDown(keyCode, event);
  /packages/apps/Settings/src/com/android/settings/quicklaunch/
QuickLaunchSettings.java 269 for (int keyCode = KeyEvent.getMaxKeyCode() - 1; keyCode >= 0; keyCode--) {
271 char shortcut = (char) Character.toLowerCase(keyMap.getDisplayLabel(keyCode));
  /external/bluetooth/bluez/compat/
fakehid.txt 132 28 uint8 key[] # single byte keycode or 0xff byte
133 # follwed by special keycode byte.

Completed in 828 milliseconds

1 2 3 4 5 6 7 8 91011>>