Home | History | Annotate | Download | only in launcher2

Lines Matching refs:shortcut

287                 ShortcutInfo shortcut = (ShortcutInfo) item;
288 if (modelShortcut.title.toString().equals(shortcut.title.toString()) &&
289 modelShortcut.intent.filterEquals(shortcut.intent) &&
290 modelShortcut.id == shortcut.id &&
291 modelShortcut.itemType == shortcut.itemType &&
292 modelShortcut.container == shortcut.container &&
293 modelShortcut.screen == shortcut.screen &&
294 modelShortcut.cellX == shortcut.cellX &&
295 modelShortcut.cellY == shortcut.cellY &&
296 modelShortcut.spanX == shortcut.spanX &&
297 modelShortcut.spanY == shortcut.spanY &&
298 ((modelShortcut.dropPos == null && shortcut.dropPos == null) ||
300 shortcut.dropPos != null &&
301 modelShortcut.dropPos[0] == shortcut.dropPos[0] &&
302 modelShortcut.dropPos[1] == shortcut.dropPos[1]))) {
498 * we identify a shortcut by its title and intent.
1231 Log.e(TAG, "Error loading shortcut into hotseat " + item
1248 Log.e(TAG, "Error loading shortcut " + item
1415 // Failed to load the shortcut, probably because the
1420 Log.e(TAG, "Error loading shortcut " + id + ", removing it");
2194 * Make an ShortcutInfo object for a shortcut that is an application.
2263 ShortcutInfo shortcut = (ShortcutInfo) info;
2264 if (shortcut.intent.toUri(0).equals(intent.toUri(0))) {
2265 items.add(shortcut);
2274 * Make an ShortcutInfo object for a shortcut that isn't an application.
2452 Log.w(TAG, "Could not load shortcut icon: " + extra);