- saveCache(String, SimpleCache<K, V>) - Static method in class cn.trinea.android.common.service.impl.SimpleCache
-
save cache to file, the data of
CacheObject
should can be serializabled
- saveDataToDb(Context, String) - Method in class cn.trinea.android.common.service.impl.ImageCache
-
- saveDataToDb(Context, String) - Method in class cn.trinea.android.common.service.impl.ImageSDCardCache
-
- saveDataToDb(Context, ImageSDCardCache, String) - Static method in class cn.trinea.android.common.service.impl.ImageSDCardCache
-
- scaleImage(Bitmap, float, float) - Static method in class cn.trinea.android.common.util.ImageUtils
-
scale image
- scaleImageTo(Bitmap, int, int) - Static method in class cn.trinea.android.common.util.ImageUtils
-
scale image
- ScreenUtils - Class in cn.trinea.android.common.util
-
- ScreenUtils() - Constructor for class cn.trinea.android.common.util.ScreenUtils
-
- scrollTo(int) - Method in class cn.trinea.android.common.view.HorizontalListView
-
- serialization(String, Object) - Static method in class cn.trinea.android.common.util.SerializeUtils
-
serialize to file
- SerializeUtils - Class in cn.trinea.android.common.util
-
Serialize Utils
- SerializeUtils() - Constructor for class cn.trinea.android.common.util.SerializeUtils
-
- setAbsListViewHeightBasedOnChildren(AbsListView) - Static method in class cn.trinea.android.common.util.ViewUtils
-
set AbsListView height which is calculated by getAbsListViewHeightBasedOnChildren(AbsListView)
- setAdapter(ListAdapter) - Method in class cn.trinea.android.common.view.DropDownListView
-
- setAdapter(ListAdapter) - Method in class cn.trinea.android.common.view.HorizontalListView
-
- setAllowedNetworkTypes(int) - Method in class cn.trinea.android.common.service.impl.ImageCache
-
- setAllowedNetworkTypes(int) - Method in class cn.trinea.android.common.service.impl.PreloadDataCache
-
Restrict the types of networks over which this data can get.
- setAutoLoadOnBottom(boolean) - Method in class cn.trinea.android.common.view.DropDownListView
-
set whether auto load when on bottom
- setBackwardCacheNumber(int) - Method in class cn.trinea.android.common.service.impl.ImageCache
-
- setBackwardCacheNumber(int) - Method in class cn.trinea.android.common.service.impl.PreloadDataCache
-
- setCacheFolder(String) - Method in class cn.trinea.android.common.service.impl.ImageCache
-
- setCacheFolder(String) - Method in class cn.trinea.android.common.service.impl.ImageSDCardCache
-
- setCacheFullRemoveType(CacheFullRemoveType<V>) - Method in class cn.trinea.android.common.service.impl.SimpleCache
-
set remove type when cache is full
- setCacheFullRemoveTypeOfSecondaryCache(CacheFullRemoveType<String>) - Method in class cn.trinea.android.common.service.impl.ImageCache
-
set remove type when secondary cache is full
- setCheckNetwork(boolean) - Method in class cn.trinea.android.common.service.impl.ImageCache
-
- setCheckNetwork(boolean) - Method in class cn.trinea.android.common.service.impl.PreloadDataCache
-
- setCompressListener(ImageCache.CompressListener) - Method in class cn.trinea.android.common.service.impl.ImageCache
-
set compressListener
Attentions:
if this function is set, the function #setCompressSize(String)
is not work
- setCompressSize(int) - Method in class cn.trinea.android.common.service.impl.ImageCache
-
- setConnectTimeout(int) - Method in class cn.trinea.android.common.entity.HttpRequest
-
- setContext(Context) - Method in class cn.trinea.android.common.service.impl.ImageCache
-
- setContext(Context) - Method in class cn.trinea.android.common.service.impl.PreloadDataCache
-
- setData(V) - Method in class cn.trinea.android.common.entity.CacheObject
-
Set data
- setDropDownStyle(boolean) - Method in class cn.trinea.android.common.view.DropDownListView
-
- setEnterTime(long) - Method in class cn.trinea.android.common.entity.CacheObject
-
Set time first put into cache, in mills
- setExpired(boolean) - Method in class cn.trinea.android.common.entity.CacheObject
-
Set whether has expired, default is false
- setExpiredTime(long) - Method in class cn.trinea.android.common.entity.HttpResponse
-
set expired time in millis
- setFileExtension(String) - Method in class cn.trinea.android.common.service.impl.FileNameRuleImageUrl
-
- setFileNameRule(FileNameRule) - Method in class cn.trinea.android.common.service.impl.ImageCache
-
- setFileNameRule(FileNameRule) - Method in class cn.trinea.android.common.service.impl.ImageSDCardCache
-
- setFooterDefaultText(String) - Method in class cn.trinea.android.common.view.DropDownListView
-
set footer default text, default is R.string.drop_down_list_footer_default_text
- setFooterLoadingText(String) - Method in class cn.trinea.android.common.view.DropDownListView
-
set footer loading text, default is R.string.drop_down_list_footer_loading_text
- setFooterNoMoreText(String) - Method in class cn.trinea.android.common.view.DropDownListView
-
set footer no more text, default is R.string.drop_down_list_footer_no_more_text
- setForever(boolean) - Method in class cn.trinea.android.common.entity.CacheObject
-
Set whether is valid forever, default is false
- setForwardCacheNumber(int) - Method in class cn.trinea.android.common.service.impl.ImageCache
-
- setForwardCacheNumber(int) - Method in class cn.trinea.android.common.service.impl.PreloadDataCache
-
- setHasMore(boolean) - Method in class cn.trinea.android.common.view.DropDownListView
-
set whether has more. if hasMore is false, onBottm will not be called when listView scroll to bottom
- setHeaderDefaultText(String) - Method in class cn.trinea.android.common.view.DropDownListView
-
set header default text, default is R.string.drop_down_list_header_default_text
- setHeaderLoadingText(String) - Method in class cn.trinea.android.common.view.DropDownListView
-
set header loading text, default is R.string.drop_down_list_header_loading_text
- setHeaderPaddingTopRate(float) - Method in class cn.trinea.android.common.view.DropDownListView
-
set rate about drop down distance and header padding top when drop down
- setHeaderPullText(String) - Method in class cn.trinea.android.common.view.DropDownListView
-
set header pull text, default is R.string.drop_down_list_header_pull_text
- setHeaderReleaseMinDistance(int) - Method in class cn.trinea.android.common.view.DropDownListView
-
set min distance which header can release to loading
- setHeaderReleaseText(String) - Method in class cn.trinea.android.common.view.DropDownListView
-
set header release text, default is R.string.drop_down_list_header_release_text
- setHeaderSecondText(CharSequence) - Method in class cn.trinea.android.common.view.DropDownListView
-
set header second text
- setHttpReadTimeOut(int) - Method in class cn.trinea.android.common.service.impl.ImageCache
-
set http read image time out of secondary cache, if less than 0, not set. default is not set, in mills
- setHttpReadTimeOut(int) - Method in class cn.trinea.android.common.service.impl.ImageMemoryCache
-
set http read image time out, if less than 0, not set. default is not set, in mills
- setHttpReadTimeOut(int) - Method in class cn.trinea.android.common.service.impl.ImageSDCardCache
-
set http read image time out, if less than 0, not set. default is not set, in mills
- setInCache(boolean) - Method in class cn.trinea.android.common.entity.HttpResponse
-
set isInCache, this is a client mark, whethero is in client cache
- setLastUsedTime(long) - Method in class cn.trinea.android.common.entity.CacheObject
-
Set time last used(got), in mills
- setListViewHeightBasedOnChildren(ListView) - Static method in class cn.trinea.android.common.util.ViewUtils
-
set ListView height which is calculated by getListViewHeightBasedOnChildren(ListView)
- setMessage(String) - Method in class cn.trinea.android.common.entity.PatchResult
-
set message
- setNotiClass(String) - Method in class cn.trinea.android.common.util.DownloadManagerPro.RequestPro
-
set noti class, only init once
- setNotiExtras(String) - Method in class cn.trinea.android.common.util.DownloadManagerPro.RequestPro
-
set noti extras, only init once
- setOnBorderListener(BorderScrollView.OnBorderListener) - Method in class cn.trinea.android.common.view.BorderScrollView
-
- setOnBottomListener(OnClickListener) - Method in class cn.trinea.android.common.view.DropDownListView
-
- setOnBottomStyle(boolean) - Method in class cn.trinea.android.common.view.DropDownListView
-
- setOnDropDownListener(DropDownListView.OnDropDownListener) - Method in class cn.trinea.android.common.view.DropDownListView
-
- setOnGetDataListener(PreloadDataCache.OnGetDataListener<K, V>) - Method in class cn.trinea.android.common.service.impl.PreloadDataCache
-
set get data listener, this cache will get data and preload data by it
- setOnGetImageListenerOfPrimaryCache(PreloadDataCache.OnGetDataListener<String, Bitmap>) - Method in class cn.trinea.android.common.service.impl.ImageCache
-
set get data listener of primary cache, primary cache will get data and preload data by it
- setOnGetImageListenerOfSecondaryCache(PreloadDataCache.OnGetDataListener<String, String>) - Method in class cn.trinea.android.common.service.impl.ImageCache
-
set get data listener of secondary cache, secondary cache will get data and preload data by it
- setOnImageCallbackListener(ImageMemoryCache.OnImageCallbackListener) - Method in class cn.trinea.android.common.service.impl.ImageMemoryCache
-
set callback interface when getting image
- setOnImageSDCallbackListener(ImageSDCardCache.OnImageSDCallbackListener) - Method in class cn.trinea.android.common.service.impl.ImageSDCardCache
-
set callback interface when getting image
- setOnItemClickListener(AdapterView.OnItemClickListener) - Method in class cn.trinea.android.common.view.HorizontalListView
-
- setOnItemLongClickListener(AdapterView.OnItemLongClickListener) - Method in class cn.trinea.android.common.view.HorizontalListView
-
- setOnItemSelectedListener(AdapterView.OnItemSelectedListener) - Method in class cn.trinea.android.common.view.HorizontalListView
-
- setOnScrollListener(AbsListView.OnScrollListener) - Method in class cn.trinea.android.common.view.DropDownListView
-
- setOpenWaitingQueue(boolean) - Method in class cn.trinea.android.common.service.impl.ImageMemoryCache
-
set whether open waiting queue, default is true.
- setOpenWaitingQueue(boolean) - Method in class cn.trinea.android.common.service.impl.ImageSDCardCache
-
set whether open waiting queue, default is true.
- setParasMap(Map<String, String>) - Method in class cn.trinea.android.common.entity.HttpRequest
-
set paras map
- setPriority(int) - Method in class cn.trinea.android.common.entity.CacheObject
-
Set priority, default is zero
- setReadTimeout(int) - Method in class cn.trinea.android.common.entity.HttpRequest
-
- setRequestProperties(Map<String, String>) - Method in class cn.trinea.android.common.entity.HttpRequest
-
- setRequestProperties(Map<String, String>) - Method in class cn.trinea.android.common.service.impl.ImageCache
-
set http request properties
If image is from the different server, setRequestProperty("Connection", "false") is recommended.
- setRequestProperties(Map<String, String>) - Method in class cn.trinea.android.common.service.impl.ImageMemoryCache
-
set http request properties
If image is from the different server, setRequestProperty("Connection", "false") is recommended.
- setRequestProperties(Map<String, String>) - Method in class cn.trinea.android.common.service.impl.ImageSDCardCache
-
set http request properties
If image is from the different server, setRequestProperty("Connection", "false") is recommended.
- setRequestProperty(String, String) - Method in class cn.trinea.android.common.entity.HttpRequest
-
- setRequestProperty(String, String) - Method in class cn.trinea.android.common.service.impl.ImageCache
-
Sets the value of the http request header field
- setRequestProperty(String, String) - Method in class cn.trinea.android.common.service.impl.ImageMemoryCache
-
Sets the value of the http request header field
- setRequestProperty(String, String) - Method in class cn.trinea.android.common.service.impl.ImageSDCardCache
-
Sets the value of the http request header field
- setResponseBody(String) - Method in class cn.trinea.android.common.entity.HttpResponse
-
- setResponseCode(int) - Method in class cn.trinea.android.common.entity.HttpResponse
-
- setResponseHeader(String, String) - Method in class cn.trinea.android.common.entity.HttpResponse
-
set response header
- setResponseHeaders(Map<String, Object>) - Method in class cn.trinea.android.common.entity.HttpResponse
-
- setSearchViewOnClickListener(View, OnClickListener) - Static method in class cn.trinea.android.common.util.ViewUtils
-
set SearchView OnClickListener
- setSecondPositionVisible() - Method in class cn.trinea.android.common.view.DropDownListView
-
set second position visible(index is 1), because first position is header layout
- setSelection(int) - Method in class cn.trinea.android.common.view.HorizontalListView
-
- setShowFooterProgressBar(boolean) - Method in class cn.trinea.android.common.view.DropDownListView
-
set whether show footer loading progress bar when loading
- setShowFooterWhenNoMore(boolean) - Method in class cn.trinea.android.common.view.DropDownListView
-
set isShowFooterWhenNoMore
- setStatus(int) - Method in class cn.trinea.android.common.entity.PatchResult
-
set status
- setType(int) - Method in class cn.trinea.android.common.entity.HttpResponse
-
set type
type to mark this response, default is 0, cannot be smaller than 0.
- setUrl(String) - Method in class cn.trinea.android.common.entity.HttpResponse
-
- setURLConnection(Map<String, String>, HttpURLConnection) - Static method in class cn.trinea.android.common.util.HttpUtils
-
set HttpURLConnection property
- setUsedCount(long) - Method in class cn.trinea.android.common.entity.CacheObject
-
Set used(got) count
- setUserAgent(String) - Method in class cn.trinea.android.common.entity.HttpRequest
-
- setValidTime(long) - Method in class cn.trinea.android.common.service.impl.SimpleCache
-
set valid time of elements in cache, in mills
- setViewHeight(View, int) - Static method in class cn.trinea.android.common.util.ViewUtils
-
set view height
- ShellUtils - Class in cn.trinea.android.common.util
-
- ShellUtils() - Constructor for class cn.trinea.android.common.util.ShellUtils
-
- ShellUtils.CommandResult - Class in cn.trinea.android.common.util
-
- ShellUtils.CommandResult(int) - Constructor for class cn.trinea.android.common.util.ShellUtils.CommandResult
-
- ShellUtils.CommandResult(int, String, String) - Constructor for class cn.trinea.android.common.util.ShellUtils.CommandResult
-
- show(Context, int) - Static method in class cn.trinea.android.common.util.ToastUtils
-
- show(Context, int, int) - Static method in class cn.trinea.android.common.util.ToastUtils
-
- show(Context, CharSequence) - Static method in class cn.trinea.android.common.util.ToastUtils
-
- show(Context, CharSequence, int) - Static method in class cn.trinea.android.common.util.ToastUtils
-
- show(Context, int, Object...) - Static method in class cn.trinea.android.common.util.ToastUtils
-
- show(Context, String, Object...) - Static method in class cn.trinea.android.common.util.ToastUtils
-
- show(Context, int, int, Object...) - Static method in class cn.trinea.android.common.util.ToastUtils
-
- show(Context, String, int, Object...) - Static method in class cn.trinea.android.common.util.ToastUtils
-
- shuffle(Object[]) - Static method in class cn.trinea.android.common.util.RandomUtils
-
Shuffling algorithm, Randomly permutes the specified array using a default source of randomness
- shuffle(Object[], int) - Static method in class cn.trinea.android.common.util.RandomUtils
-
Shuffling algorithm, Randomly permutes the specified array
- shuffle(int[]) - Static method in class cn.trinea.android.common.util.RandomUtils
-
Shuffling algorithm, Randomly permutes the specified int array using a default source of randomness
- shuffle(int[], int) - Static method in class cn.trinea.android.common.util.RandomUtils
-
Shuffling algorithm, Randomly permutes the specified int array
- shutdownNow() - Method in class cn.trinea.android.common.service.impl.ImageCache
-
- shutdownNow() - Method in class cn.trinea.android.common.service.impl.ImageMemoryCache
-
- shutdownNow() - Method in class cn.trinea.android.common.service.impl.ImageSDCardCache
-
- shutdownNow() - Method in class cn.trinea.android.common.service.impl.PreloadDataCache
-
- SimpleCache<K,V> - Class in cn.trinea.android.common.service.impl
-
- SimpleCache() - Constructor for class cn.trinea.android.common.service.impl.SimpleCache
-
- SimpleCache(int) - Constructor for class cn.trinea.android.common.service.impl.SimpleCache
-
- SizeUtils - Class in cn.trinea.android.common.util
-
SizeUtils
- SizeUtils() - Constructor for class cn.trinea.android.common.util.SizeUtils
-
- SlideOnePageGallery - Class in cn.trinea.android.common.view
-
SlideOnePageGallery, only slide one page every slide
- SlideOnePageGallery(Context, AttributeSet, int) - Constructor for class cn.trinea.android.common.view.SlideOnePageGallery
-
- SlideOnePageGallery(Context, AttributeSet) - Constructor for class cn.trinea.android.common.view.SlideOnePageGallery
-
- SlideOnePageGallery(Context) - Constructor for class cn.trinea.android.common.view.SlideOnePageGallery
-
- SqliteUtils - Class in cn.trinea.android.common.util
-
SqliteUtils
- startInstalledAppDetails(Context, String) - Static method in class cn.trinea.android.common.util.PackageUtils
-
start InstalledAppDetails Activity
- StringUtils - Class in cn.trinea.android.common.util
-
String Utils
- StringUtils() - Constructor for class cn.trinea.android.common.util.StringUtils
-
- successMsg - Variable in class cn.trinea.android.common.util.ShellUtils.CommandResult
-
success message of command result
- SystemUtils - Class in cn.trinea.android.common.util
-
SystemUtils
- SystemUtils() - Constructor for class cn.trinea.android.common.util.SystemUtils
-