Home
last modified time | relevance | path

Searched refs:KeyCharacterMap (Results 1 – 25 of 49) sorted by relevance

12

/frameworks/native/include/input/
DKeyCharacterMap.h45 class KeyCharacterMap : public RefBase {
77 static status_t load(const std::string& filename, Format format, sp<KeyCharacterMap>* outMap);
81 const char* contents, Format format, sp<KeyCharacterMap>* outMap);
84 static sp<KeyCharacterMap> combine(const sp<KeyCharacterMap>& base,
85 const sp<KeyCharacterMap>& overlay);
88 static sp<KeyCharacterMap> empty();
139 static sp<KeyCharacterMap> readFromParcel(Parcel* parcel);
146 virtual ~KeyCharacterMap();
205 KeyCharacterMap* mMap;
212 Parser(KeyCharacterMap* map, Tokenizer* tokenizer, Format format);
[all …]
DInputDevice.h111 inline void setKeyCharacterMap(const sp<KeyCharacterMap>& value) { in setKeyCharacterMap()
115 inline sp<KeyCharacterMap> getKeyCharacterMap() const { in getKeyCharacterMap()
139 sp<KeyCharacterMap> mKeyCharacterMap;
DKeyboard.h29 class KeyCharacterMap; variable
40 sp<KeyCharacterMap> keyCharacterMap;
/frameworks/native/libs/input/
DKeyCharacterMap.cpp88 sp<KeyCharacterMap> KeyCharacterMap::sEmpty = new KeyCharacterMap();
90 KeyCharacterMap::KeyCharacterMap() : in KeyCharacterMap() function in android::KeyCharacterMap
94 KeyCharacterMap::KeyCharacterMap(const KeyCharacterMap& other) : in KeyCharacterMap() function in android::KeyCharacterMap
102 KeyCharacterMap::~KeyCharacterMap() { in ~KeyCharacterMap()
109 status_t KeyCharacterMap::load(const std::string& filename, in load()
110 Format format, sp<KeyCharacterMap>* outMap) { in load()
124 status_t KeyCharacterMap::loadContents(const std::string& filename, const char* contents, in loadContents()
125 Format format, sp<KeyCharacterMap>* outMap) { in loadContents()
139 status_t KeyCharacterMap::load(Tokenizer* tokenizer, in load()
140 Format format, sp<KeyCharacterMap>* outMap) { in load()
[all …]
DKeyboard.cpp131 status_t status = KeyCharacterMap::load(path, in loadKeyCharacterMap()
132 KeyCharacterMap::FORMAT_BASE, &keyCharacterMap); in loadKeyCharacterMap()
165 == KeyCharacterMap::KEYBOARD_TYPE_SPECIAL_FUNCTION) { in isEligibleBuiltInKeyboard()
/frameworks/base/core/jni/
Dandroid_view_KeyCharacterMap.cpp50 NativeKeyCharacterMap(int32_t deviceId, const sp<KeyCharacterMap>& map) : in NativeKeyCharacterMap()
61 inline const sp<KeyCharacterMap>& getMap() const { in getMap()
67 sp<KeyCharacterMap> mMap;
72 const sp<KeyCharacterMap>& kcm) { in android_view_KeyCharacterMap_create()
74 kcm.get() ? kcm : KeyCharacterMap::empty()); in android_view_KeyCharacterMap_create()
94 sp<KeyCharacterMap> kcm = KeyCharacterMap::readFromParcel(parcel); in nativeReadFromParcel()
126 KeyCharacterMap::FallbackAction fallbackAction; in nativeGetFallbackAction()
Dandroid_view_KeyCharacterMap.h28 const sp<KeyCharacterMap>& map);
/frameworks/base/core/java/android/view/
DKeyCharacterMap.java32 public class KeyCharacterMap implements Parcelable { class
275 public static final @android.annotation.NonNull Parcelable.Creator<KeyCharacterMap> CREATOR =
276 new Parcelable.Creator<KeyCharacterMap>() {
277 public KeyCharacterMap createFromParcel(Parcel in) {
278 return new KeyCharacterMap(in);
280 public KeyCharacterMap[] newArray(int size) {
281 return new KeyCharacterMap[size];
300 private KeyCharacterMap(Parcel in) { in KeyCharacterMap() method in KeyCharacterMap
312 private KeyCharacterMap(long ptr) { in KeyCharacterMap() method in KeyCharacterMap
333 public static KeyCharacterMap load(int deviceId) { in load()
DInputDevice.java62 private final KeyCharacterMap mKeyCharacterMap;
414 KeyCharacterMap keyCharacterMap, boolean hasVibrator, boolean hasMicrophone, in InputDevice()
444 mKeyCharacterMap = KeyCharacterMap.CREATOR.createFromParcel(in); in InputDevice()
669 public KeyCharacterMap getKeyCharacterMap() { in getKeyCharacterMap()
DKeyEvent.java30 import android.view.KeyCharacterMap.KeyData;
1254 return KeyCharacterMap.getDeadChar(accent, c); in getDeadChar()
1366 mDeviceId = KeyCharacterMap.VIRTUAL_KEYBOARD; in KeyEvent()
1389 mDeviceId = KeyCharacterMap.VIRTUAL_KEYBOARD; in KeyEvent()
1414 mDeviceId = KeyCharacterMap.VIRTUAL_KEYBOARD; in KeyEvent()
2638 public final KeyCharacterMap getKeyCharacterMap() { in getKeyCharacterMap()
2639 return KeyCharacterMap.load(mDeviceId); in getKeyCharacterMap()
/frameworks/base/core/java/android/text/method/
DTextKeyListener.java32 import android.view.KeyCharacterMap;
192 KeyCharacterMap kmap = event.getKeyCharacterMap(); in getKeyListener()
195 if (kind == KeyCharacterMap.ALPHA) { in getKeyListener()
197 } else if (kind == KeyCharacterMap.NUMERIC) { in getKeyListener()
199 } else if (kind == KeyCharacterMap.FULL in getKeyListener()
200 || kind == KeyCharacterMap.SPECIAL_FUNCTION) { in getKeyListener()
DQwertyKeyListener.java27 import android.view.KeyCharacterMap;
132 if (i == KeyCharacterMap.PICKER_DIALOG_INPUT) { in onKeyDown()
135 KeyCharacterMap.PICKER_DIALOG_INPUT, true, 1); in onKeyDown()
141 if (i == KeyCharacterMap.HEX_INPUT) { in onKeyDown()
173 if ((i & KeyCharacterMap.COMBINING_ACCENT) != 0) { in onKeyDown()
175 i = i & KeyCharacterMap.COMBINING_ACCENT_MASK; in onKeyDown()
469 PICKER_SETS.put(KeyCharacterMap.PICKER_DIALOG_INPUT, in PICKER_SETS.put()
DMetaKeyKeyListener.java24 import android.view.KeyCharacterMap;
184 == KeyCharacterMap.MODIFIER_BEHAVIOR_CHORDED_OR_TOGGLED) { in getMetaState()
235 == KeyCharacterMap.MODIFIER_BEHAVIOR_CHORDED_OR_TOGGLED) { in getMetaState()
407 case KeyCharacterMap.MODIFIER_BEHAVIOR_CHORDED_OR_TOGGLED: in release()
604 case KeyCharacterMap.MODIFIER_BEHAVIOR_CHORDED_OR_TOGGLED: in release()
DDialerKeyListener.java21 import android.view.KeyCharacterMap.KeyData;
/frameworks/base/core/tests/coretests/src/android/util/
DKeyUtils.java21 import android.view.KeyCharacterMap;
56 final KeyCharacterMap keyCharMap = KeyCharacterMap.load(pushMenuKey.getDeviceId()); in chordMenuKey()
/frameworks/base/tools/validatekeymaps/
DMain.cpp109 sp<KeyCharacterMap> map; in validateFile()
110 status_t status = KeyCharacterMap::load(filename, in validateFile()
111 KeyCharacterMap::FORMAT_ANY, &map); in validateFile()
/frameworks/native/services/inputflinger/
DEventHub.h233 virtual sp<KeyCharacterMap> getKeyCharacterMap(int32_t deviceId) const = 0;
234 virtual bool setKeyboardLayoutOverlay(int32_t deviceId, const sp<KeyCharacterMap>& map) = 0;
309 virtual sp<KeyCharacterMap> getKeyCharacterMap(int32_t deviceId) const;
310 virtual bool setKeyboardLayoutOverlay(int32_t deviceId, const sp<KeyCharacterMap>& map);
351 sp<KeyCharacterMap> overlayKeyMap;
352 sp<KeyCharacterMap> combinedKeyMap;
371 const sp<KeyCharacterMap>& getKeyCharacterMap() const { in getKeyCharacterMap()
/frameworks/base/cmds/media/src/com/android/commands/media/
DMedia.java37 import android.view.KeyCharacterMap;
184 KeyCharacterMap.VIRTUAL_KEYBOARD, 0, 0, InputDevice.SOURCE_KEYBOARD)); in runDispatch()
186 KeyCharacterMap.VIRTUAL_KEYBOARD, 0, 0, InputDevice.SOURCE_KEYBOARD)); in runDispatch()
312 KeyCharacterMap.VIRTUAL_KEYBOARD, 0, 0, InputDevice.SOURCE_KEYBOARD); in dispatchKeyCode()
314 KeyCharacterMap.VIRTUAL_KEYBOARD, 0, 0, InputDevice.SOURCE_KEYBOARD); in dispatchKeyCode()
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
DInteractionController.java28 import android.view.KeyCharacterMap;
53 private final KeyCharacterMap mKeyCharacterMap =
54 KeyCharacterMap.load(KeyCharacterMap.VIRTUAL_KEYBOARD);
191 keyCode, 0, metaState, KeyCharacterMap.VIRTUAL_KEYBOARD, 0, 0, in sendKeyAndWaitForEvent()
195 keyCode, 0, metaState, KeyCharacterMap.VIRTUAL_KEYBOARD, 0, 0, in sendKeyAndWaitForEvent()
548 keyCode, 0, metaState, KeyCharacterMap.VIRTUAL_KEYBOARD, 0, 0,
552 keyCode, 0, metaState, KeyCharacterMap.VIRTUAL_KEYBOARD, 0, 0,
/frameworks/base/cmds/input/src/com/android/commands/input/
DInput.java25 import android.view.KeyCharacterMap;
166 final KeyCharacterMap kcm = KeyCharacterMap.load(KeyCharacterMap.VIRTUAL_KEYBOARD); in sendText()
199 0 /*metaState*/, KeyCharacterMap.VIRTUAL_KEYBOARD, 0 /*scancode*/, 0 /*flags*/, in sendKeyEvent()
/frameworks/base/core/java/com/android/internal/app/
DToolbarActionBar.java31 import android.view.KeyCharacterMap;
477 final KeyCharacterMap kmap = KeyCharacterMap.load( in onKeyShortcut()
478 event != null ? event.getDeviceId() : KeyCharacterMap.VIRTUAL_KEYBOARD); in onKeyShortcut()
479 menu.setQwertyMode(kmap.getKeyboardType() != KeyCharacterMap.NUMERIC); in onKeyShortcut()
/frameworks/base/core/java/android/view/inputmethod/
DBaseInputConnection.java35 import android.view.KeyCharacterMap;
62 KeyCharacterMap mKeyCharacterMap;
573 KeyCharacterMap.VIRTUAL_KEYBOARD, 0, in performEditorAction()
578 KeyCharacterMap.VIRTUAL_KEYBOARD, 0, in performEditorAction()
715 mKeyCharacterMap = KeyCharacterMap.load(KeyCharacterMap.VIRTUAL_KEYBOARD); in sendCurrentText()
733 content.toString(), KeyCharacterMap.VIRTUAL_KEYBOARD, 0); in sendCurrentText()
DInputConnection.java24 import android.view.KeyCharacterMap;
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DGlobalActionPerformer.java32 import android.view.KeyCharacterMap;
122 KeyCharacterMap.VIRTUAL_KEYBOARD, 0, KeyEvent.FLAG_FROM_SYSTEM, in sendKeyEventIdentityCleared()
/frameworks/base/services/core/java/com/android/server/policy/
DShortcutManager.java28 import android.view.KeyCharacterMap;
80 public Intent getIntent(KeyCharacterMap kcm, int keyCode, int metaState) { in getIntent()

12