/frameworks/native/include/input/ |
D | KeyCharacterMap.h | 46 class KeyCharacterMap : public RefBase { 75 static status_t load(const String8& filename, Format format, sp<KeyCharacterMap>* outMap); 79 const char* contents, Format format, sp<KeyCharacterMap>* outMap); 82 static sp<KeyCharacterMap> combine(const sp<KeyCharacterMap>& base, 83 const sp<KeyCharacterMap>& overlay); 86 static sp<KeyCharacterMap> empty(); 137 static sp<KeyCharacterMap> readFromParcel(Parcel* parcel); 144 virtual ~KeyCharacterMap(); 203 KeyCharacterMap* mMap; 210 Parser(KeyCharacterMap* map, Tokenizer* tokenizer, Format format); [all …]
|
D | InputDevice.h | 101 inline void setKeyCharacterMap(const sp<KeyCharacterMap>& value) { in setKeyCharacterMap() 105 inline sp<KeyCharacterMap> getKeyCharacterMap() const { in getKeyCharacterMap() 129 sp<KeyCharacterMap> mKeyCharacterMap;
|
D | Keyboard.h | 39 class KeyCharacterMap; variable 50 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 String8& filename, in load() 110 Format format, sp<KeyCharacterMap>* outMap) { in load() 124 status_t KeyCharacterMap::loadContents(const String8& 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() 155 == 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 | 31 public class KeyCharacterMap implements Parcelable { class 274 public static final Parcelable.Creator<KeyCharacterMap> CREATOR = 275 new Parcelable.Creator<KeyCharacterMap>() { 276 public KeyCharacterMap createFromParcel(Parcel in) { 277 return new KeyCharacterMap(in); 279 public KeyCharacterMap[] newArray(int size) { 280 return new KeyCharacterMap[size]; 299 private KeyCharacterMap(Parcel in) { in KeyCharacterMap() method in KeyCharacterMap 310 private KeyCharacterMap(long ptr) { in KeyCharacterMap() method in KeyCharacterMap 331 public static KeyCharacterMap load(int deviceId) { in load()
|
D | InputDevice.java | 59 private final KeyCharacterMap mKeyCharacterMap; 410 KeyCharacterMap keyCharacterMap, boolean hasVibrator, boolean hasMicrophone, in InputDevice() 440 mKeyCharacterMap = KeyCharacterMap.CREATOR.createFromParcel(in); in InputDevice() 667 public KeyCharacterMap getKeyCharacterMap() { in getKeyCharacterMap()
|
D | KeyEvent.java | 24 import android.view.KeyCharacterMap.KeyData; 1226 return KeyCharacterMap.getDeadChar(accent, c); in getDeadChar() 1326 mDeviceId = KeyCharacterMap.VIRTUAL_KEYBOARD; in KeyEvent() 1349 mDeviceId = KeyCharacterMap.VIRTUAL_KEYBOARD; in KeyEvent() 1374 mDeviceId = KeyCharacterMap.VIRTUAL_KEYBOARD; in KeyEvent() 2528 public final KeyCharacterMap getKeyCharacterMap() { in getKeyCharacterMap() 2529 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 | 23 import android.view.KeyCharacterMap; 183 == KeyCharacterMap.MODIFIER_BEHAVIOR_CHORDED_OR_TOGGLED) { in getMetaState() 234 == KeyCharacterMap.MODIFIER_BEHAVIOR_CHORDED_OR_TOGGLED) { in getMetaState() 404 case KeyCharacterMap.MODIFIER_BEHAVIOR_CHORDED_OR_TOGGLED: in release() 601 case KeyCharacterMap.MODIFIER_BEHAVIOR_CHORDED_OR_TOGGLED: in release()
|
D | DialerKeyListener.java | 21 import android.view.KeyCharacterMap.KeyData;
|
/frameworks/base/tools/validatekeymaps/ |
D | Main.cpp | 91 sp<KeyCharacterMap> map; in validateFile() 92 status_t status = KeyCharacterMap::load(String8(filename), in validateFile() 93 KeyCharacterMap::FORMAT_ANY, &map); in validateFile()
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | KeyUtils.java | 24 import android.view.KeyCharacterMap; 62 final KeyCharacterMap keyCharMap = KeyCharacterMap.load(pushMenuKey.getDeviceId()); in chordMenuKey()
|
/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/ |
D | BaseKeyboardShortcutsTestCase.java | 30 import android.view.KeyCharacterMap; 59 keyCode, 0, meta, KeyCharacterMap.VIRTUAL_KEYBOARD, 0); in testKeyboardShortcut() 64 keyCode, 0, meta, KeyCharacterMap.VIRTUAL_KEYBOARD, 0); in testKeyboardShortcut()
|
/frameworks/base/cmds/input/src/com/android/commands/input/ |
D | Input.java | 23 import android.view.KeyCharacterMap; 185 KeyCharacterMap kcm = KeyCharacterMap.load(KeyCharacterMap.VIRTUAL_KEYBOARD); in sendText() 199 KeyCharacterMap.VIRTUAL_KEYBOARD, 0, 0, inputSource)); in sendKeyEvent() 202 KeyCharacterMap.VIRTUAL_KEYBOARD, 0, KeyEvent.FLAG_LONG_PRESS, in sendKeyEvent() 206 KeyCharacterMap.VIRTUAL_KEYBOARD, 0, 0, inputSource)); in sendKeyEvent()
|
/frameworks/native/services/inputflinger/ |
D | EventHub.h | 251 virtual sp<KeyCharacterMap> getKeyCharacterMap(int32_t deviceId) const = 0; 252 virtual bool setKeyboardLayoutOverlay(int32_t deviceId, const sp<KeyCharacterMap>& map) = 0; 326 virtual sp<KeyCharacterMap> getKeyCharacterMap(int32_t deviceId) const; 327 virtual bool setKeyboardLayoutOverlay(int32_t deviceId, const sp<KeyCharacterMap>& map); 366 sp<KeyCharacterMap> overlayKeyMap; 367 sp<KeyCharacterMap> combinedKeyMap; 388 const sp<KeyCharacterMap>& getKeyCharacterMap() const { in getKeyCharacterMap()
|
/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/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()
|
/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
D | ToolbarActionBar.java | 31 import android.view.KeyCharacterMap; 477 final KeyCharacterMap kmap = KeyCharacterMap.load( in onKeyShortcut() 478 ev != null ? ev.getDeviceId() : KeyCharacterMap.VIRTUAL_KEYBOARD); in onKeyShortcut() 479 menu.setQwertyMode(kmap.getKeyboardType() != KeyCharacterMap.NUMERIC); in onKeyShortcut()
|
/frameworks/base/cmds/media/src/com/android/commands/media/ |
D | Media.java | 37 import android.view.KeyCharacterMap; 175 KeyCharacterMap.VIRTUAL_KEYBOARD, 0, 0, InputDevice.SOURCE_KEYBOARD)); in runDispatch() 177 KeyCharacterMap.VIRTUAL_KEYBOARD, 0, 0, InputDevice.SOURCE_KEYBOARD)); in runDispatch()
|
/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()
|