Home | History | Annotate | Download | only in launcher2

Lines Matching defs:shortcut

276                 ShortcutInfo shortcut = (ShortcutInfo) item;
277 if (modelShortcut.title.toString().equals(shortcut.title.toString()) &&
278 modelShortcut.intent.filterEquals(shortcut.intent) &&
279 modelShortcut.id == shortcut.id &&
280 modelShortcut.itemType == shortcut.itemType &&
281 modelShortcut.container == shortcut.container &&
282 modelShortcut.screen == shortcut.screen &&
283 modelShortcut.cellX == shortcut.cellX &&
284 modelShortcut.cellY == shortcut.cellY &&
285 modelShortcut.spanX == shortcut.spanX &&
286 modelShortcut.spanY == shortcut.spanY &&
287 ((modelShortcut.dropPos == null && shortcut.dropPos == null) ||
289 shortcut.dropPos != null &&
290 modelShortcut.dropPos[0] == shortcut.dropPos[0] &&
291 modelShortcut.dropPos[1] == shortcut.dropPos[1]))) {
487 * we identify a shortcut by its title and intent.
1218 Log.e(TAG, "Error loading shortcut into hotseat " + item
1235 Log.e(TAG, "Error loading shortcut " + item
1390 // Failed to load the shortcut, probably because the
1395 Log.e(TAG, "Error loading shortcut " + id + ", removing it");
2143 * Make an ShortcutInfo object for a shortcut that is an application.
2245 ShortcutInfo shortcut = (ShortcutInfo) info;
2246 if (shortcut.intent.toUri(0).equals(intent.toUri(0))) {
2247 items.add(shortcut);
2256 * Make an ShortcutInfo object for a shortcut that isn't an application.
2428 Log.w(TAG, "Could not load shortcut icon: " + extra);