A B C D E F G H I J K L M N O P R S T U V W 

I

image_content - Static variable in class cn.trinea.android.common.R.string
 
IMAGE_SDCARD_CACHE_TABLE_ENTER_TIME - Static variable in class cn.trinea.android.common.constant.DbConstants
 
IMAGE_SDCARD_CACHE_TABLE_ENTER_TIME_INDEX - Static variable in class cn.trinea.android.common.constant.DbConstants
 
IMAGE_SDCARD_CACHE_TABLE_ID - Static variable in class cn.trinea.android.common.constant.DbConstants
 
IMAGE_SDCARD_CACHE_TABLE_ID_INDEX - Static variable in class cn.trinea.android.common.constant.DbConstants
 
IMAGE_SDCARD_CACHE_TABLE_INDEX_TAG - Static variable in class cn.trinea.android.common.constant.DbConstants
 
IMAGE_SDCARD_CACHE_TABLE_INDEX_URL - Static variable in class cn.trinea.android.common.constant.DbConstants
 
IMAGE_SDCARD_CACHE_TABLE_IS_EXPIRED - Static variable in class cn.trinea.android.common.constant.DbConstants
 
IMAGE_SDCARD_CACHE_TABLE_IS_EXPIRED_INDEX - Static variable in class cn.trinea.android.common.constant.DbConstants
 
IMAGE_SDCARD_CACHE_TABLE_IS_FOREVER - Static variable in class cn.trinea.android.common.constant.DbConstants
 
IMAGE_SDCARD_CACHE_TABLE_IS_FOREVER_INDEX - Static variable in class cn.trinea.android.common.constant.DbConstants
 
IMAGE_SDCARD_CACHE_TABLE_LAST_USED_TIME - Static variable in class cn.trinea.android.common.constant.DbConstants
 
IMAGE_SDCARD_CACHE_TABLE_LAST_USED_TIME_INDEX - Static variable in class cn.trinea.android.common.constant.DbConstants
 
IMAGE_SDCARD_CACHE_TABLE_PATH - Static variable in class cn.trinea.android.common.constant.DbConstants
 
IMAGE_SDCARD_CACHE_TABLE_PATH_INDEX - Static variable in class cn.trinea.android.common.constant.DbConstants
 
IMAGE_SDCARD_CACHE_TABLE_PRIORITY - Static variable in class cn.trinea.android.common.constant.DbConstants
 
IMAGE_SDCARD_CACHE_TABLE_PRIORITY_INDEX - Static variable in class cn.trinea.android.common.constant.DbConstants
 
IMAGE_SDCARD_CACHE_TABLE_TABLE_NAME - Static variable in class cn.trinea.android.common.constant.DbConstants
 
IMAGE_SDCARD_CACHE_TABLE_TAG - Static variable in class cn.trinea.android.common.constant.DbConstants
 
IMAGE_SDCARD_CACHE_TABLE_TAG_INDEX - Static variable in class cn.trinea.android.common.constant.DbConstants
 
IMAGE_SDCARD_CACHE_TABLE_URL - Static variable in class cn.trinea.android.common.constant.DbConstants
 
IMAGE_SDCARD_CACHE_TABLE_URL_INDEX - Static variable in class cn.trinea.android.common.constant.DbConstants
 
IMAGE_SDCARD_CACHE_TABLE_USED_COUNT - Static variable in class cn.trinea.android.common.constant.DbConstants
 
IMAGE_SDCARD_CACHE_TABLE_USED_COUNT_INDEX - Static variable in class cn.trinea.android.common.constant.DbConstants
 
ImageCache - Class in cn.trinea.android.common.service.impl
Image Cache

It's a cache with primary cache and secondary cache.
ImageCache() - Constructor for class cn.trinea.android.common.service.impl.ImageCache
max size of primary cache is ImageMemoryCache.DEFAULT_MAX_SIZE, max size of secondary cache is ImageSDCardCache.DEFAULT_MAX_SIZE thread pool size of primary cache and secondary cache both are PreloadDataCache.DEFAULT_THREAD_POOL_SIZE
ImageCache(int) - Constructor for class cn.trinea.android.common.service.impl.ImageCache
max size of secondary cache is ImageSDCardCache.DEFAULT_MAX_SIZE thread pool size of primary cache and secondary cache both are PreloadDataCache.DEFAULT_THREAD_POOL_SIZE
ImageCache(int, int) - Constructor for class cn.trinea.android.common.service.impl.ImageCache
thread pool size of primary cache and secondary cache both are PreloadDataCache.DEFAULT_THREAD_POOL_SIZE
ImageCache(int, int, int, int) - Constructor for class cn.trinea.android.common.service.impl.ImageCache
Callback interface after image get success is null, can set by PreloadDataCache#setOnImageCallbackListener(OnImageCallbackListener) Get data listener of primary cache is ImageCache.getOnGetImageListenerOfPrimaryCache(), you can set by #setOnGetImageListenerOfPrimaryCache(OnGetDataListener), but not recommended, you may destory secondary cache.
ImageCache.CompressListener - Interface in cn.trinea.android.common.service.impl
set image compress scale
ImageCacheManager - Class in cn.trinea.android.common.util
ImageCacheManager
ImageMemoryCache - Class in cn.trinea.android.common.service.impl
Image Memory Cache

It applies to images those uesd frequently, like users avatar of twitter or sina weibo.
ImageMemoryCache() - Constructor for class cn.trinea.android.common.service.impl.ImageMemoryCache
Get data listener is ImageMemoryCache.getDefaultOnGetImageListener() callback interface when getting image is null, can set by ImageMemoryCache.setOnImageCallbackListener(OnImageCallbackListener) Maximum size of the cache is ImageMemoryCache.DEFAULT_MAX_SIZE Elements of the cache will not invalid Remove type is RemoveTypeUsedCountSmall when cache is full
ImageMemoryCache(int) - Constructor for class cn.trinea.android.common.service.impl.ImageMemoryCache
Get data listener is ImageMemoryCache.getDefaultOnGetImageListener() callback interface when getting image is null, can set by ImageMemoryCache.setOnImageCallbackListener(OnImageCallbackListener) Elements of the cache will not invalid Remove type is RemoveTypeUsedCountSmall when cache is full
ImageMemoryCache(int, int) - Constructor for class cn.trinea.android.common.service.impl.ImageMemoryCache
Get data listener is ImageMemoryCache.getDefaultOnGetImageListener() callback interface when getting image is null, can set by ImageMemoryCache.setOnImageCallbackListener(OnImageCallbackListener) Elements of the cache will not invalid Remove type is RemoveTypeUsedCountSmall when cache is full
ImageMemoryCache.OnImageCallbackListener - Interface in cn.trinea.android.common.service.impl
callback interface when getting image
ImageSDCardCache - Class in cn.trinea.android.common.service.impl
Image SDCard Cache

It applies to images those uesd frequently and their size is big that we cannot store too much in memory, like pictures of twitter or sina weibo.
ImageSDCardCache() - Constructor for class cn.trinea.android.common.service.impl.ImageSDCardCache
Get data listener is ImageSDCardCache.getDefaultOnGetImageListener() callback interface when getting image is null, can set by ImageSDCardCache.setOnImageSDCallbackListener(OnImageSDCallbackListener) Maximum size of the cache is ImageSDCardCache.DEFAULT_MAX_SIZE Elements of the cache will not invalid Remove type is RemoveTypeUsedCountSmall when cache is full
ImageSDCardCache(int) - Constructor for class cn.trinea.android.common.service.impl.ImageSDCardCache
Get data listener is ImageSDCardCache.getDefaultOnGetImageListener() callback interface when getting image is null, can set by ImageSDCardCache.setOnImageSDCallbackListener(OnImageSDCallbackListener) Elements of the cache will not invalid Remove type is RemoveTypeUsedCountSmall when cache is full
ImageSDCardCache(int, int) - Constructor for class cn.trinea.android.common.service.impl.ImageSDCardCache
Get data listener is ImageSDCardCache.getDefaultOnGetImageListener() callback interface when getting image is null, can set by ImageSDCardCache.setOnImageSDCallbackListener(OnImageSDCallbackListener) Elements of the cache will not invalid Remove type is RemoveTypeUsedCountSmall when cache is full
ImageSDCardCache.OnImageSDCallbackListener - Interface in cn.trinea.android.common.service.impl
callback interface when getting image
ImageSDCardCacheDao - Interface in cn.trinea.android.common.dao
ImageSDCardCacheDao
ImageSDCardCacheDaoImpl - Class in cn.trinea.android.common.dao.impl
ImageSDCardCacheDao
ImageSDCardCacheDaoImpl(SqliteUtils) - Constructor for class cn.trinea.android.common.dao.impl.ImageSDCardCacheDaoImpl
 
ImageUtils - Class in cn.trinea.android.common.util
ImageUtils() - Constructor for class cn.trinea.android.common.util.ImageUtils
 
initData(Context, String) - Method in class cn.trinea.android.common.service.impl.ImageCache
load all data from db and delete unused file in ImageCache.getCacheFolder() It's a combination of ImageCache.loadDataFromDb(Context, String) and ImageCache.deleteUnusedFiles() You should use ImageCache.saveDataToDb(Context, String) to save data when app exit
initData(Context, String) - Method in class cn.trinea.android.common.service.impl.ImageSDCardCache
load all data from db and delete unused file in ImageSDCardCache.getCacheFolder() It's a combination of ImageSDCardCache.loadDataFromDb(Context, String) and ImageSDCardCache.deleteUnusedFiles() You should use ImageSDCardCache.saveDataToDb(Context, String) to save data when app exit
insertHttpResponse(HttpResponse) - Method in interface cn.trinea.android.common.dao.HttpCacheDao
insert HttpResponse
insertHttpResponse(HttpResponse) - Method in class cn.trinea.android.common.dao.impl.HttpCacheDaoImpl
 
install(Context, String) - Static method in class cn.trinea.android.common.util.PackageUtils
install according conditions if system application or rooted, see PackageUtils.installSilent(Context, String) else see PackageUtils.installNormal(Context, String)
INSTALL_FAILED_ALREADY_EXISTS - Static variable in class cn.trinea.android.common.util.PackageUtils
Installation return code
the package is already installed.
INSTALL_FAILED_CONFLICTING_PROVIDER - Static variable in class cn.trinea.android.common.util.PackageUtils
Installation return code
the new package failed because it contains a content provider with the same authority as a provider already installed in the system.
INSTALL_FAILED_CONTAINER_ERROR - Static variable in class cn.trinea.android.common.util.PackageUtils
Installation return code
a secure container mount point couldn't be accessed on external media.
INSTALL_FAILED_CPU_ABI_INCOMPATIBLE - Static variable in class cn.trinea.android.common.util.PackageUtils
Installation return code
the package being installed contains native code, but none that is compatible with the the device's CPU_ABI.
INSTALL_FAILED_DEXOPT - Static variable in class cn.trinea.android.common.util.PackageUtils
Installation return code
the new package failed while optimizing and validating its dex files, either because there was not enough storage or the validation failed.
INSTALL_FAILED_DUPLICATE_PACKAGE - Static variable in class cn.trinea.android.common.util.PackageUtils
Installation return code
a package is already installed with the same name.
INSTALL_FAILED_INSUFFICIENT_STORAGE - Static variable in class cn.trinea.android.common.util.PackageUtils
Installation return code
the package manager service found that the device didn't have enough storage space to install the app.
INSTALL_FAILED_INTERNAL_ERROR - Static variable in class cn.trinea.android.common.util.PackageUtils
Installation return code
if the system failed to install the package because of system issues.
INSTALL_FAILED_INVALID_APK - Static variable in class cn.trinea.android.common.util.PackageUtils
Installation return code
the package archive file is invalid.
INSTALL_FAILED_INVALID_INSTALL_LOCATION - Static variable in class cn.trinea.android.common.util.PackageUtils
Installation return code
the new package couldn't be installed in the specified install location.
INSTALL_FAILED_INVALID_URI - Static variable in class cn.trinea.android.common.util.PackageUtils
Installation return code
the URI passed in is invalid.
INSTALL_FAILED_MEDIA_UNAVAILABLE - Static variable in class cn.trinea.android.common.util.PackageUtils
Installation return code
the new package couldn't be installed in the specified install location because the media is not available.
INSTALL_FAILED_MISSING_FEATURE - Static variable in class cn.trinea.android.common.util.PackageUtils
Installation return code
the new package uses a feature that is not available.
INSTALL_FAILED_MISSING_SHARED_LIBRARY - Static variable in class cn.trinea.android.common.util.PackageUtils
Installation return code
the new package uses a shared library that is not available.
INSTALL_FAILED_NEWER_SDK - Static variable in class cn.trinea.android.common.util.PackageUtils
Installation return code
the new package failed because the current SDK version is newer than that required by the package.
INSTALL_FAILED_NO_SHARED_USER - Static variable in class cn.trinea.android.common.util.PackageUtils
Installation return code
the requested shared user does not exist.
INSTALL_FAILED_OLDER_SDK - Static variable in class cn.trinea.android.common.util.PackageUtils
Installation return code
the new package failed because the current SDK version is older than that required by the package.
INSTALL_FAILED_OTHER - Static variable in class cn.trinea.android.common.util.PackageUtils
Installation return code
other reason
INSTALL_FAILED_PACKAGE_CHANGED - Static variable in class cn.trinea.android.common.util.PackageUtils
Installation return code
the package changed from what the calling program expected.
INSTALL_FAILED_REPLACE_COULDNT_DELETE - Static variable in class cn.trinea.android.common.util.PackageUtils
Installation return code
the new package uses a shared library that is not available.
INSTALL_FAILED_SHARED_USER_INCOMPATIBLE - Static variable in class cn.trinea.android.common.util.PackageUtils
Installation return code
the new package is requested a shared user which is already installed on the device and does not have matching signature.
INSTALL_FAILED_TEST_ONLY - Static variable in class cn.trinea.android.common.util.PackageUtils
Installation return code
the new package failed because it has specified that it is a test-only package and the caller has not supplied the #INSTALL_ALLOW_TEST flag.
INSTALL_FAILED_UID_CHANGED - Static variable in class cn.trinea.android.common.util.PackageUtils
Installation return code
the new package is assigned a different UID than it previously held.
INSTALL_FAILED_UPDATE_INCOMPATIBLE - Static variable in class cn.trinea.android.common.util.PackageUtils
Installation return code
a previously installed package of the same name has a different signature than the new package (and the old package's data was not removed).
INSTALL_FAILED_VERIFICATION_FAILURE - Static variable in class cn.trinea.android.common.util.PackageUtils
Installation return code
the new package couldn't be installed because the verification did not succeed.
INSTALL_FAILED_VERIFICATION_TIMEOUT - Static variable in class cn.trinea.android.common.util.PackageUtils
Installation return code
the new package couldn't be installed because the verification timed out.
INSTALL_PARSE_FAILED_BAD_MANIFEST - Static variable in class cn.trinea.android.common.util.PackageUtils
Installation return code
if the parser was unable to retrieve the AndroidManifest.xml file.
INSTALL_PARSE_FAILED_BAD_PACKAGE_NAME - Static variable in class cn.trinea.android.common.util.PackageUtils
Installation return code
if the parser encountered a bad or missing package name in the manifest.
INSTALL_PARSE_FAILED_BAD_SHARED_USER_ID - Static variable in class cn.trinea.android.common.util.PackageUtils
Installation return code
if the parser encountered a bad shared user id name in the manifest.
INSTALL_PARSE_FAILED_CERTIFICATE_ENCODING - Static variable in class cn.trinea.android.common.util.PackageUtils
Installation return code
if the parser encountered a CertificateEncodingException in one of the files in the .apk.
INSTALL_PARSE_FAILED_INCONSISTENT_CERTIFICATES - Static variable in class cn.trinea.android.common.util.PackageUtils
Installation return code
if the parser found inconsistent certificates on the files in the .apk.
INSTALL_PARSE_FAILED_MANIFEST_EMPTY - Static variable in class cn.trinea.android.common.util.PackageUtils
Installation return code
if the parser did not find any actionable tags (instrumentation or application) in the manifest.
INSTALL_PARSE_FAILED_MANIFEST_MALFORMED - Static variable in class cn.trinea.android.common.util.PackageUtils
Installation return code
if the parser encountered some structural problem in the manifest.
INSTALL_PARSE_FAILED_NO_CERTIFICATES - Static variable in class cn.trinea.android.common.util.PackageUtils
Installation return code
if the parser did not find any certificates in the .apk.
INSTALL_PARSE_FAILED_NOT_APK - Static variable in class cn.trinea.android.common.util.PackageUtils
Installation return code
if the parser was given a path that is not a file, or does not end with the expected '.apk' extension.
INSTALL_PARSE_FAILED_UNEXPECTED_EXCEPTION - Static variable in class cn.trinea.android.common.util.PackageUtils
Installation return code
if the parser encountered an unexpected exception.
INSTALL_SUCCEEDED - Static variable in class cn.trinea.android.common.util.PackageUtils
Installation return code
install success.
installNormal(Context, String) - Static method in class cn.trinea.android.common.util.PackageUtils
install package normal by system intent
installSilent(Context, String) - Static method in class cn.trinea.android.common.util.PackageUtils
install package silent by root Attentions: Don't call this on the ui thread, it may costs some times.
installSilent(Context, String, String) - Static method in class cn.trinea.android.common.util.PackageUtils
install package silent by root Attentions: Don't call this on the ui thread, it may costs some times.
invertList(List<V>) - Static method in class cn.trinea.android.common.util.ListUtils
invert list
isAutoLoadOnBottom - Static variable in class cn.trinea.android.common.R.attr
Must be a boolean value, either "true" or "false".
isAutoLoadOnBottom() - Method in class cn.trinea.android.common.view.DropDownListView
 
isBlank(String) - Static method in class cn.trinea.android.common.util.StringUtils
is null or its length is 0 or it is made by space isBlank(null) = true; isBlank("") = true; isBlank(" ") = true; isBlank("a") = false; isBlank("a ") = false; isBlank(" a") = false; isBlank("a b") = false;
isCheckNetwork() - Method in class cn.trinea.android.common.service.impl.ImageCache
 
isCheckNetwork() - Method in class cn.trinea.android.common.service.impl.PreloadDataCache
get whether to check the network at first when get data, used when PreloadDataCache.checkIsNetworkTypeAllowed()
isDropDownStyle - Static variable in class cn.trinea.android.common.R.attr
Must be a boolean value, either "true" or "false".
isDropDownStyle() - Method in class cn.trinea.android.common.view.DropDownListView
 
isEmpty(V[]) - Static method in class cn.trinea.android.common.util.ArrayUtils
is null or its length is 0
isEmpty(List<V>) - Static method in class cn.trinea.android.common.util.ListUtils
is null or its size is 0 isEmpty(null) = true; isEmpty({}) = true; isEmpty({1}) = false;
isEmpty(Map<K, V>) - Static method in class cn.trinea.android.common.util.MapUtils
is null or its size is 0 isEmpty(null) = true; isEmpty({}) = true; isEmpty({1, 2}) = false;
isEmpty(String) - Static method in class cn.trinea.android.common.util.StringUtils
is null or its length is 0 isEmpty(null) = true; isEmpty("") = true; isEmpty(" ") = false;
isEquals(ArrayList<V>, ArrayList<V>) - Static method in class cn.trinea.android.common.util.ListUtils
compare two list isEquals(null, null) = true; isEquals(new ArrayList<String>(), null) = false; isEquals(null, new ArrayList<String>()) = false; isEquals(new ArrayList<String>(), new ArrayList<String>()) = true;
isEquals(Object, Object) - Static method in class cn.trinea.android.common.util.ObjectUtils
compare two object
isEquals(String, String) - Static method in class cn.trinea.android.common.util.StringUtils
compare two string
isExistGettingDataThread(K) - Method in class cn.trinea.android.common.service.impl.PreloadDataCache
whether there is a thread which is getting data for the specified key
isExistPauseAndResumeMethod() - Static method in class cn.trinea.android.common.util.DownloadManagerPro
whether exist pauseDownload and resumeDownload method in DownloadManager
isExpired() - Method in class cn.trinea.android.common.entity.CacheObject
Get whether has expired, default is false
isExpired() - Method in class cn.trinea.android.common.entity.HttpResponse
whether this response has expired
isFileExist(String) - Static method in class cn.trinea.android.common.util.FileUtils
Indicates if this file represents a file on the underlying file system.
isFolderExist(String) - Static method in class cn.trinea.android.common.util.FileUtils
Indicates if this file represents a directory on the underlying file system.
isForever() - Method in class cn.trinea.android.common.entity.CacheObject
Get whether is valid forever, default is false
isHasMore() - Method in class cn.trinea.android.common.view.DropDownListView
get whether has more
isInCache() - Method in class cn.trinea.android.common.entity.HttpResponse
get isInCache, this is a client mark, whethero is in client cache
isOnBottomStyle - Static variable in class cn.trinea.android.common.R.attr
Must be a boolean value, either "true" or "false".
isOnBottomStyle() - Method in class cn.trinea.android.common.view.DropDownListView
 
isOpenWaitingQueue() - Method in class cn.trinea.android.common.service.impl.ImageMemoryCache
get whether open waiting queue, default is true.
isOpenWaitingQueue() - Method in class cn.trinea.android.common.service.impl.ImageSDCardCache
get whether open waiting queue, default is true.
isPrintException - Static variable in class cn.trinea.android.common.util.JSONUtils
 
isShowFooterProgressBar() - Method in class cn.trinea.android.common.view.DropDownListView
get whether show footer loading progress bar when loading
isShowFooterWhenNoMore() - Method in class cn.trinea.android.common.view.DropDownListView
get isShowFooterWhenNoMore
isSystemApplication(Context) - Static method in class cn.trinea.android.common.util.PackageUtils
whether context is system application
isSystemApplication(Context, String) - Static method in class cn.trinea.android.common.util.PackageUtils
whether packageName is system application
isSystemApplication(PackageManager, String) - Static method in class cn.trinea.android.common.util.PackageUtils
whether packageName is system application
isTopActivity(Context, String) - Static method in class cn.trinea.android.common.util.PackageUtils
whether the app whost package's name is packageName is on the top of the stack Attentions: You should add android.permission.GET_TASKS in manifest
A B C D E F G H I J K L M N O P R S T U V W