/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 | 72 Words.SHORTCUT 166 String shortcut = cursor.getString(COLUMN_SHORTCUT); local 167 if (TextUtils.isEmpty(shortcut)) shortcut = ""; 170 + SEPARATOR + shortcut; 224 String shortcut = null; local 228 if (st.hasMoreTokens()) shortcut = st.nextToken(); 229 if (TextUtils.isEmpty(shortcut)) shortcut = null; 239 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/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
UserBinaryDictionary.java | 37 // TODO: use Words.SHORTCUT when it's public in the SDK 38 final static String SHORTCUT = "shortcut"; 41 SHORTCUT, 189 final int indexShortcut = cursor.getColumnIndex(SHORTCUT); 193 String shortcut = cursor.getString(indexShortcut); local 199 if (null != shortcut && shortcut.length() < MAX_WORD_LENGTH) { 200 super.addWord(shortcut, word, frequency);
|
UserDictionary.java | 41 // TODO: use Words.SHORTCUT when it's public in the SDK 42 final static String SHORTCUT = "shortcut"; 45 SHORTCUT, 207 final int indexShortcut = cursor.getColumnIndex(SHORTCUT); 211 String shortcut = cursor.getString(indexShortcut); local 218 if (null != shortcut && shortcut.length() < maxWordLength) { 219 super.addWord(shortcut, word, frequency);
|
/packages/apps/Settings/src/com/android/settings/ |
UserDictionarySettings.java | 57 UserDictionary.Words._ID, UserDictionary.Words.WORD, UserDictionary.Words.SHORTCUT 60 // The index of the shortcut in the above array. 71 + "=? AND " + UserDictionary.Words.SHORTCUT + "=?"; 73 + "=? AND " + UserDictionary.Words.SHORTCUT + " is null OR " 74 + UserDictionary.Words.SHORTCUT + "=''"; 156 new String[] { UserDictionary.Words.WORD, UserDictionary.Words.SHORTCUT }, 163 final String shortcut = getShortcut(position); local 165 showAddOrEditDialog(word, shortcut); 190 * @param editingShortcut the shortcut for this entry, or null if none. 224 mCursor.getColumnIndexOrThrow(UserDictionary.Words.SHORTCUT)); [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/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 | 127 "shortcut INTEGER," + 132 db.execSQL("CREATE INDEX bookmarksIndex2 ON bookmarks (shortcut);"); [all...] |
/prebuilts/sdk/current/ |
android.jar | |