Home
last modified time | relevance | path

Searched refs:KeyCharacterMap (Results 1 – 25 of 50) 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()
DAndroid.bp29 "KeyCharacterMap.cpp",
/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.java65 private final KeyCharacterMap mKeyCharacterMap;
430 KeyCharacterMap keyCharacterMap, boolean hasVibrator, boolean hasMicrophone, in InputDevice()
460 mKeyCharacterMap = KeyCharacterMap.CREATOR.createFromParcel(in); in InputDevice()
685 public KeyCharacterMap getKeyCharacterMap() { in getKeyCharacterMap()
DKeyEvent.java31 import android.view.KeyCharacterMap.KeyData;
1255 return KeyCharacterMap.getDeadChar(accent, c); in getDeadChar()
1370 mDeviceId = KeyCharacterMap.VIRTUAL_KEYBOARD; in KeyEvent()
1394 mDeviceId = KeyCharacterMap.VIRTUAL_KEYBOARD; in KeyEvent()
1420 mDeviceId = KeyCharacterMap.VIRTUAL_KEYBOARD; in KeyEvent()
2679 public final KeyCharacterMap getKeyCharacterMap() { in getKeyCharacterMap()
2680 return KeyCharacterMap.load(mDeviceId); in getKeyCharacterMap()
/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/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/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/reader/include/
DEventHub.h230 virtual sp<KeyCharacterMap> getKeyCharacterMap(int32_t deviceId) const = 0;
231 virtual bool setKeyboardLayoutOverlay(int32_t deviceId, const sp<KeyCharacterMap>& map) = 0;
306 virtual sp<KeyCharacterMap> getKeyCharacterMap(int32_t deviceId) const override;
308 const sp<KeyCharacterMap>& map) override;
348 sp<KeyCharacterMap> overlayKeyMap;
349 sp<KeyCharacterMap> combinedKeyMap;
368 const sp<KeyCharacterMap>& getKeyCharacterMap() const { in getKeyCharacterMap()
/frameworks/base/services/core/java/com/android/server/media/
DMediaShellCommand.java36 import android.view.KeyCharacterMap;
187 KeyCharacterMap.VIRTUAL_KEYBOARD, 0, 0, InputDevice.SOURCE_KEYBOARD)); in runDispatch()
189 KeyCharacterMap.VIRTUAL_KEYBOARD, 0, 0, InputDevice.SOURCE_KEYBOARD)); in runDispatch()
320 KeyCharacterMap.VIRTUAL_KEYBOARD, 0, 0, InputDevice.SOURCE_KEYBOARD); in dispatchKeyCode()
322 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/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/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/android/view/inputmethod/
DBaseInputConnection.java35 import android.view.KeyCharacterMap;
62 KeyCharacterMap mKeyCharacterMap;
590 KeyCharacterMap.VIRTUAL_KEYBOARD, 0, in performEditorAction()
595 KeyCharacterMap.VIRTUAL_KEYBOARD, 0, in performEditorAction()
732 mKeyCharacterMap = KeyCharacterMap.load(KeyCharacterMap.VIRTUAL_KEYBOARD); in sendCurrentText()
750 content.toString(), KeyCharacterMap.VIRTUAL_KEYBOARD, 0); in sendCurrentText()
DInputConnection.java24 import android.view.KeyCharacterMap;
/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