FileDocCategorySizeDatePackage
LiveFolderInfo.javaAPI DocAndroid 1.5 API2241Wed May 06 22:42:46 BST 2009com.android.launcher

LiveFolderInfo

public class LiveFolderInfo extends FolderInfo

Fields Summary
android.content.Intent
baseIntent
The base intent, if it exists.
android.net.Uri
uri
The live folder's content uri.
int
displayMode
The live folder's display type.
android.graphics.drawable.Drawable
icon
The live folder icon.
boolean
filtered
When set to true, indicates that the icon has been resized.
Intent.ShortcutIconResource
iconResource
Reference to the live folder icon as an application's resource.
Constructors Summary
LiveFolderInfo()

        itemType = LauncherSettings.Favorites.ITEM_TYPE_LIVE_FOLDER;
    
Methods Summary
voidonAddToDatabase(android.content.ContentValues values)

        super.onAddToDatabase(values);
        values.put(LauncherSettings.Favorites.TITLE, title.toString());
        values.put(LauncherSettings.Favorites.URI, uri.toString());
        if (baseIntent != null) {
            values.put(LauncherSettings.Favorites.INTENT, baseIntent.toURI());
        }
        values.put(LauncherSettings.Favorites.ICON_TYPE, LauncherSettings.Favorites.ICON_TYPE_RESOURCE);
        values.put(LauncherSettings.Favorites.DISPLAY_MODE, displayMode);
        if (iconResource != null) {
            values.put(LauncherSettings.Favorites.ICON_PACKAGE, iconResource.packageName);
            values.put(LauncherSettings.Favorites.ICON_RESOURCE, iconResource.resourceName);
        }