/frameworks/base/include/androidfw/ |
D | KeyCharacterMap.h | 43 class KeyCharacterMap : public RefBase { 72 static status_t load(const String8& filename, Format format, sp<KeyCharacterMap>* outMap); 76 const char* contents, Format format, sp<KeyCharacterMap>* outMap); 79 static sp<KeyCharacterMap> combine(const sp<KeyCharacterMap>& base, 80 const sp<KeyCharacterMap>& overlay); 83 static sp<KeyCharacterMap> empty(); 129 static sp<KeyCharacterMap> readFromParcel(Parcel* parcel); 136 virtual ~KeyCharacterMap(); 192 KeyCharacterMap* mMap; 199 Parser(KeyCharacterMap* map, Tokenizer* tokenizer, Format format); [all …]
|
D | InputDevice.h | 92 inline void setKeyCharacterMap(const sp<KeyCharacterMap>& value) { in setKeyCharacterMap() 96 inline sp<KeyCharacterMap> getKeyCharacterMap() const { in getKeyCharacterMap() 115 sp<KeyCharacterMap> mKeyCharacterMap;
|
D | Keyboard.h | 38 class KeyCharacterMap; variable 49 sp<KeyCharacterMap> keyCharacterMap;
|
/frameworks/base/libs/androidfw/ |
D | KeyCharacterMap.cpp | 86 sp<KeyCharacterMap> KeyCharacterMap::sEmpty = new KeyCharacterMap(); 88 KeyCharacterMap::KeyCharacterMap() : in KeyCharacterMap() function in android::KeyCharacterMap 92 KeyCharacterMap::KeyCharacterMap(const KeyCharacterMap& other) : in KeyCharacterMap() function in android::KeyCharacterMap 100 KeyCharacterMap::~KeyCharacterMap() { in ~KeyCharacterMap() 107 status_t KeyCharacterMap::load(const String8& filename, in load() 108 Format format, sp<KeyCharacterMap>* outMap) { in load() 122 status_t KeyCharacterMap::loadContents(const String8& filename, const char* contents, in loadContents() 123 Format format, sp<KeyCharacterMap>* outMap) { in loadContents() 137 status_t KeyCharacterMap::load(Tokenizer* tokenizer, in load() 138 Format format, sp<KeyCharacterMap>* outMap) { in load() [all …]
|
D | Keyboard.cpp | 132 status_t status = KeyCharacterMap::load(path, in loadKeyCharacterMap() 133 KeyCharacterMap::FORMAT_BASE, &keyCharacterMap); in loadKeyCharacterMap() 156 == KeyCharacterMap::KEYBOARD_TYPE_SPECIAL_FUNCTION) { in isEligibleBuiltInKeyboard()
|
D | Android.mk | 34 KeyCharacterMap.cpp \
|
/frameworks/base/core/java/android/view/ |
D | KeyCharacterMap.java | 32 public class KeyCharacterMap implements Parcelable { class 273 public static final Parcelable.Creator<KeyCharacterMap> CREATOR = 274 new Parcelable.Creator<KeyCharacterMap>() { 275 public KeyCharacterMap createFromParcel(Parcel in) { 276 return new KeyCharacterMap(in); 278 public KeyCharacterMap[] newArray(int size) { 279 return new KeyCharacterMap[size]; 298 private KeyCharacterMap(Parcel in) { in KeyCharacterMap() method in KeyCharacterMap 309 private KeyCharacterMap(int ptr) { in KeyCharacterMap() method in KeyCharacterMap 330 public static KeyCharacterMap load(int deviceId) { in load()
|
D | InputDevice.java | 52 private final KeyCharacterMap mKeyCharacterMap; 328 int keyboardType, KeyCharacterMap keyCharacterMap, boolean hasVibrator) { in InputDevice() 348 mKeyCharacterMap = KeyCharacterMap.CREATOR.createFromParcel(in); in InputDevice() 501 public KeyCharacterMap getKeyCharacterMap() { in getKeyCharacterMap()
|
D | KeyEvent.java | 26 import android.view.KeyCharacterMap; 27 import android.view.KeyCharacterMap.KeyData; 1257 return KeyCharacterMap.getDeadChar(accent, c); in getDeadChar() 1357 mDeviceId = KeyCharacterMap.VIRTUAL_KEYBOARD; in KeyEvent() 1380 mDeviceId = KeyCharacterMap.VIRTUAL_KEYBOARD; in KeyEvent() 1405 mDeviceId = KeyCharacterMap.VIRTUAL_KEYBOARD; in KeyEvent() 2446 public final KeyCharacterMap getKeyCharacterMap() { in getKeyCharacterMap() 2447 return KeyCharacterMap.load(mDeviceId); in getKeyCharacterMap()
|
/frameworks/base/core/jni/ |
D | android_view_KeyCharacterMap.cpp | 48 NativeKeyCharacterMap(int32_t deviceId, const sp<KeyCharacterMap>& map) : in NativeKeyCharacterMap() 59 inline const sp<KeyCharacterMap>& getMap() const { in getMap() 65 sp<KeyCharacterMap> mMap; 70 const sp<KeyCharacterMap>& kcm) { in android_view_KeyCharacterMap_create() 72 kcm.get() ? kcm : KeyCharacterMap::empty()); in android_view_KeyCharacterMap_create() 92 sp<KeyCharacterMap> kcm = KeyCharacterMap::readFromParcel(parcel); in nativeReadFromParcel() 124 KeyCharacterMap::FallbackAction fallbackAction; in nativeGetFallbackAction()
|
D | android_view_KeyCharacterMap.h | 28 const sp<KeyCharacterMap>& map);
|
/frameworks/base/cmds/input/src/com/android/commands/input/ |
D | Input.java | 23 import android.view.KeyCharacterMap; 154 KeyCharacterMap kcm = KeyCharacterMap.load(KeyCharacterMap.VIRTUAL_KEYBOARD); in sendText() 164 KeyCharacterMap.VIRTUAL_KEYBOARD, 0, 0, InputDevice.SOURCE_KEYBOARD)); in sendKeyEvent() 166 KeyCharacterMap.VIRTUAL_KEYBOARD, 0, 0, InputDevice.SOURCE_KEYBOARD)); in sendKeyEvent()
|
/frameworks/base/services/input/ |
D | EventHub.h | 223 virtual sp<KeyCharacterMap> getKeyCharacterMap(int32_t deviceId) const = 0; 224 virtual bool setKeyboardLayoutOverlay(int32_t deviceId, const sp<KeyCharacterMap>& map) = 0; 286 virtual sp<KeyCharacterMap> getKeyCharacterMap(int32_t deviceId) const; 287 virtual bool setKeyboardLayoutOverlay(int32_t deviceId, const sp<KeyCharacterMap>& map); 326 sp<KeyCharacterMap> overlayKeyMap; 327 sp<KeyCharacterMap> combinedKeyMap; 339 const sp<KeyCharacterMap>& getKeyCharacterMap() const { in getKeyCharacterMap()
|
/frameworks/base/core/java/android/text/method/ |
D | TextKeyListener.java | 26 import android.view.KeyCharacterMap; 187 KeyCharacterMap kmap = event.getKeyCharacterMap(); in getKeyListener() 190 if (kind == KeyCharacterMap.ALPHA) { in getKeyListener() 192 } else if (kind == KeyCharacterMap.NUMERIC) { in getKeyListener() 194 } else if (kind == KeyCharacterMap.FULL in getKeyListener() 195 || kind == KeyCharacterMap.SPECIAL_FUNCTION) { in getKeyListener()
|
D | QwertyKeyListener.java | 22 import android.view.KeyCharacterMap; 127 if (i == KeyCharacterMap.PICKER_DIALOG_INPUT) { in onKeyDown() 130 KeyCharacterMap.PICKER_DIALOG_INPUT, true, 1); in onKeyDown() 136 if (i == KeyCharacterMap.HEX_INPUT) { in onKeyDown() 168 if ((i & KeyCharacterMap.COMBINING_ACCENT) != 0) { in onKeyDown() 170 i = i & KeyCharacterMap.COMBINING_ACCENT_MASK; in onKeyDown() 463 PICKER_SETS.put(KeyCharacterMap.PICKER_DIALOG_INPUT, in PICKER_SETS.put()
|
D | DialerKeyListener.java | 20 import android.view.KeyCharacterMap.KeyData;
|
D | MetaKeyKeyListener.java | 25 import android.view.KeyCharacterMap; 345 case KeyCharacterMap.MODIFIER_BEHAVIOR_CHORDED_OR_TOGGLED: in release() 542 case KeyCharacterMap.MODIFIER_BEHAVIOR_CHORDED_OR_TOGGLED: in release()
|
/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/testing/uiautomator/library/src/com/android/uiautomator/core/ |
D | InteractionController.java | 39 import android.view.KeyCharacterMap; 65 private final KeyCharacterMap mKeyCharacterMap = 66 KeyCharacterMap.load(KeyCharacterMap.VIRTUAL_KEYBOARD); 275 keyCode, 0, metaState, KeyCharacterMap.VIRTUAL_KEYBOARD, 0, 0, in sendKeyAndWaitForEvent() 279 keyCode, 0, metaState, KeyCharacterMap.VIRTUAL_KEYBOARD, 0, 0, in sendKeyAndWaitForEvent() 540 keyCode, 0, metaState, KeyCharacterMap.VIRTUAL_KEYBOARD, 0, 0, in sendKey() 544 keyCode, 0, metaState, KeyCharacterMap.VIRTUAL_KEYBOARD, 0, 0, in sendKey()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | PasswordEntryKeyboardHelper.java | 30 import android.view.KeyCharacterMap; 179 KeyEvent[] events = KeyCharacterMap.load(KeyCharacterMap.VIRTUAL_KEYBOARD).getEvents( in sendKeyEventsToTarget() 197 KeyCharacterMap.VIRTUAL_KEYBOARD, 0, in sendDownUpKeyEvents() 201 KeyCharacterMap.VIRTUAL_KEYBOARD, 0, in sendDownUpKeyEvents()
|
/frameworks/base/core/java/android/view/inputmethod/ |
D | BaseInputConnection.java | 33 import android.view.KeyCharacterMap; 60 KeyCharacterMap mKeyCharacterMap; 403 KeyCharacterMap.VIRTUAL_KEYBOARD, 0, in performEditorAction() 408 KeyCharacterMap.VIRTUAL_KEYBOARD, 0, in performEditorAction() 544 mKeyCharacterMap = KeyCharacterMap.load(KeyCharacterMap.VIRTUAL_KEYBOARD); in sendCurrentText() 562 content.toString(), KeyCharacterMap.VIRTUAL_KEYBOARD, 0); in sendCurrentText()
|
D | InputConnection.java | 20 import android.view.KeyCharacterMap;
|
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
D | ShortcutManager.java | 27 import android.view.KeyCharacterMap; 110 public Intent getIntent(KeyCharacterMap kcm, int keyCode, int metaState) { in getIntent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | KeyButtonView.java | 35 import android.view.KeyCharacterMap; 280 0, KeyCharacterMap.VIRTUAL_KEYBOARD, 0, in sendEvent()
|