public static class

CustomTile.ExpandedStyle

extends Object
implements Parcelable
java.lang.Object
   ↳ cyanogenmod.app.CustomTile.ExpandedStyle
Known Direct Subclasses

Class Overview

An object that can apply an expanded view style to a CustomTile.Builder object.

Summary

Constants
int GRID_STYLE Identifier for a grid style expanded view
int LIST_STYLE Identifier for a list style expanded view
int REMOTE_STYLE Identifier for a remote view style expanded view
[Expand]
Inherited Constants
From interface android.os.Parcelable
Fields
public static final Creator<CustomTile.ExpandedStyle> CREATOR Parcelable.Creator that instantiates ExpandedStyle objects
Public Methods
int describeContents()
RemoteViews getContentViews()
Retrieve the RemoteViews that have been set on this expanded style
ExpandedItem[] getExpandedItems()
Retrieve the CustomTile.ExpandedItems that have been set on this expanded style
int getStyle()
Retrieve the style id associated with the CustomTile.ExpandedStyle
String toString()
void writeToParcel(Parcel parcel, int i)
[Expand]
Inherited Methods
From class java.lang.Object
From interface android.os.Parcelable

Constants

public static final int GRID_STYLE

Added in API level 1

Identifier for a grid style expanded view

Constant Value: 0 (0x00000000)

public static final int LIST_STYLE

Added in API level 1

Identifier for a list style expanded view

Constant Value: 1 (0x00000001)

public static final int REMOTE_STYLE

Added in API level 2

Identifier for a remote view style expanded view

Constant Value: 2 (0x00000002)

Fields

public static final Creator<CustomTile.ExpandedStyle> CREATOR

Added in API level 1

Parcelable.Creator that instantiates ExpandedStyle objects

Public Methods

public int describeContents ()

Added in API level 1

public RemoteViews getContentViews ()

Added in API level 2

Retrieve the RemoteViews that have been set on this expanded style

Returns
  • RemoteViews

public ExpandedItem[] getExpandedItems ()

Added in API level 1

Retrieve the CustomTile.ExpandedItems that have been set on this expanded style

Returns

public int getStyle ()

Added in API level 1

Retrieve the style id associated with the CustomTile.ExpandedStyle

Returns
  • id for style

public String toString ()

public void writeToParcel (Parcel parcel, int i)

Added in API level 1