/frameworks/support/v4/honeycomb/android/support/v4/view/ |
KeyEventCompatHoneycomb.java | 25 public static int normalizeMetaState(int metaState) { 26 return KeyEvent.normalizeMetaState(metaState); 29 public static boolean metaStateHasModifiers(int metaState, int modifiers) { 30 return KeyEvent.metaStateHasModifiers(metaState, modifiers); 33 public static boolean metaStateHasNoModifiers(int metaState) { 34 return KeyEvent.metaStateHasNoModifiers(metaState);
|
/frameworks/support/v4/java/android/support/v4/view/ |
KeyEventCompat.java | 31 public int normalizeMetaState(int metaState); 32 public boolean metaStateHasModifiers(int metaState, int modifiers); 33 public boolean metaStateHasNoModifiers(int metaState); 53 private static int metaStateFilterDirectionalModifiers(int metaState, 63 return metaState & ~directional; 65 return metaState & ~basic; 67 return metaState; 72 public int normalizeMetaState(int metaState) { 73 if ((metaState & (KeyEvent.META_SHIFT_LEFT_ON | KeyEvent.META_SHIFT_RIGHT_ON)) != 0) { 74 metaState |= KeyEvent.META_SHIFT_ON [all...] |
/frameworks/native/libs/input/ |
KeyCharacterMap.cpp | 52 int32_t metaState; 230 char16_t KeyCharacterMap::getCharacter(int32_t keyCode, int32_t metaState) const { 234 if (getKeyBehavior(keyCode, metaState, &key, &behavior)) { 238 ALOGD("getCharacter: keyCode=%d, metaState=0x%08x ~ Result %d.", keyCode, metaState, result); 243 bool KeyCharacterMap::getFallbackAction(int32_t keyCode, int32_t metaState, 246 outFallbackAction->metaState = 0; 251 if (getKeyBehavior(keyCode, metaState, &key, &behavior)) { 254 outFallbackAction->metaState = metaState & ~behavior->metaState [all...] |
InputTransport.cpp | 246 int32_t metaState, 252 "action=0x%x, flags=0x%x, keyCode=%d, scanCode=%d, metaState=0x%x, repeatCount=%d," 255 deviceId, source, action, flags, keyCode, scanCode, metaState, repeatCount, 273 msg.body.key.metaState = metaState; 287 int32_t metaState, 300 "action=0x%x, flags=0x%x, edgeFlags=0x%x, metaState=0x%x, buttonState=0x%x, " 305 deviceId, source, action, flags, edgeFlags, metaState, buttonState, 328 msg.body.motion.metaState = metaState; [all...] |
/frameworks/native/include/input/ |
KeyCharacterMap.h | 68 int32_t metaState; 101 char16_t getCharacter(int32_t keyCode, int32_t metaState) const; 107 bool getFallbackAction(int32_t keyCode, int32_t metaState, 115 size_t numChars, int32_t metaState) const; 147 int32_t metaState; 185 inline Property(int32_t property = 0, int32_t metaState = 0) : 186 property(property), metaState(metaState) { } 189 int32_t metaState; 226 bool getKeyBehavior(int32_t keyCode, int32_t metaState, [all...] |
InputTransport.h | 65 int32_t metaState; 81 int32_t metaState; 209 int32_t metaState, 229 int32_t metaState,
|
Input.h | 300 int32_t metaState, 347 inline void setMetaState(int32_t metaState) { mMetaState = metaState; } 506 int32_t metaState,
|
/frameworks/base/core/java/android/view/ |
KeyEvent.java | [all...] |
MotionEvent.java | [all...] |
InputEventConsistencyVerifier.java | 550 private void ensureMetaStateIsNormalized(int metaState) { 551 final int normalizedMetaState = KeyEvent.normalizeMetaState(metaState); 552 if (normalizedMetaState != metaState) { 553 problem(String.format("Metastate not normalized. Was 0x%08x but expected 0x%08x.", 554 metaState, normalizedMetaState));
|
/frameworks/base/core/jni/ |
android_view_KeyCharacterMap.cpp | 42 jfieldID metaState; 116 jint keyCode, jint metaState) { 118 return map->getMap()->getCharacter(keyCode, metaState); 122 jint metaState, jobject fallbackActionObj) { 126 bool result = map->getMap()->getFallbackAction(keyCode, metaState, &fallbackAction); 130 env->SetIntField(fallbackActionObj, gFallbackActionClassInfo.metaState, 131 fallbackAction.metaState); 142 jcharArray charsArray, jint metaState) { 151 char16_t result = map->getMap()->getMatch(keyCode, chars, size_t(numChars), metaState); 253 GET_FIELD_ID(gFallbackActionClassInfo.metaState, clazz [all...] |
android_view_KeyEvent.cpp | 79 jint metaState = env->GetIntField(eventObj, gKeyEventClassInfo.mMetaState); 88 event->initialize(deviceId, source, action, flags, keyCode, scanCode, metaState, repeatCount,
|
/frameworks/base/services/input/ |
InputListener.cpp | 48 int32_t metaState, nsecs_t downTime) : 51 metaState(metaState), downTime(downTime) { 59 metaState(other.metaState), downTime(other.downTime) { 71 int32_t action, int32_t flags, int32_t metaState, int32_t buttonState, 76 action(action), flags(flags), metaState(metaState), buttonState(buttonState), 89 metaState(other.metaState), buttonState(other.buttonState) [all...] |
InputListener.h | 63 int32_t metaState; 70 int32_t metaState, nsecs_t downTime); 88 int32_t metaState; 102 int32_t action, int32_t flags, int32_t metaState, int32_t buttonState,
|
InputDispatcher.cpp | 664 entry->metaState, entry->repeatCount + 1, entry->downTime); 811 "action=0x%x, flags=0x%x, keyCode=0x%x, scanCode=0x%x, metaState=0x%x, " 815 entry->action, entry->flags, entry->keyCode, entry->scanCode, entry->metaState, 881 "metaState=0x%x, buttonState=0x%x, " 886 entry->metaState, entry->buttonState [all...] |
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
ShortcutManager.java | 106 * @param metaState The meta state, omitting any modifiers that were used 110 public Intent getIntent(KeyCharacterMap kcm, int keyCode, int metaState) { 114 int shortcut = kcm.get(keyCode, metaState);
|
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/input/ |
ImeAdapter.java | 178 private static int getModifiers(int metaState) { 180 if ((metaState & KeyEvent.META_SHIFT_ON) != 0) { 183 if ((metaState & KeyEvent.META_ALT_ON) != 0) { 186 if ((metaState & KeyEvent.META_CTRL_ON) != 0) { 189 if ((metaState & KeyEvent.META_CAPS_LOCK_ON) != 0) { 192 if ((metaState & KeyEvent.META_NUM_LOCK_ON) != 0) {
|
/frameworks/native/libs/input/tests/ |
InputPublisherAndConsumer_test.cpp | 80 const int32_t metaState = AMETA_ALT_LEFT_ON | AMETA_ALT_ON; 86 keyCode, scanCode, metaState, repeatCount, downTime, eventTime); 109 EXPECT_EQ(metaState, keyEvent->getMetaState()); 138 const int32_t metaState = AMETA_ALT_LEFT_ON | AMETA_ALT_ON; 167 metaState, buttonState, xOffset, yOffset, xPrecision, yPrecision, 191 EXPECT_EQ(metaState, motionEvent->getMetaState());
|
/development/cmds/monkey/src/com/android/commands/monkey/ |
MonkeyKeyEvent.java | 46 int keyCode, int repeatCount, int metaState, 54 mMetaState = metaState;
|
MonkeyMotionEvent.java | 103 public MonkeyMotionEvent setMetaState(int metaState) { 104 mMetaState = metaState;
|
MonkeySourceScript.java | 289 int metaState = Integer.parseInt(args[5]); 294 metaState, device, scancode); 315 int metaState = Integer.parseInt(args[7]); 330 .setMetaState(metaState) 352 int metaState = Integer.parseInt(args[7]); 379 .setMetaState(metaState) 390 .setMetaState(metaState) [all...] |
/frameworks/base/core/java/android/text/method/ |
MetaKeyKeyListener.java | 68 * int metaState = event.getMetaState() | listener.getMetaState(textBuffer); 69 * return event.getUnicodeChar(metaState); 181 int metaState = event.getMetaState(); 184 metaState |= getMetaState(text); 186 return metaState; 232 int metaState = event.getMetaState(); 235 metaState |= getMetaState(text); 240 if ((metaState & META_SELECTING) != 0) { 246 return getMetaState(metaState, meta);
|
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
MotionEventHelper.java | 54 int metaState = e.getMetaState(); 77 pointerCount, pointerIds, pointerCoords, metaState, xPrecision,
|
/frameworks/testing/uiautomator/library/core-src/com/android/uiautomator/core/ |
InteractionController.java | 181 * @param metaState 186 public boolean sendKeyAndWaitForEvent(final int keyCode, final int metaState, 193 keyCode, 0, metaState, KeyCharacterMap.VIRTUAL_KEYBOARD, 0, 0, 197 keyCode, 0, metaState, KeyCharacterMap.VIRTUAL_KEYBOARD, 0, 0, 543 public boolean sendKey(int keyCode, int metaState) { 545 Log.d(LOG_TAG, "sendKey (" + keyCode + ", " + metaState + ")"); 550 keyCode, 0, metaState, KeyCharacterMap.VIRTUAL_KEYBOARD, 0, 0, 554 keyCode, 0, metaState, KeyCharacterMap.VIRTUAL_KEYBOARD, 0, 0,
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowMotionEvent.java | 30 public static MotionEvent obtain(long downTime, long eventTime, int action, float x, float y, int metaState) {
|