public static class

CustomTile.ExpandedGridItem

extends CustomTile.ExpandedItem
java.lang.Object
   ↳ cyanogenmod.app.CustomTile.ExpandedItem
     ↳ cyanogenmod.app.CustomTile.ExpandedGridItem

Class Overview

An instance of CustomTile.ExpandedItem to be utilized within a CustomTile.GridExpandedStyle

Summary

[Expand]
Inherited Constants
From interface android.os.Parcelable
[Expand]
Inherited Fields
From class cyanogenmod.app.CustomTile.ExpandedItem
Public Constructors
CustomTile.ExpandedGridItem()
Constructor for the ExpandedGridItem
Public Methods
void setExpandedGridItemBitmap(Bitmap bitmap)
Sets the bitmap associated with the CustomTile.ExpandedGridItem to be utilized instead of the itemDrawableResourceId Note, sending many items with bitmaps over IPC may result in a TransactionTooLargeException.
void setExpandedGridItemDrawable(int resourceId)
Sets the drawable resource id associated with the CustomTile.ExpandedGridItem
void setExpandedGridItemOnClickIntent(PendingIntent intent)
Sets the PendingIntent associated with the CustomTile.ExpandedGridItem
void setExpandedGridItemTitle(String title)
Sets the title for the CustomTile.ExpandedGridItem
[Expand]
Inherited Methods
From class cyanogenmod.app.CustomTile.ExpandedItem
From class java.lang.Object
From interface android.os.Parcelable

Public Constructors

public CustomTile.ExpandedGridItem ()

Added in API level 1

Constructor for the ExpandedGridItem

Public Methods

public void setExpandedGridItemBitmap (Bitmap bitmap)

Added in API level 2

Sets the bitmap associated with the CustomTile.ExpandedGridItem to be utilized instead of the itemDrawableResourceId Note, sending many items with bitmaps over IPC may result in a TransactionTooLargeException.

public void setExpandedGridItemDrawable (int resourceId)

Added in API level 1

Sets the drawable resource id associated with the CustomTile.ExpandedGridItem

Parameters
resourceId a resource id that maps to a drawable

public void setExpandedGridItemOnClickIntent (PendingIntent intent)

Added in API level 1

Sets the PendingIntent associated with the CustomTile.ExpandedGridItem

Parameters
intent a pending intent to be triggered on click

public void setExpandedGridItemTitle (String title)

Added in API level 1

Sets the title for the CustomTile.ExpandedGridItem

Parameters
title a string title