/packages/apps/Contacts/src/com/android/contacts/logging/ |
QuickContactEvent.java | 67 public static final int SHORTCUT = 8;
|
/frameworks/base/core/java/android/provider/ |
UserDictionary.java | 97 * An optional shortcut for this word. When the shortcut is typed, supporting IMEs should 100 public static final String SHORTCUT = "shortcut"; 156 * @param shortcut optional shortcut spelling for this word. When the shortcut 162 int frequency, String shortcut, Locale locale) { 179 values.put(SHORTCUT, shortcut); [all...] |
Settings.java | [all...] |
/packages/apps/Launcher3/protos/ |
launcher_dump.proto | 55 SHORTCUT = 3; // ShortcutManager
|
launcher_log.proto | 53 optional int32 intent_hash = 12; // Used for ItemType.SHORTCUT 64 SHORTCUT = 2;
|
/packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/ |
UserDictionaryProvider.java | 62 * Adds SHORTCUT (TEXT). 95 sDictProjectionMap.put(Words.SHORTCUT, Words.SHORTCUT); 121 + Words.SHORTCUT + " TEXT" 129 + " to version 2: adding " + Words.SHORTCUT + " column"); 131 + " ADD " + Words.SHORTCUT + " TEXT;"); 240 if (!values.containsKey(Words.SHORTCUT)) { 241 values.put(Words.SHORTCUT, (String) null);
|
DictionaryBackupAgent.java | 75 Words.SHORTCUT 170 String shortcut = cursor.getString(COLUMN_SHORTCUT); local 171 if (TextUtils.isEmpty(shortcut)) shortcut = ""; 174 + SEPARATOR + shortcut; 229 String shortcut = null; local 233 if (st.hasMoreTokens()) shortcut = st.nextToken(); 234 if (TextUtils.isEmpty(shortcut)) shortcut = null; 246 && Objects.equals(shortcut, previousShortcut) [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 + "=''"; 208 final String shortcut = getShortcut(position); local 210 showAddOrEditDialog(word, shortcut); 221 // with the shortcut API. 244 * @param editingShortcut the shortcut for this entry, or null if none [all...] |
/packages/apps/Settings/src/com/android/settings/inputmethod/ |
UserDictionarySettings.java | 54 + "=? AND " + UserDictionary.Words.SHORTCUT + "=?"; 56 + "=? AND " + UserDictionary.Words.SHORTCUT + " is null OR " 57 + UserDictionary.Words.SHORTCUT + "=''"; 142 new String[]{UserDictionary.Words.WORD, UserDictionary.Words.SHORTCUT}, 149 final String shortcut = getShortcut(position); local 151 showAddOrEditDialog(word, shortcut); 183 * @param editingShortcut the shortcut for this entry, or null if none. 216 mCursor.getColumnIndexOrThrow(UserDictionary.Words.SHORTCUT)); 219 public static void deleteWord(final String word, final String shortcut, 221 if (TextUtils.isEmpty(shortcut)) { [all...] |
UserDictionaryCursorLoader.java | 37 UserDictionary.Words.SHORTCUT 40 // The index of the shortcut in the above array. 88 final String shortcut = candidate.getString(2); local 89 final int hash = Objects.hash(word, shortcut); 94 result.addRow(new Object[]{id, word, shortcut});
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/model/ |
GridSizeMigrationTaskTest.java | 32 private static final int SHORTCUT = LauncherSettings.Favorites.ITEM_TYPE_SHORTCUT; 57 addItem(SHORTCUT, 1, HOTSEAT, 0, 0), 59 addItem(SHORTCUT, 3, HOTSEAT, 0, 0), 80 addItem(SHORTCUT, 3, HOTSEAT, 0, 0), 361 * @param type {@link #APPLICATION} or {@link #SHORTCUT} or >= 2 for 378 if (type == APPLICATION || type == SHORTCUT) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/ |
ShortcutParser.java | 41 private static final String SHORTCUT = "shortcut"; 74 public List<Shortcut> getShortcuts() { 75 List<Shortcut> list = new ArrayList<>(); 86 if (parser.getName().equals(SHORTCUT)) { 87 Shortcut c = parseShortcut(parser); 101 private Shortcut parseShortcut(XmlResourceParser parser) 103 final TypedArray sa = mResources.obtainAttributes(mAttrs, R.styleable.Shortcut); 104 Shortcut c = new Shortcut(); [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/logging/ |
DumpTargetWrapper.java | 88 dt.itemType = ItemType.SHORTCUT;
|
LoggerUtils.java | 135 t.itemType = ItemType.SHORTCUT;
|
/packages/apps/Launcher3/src/com/android/launcher3/popup/ |
PopupPopulator.java | 60 SHORTCUT(R.layout.deep_shortcut, true), 84 items[i] = Item.SHORTCUT; 135 // Remove up to one specific shortcut before sorting and doing somewhat fancy filtering. 157 ShortcutInfoCompat shortcut = shortcuts.get(i); local 161 filteredShortcuts.add(shortcut); 162 if (shortcut.isDynamic()) { 169 if (shortcut.isDynamic() && numDynamic < NUM_DYNAMIC) { 173 filteredShortcuts.add(shortcut); 207 final ShortcutInfoCompat shortcut = shortcuts.get(i); external variable declarations 208 ShortcutInfo si = new ShortcutInfo(shortcut, launcher) [all...] |
PopupContainerWithArrow.java | 299 } else if (itemTypeToPopulate == PopupPopulator.Item.SHORTCUT) { 478 // Offset x so that the arrow and shortcut icons are center-aligned with the original icon. 484 // Aligning with the shortcut icon. 651 // Stop sending touch events to deep shortcut views if user moved beyond touch slop. [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/shortcuts/ |
ShortcutsItemView.java | 95 // Touched a shortcut, update where it was touched so we can drag from there on long click. 114 // Long clicked on a shortcut. 137 if (shortcutType == PopupPopulator.Item.SHORTCUT) { 143 // System shortcut icons are added to a header that is separate from the full shortcuts. 170 // Always reverse system shortcut icons (in the header) 264 // Animate each shortcut to its new height. 265 DeepShortcutView shortcut = (DeepShortcutView) mShortcutsLayout.getChildAt(i); local 269 animation.play(translateYFrom(shortcut, heightDiff * heightAdjustmentIndex * fromDir)); 270 // Make sure the text and icon stay centered in the shortcut. 271 animation.play(translateYFrom(shortcut.getBubbleText(), heightDiff / 2 * fromDir)) [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
PersonalDictionaryLookup.java | 205 * We store a map from a shortcut to a word for each locale. 346 * Note that this method returns shortcut keys, not expanded words. Words are handled 360 // First look for the country-specific shortcut: en_US, en_UK, fr_FR, etc. 367 // Next look for the language-specific shortcut: en, fr, etc. 375 // If all else fails, look for a global shortcut. 451 * Expands the given shortcut for the given locale. 453 * @param shortcut the shortcut to expand 454 * @param inputLocale the locale in which to expand the shortcut 455 * @return expanded shortcut iff the word is a shortcut in the dictionary 611 final String shortcut = cursor.getString(shortcutIndex); local [all...] |
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
DatabaseHelper.java | 225 "shortcut INTEGER," + 230 db.execSQL("CREATE INDEX bookmarksIndex2 ON bookmarks (shortcut);"); [all...] |
/packages/apps/Contacts/src/com/android/contacts/quickcontact/ |
QuickContactActivity.java | 236 /** This is the Intent action to install a shortcut in the launcher. */ [all...] |
/external/robolectric/v1/lib/main/ |
android.jar | |
/prebuilts/sdk/18/ |
android.jar | |
/prebuilts/sdk/19/ |
android.jar | |
/prebuilts/sdk/21/ |
android.jar | |
/prebuilts/sdk/25/ |
android.jar | |