public class TileUtils extends Object
Modifier and Type | Field and Description |
---|---|
static String |
META_DATA_PREFERENCE_ICON
Name of the meta-data item that should be set in the AndroidManifest.xml
to specify the icon that should be displayed for the preference.
|
static String |
META_DATA_PREFERENCE_SUMMARY
Name of the meta-data item that should be set in the AndroidManifest.xml
to specify the summary text that should be displayed for the preference.
|
static String |
META_DATA_PREFERENCE_TITLE
Name of the meta-data item that should be set in the AndroidManifest.xml
to specify the title that should be displayed for the preference.
|
static Comparator<Tile> |
TILE_COMPARATOR |
Constructor and Description |
---|
TileUtils() |
Modifier and Type | Method and Description |
---|---|
static List<DashboardCategory> |
getCategories(Context context,
HashMap<Pair<String,String>,Tile> cache) |
static void |
getTilesForIntent(Context context,
UserHandle user,
Intent intent,
Map<Pair<String,String>,Tile> addedCache,
String defaultCategory,
List<Tile> outTiles,
boolean usePriority,
boolean checkCategory) |
public static final String META_DATA_PREFERENCE_ICON
public static final String META_DATA_PREFERENCE_TITLE
public static final String META_DATA_PREFERENCE_SUMMARY
public static final Comparator<Tile> TILE_COMPARATOR