Lines Matching refs:Favorites

19 import static com.android.launcher3.LauncherSettings.Favorites.ITEM_TYPE_APPLICATION;
20 import static com.android.launcher3.LauncherSettings.Favorites.TABLE_NAME;
51 import com.android.launcher3.LauncherSettings.Favorites;
170 Favorites.containerToString(Favorites.CONTAINER_HOTSEAT);
270 out[0] = Favorites.CONTAINER_HOTSEAT; in parseContainerAndScreen()
274 out[0] = Favorites.CONTAINER_DESKTOP; in parseContainerAndScreen()
301 mValues.put(Favorites.CONTAINER, container); in parseAndAddNode()
302 mValues.put(Favorites.SCREEN, screenId); in parseAndAddNode()
304 mValues.put(Favorites.CELLX, in parseAndAddNode()
306 mValues.put(Favorites.CELLY, in parseAndAddNode()
310 mValues.put(Favorites.PROFILE_ID, profileId); in parseAndAddNode()
323 mValues.put(Favorites.INTENT, intent.toUri(0)); in addShortcut()
324 mValues.put(Favorites.TITLE, title); in addShortcut()
325 mValues.put(Favorites.ITEM_TYPE, type); in addShortcut()
326 mValues.put(Favorites.SPANX, 1); in addShortcut()
327 mValues.put(Favorites.SPANY, 1); in addShortcut()
328 mValues.put(Favorites._ID, id); in addShortcut()
332 && !mValues.containsKey(Favorites.PROFILE_ID)) { in addShortcut()
335 mValues.put(Favorites.PROFILE_ID, UserCache.INSTANCE.get(mContext) in addShortcut()
337 mValues.put(Favorites.INTENT, AppInfo.makeLaunchIntent(replacementInfo).toUri(0)); in addShortcut()
439 mValues.put(Favorites.RESTORED, WorkspaceItemInfo.FLAG_AUTOINSTALL_ICON); in parseAndAdd()
461 mValues.put(Favorites.RESTORED, WorkspaceItemInfo.FLAG_RESTORED_ICON); in parseAndAdd()
462 return addShortcut(null, intent, Favorites.ITEM_TYPE_DEEP_SHORTCUT); in parseAndAdd()
501 mValues.put(Favorites.SPANX, getAttributeValue(parser, ATTR_SPAN_X)); in parseAndAdd()
502 mValues.put(Favorites.SPANY, getAttributeValue(parser, ATTR_SPAN_Y)); in parseAndAdd()
503 mValues.put(Favorites.ITEM_TYPE, Favorites.ITEM_TYPE_APPWIDGET); in parseAndAdd()
531 mValues.put(Favorites.APPWIDGET_PROVIDER, cn.flattenToString()); in verifyAndInsert()
532 mValues.put(Favorites.RESTORED, in verifyAndInsert()
536 mValues.put(Favorites._ID, mCallback.generateNewItemId()); in verifyAndInsert()
538 mValues.put(Favorites.INTENT, new Intent().putExtras(extras).toUri(0)); in verifyAndInsert()
560 mValues.put(Favorites.OPTIONS, LauncherAppWidgetInfo.OPTION_SEARCH_WIDGET); in verifyAndInsert()
561 int flags = mValues.getAsInteger(Favorites.RESTORED) in verifyAndInsert()
563 mValues.put(Favorites.RESTORED, flags); in verifyAndInsert()
590 mValues.put(Favorites.TITLE, title); in parseAndAdd()
591 mValues.put(Favorites.ITEM_TYPE, Favorites.ITEM_TYPE_FOLDER); in parseAndAdd()
592 mValues.put(Favorites.SPANX, 1); in parseAndAdd()
593 mValues.put(Favorites.SPANY, 1); in parseAndAdd()
594 mValues.put(Favorites._ID, mCallback.generateNewItemId()); in parseAndAdd()
613 mValues.put(Favorites.CONTAINER, folderId); in parseAndAdd()
614 mValues.put(Favorites.RANK, rank); in parseAndAdd()
642 copyInteger(myValues, childValues, Favorites.CONTAINER); in parseAndAdd()
643 copyInteger(myValues, childValues, Favorites.SCREEN); in parseAndAdd()
644 copyInteger(myValues, childValues, Favorites.CELLX); in parseAndAdd()
645 copyInteger(myValues, childValues, Favorites.CELLY); in parseAndAdd()
649 Favorites._ID + "=" + addedId, null); in parseAndAdd()