public static String componentToImageColName(String component){
  if (component.equals(MixnMatchColumns.KEY_HOMESCREEN)) {
    return ThemesColumns.HOMESCREEN_URI;
  }
 else   if (component.equals(MixnMatchColumns.KEY_LOCKSCREEN)) {
    return ThemesColumns.LOCKSCREEN_URI;
  }
 else   if (component.equals(MixnMatchColumns.KEY_BOOT_ANIM)) {
    return ThemesColumns.BOOT_ANIM_URI;
  }
 else   if (component.equals(MixnMatchColumns.KEY_FONT)) {
    return ThemesColumns.FONT_URI;
  }
 else   if (component.equals(MixnMatchColumns.KEY_ICONS)) {
    return ThemesColumns.ICON_URI;
  }
 else   if (component.equals(MixnMatchColumns.KEY_STATUS_BAR)) {
    return ThemesColumns.STATUSBAR_URI;
  }
 else   if (component.equals(MixnMatchColumns.KEY_NOTIFICATIONS)) {
    throw new IllegalArgumentException("Notifications mixnmatch component does not have a related column");
  }
 else   if (component.equals(MixnMatchColumns.KEY_RINGTONE)) {
    throw new IllegalArgumentException("Ringtone mixnmatch component does not have a related column");
  }
 else   if (component.equals(MixnMatchColumns.KEY_OVERLAYS)) {
    return ThemesColumns.OVERLAYS_URI;
  }
 else   if (component.equals(MixnMatchColumns.KEY_ALARM)) {
    throw new IllegalArgumentException("Alarm mixnmatch component does not have a related column");
  }
 else   if (component.equals(MixnMatchColumns.KEY_NAVIGATION_BAR)) {
    throw new IllegalArgumentException("Navigation bar mixnmatch component does not have a related column");
  }
 else   if (component.equals(MixnMatchColumns.KEY_LIVE_LOCK_SCREEN)) {
    throw new IllegalArgumentException("Live lock screen mixnmatch component does not have a related column");
  }
  return null;
}

public static String componentToImageColName ( String component ) { if ( component . equals ( MixnMatchColumns . KEY_HOMESCREEN ) ) { return ThemesColumns . HOMESCREEN_URI ; } else if ( component . equals ( MixnMatchColumns . KEY_LOCKSCREEN ) ) { return ThemesColumns . LOCKSCREEN_URI ; } else if ( component . equals ( MixnMatchColumns . KEY_BOOT_ANIM ) ) { return ThemesColumns . BOOT_ANIM_URI ; } else if ( component . equals ( MixnMatchColumns . KEY_FONT ) ) { return ThemesColumns . FONT_URI ; } else if ( component . equals ( MixnMatchColumns . KEY_ICONS ) ) { return ThemesColumns . ICON_URI ; } else if ( component . equals ( MixnMatchColumns . KEY_STATUS_BAR ) ) { return ThemesColumns . STATUSBAR_URI ; } else if ( component . equals ( MixnMatchColumns . KEY_NOTIFICATIONS ) ) { throw new IllegalArgumentException ( "Notifications mixnmatch component does not have a related column" ) ; } else if ( component . equals ( MixnMatchColumns . KEY_RINGTONE ) ) { throw new IllegalArgumentException ( "Ringtone mixnmatch component does not have a related column" ) ; } else if ( component . equals ( MixnMatchColumns . KEY_OVERLAYS ) ) { return ThemesColumns . OVERLAYS_URI ; } else if ( component . equals ( MixnMatchColumns . KEY_ALARM ) ) { throw new IllegalArgumentException ( "Alarm mixnmatch component does not have a related column" ) ; } else if ( component . equals ( MixnMatchColumns . KEY_NAVIGATION_BAR ) ) { throw new IllegalArgumentException ( "Navigation bar mixnmatch component does not have a related column" ) ; } else if ( component . equals ( MixnMatchColumns . KEY_LIVE_LOCK_SCREEN ) ) { throw new IllegalArgumentException ( "Live lock screen mixnmatch component does not have a related column" ) ; } return null ; }
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 .
