Android Open Source - fruit.thememanager Theme Info






From Project

Back to project page fruit.thememanager.

License

The source code is released under:

Apache License

If you think the Android project fruit.thememanager listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.fruit.thememanager.helper;
/*from  w w  w  .  j  a  v  a 2 s. c  o m*/
import com.fruit.thememanager.ThemeUtils.ThemeType;

import android.content.Intent;

public final class ThemeInfo {
  public String mPkgName;
  public String mThemeName;
  public String mThemeAuthor;
  public String mThemeDesc;
  public ThemeType mThemeType;
  public int mThemeVer;
  public int mThemeSupportVer;
  public boolean mIsCurrent;
  public Intent mIntent;

  public ThemeInfo(){
    mIsCurrent = false;
  }
  
  public ThemeInfo(ThemeInfo item) {
    // TODO Auto-generated constructor stub
    if(item.mPkgName != null){
      mPkgName = new String(item.mPkgName);
    }
    if(item.mThemeName != null){
      mThemeName = new String(item.mThemeName);
    }
    if(item.mThemeAuthor != null){
      mThemeAuthor = new String(item.mThemeAuthor);
    }
    if(item.mThemeDesc != null){
      mThemeDesc = new String(item.mThemeDesc);
    }
    if(item.mIntent != null){
      mIntent = new Intent(item.mIntent);
    }
    
    mThemeType = item.mThemeType;
    mThemeSupportVer = item.mThemeSupportVer;
    mIsCurrent = item.mIsCurrent;
  }

  @Override
  public final String toString() {
    // TODO Auto-generated method stub
    StringBuilder sb = new StringBuilder("packageName:");
    sb.append(mPkgName).append("--").append(mThemeName);

    return sb.toString();
  }
}




Java Source Code List

com.fruit.thememanager.ListItemThemeElement.java
com.fruit.thememanager.ListItem.java
com.fruit.thememanager.ThemeApplyActivity.java
com.fruit.thememanager.ThemeCustomActivity.java
com.fruit.thememanager.ThemeCustomOptActivity.java
com.fruit.thememanager.ThemeManager.java
com.fruit.thememanager.ThemeProvider.java
com.fruit.thememanager.ThemeSettingActivity.java
com.fruit.thememanager.ThemeShowAdapter.java
com.fruit.thememanager.ThemeShowImageAdapter.java
com.fruit.thememanager.ThemeUtils.java
com.fruit.thememanager.helper.ThemeInfoCustomLoader.java
com.fruit.thememanager.helper.ThemeInfoDefaultLoader.java
com.fruit.thememanager.helper.ThemeInfoLoader.java
com.fruit.thememanager.helper.ThemeInfo.java
com.fruit.thememanager.helper.ThemeLoaderHelper.java
com.fruit.thememanager.helper.ThemeResourceCustomLoader.java
com.fruit.thememanager.helper.ThemeResourceDefaultLoader.java
com.fruit.thememanager.helper.ThemeResourceLoader.java
com.fruit.thememanager.helper.ThemeResources.java