Searched refs:codes (Results 1 - 4 of 4) sorted by relevance

/frameworks/base/core/java/android/inputmethodservice/
H A DKeyboard.java227 * All the key codes (unicode or custom code) that this key could generate, zero'th
230 public int[] codes; field in class:Keyboard.Key
352 codes = new int[] { codesValue.data };
354 codes = parseCSV(codesValue.string.toString());
383 if (codes == null && !TextUtils.isEmpty(label)) {
384 codes = new int[] { label.charAt(0) };
572 key.codes = new int[] { c };
739 if (key.codes[0] == KEYCODE_SHIFT) {
743 } else if (key.codes[0] == KEYCODE_ALT) {
H A DKeyboardView.java90 * @param keyCodes the codes for all the possible alternative keys
94 * These codes are useful to correct for accidental presses of a key adjacent to
539 * codes for adjacent keys. When disabled, only the primary key code will be
682 if (label.length() > 1 && key.codes.length < 2) {
754 && key.codes[0] > 32) {
756 final int nCodes = key.codes.length;
766 // Make space for nCodes codes
772 allKeys[j + c] = key.codes[c];
793 int code = key.codes[0];
795 int[] codes
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DPasswordEntryKeyboard.java94 final int code = key.codes[0];
100 switch (key.codes[0]) {
257 final int code = codes[0];
/frameworks/base/services/jni/
H A Dcom_android_server_InputManager.cpp1067 int32_t* codes = env->GetIntArrayElements(keyCodes, NULL); local
1073 deviceId, uint32_t(sourceMask), numCodes, codes, flags);
1079 env->ReleaseIntArrayElements(keyCodes, codes, 0);

Completed in 166 milliseconds