/packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/ |
UserDictionaryProvider.java | 54 * Adds SHORTCUT (TEXT). 95 + Words.SHORTCUT + " TEXT" 103 + " to version 2: adding " + Words.SHORTCUT + " column"); 105 + " ADD " + Words.SHORTCUT + " TEXT;"); 202 if (values.containsKey(Words.SHORTCUT) == false) { 203 values.put(Words.SHORTCUT, (String) null); 279 sDictProjectionMap.put(Words.SHORTCUT, Words.SHORTCUT);
|
DictionaryBackupAgent.java | 74 Words.SHORTCUT 169 String shortcut = cursor.getString(COLUMN_SHORTCUT); local 170 if (TextUtils.isEmpty(shortcut)) shortcut = ""; 173 + SEPARATOR + shortcut; 228 String shortcut = null; local 232 if (st.hasMoreTokens()) shortcut = st.nextToken(); 233 if (TextUtils.isEmpty(shortcut)) shortcut = null; 243 cv.put(Words.SHORTCUT, shortcut) [all...] |
/frameworks/base/core/java/android/provider/ |
UserDictionary.java | 94 * An optional shortcut for this word. When the shortcut is typed, supporting IMEs should 97 public static final String SHORTCUT = "shortcut"; 153 * @param shortcut optional shortcut spelling for this word. When the shortcut 159 int frequency, String shortcut, Locale locale) { 176 values.put(SHORTCUT, shortcut); [all...] |
Settings.java | [all...] |
/packages/apps/Settings/src/com/android/settings/ |
UserDictionarySettings.java | 49 UserDictionary.Words._ID, UserDictionary.Words.WORD, UserDictionary.Words.SHORTCUT 52 // The index of the shortcut in the above array. 63 + "=? AND " + UserDictionary.Words.SHORTCUT + "=?"; 65 + "=? AND " + UserDictionary.Words.SHORTCUT + " is null OR " 66 + UserDictionary.Words.SHORTCUT + "=''"; 151 new String[] { UserDictionary.Words.WORD, UserDictionary.Words.SHORTCUT }, 158 final String shortcut = getShortcut(position); local 160 showAddOrEditDialog(word, shortcut); 185 * @param editingShortcut the shortcut for this entry, or null if none. 219 mCursor.getColumnIndexOrThrow(UserDictionary.Words.SHORTCUT)); [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/userdictionary/ |
UserDictionarySettings.java | 57 { UserDictionary.Words._ID, UserDictionary.Words.WORD, UserDictionary.Words.SHORTCUT}; 62 // The index of the shortcut in the above array. 70 UserDictionary.Words.WORD, UserDictionary.Words.SHORTCUT 95 + "=? AND " + UserDictionary.Words.SHORTCUT + "=?"; 97 + "=? AND " + UserDictionary.Words.SHORTCUT + " is null OR " 98 + UserDictionary.Words.SHORTCUT + "=''"; 191 final String shortcut = getShortcut(position); local 193 showAddOrEditDialog(word, shortcut); 204 // with the shortcut API. 227 * @param editingShortcut the shortcut for this entry, or null if none [all...] |
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
ShortcutManager.java | 35 * <li> Returning a shortcut-matching intent to clients 44 Settings.Bookmarks.SHORTCUT, Settings.Bookmarks.INTENT 49 /** Map of a shortcut to its intent. */ 59 /** Observes the provider of shortcut+intents */ 81 int shortcut = c.getInt(COLUMN_SHORTCUT); local 82 if (shortcut == 0) continue; 88 Log.w(TAG, "Intent URI for shortcut invalid.", e); 91 mShortcutIntents.put(shortcut, intent); 96 * Gets the shortcut intent for a given keycode+modifier. Make sure you 98 * if 'Sym+A' should invoke a shortcut on 'A', you should strip th 114 int shortcut = kcm.get(keyCode, metaState); local [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
UserBinaryDictionary.java | 50 // Shortcut frequency is 0~15, with 15 = whitelist. We don't want user dictionary entries 54 // TODO: use Words.SHORTCUT when we target JellyBean or above 55 final static String SHORTCUT = "shortcut"; 61 SHORTCUT, 240 final int indexShortcut = hasShortcutColumn ? cursor.getColumnIndex(SHORTCUT) : 0; 244 final String shortcut = hasShortcutColumn ? cursor.getString(indexShortcut) : null; local 252 if (null != shortcut && shortcut.length() < MAX_WORD_LENGTH) { 253 super.addWord(shortcut, word, adjustedFrequency, USER_DICT_SHORTCUT_FREQUENCY [all...] |
/packages/apps/Settings/src/com/android/settings/quicklaunch/ |
QuickLaunchSettings.java | 50 * and allows choosing a new bookmark for a shortcut. 67 Bookmarks.SHORTCUT, Bookmarks.TITLE, Bookmarks.INTENT 69 private static final String sShortcutSelection = Bookmarks.SHORTCUT + "=?"; 81 /** Preference category to hold the shortcut preferences. */ 83 /** Mapping of a shortcut to its preference. */ 86 /** The bookmark title of the shortcut that is being cleared. */ 89 /** The shortcut that is being cleared. */ 144 // Create the dialog for clearing a shortcut 182 // Clear the shortcut 189 private void clearShortcut(char shortcut) { 230 char shortcut = data.getCharExtra(BookmarkPicker.EXTRA_SHORTCUT, (char) 0); local 242 Bookmarks.add(getContentResolver(), intent, "", DEFAULT_BOOKMARK_FOLDER, shortcut, 0); local 271 char shortcut = (char) Character.toLowerCase(keyMap.getDisplayLabel(keyCode)); local 302 char shortcut = Character.toLowerCase((char) c.getInt(COLUMN_SHORTCUT)); local 343 char shortcut = (char) noLongerBookmarkedShortcuts.keyAt(i); local [all...] |
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
DatabaseHelper.java | 169 "shortcut INTEGER," + 174 db.execSQL("CREATE INDEX bookmarksIndex2 ON bookmarks (shortcut);"); [all...] |
/prebuilts/sdk/18/ |
android.jar | |
/prebuilts/sdk/19/ |
android.jar | |
/prebuilts/sdk/current/ |
android.jar | |