MCPcopy Create free account

hub / github.com/cundong/ZhihuPaper / functions

Functions449 in github.com/cundong/ZhihuPaper

↓ 62 callersMethodisEmpty
is null or its size is 0 <pre> isEmpty(null) = true; isEmpty({}) = true; isEmpty({1}) = false; </pre> @param <V> @param sourceList @r
src/com/cundong/izhihu/util/ListUtils.java:47
↓ 36 callersMethodget
Waits if necessary for the computation to complete, and then retrieves its result. @return The computed result. @throws CancellationException If the
src/com/cundong/izhihu/task/MyAsyncTask.java:334
↓ 36 callersMethodtoString
InputStream转为字符串 @param in @return
src/com/cundong/izhihu/util/StringUtils.java:315
↓ 34 callersMethodcall
()
src/com/cundong/izhihu/task/MyAsyncTask.java:141
↓ 28 callersMethodclose
(InputStream in)
src/com/cundong/izhihu/util/StreamUtils.java:43
↓ 25 callersMethode
log.e
src/com/cundong/izhihu/util/Logger.java:93
↓ 24 callersMethodgetString
get string preferences @param context @param key The name of the preference to retrieve @param defaultValue Value to return if
src/com/cundong/izhihu/util/PreferencesUtils.java:44
↓ 17 callersMethodexecuteOnExecutor
Executes the task with the specified parameters. The task returns itself (this) so that the caller can keep a reference to it. <p/> <p>This method is
src/com/cundong/izhihu/task/MyAsyncTask.java:412
↓ 15 callersMethodsplit
根据指定分隔符分割字符串,返回结果数组。<br> 处理规则:<br> 若输入为null,则返回null;<br> 否则若输入为空字符串,则返回空数组;<br> 否则若分隔符为null或空字符串,则返回包含原字符串本身的数组;<br> @param input 输入字符串 @p
src/com/cundong/izhihu/util/StringUtils.java:85
↓ 13 callersMethodgetBoolean
get boolean preferences @param context @param key The name of the preference to retrieve @param defaultValue Value to return if
src/com/cundong/izhihu/util/PreferencesUtils.java:216
↓ 13 callersMethodgetEntity
解析一个字符串,得到BaseEntity对象 @param content @param clazz @return
src/com/cundong/izhihu/util/GsonUtils.java:39
↓ 13 callersMethodgetInstance
(Context context)
src/com/cundong/izhihu/db/DatabaseHelper.java:57
↓ 11 callersMethodgetLogger
()
src/com/cundong/izhihu/util/Logger.java:24
↓ 11 callersFunctionl
(t)
assets/www/zepto.min.js:2
↓ 11 callersMethodonPostExecute
(String content)
src/com/cundong/izhihu/task/ResponseListener.java:13
↓ 10 callersMethodonFail
(Exception e)
src/com/cundong/izhihu/task/ResponseListener.java:17
↓ 9 callersFunction$
(t)
assets/www/zepto.min.js:2
↓ 9 callersFunctionJ
(t,e,n,i)
assets/www/zepto.min.js:2
↓ 9 callersMethodexecute
Executes the task with the specified parameters. The task returns itself (this) so that the caller can keep a reference to it. <p/> <p>Note: this func
src/com/cundong/izhihu/task/MyAsyncTask.java:379
↓ 9 callersMethodgetInstance
(Context context)
src/com/cundong/izhihu/http/HttpClientUtils.java:96
↓ 9 callersFunctionh
(t,e,n,i)
assets/www/zepto.min.js:2
↓ 9 callersFunctiono
(t)
assets/www/zepto.min.js:2
↓ 8 callersMethodgetCount
()
src/com/cundong/izhihu/adapter/MultiViewTypeBaseAdapter.java:33
↓ 8 callersMethodonComplete
请求正常完成 @param response
src/com/cundong/izhihu/http/ResponseListener.java:13
↓ 7 callersFunctionW
(e,n)
assets/www/zepto.min.js:2
↓ 7 callersFunctionZ
(t)
assets/www/zepto.min.js:2
↓ 7 callersMethodd
log.d
src/com/cundong/izhihu/util/Logger.java:83
↓ 7 callersMethodgetView
(int position, View convertView, ViewGroup parent)
src/com/cundong/izhihu/adapter/NewsAdapter.java:165
↓ 6 callersFunctionD
(t)
assets/www/zepto.min.js:2
↓ 6 callersMethodencodeUrl
将Key-value转换成用&号链接的URL查询参数形式。 @param parameters @return
src/com/cundong/izhihu/http/UrlUtils.java:50
↓ 6 callersMethodfinish
(Result result)
src/com/cundong/izhihu/task/MyAsyncTask.java:464
↓ 6 callersMethodgetDataSource
()
src/com/cundong/izhihu/task/BaseGetNewsTask.java:76
↓ 6 callersMethodgetNewsFavoriteDataSource
()
src/com/cundong/izhihu/ZhihuApplication.java:66
↓ 6 callersMethodputString
put string preferences @param context @param key The name of the preference to modify @param value The new value for the prefer
src/com/cundong/izhihu/util/PreferencesUtils.java:21
↓ 6 callersFunctionv
(e,i,r,o,a,u,f)
assets/www/zepto.min.js:2
↓ 5 callersFunctionF
(t)
assets/www/zepto.min.js:2
↓ 5 callersMethodcreateMessage
(String msg)
src/com/cundong/izhihu/util/Logger.java:54
↓ 5 callersMethodgetContent
(String key)
src/com/cundong/izhihu/db/NewsDataSource.java:85
↓ 5 callersMethodgetItemId
(int position)
src/com/cundong/izhihu/adapter/MultiViewTypeBaseAdapter.java:45
↓ 5 callersMethodgetUrl
(String url)
src/com/cundong/izhihu/task/BaseGetNewsTask.java:72
↓ 5 callersFunctionj
(e,i)
assets/www/zepto.min.js:2
↓ 5 callersMethodonPreExecute
()
src/com/cundong/izhihu/task/ResponseListener.java:11
↓ 5 callersMethodputBoolean
put boolean preferences @param context @param key The name of the preference to modify @param value The new value for the prefe
src/com/cundong/izhihu/util/PreferencesUtils.java:193
↓ 5 callersMethodstr2Date
字符串转换成日期 如果转换格式为空,则利用默认格式进行转换操作 @param str 字符串 @param format 日期格式 @return 日期 @throws java.text.ParseException
src/com/cundong/izhihu/util/DateUtils.java:283
↓ 4 callersFunctionB
(t,e)
assets/www/zepto.min.js:2
↓ 4 callersFunctionL
(t)
assets/www/zepto.min.js:2
↓ 4 callersFunctionR
(t)
assets/www/zepto.min.js:2
↓ 4 callersFunctionT
(t)
assets/www/zepto.min.js:2
↓ 4 callersFunction_
(t)
assets/www/zepto.min.js:2
↓ 4 callersFunctiong
(t)
assets/www/zepto.min.js:2
↓ 4 callersMethodgetApplicationName
(Context context)
src/com/cundong/izhihu/util/PhoneUtils.java:161
↓ 4 callersMethodgetCurrentDate
获取今天的日期,格式为:yyyy/MM/dd @return
src/com/cundong/izhihu/util/DateUtils.java:73
↓ 4 callersMethodgetDataSource
()
src/com/cundong/izhihu/ZhihuApplication.java:58
↓ 4 callersMethodgetNetType
获取当前网络状态 返回2代表wifi,1代表2G/3G @param paramContext @return
src/com/cundong/izhihu/util/NetWorkHelper.java:44
↓ 4 callersMethodinsertOrUpdateNewsList
(int type, String key, String content)
src/com/cundong/izhihu/db/NewsDataSource.java:58
↓ 4 callersMethodisBlank
判断给定字符串是否空白串。<br> 空白串是指由空格、制表符、回车符、换行符组成的字符串<br> 若输入字符串为null或空字符串,返回true @param input @return boolean
src/com/cundong/izhihu/util/StringUtils.java:33
↓ 4 callersMethodisCancelled
Returns <tt>true</tt> if this task was cancelled after it completed normally. If you are calling {@link #cancel(boolean)} on the task, the value retur
src/com/cundong/izhihu/task/MyAsyncTask.java:289
↓ 4 callersMethodjoin
join list to string, separator is "," <pre> join(null) = ""; join({}) = ""; join({a,b}) = "a,b"; </pre> @param list @return jo
src/com/cundong/izhihu/util/ListUtils.java:99
↓ 4 callersFunctionm
(t,e)
assets/www/zepto.min.js:2
↓ 4 callersMethodmakeDirs
Creates the directory named by the trailing filename of this file, including the complete directory path required to create this directory. <br/> <br/
src/com/cundong/izhihu/util/FileUtils.java:474
↓ 4 callersMethodsetAdapter
(ArrayList<NewsEntity> newsList)
src/com/cundong/izhihu/fragment/NewsListFragment.java:105
↓ 4 callersMethodsetListShown
(boolean isListViewShown)
src/com/cundong/izhihu/fragment/NewsListFragment.java:114
↓ 4 callersMethodsetReadStatus4NewsList
为newsList设置已读、未读标示 @param newsList
src/com/cundong/izhihu/util/ZhihuUtils.java:97
↓ 4 callersMethodsetWebViewShown
(boolean shown)
src/com/cundong/izhihu/fragment/NewsDetailFragment.java:171
↓ 4 callersMethodupdateData
(ArrayList<T> list)
src/com/cundong/izhihu/adapter/MultiViewTypeBaseAdapter.java:28
↓ 4 callersFunctiony
(t,e,n,i,r)
assets/www/zepto.min.js:2
↓ 3 callersFunctionM
(t)
assets/www/zepto.min.js:2
↓ 3 callersFunctionX
(t,e,n)
assets/www/zepto.min.js:2
↓ 3 callersMethodcheckIsContentSame
(String oldContent, String newContent)
src/com/cundong/izhihu/task/BaseGetNewsTask.java:63
↓ 3 callersMethoddeleteFromFavorite
(String newsId)
src/com/cundong/izhihu/db/NewsFavoriteDataSource.java:136
↓ 3 callersMethodgetCacheImgFilePath
根据一个图片的url获取其在本机缓存中的存储url from: https://avatars3.githubusercontent.com/u/3348483 to: /storage/emulated/0/Android/data/com.cundong.izhihu/cache/f72a03
src/com/cundong/izhihu/util/ZhihuUtils.java:86
↓ 3 callersMethodgetExternalCacheDir
获取扩展存储cache的绝对路径 返回:sdcard/Android/data/{package_name}/cache/ @param context @return
src/com/cundong/izhihu/util/SDCardUtils.java:50
↓ 3 callersMethodgetItemResourceId
(int type)
src/com/cundong/izhihu/adapter/NewsAdapter.java:151
↓ 3 callersMethodgetItemView
(int position, View convertView, ViewHolder holder, int type)
src/com/cundong/izhihu/adapter/NewsAdapter.java:214
↓ 3 callersMethodgetLong
get long preferences @param context @param key The name of the preference to retrieve @param defaultValue Value to return if th
src/com/cundong/izhihu/util/PreferencesUtils.java:130
↓ 3 callersMethodi
log.i
src/com/cundong/izhihu/util/Logger.java:63
↓ 3 callersMethodinit
@hide Used to force static handler to be created.
src/com/cundong/izhihu/task/MyAsyncTask.java:125
↓ 3 callersMethodisEquals
compare two object @param actual @param expected @return <ul> <li>if both are null, return true</li> <li>return actual.{@link Object#
src/com/cundong/izhihu/util/ObjectUtils.java:20
↓ 3 callersMethodisMobile
判断是不是2/3G网络状态 @param paramContext @return
src/com/cundong/izhihu/util/NetWorkHelper.java:26
↓ 3 callersFunctionp
(t)
assets/www/zepto.min.js:2
↓ 3 callersMethodputLong
put long preferences @param context @param key The name of the preference to modify @param value The new value for the preferen
src/com/cundong/izhihu/util/PreferencesUtils.java:107
↓ 3 callersMethodsetTag
(String tag)
src/com/cundong/izhihu/util/Logger.java:136
↓ 3 callersMethodtrim
截取字符串末尾空格 @param input @return
src/com/cundong/izhihu/util/StringUtils.java:66
↓ 3 callersMethodupdateCreateMenu
()
src/com/cundong/izhihu/activity/NewsDetailActivity.java:207
↓ 3 callersFunctionw
(t,e)
assets/www/zepto.min.js:2
↓ 2 callersFunctionH
(t,e)
assets/www/zepto.min.js:2
↓ 2 callersFunctionV
(t)
assets/www/zepto.min.js:2
↓ 2 callersFunctionc
(e)
assets/www/zepto.min.js:2
↓ 2 callersMethodclear
clear the preferences @param context @param preferenceName
src/com/cundong/izhihu/util/PreferencesUtils.java:231
↓ 2 callersMethodcopy
(final InputStream in, final OutputStream out)
src/com/cundong/izhihu/util/StreamUtils.java:34
↓ 2 callersMethodcursorToNewsList
(Cursor cursor)
src/com/cundong/izhihu/db/NewsDataSource.java:110
↓ 2 callersFunctiond
(t)
assets/www/zepto.min.js:2
↓ 2 callersMethoddealException
(Exception e)
src/com/cundong/izhihu/fragment/BaseFragment.java:108
↓ 2 callersMethodencrypt
(String source)
src/com/cundong/izhihu/util/MD5Util.java:14
↓ 2 callersMethodget
get请求 @param context @param url @param params @param responseListener
src/com/cundong/izhihu/http/HttpClientUtils.java:240
↓ 2 callersMethodgetExternalDir
( Context context, String type )
src/com/cundong/izhihu/util/SDCardUtils.java:55
↓ 2 callersMethodgetFileName
get file name from path, include suffix <pre> getFileName(null) = null getFileName("") = "" getFileN
src/com/cundong/izhihu/util/FileUtils.java:379
↓ 2 callersMethodgetFileSize
get file size <ul> <li>if path is null or empty, return -1</li> <li>if path exist and it is a file, return file size, else return -1</li> <ul> @param
src/com/cundong/izhihu/util/FileUtils.java:569
↓ 2 callersMethodgetFormatTimeDate
(String pubtime, String inputFormat, String outFormat)
src/com/cundong/izhihu/util/DateUtils.java:145
↓ 2 callersMethodgetFunctionName
()
src/com/cundong/izhihu/util/Logger.java:28
next →1–100 of 449, ranked by callers