/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 | 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 | 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 | 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 | 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 | 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 | 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 | 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 | 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/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/apps/Camera2/src/com/android/camera/settings/ |
D | SettingsManager.java | 174 public void onSettingChanged(SettingsManager settingsManager, String key); in onSettingChanged() argument 182 SharedPreferences sharedPreferences, String key) { in getSharedPreferenceListener() 183 listener.onSettingChanged(SettingsManager.this, key); in getSharedPreferenceListener() 295 public void setDefaults(String key, String defaultValue, String[] possibleValues) { 297 mDefaultsStore.storeDefaults(key, defaultValue, possibleValues); 306 public void setDefaults(String key, int defaultValue, int[] possibleValues) { 313 mDefaultsStore.storeDefaults(key, defaultValueString, possibleValuesString); 322 public void setDefaults(String key, boolean defaultValue) { 326 mDefaultsStore.storeDefaults(key, defaultValueString, possibleValues); 333 public String getStringDefault(String key) { [all …]
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/ |
D | ValuesDelta.java | 88 public boolean containsKey(String key) { in containsKey() argument 89 return ((mAfter != null && mAfter.containsKey(key)) || in containsKey() 90 (mBefore != null && mBefore.containsKey(key))); in containsKey() 93 public String getAsString(String key) { in getAsString() argument 94 if (mAfter != null && mAfter.containsKey(key)) { in getAsString() 95 return mAfter.getAsString(key); in getAsString() 96 } else if (mBefore != null && mBefore.containsKey(key)) { in getAsString() 97 return mBefore.getAsString(key); in getAsString() 103 public byte[] getAsByteArray(String key) { in getAsByteArray() argument 104 if (mAfter != null && mAfter.containsKey(key)) { in getAsByteArray() [all …]
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
D | KeyboardView.java | 126 boolean onLongPress(Keyboard.Key key); in onLongPress() argument 650 Key key = keys[i]; in computeProximityThreshold() local 651 dimensionSum += Math.min(key.width, key.height) + key.gap; in computeProximityThreshold() 712 final Key key = keys[i]; in onBufferDraw() local 713 if (drawSingleKey && invalidKey != key) { in onBufferDraw() 717 paint.setColor(key.isSecondKey ? mKeyTextColor2nd : mKeyTextColor); in onBufferDraw() 718 Drawable keyBackground = key.isSecondKey ? mKeyBackground2nd : mKeyBackground; in onBufferDraw() 719 int[] drawableState = key.getCurrentDrawableState(); in onBufferDraw() 722 String label = key.label == null? null : adjustCase(key.label).toString(); in onBufferDraw() 725 if (key.width != bounds.right || in onBufferDraw() [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 …]
|
D | KeyboardAccessibilityNodeProvider.java | 114 private int getVirtualViewIdOf(final Key key) { in getVirtualViewIdOf() argument 121 if (sortedKeys.get(index) == key) { in getVirtualViewIdOf() 138 public AccessibilityEvent createAccessibilityEvent(final Key key, final int eventType) { in createAccessibilityEvent() argument 139 final int virtualViewId = getVirtualViewIdOf(key); in createAccessibilityEvent() 140 final String keyDescription = getKeyDescription(key); in createAccessibilityEvent() 143 event.setClassName(key.getClass().getName()); in createAccessibilityEvent() 151 public void onHoverEnterTo(final Key key) { in onHoverEnterTo() argument 152 final int id = getVirtualViewIdOf(key); in onHoverEnterTo() 161 sendAccessibilityEventForKey(key, AccessibilityEventCompat.TYPE_WINDOW_CONTENT_CHANGED); in onHoverEnterTo() 162 sendAccessibilityEventForKey(key, AccessibilityEventCompat.TYPE_VIEW_HOVER_ENTER); in onHoverEnterTo() [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/Email/tests/src/com/android/email/ |
D | MockSharedPreferences.java | 42 public boolean contains(String key) { in contains() argument 43 return mValues.containsKey(key); in contains() 50 public boolean getBoolean(String key, boolean defValue) { in getBoolean() argument 51 if (mValues.containsKey(key)) { in getBoolean() 52 return ((Boolean)mValues.get(key)).booleanValue(); in getBoolean() 57 public float getFloat(String key, float defValue) { in getFloat() argument 58 if (mValues.containsKey(key)) { in getFloat() 59 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/apps/ContactsCommon/TestCommon/src/com/android/contacts/common/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/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/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 …]
|