/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...] |
Input.cpp | 130 int32_t metaState, 139 mMetaState = metaState; 290 int32_t metaState, 305 mMetaState = metaState;
|
/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...] |
Input.h | 300 int32_t metaState, 347 inline void setMetaState(int32_t metaState) { mMetaState = metaState; } 506 int32_t metaState,
|
InputTransport.h | 65 int32_t metaState; 81 int32_t metaState; 209 int32_t metaState, 229 int32_t metaState,
|
/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/core/java/android/view/ |
KeyCharacterMap.java | 291 private static native char nativeGetCharacter(int ptr, int keyCode, int metaState); 292 private static native boolean nativeGetFallbackAction(int ptr, int keyCode, int metaState, 295 private static native char nativeGetMatch(int ptr, int keyCode, char[] chars, int metaState); 363 * @param metaState The meta key modifier state. 366 public int get(int keyCode, int metaState) { 367 metaState = KeyEvent.normalizeMetaState(metaState); 368 char ch = nativeGetCharacter(mPtr, keyCode, metaState); 390 * @param metaState The meta key modifier state. 395 public FallbackAction getFallbackAction(int keyCode, int metaState) { [all...] |
KeyEvent.java | [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);
|
/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;
|
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
MotionEventHelper.java | 54 int metaState = e.getMetaState(); 77 pointerCount, pointerIds, pointerCoords, metaState, xPrecision,
|
/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/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);
|
/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) {
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
NonDistinctMultitouchHelper.java | 106 downTime, eventTime, action, x, y, 0 /* metaState */);
|