public static class

ThemesContract.MixnMatchColumns

extends Object
java.lang.Object
   ↳ cyanogenmod.providers.ThemesContract.MixnMatchColumns

Class Overview

Key-value table which assigns a component (ex wallpaper) to a theme's package

Summary

Constants
String COL_COMPONENT_ID
String COL_KEY The unique key for a row.
String COL_PREV_VALUE The package name that corresponds to where this component was applied from previously

Type: String

String COL_UPDATE_TIME Time when this entry was last updated

Type: INTEGER

String COL_VALUE The package name that corresponds to a given component.
String KEY_ALARM
String KEY_BOOT_ANIM
String KEY_FONT
String KEY_HOMESCREEN Valid keys
String KEY_ICONS
String KEY_LIVE_LOCK_SCREEN
String KEY_LOCKSCREEN
String KEY_NAVIGATION_BAR
String KEY_NOTIFICATIONS
String KEY_OVERLAYS
String KEY_RINGTONE
String KEY_STATUS_BAR
Fields
public static final Uri CONTENT_URI
public static final String[] ROWS
Public Constructors
ThemesContract.MixnMatchColumns()
Public Methods
static String componentToImageColName(String component)
For a given key value in the MixNMatch table, return the column associated with it in the Themes Table.
static String componentToMixNMatchKey(String component)
A component in the themes table (IE "mods_wallpaper") has an equivalent key in mixnmatch table
static String mixNMatchKeyToComponent(String mixnmatchKey)
A mixnmatch key in has an equivalent value in the themes table
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final String COL_COMPONENT_ID

Added in API level 5

Constant Value: "component_id"

public static final String COL_KEY

Added in API level 5

The unique key for a row. See the KEY_* constants for valid examples

Type: TEXT

Constant Value: "key"

public static final String COL_PREV_VALUE

Added in API level 5

The package name that corresponds to where this component was applied from previously

Type: String

Constant Value: "previous_value"

public static final String COL_UPDATE_TIME

Added in API level 5

Time when this entry was last updated

Type: INTEGER

Constant Value: "update_time"

public static final String COL_VALUE

Added in API level 5

The package name that corresponds to a given component.

Type: String

Constant Value: "value"

public static final String KEY_ALARM

Added in API level 5

Constant Value: "mixnmatch_alarm"

public static final String KEY_BOOT_ANIM

Added in API level 5

Constant Value: "mixnmatch_boot_anim"

public static final String KEY_FONT

Added in API level 5

Constant Value: "mixnmatch_font"

public static final String KEY_HOMESCREEN

Added in API level 5

Valid keys

Constant Value: "mixnmatch_homescreen"

public static final String KEY_ICONS

Added in API level 5

Constant Value: "mixnmatch_icons"

public static final String KEY_LIVE_LOCK_SCREEN

Added in API level 5

Constant Value: "mixnmatch_live_lock_screen"

public static final String KEY_LOCKSCREEN

Added in API level 5

Constant Value: "mixnmatch_lockscreen"

public static final String KEY_NAVIGATION_BAR

Added in API level 5

Constant Value: "mixnmatch_navigation_bar"

public static final String KEY_NOTIFICATIONS

Added in API level 5

Constant Value: "mixnmatch_notifications"

public static final String KEY_OVERLAYS

Added in API level 5

Constant Value: "mixnmatch_overlays"

public static final String KEY_RINGTONE

Added in API level 5

Constant Value: "mixnmatch_ringtone"

public static final String KEY_STATUS_BAR

Added in API level 5

Constant Value: "mixnmatch_status_bar"

Fields

public static final Uri CONTENT_URI

Added in API level 5

public static final String[] ROWS

Added in API level 5

Public Constructors

public ThemesContract.MixnMatchColumns ()

Added in API level 5

Public Methods

public static String componentToImageColName (String component)

Added in API level 5

For a given key value in the MixNMatch table, return the column associated with it in the Themes Table. This is useful for URI based elements like wallpaper where the caller wishes to determine the wallpaper URI.

public static String componentToMixNMatchKey (String component)

Added in API level 5

A component in the themes table (IE "mods_wallpaper") has an equivalent key in mixnmatch table

public static String mixNMatchKeyToComponent (String mixnmatchKey)

Added in API level 5

A mixnmatch key in has an equivalent value in the themes table