MCPcopy Create free account

hub / github.com/Uphie/ONE-Unofficial / functions

Functions556 in github.com/Uphie/ONE-Unofficial

↓ 28 callersMethodshare
(int channel,Object data)
app/src/main/java/studio/uphie/one/interfaces/IShare.java:8
↓ 19 callersMethodadd
增加一个Fragment @param fragment
app/src/main/java/studio/uphie/one/ui/FragmentAdapter.java:46
↓ 18 callersMethodgetInstance
()
app/src/main/java/studio/uphie/one/utils/NetworkUtil.java:28
↓ 17 callersMethodshow
()
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/internal/IndicatorLayout.java:112
↓ 15 callersMethodshowFooterLoadingLayout
@return true if this mode wants the Loading Layout Footer to be shown
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/PullToRefreshBase.java:1426
↓ 15 callersMethodshowHeaderLoadingLayout
@return true if this mode wants the Loading Layout Header to be shown
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/PullToRefreshBase.java:1419
↓ 14 callersMethodonRefreshComplete
Mark the current Refresh as complete. Will Reset the UI and hide the Refreshing View
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/IPullToRefresh.java:153
↓ 12 callersMethodgetDate
获取当前日期,eg: 2015-09-06 @return
app/src/main/java/studio/uphie/one/utils/TimeUtil.java:44
↓ 11 callersMethodaddView
(View child, int index, ViewGroup.LayoutParams params)
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/PullToRefreshBase.java:130
↓ 11 callersMethodgetPullToRefreshScrollDirection
@return Either {@link Orientation#VERTICAL} or {@link Orientation#HORIZONTAL} depending on the scroll direction.
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/PullToRefreshBase.java:538
↓ 11 callersMethodgetRefreshableView
Get the Wrapped Refreshable View. Anything returned here has already been added to the content view. @return The View which is currently wrapped
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/IPullToRefresh.java:102
↓ 11 callersMethodsetState
(State state, final boolean... params)
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/PullToRefreshBase.java:540
↓ 9 callersMethodsmoothScrollTo
Smooth Scroll to position using the default duration of {@value #SMOOTH_SCROLL_DURATION_MS} ms. @param scrollValue - Position to scroll to
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/PullToRefreshBase.java:995
↓ 8 callersMethodgetLoadingLayoutProxy
()
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/PullToRefreshBase.java:168
↓ 7 callersMethodgetCount
()
app/src/main/java/studio/uphie/one/ui/personal/FeedbackActivity.java:161
↓ 7 callersMethodgetCurArticle
()
app/src/main/java/studio/uphie/one/ui/article/ArticleFragment.java:73
↓ 7 callersMethodgetCurQuestion
()
app/src/main/java/studio/uphie/one/ui/question/QuestionFragment.java:72
↓ 7 callersMethodgetCurSaying
()
app/src/main/java/studio/uphie/one/ui/home/HomeFragment.java:74
↓ 7 callersMethodgetCurThing
()
app/src/main/java/studio/uphie/one/ui/thing/ThingFragment.java:71
↓ 7 callersMethodgetHttpData
(String url, RequestParams param,HttpData httpData)
app/src/main/java/studio/uphie/one/interfaces/IHttp.java:13
↓ 7 callersMethodgetItem
(int position)
app/src/main/java/studio/uphie/one/ui/personal/FeedbackActivity.java:176
↓ 7 callersMethodgetShowIndicatorInternal
()
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/PullToRefreshAdapterViewBase.java:370
↓ 7 callersMethodhide
()
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/internal/IndicatorLayout.java:108
↓ 7 callersMethodsetEmptyView
Should call PullToRefreshBase.setEmptyView() which will then automatically call through to setEmptyViewInternal() @param emptyView - to set as Empty
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/internal/EmptyViewMethodAccessor.java:41
↓ 6 callersMethodfinish
()
app/src/main/java/studio/uphie/one/ui/home/HomeContentFragment.java:208
↓ 6 callersMethodgetCurrentItem
()
PullToRefresh/src/main/java/com/handmark/pulltorefresh/extras/viewpager/PullToRefreshViewPager.java:81
↓ 6 callersMethodgetDefault
()
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/PullToRefreshBase.java:1398
↓ 6 callersMethodinit
()
app/src/main/java/studio/uphie/one/interfaces/IInit.java:9
↓ 6 callersMethodisRefreshing
()
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/PullToRefreshBase.java:216
↓ 6 callersMethodoverScrollBy
Helper method for Overscrolling that encapsulates all of the necessary function. <p/> This should only be used on AdapterView's such as ListView as it
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/OverscrollHelper.java:51
↓ 6 callersMethodsetAdapter
(PagerAdapter pagerAdapter)
PullToRefresh/src/main/java/com/handmark/pulltorefresh/extras/viewpager/PullToRefreshViewPager.java:73
↓ 6 callersMethodsetHeaderScroll
Helper method which just calls scrollTo() in the correct scrolling direction. @param value - New Scroll value
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/PullToRefreshBase.java:949
↓ 6 callersMethodsetOnRefreshListener
Set OnRefreshListener for the Widget @param listener - Listener to be used when the Widget is set to Refresh
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/IPullToRefresh.java:188
↓ 6 callersMethodsetTextColor
(ColorStateList color)
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/internal/LoadingLayout.java:384
↓ 5 callersMethodgetFooterSize
()
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/PullToRefreshBase.java:635
↓ 5 callersMethodgetHeaderSize
()
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/PullToRefreshBase.java:643
↓ 5 callersMethodgetIntValue
()
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/PullToRefreshBase.java:1430
↓ 5 callersMethodgetLayoutId
()
app/src/main/java/studio/uphie/one/interfaces/IInit.java:8
↓ 5 callersMethodreset
()
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/internal/LoadingLayout.java:261
↓ 5 callersMethodshortShow
(String content)
app/src/main/java/studio/uphie/one/utils/TextToast.java:19
↓ 4 callersMethodaddLayout
This allows you to add extra LoadingLayout instances to this proxy. This is only necessary if you keep your own instances, and want to have them inclu
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/LoadingLayoutProxy.java:27
↓ 4 callersMethodcreateLoadingLayout
(Context context, Mode mode, TypedArray attrs)
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/PullToRefreshBase.java:587
↓ 4 callersMethodgetCount
()
app/src/main/java/studio/uphie/one/ui/FragmentAdapter.java:32
↓ 4 callersMethodgetCurrentMode
Get the mode that this view is currently in. This is only really useful when using <code>Mode.BOTH</code>. @return Mode that the view is currently in
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/IPullToRefresh.java:46
↓ 4 callersMethodgetEntity
将Json解析成对象 @param json json字符串 @param clazz 对象类 @param <T> @return
app/src/main/java/studio/uphie/one/utils/JsonUtil.java:28
↓ 4 callersMethodgetPreviousDate
将指定日期进行偏移,获取偏移后的日期,eg:2015-09-06 @param date 要偏移的日期,需是"2015-09-06"格式 @param offset 偏移的值,可正可负 @return
app/src/main/java/studio/uphie/one/utils/TimeUtil.java:127
↓ 4 callersMethodgetRefreshableViewWrapper
()
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/PullToRefreshBase.java:655
↓ 4 callersMethodgetState
@return - The state that the View is currently in.
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/IPullToRefresh.java:115
↓ 4 callersMethodinit
(Context context, AttributeSet attrs)
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/PullToRefreshBase.java:1074
↓ 4 callersMethodisExpired
是否过期,限制查看7天内的往期内容 @return
app/src/main/java/studio/uphie/one/abs/AbsBaseFragment.java:138
↓ 4 callersMethodisFirstPage
当前是否是第一页 @return
app/src/main/java/studio/uphie/one/abs/AbsBaseFragment.java:130
↓ 4 callersMethodisReadyForPullEnd
Implemented by derived class to return whether the View is in a state where the user can Pull to Refresh by scrolling from the end. @return true if t
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/PullToRefreshBase.java:675
↓ 4 callersMethodisReadyForPullStart
Implemented by derived class to return whether the View is in a state where the user can Pull to Refresh by scrolling from the start. @return true if
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/PullToRefreshBase.java:684
↓ 4 callersMethodisVisible
()
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/internal/IndicatorLayout.java:99
↓ 4 callersMethodonDataError
(String url, HttpError error)
app/src/main/java/studio/uphie/one/interfaces/IHttp.java:17
↓ 4 callersMethodpullToRefresh
()
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/internal/LoadingLayout.java:226
↓ 4 callersMethodreleaseToRefresh
()
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/internal/LoadingLayout.java:252
↓ 4 callersMethodremoveFromAdapter
从Adapter中移除Fragment @param fragment 要移除的Fragment
app/src/main/java/studio/uphie/one/ui/FragmentAdapter.java:56
↓ 4 callersMethodsetClearIconVisible
(boolean visible)
app/src/main/java/studio/uphie/one/widgets/ClearEditText.java:69
↓ 4 callersMethodsetOnScrollListener
(OnScrollListener listener)
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/PullToRefreshAdapterViewBase.java:216
↓ 4 callersMethodsync
数据同步
app/src/main/java/studio/uphie/one/ui/personal/FeedbackActivity.java:131
↓ 3 callersMethodaddOnLikeChangeListener
(OnLikeChangedListener onLikeChangedListener)
app/src/main/java/studio/uphie/one/widgets/LikeView.java:62
↓ 3 callersMethodaddViewInternal
Used internally for adding view. Need because we override addView to pass-through to the Refreshable View
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/PullToRefreshBase.java:575
↓ 3 callersMethodfinish
()
app/src/main/java/studio/uphie/one/ui/article/ArticleContentFragment.java:180
↓ 3 callersMethodfinish
()
app/src/main/java/studio/uphie/one/ui/question/QuestionContentFragment.java:172
↓ 3 callersMethodfinish
()
app/src/main/java/studio/uphie/one/ui/thing/ThingContentFragment.java:170
↓ 3 callersMethodgetEngDate
获取英文格式的日期,eg: Sep. 9,2015 @param date @return
app/src/main/java/studio/uphie/one/utils/TimeUtil.java:70
↓ 3 callersMethodgetLikeCount
()
app/src/main/java/studio/uphie/one/widgets/LikeView.java:66
↓ 3 callersMethodgetMode
Get the mode that this view has been set to. If this returns <code>Mode.BOTH</code>, you can use <code>getCurrentMode()</code> to check which mode the
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/IPullToRefresh.java:94
↓ 3 callersMethodisReadyForPull
()
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/PullToRefreshBase.java:1146
↓ 3 callersMethodisRefreshing
Returns whether the Widget is currently in the Refreshing mState @return true if the Widget is currently refreshing
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/IPullToRefresh.java:139
↓ 3 callersMethodmapIntToValue
Maps an int to a specific mode. This is needed when saving state, or inflating the view from XML where the mode is given through a attr int. @param m
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/PullToRefreshBase.java:1387
↓ 3 callersMethodnewInstance
(int index)
app/src/main/java/studio/uphie/one/ui/home/HomeContentFragment.java:213
↓ 3 callersMethodnewInstance
(int index)
app/src/main/java/studio/uphie/one/ui/article/ArticleContentFragment.java:185
↓ 3 callersMethodnewInstance
(int index)
app/src/main/java/studio/uphie/one/ui/question/QuestionContentFragment.java:177
↓ 3 callersMethodnewInstance
(int index)
app/src/main/java/studio/uphie/one/ui/thing/ThingContentFragment.java:175
↓ 3 callersMethodrefreshing
()
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/internal/LoadingLayout.java:235
↓ 3 callersMethodsetLoadingDrawable
Set the drawable used in the loading layout. This is the same as calling <code>setLoadingDrawable(drawable, Mode.BOTH)</code> @param drawable - Drawa
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/ILoadingLayout.java:22
↓ 3 callersMethodsetPullLabel
Set Text to show when the Widget is being Pulled <code>setPullLabel(releaseLabel, Mode.BOTH)</code> @param pullLabel - CharSequence to display
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/ILoadingLayout.java:30
↓ 3 callersMethodsetRefreshingLabel
Set Text to show when the Widget is refreshing <code>setRefreshingLabel(releaseLabel, Mode.BOTH)</code> @param refreshingLabel - CharSequence to disp
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/ILoadingLayout.java:38
↓ 3 callersMethodstop
()
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/PullToRefreshBase.java:1644
↓ 3 callersMethodupdateIndicatorViewsVisibility
()
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/PullToRefreshAdapterViewBase.java:451
↓ 3 callersMethodwarnDeprecation
(String depreacted, String replacement)
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/internal/Utils.java:9
↓ 2 callersMethodaddIndicatorViews
()
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/PullToRefreshAdapterViewBase.java:335
↓ 2 callersMethodcallRefreshListener
()
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/PullToRefreshBase.java:1062
↓ 2 callersMethodcheckNetworkAvailable
@return boolean @description 检测服务端是否连接正常 @date 2014年11月9日
app/src/main/java/studio/uphie/one/utils/NetworkUtil.java:40
↓ 2 callersMethodgetAppDir
获得应用主目录 @return 主目录路径
app/src/main/java/studio/uphie/one/utils/FileManager.java:21
↓ 2 callersMethodgetContentSize
()
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/internal/LoadingLayout.java:195
↓ 2 callersMethodgetFooterLayout
()
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/PullToRefreshBase.java:631
↓ 2 callersMethodgetHeaderLayout
()
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/PullToRefreshBase.java:639
↓ 2 callersMethodgetMaximumPullScroll
()
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/PullToRefreshBase.java:1228
↓ 2 callersMethodgetPullToRefreshScrollDuration
()
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/PullToRefreshBase.java:647
↓ 2 callersMethodgetRefreshableView
()
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/PullToRefreshBase.java:183
↓ 2 callersMethodisPullToRefreshEnabled
()
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/PullToRefreshBase.java:205
↓ 2 callersMethodisPullToRefreshOverScrollEnabled
Gets whether Overscroll support is enabled. This is different to Android's standard Overscroll support (the edge-glow) which is available from GINGERB
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/IPullToRefresh.java:132
↓ 2 callersMethodlongShow
(String content)
app/src/main/java/studio/uphie/one/utils/TextToast.java:36
↓ 2 callersMethodonDestroy
()
app/src/main/java/studio/uphie/one/abs/AbsBaseActivity.java:143
↓ 2 callersMethodonPull
(float scaleOfLayout)
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/internal/LoadingLayout.java:220
↓ 2 callersMethodpermitsPullToRefresh
@return true if the mode permits Pull-to-Refresh
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/PullToRefreshBase.java:1412
↓ 2 callersMethodpostOnAnimation
(View view, Runnable runnable)
PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/internal/ViewCompat.java:27
next →1–100 of 556, ranked by callers