/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/ |
D | BengaliAkkhor.java | 58 key("\u09A7", joinMoreKeys("\u09E7", "\u09A7\u09CD\u09AC", "\u09A7\u09CD\u09AF", 66 key("\u09A5", joinMoreKeys("\u09E8", "\u09A5\u09CD\u09AF", 71 key("\u09C7", joinMoreKeys("\u09E9", "\u098F")), 74 key("\u09B0", joinMoreKeys("\u09EA")), 86 key("\u09A4", joinMoreKeys("\u09EB", "\u09CE", "\u09A4\u09CD\u09A4", 90 key("\u09DF", joinMoreKeys("\u09EC")), 94 key("\u09C1", joinMoreKeys("\u09ED", "\u0989")), 98 key("\u09Bf", joinMoreKeys("\u09EE", "\u0987")), 102 key("\u09CB", joinMoreKeys("\u09EF", "\u0993")), 119 key("\u09AA", joinMoreKeys("\u09E6", "\u09AA\u09CD\u09A4", "\u09AA\u09CD\u09A8", [all …]
|
D | Hindi.java | 55 key(VOWEL_SIGN_AU, "\u094C", joinMoreKeys( 61 key(VOWEL_SIGN_AI, "\u0948", joinMoreKeys( 68 key(VOWEL_SIGN_AA, "\u093E", joinMoreKeys( 75 key(VOWEL_SIGN_II, "\u0940", joinMoreKeys( 82 key(VOWEL_SIGN_UU, "\u0942", joinMoreKeys( 89 key("\u092C", joinMoreKeys("\u092C\u0952", "\u096C", "6")), 92 key("\u0939", joinMoreKeys("\u096D", "7")), 99 key("\u0917", joinMoreKeys("\u091C\u094D\u091E", "\u0917\u093C", "\u0917\u0952", 103 key("\u0926", joinMoreKeys("\u096F", "9")), 110 key("\u091C", joinMoreKeys("\u091C\u0952", "\u091C\u094D\u091E", "\u091C\u093C", [all …]
|
D | Symbols.java | 38 builder.replaceKeyOfLabel(DOUBLE_QUOTE, key("\"", joinMoreKeys( in getLayout() 40 builder.replaceKeyOfLabel(SINGLE_QUOTE, key("'", joinMoreKeys( in getLayout() 67 public static final ExpectedKey DOLLAR_SIGN = key("$"); 68 public static final ExpectedKey CENT_SIGN = key("\u00A2"); 69 public static final ExpectedKey POUND_SIGN = key("\u00A3"); 70 public static final ExpectedKey YEN_SIGN = key("\u00A5"); 71 public static final ExpectedKey EURO_SIGN = key("\u20AC"); 72 public static final ExpectedKey PESO_SIGN = key("\u20B1"); 73 public static final ExpectedKey CURRENCY_DOLLAR = key("$", 75 public static final ExpectedKey CURRENCY_EURO = key("\u20AC", [all …]
|
D | Farsi.java | 72 return joinKeys(key("\u060C", SETTINGS_KEY)); in getKeysLeftToSpacebar() 77 return joinKeys(key("\u060C", joinMoreKeys( in getKeysLeftToSpacebar() 87 return joinKeys(key(".", getPunctuationMoreKeys(isPhone))); in getKeysRightToSpacebar() 92 return joinKeys(LANGUAGE_SWITCH_KEY, SPACE_KEY, key(ZWNJ_KEY, ZWJ_KEY)); in getSpaceKeys() 104 private static final ExpectedKey FARSI_ALPHABET_KEY = key( 110 private static final ExpectedKey FARSI_SYMBOLS_KEY = key( 112 private static final ExpectedKey FARSI_BACK_TO_SYMBOLS_KEY = key( 115 private static final ExpectedKey CURRENCY_RIAL = key("\uFDFC", 162 key("\u0636", joinMoreKeys("\u06F1", "1")), 165 key("\u0635", joinMoreKeys("\u06F2", "2")), [all …]
|
D | NepaliTraditional.java | 66 key("\u091F", joinMoreKeys("\u0967", "1")), 69 key("\u0927", joinMoreKeys("\u0968", "2")), 72 key("\u092D", joinMoreKeys("\u0969", "3")), 75 key("\u091A", joinMoreKeys("\u096A", "4")), 78 key("\u0924", joinMoreKeys("\u096B", "5")), 81 key("\u0925", joinMoreKeys("\u096C", "6")), 84 key("\u0917", joinMoreKeys("\u096D", "7")), 87 key("\u0937", joinMoreKeys("\u096E", "8")), 90 key("\u092F", joinMoreKeys("\u096F", "9")), 93 key("\u0909", joinMoreKeys("\u0966", "0")), [all …]
|
D | Arabic.java | 74 return joinKeys(key("\u060C", SETTINGS_KEY)); in getKeysLeftToSpacebar() 79 return joinKeys(key("\u060C", joinMoreKeys( in getKeysLeftToSpacebar() 91 return joinKeys(key(".", getPunctuationMoreKeys(isPhone))); in getKeysRightToSpacebar() 103 private static final ExpectedKey ARABIC_ALPHABET_KEY = key( 109 private static final ExpectedKey ARABIC_SYMBOLS_KEY = key( 111 private static final ExpectedKey ARABIC_BACK_TO_SYMBOLS_KEY = key( 159 key("\u0636", joinMoreKeys("1", "\u0661")), 162 key("\u0635", joinMoreKeys("2", "\u0662")), 165 key("\u062B", joinMoreKeys("3", "\u0663")), 169 key("\u0642", joinMoreKeys("4", "\u0664", "\u06A8")), [all …]
|
D | Telugu.java | 65 return joinKeys(LANGUAGE_SWITCH_KEY, SPACE_KEY, key(ZWNJ_KEY, ZWJ_KEY)); in getSpaceKeys() 71 private static final ExpectedKey TELUGU_ALPHABET_KEY = key( 75 private static final ExpectedKey CURRENCY_RUPEE = key("\u20B9", 91 key("\u0C4C", joinMoreKeys("\u0C14", "1")), 94 key("\u0C48", joinMoreKeys("\u0C10", "2")), 97 key("\u0C3E", joinMoreKeys("\u0C06", "3")), 100 key("\u0C40", joinMoreKeys("\u0C08", "4")), 103 key("\u0C42", joinMoreKeys("\u0C0A", "5")), 106 key("\u0C2C", joinMoreKeys("\u0C2D", "6")), 109 key("\u0C39", joinMoreKeys("\u0C03", "7")), [all …]
|
D | Malayalam.java | 64 private static final ExpectedKey MALAYALAM_ALPHABET_KEY = key( 68 private static final ExpectedKey CURRENCY_RUPEE = key("\u20B9", 84 key("\u0D4D", joinMoreKeys("\u0D05", "1")), 87 key("\u0D3E", joinMoreKeys("\u0D06", "2")), 90 key("\u0D3F", joinMoreKeys("\u0D07", "3")), 93 key("\u0D40", joinMoreKeys("\u0D08", "4")), 96 key("\u0D41", joinMoreKeys("\u0D09", "5")), 99 key("\u0D42", joinMoreKeys("\u0D0A", "6")), 102 key("\u0D43", joinMoreKeys("\u0D0B", "7")), 107 key("\u0D46", joinMoreKeys("\u0D0E", "\u0D10", "\u0D48", "8")), [all …]
|
D | Kannada.java | 65 return joinKeys(LANGUAGE_SWITCH_KEY, SPACE_KEY, key(ZWNJ_KEY, ZWJ_KEY)); in getSpaceKeys() 71 private static final ExpectedKey KANNADA_ALPHABET_KEY = key( 75 private static final ExpectedKey CURRENCY_RUPEE = key("\u20B9", 92 key("\u0CCC", joinMoreKeys("\u0C94", "\u0CE7", "1")), 96 key("\u0CC8", joinMoreKeys("\u0C90", "\u0CE8", "2")), 100 key("\u0CBE", joinMoreKeys("\u0C86", "\u0CE9", "3")), 104 key("\u0CC0", joinMoreKeys("\u0C88", "\u0CEA", "4")), 108 key("\u0CC2", joinMoreKeys("\u0C8A", "\u0CEB", "5")), 112 key("\u0CAC", joinMoreKeys("\u0CAD", "\u0CEC", "6")), 116 key("\u0CB9", joinMoreKeys("\u0C99", "\u0CED", "7")), [all …]
|
D | Bengali.java | 49 key("\u0994", joinMoreKeys("\u09CC", "\u09E7", "1")), 53 key("\u0990", joinMoreKeys("\u09C8", "\u09E8", "2")), 57 key("\u0986", joinMoreKeys("\u09BE", "\u09E9", "3")), 61 key("\u0988", joinMoreKeys("\u09C0", "\u09EA", "4")), 65 key("\u098A", joinMoreKeys("\u09C2", "\u09EB", "5")), 69 key("\u09AC", joinMoreKeys("\u09AD", "\u09EC", "6")), 72 key("\u09B9", joinMoreKeys("\u09ED", "7")), 76 key("\u0997", joinMoreKeys("\u0998", "\u09EE", "8")), 80 key("\u09A6", joinMoreKeys("\u09A7", "\u09EF", "9")), 86 key("\u099C", joinMoreKeys("\u099D", "\u099C\u09CD\u099E", "\u09E6", "0")), [all …]
|
D | Khmer.java | 58 private static final ExpectedKey KHMER_ALPHABET_KEY = key( 62 private static final ExpectedKey CURRENCY_DOLLAR_WITH_RIEL = key(Symbols.DOLLAR_SIGN, 90 key("\u17E1", joinMoreKeys("1", "\u17F1")), 93 key("\u17E2", joinMoreKeys("2", "\u17F2")), 96 key("\u17E3", joinMoreKeys("3", "\u17F3")), 99 key("\u17E4", joinMoreKeys("4", "\u17F4")), 102 key("\u17E5", joinMoreKeys("5", "\u17F5")), 105 key("\u17E6", joinMoreKeys("6", "\u17F6")), 108 key("\u17E7", joinMoreKeys("7", "\u17F7")), 111 key("\u17E8", joinMoreKeys("8", "\u17F8")), [all …]
|
D | Georgian.java | 55 private static final ExpectedKey GEORGIAN_ALPHABET_KEY = key( 76 key("\u10E5", moreKey("1")), 78 key("\u10EC", moreKey("2")), 81 key("\u10D4", joinMoreKeys("3", "\u10F1")), 83 key("\u10E0", moreKey("4")), 85 key("\u10E2", moreKey("5")), 88 key("\u10E7", joinMoreKeys("6", "\u10F8")), 90 key("\u10E3", moreKey("7")), 93 key("\u10D8", joinMoreKeys("8", "\u10F2")), 95 key("\u10DD", moreKey("9")), [all …]
|
D | Marathi.java | 63 private static final ExpectedKey CURRENCY_RUPEE = key("\u20B9", 80 key(VOWEL_SIGN_AU, "\u094C", joinMoreKeys("\u0914", "\u0967", "1")), 84 key(VOWEL_SIGN_AI, "\u0948", joinMoreKeys("\u0910", "\u0968", "2")), 88 key(VOWEL_SIGN_AA, "\u093E", joinMoreKeys("\u0906", "\u0969", "3")), 92 key(VOWEL_SIGN_II, "\u0940", joinMoreKeys("\u0908", "\u096A", "4")), 96 key(VOWEL_SIGN_UU, "\u0942", joinMoreKeys("\u090A", "\u096B", "5")), 100 key("\u092C", joinMoreKeys("\u092D", "\u096C", "6")), 103 key("\u0939", joinMoreKeys("\u096D", "7")), 107 key("\u0917", joinMoreKeys("\u0918", "\u096E", "8")), 111 key("\u0926", joinMoreKeys("\u0927", "\u096F", "9")), [all …]
|
D | PcQwerty.java | 42 builder.replaceKeyOfLabel(ROW1_1, key("`", moreKey("~"))) in getCommonAlphabetLayout() 43 .replaceKeyOfLabel(ROW2_11, key("[", moreKey("{"))) in getCommonAlphabetLayout() 44 .replaceKeyOfLabel(ROW2_12, key("]", moreKey("}"))) in getCommonAlphabetLayout() 45 .replaceKeyOfLabel(ROW2_13, key("\\", moreKey("|"))) in getCommonAlphabetLayout() 46 .replaceKeyOfLabel(ROW3_10, key(";", moreKey(":"))) in getCommonAlphabetLayout() 47 .replaceKeyOfLabel(ROW3_11, key("'", joinMoreKeys(additionalMoreKey("\""), in getCommonAlphabetLayout() 51 .replaceKeyOfLabel(ROW4_8, key(",", moreKey("<"))) in getCommonAlphabetLayout() 52 .replaceKeyOfLabel(ROW4_9, key(".", moreKey(">"))) in getCommonAlphabetLayout() 54 .replaceKeyOfLabel(ROW4_10, key("/", joinMoreKeys("?", "\u00BF"))); in getCommonAlphabetLayout() 59 builder.replaceKeyOfLabel(ROW1_13, key("=", in getCommonAlphabetLayout() [all …]
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
D | ComboPreferences.java | 75 private static boolean isGlobal(String key) { in isGlobal() argument 76 return key.equals(CameraSettings.KEY_VIDEO_TIME_LAPSE_FRAME_INTERVAL) in isGlobal() 77 || key.equals(CameraSettings.KEY_CAMERA_ID) in isGlobal() 78 || key.equals(CameraSettings.KEY_RECORD_LOCATION) in isGlobal() 79 || key.equals(CameraSettings.KEY_CAMERA_FIRST_USE_HINT_SHOWN) in isGlobal() 80 || key.equals(CameraSettings.KEY_VIDEO_FIRST_USE_HINT_SHOWN) in isGlobal() 81 || key.equals(CameraSettings.KEY_VIDEO_EFFECT); in isGlobal() 84 public String getString(String key, String defValue) { in getString() argument 85 if (isGlobal(key) || !mPrefLocal.contains(key)) { in getString() 86 return mPrefGlobal.getString(key, defValue); in getString() [all …]
|
/packages/apps/Camera2/src/com/android/camera/settings/ |
D | SettingsManager.java | 177 public void onSettingChanged(SettingsManager settingsManager, String key); in onSettingChanged() argument 185 SharedPreferences sharedPreferences, String key) { in getSharedPreferenceListener() 186 listener.onSettingChanged(SettingsManager.this, key); in getSharedPreferenceListener() 298 public void setDefaults(String key, String defaultValue, String[] possibleValues) { 300 mDefaultsStore.storeDefaults(key, defaultValue, possibleValues); 309 public void setDefaults(String key, int defaultValue, int[] possibleValues) { 316 mDefaultsStore.storeDefaults(key, defaultValueString, possibleValuesString); 325 public void setDefaults(String key, boolean defaultValue) { 329 mDefaultsStore.storeDefaults(key, defaultValueString, possibleValues); 336 public String getStringDefault(String key) { [all …]
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/util/ |
D | MockSharedPreferences.java | 40 public boolean contains(String key) { in contains() argument 41 return mValues.containsKey(key); in contains() 48 public boolean getBoolean(String key, boolean defValue) { in getBoolean() argument 49 if (mValues.containsKey(key)) { in getBoolean() 50 return ((Boolean)mValues.get(key)).booleanValue(); in getBoolean() 55 public float getFloat(String key, float defValue) { in getFloat() argument 56 if (mValues.containsKey(key)) { in getFloat() 57 return ((Float)mValues.get(key)).floatValue(); in getFloat() 62 public int getInt(String key, int defValue) { in getInt() argument 63 if (mValues.containsKey(key)) { in getInt() [all …]
|
/packages/apps/Contacts/tests/src/com/android/contacts/test/mocks/ |
D | MockSharedPreferences.java | 40 public boolean contains(String key) { in contains() argument 41 return mValues.containsKey(key); in contains() 48 public boolean getBoolean(String key, boolean defValue) { in getBoolean() argument 49 if (mValues.containsKey(key)) { in getBoolean() 50 return ((Boolean)mValues.get(key)).booleanValue(); in getBoolean() 55 public float getFloat(String key, float defValue) { in getFloat() argument 56 if (mValues.containsKey(key)) { in getFloat() 57 return ((Float)mValues.get(key)).floatValue(); in getFloat() 62 public int getInt(String key, int defValue) { in getInt() argument 63 if (mValues.containsKey(key)) { in getInt() [all …]
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
D | PointerTracker.java | 244 private boolean callListenerOnPressAndCheckKeyboardLayoutChange(final Key key, in callListenerOnPressAndCheckKeyboardLayoutChange() argument 253 final boolean ignoreModifierKey = mIsInDraggingFinger && key.isModifier(); in callListenerOnPressAndCheckKeyboardLayoutChange() 256 (key == null ? "none" : Constants.printableCode(key.getCode())), in callListenerOnPressAndCheckKeyboardLayoutChange() 258 key.isEnabled() ? "" : " disabled", in callListenerOnPressAndCheckKeyboardLayoutChange() 264 if (key.isEnabled()) { in callListenerOnPressAndCheckKeyboardLayoutChange() 265 sListener.onPressKey(key.getCode(), repeatCount, getActivePointerTrackerCount() == 1); in callListenerOnPressAndCheckKeyboardLayoutChange() 268 sTimerProxy.startTypingStateTimer(key); in callListenerOnPressAndCheckKeyboardLayoutChange() 276 private void callListenerOnCodeInput(final Key key, final int primaryCode, final int x, in callListenerOnCodeInput() argument 278 final boolean ignoreModifierKey = mIsInDraggingFinger && key.isModifier(); in callListenerOnCodeInput() 279 final boolean altersCode = key.altCodeWhileTyping() && sTimerProxy.isTypingState(); in callListenerOnCodeInput() [all …]
|
D | KeyboardView.java | 300 for (final Key key : keyboard.getSortedKeys()) { in onDrawKeyboard() 301 onDrawKey(key, canvas, paint); in onDrawKeyboard() 304 for (final Key key : mInvalidatedKeys) { in onDrawKeyboard() 305 if (!keyboard.hasKey(key)) { in onDrawKeyboard() 310 final int x = key.getX() + getPaddingLeft(); in onDrawKeyboard() 311 final int y = key.getY() + getPaddingTop(); in onDrawKeyboard() 312 mClipRect.set(x, y, x + key.getWidth(), y + key.getHeight()); in onDrawKeyboard() 319 onDrawKey(key, canvas, paint); in onDrawKeyboard() 327 private void onDrawKey(@Nonnull final Key key, @Nonnull final Canvas canvas, in onDrawKey() argument 329 final int keyDrawX = key.getDrawX() + getPaddingLeft(); in onDrawKey() [all …]
|
/packages/services/Telephony/src/com/android/phone/vvm/ |
D | VisualVoicemailPreferences.java | 58 public Editor putBoolean(String key, boolean value) { in putBoolean() argument 59 mEditor.putBoolean(getKey(key), value); in putBoolean() 64 public Editor putFloat(String key, float value) { in putFloat() argument 65 mEditor.putFloat(getKey(key), value); in putFloat() 69 public Editor putInt(String key, int value) { in putInt() argument 70 mEditor.putInt(getKey(key), value); in putInt() 75 public Editor putLong(String key, long value) { in putLong() argument 76 mEditor.putLong(getKey(key), value); in putLong() 80 public Editor putString(String key, String value) { in putString() argument 81 mEditor.putString(getKey(key), value); in putString() [all …]
|
/packages/apps/Dialer/java/com/android/dialer/common/ |
D | PerAccountSharedPreferences.java | 64 public Editor putBoolean(String key, boolean value) { in putBoolean() argument 65 editor.putBoolean(getKey(key), value); in putBoolean() 69 public Editor putFloat(String key, float value) { in putFloat() argument 70 editor.putFloat(getKey(key), value); in putFloat() 74 public Editor putInt(String key, int value) { in putInt() argument 75 editor.putInt(getKey(key), value); in putInt() 79 public Editor putLong(String key, long value) { in putLong() argument 80 editor.putLong(getKey(key), value); in putLong() 84 public Editor putString(String key, String value) { in putString() argument 85 editor.putString(getKey(key), value); in putString() [all …]
|
/packages/apps/Calendar/tests/src/com/android/calendar/ |
D | FakeSharedPreferences.java | 38 public boolean contains(String key) { in contains() argument 39 return mValues.containsKey(key); in contains() 48 public boolean getBoolean(String key, boolean defValue) { in getBoolean() argument 49 if (mValues.containsKey(key)) { in getBoolean() 50 return ((Boolean)mValues.get(key)).booleanValue(); in getBoolean() 56 public float getFloat(String key, float defValue) { in getFloat() argument 57 if (mValues.containsKey(key)) { in getFloat() 58 return ((Float)mValues.get(key)).floatValue(); in getFloat() 64 public int getInt(String key, int defValue) { in getInt() argument 65 if (mValues.containsKey(key)) { in getInt() [all …]
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/accessibility/ |
D | KeyboardAccessibilityDelegate.java | 88 protected final void setLastHoverKey(final Key key) { in setLastHoverKey() argument 89 mLastHoverKey = key; in setLastHoverKey() 197 final Key key = getHoverKeyOf(event); in onHoverEnter() local 199 Log.d(TAG, "onHoverEnter: key=" + key); in onHoverEnter() 201 if (key != null) { in onHoverEnter() 202 onHoverEnterTo(key); in onHoverEnter() 204 setLastHoverKey(key); in onHoverEnter() 214 final Key key = getHoverKeyOf(event); in onHoverMove() local 215 if (key != lastKey) { in onHoverMove() 219 if (key != null) { in onHoverMove() [all …]
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | BuglePrefsImpl.java | 39 protected void validateKey(String key) { in validateKey() argument 43 public int getInt(final String key, final int defaultValue) { in getInt() argument 44 validateKey(key); in getInt() 47 return prefs.getInt(key, defaultValue); in getInt() 51 public long getLong(final String key, final long defaultValue) { in getLong() argument 52 validateKey(key); in getLong() 55 return prefs.getLong(key, defaultValue); in getLong() 59 public boolean getBoolean(final String key, final boolean defaultValue) { in getBoolean() argument 60 validateKey(key); in getBoolean() 63 return prefs.getBoolean(key, defaultValue); in getBoolean() [all …]
|