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

A

abortEdit() - Method in class in.srain.cube.diskcache.CacheEntry
 
abortEdit(CacheEntry) - Method in interface in.srain.cube.diskcache.DiskCache
abort edit
abortEdit(String) - Method in interface in.srain.cube.diskcache.DiskCache
abort edit by key
abortEdit(String) - Method in class in.srain.cube.diskcache.lru.LruActionTracer
 
abortEdit(CacheEntry) - Method in class in.srain.cube.diskcache.lru.LruActionTracer
 
abortEdit(CacheEntry) - Method in class in.srain.cube.diskcache.lru.SimpleDiskLruCache
 
abortEdit(String) - Method in class in.srain.cube.diskcache.lru.SimpleDiskLruCache
 
add(E) - Method in interface in.srain.cube.concurrent.BlockingDeque
Inserts the specified element into the queue represented by this deque (in other words, at the tail of this deque) if it is possible to do so immediately without violating capacity restrictions, returning true upon success and throwing an IllegalStateException if no space is currently available.
add(E) - Method in interface in.srain.cube.concurrent.Deque
Inserts the specified element into the queue represented by this deque (in other words, at the tail of this deque) if it is possible to do so immediately without violating capacity restrictions, returning true upon success and throwing an IllegalStateException if no space is currently available.
add(E) - Method in class in.srain.cube.concurrent.LinkedBlockingDeque
Inserts the specified element at the end of this deque unless it would violate capacity restrictions.
add(T) - Method in class in.srain.cube.set.hash.SimpleHashSet
 
addBitmapToMemCache(String, BitmapDrawable) - Method in class in.srain.cube.image.ImageProvider
 
addComponent(LifeCycleComponent) - Method in class in.srain.cube.app.CubeFragment
=========================================================== Implements IComponentContainer ===========================================================
addComponent(LifeCycleComponent) - Method in interface in.srain.cube.app.lifecycle.IComponentContainer
 
addComponent(LifeCycleComponent) - Method in class in.srain.cube.app.lifecycle.LifeCycleComponentManager
 
addComponent(LifeCycleComponent) - Method in class in.srain.cube.app.XActivity
 
addFile(String, String) - Method in class in.srain.cube.request.RequestData
add file to be uploaded
addFile(String, String, String) - Method in class in.srain.cube.request.RequestData
add file to be uploaded
addFile(String, File) - Method in class in.srain.cube.request.RequestData
 
addFile(String, File, String) - Method in class in.srain.cube.request.RequestData
 
addFilePart(String, File, String) - Method in class in.srain.cube.request.sender.MultiPartRequestSender
Adds a upload file section to the request
addFirst(E) - Method in interface in.srain.cube.concurrent.BlockingDeque
Inserts the specified element at the front of this deque if it is possible to do so immediately without violating capacity restrictions, throwing an IllegalStateException if no space is currently available.
addFirst(E) - Method in interface in.srain.cube.concurrent.Deque
Inserts the specified element at the front of this deque if it is possible to do so immediately without violating capacity restrictions.
addFirst(E) - Method in class in.srain.cube.concurrent.LinkedBlockingDeque
 
addFooterView(View) - Method in class in.srain.cube.views.GridViewWithHeaderAndFooter
 
addFooterView(View, Object, boolean) - Method in class in.srain.cube.views.GridViewWithHeaderAndFooter
 
addFooterView(View) - Method in class in.srain.cube.views.loadmore.LoadMoreContainerBase
 
addFooterView(View) - Method in class in.srain.cube.views.loadmore.LoadMoreGridViewContainer
 
addFooterView(View) - Method in class in.srain.cube.views.loadmore.LoadMoreListViewContainer
 
addFormField(String, String) - Method in class in.srain.cube.request.sender.MultiPartRequestSender
Adds a form field to the request
addHandler(HandlerHolder, T) - Static method in class in.srain.cube.util.HandlerHolder
 
addHeader(String, Object) - Method in class in.srain.cube.request.RequestData
 
addHeaderView(View) - Method in class in.srain.cube.views.GridViewWithHeaderAndFooter
Add a fixed view to appear at the top of the grid.
addHeaderView(View, Object, boolean) - Method in class in.srain.cube.views.GridViewWithHeaderAndFooter
Add a fixed view to appear at the top of the grid.
addImageTask(ImageTask, CubeImageView) - Method in class in.srain.cube.image.ImageLoader
Add the ImageTask into loading list.
addImageView(CubeImageView) - Method in class in.srain.cube.image.ImageTask
Bind ImageView with ImageTask
addItemInfo(ArrayList<MenuItemFragment.MenuItemInfo>) - Method in class in.srain.cube.mints.base.MenuItemFragment
 
addLast(E) - Method in interface in.srain.cube.concurrent.BlockingDeque
Inserts the specified element at the end of this deque if it is possible to do so immediately without violating capacity restrictions, throwing an IllegalStateException if no space is currently available.
addLast(E) - Method in interface in.srain.cube.concurrent.Deque
Inserts the specified element at the end of this deque if it is possible to do so immediately without violating capacity restrictions.
addLast(E) - Method in class in.srain.cube.concurrent.LinkedBlockingDeque
 
addPostData(String, Object) - Method in class in.srain.cube.request.RequestData
 
addPostData(Map<String, ?>) - Method in class in.srain.cube.request.RequestData
 
addQueryData(String, Object) - Method in class in.srain.cube.request.RequestData
 
addQueryData(Map<String, ?>) - Method in class in.srain.cube.request.RequestData
 
attachToCubeFragment(CubeFragment) - Method in class in.srain.cube.image.ImageLoader
LiefCycle phase will be same to CubeFragment, an will be processed automatically.
AutoPlayer - Class in in.srain.cube.views.mix
A player who can play a @Playable object.
AutoPlayer(AutoPlayer.Playable) - Constructor for class in.srain.cube.views.mix.AutoPlayer
 
AutoPlayer.Playable - Interface in in.srain.cube.views.mix
Define how an object can be auto-playable.
AutoPlayer.PlayDirection - Enum in in.srain.cube.views.mix
 
AutoPlayer.PlayRecycleMode - Enum in in.srain.cube.views.mix
 

B

BannerAdapter - Class in in.srain.cube.views.banner
 
BannerAdapter() - Constructor for class in.srain.cube.views.banner.BannerAdapter
 
BaseRequestSender - Class in in.srain.cube.request.sender
 
BaseRequestSender(IRequest<?>, HttpURLConnection) - Constructor for class in.srain.cube.request.sender.BaseRequestSender
 
beginDownLoad(String) - Method in class in.srain.cube.update.UpdateController
 
beginEdit(String) - Method in interface in.srain.cube.diskcache.DiskCache
begin edit an
beginEdit(String) - Method in class in.srain.cube.diskcache.lru.LruActionTracer
 
beginEdit(String) - Method in class in.srain.cube.diskcache.lru.SimpleDiskLruCache
 
beginPlay() - Method in class in.srain.cube.views.banner.SliderBanner
 
BlockingDeque<E> - Interface in in.srain.cube.concurrent
A Deque that additionally supports blocking operations that wait for the deque to become non-empty when retrieving an element, and wait for space to become available in the deque when storing an element.
BlockListAdapter<T> - Class in in.srain.cube.views.block
 
BlockListAdapter() - Constructor for class in.srain.cube.views.block.BlockListAdapter
 
BlockListView - Class in in.srain.cube.views.block
 
BlockListView(Context) - Constructor for class in.srain.cube.views.block.BlockListView
 
BlockListView(Context, AttributeSet) - Constructor for class in.srain.cube.views.block.BlockListView
 
BlockListView(Context, AttributeSet, int) - Constructor for class in.srain.cube.views.block.BlockListView
 
BlockListView.OnItemClickListener - Interface in in.srain.cube.views.block
 
BlockMenuFragment - Class in in.srain.cube.mints.base
 
BlockMenuFragment() - Constructor for class in.srain.cube.mints.base.BlockMenuFragment
 
buildQueryString(Map<String, ?>, String) - Static method in class in.srain.cube.request.RequestData
 
bytesToHexString(byte[]) - Static method in class in.srain.cube.util.Encrypt
 

C

CacheAbleRequest<T> - Class in in.srain.cube.request
 
CacheAbleRequest() - Constructor for class in.srain.cube.request.CacheAbleRequest
 
CacheAbleRequest(CacheAbleRequestHandler<T>) - Constructor for class in.srain.cube.request.CacheAbleRequest
 
CacheAbleRequest.ResultType - Enum in in.srain.cube.request
 
CacheAbleRequestDefaultHandler<T1> - Class in in.srain.cube.request
 
CacheAbleRequestDefaultHandler() - Constructor for class in.srain.cube.request.CacheAbleRequestDefaultHandler
 
CacheAbleRequestHandler<T1> - Interface in in.srain.cube.request
 
CacheAbleRequestJsonHandler - Class in in.srain.cube.request
 
CacheAbleRequestJsonHandler() - Constructor for class in.srain.cube.request.CacheAbleRequestJsonHandler
 
CacheEntry - Class in in.srain.cube.diskcache
 
CacheEntry(DiskCache, String) - Constructor for class in.srain.cube.diskcache.CacheEntry
 
cacheIsDisabled() - Method in interface in.srain.cube.cache.ICacheAble
check if cache is disabled
cacheIsDisabled() - Method in class in.srain.cube.cache.Query
 
cacheIsDisabled() - Method in class in.srain.cube.request.CacheAbleRequest
 
CacheManager - Class in in.srain.cube.cache
 
CacheManager(Context, String, int, int) - Constructor for class in.srain.cube.cache.CacheManager
 
CacheManagerFactory - Class in in.srain.cube.cache
 
CacheManagerFactory() - Constructor for class in.srain.cube.cache.CacheManagerFactory
 
CacheMetaData - Class in in.srain.cube.cache
A description for the data in cache system
cacheRequestResult() - Method in class in.srain.cube.request.CacheAbleRequest
 
CacheResultType - Enum in in.srain.cube.cache
 
calculateInSampleSize(int, int, int, int) - Static method in class in.srain.cube.image.impl.DefaultImageReSizer
Calculate an inSampleSize for use in a BitmapFactory.Options object when decoding bitmaps using the decode* methods from BitmapFactory.
cancel() - Method in class in.srain.cube.concurrent.SimpleTask
 
cancelRequest() - Method in interface in.srain.cube.request.IRequest
 
cancelRequest() - Method in class in.srain.cube.request.RequestBase
 
cancelTask(ImageTask) - Method in class in.srain.cube.image.ImageProvider
 
checkIsWifi(Context) - Static method in class in.srain.cube.util.NetworkStatusManager
 
chmod(String, String) - Static method in class in.srain.cube.diskcache.FileUtils
 
CircleProgress - Class in in.srain.cube.image.drawable
Created by bruce on 11/4/14.
CircleProgress(int) - Constructor for class in.srain.cube.image.drawable.CircleProgress
 
clear() - Method in class in.srain.cube.concurrent.LinkedBlockingDeque
Atomically removes all of the elements from this deque.
clear() - Method in interface in.srain.cube.diskcache.DiskCache
clear all data
clear() - Method in class in.srain.cube.diskcache.lru.LruActionTracer
 
clear() - Method in class in.srain.cube.diskcache.lru.SimpleDiskLruCache
clear all the content
clear() - Method in interface in.srain.cube.image.iface.ImageMemoryCache
 
clear() - Method in class in.srain.cube.image.impl.DefaultMemoryCache
clear the memory cache
clear() - Method in class in.srain.cube.set.hash.SimpleHashSet
 
clearColorFilter() - Method in class in.srain.cube.views.MoreActionView
 
clearDiskCache() - Method in class in.srain.cube.cache.CacheManager
clear the disk cache
clearDiskCache() - Method in class in.srain.cube.image.ImageProvider
clear the disk cache
clearDrawable() - Method in class in.srain.cube.image.CubeImageView
 
clearForRecycle() - Method in class in.srain.cube.image.ImageTask
 
clearList() - Method in class in.srain.cube.views.list.PagedListViewDataAdapter
 
clearMemoryCache() - Method in class in.srain.cube.cache.CacheManager
clear the memory cache
clearMemoryCache() - Method in class in.srain.cube.image.ImageProvider
clear the memory cache
clone() - Method in class in.srain.cube.set.hash.SimpleHashSet
 
close() - Method in interface in.srain.cube.diskcache.DiskCache
close the cache
close() - Method in class in.srain.cube.diskcache.lru.LruActionTracer
 
close() - Method in class in.srain.cube.diskcache.lru.SimpleDiskLruCache
Closes this cache.
closeDiskCacheAsync() - Method in class in.srain.cube.cache.DiskCacheProvider
close the disk cache
closeQuietly(Closeable) - Static method in class in.srain.cube.diskcache.FileUtils
Closes 'closeable', ignoring any checked exceptions.
cls - Variable in class in.srain.cube.app.FragmentParam
 
commit() - Method in class in.srain.cube.diskcache.CacheEntry
Commits this edit so it is visible to readers.
commitEdit(CacheEntry) - Method in interface in.srain.cube.diskcache.DiskCache
abort edit by key
commitEdit(CacheEntry) - Method in class in.srain.cube.diskcache.lru.LruActionTracer
 
commitEdit(CacheEntry) - Method in class in.srain.cube.diskcache.lru.SimpleDiskLruCache
 
contains(Object) - Method in interface in.srain.cube.concurrent.BlockingDeque
Returns true if this deque contains the specified element.
contains(Object) - Method in interface in.srain.cube.concurrent.Deque
Returns true if this deque contains the specified element.
contains(Object) - Method in class in.srain.cube.concurrent.LinkedBlockingDeque
Returns true if this deque contains the specified element.
contains(Object) - Method in class in.srain.cube.set.hash.SimpleHashSet
 
continueAfterCreateData(ICacheAble<T>, String) - Method in class in.srain.cube.cache.CacheManager
 
continueAfterCreateData(String) - Method in class in.srain.cube.cache.Query
 
create(String, int, int) - Static method in class in.srain.cube.concurrent.SimpleExecutor
 
create(Context) - Static method in class in.srain.cube.image.ImageLoaderFactory
 
create(Context, ImageLoadHandler) - Static method in class in.srain.cube.image.ImageLoaderFactory
 
create(String) - Method in class in.srain.cube.image.ImageReuseInfoManger
Find out the size list can be re-sued.
create(String) - Static method in class in.srain.cube.request.JsonData
 
create(Object) - Static method in class in.srain.cube.request.JsonData
 
create(IRequest<T>) - Static method in class in.srain.cube.request.sender.RequestSenderFactory
 
create() - Static method in class in.srain.cube.util.HandlerHolder
 
create(Object, Class<?>, Object...) - Static method in class in.srain.cube.views.list.LazyViewHolderCreator
 
createBitmapDrawable(Resources, Bitmap) - Method in class in.srain.cube.image.ImageProvider
Create a BitmapDrawable which can be managed in ImageProvider
createDataForCache(Query<T>) - Method in interface in.srain.cube.cache.QueryHandler
create data when cache data is no existent
createForNow(String) - Static method in class in.srain.cube.cache.CacheMetaData
 
createFromJson(JsonData) - Static method in class in.srain.cube.cache.CacheMetaData
 
createImageTask(String, int, int, ImageReuseInfo) - Method in class in.srain.cube.image.ImageLoader
Create an ImageTask.
createInvalidated(String) - Static method in class in.srain.cube.cache.CacheMetaData
 
createLru(Context, File, long) - Static method in class in.srain.cube.cache.DiskCacheProvider
 
createLru(long, File) - Static method in class in.srain.cube.image.ImageDiskCacheProvider
 
createStableImageLoader(Context) - Static method in class in.srain.cube.image.ImageLoaderFactory
 
createStableImageLoader(Context, ImageLoadHandler) - Static method in class in.srain.cube.image.ImageLoaderFactory
 
createView(LayoutInflater, ViewGroup, Bundle) - Method in class in.srain.cube.app.CubeFragment
 
createView(LayoutInflater, ViewGroup, Bundle) - Method in class in.srain.cube.mints.base.MenuItemFragment
 
createView(LayoutInflater) - Method in class in.srain.cube.views.list.ViewHolderBase
create a view from resource Xml file, and hold the view that may be used in displaying data.
createView(LayoutInflater, int) - Method in class in.srain.cube.views.pager.TabPageIndicator.ViewHolderBase
 
createViewHolder() - Method in class in.srain.cube.views.list.LazyViewHolderCreator
 
createViewHolder() - Method in interface in.srain.cube.views.list.ViewHolderCreator
 
createViewHolder() - Method in class in.srain.cube.views.pager.TabPageIndicator.ViewHolderCreator
 
Cube - Class in in.srain.cube
 
CubeDebug - Class in in.srain.cube.util
 
CubeDebug() - Constructor for class in.srain.cube.util.CubeDebug
 
CubeFragment - Class in in.srain.cube.app
CubeFragment() - Constructor for class in.srain.cube.app.CubeFragment
 
CubeFragmentActivity - Class in in.srain.cube.app
 
CubeFragmentActivity() - Constructor for class in.srain.cube.app.CubeFragmentActivity
 
CubeImageView - Class in in.srain.cube.image
Sub-class of ImageView which: automatically notifies the Drawable when it is being displayed.
CubeImageView(Context) - Constructor for class in.srain.cube.image.CubeImageView
 
CubeImageView(Context, AttributeSet) - Constructor for class in.srain.cube.image.CubeImageView
 
CubeImageView(Context, AttributeSet, int) - Constructor for class in.srain.cube.image.CubeImageView
 
customizeCache(Context, int, int) - Static method in class in.srain.cube.image.ImageLoaderFactory
customize cache
customizeCache(Context, int, String, int) - Static method in class in.srain.cube.image.ImageLoaderFactory
customize cache
customizeCache(Context, int, int, int) - Static method in class in.srain.cube.image.ImageLoaderFactory
customize cache
customizeCache(Context, int, String, int, String, int) - Static method in class in.srain.cube.image.ImageLoaderFactory
customize cache
customizedError(IRequest<?>, int, Object) - Static method in class in.srain.cube.request.FailData
 
CustomizedUri - Class in in.srain.cube.uri
 

D

data - Variable in class in.srain.cube.app.FragmentParam
 
dataFormatError(IRequest<?>, String) - Static method in class in.srain.cube.request.FailData
 
DEBUG - Static variable in class in.srain.cube.app.CubeFragmentActivity
 
DEBUG - Static variable in class in.srain.cube.cache.DiskCacheProvider
 
DEBUG - Static variable in class in.srain.cube.diskcache.lru.SimpleDiskLruCache
 
DEBUG - Static variable in class in.srain.cube.image.ImageDiskCacheProvider
 
DEBUG - Static variable in class in.srain.cube.image.ImageLoader
 
DEBUG - Static variable in class in.srain.cube.image.ImageProvider
 
DEBUG - Static variable in class in.srain.cube.image.impl.DefaultMemoryCache
 
DEBUG - Static variable in class in.srain.cube.request.CacheAbleRequest
 
DEBUG - Static variable in class in.srain.cube.views.GridViewWithHeaderAndFooter
 
DEBUG_CACHE - Static variable in class in.srain.cube.util.CubeDebug
 
DEBUG_IMAGE - Static variable in class in.srain.cube.util.CubeDebug
 
DEBUG_IMAGE_LOG_TAG - Static variable in class in.srain.cube.util.CubeDebug
 
DEBUG_IMAGE_LOG_TAG_PROVIDER - Static variable in class in.srain.cube.util.CubeDebug
 
DEBUG_IMAGE_LOG_TAG_TASK - Static variable in class in.srain.cube.util.CubeDebug
 
DEBUG_LIFE_CYCLE - Static variable in class in.srain.cube.util.CubeDebug
 
DEBUG_LIST - Static variable in class in.srain.cube.util.CubeDebug
 
DEBUG_PAGE_INDICATOR - Static variable in class in.srain.cube.util.CubeDebug
 
DEBUG_REQUEST - Static variable in class in.srain.cube.util.CubeDebug
 
DEBUG_REQUEST_LOG_TAG - Static variable in class in.srain.cube.util.CubeDebug
 
DEBUG_SCROLL_HEADER_FRAME - Static variable in class in.srain.cube.util.CubeDebug
 
DEFAULT_FILE_CACHE_SIZE_IN_KB - Static variable in class in.srain.cube.image.ImageLoaderFactory
 
DefaultImageLoadHandler - Class in in.srain.cube.image.impl
A simple implementation of ImageLoadHandler.
DefaultImageLoadHandler(Context) - Constructor for class in.srain.cube.image.impl.DefaultImageLoadHandler
 
DefaultImageReSizer - Class in in.srain.cube.image.impl
A default implementation of ImageReSizer
DefaultImageReSizer() - Constructor for class in.srain.cube.image.impl.DefaultImageReSizer
 
DefaultImageTaskExecutor - Class in in.srain.cube.image.impl
Use a Thread pool to manager the thread.
DefaultImageTaskExecutor.LinkedBlockingStack<T> - Class in in.srain.cube.image.impl
 
DefaultImageTaskExecutor.LinkedBlockingStack() - Constructor for class in.srain.cube.image.impl.DefaultImageTaskExecutor.LinkedBlockingStack
 
DefaultMemoryCache - Class in in.srain.cube.image.impl
 
DefaultMemoryCache(int) - Constructor for class in.srain.cube.image.impl.DefaultMemoryCache
 
DefaultRequestProxy - Class in in.srain.cube.request
 
DefaultRequestProxy() - Constructor for class in.srain.cube.request.DefaultRequestProxy
 
delete() - Method in class in.srain.cube.diskcache.CacheEntry
delete all content
delete(String) - Method in interface in.srain.cube.diskcache.DiskCache
delete if key exist, under edit can not be deleted
delete(String) - Method in class in.srain.cube.diskcache.lru.LruActionTracer
 
delete(String) - Method in class in.srain.cube.diskcache.lru.SimpleDiskLruCache
Drops the entry for key if it exists and can be removed.
delete(String) - Method in interface in.srain.cube.image.iface.ImageMemoryCache
 
delete(String) - Method in class in.srain.cube.image.impl.DefaultMemoryCache
 
deleteDirectoryQuickly(File) - Static method in class in.srain.cube.diskcache.FileUtils
Try to delete directory in a fast way.
deleteDirectoryRecursively(File) - Static method in class in.srain.cube.diskcache.FileUtils
recursively delete
deleteIfExists(File) - Static method in class in.srain.cube.diskcache.FileUtils
 
Deque<E> - Interface in in.srain.cube.concurrent
A linear collection that supports element insertion and removal at both ends.
descendingIterator() - Method in interface in.srain.cube.concurrent.Deque
Returns an iterator over the elements in this deque in reverse sequential order.
descendingIterator() - Method in class in.srain.cube.concurrent.LinkedBlockingDeque
Returns an iterator over the elements in this deque in reverse sequential order.
designedDP2px(float) - Static method in class in.srain.cube.util.LocalDisplay
 
destroy() - Method in class in.srain.cube.image.ImageLoader
Drop all the work, clear the work list.
destroyItem(ViewGroup, int, Object) - Method in class in.srain.cube.views.banner.BannerAdapter
 
detachImageViewFromImageTask(ImageTask, CubeImageView) - Method in class in.srain.cube.image.ImageLoader
Detach the ImageView from the ImageTask.
disableConnectionReuseIfNecessary() - Static method in class in.srain.cube.image.impl.SimpleDownloader
Workaround for bug pre-Froyo, see here for more info: http://android-developers.blogspot.com/2011/09/androids-http-clients.html
DiskCache - Interface in in.srain.cube.diskcache
 
DiskCacheProvider - Class in in.srain.cube.cache
It's easy to use.
DiskCacheProvider(DiskCache) - Constructor for class in.srain.cube.cache.DiskCacheProvider
 
DiskCacheProvider.AsyncTaskEventHandler - Interface in in.srain.cube.cache
 
DiskFileUtils - Class in in.srain.cube.cache
 
DiskFileUtils() - Constructor for class in.srain.cube.cache.DiskFileUtils
 
DiskFileUtils.CacheDirInfo - Class in in.srain.cube.cache
 
DiskFileUtils.CacheDirInfo() - Constructor for class in.srain.cube.cache.DiskFileUtils.CacheDirInfo
 
dispatchTouchEvent(MotionEvent) - Method in class in.srain.cube.views.banner.SliderBanner
 
dispatchTouchEvent(MotionEvent) - Method in class in.srain.cube.views.ScrollHeaderFrame
 
displayBlocks(List<T>) - Method in class in.srain.cube.views.block.BlockListAdapter
 
doInBackground() - Method in class in.srain.cube.concurrent.SimpleTask
A worker will execute this method in a background thread
doInBackground() - Method in class in.srain.cube.update.DownloadTask
 
doQueryData() - Method in class in.srain.cube.views.list.PagedListDataModel
 
doQueryFromServer() - Method in class in.srain.cube.request.CacheAbleRequest
 
doRequestSync() - Method in class in.srain.cube.request.CacheAbleRequest
Timeout will not be considerate
doRequestSync() - Method in class in.srain.cube.request.RequestBase
implement this method to request data synchronously
doRequestSync() - Method in class in.srain.cube.request.SimpleRequest
 
doReturnBack() - Method in class in.srain.cube.app.CubeFragmentActivity
 
doSendRequest() - Method in class in.srain.cube.request.CacheAbleRequest
 
doSendRequest() - Method in class in.srain.cube.request.RequestBase
implement this method to process request data
doSendRequest() - Method in class in.srain.cube.request.SimpleRequest
 
doSyncRequest(IRequest<T>) - Static method in class in.srain.cube.request.DefaultRequestProxy
 
DotView - Class in in.srain.cube.views
 
DotView(Context) - Constructor for class in.srain.cube.views.DotView
 
DotView(Context, AttributeSet) - Constructor for class in.srain.cube.views.DotView
 
DotView.OnDotClickHandler - Interface in in.srain.cube.views
 
downloadAndGetInputStream(ImageDownloader, ImageTask, String, String) - Method in class in.srain.cube.image.ImageDiskCacheProvider
 
DownLoadListener - Interface in in.srain.cube.update
 
DownloadTask - Class in in.srain.cube.update
 
DownloadTask(DownLoadListener, String, String) - Constructor for class in.srain.cube.update.DownloadTask
 
downloadToStream(ImageTask, String, OutputStream, ProgressUpdateHandler) - Method in interface in.srain.cube.image.iface.ImageDownloader
 
downloadToStream(ImageTask, String, OutputStream, ProgressUpdateHandler) - Method in class in.srain.cube.image.impl.SimpleDownloader
Download a bitmap from a URL and write the content to an output stream.
dp2px(float) - Static method in class in.srain.cube.util.LocalDisplay
 
drainTo(Collection<? super E>) - Method in class in.srain.cube.concurrent.LinkedBlockingDeque
 
drainTo(Collection<? super E>, int) - Method in class in.srain.cube.concurrent.LinkedBlockingDeque
 
draw(Canvas) - Method in class in.srain.cube.image.drawable.CircleProgress
 
draw(Canvas) - Method in class in.srain.cube.image.drawable.RoundedDrawable
 
draw(Canvas) - Method in class in.srain.cube.image.drawable.TextDrawable
 

E

editList(String) - Method in class in.srain.cube.request.JsonData
 
editList(int) - Method in class in.srain.cube.request.JsonData
 
editList() - Method in class in.srain.cube.request.JsonData
 
editMap(int) - Method in class in.srain.cube.request.JsonData
 
editMap() - Method in class in.srain.cube.request.JsonData
 
editMap(String) - Method in class in.srain.cube.request.JsonData
 
element() - Method in interface in.srain.cube.concurrent.BlockingDeque
Retrieves, but does not remove, the head of the queue represented by this deque (in other words, the first element of this deque).
element() - Method in interface in.srain.cube.concurrent.Deque
Retrieves, but does not remove, the head of the queue represented by this deque (in other words, the first element of this deque).
element() - Method in class in.srain.cube.concurrent.LinkedBlockingDeque
Retrieves, but does not remove, the head of the queue represented by this deque.
EMPTY_VALUE - Static variable in class in.srain.cube.request.sender.BaseRequestSender
 
enableDefaultBack() - Method in class in.srain.cube.mints.base.BlockMenuFragment
 
enableDefaultBack() - Method in class in.srain.cube.mints.base.MenuItemFragment
 
enableDefaultBack() - Method in class in.srain.cube.mints.base.TitleBaseActivity
 
enableDefaultBack() - Method in class in.srain.cube.mints.base.TitleBaseFragment
 
enableStrictMode() - Static method in class in.srain.cube.util.Version
 
Encrypt - Class in in.srain.cube.util
Class from encrypting string
Env - Class in in.srain.cube.util
 
Env() - Constructor for class in.srain.cube.util.Env
 
equals(Object) - Method in class in.srain.cube.image.ImageTask
 
ERROR_BAD_FORMAT - Static variable in class in.srain.cube.image.ImageTask
 
ERROR_CUSTOMIZED - Static variable in class in.srain.cube.request.FailData
 
ERROR_DATA_FORMAT - Static variable in class in.srain.cube.request.FailData
 
ERROR_INPUT - Static variable in class in.srain.cube.request.FailData
 
ERROR_NETWORK - Static variable in class in.srain.cube.image.ImageTask
 
ERROR_NETWORK - Static variable in class in.srain.cube.request.FailData
 
ERROR_UNKNOWN - Static variable in class in.srain.cube.request.FailData
 
execute(Runnable) - Method in class in.srain.cube.concurrent.SimpleExecutor
 
execute(Runnable) - Method in class in.srain.cube.image.impl.DefaultImageTaskExecutor
 
exitFullScreen() - Method in class in.srain.cube.app.CubeFragmentActivity
 

F

FailData - Class in in.srain.cube.request
 
fetchBitmapData(ImageLoader, ImageTask, ImageReSizer) - Method in class in.srain.cube.image.ImageProvider
Get Bitmap.
fieldName - Variable in class in.srain.cube.request.RequestData.UploadFileInfo
 
fileName - Variable in class in.srain.cube.request.RequestData.UploadFileInfo
 
FileUtils - Class in in.srain.cube.diskcache
 
FileUtils() - Constructor for class in.srain.cube.diskcache.FileUtils
 
firstItem() - Method in class in.srain.cube.views.list.ListPageInfo
the first item in list
flush() - Method in interface in.srain.cube.diskcache.DiskCache
flush data to dish
flush() - Method in class in.srain.cube.diskcache.lru.LruActionTracer
Force buffered operations to the filesystem.
flush() - Method in class in.srain.cube.diskcache.lru.SimpleDiskLruCache
Force buffered operations to the filesystem.
flushDiskCacheAsync() - Method in class in.srain.cube.cache.DiskCacheProvider
flush the data to disk cache
flushDiskCacheAsyncWithDelay(int) - Method in class in.srain.cube.cache.DiskCacheProvider
flush the data to disk cache
flushFileCache() - Method in class in.srain.cube.image.ImageLoader
flush un-cached image to disk
flushFileCache() - Method in class in.srain.cube.image.ImageProvider
 
forceCreateView(boolean) - Method in class in.srain.cube.views.list.ListViewDataAdapterBase
 
forceQueryFromServer(boolean) - Method in class in.srain.cube.request.CacheAbleRequest
 
FragmentParam - Class in in.srain.cube.app
 
FragmentParam() - Constructor for class in.srain.cube.app.FragmentParam
 
from - Variable in class in.srain.cube.app.FragmentParam
 
fromIntent(Intent, String) - Static method in class in.srain.cube.uri.CustomizedUri
 

G

generateFileCacheKeyForReuse(String) - Method in class in.srain.cube.image.ImageTask
 
generateIdentityKey() - Method in class in.srain.cube.image.ImageTask
Generate the identity key.
generateIdentityUrl(ImageTask) - Method in interface in.srain.cube.image.iface.NameGenerator
 
generateIdentityUrl(String) - Method in class in.srain.cube.image.ImageTask
In some situations, we may store the same image in some different servers.
get(String) - Method in interface in.srain.cube.image.iface.ImageMemoryCache
 
get(String) - Method in class in.srain.cube.image.impl.DefaultMemoryCache
Get from memory cache.
getAndroidId() - Method in class in.srain.cube.Cube
 
getAssertInitDataPath() - Method in interface in.srain.cube.cache.ICacheAble
 
getAssertInitDataPath() - Method in class in.srain.cube.cache.Query
 
getAssertInitDataPath() - Method in class in.srain.cube.request.CacheAbleRequest
 
getBitmapDrawableSize() - Method in class in.srain.cube.image.ImageTaskStatistics
 
getBitmapFromMemCache(ImageTask) - Method in class in.srain.cube.image.ImageProvider
Get from memory cache.
getBitmapOriginSize() - Method in class in.srain.cube.image.ImageTask
 
getBitmapSize(BitmapDrawable) - Static method in class in.srain.cube.image.ImageProvider
Get the size in bytes of a bitmap in a BitmapDrawable.
getBlockHeight() - Method in class in.srain.cube.views.block.BlockListAdapter
 
getBlockWidth() - Method in class in.srain.cube.views.block.BlockListAdapter
 
getCacheData() - Method in class in.srain.cube.cache.CacheMetaData
 
getCacheFile() - Method in class in.srain.cube.diskcache.CacheEntry
 
getCacheKey() - Method in interface in.srain.cube.cache.ICacheAble
 
getCacheKey() - Method in class in.srain.cube.cache.Query
 
getCacheKey() - Method in class in.srain.cube.request.CacheAbleRequest
 
getCacheTime() - Method in interface in.srain.cube.cache.ICacheAble
In seconds
getCacheTime() - Method in class in.srain.cube.cache.Query
 
getCacheTime() - Method in class in.srain.cube.request.CacheAbleRequest
 
getCapacity() - Method in interface in.srain.cube.diskcache.DiskCache
 
getCapacity() - Method in class in.srain.cube.diskcache.lru.LruActionTracer
 
getCapacity() - Method in class in.srain.cube.diskcache.lru.SimpleDiskLruCache
 
getCenterViewContainer() - Method in class in.srain.cube.mints.base.TitleHeaderBar
 
getCheckFileCacheTime() - Method in class in.srain.cube.image.ImageTaskStatistics
check if has file cache
getCloseWarning() - Method in class in.srain.cube.app.CubeFragmentActivity
return the string id of close warning

return value which lower than 1 will exit instantly when press back key

getCloseWarning() - Method in class in.srain.cube.mints.base.MintsBaseActivity
 
getCloumnNum() - Method in class in.srain.cube.views.block.BlockListAdapter
 
getColor() - Method in class in.srain.cube.mints.base.MenuItemFragment.MenuItemInfo
 
getContentContainer() - Method in class in.srain.cube.mints.base.TitleBaseActivity
 
getContentView() - Method in class in.srain.cube.views.ScrollHeaderFrame
 
getContext() - Method in class in.srain.cube.app.CubeFragment
 
getContext() - Method in class in.srain.cube.Cube
 
getCount() - Method in class in.srain.cube.views.block.BlockListAdapter
 
getCount() - Method in class in.srain.cube.views.list.ListViewDataAdapter
 
getCount() - Method in class in.srain.cube.views.list.PagedListViewDataAdapter
 
getCurrent() - Method in interface in.srain.cube.views.mix.AutoPlayer.Playable
 
getCurrentIndex() - Method in interface in.srain.cube.views.banner.PagerIndicator
 
getCurrentIndex() - Method in class in.srain.cube.views.DotView
 
getCustomErrorType() - Method in class in.srain.cube.request.FailData
 
getData() - Method in class in.srain.cube.cache.CacheMetaData
 
getData(Class<T>) - Method in class in.srain.cube.request.FailData
 
getDataList() - Method in class in.srain.cube.views.list.ListPageInfo
 
getDataList() - Method in class in.srain.cube.views.list.ListViewDataAdapter
 
getDecodeTime() - Method in class in.srain.cube.image.ImageTaskStatistics
Decode from file cache
getDefault() - Static method in class in.srain.cube.cache.CacheManagerFactory
 
getDefaultImageProvider(Context) - Static method in class in.srain.cube.image.ImageLoaderFactory
 
getDefaultMemoryCacheSizeInKB() - Static method in class in.srain.cube.image.ImageLoaderFactory
 
getDirectory() - Method in interface in.srain.cube.diskcache.DiskCache
 
getDirectory() - Method in class in.srain.cube.diskcache.lru.LruActionTracer
 
getDirectory() - Method in class in.srain.cube.diskcache.lru.SimpleDiskLruCache
Returns the directory where this cache stores its data.
getDiskCache() - Method in class in.srain.cube.cache.DiskCacheProvider
If disk is not read, will prepare it first.
getDiskCacheDir(Context, String, int, String) - Static method in class in.srain.cube.cache.DiskFileUtils
 
getDiskCacheDir(Context, String, long) - Static method in class in.srain.cube.cache.DiskFileUtils
Get a usable cache directory (external if available, internal otherwise).
getDiskCacheProvider() - Method in class in.srain.cube.cache.CacheManager
 
getDownLoadSpeed() - Method in class in.srain.cube.image.ImageTaskStatistics
KillBytes / s
getDownloadTime() - Method in class in.srain.cube.image.ImageTaskStatistics
Download from remote server
getDrawText() - Method in class in.srain.cube.image.drawable.CircleProgress
 
getEntry(String) - Method in interface in.srain.cube.diskcache.DiskCache
 
getEntry(String) - Method in class in.srain.cube.diskcache.lru.LruActionTracer
Returns a CacheEntry named key, or null if it doesn't exist is not currently readable.
getEntry(String) - Method in class in.srain.cube.diskcache.lru.SimpleDiskLruCache
Returns a CacheEntry named key, or null if it doesn't exist is not currently readable.
getEnvTag() - Static method in class in.srain.cube.util.Env
 
getErrorType() - Method in class in.srain.cube.request.FailData
 
getExternalCacheDir(Context) - Static method in class in.srain.cube.cache.DiskFileUtils
Get the external application cache directory.
getFailData() - Method in interface in.srain.cube.request.IRequest
 
getFailData() - Method in class in.srain.cube.request.RequestBase
 
getFileCacheKey() - Method in class in.srain.cube.image.ImageTask
Return the cache key for file cache.
getFileCacheMaxSpace() - Method in class in.srain.cube.cache.CacheManager
get the max space for file cache
getFileCacheMaxSpace() - Method in class in.srain.cube.image.ImageProvider
 
getFileCachePath() - Method in class in.srain.cube.cache.CacheManager
return the file cache path
getFileCachePath() - Method in class in.srain.cube.image.ImageProvider
return the file cache path
getFileCacheUsedSpace() - Method in class in.srain.cube.cache.CacheManager
get the used space in file cache
getFileCacheUsedSpace() - Method in class in.srain.cube.image.ImageProvider
get the used space
getFinishedColor() - Method in class in.srain.cube.image.drawable.CircleProgress
 
getFirst() - Method in interface in.srain.cube.concurrent.Deque
Retrieves, but does not remove, the first element of this deque.
getFirst() - Method in class in.srain.cube.concurrent.LinkedBlockingDeque
 
getFooterViewCount() - Method in class in.srain.cube.views.GridViewWithHeaderAndFooter
 
getFragmentContainerId() - Method in class in.srain.cube.app.CubeFragmentActivity
 
getFragmentContainerId() - Method in class in.srain.cube.mints.base.MintsBaseActivity
 
getFragmentTag(FragmentParam) - Method in class in.srain.cube.app.CubeFragmentActivity
 
getFrameLayoutId() - Method in class in.srain.cube.mints.base.TitleBaseActivity
 
getFrameLayoutId() - Method in class in.srain.cube.mints.base.TitleBaseFragment
 
getHeaderData() - Method in class in.srain.cube.request.RequestData
 
getHeaderView() - Method in class in.srain.cube.views.ScrollHeaderFrame
 
getHeaderViewCount() - Method in class in.srain.cube.views.GridViewWithHeaderAndFooter
 
getHeaderViewLayoutId() - Method in class in.srain.cube.mints.base.TitleHeaderBar
 
getHorizontalSpacing() - Method in class in.srain.cube.views.block.BlockListAdapter
 
getIdentityKey() - Method in class in.srain.cube.image.ImageTask
Return the key which identifies this Image Wrapper object.
getIdentitySize() - Method in class in.srain.cube.image.ImageReuseInfo
 
getIdentityUrl() - Method in class in.srain.cube.image.ImageTask
For accessing the identity url
getImageDownloader() - Method in class in.srain.cube.image.ImageLoader
 
getImageFileSize() - Method in class in.srain.cube.image.ImageTaskStatistics
 
getImageLoadHandler() - Method in class in.srain.cube.image.ImageLoader
 
getImageProvider() - Method in class in.srain.cube.image.ImageLoader
 
getImageReSizer() - Method in class in.srain.cube.image.ImageLoader
 
getImageReuseInfo() - Method in class in.srain.cube.image.ImageTask
 
getInputStream() - Method in class in.srain.cube.diskcache.CacheEntry
Returns an unbuffered input stream to read the last committed value, or null if no value has been committed.
getInputStream(String) - Method in class in.srain.cube.image.ImageDiskCacheProvider
 
getInSampleSize(ImageTask) - Method in interface in.srain.cube.image.iface.ImageReSizer
Return the BitmapFactory.Options#inSampleSize, which will be used when load the image from the disk.
getInSampleSize(ImageTask) - Method in class in.srain.cube.image.impl.DefaultImageReSizer
 
getInstance() - Static method in class in.srain.cube.concurrent.SimpleExecutor
 
getInstance() - Static method in class in.srain.cube.Cube
 
getInstance() - Static method in class in.srain.cube.image.impl.DefaultImageReSizer
 
getInstance() - Static method in class in.srain.cube.image.impl.DefaultImageTaskExecutor
 
getInstance() - Static method in class in.srain.cube.image.impl.SimpleDownloader
 
getInstance() - Static method in class in.srain.cube.request.DefaultRequestProxy
 
getInstance() - Static method in class in.srain.cube.request.RequestCacheManager
 
getInstance() - Static method in class in.srain.cube.request.RequestManager
 
getInstance() - Static method in class in.srain.cube.update.UpdateController
 
getInstance() - Static method in class in.srain.cube.util.NetworkStatusManager
 
getInstance() - Static method in class in.srain.cube.util.SystemWatcher
 
getItem(int) - Method in class in.srain.cube.views.block.BlockListAdapter
 
getItem(int) - Method in class in.srain.cube.views.list.ListPageInfo
 
getItem(int) - Method in class in.srain.cube.views.list.ListViewDataAdapter
 
getItem(int) - Method in class in.srain.cube.views.list.ListViewDataAdapterBase
 
getItem(int) - Method in class in.srain.cube.views.list.PagedListViewDataAdapter
 
getItemId(int) - Method in class in.srain.cube.views.list.ListViewDataAdapter
 
getItemId(int) - Method in class in.srain.cube.views.list.PagedListViewDataAdapter
 
getKey() - Method in class in.srain.cube.diskcache.CacheEntry
 
getLast() - Method in interface in.srain.cube.concurrent.Deque
Retrieves, but does not remove, the last element of this deque.
getLast() - Method in class in.srain.cube.concurrent.LinkedBlockingDeque
 
getLastSize() - Method in class in.srain.cube.diskcache.CacheEntry
 
getLayoutId() - Method in class in.srain.cube.mints.base.BlockMenuFragment
 
getLayoutId() - Method in class in.srain.cube.mints.base.MenuItemFragment
 
getLeftImageView() - Method in class in.srain.cube.mints.base.TitleHeaderBar
 
getLeftViewContainer() - Method in class in.srain.cube.mints.base.TitleHeaderBar
 
getListLength() - Method in class in.srain.cube.views.list.ListPageInfo
 
getListPageInfo() - Method in class in.srain.cube.views.list.PagedListDataModel
 
getListPageInfo() - Method in class in.srain.cube.views.list.PagedListViewDataAdapter
 
getMap(Class<?>) - Static method in class in.srain.cube.util.ResourceMan
 
getMax() - Method in class in.srain.cube.image.drawable.CircleProgress
 
getMaxSize() - Method in interface in.srain.cube.image.iface.ImageMemoryCache
max byte
getMaxSize() - Method in class in.srain.cube.image.impl.DefaultMemoryCache
 
getMemoryCacheMaxSpace() - Method in class in.srain.cube.cache.CacheManager
get the spaced max space in config
getMemoryCacheMaxSpace() - Method in class in.srain.cube.image.ImageProvider
 
getMemoryCacheUsedSpace() - Method in class in.srain.cube.cache.CacheManager
get the spaced has been used
getMemoryCacheUsedSpace() - Method in class in.srain.cube.image.ImageProvider
 
getNetworkInfo() - Method in class in.srain.cube.util.NetworkStatusManager
Return the NetworkInfo associated with the most recent connectivity event.
getNumPerPage() - Method in class in.srain.cube.views.list.ListPageInfo
 
getOpacity() - Method in class in.srain.cube.image.drawable.CircleProgress
 
getOpacity() - Method in class in.srain.cube.image.drawable.RoundedDrawable
 
getOpacity() - Method in class in.srain.cube.image.drawable.TextDrawable
 
getOriginUrl() - Method in class in.srain.cube.image.ImageTask
Return the origin request url
getOriginUrl() - Method in class in.srain.cube.uri.CustomizedUri
 
getOtherNetworkInfo() - Method in class in.srain.cube.util.NetworkStatusManager
If the most recent connectivity event was a DISCONNECT, return any information supplied in the broadcast about an alternate network that might be available.
getPage() - Method in class in.srain.cube.views.list.ListPageInfo
start from 0
getPath() - Method in class in.srain.cube.uri.CustomizedUri
 
getPositionForIndicator(int) - Method in class in.srain.cube.views.banner.BannerAdapter
 
getPostData() - Method in class in.srain.cube.request.RequestData
 
getPostString() - Method in class in.srain.cube.request.RequestData
 
getPrefixText() - Method in class in.srain.cube.image.drawable.CircleProgress
 
getProgress() - Method in class in.srain.cube.image.drawable.CircleProgress
 
getProgressPercentage() - Method in class in.srain.cube.image.drawable.CircleProgress
 
getQueryData() - Method in class in.srain.cube.request.RequestData
 
getQueryData() - Method in class in.srain.cube.uri.CustomizedUri
 
getQueryString() - Method in class in.srain.cube.uri.CustomizedUri
 
getRawData() - Method in class in.srain.cube.request.FailData
 
getRawData() - Method in class in.srain.cube.request.JsonData
 
getReason() - Method in class in.srain.cube.util.NetworkStatusManager
An optional reason for the connectivity state change may have been supplied.
getRemoteUrl(ImageTask) - Method in interface in.srain.cube.image.iface.ImageReSizer
 
getRemoteUrl(ImageTask) - Method in interface in.srain.cube.image.iface.NameGenerator
 
getRemoteUrl() - Method in class in.srain.cube.image.ImageTask
If you have a thumbnail web service which can return multiple size image according the url,

you can implements this method to return the specified url according the request size.

getRemoteUrl(ImageTask) - Method in class in.srain.cube.image.impl.DefaultImageReSizer
 
getRequest() - Method in class in.srain.cube.request.FailData
 
getRequestData() - Method in interface in.srain.cube.request.IRequest
 
getRequestData() - Method in class in.srain.cube.request.RequestBase
 
getRequestProxy() - Method in class in.srain.cube.request.RequestManager
 
GetRequestSender - Class in in.srain.cube.request.sender
 
GetRequestSender(IRequest<?>, HttpURLConnection) - Constructor for class in.srain.cube.request.sender.GetRequestSender
 
getRequestSize() - Method in class in.srain.cube.image.ImageTask
 
getRequestUrl() - Method in class in.srain.cube.request.RequestData
 
getResId(String, Class<?>) - Static method in class in.srain.cube.util.ResourceMan
 
getResponse(StringBuilder) - Method in class in.srain.cube.request.sender.BaseRequestSender
Completes the request and receives response from the server.
getResponse(StringBuilder) - Method in class in.srain.cube.request.sender.MultiPartRequestSender
 
getReuseSizeList() - Method in class in.srain.cube.image.ImageReuseInfo
 
getRightViewContainer() - Method in class in.srain.cube.mints.base.TitleHeaderBar
 
getRowHeight() - Method in class in.srain.cube.views.GridViewWithHeaderAndFooter
 
getSize() - Method in class in.srain.cube.cache.CacheMetaData
 
getSize() - Method in class in.srain.cube.diskcache.CacheEntry
 
getSize() - Method in interface in.srain.cube.diskcache.DiskCache
 
getSize() - Method in class in.srain.cube.diskcache.lru.LruActionTracer
 
getSize() - Method in class in.srain.cube.diskcache.lru.SimpleDiskLruCache
Returns the number of bytes currently being used to store the values in this cache.
getSize(String) - Method in class in.srain.cube.image.ImageDiskCacheProvider
 
getStableImageProvider(Context) - Static method in class in.srain.cube.image.ImageLoaderFactory
 
getStart() - Method in class in.srain.cube.views.list.ListPageInfo
 
getStatistics() - Method in class in.srain.cube.image.ImageTask
 
getStatisticsInfo() - Method in class in.srain.cube.image.ImageTaskStatistics
 
getString() - Method in class in.srain.cube.diskcache.CacheEntry
Returns the last committed value as a string, or null if no value has been committed.
getSuffixText() - Method in class in.srain.cube.image.drawable.CircleProgress
 
getTag() - Method in class in.srain.cube.request.RequestData
 
getTempFile() - Method in class in.srain.cube.diskcache.CacheEntry
 
getTextColor() - Method in class in.srain.cube.image.drawable.CircleProgress
 
getTextSize() - Method in class in.srain.cube.image.drawable.CircleProgress
 
getTime() - Method in class in.srain.cube.cache.CacheMetaData
 
getTitle() - Method in class in.srain.cube.mints.base.MenuItemFragment.MenuItemInfo
 
getTitle() - Method in class in.srain.cube.mints.base.TitleHeaderBar
 
getTitleHeaderBar() - Method in class in.srain.cube.mints.base.TitleBaseActivity
 
getTitleHeaderBar() - Method in class in.srain.cube.mints.base.TitleBaseFragment
 
getTitleTextView() - Method in class in.srain.cube.mints.base.TitleHeaderBar
 
getTotal() - Method in interface in.srain.cube.views.banner.PagerIndicator
 
getTotal() - Method in class in.srain.cube.views.DotView
 
getTotal() - Method in interface in.srain.cube.views.mix.AutoPlayer.Playable
 
getTotalLoadTime() - Method in class in.srain.cube.image.ImageTaskStatistics
 
getTotalSpace(File) - Static method in class in.srain.cube.cache.DiskFileUtils
 
getUnfinishedColor() - Method in class in.srain.cube.image.drawable.CircleProgress
 
getUploadFiles() - Method in class in.srain.cube.request.RequestData
 
getUsableSpace(File) - Static method in class in.srain.cube.cache.DiskFileUtils
Check how much usable space is available at a given path.
getUsedSpace(File) - Static method in class in.srain.cube.cache.DiskFileUtils
 
getUsedSpace() - Method in interface in.srain.cube.image.iface.ImageMemoryCache
used byte
getUsedSpace() - Method in class in.srain.cube.image.impl.DefaultMemoryCache
 
getVerticalSpacing() - Method in class in.srain.cube.views.block.BlockListAdapter
 
getView(LayoutInflater, int) - Method in class in.srain.cube.views.banner.BannerAdapter
 
getView(LayoutInflater, int) - Method in class in.srain.cube.views.block.BlockListAdapter
 
getView(int, View, ViewGroup) - Method in class in.srain.cube.views.list.ListViewDataAdapterBase
 
getViewForBlock(LayoutInflater, int) - Method in class in.srain.cube.mints.base.BlockMenuFragment
 
getWaitForLoadTime() - Method in class in.srain.cube.image.ImageTaskStatistics
 
getWaitToPostMessage() - Method in class in.srain.cube.image.ImageTaskStatistics
 
goToFragment(Class<?>, Object) - Method in class in.srain.cube.app.CubeFragmentActivity
 
goToHead() - Method in class in.srain.cube.views.list.ListPageInfo
 
GridViewWithHeaderAndFooter - Class in in.srain.cube.views
A GridView that supports adding header rows in a very similar way to ListView.
GridViewWithHeaderAndFooter(Context) - Constructor for class in.srain.cube.views.GridViewWithHeaderAndFooter
 
GridViewWithHeaderAndFooter(Context, AttributeSet) - Constructor for class in.srain.cube.views.GridViewWithHeaderAndFooter
 
GridViewWithHeaderAndFooter(Context, AttributeSet, int) - Constructor for class in.srain.cube.views.GridViewWithHeaderAndFooter
 

H

HandlerHolder<T> - Class in in.srain.cube.util
A single linked list to wrap
has(String) - Method in interface in.srain.cube.diskcache.DiskCache
Check if has this key
has(String) - Method in class in.srain.cube.diskcache.lru.LruActionTracer
 
has(String) - Method in class in.srain.cube.diskcache.lru.SimpleDiskLruCache
 
has(String) - Method in class in.srain.cube.request.JsonData
 
has(int) - Method in class in.srain.cube.request.JsonData
 
hasBeenCanceled() - Method in class in.srain.cube.request.RequestBase
 
hasFroyo() - Static method in class in.srain.cube.util.Version
API level is or higher than 8
hasGingerbread() - Static method in class in.srain.cube.util.Version
API level is or higher than 9
hasHandler() - Method in class in.srain.cube.util.HandlerHolder
 
hasHoneycomb() - Static method in class in.srain.cube.util.Version
API level is or higher than 11
hasHoneycombMR1() - Static method in class in.srain.cube.util.Version
API level is or higher than 12
hasJellyBean() - Static method in class in.srain.cube.util.Version
API level is or higher than 16
hasKitKat() - Static method in class in.srain.cube.util.Version
API level is higher than 19
hasMore() - Method in class in.srain.cube.views.list.ListPageInfo
 
hasReachTop() - Method in interface in.srain.cube.views.IScrollHeaderFrameHandler
 
hasSDCardMounted() - Static method in class in.srain.cube.cache.DiskFileUtils
 
hideKeyboardForCurrentFocus() - Method in class in.srain.cube.app.CubeFragmentActivity
 
hitFileCache() - Method in class in.srain.cube.image.ImageTaskStatistics
 
hitMemoryCache() - Method in class in.srain.cube.image.ImageTaskStatistics
 

I

ICacheAble<T> - Interface in in.srain.cube.cache
Describe the behaviour of a object who can be cached
ICacheAbleRequest<T> - Interface in in.srain.cube.request
 
IComponentContainer - Interface in in.srain.cube.app.lifecycle
 
ICubeFragment - Interface in in.srain.cube.app
provide some method to make Fragment act like Activity in BackStack

When a Fragment becomes invisible totally, ICubeFragment.onLeave() will be called.

ImageDiskCacheProvider - Class in in.srain.cube.image
This class handles disk and memory caching of bitmaps.
ImageDiskCacheProvider(DiskCache) - Constructor for class in.srain.cube.image.ImageDiskCacheProvider
 
ImageDownloader - Interface in in.srain.cube.image.iface
 
ImageLoader - Class in in.srain.cube.image
 
ImageLoader(Context, ImageProvider, ImageTaskExecutor, ImageReSizer, ImageLoadHandler) - Constructor for class in.srain.cube.image.ImageLoader
 
ImageLoaderFactory - Class in in.srain.cube.image
Create an ImageLoader.
ImageLoaderFactory() - Constructor for class in.srain.cube.image.ImageLoaderFactory
 
ImageLoadHandler - Interface in in.srain.cube.image.iface
A handler that used in loading a image.
ImageLoadProfiler - Interface in in.srain.cube.image.iface
 
ImageLoadProgressHandler - Interface in in.srain.cube.image.iface
Define load progress
ImageMemoryCache - Interface in in.srain.cube.image.iface
 
ImagePerformanceStatistics - Class in in.srain.cube.image
 
ImagePerformanceStatistics() - Constructor for class in.srain.cube.image.ImagePerformanceStatistics
 
ImageProvider - Class in in.srain.cube.image
This class handles disk and memory caching of bitmaps.
ImageProvider(Context, ImageMemoryCache, ImageDiskCacheProvider) - Constructor for class in.srain.cube.image.ImageProvider
 
ImageReSizer - Interface in in.srain.cube.image.iface
A ImageReSizer process the resize logical when loading image from network an disk.
ImageReuseInfo - Class in in.srain.cube.image
 
ImageReuseInfo(String, String[]) - Constructor for class in.srain.cube.image.ImageReuseInfo
 
ImageReuseInfoManger - Class in in.srain.cube.image
 
ImageReuseInfoManger(String[]) - Constructor for class in.srain.cube.image.ImageReuseInfoManger
Create Reuse Info Manger, the smaller size is in the front of the size array.
ImageTask - Class in in.srain.cube.image
A wrapper of the related information used in loading a bitmap
ImageTask() - Constructor for class in.srain.cube.image.ImageTask
 
ImageTaskExecutor - Interface in in.srain.cube.image.iface
An Executor to execute ImageTask, it allows the task can be executed in different order.
ImageTaskStatistics - Class in in.srain.cube.image
Created by srain on 9/15/14.
ImageTaskStatistics() - Constructor for class in.srain.cube.image.ImageTaskStatistics
 
in.srain.cube - package in.srain.cube
 
in.srain.cube.app - package in.srain.cube.app
 
in.srain.cube.app.lifecycle - package in.srain.cube.app.lifecycle
 
in.srain.cube.cache - package in.srain.cube.cache
 
in.srain.cube.concurrent - package in.srain.cube.concurrent
 
in.srain.cube.diskcache - package in.srain.cube.diskcache
 
in.srain.cube.diskcache.lru - package in.srain.cube.diskcache.lru
 
in.srain.cube.image - package in.srain.cube.image
 
in.srain.cube.image.drawable - package in.srain.cube.image.drawable
 
in.srain.cube.image.iface - package in.srain.cube.image.iface
 
in.srain.cube.image.impl - package in.srain.cube.image.impl
 
in.srain.cube.mints.base - package in.srain.cube.mints.base
 
in.srain.cube.request - package in.srain.cube.request
 
in.srain.cube.request.sender - package in.srain.cube.request.sender
 
in.srain.cube.set.hash - package in.srain.cube.set.hash
 
in.srain.cube.update - package in.srain.cube.update
 
in.srain.cube.uri - package in.srain.cube.uri
 
in.srain.cube.util - package in.srain.cube.util
 
in.srain.cube.views - package in.srain.cube.views
 
in.srain.cube.views.banner - package in.srain.cube.views.banner
 
in.srain.cube.views.block - package in.srain.cube.views.block
 
in.srain.cube.views.list - package in.srain.cube.views.list
 
in.srain.cube.views.loadmore - package in.srain.cube.views.loadmore
 
in.srain.cube.views.mix - package in.srain.cube.views.mix
 
in.srain.cube.views.pager - package in.srain.cube.views.pager
 
init(Context, String, int, int) - Static method in class in.srain.cube.request.RequestCacheManager
 
init(Context, int) - Method in class in.srain.cube.update.UpdateController
 
init(Context) - Static method in class in.srain.cube.util.LocalDisplay
 
init(Context) - Static method in class in.srain.cube.util.NetworkStatusManager
 
init(Context) - Static method in class in.srain.cube.util.SystemWatcher
 
initDefaultCache(Context, String, int, int) - Static method in class in.srain.cube.cache.CacheManagerFactory
 
initViews() - Method in class in.srain.cube.mints.base.TitleBaseActivity
 
inputError(IRequest<?>) - Static method in class in.srain.cube.request.FailData
 
instantiateItem(ViewGroup, int) - Method in class in.srain.cube.views.banner.BannerAdapter
 
invalidateCache(String) - Method in class in.srain.cube.cache.CacheManager
delete cache by key
invalidateRowHeight() - Method in class in.srain.cube.views.GridViewWithHeaderAndFooter
 
IRequest<T> - Interface in in.srain.cube.request
 
IRequestProxy - Interface in in.srain.cube.request
Created by srain on 3/8/15.
IRequestSender - Interface in in.srain.cube.request.sender
 
isCancelled() - Method in class in.srain.cube.concurrent.SimpleTask
check whether this work is canceled.
IScrollHeaderFrameHandler - Interface in in.srain.cube.views
 
isCustomized() - Method in class in.srain.cube.uri.CustomizedUri
 
isDev() - Static method in class in.srain.cube.util.Env
 
isDone() - Method in class in.srain.cube.concurrent.SimpleTask
check whether this work has done
isEmpty() - Method in class in.srain.cube.views.list.ListPageInfo
 
isFailover() - Method in class in.srain.cube.util.NetworkStatusManager
Returns true if the most recent event was for an attempt to switch over to a new network following loss of connectivity on another network.
isFirstPage() - Method in class in.srain.cube.views.list.ListPageInfo
 
isInternal - Variable in class in.srain.cube.cache.DiskFileUtils.CacheDirInfo
 
isLoading() - Method in class in.srain.cube.image.ImageTask
 
isLoadingThisUrl(String) - Method in class in.srain.cube.image.ImageTask
Check the given url is loading.
isMultiPart() - Method in class in.srain.cube.request.RequestData
 
isNotEnough - Variable in class in.srain.cube.cache.DiskFileUtils.CacheDirInfo
 
isOutOfDateFor(ICacheAble<?>) - Method in class in.srain.cube.cache.CacheMetaData
 
isPre() - Static method in class in.srain.cube.util.Env
 
isPreLoad() - Method in class in.srain.cube.image.ImageTask
 
isProd() - Static method in class in.srain.cube.util.Env
 
isReadable() - Method in class in.srain.cube.diskcache.CacheEntry
 
isUnderEdit() - Method in class in.srain.cube.diskcache.CacheEntry
 
isViewFromObject(View, Object) - Method in class in.srain.cube.views.banner.BannerAdapter
 
isWifi() - Method in class in.srain.cube.util.NetworkStatusManager
 
iterator() - Method in interface in.srain.cube.concurrent.BlockingDeque
Returns an iterator over the elements in this deque in proper sequence.
iterator() - Method in interface in.srain.cube.concurrent.Deque
Returns an iterator over the elements in this deque in proper sequence.
iterator() - Method in class in.srain.cube.concurrent.LinkedBlockingDeque
Returns an iterator over the elements in this deque in proper sequence.
iterator() - Method in class in.srain.cube.set.hash.SimpleHashSet
 

J

joinSizeInfoToKey(String, int, int) - Static method in class in.srain.cube.image.ImageTask
Join the key and the size information.
joinSizeTagToKey(String, String) - Static method in class in.srain.cube.image.ImageTask
Join the tag with the key.
JsonData - Class in in.srain.cube.request
 
JsonData() - Constructor for class in.srain.cube.request.JsonData
 

K

keys() - Method in class in.srain.cube.request.JsonData
 

L

lastItem() - Method in class in.srain.cube.views.list.ListPageInfo
the last item in list
LazyViewHolderCreator<T> - Class in in.srain.cube.views.list
 
length() - Method in class in.srain.cube.request.JsonData
 
LifeCycleComponent - Interface in in.srain.cube.app.lifecycle
 
LifeCycleComponentManager - Class in in.srain.cube.app.lifecycle
 
LifeCycleComponentManager() - Constructor for class in.srain.cube.app.lifecycle.LifeCycleComponentManager
 
LinkedBlockingDeque<E> - Class in in.srain.cube.concurrent
An optionally-bounded blocking deque based on linked nodes.
LinkedBlockingDeque() - Constructor for class in.srain.cube.concurrent.LinkedBlockingDeque
Creates a LinkedBlockingDeque with a capacity of Integer.MAX_VALUE.
LinkedBlockingDeque(int) - Constructor for class in.srain.cube.concurrent.LinkedBlockingDeque
Creates a LinkedBlockingDeque with the given (fixed) capacity.
LinkedBlockingDeque(Collection<? extends E>) - Constructor for class in.srain.cube.concurrent.LinkedBlockingDeque
Creates a LinkedBlockingDeque with a capacity of Integer.MAX_VALUE, initially containing the elements of the given collection, added in traversal order of the collection's iterator.
ListPageInfo<T> - Class in in.srain.cube.views.list
 
ListPageInfo(int) - Constructor for class in.srain.cube.views.list.ListPageInfo
 
ListViewDataAdapter<ItemDataType> - Class in in.srain.cube.views.list
A adapter using View Holder to display the item of a list view;
ListViewDataAdapter() - Constructor for class in.srain.cube.views.list.ListViewDataAdapter
 
ListViewDataAdapter(ViewHolderCreator<ItemDataType>) - Constructor for class in.srain.cube.views.list.ListViewDataAdapter
 
ListViewDataAdapterBase<ItemDataType> - Class in in.srain.cube.views.list
A adapter using View Holder to display the item of a list view;
ListViewDataAdapterBase() - Constructor for class in.srain.cube.views.list.ListViewDataAdapterBase
 
ListViewDataAdapterBase(Object, Class<?>) - Constructor for class in.srain.cube.views.list.ListViewDataAdapterBase
 
ListViewDataAdapterBase(ViewHolderCreator<ItemDataType>) - Constructor for class in.srain.cube.views.list.ListViewDataAdapterBase
 
loadImage(ImageLoader, String) - Method in class in.srain.cube.image.CubeImageView
 
loadImage(ImageLoader, String, ImageReuseInfo) - Method in class in.srain.cube.image.CubeImageView
 
loadImage(ImageLoader, String, int) - Method in class in.srain.cube.image.CubeImageView
 
loadImage(ImageLoader, String, int, ImageReuseInfo) - Method in class in.srain.cube.image.CubeImageView
 
loadImage(ImageLoader, String, int, int) - Method in class in.srain.cube.image.CubeImageView
 
loadImage(ImageLoader, String, int, int, ImageReuseInfo) - Method in class in.srain.cube.image.CubeImageView
 
LoadMoreContainer - Interface in in.srain.cube.views.loadmore
 
LoadMoreContainerBase - Class in in.srain.cube.views.loadmore
 
LoadMoreContainerBase(Context) - Constructor for class in.srain.cube.views.loadmore.LoadMoreContainerBase
 
LoadMoreContainerBase(Context, AttributeSet) - Constructor for class in.srain.cube.views.loadmore.LoadMoreContainerBase
 
LoadMoreDefaultFooterView - Class in in.srain.cube.views.loadmore
 
LoadMoreDefaultFooterView(Context) - Constructor for class in.srain.cube.views.loadmore.LoadMoreDefaultFooterView
 
LoadMoreDefaultFooterView(Context, AttributeSet) - Constructor for class in.srain.cube.views.loadmore.LoadMoreDefaultFooterView
 
LoadMoreDefaultFooterView(Context, AttributeSet, int) - Constructor for class in.srain.cube.views.loadmore.LoadMoreDefaultFooterView
 
loadMoreFinish(boolean, boolean) - Method in interface in.srain.cube.views.loadmore.LoadMoreContainer
page has loaded
loadMoreFinish(boolean, boolean) - Method in class in.srain.cube.views.loadmore.LoadMoreContainerBase
page has loaded
LoadMoreGridViewContainer - Class in in.srain.cube.views.loadmore
 
LoadMoreGridViewContainer(Context) - Constructor for class in.srain.cube.views.loadmore.LoadMoreGridViewContainer
 
LoadMoreGridViewContainer(Context, AttributeSet) - Constructor for class in.srain.cube.views.loadmore.LoadMoreGridViewContainer
 
LoadMoreHandler - Interface in in.srain.cube.views.loadmore
 
LoadMoreListViewContainer - Class in in.srain.cube.views.loadmore
 
LoadMoreListViewContainer(Context) - Constructor for class in.srain.cube.views.loadmore.LoadMoreListViewContainer
 
LoadMoreListViewContainer(Context, AttributeSet) - Constructor for class in.srain.cube.views.loadmore.LoadMoreListViewContainer
 
LoadMoreUIHandler - Interface in in.srain.cube.views.loadmore
 
LocalDisplay - Class in in.srain.cube.util
 
LocalDisplay() - Constructor for class in.srain.cube.util.LocalDisplay
 
LOG_TAG - Static variable in class in.srain.cube.cache.DiskCacheProvider
 
LOG_TAG - Static variable in class in.srain.cube.diskcache.lru.SimpleDiskLruCache
 
LOG_TAG - Static variable in class in.srain.cube.image.ImageDiskCacheProvider
 
LOG_TAG - Static variable in class in.srain.cube.image.ImageLoader
 
LOG_TAG - Static variable in class in.srain.cube.image.ImageTask
 
LOG_TAG - Static variable in class in.srain.cube.image.impl.DefaultMemoryCache
 
LOG_TAG - Static variable in class in.srain.cube.image.impl.SimpleDownloader
 
LOG_TAG - Static variable in class in.srain.cube.request.CacheAbleRequest
 
LruActionTracer - Class in in.srain.cube.diskcache.lru
 
LruActionTracer(DiskCache, File, int, long) - Constructor for class in.srain.cube.diskcache.lru.LruActionTracer
 

M

mBitmapOriginSize - Variable in class in.srain.cube.image.ImageTask
 
mBitmapShader - Variable in class in.srain.cube.image.drawable.RoundedDrawable
 
mContentContainer - Variable in class in.srain.cube.mints.base.TitleBaseActivity
 
mContentContainer - Variable in class in.srain.cube.mints.base.TitleBaseFragment
 
mContext - Variable in class in.srain.cube.image.ImageLoader
 
mCornerRadius - Variable in class in.srain.cube.image.drawable.RoundedDrawable
 
mCurrentFragment - Variable in class in.srain.cube.app.CubeFragmentActivity
 
mCurrentView - Variable in class in.srain.cube.views.list.ViewHolderBase
 
mCustomErrorType - Variable in class in.srain.cube.request.FailData
 
md5(String) - Static method in class in.srain.cube.util.Encrypt
A hashing method that changes a string (like a URL) into a hash string
mData - Variable in class in.srain.cube.request.FailData
 
mDataIn - Variable in class in.srain.cube.app.CubeFragment
 
mDiskCache - Variable in class in.srain.cube.cache.DiskCacheProvider
 
MenuItemFragment - Class in in.srain.cube.mints.base
 
MenuItemFragment() - Constructor for class in.srain.cube.mints.base.MenuItemFragment
 
MenuItemFragment.MenuItemInfo - Class in in.srain.cube.mints.base
 
MenuItemFragment.MenuItemInfo(String, int, View.OnClickListener) - Constructor for class in.srain.cube.mints.base.MenuItemFragment.MenuItemInfo
 
mErrorType - Variable in class in.srain.cube.request.FailData
 
mExitTasksEarly - Variable in class in.srain.cube.image.ImageLoader
 
mFirstImageViewHolder - Variable in class in.srain.cube.image.ImageTask
 
mForceCreateView - Variable in class in.srain.cube.views.list.ListViewDataAdapterBase
 
mForceQueryFromServer - Variable in class in.srain.cube.request.CacheAbleRequest
 
mHttpURLConnection - Variable in class in.srain.cube.request.sender.BaseRequestSender
 
mId - Variable in class in.srain.cube.image.ImageTask
 
mIdForIndicator - Variable in class in.srain.cube.views.banner.SliderBanner
 
mIdForViewPager - Variable in class in.srain.cube.views.banner.SliderBanner
 
mImageDownloader - Variable in class in.srain.cube.image.ImageLoader
 
mImageLoadHandler - Variable in class in.srain.cube.image.ImageLoader
 
mImageProvider - Variable in class in.srain.cube.image.ImageLoader
 
mImageReSizer - Variable in class in.srain.cube.image.ImageLoader
 
mImageTaskExecutor - Variable in class in.srain.cube.image.ImageLoader
 
mImageTaskStatistics - Variable in class in.srain.cube.image.ImageTask
 
MintsBaseActivity - Class in in.srain.cube.mints.base
 
MintsBaseActivity() - Constructor for class in.srain.cube.mints.base.MintsBaseActivity
 
mItemDataList - Variable in class in.srain.cube.views.list.ListViewDataAdapter
 
mItemInfos - Variable in class in.srain.cube.mints.base.MenuItemFragment
 
mLastPosition - Variable in class in.srain.cube.views.list.ViewHolderBase
 
mLazyCreator - Variable in class in.srain.cube.views.list.ListViewDataAdapterBase
 
mListPageInfo - Variable in class in.srain.cube.views.list.PagedListDataModel
 
mListPageInfo - Variable in class in.srain.cube.views.list.PagedListViewDataAdapter
 
mLoadImageLoadProgressHandler - Variable in class in.srain.cube.image.ImageLoader
 
MoreActionView - Class in in.srain.cube.views
 
MoreActionView(Context, AttributeSet) - Constructor for class in.srain.cube.views.MoreActionView
 
mOriginUrl - Variable in class in.srain.cube.image.ImageTask
 
moveToItem(int) - Method in class in.srain.cube.views.pager.TabPageIndicator
 
mPaint - Variable in class in.srain.cube.image.drawable.RoundedDrawable
 
mPauseWork - Variable in class in.srain.cube.image.ImageLoader
 
mPosition - Variable in class in.srain.cube.views.list.ViewHolderBase
 
mRect - Variable in class in.srain.cube.image.drawable.RoundedDrawable
 
mRequest - Variable in class in.srain.cube.request.FailData
 
mRequest - Variable in class in.srain.cube.request.sender.BaseRequestSender
 
mRequestData - Variable in class in.srain.cube.request.sender.BaseRequestSender
 
mRequestSize - Variable in class in.srain.cube.image.ImageTask
 
mResources - Variable in class in.srain.cube.image.ImageLoader
 
mReuseInfo - Variable in class in.srain.cube.image.ImageTask
 
mTimeInterval - Variable in class in.srain.cube.views.banner.SliderBanner
 
mTitleHeaderBar - Variable in class in.srain.cube.mints.base.TitleBaseActivity
 
mTitleHeaderBar - Variable in class in.srain.cube.mints.base.TitleBaseFragment
 
MultiPartRequestSender - Class in in.srain.cube.request.sender
 
MultiPartRequestSender(IRequest<?>, HttpURLConnection) - Constructor for class in.srain.cube.request.sender.MultiPartRequestSender
 
mUrl - Variable in class in.srain.cube.request.RequestData
 
mViewHolderCreator - Variable in class in.srain.cube.views.list.ListViewDataAdapterBase
 

N

NameGenerator - Interface in in.srain.cube.image.iface
 
networkError(IRequest<?>) - Static method in class in.srain.cube.request.FailData
 
NetworkStatusManager - Class in in.srain.cube.util
A wrapper for a broadcast receiver that provides network connectivity state information, independent of network type (mobile, Wi-Fi, etc.).
NetworkStatusManager.State - Enum in in.srain.cube.util
 
newItemInfo(String, int, View.OnClickListener) - Method in class in.srain.cube.mints.base.MenuItemFragment
 
newItemInfo(String, String, View.OnClickListener) - Method in class in.srain.cube.mints.base.MenuItemFragment
 
newItemInfo(int, String, View.OnClickListener) - Method in class in.srain.cube.mints.base.MenuItemFragment
 
newItemInfo(int, int, View.OnClickListener) - Method in class in.srain.cube.mints.base.MenuItemFragment
 
newList() - Static method in class in.srain.cube.request.JsonData
 
newMap() - Static method in class in.srain.cube.request.JsonData
 
newOutputStream() - Method in class in.srain.cube.diskcache.CacheEntry
Returns a new unbuffered output stream to write the value If the underlying output stream encounters errors when writing to the filesystem, this edit will be aborted when CacheEntry.commit() is called.
nextPage() - Method in class in.srain.cube.views.list.ListPageInfo
try to move to next page
notifyDataSetChanged() - Method in interface in.srain.cube.views.pager.PageIndicator
Notify the indicator that the fragment list has changed.
notifyDataSetChanged() - Method in class in.srain.cube.views.pager.TabPageIndicator
 
notifyLoading(ImageLoadHandler, CubeImageView) - Method in class in.srain.cube.image.ImageTask
notify loading

O

obtain() - Static method in class in.srain.cube.image.ImageTask
 
offer(E) - Method in interface in.srain.cube.concurrent.BlockingDeque
Inserts the specified element into the queue represented by this deque (in other words, at the tail of this deque) if it is possible to do so immediately without violating capacity restrictions, returning true upon success and false if no space is currently available.
offer(E, long, TimeUnit) - Method in interface in.srain.cube.concurrent.BlockingDeque
Inserts the specified element into the queue represented by this deque (in other words, at the tail of this deque), waiting up to the specified wait time if necessary for space to become available.
offer(E) - Method in interface in.srain.cube.concurrent.Deque
Inserts the specified element into the queue represented by this deque (in other words, at the tail of this deque) if it is possible to do so immediately without violating capacity restrictions, returning true upon success and false if no space is currently available.
offer(E) - Method in class in.srain.cube.concurrent.LinkedBlockingDeque
 
offer(E, long, TimeUnit) - Method in class in.srain.cube.concurrent.LinkedBlockingDeque
 
offer(T) - Method in class in.srain.cube.image.impl.DefaultImageTaskExecutor.LinkedBlockingStack
 
offerFirst(E) - Method in interface in.srain.cube.concurrent.BlockingDeque
Inserts the specified element at the front of this deque if it is possible to do so immediately without violating capacity restrictions, returning true upon success and false if no space is currently available.
offerFirst(E, long, TimeUnit) - Method in interface in.srain.cube.concurrent.BlockingDeque
Inserts the specified element at the front of this deque, waiting up to the specified wait time if necessary for space to become available.
offerFirst(E) - Method in interface in.srain.cube.concurrent.Deque
Inserts the specified element at the front of this deque unless it would violate capacity restrictions.
offerFirst(E) - Method in class in.srain.cube.concurrent.LinkedBlockingDeque
 
offerFirst(E, long, TimeUnit) - Method in class in.srain.cube.concurrent.LinkedBlockingDeque
 
offerLast(E) - Method in interface in.srain.cube.concurrent.BlockingDeque
Inserts the specified element at the end of this deque if it is possible to do so immediately without violating capacity restrictions, returning true upon success and false if no space is currently available.
offerLast(E, long, TimeUnit) - Method in interface in.srain.cube.concurrent.BlockingDeque
Inserts the specified element at the end of this deque, waiting up to the specified wait time if necessary for space to become available.
offerLast(E) - Method in interface in.srain.cube.concurrent.Deque
Inserts the specified element at the end of this deque unless it would violate capacity restrictions.
offerLast(E) - Method in class in.srain.cube.concurrent.LinkedBlockingDeque
 
offerLast(E, long, TimeUnit) - Method in class in.srain.cube.concurrent.LinkedBlockingDeque
 
onActivityCreated(Bundle) - Method in class in.srain.cube.app.CubeFragment
 
onAttach(Activity) - Method in class in.srain.cube.app.CubeFragment
 
onAttachedToWindow() - Method in class in.srain.cube.image.CubeImageView
 
onAttachedToWindow() - Method in class in.srain.cube.views.block.BlockListView
 
onAttachedToWindow() - Method in class in.srain.cube.views.pager.TabPageIndicator
 
onBack() - Method in class in.srain.cube.app.CubeFragment
 
onBack() - Method in interface in.srain.cube.app.ICubeFragment
 
onBackPressed() - Method in class in.srain.cube.app.CubeFragmentActivity
process back pressed
onBackWithData(Object) - Method in class in.srain.cube.app.CubeFragment
 
onBackWithData(Object) - Method in interface in.srain.cube.app.ICubeFragment
 
onBecomesPartiallyInvisible() - Method in interface in.srain.cube.app.lifecycle.LifeCycleComponent
The UI becomes partially invisible.
onBecomesPartiallyInvisible() - Method in class in.srain.cube.app.lifecycle.LifeCycleComponentManager
 
onBecomesPartiallyInvisible() - Method in class in.srain.cube.image.ImageLoader
The UI becomes partially invisible.
onBecomesTotallyInvisible() - Method in interface in.srain.cube.app.lifecycle.LifeCycleComponent
The UI becomes totally invisible.
onBecomesTotallyInvisible() - Method in class in.srain.cube.app.lifecycle.LifeCycleComponentManager
 
onBecomesTotallyInvisible() - Method in class in.srain.cube.image.ImageLoader
The UI becomes totally invisible.
onBecomesVisible() - Method in interface in.srain.cube.app.lifecycle.LifeCycleComponent
The UI becomes visible from partially or totally invisible.
onBecomesVisible() - Method in class in.srain.cube.image.ImageLoader
The UI becomes visible from partially invisible.
onBecomesVisibleFromPartiallyInvisible() - Method in class in.srain.cube.app.lifecycle.LifeCycleComponentManager
 
onBecomesVisibleFromTotallyInvisible() - Method in interface in.srain.cube.app.lifecycle.LifeCycleComponent
The UI becomes visible from totally invisible.
onBecomesVisibleFromTotallyInvisible() - Method in class in.srain.cube.app.lifecycle.LifeCycleComponentManager
 
onBecomesVisibleFromTotallyInvisible() - Method in class in.srain.cube.image.ImageLoader
The UI becomes visible from totally invisible.
onBoundsChange(Rect) - Method in class in.srain.cube.image.drawable.RoundedDrawable
 
onBoundsChange(Rect) - Method in class in.srain.cube.image.drawable.TextDrawable
 
onCacheAbleRequestFinish(T1, CacheAbleRequest.ResultType, boolean) - Method in interface in.srain.cube.request.CacheAbleRequestHandler
 
onCacheData(CacheResultType, T, boolean) - Method in interface in.srain.cube.cache.ICacheAble
when data loaded from cache
onCacheData(CacheResultType, T, boolean) - Method in class in.srain.cube.cache.Query
 
onCacheData(CacheResultType, T, boolean) - Method in class in.srain.cube.request.CacheAbleRequest
 
onCacheData(T1, boolean) - Method in class in.srain.cube.request.CacheAbleRequestDefaultHandler
 
onCacheData(T1, boolean) - Method in interface in.srain.cube.request.CacheAbleRequestHandler
the data from cache, outOfDate detective if the data is out of date.
onCancel() - Method in class in.srain.cube.concurrent.SimpleTask
When the Task is Cancelled.
onCancel() - Method in class in.srain.cube.request.RequestBase
 
onCancel() - Method in interface in.srain.cube.update.DownLoadListener
 
onCancel() - Method in class in.srain.cube.update.DownloadTask
 
onCancel() - Method in class in.srain.cube.update.UpdateController
 
onClick(View) - Method in class in.srain.cube.mints.base.MenuItemFragment.MenuItemInfo
 
onCreate(Bundle) - Method in class in.srain.cube.app.CubeFragment
 
onCreate(Bundle) - Method in class in.srain.cube.app.XActivity
 
onCreate(Application) - Static method in class in.srain.cube.Cube
 
onCreate(Bundle) - Method in class in.srain.cube.mints.base.TitleBaseActivity
 
onCreateView(LayoutInflater, ViewGroup, Bundle) - Method in class in.srain.cube.app.CubeFragment
 
onCreateView(LayoutInflater, ViewGroup, Bundle) - Method in class in.srain.cube.mints.base.TitleBaseFragment
 
onDataFromServer(String) - Method in class in.srain.cube.request.CacheAbleRequest
 
onDataFromServer(String) - Method in interface in.srain.cube.request.IRequest
 
onDataFromServer(String) - Method in class in.srain.cube.request.RequestBase
 
onDataListChange() - Method in class in.srain.cube.views.block.BlockListView
 
onDestroy() - Method in class in.srain.cube.app.CubeFragment
 
onDestroy() - Method in interface in.srain.cube.app.lifecycle.LifeCycleComponent
like Activity.onDestroy()
onDestroy() - Method in class in.srain.cube.app.lifecycle.LifeCycleComponentManager
 
onDestroy() - Method in class in.srain.cube.app.XActivity
 
onDestroy() - Method in class in.srain.cube.image.ImageLoader
like Activity.onDestroy()
onDestroyView() - Method in class in.srain.cube.app.CubeFragment
 
onDetach() - Method in class in.srain.cube.app.CubeFragment
 
onDetachedFromWindow() - Method in class in.srain.cube.image.CubeImageView
 
onDetachedFromWindow() - Method in class in.srain.cube.views.block.BlockListView
 
onDetachedFromWindow() - Method in class in.srain.cube.views.GridViewWithHeaderAndFooter
 
onDetachedFromWindow() - Method in class in.srain.cube.views.pager.TabPageIndicator
 
onDone(boolean, int) - Method in interface in.srain.cube.update.DownLoadListener
 
onDone(boolean, int) - Method in class in.srain.cube.update.UpdateController
 
onDotClick(int) - Method in interface in.srain.cube.views.DotView.OnDotClickHandler
 
onDraw(Canvas) - Method in class in.srain.cube.image.CubeImageView
 
onDraw(Canvas) - Method in class in.srain.cube.views.MoreActionView
 
onEnter(Object) - Method in class in.srain.cube.app.CubeFragment
=========================================================== Implements ICubeFragment ===========================================================
onEnter(Object) - Method in interface in.srain.cube.app.ICubeFragment
onEvent(int) - Method in interface in.srain.cube.cache.DiskCacheProvider.AsyncTaskEventHandler
 
onFinish(boolean) - Method in class in.srain.cube.concurrent.SimpleTask
will be called after doInBackground();
onFinish(boolean) - Method in class in.srain.cube.update.DownloadTask
 
onFinishInflate() - Method in class in.srain.cube.views.banner.SliderBanner
 
onFinishInflate() - Method in class in.srain.cube.views.loadmore.LoadMoreContainerBase
 
onFinishInflate() - Method in class in.srain.cube.views.ScrollHeaderFrame
 
onImageLoaded(ImageTask, ImageTaskStatistics) - Method in interface in.srain.cube.image.iface.ImageLoadProfiler
 
onImageLoaded(ImageTask, ImageTaskStatistics) - Static method in class in.srain.cube.image.ImagePerformanceStatistics
 
onItemClick(View, int) - Method in interface in.srain.cube.views.block.BlockListView.OnItemClickListener
 
onLayout(boolean, int, int, int, int) - Method in class in.srain.cube.image.CubeImageView
 
onLayout(boolean, int, int, int, int) - Method in class in.srain.cube.views.block.BlockListView
 
onLayout(boolean, int, int, int, int) - Method in class in.srain.cube.views.ScrollHeaderFrame
 
onLeave() - Method in class in.srain.cube.app.CubeFragment
 
onLeave() - Method in interface in.srain.cube.app.ICubeFragment
 
onLoadError(ImageTask, CubeImageView, int) - Method in interface in.srain.cube.image.iface.ImageLoadHandler
Some errors has occurred
onLoadError(ImageTask, CubeImageView, int) - Method in class in.srain.cube.image.impl.DefaultImageLoadHandler
 
onLoadFinish() - Method in class in.srain.cube.image.CubeImageView
 
onLoadFinish(ImageTask, CubeImageView, BitmapDrawable) - Method in interface in.srain.cube.image.iface.ImageLoadHandler
After image is loaded.
onLoadFinish(ImageTask, CubeImageView, BitmapDrawable) - Method in class in.srain.cube.image.impl.DefaultImageLoadHandler
 
onLoadFinish(LoadMoreContainer, boolean, boolean) - Method in class in.srain.cube.views.loadmore.LoadMoreDefaultFooterView
 
onLoadFinish(LoadMoreContainer, boolean, boolean) - Method in interface in.srain.cube.views.loadmore.LoadMoreUIHandler
 
onLoading(ImageTask, CubeImageView) - Method in interface in.srain.cube.image.iface.ImageLoadHandler
When begin to load the image from disk or network.
onLoading(ImageLoadHandler) - Method in class in.srain.cube.image.ImageTask
When loading from network
onLoading(ImageTask, CubeImageView) - Method in class in.srain.cube.image.impl.DefaultImageLoadHandler
 
onLoading(LoadMoreContainer) - Method in class in.srain.cube.views.loadmore.LoadMoreDefaultFooterView
 
onLoading(LoadMoreContainer) - Method in interface in.srain.cube.views.loadmore.LoadMoreUIHandler
 
onLoadMore(LoadMoreContainer) - Method in interface in.srain.cube.views.loadmore.LoadMoreHandler
 
onLoadTaskCancel() - Method in class in.srain.cube.image.ImageTask
 
onLoadTaskFinish(BitmapDrawable, ImageLoadHandler) - Method in class in.srain.cube.image.ImageTask
Will be called when begin load image data from dish or network
onMeasure(int, int) - Method in class in.srain.cube.views.block.BlockListView
 
onMeasure(int, int) - Method in class in.srain.cube.views.GridViewWithHeaderAndFooter
 
onMeasure(int, int) - Method in class in.srain.cube.views.MoreActionView
 
onMeasure(int, int) - Method in class in.srain.cube.views.pager.TabPageIndicator
 
onMeasure(int, int) - Method in class in.srain.cube.views.ScrollHeaderFrame
 
onNoCacheData(CacheManager) - Method in interface in.srain.cube.cache.ICacheAble
When there is no cache data is available, this method will be called.
onNoCacheData(CacheManager) - Method in class in.srain.cube.cache.Query
 
onNoCacheData(CacheManager) - Method in class in.srain.cube.request.CacheAbleRequest
 
onPageDataLoaded(ListPageInfo<?>) - Method in interface in.srain.cube.views.list.PagedListDataModel.PagedListDataHandler
 
onPageScrolled(int, float, int) - Method in class in.srain.cube.views.pager.TabPageIndicator
 
onPageScrollStateChanged(int) - Method in class in.srain.cube.views.pager.TabPageIndicator
 
onPageSelected(int) - Method in class in.srain.cube.views.pager.TabPageIndicator
 
onPause() - Method in class in.srain.cube.app.CubeFragment
 
onPause() - Method in class in.srain.cube.app.XActivity
 
onPercentUpdate(int) - Method in interface in.srain.cube.update.DownLoadListener
 
onPercentUpdate(int) - Method in class in.srain.cube.update.UpdateController
 
onProgressChange(ImageTask, CubeImageView, int, int) - Method in interface in.srain.cube.image.iface.ImageLoadProgressHandler
 
onProgressUpdate(int, int) - Method in interface in.srain.cube.image.iface.ProgressUpdateHandler
 
onQueryFinish(Query.RequestType, T, boolean) - Method in interface in.srain.cube.cache.QueryHandler
when query finish
onRequestFail(FailData) - Method in class in.srain.cube.request.CacheAbleRequest
 
onRequestFail(FailData) - Method in class in.srain.cube.request.CacheAbleRequestDefaultHandler
 
onRequestFail(FailData) - Method in interface in.srain.cube.request.IRequest
 
onRequestFail(FailData) - Method in class in.srain.cube.request.RequestDefaultHandler
 
onRequestFail(FailData) - Method in interface in.srain.cube.request.RequestHandler
 
onRequestFail(FailData) - Method in class in.srain.cube.request.SimpleRequest
 
onRequestFinish(T1) - Method in class in.srain.cube.request.CacheAbleRequestDefaultHandler
 
onRequestFinish(T) - Method in interface in.srain.cube.request.RequestFinishHandler
 
onRequestSuccess(T) - Method in class in.srain.cube.request.CacheAbleRequest
 
onRequestSuccess(T) - Method in interface in.srain.cube.request.IRequest
 
onRequestSuccess(T) - Method in class in.srain.cube.request.SimpleRequest
 
onRestart() - Method in class in.srain.cube.app.XActivity
 
onResume() - Method in class in.srain.cube.app.CubeFragment
Only when Activity resume, not very precise.
onResume() - Method in class in.srain.cube.app.XActivity
 
onStart() - Method in class in.srain.cube.app.CubeFragment
 
onStop() - Method in class in.srain.cube.app.CubeFragment
Not add self to back stack when removed, so only when Activity stop
onStop() - Method in class in.srain.cube.app.XActivity
 
onTabReselected(int) - Method in interface in.srain.cube.views.pager.TabPageIndicator.OnTabReselectedListener
Callback when the selected tab has been reselected.
onWaitToLoadMore(LoadMoreContainer) - Method in class in.srain.cube.views.loadmore.LoadMoreDefaultFooterView
 
onWaitToLoadMore(LoadMoreContainer) - Method in interface in.srain.cube.views.loadmore.LoadMoreUIHandler
 
open() - Method in interface in.srain.cube.diskcache.DiskCache
open disk cache
open() - Method in class in.srain.cube.diskcache.lru.SimpleDiskLruCache
 
openDiskCacheAsync() - Method in class in.srain.cube.cache.DiskCacheProvider
initiate the disk cache
optArrayOrNew() - Method in class in.srain.cube.request.JsonData
 
optBoolean(String) - Method in class in.srain.cube.request.JsonData
 
optBoolean(String, boolean) - Method in class in.srain.cube.request.JsonData
 
optBoolean(int) - Method in class in.srain.cube.request.JsonData
 
optBoolean(int, boolean) - Method in class in.srain.cube.request.JsonData
 
optDouble(String) - Method in class in.srain.cube.request.JsonData
 
optDouble(String, double) - Method in class in.srain.cube.request.JsonData
 
optDouble(int) - Method in class in.srain.cube.request.JsonData
 
optDouble(int, double) - Method in class in.srain.cube.request.JsonData
 
optInt(String) - Method in class in.srain.cube.request.JsonData
 
optInt(String, int) - Method in class in.srain.cube.request.JsonData
 
optInt(int) - Method in class in.srain.cube.request.JsonData
 
optInt(int, int) - Method in class in.srain.cube.request.JsonData
 
optJson(String) - Method in class in.srain.cube.request.JsonData
 
optJson(int) - Method in class in.srain.cube.request.JsonData
 
optMapOrNew() - Method in class in.srain.cube.request.JsonData
 
optString(String) - Method in class in.srain.cube.request.JsonData
 
optString(String, String) - Method in class in.srain.cube.request.JsonData
 
optString(int) - Method in class in.srain.cube.request.JsonData
 
optString(int, String) - Method in class in.srain.cube.request.JsonData
 

P

PagedListDataModel<T> - Class in in.srain.cube.views.list
 
PagedListDataModel() - Constructor for class in.srain.cube.views.list.PagedListDataModel
 
PagedListDataModel.PagedListDataHandler - Interface in in.srain.cube.views.list
 
PagedListViewDataAdapter<ItemDataType> - Class in in.srain.cube.views.list
A adapter using View Holder to display the item of a list view;
PagedListViewDataAdapter() - Constructor for class in.srain.cube.views.list.PagedListViewDataAdapter
 
PagedListViewDataAdapter(ViewHolderCreator<ItemDataType>) - Constructor for class in.srain.cube.views.list.PagedListViewDataAdapter
 
PageIndicator - Interface in in.srain.cube.views.pager
A PageIndicator is responsible to show an visual indicator on the total views number and the current visible view.
PagerIndicator - Interface in in.srain.cube.views.banner
 
parse(String, String) - Static method in class in.srain.cube.uri.CustomizedUri
 
path - Variable in class in.srain.cube.cache.DiskFileUtils.CacheDirInfo
 
pause() - Method in class in.srain.cube.views.mix.AutoPlayer
 
pauseWork() - Method in class in.srain.cube.image.ImageLoader
Temporarily hand up work, you can call this when the view is scrolling.
peek() - Method in interface in.srain.cube.concurrent.BlockingDeque
Retrieves, but does not remove, the head of the queue represented by this deque (in other words, the first element of this deque), or returns null if this deque is empty.
peek() - Method in interface in.srain.cube.concurrent.Deque
Retrieves, but does not remove, the head of the queue represented by this deque (in other words, the first element of this deque), or returns null if this deque is empty.
peek() - Method in class in.srain.cube.concurrent.LinkedBlockingDeque
 
peekFirst() - Method in interface in.srain.cube.concurrent.Deque
Retrieves, but does not remove, the first element of this deque, or returns null if this deque is empty.
peekFirst() - Method in class in.srain.cube.concurrent.LinkedBlockingDeque
 
peekLast() - Method in interface in.srain.cube.concurrent.Deque
Retrieves, but does not remove, the last element of this deque, or returns null if this deque is empty.
peekLast() - Method in class in.srain.cube.concurrent.LinkedBlockingDeque
 
play() - Method in class in.srain.cube.views.mix.AutoPlayer
 
play(int, AutoPlayer.PlayDirection) - Method in class in.srain.cube.views.mix.AutoPlayer
 
play(int) - Method in class in.srain.cube.views.mix.AutoPlayer
 
playNext() - Method in interface in.srain.cube.views.mix.AutoPlayer.Playable
 
playPrevious() - Method in interface in.srain.cube.views.mix.AutoPlayer.Playable
 
playTo(int) - Method in interface in.srain.cube.views.mix.AutoPlayer.Playable
 
poll() - Method in interface in.srain.cube.concurrent.BlockingDeque
Retrieves and removes the head of the queue represented by this deque (in other words, the first element of this deque), or returns null if this deque is empty.
poll(long, TimeUnit) - Method in interface in.srain.cube.concurrent.BlockingDeque
Retrieves and removes the head of the queue represented by this deque (in other words, the first element of this deque), waiting up to the specified wait time if necessary for an element to become available.
poll() - Method in interface in.srain.cube.concurrent.Deque
Retrieves and removes the head of the queue represented by this deque (in other words, the first element of this deque), or returns null if this deque is empty.
poll() - Method in class in.srain.cube.concurrent.LinkedBlockingDeque
 
poll(long, TimeUnit) - Method in class in.srain.cube.concurrent.LinkedBlockingDeque
 
pollFirst(long, TimeUnit) - Method in interface in.srain.cube.concurrent.BlockingDeque
Retrieves and removes the first element of this deque, waiting up to the specified wait time if necessary for an element to become available.
pollFirst() - Method in interface in.srain.cube.concurrent.Deque
Retrieves and removes the first element of this deque, or returns null if this deque is empty.
pollFirst() - Method in class in.srain.cube.concurrent.LinkedBlockingDeque
 
pollFirst(long, TimeUnit) - Method in class in.srain.cube.concurrent.LinkedBlockingDeque
 
pollLast(long, TimeUnit) - Method in interface in.srain.cube.concurrent.BlockingDeque
Retrieves and removes the last element of this deque, waiting up to the specified wait time if necessary for an element to become available.
pollLast() - Method in interface in.srain.cube.concurrent.Deque
Retrieves and removes the last element of this deque, or returns null if this deque is empty.
pollLast() - Method in class in.srain.cube.concurrent.LinkedBlockingDeque
 
pollLast(long, TimeUnit) - Method in class in.srain.cube.concurrent.LinkedBlockingDeque
 
pop() - Method in interface in.srain.cube.concurrent.Deque
Pops an element from the stack represented by this deque.
pop() - Method in class in.srain.cube.concurrent.LinkedBlockingDeque
 
popTopFragment(Object) - Method in class in.srain.cube.app.CubeFragmentActivity
 
popToRoot(Object) - Method in class in.srain.cube.app.CubeFragmentActivity
 
post(Runnable) - Static method in class in.srain.cube.concurrent.SimpleTask
 
postDelay(Runnable, long) - Static method in class in.srain.cube.concurrent.SimpleTask
 
PostRequestSender - Class in in.srain.cube.request.sender
 
PostRequestSender(IRequest<?>, HttpURLConnection) - Constructor for class in.srain.cube.request.sender.PostRequestSender
 
preLoadImages(String[]) - Method in class in.srain.cube.image.ImageLoader
Load the image in advance.
prepareRequest() - Method in class in.srain.cube.request.CacheAbleRequest
prepare request
prepareRequest() - Method in class in.srain.cube.request.RequestBase
prepare request
prepareRequest() - Method in class in.srain.cube.request.SimpleRequest
 
processBackPressed() - Method in class in.srain.cube.app.CubeFragment
 
processBackPressed() - Method in class in.srain.cube.app.CubeFragmentActivity
process the return back logic return true if back pressed event has been processed and should stay in current view
processBackPressed() - Method in interface in.srain.cube.app.ICubeFragment
process the return back logic return true if back pressed event has been processed and should stay in current view
processOriginData(JsonData) - Method in class in.srain.cube.request.CacheAbleRequestJsonHandler
 
processOriginData(JsonData) - Method in interface in.srain.cube.request.RequestHandler
 
processOriginData(JsonData) - Method in class in.srain.cube.request.RequestJsonHandler
 
processOriginDataFromServer(JsonData) - Method in class in.srain.cube.request.CacheAbleRequest
 
processOriginDataFromServer(JsonData) - Method in interface in.srain.cube.request.IRequest
filter the origin data or convert its structure.
processOriginDataFromServer(JsonData) - Method in class in.srain.cube.request.SimpleRequest
 
processRawDataFromCache(JsonData) - Method in interface in.srain.cube.cache.ICacheAble
We need to process the data from data source, do some filter of convert the structure.
processRawDataFromCache(JsonData) - Method in class in.srain.cube.cache.Query
 
processRawDataFromCache(JsonData) - Method in interface in.srain.cube.cache.QueryHandler
We need to process the data from data source, do some filter of convert the structure.
processRawDataFromCache(JsonData) - Method in class in.srain.cube.cache.QueryJsonHandler
 
processRawDataFromCache(JsonData) - Method in class in.srain.cube.request.CacheAbleRequest
 
ProgressUpdateHandler - Interface in in.srain.cube.image.iface
 
push(E) - Method in interface in.srain.cube.concurrent.BlockingDeque
Pushes an element onto the stack represented by this deque.
push(E) - Method in interface in.srain.cube.concurrent.Deque
Pushes an element onto the stack represented by this deque (in other words, at the head of this deque) if it is possible to do so immediately without violating capacity restrictions, returning true upon success and throwing an IllegalStateException if no space is currently available.
push(E) - Method in class in.srain.cube.concurrent.LinkedBlockingDeque
 
pushFragmentToBackStack(Class<?>, Object) - Method in class in.srain.cube.app.CubeFragmentActivity
 
put(E) - Method in interface in.srain.cube.concurrent.BlockingDeque
Inserts the specified element into the queue represented by this deque (in other words, at the tail of this deque), waiting if necessary for space to become available.
put(E) - Method in class in.srain.cube.concurrent.LinkedBlockingDeque
 
put(String, Object) - Method in class in.srain.cube.request.JsonData
 
put(Object) - Method in class in.srain.cube.request.JsonData
 
put(int, Object) - Method in class in.srain.cube.request.JsonData
 
putFirst(E) - Method in interface in.srain.cube.concurrent.BlockingDeque
Inserts the specified element at the front of this deque, waiting if necessary for space to become available.
putFirst(E) - Method in class in.srain.cube.concurrent.LinkedBlockingDeque
 
putLast(E) - Method in interface in.srain.cube.concurrent.BlockingDeque
Inserts the specified element at the end of this deque, waiting if necessary for space to become available.
putLast(E) - Method in class in.srain.cube.concurrent.LinkedBlockingDeque
 

Q

Query<T> - Class in in.srain.cube.cache
 
Query(CacheManager) - Constructor for class in.srain.cube.cache.Query
 
query() - Method in class in.srain.cube.cache.Query
 
Query.RequestType - Enum in in.srain.cube.cache
 
queryCache(ImageTask, CubeImageView) - Method in class in.srain.cube.image.ImageLoader
Check weather this imageTask has cache Drawable data.
queryFirstPage() - Method in class in.srain.cube.views.list.PagedListDataModel
 
QueryHandler<T> - Interface in in.srain.cube.cache
 
QueryJsonHandler - Class in in.srain.cube.cache
 
QueryJsonHandler() - Constructor for class in.srain.cube.cache.QueryJsonHandler
 
queryNextPage() - Method in class in.srain.cube.views.list.PagedListDataModel
 

R

read(String) - Method in class in.srain.cube.cache.DiskCacheProvider
 
readAsciiLine(InputStream) - Static method in class in.srain.cube.diskcache.FileUtils
Returns the ASCII characters up to but not including the next "\r\n", or "\n".
readAssert(Context, String) - Static method in class in.srain.cube.cache.DiskFileUtils
 
readFully(Reader) - Static method in class in.srain.cube.diskcache.FileUtils
Returns the remainder of 'reader' as a string, closing it when done.
readString(String) - Static method in class in.srain.cube.diskcache.FileUtils
 
realSize - Variable in class in.srain.cube.cache.DiskFileUtils.CacheDirInfo
 
recoverWork() - Method in class in.srain.cube.image.ImageLoader
Recover the from the work list
RecyclingBitmapDrawable - Class in in.srain.cube.image.drawable
A BitmapDrawable that keeps track of whether it is being displayed or cached.
RecyclingBitmapDrawable(Resources, Bitmap) - Constructor for class in.srain.cube.image.drawable.RecyclingBitmapDrawable
 
registerView(BlockListView) - Method in class in.srain.cube.views.block.BlockListAdapter
 
remainingCapacity() - Method in class in.srain.cube.concurrent.LinkedBlockingDeque
Returns the number of additional elements that this deque can ideally (in the absence of memory or resource constraints) accept without blocking.
remove() - Method in interface in.srain.cube.concurrent.BlockingDeque
Retrieves and removes the head of the queue represented by this deque (in other words, the first element of this deque).
remove(Object) - Method in interface in.srain.cube.concurrent.BlockingDeque
Removes the first occurrence of the specified element from this deque.
remove() - Method in interface in.srain.cube.concurrent.Deque
Retrieves and removes the head of the queue represented by this deque (in other words, the first element of this deque).
remove(Object) - Method in interface in.srain.cube.concurrent.Deque
Removes the first occurrence of the specified element from this deque.
remove() - Method in class in.srain.cube.concurrent.LinkedBlockingDeque
Retrieves and removes the head of the queue represented by this deque.
remove(Object) - Method in class in.srain.cube.concurrent.LinkedBlockingDeque
Removes the first occurrence of the specified element from this deque.
remove() - Method in class in.srain.cube.image.impl.DefaultImageTaskExecutor.LinkedBlockingStack
 
remove(Object) - Method in class in.srain.cube.set.hash.SimpleHashSet
 
removeFirst() - Method in interface in.srain.cube.concurrent.Deque
Retrieves and removes the first element of this deque.
removeFirst() - Method in class in.srain.cube.concurrent.LinkedBlockingDeque
 
removeFirstOccurrence(Object) - Method in interface in.srain.cube.concurrent.BlockingDeque
Removes the first occurrence of the specified element from this deque.
removeFirstOccurrence(Object) - Method in interface in.srain.cube.concurrent.Deque
Removes the first occurrence of the specified element from this deque.
removeFirstOccurrence(Object) - Method in class in.srain.cube.concurrent.LinkedBlockingDeque
 
removeFooterView(View) - Method in class in.srain.cube.views.GridViewWithHeaderAndFooter
Removes a previously-added footer view.
removeFooterView(View) - Method in class in.srain.cube.views.loadmore.LoadMoreContainerBase
 
removeFooterView(View) - Method in class in.srain.cube.views.loadmore.LoadMoreGridViewContainer
 
removeFooterView(View) - Method in class in.srain.cube.views.loadmore.LoadMoreListViewContainer
 
removeHandler(HandlerHolder, T) - Static method in class in.srain.cube.util.HandlerHolder
 
removeHeaderView(View) - Method in class in.srain.cube.views.GridViewWithHeaderAndFooter
Removes a previously-added header view.
removeImageView(CubeImageView) - Method in class in.srain.cube.image.ImageTask
Remove the ImageView from ImageTask
removeLast() - Method in interface in.srain.cube.concurrent.Deque
Retrieves and removes the last element of this deque.
removeLast() - Method in class in.srain.cube.concurrent.LinkedBlockingDeque
 
removeLastOccurrence(Object) - Method in interface in.srain.cube.concurrent.BlockingDeque
Removes the last occurrence of the specified element from this deque.
removeLastOccurrence(Object) - Method in interface in.srain.cube.concurrent.Deque
Removes the last occurrence of the specified element from this deque.
removeLastOccurrence(Object) - Method in class in.srain.cube.concurrent.LinkedBlockingDeque
 
renew() - Method in class in.srain.cube.image.ImageTask
 
RequestBase<T> - Class in in.srain.cube.request
 
RequestBase() - Constructor for class in.srain.cube.request.RequestBase
 
requestCache(ICacheAble<T>) - Method in class in.srain.cube.cache.CacheManager
 
RequestCacheManager - Class in in.srain.cube.request
 
RequestCacheManager() - Constructor for class in.srain.cube.request.RequestCacheManager
 
requestCacheSync(ICacheAble<T>) - Method in class in.srain.cube.cache.CacheManager
Request cache synchronously.
RequestData - Class in in.srain.cube.request
 
RequestData() - Constructor for class in.srain.cube.request.RequestData
 
RequestData.UploadFileInfo - Class in in.srain.cube.request
 
RequestData.UploadFileInfo() - Constructor for class in.srain.cube.request.RequestData.UploadFileInfo
 
RequestDefaultHandler<T> - Class in in.srain.cube.request
 
RequestDefaultHandler() - Constructor for class in.srain.cube.request.RequestDefaultHandler
 
RequestFinishHandler<T> - Interface in in.srain.cube.request
 
RequestHandler<T> - Interface in in.srain.cube.request
 
RequestJsonHandler - Class in in.srain.cube.request
 
RequestJsonHandler() - Constructor for class in.srain.cube.request.RequestJsonHandler
 
RequestManager - Class in in.srain.cube.request
 
RequestManager() - Constructor for class in.srain.cube.request.RequestManager
 
RequestSenderFactory - Class in in.srain.cube.request.sender
 
RequestSenderFactory() - Constructor for class in.srain.cube.request.sender.RequestSenderFactory
 
requestSync(IRequest<T>) - Method in class in.srain.cube.request.DefaultRequestProxy
 
requestSync() - Method in interface in.srain.cube.request.IRequest
request synchronously
requestSync(IRequest<T>) - Method in interface in.srain.cube.request.IRequestProxy
 
requestSync() - Method in class in.srain.cube.request.RequestBase
 
requireSize - Variable in class in.srain.cube.cache.DiskFileUtils.CacheDirInfo
 
ResourceMan - Class in in.srain.cube.util
 
ResourceMan() - Constructor for class in.srain.cube.util.ResourceMan
 
restart() - Method in class in.srain.cube.concurrent.SimpleTask
Restart the task, just set the state to SimpleTask.STATE_NEW
RESULT_DOWNLOAD_ERROR - Static variable in class in.srain.cube.update.DownloadTask
 
RESULT_NO_ENOUGH_SPACE - Static variable in class in.srain.cube.update.DownloadTask
 
RESULT_OK - Static variable in class in.srain.cube.update.DownloadTask
 
RESULT_URL_ERROR - Static variable in class in.srain.cube.update.DownloadTask
 
resume() - Method in class in.srain.cube.views.mix.AutoPlayer
 
resumeWork() - Method in class in.srain.cube.image.ImageLoader
Resume the work
retrieveAbsListView() - Method in class in.srain.cube.views.loadmore.LoadMoreContainerBase
 
retrieveAbsListView() - Method in class in.srain.cube.views.loadmore.LoadMoreGridViewContainer
 
retrieveAbsListView() - Method in class in.srain.cube.views.loadmore.LoadMoreListViewContainer
 
RoundedDrawable - Class in in.srain.cube.image.drawable
A drawable with rounded corners; CenterCrop
RoundedDrawable(Bitmap, float) - Constructor for class in.srain.cube.image.drawable.RoundedDrawable
 
roundUpToPowerOfTwo(int) - Static method in class in.srain.cube.set.hash.SimpleHashSet
 
run() - Method in class in.srain.cube.concurrent.SimpleTask
 
run() - Method in class in.srain.cube.diskcache.lru.LruActionTracer
 
run() - Method in class in.srain.cube.util.SystemWatcher
 

S

s0_afterCheckMemoryCache(boolean) - Method in class in.srain.cube.image.ImageTaskStatistics
 
s1_beginLoad() - Method in class in.srain.cube.image.ImageTaskStatistics
 
s2_afterCheckFileCache(boolean) - Method in class in.srain.cube.image.ImageTaskStatistics
 
s3_afterDownload() - Method in class in.srain.cube.image.ImageTaskStatistics
 
s4_afterDecode(long) - Method in class in.srain.cube.image.ImageTaskStatistics
 
s5_beforeShow() - Method in class in.srain.cube.image.ImageTaskStatistics
 
s6_afterShow(long) - Method in class in.srain.cube.image.ImageTaskStatistics
 
sample(int) - Static method in class in.srain.cube.image.ImagePerformanceStatistics
 
SCREEN_DENSITY - Static variable in class in.srain.cube.util.LocalDisplay
 
SCREEN_HEIGHT_DP - Static variable in class in.srain.cube.util.LocalDisplay
 
SCREEN_HEIGHT_PIXELS - Static variable in class in.srain.cube.util.LocalDisplay
 
SCREEN_WIDTH_DP - Static variable in class in.srain.cube.util.LocalDisplay
 
SCREEN_WIDTH_PIXELS - Static variable in class in.srain.cube.util.LocalDisplay
 
ScrollHeaderFrame - Class in in.srain.cube.views
 
ScrollHeaderFrame(Context) - Constructor for class in.srain.cube.views.ScrollHeaderFrame
 
ScrollHeaderFrame(Context, AttributeSet) - Constructor for class in.srain.cube.views.ScrollHeaderFrame
 
ScrollHeaderFrame(Context, AttributeSet, int) - Constructor for class in.srain.cube.views.ScrollHeaderFrame
 
secondaryHash(Object) - Static method in class in.srain.cube.set.hash.SimpleHashSet
 
send() - Method in interface in.srain.cube.request.IRequest
send request
send() - Method in class in.srain.cube.request.RequestBase
 
send() - Method in class in.srain.cube.request.sender.GetRequestSender
 
send() - Method in interface in.srain.cube.request.sender.IRequestSender
 
send() - Method in class in.srain.cube.request.sender.MultiPartRequestSender
post data to Server
send() - Method in class in.srain.cube.request.sender.PostRequestSender
 
sendRequest(IRequest<T>) - Method in class in.srain.cube.request.DefaultRequestProxy
 
sendRequest(IRequest<T>) - Method in interface in.srain.cube.request.IRequestProxy
 
set(String, BitmapDrawable) - Method in interface in.srain.cube.image.iface.ImageMemoryCache
 
set(String, BitmapDrawable) - Method in class in.srain.cube.image.impl.DefaultMemoryCache
 
setAdapter(BannerAdapter) - Method in class in.srain.cube.views.banner.SliderBanner
 
setAdapter(BlockListAdapter<?>) - Method in class in.srain.cube.views.block.BlockListView
 
setAdapter(ListAdapter) - Method in class in.srain.cube.views.GridViewWithHeaderAndFooter
 
setAlpha(int) - Method in class in.srain.cube.image.drawable.CircleProgress
 
setAlpha(int) - Method in class in.srain.cube.image.drawable.RoundedDrawable
 
setAlpha(int) - Method in class in.srain.cube.image.drawable.TextDrawable
 
setAssertInitDataPath(String) - Method in interface in.srain.cube.cache.ICacheAble
 
setAssertInitDataPath(String) - Method in class in.srain.cube.cache.Query
 
setAssertInitDataPath(String) - Method in class in.srain.cube.request.CacheAbleRequest
 
setAsyncTaskEventHandler(DiskCacheProvider.AsyncTaskEventHandler) - Method in class in.srain.cube.cache.DiskCacheProvider
 
setAutoLoadMore(boolean) - Method in interface in.srain.cube.views.loadmore.LoadMoreContainer
 
setAutoLoadMore(boolean) - Method in class in.srain.cube.views.loadmore.LoadMoreContainerBase
 
setBitmapOriginSize(int, int) - Method in class in.srain.cube.image.ImageTask
 
setBlockSize(int, int) - Method in class in.srain.cube.views.block.BlockListAdapter
 
setCacheAbleRequestHandler(CacheAbleRequestHandler<T>) - Method in class in.srain.cube.request.CacheAbleRequest
 
setCacheData(String, String) - Method in class in.srain.cube.cache.CacheManager
 
setCacheKey(String) - Method in interface in.srain.cube.cache.ICacheAble
 
setCacheKey(String) - Method in class in.srain.cube.cache.Query
 
setCacheKey(String) - Method in class in.srain.cube.request.CacheAbleRequest
 
setCacheTime(long) - Method in interface in.srain.cube.cache.ICacheAble
set cache time, in seconds
setCacheTime(long) - Method in class in.srain.cube.cache.Query
 
setCacheTime(long) - Method in class in.srain.cube.request.CacheAbleRequest
 
setCenterOnClickListener(View.OnClickListener) - Method in class in.srain.cube.mints.base.TitleHeaderBar
 
setClearDrawableWhenDetached(boolean) - Method in class in.srain.cube.image.CubeImageView
 
setClipChildren(boolean) - Method in class in.srain.cube.views.GridViewWithHeaderAndFooter
 
setClipChildrenSupper(boolean) - Method in class in.srain.cube.views.GridViewWithHeaderAndFooter
Do not call this method unless you know how it works.
setColor(int, int) - Method in class in.srain.cube.views.DotView
 
setColor(int) - Method in class in.srain.cube.views.MoreActionView
 
setColorFilter(ColorFilter) - Method in class in.srain.cube.image.drawable.CircleProgress
 
setColorFilter(ColorFilter) - Method in class in.srain.cube.image.drawable.RoundedDrawable
 
setColorFilter(ColorFilter) - Method in class in.srain.cube.image.drawable.TextDrawable
 
setColorFilter(int) - Method in class in.srain.cube.views.MoreActionView
 
setColorFilter(int, PorterDuff.Mode) - Method in class in.srain.cube.views.MoreActionView
 
setColumnNum(int) - Method in class in.srain.cube.views.block.BlockListAdapter
 
setContentView(int) - Method in class in.srain.cube.mints.base.TitleBaseActivity
 
setContentViewSupper(int) - Method in class in.srain.cube.mints.base.TitleBaseActivity
 
setCustomizedCenterView(View) - Method in class in.srain.cube.mints.base.TitleHeaderBar
set customized view to center
setCustomizedCenterView(int) - Method in class in.srain.cube.mints.base.TitleHeaderBar
set customized view to center
setCustomizedLeftView(View) - Method in class in.srain.cube.mints.base.TitleHeaderBar
set customized view to left side
setCustomizedLeftView(int) - Method in class in.srain.cube.mints.base.TitleHeaderBar
set customized view to left side
setCustomizedRightView(View) - Method in class in.srain.cube.mints.base.TitleHeaderBar
set customized view to right side
setDefaultImageDownloader(ImageDownloader) - Static method in class in.srain.cube.image.ImageLoaderFactory
set a default ImageDownloader for all ImageLoader
setDefaultImageLoadHandler(ImageLoadHandler) - Static method in class in.srain.cube.image.ImageLoaderFactory
 
setDefaultImageProvider(ImageProvider) - Static method in class in.srain.cube.image.ImageLoaderFactory
 
setDefaultImageReSizer(ImageReSizer) - Static method in class in.srain.cube.image.ImageLoaderFactory
 
setDefaultImageTaskExecutor(ImageTaskExecutor) - Static method in class in.srain.cube.image.ImageLoaderFactory
 
setDisableCache(boolean) - Method in interface in.srain.cube.cache.ICacheAble
temporarily disable cache.
setDisableCache(boolean) - Method in class in.srain.cube.cache.Query
 
setDisableCache(boolean) - Method in class in.srain.cube.request.CacheAbleRequest
 
setDotNum(int) - Method in class in.srain.cube.views.banner.SliderBanner
 
setEnvTag(String) - Static method in class in.srain.cube.util.Env
 
setError(int) - Method in class in.srain.cube.image.ImageTask
 
setErrorBitmap(Bitmap) - Method in class in.srain.cube.image.impl.DefaultImageLoadHandler
 
setErrorResources(int) - Method in class in.srain.cube.image.impl.DefaultImageLoadHandler
set the error Image
setFailData(FailData) - Method in interface in.srain.cube.request.IRequest
 
setFailData(FailData) - Method in class in.srain.cube.request.RequestBase
 
setFinishedColor(int) - Method in class in.srain.cube.image.drawable.CircleProgress
 
setHandler(QueryHandler<T>) - Method in class in.srain.cube.cache.Query
 
setHandler(IScrollHeaderFrameHandler) - Method in class in.srain.cube.views.ScrollHeaderFrame
 
setHeaderTitle(int) - Method in class in.srain.cube.mints.base.TitleBaseActivity
 
setHeaderTitle(String) - Method in class in.srain.cube.mints.base.TitleBaseActivity
 
setHeaderTitle(int) - Method in class in.srain.cube.mints.base.TitleBaseFragment
 
setHeaderTitle(String) - Method in class in.srain.cube.mints.base.TitleBaseFragment
 
setImageBitmap(Bitmap) - Method in class in.srain.cube.image.CubeImageView
 
setImageDownloader(ImageDownloader) - Method in class in.srain.cube.image.ImageLoader
 
setImageDrawable(Drawable) - Method in class in.srain.cube.image.CubeImageView
 
setImageFadeIn(boolean) - Method in class in.srain.cube.image.impl.DefaultImageLoadHandler
If set to true, the image will fade-in once it has been loaded by the background thread.
setImageLoadHandler(ImageLoadHandler) - Method in class in.srain.cube.image.ImageLoader
 
setImageLoadProfile(ImageLoadProfiler) - Static method in class in.srain.cube.image.ImagePerformanceStatistics
 
setImageReSizer(ImageReSizer) - Method in class in.srain.cube.image.ImageLoader
 
setImageResource(int) - Method in class in.srain.cube.image.CubeImageView
 
setImageRounded(boolean, float) - Method in class in.srain.cube.image.impl.DefaultImageLoadHandler
 
setImageURI(Uri) - Method in class in.srain.cube.image.CubeImageView
 
setIsCached(boolean) - Method in class in.srain.cube.image.drawable.RecyclingBitmapDrawable
Notify the drawable that the cache state has changed.
setIsDisplayed(boolean) - Method in class in.srain.cube.image.drawable.RecyclingBitmapDrawable
Notify the drawable that the displayed state has changed.
setIsPreLoad() - Method in class in.srain.cube.image.ImageTask
 
setItemData(int, View) - Method in class in.srain.cube.views.list.ViewHolderBase
 
setLeftOnClickListener(View.OnClickListener) - Method in class in.srain.cube.mints.base.TitleHeaderBar
 
setListPageInfo(ListPageInfo<ItemDataType>) - Method in class in.srain.cube.views.list.PagedListViewDataAdapter
 
setLoadingBitmap(Bitmap) - Method in class in.srain.cube.image.impl.DefaultImageLoadHandler
set the placeholder bitmap
setLoadingImageColor(int) - Method in class in.srain.cube.image.impl.DefaultImageLoadHandler
set the placeholder by color
setLoadingImageColor(String) - Method in class in.srain.cube.image.impl.DefaultImageLoadHandler
set the placeholder image by color string like: #ffffff
setLoadingResources(int) - Method in class in.srain.cube.image.impl.DefaultImageLoadHandler
set the placeholder Image
setLoadMoreHandler(LoadMoreHandler) - Method in interface in.srain.cube.views.loadmore.LoadMoreContainer
 
setLoadMoreHandler(LoadMoreHandler) - Method in class in.srain.cube.views.loadmore.LoadMoreContainerBase
 
setLoadMoreUIHandler(LoadMoreUIHandler) - Method in interface in.srain.cube.views.loadmore.LoadMoreContainer
 
setLoadMoreUIHandler(LoadMoreUIHandler) - Method in class in.srain.cube.views.loadmore.LoadMoreContainerBase
 
setLoadMoreView(View) - Method in interface in.srain.cube.views.loadmore.LoadMoreContainer
 
setLoadMoreView(View) - Method in class in.srain.cube.views.loadmore.LoadMoreContainerBase
 
setMax(int) - Method in class in.srain.cube.image.drawable.CircleProgress
 
setNum(int) - Method in interface in.srain.cube.views.banner.PagerIndicator
 
setNum(int) - Method in class in.srain.cube.views.DotView
 
setNumColumns(int) - Method in class in.srain.cube.views.GridViewWithHeaderAndFooter
 
setOnDotClickHandler(DotView.OnDotClickHandler) - Method in class in.srain.cube.views.DotView
 
setOnItemClickListener(BlockListView.OnItemClickListener) - Method in class in.srain.cube.views.block.BlockListView
 
setOnPageChangeListener(ViewPager.OnPageChangeListener) - Method in class in.srain.cube.views.banner.SliderBanner
 
setOnPageChangeListener(ViewPager.OnPageChangeListener) - Method in interface in.srain.cube.views.pager.PageIndicator
Set a page change listener which will receive forwarded events.
setOnPageChangeListener(OnPageChangeListener) - Method in class in.srain.cube.views.pager.TabPageIndicator
 
setOnScrollListener(AbsListView.OnScrollListener) - Method in interface in.srain.cube.views.loadmore.LoadMoreContainer
 
setOnScrollListener(AbsListView.OnScrollListener) - Method in class in.srain.cube.views.loadmore.LoadMoreContainerBase
 
setOnTabReselectedListener(TabPageIndicator.OnTabReselectedListener) - Method in class in.srain.cube.views.pager.TabPageIndicator
 
setOriginUrl(String) - Method in class in.srain.cube.image.ImageTask
 
setPadding(View, float, float, float, float) - Static method in class in.srain.cube.util.LocalDisplay
 
setPageListDataHandler(PagedListDataModel.PagedListDataHandler) - Method in class in.srain.cube.views.list.PagedListDataModel
 
setPainters() - Method in class in.srain.cube.image.drawable.CircleProgress
 
setPlayRecycleMode(AutoPlayer.PlayRecycleMode) - Method in class in.srain.cube.views.mix.AutoPlayer
 
setPrefixText(String) - Method in class in.srain.cube.image.drawable.CircleProgress
 
setProgress(int) - Method in class in.srain.cube.image.drawable.CircleProgress
 
setRequestFail() - Method in class in.srain.cube.views.list.PagedListDataModel
 
setRequestHandler(RequestHandler<T>) - Method in class in.srain.cube.request.SimpleRequest
 
setRequestProxy(IRequestProxy) - Method in class in.srain.cube.request.RequestManager
 
setRequestResult(List<T>, int) - Method in class in.srain.cube.views.list.PagedListDataModel
 
setRequestResult(List<T>, boolean) - Method in class in.srain.cube.views.list.PagedListDataModel
 
setRequestSize(int, int) - Method in class in.srain.cube.image.ImageTask
 
setRequestUrl(String) - Method in class in.srain.cube.request.RequestData
 
setResizeImageViewAfterLoad(boolean) - Method in class in.srain.cube.image.impl.DefaultImageLoadHandler
 
setReuseInfo(ImageReuseInfo) - Method in class in.srain.cube.image.ImageTask
 
setRightOnClickListener(View.OnClickListener) - Method in class in.srain.cube.mints.base.TitleHeaderBar
 
setSample(int) - Static method in class in.srain.cube.image.ImagePerformanceStatistics
 
setSelected(int) - Method in interface in.srain.cube.views.banner.PagerIndicator
 
setSelected(int) - Method in class in.srain.cube.views.DotView
 
setSelectedColor(int) - Method in class in.srain.cube.views.DotView
 
setShowLoadingForFirstPage(boolean) - Method in interface in.srain.cube.views.loadmore.LoadMoreContainer
 
setShowLoadingForFirstPage(boolean) - Method in class in.srain.cube.views.loadmore.LoadMoreContainerBase
 
setSize(long) - Method in class in.srain.cube.diskcache.CacheEntry
 
setSize(int) - Method in class in.srain.cube.image.drawable.CircleProgress
 
setSpace(int, int) - Method in class in.srain.cube.views.block.BlockListAdapter
 
setStableImageProvider(ImageProvider) - Static method in class in.srain.cube.image.ImageLoaderFactory
 
setString(String) - Method in class in.srain.cube.diskcache.CacheEntry
Sets the value
setSuffixText(String) - Method in class in.srain.cube.image.drawable.CircleProgress
 
setTag(String) - Method in class in.srain.cube.request.RequestData
Set a tag to mark this request
setTaskOrder(int) - Method in interface in.srain.cube.image.iface.ImageTaskExecutor
 
setTaskOrder(int) - Method in class in.srain.cube.image.ImageLoader
set task executed order: @TASK_ORDER_LAST_IN_FIRST_OUT or ImageLoader.TASK_ORDER_FIRST_IN_FIRST_OUT
setTaskOrder(int) - Method in class in.srain.cube.image.impl.DefaultImageTaskExecutor.LinkedBlockingStack
 
setTaskOrder(int) - Method in class in.srain.cube.image.impl.DefaultImageTaskExecutor
 
setTextColor(int) - Method in class in.srain.cube.image.drawable.CircleProgress
 
setTextSize(float) - Method in class in.srain.cube.image.drawable.CircleProgress
 
setTextSize(float) - Method in class in.srain.cube.image.drawable.TextDrawable
 
setTimeInterval(int) - Method in class in.srain.cube.views.banner.SliderBanner
 
setTimeInterval(int) - Method in class in.srain.cube.views.mix.AutoPlayer
 
setTimeout(int) - Method in class in.srain.cube.request.CacheAbleRequest
 
setTimeout(int) - Method in interface in.srain.cube.request.ICacheAbleRequest
set a timeout, when request time over this value, cache data will be used.
setTitle(String) - Method in class in.srain.cube.mints.base.TitleHeaderBar
 
setUnfinishedColor(int) - Method in class in.srain.cube.image.drawable.CircleProgress
 
setUnSelectedColor(int) - Method in class in.srain.cube.views.DotView
 
setup() - Method in class in.srain.cube.request.sender.BaseRequestSender
 
setup() - Method in interface in.srain.cube.request.sender.IRequestSender
 
setup() - Method in class in.srain.cube.request.sender.MultiPartRequestSender
 
setup() - Method in class in.srain.cube.request.sender.PostRequestSender
 
setupList() - Method in class in.srain.cube.mints.base.BlockMenuFragment
 
setupViews(View) - Method in class in.srain.cube.mints.base.BlockMenuFragment
 
setupViews(View) - Method in class in.srain.cube.mints.base.MenuItemFragment
 
setUseCacheAnyway(boolean) - Method in interface in.srain.cube.cache.ICacheAble
Using cache data if existent, ignore whether it is expired or not.
setUseCacheAnyway(boolean) - Method in class in.srain.cube.cache.Query
 
setUseCacheAnyway(boolean) - Method in class in.srain.cube.request.CacheAbleRequest
 
setViewHolderClass(Object, Class<?>, Object...) - Method in class in.srain.cube.views.list.ListViewDataAdapterBase
 
setViewHolderCreator(ViewHolderCreator<ItemDataType>) - Method in class in.srain.cube.views.list.ListViewDataAdapterBase
 
setViewHolderCreator(TabPageIndicator.ViewHolderCreator) - Method in class in.srain.cube.views.pager.TabPageIndicator
 
setViewPager(ViewPager) - Method in interface in.srain.cube.views.pager.PageIndicator
Bind the indicator to a ViewPager.
setViewPager(ViewPager, int) - Method in interface in.srain.cube.views.pager.PageIndicator
Bind the indicator to a ViewPager.
setViewPager(ViewPager) - Method in class in.srain.cube.views.pager.TabPageIndicator
 
setViewPager(ViewPager, int) - Method in class in.srain.cube.views.pager.TabPageIndicator
 
setViewPagerOnTouchListener(View.OnTouchListener) - Method in class in.srain.cube.views.banner.SliderBanner
 
shouldPost() - Method in class in.srain.cube.request.RequestData
 
showData(int, ItemDataType) - Method in class in.srain.cube.views.list.ViewHolderBase
using the held views to display data
showKeyboardAtView(View) - Method in class in.srain.cube.app.CubeFragmentActivity
 
SimpleDiskLruCache - Class in in.srain.cube.diskcache.lru
 
SimpleDiskLruCache(File, int, long) - Constructor for class in.srain.cube.diskcache.lru.SimpleDiskLruCache
 
SimpleDownloader - Class in in.srain.cube.image.impl
A simple class that fetches images from a URL.
SimpleDownloader() - Constructor for class in.srain.cube.image.impl.SimpleDownloader
 
SimpleExecutor - Class in in.srain.cube.concurrent
Use a Thread pool to manager the thread.
SimpleHashSet<T> - Class in in.srain.cube.set.hash
 
SimpleHashSet() - Constructor for class in.srain.cube.set.hash.SimpleHashSet
 
SimpleHashSet(int) - Constructor for class in.srain.cube.set.hash.SimpleHashSet
 
SimpleHashSet(Collection<? extends T>) - Constructor for class in.srain.cube.set.hash.SimpleHashSet
 
SimpleJsonRequest - Class in in.srain.cube.request
 
SimpleJsonRequest(RequestJsonHandler) - Constructor for class in.srain.cube.request.SimpleJsonRequest
 
SimpleRequest<T> - Class in in.srain.cube.request
 
SimpleRequest() - Constructor for class in.srain.cube.request.SimpleRequest
 
SimpleRequest(RequestHandler<T>) - Constructor for class in.srain.cube.request.SimpleRequest
 
SimpleTask - Class in in.srain.cube.concurrent
A class which encapsulate a task that can execute in background thread and can be cancelled.
SimpleTask() - Constructor for class in.srain.cube.concurrent.SimpleTask
 
size() - Method in interface in.srain.cube.concurrent.BlockingDeque
Returns the number of elements in this deque.
size() - Method in interface in.srain.cube.concurrent.Deque
Returns the number of elements in this deque.
size() - Method in class in.srain.cube.concurrent.LinkedBlockingDeque
Returns the number of elements in this deque.
size() - Method in class in.srain.cube.set.hash.SimpleHashSet
 
skipNext() - Method in class in.srain.cube.views.mix.AutoPlayer
 
SliderBanner - Class in in.srain.cube.views.banner
 
SliderBanner(Context) - Constructor for class in.srain.cube.views.banner.SliderBanner
 
SliderBanner(Context, AttributeSet) - Constructor for class in.srain.cube.views.banner.SliderBanner
 
startListening(Context) - Method in class in.srain.cube.util.NetworkStatusManager
This method starts listening for network connectivity state changes.
STATUS_LOADED_EMPTY - Static variable in interface in.srain.cube.views.loadmore.LoadMoreUIHandler
 
STATUS_LOADED_NO_MORE - Static variable in interface in.srain.cube.views.loadmore.LoadMoreUIHandler
 
stillHasRelatedImageView() - Method in class in.srain.cube.image.ImageTask
Check if this ImageTask has any related ImageViews.
stillHoldLastItemData() - Method in class in.srain.cube.views.list.ViewHolderBase
Check if the View Holder is still display the same data after back to screen.
stop() - Method in class in.srain.cube.views.mix.AutoPlayer
 
stopListening() - Method in class in.srain.cube.util.NetworkStatusManager
This method stops this class from listening for network changes.
stopWork() - Method in class in.srain.cube.image.ImageLoader
Drop all the work, and leave it in the work list.
SystemWatcher - Class in in.srain.cube.util
 

T

TabPageIndicator - Class in in.srain.cube.views.pager
This widget implements the dynamic action bar tab behavior that can change across different configurations or circumstances.
TabPageIndicator(Context) - Constructor for class in.srain.cube.views.pager.TabPageIndicator
 
TabPageIndicator(Context, AttributeSet) - Constructor for class in.srain.cube.views.pager.TabPageIndicator
 
TabPageIndicator.OnTabReselectedListener - Interface in in.srain.cube.views.pager
Interface for a callback when the selected tab has been reselected.
TabPageIndicator.ViewHolderBase - Class in in.srain.cube.views.pager
 
TabPageIndicator.ViewHolderBase() - Constructor for class in.srain.cube.views.pager.TabPageIndicator.ViewHolderBase
 
TabPageIndicator.ViewHolderCreator - Class in in.srain.cube.views.pager
 
TabPageIndicator.ViewHolderCreator() - Constructor for class in.srain.cube.views.pager.TabPageIndicator.ViewHolderCreator
 
TAG - Static variable in class in.srain.cube.image.ImageProvider
 
take() - Method in interface in.srain.cube.concurrent.BlockingDeque
Retrieves and removes the head of the queue represented by this deque (in other words, the first element of this deque), waiting if necessary until an element becomes available.
take() - Method in class in.srain.cube.concurrent.LinkedBlockingDeque
 
takeFirst() - Method in interface in.srain.cube.concurrent.BlockingDeque
Retrieves and removes the first element of this deque, waiting if necessary until an element becomes available.
takeFirst() - Method in class in.srain.cube.concurrent.LinkedBlockingDeque
 
takeLast() - Method in interface in.srain.cube.concurrent.BlockingDeque
Retrieves and removes the last element of this deque, waiting if necessary until an element becomes available.
takeLast() - Method in class in.srain.cube.concurrent.LinkedBlockingDeque
 
TASK_CLOSE_CACHE - Static variable in class in.srain.cube.cache.DiskCacheProvider
 
TASK_FLUSH_CACHE - Static variable in class in.srain.cube.cache.DiskCacheProvider
 
TASK_INIT_CACHE - Static variable in class in.srain.cube.cache.DiskCacheProvider
 
TASK_ORDER_FIRST_IN_FIRST_OUT - Static variable in class in.srain.cube.image.ImageLoader
 
TASK_ORDER_LAST_IN_FIRST_OUT - Static variable in class in.srain.cube.image.ImageLoader
 
TextDrawable - Class in in.srain.cube.image.drawable
 
TextDrawable(String) - Constructor for class in.srain.cube.image.drawable.TextDrawable
 
TitleBaseActivity - Class in in.srain.cube.mints.base
 
TitleBaseActivity() - Constructor for class in.srain.cube.mints.base.TitleBaseActivity
 
TitleBaseFragment - Class in in.srain.cube.mints.base
TitleBaseFragment() - Constructor for class in.srain.cube.mints.base.TitleBaseFragment
 
TitleHeaderBar - Class in in.srain.cube.mints.base
 
TitleHeaderBar(Context) - Constructor for class in.srain.cube.mints.base.TitleHeaderBar
 
TitleHeaderBar(Context, AttributeSet) - Constructor for class in.srain.cube.mints.base.TitleHeaderBar
 
TitleHeaderBar(Context, AttributeSet, int) - Constructor for class in.srain.cube.mints.base.TitleHeaderBar
 
toArray() - Method in class in.srain.cube.concurrent.LinkedBlockingDeque
Returns an array containing all of the elements in this deque, in proper sequence (from first to last element).
toArray(T[]) - Method in class in.srain.cube.concurrent.LinkedBlockingDeque
Returns an array containing all of the elements in this deque, in proper sequence; the runtime type of the returned array is that of the specified array.
toArrayList() - Method in class in.srain.cube.request.JsonData
 
toString() - Method in class in.srain.cube.concurrent.LinkedBlockingDeque
 
toString() - Method in class in.srain.cube.diskcache.lru.SimpleDiskLruCache
 
toString() - Method in class in.srain.cube.image.CubeImageView
 
toString() - Method in class in.srain.cube.image.ImageTask
 
toString() - Method in class in.srain.cube.request.JsonData
 
toString() - Method in class in.srain.cube.request.RequestData
 
toString() - Method in class in.srain.cube.request.RequestData.UploadFileInfo
 
transform(Bitmap, float, float) - Static method in class in.srain.cube.image.drawable.RoundedDrawable
 
tryAddComponentToContainer(LifeCycleComponent, Object) - Static method in class in.srain.cube.app.lifecycle.LifeCycleComponentManager
Try to add component to container
tryAddComponentToContainer(LifeCycleComponent, Object, boolean) - Static method in class in.srain.cube.app.lifecycle.LifeCycleComponentManager
 
tryEnterLock() - Method in class in.srain.cube.views.list.ListPageInfo
 
tryToAttachToContainer(Object) - Method in class in.srain.cube.image.ImageLoader
try to attach to IComponentContainer
tryToAttachToContainer(Object, boolean) - Method in class in.srain.cube.image.ImageLoader
try to attach to IComponentContainer
tryToRecycle() - Method in class in.srain.cube.image.ImageTask
 
tryToResume() - Method in class in.srain.cube.diskcache.lru.LruActionTracer
try to resume last status when we got off
tryToScrollToBottomSmoothly() - Method in class in.srain.cube.views.GridViewWithHeaderAndFooter
 
tryToScrollToBottomSmoothly(int) - Method in class in.srain.cube.views.GridViewWithHeaderAndFooter
 

U

unknown(IRequest<?>) - Static method in class in.srain.cube.request.FailData
 
unlock() - Method in class in.srain.cube.views.list.ListPageInfo
 
UpdateController - Class in in.srain.cube.update
 
updateListInfo(List<T>, int) - Method in class in.srain.cube.views.list.ListPageInfo
 
updateListInfo(List<T>, boolean) - Method in class in.srain.cube.views.list.ListPageInfo
 
updateView(int, boolean) - Method in class in.srain.cube.views.pager.TabPageIndicator.ViewHolderBase
 
uploadFile - Variable in class in.srain.cube.request.RequestData.UploadFileInfo
 
useCacheAnyway() - Method in interface in.srain.cube.cache.ICacheAble
check if use cache anyway
useCacheAnyway() - Method in class in.srain.cube.cache.Query
 
useCacheAnyway() - Method in class in.srain.cube.request.CacheAbleRequest
 
useDefaultHeader() - Method in class in.srain.cube.views.loadmore.LoadMoreContainerBase
 
usePost(boolean) - Method in class in.srain.cube.request.RequestData
 

V

valueOf(String) - Static method in enum in.srain.cube.cache.CacheResultType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum in.srain.cube.cache.Query.RequestType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum in.srain.cube.request.CacheAbleRequest.ResultType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum in.srain.cube.util.NetworkStatusManager.State
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum in.srain.cube.views.mix.AutoPlayer.PlayDirection
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum in.srain.cube.views.mix.AutoPlayer.PlayRecycleMode
Returns the enum constant of this type with the specified name.
values() - Static method in enum in.srain.cube.cache.CacheResultType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum in.srain.cube.cache.Query.RequestType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum in.srain.cube.request.CacheAbleRequest.ResultType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum in.srain.cube.util.NetworkStatusManager.State
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum in.srain.cube.views.mix.AutoPlayer.PlayDirection
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum in.srain.cube.views.mix.AutoPlayer.PlayRecycleMode
Returns an array containing the constants of this enum type, in the order they are declared.
Version - Class in in.srain.cube.util
Class containing some static utility methods about API version.
ViewHolderBase<ItemDataType> - Class in in.srain.cube.views.list
As described in

http://developer.android.com/training/improving-layouts/smooth-scrolling.html

Using A View Holder in ListView getView() method is a good practice in using ListView;

This class encapsulate the base operate of a View Holder: createView / showData

ViewHolderBase() - Constructor for class in.srain.cube.views.list.ViewHolderBase
 
ViewHolderCreator<ItemDataType> - Interface in in.srain.cube.views.list
A interface that defines what a View Holder Creator should do.

W

wantFilesPath(Context, boolean) - Static method in class in.srain.cube.cache.DiskFileUtils
external: "/storage/emulated/0/Android/data/in.srain.sample/files" internal: "/data/data/in.srain.sample/files"
write(String, String) - Method in class in.srain.cube.cache.DiskCacheProvider
 
write(String, Bitmap) - Method in class in.srain.cube.image.ImageDiskCacheProvider
Adds a bitmap to both memory and disk cache
writeString(String, String) - Static method in class in.srain.cube.diskcache.FileUtils
 
writeToBundle(Intent) - Method in class in.srain.cube.uri.CustomizedUri
 

X

XActivity - Class in in.srain.cube.app
1.
XActivity() - Constructor for class in.srain.cube.app.XActivity
 
A B C D E F G H I J K L M N O P Q R S T U V W X