/frameworks/native/include/input/ |
D | KeyCharacterMap.h | 45 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 …]
|
D | InputDevice.h | 111 inline void setKeyCharacterMap(const sp<KeyCharacterMap>& value) { in setKeyCharacterMap() 115 inline sp<KeyCharacterMap> getKeyCharacterMap() const { in getKeyCharacterMap() 139 sp<KeyCharacterMap> mKeyCharacterMap;
|
D | Keyboard.h | 29 class KeyCharacterMap; variable 40 sp<KeyCharacterMap> keyCharacterMap;
|
/frameworks/native/libs/input/ |
D | KeyCharacterMap.cpp | 88 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 …]
|
D | Keyboard.cpp | 131 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/ |
D | android_view_KeyCharacterMap.cpp | 50 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()
|
D | android_view_KeyCharacterMap.h | 28 const sp<KeyCharacterMap>& map);
|
/frameworks/base/core/java/android/view/ |
D | KeyCharacterMap.java | 32 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()
|
D | InputDevice.java | 62 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()
|
D | KeyEvent.java | 30 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/ |
D | TextKeyListener.java | 32 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()
|
D | QwertyKeyListener.java | 27 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()
|
D | MetaKeyKeyListener.java | 24 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()
|
D | DialerKeyListener.java | 21 import android.view.KeyCharacterMap.KeyData;
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | KeyUtils.java | 21 import android.view.KeyCharacterMap; 56 final KeyCharacterMap keyCharMap = KeyCharacterMap.load(pushMenuKey.getDeviceId()); in chordMenuKey()
|
/frameworks/base/tools/validatekeymaps/ |
D | Main.cpp | 109 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/ |
D | EventHub.h | 233 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/ |
D | Media.java | 37 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/ |
D | InteractionController.java | 28 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/ |
D | Input.java | 25 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/ |
D | ToolbarActionBar.java | 31 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/ |
D | BaseInputConnection.java | 35 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()
|
D | InputConnection.java | 24 import android.view.KeyCharacterMap;
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | GlobalActionPerformer.java | 32 import android.view.KeyCharacterMap; 122 KeyCharacterMap.VIRTUAL_KEYBOARD, 0, KeyEvent.FLAG_FROM_SYSTEM, in sendKeyEventIdentityCleared()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | ShortcutManager.java | 28 import android.view.KeyCharacterMap; 80 public Intent getIntent(KeyCharacterMap kcm, int keyCode, int metaState) { in getIntent()
|