Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AstroGypsophila/TryGank
/ functions
Functions
537 in github.com/AstroGypsophila/TryGank
⨍
Functions
537
◇
Types & classes
108
↓ 50 callers
Method
findViewById
(int id)
TryGankLib/Common/SwipeBack/src/main/java/me/imid/swipebacklayout/lib/app/SwipeBackActivity.java:29
↓ 40 callers
Method
getString
(Context ctx, String key, String defValue)
TryGankLib/Common/CommonLib/src/main/java/com/gypsophila/commonlib/utils/PreferenceUtils.java:65
↓ 15 callers
Method
equals
(Object o)
TryGankLib/Common/CommonLib/src/main/java/com/gypsophila/commonlib/net/RequestParameter.java:32
↓ 11 callers
Method
getSharedPreferences
(Context ctx)
TryGankLib/Common/CommonLib/src/main/java/com/gypsophila/commonlib/utils/PreferenceUtils.java:79
↓ 8 callers
Method
getItemId
(int position)
TryGank/app/src/main/java/com/gypsophila/trygank/business/gank/ColorsListAdapter.java:52
↓ 8 callers
Method
getName
()
TryGankLib/Common/CommonLib/src/main/java/com/gypsophila/commonlib/net/RequestParameter.java:42
↓ 8 callers
Method
invoke
(final BaseActivity activity, final String url, final List<Reque
TryGank/app/src/main/java/com/gypsophila/trygank/business/RemoteService.java:28
↓ 8 callers
Method
loadGankFromDataBase
(Context ctx)
TryGank/app/src/main/java/com/gypsophila/trygank/business/gank/presenter/IGankPresenter.java:20
↓ 8 callers
Method
setDragState
(int state)
TryGankLib/Common/SwipeBack/src/main/java/me/imid/swipebacklayout/lib/ViewDragHelper.java:963
↓ 8 callers
Method
tryCaptureViewForDrag
Attempt to capture the view with the given pointer ID. The callback will be involved. This will put us into the "dragging" state. If we've already cap
TryGankLib/Common/SwipeBack/src/main/java/me/imid/swipebacklayout/lib/ViewDragHelper.java:983
↓ 7 callers
Method
findTopChildUnder
Find the topmost child under the given point within the parent view's coordinate system. The child order is determined using {@link me.imid.swipebackl
TryGankLib/Common/SwipeBack/src/main/java/me/imid/swipebacklayout/lib/ViewDragHelper.java:1554
↓ 7 callers
Method
getDefault
()
TryGank/app/src/main/java/com/gypsophila/trygank/utils/ThemeUtil.java:96
↓ 7 callers
Method
newInstance
(String type)
TryGank/app/src/main/java/com/gypsophila/trygank/business/gank/view/GankListFragment.java:59
↓ 7 callers
Method
setContentView
Set up contentView which will be moved by user gesture @param view
TryGankLib/Common/SwipeBack/src/main/java/me/imid/swipebacklayout/lib/SwipeBackLayout.java:177
↓ 7 callers
Method
setFilter
(FilterType requestType)
TryGank/app/src/main/java/com/gypsophila/trygank/business/gank/presenter/IGankPresenter.java:22
↓ 6 callers
Method
IntToHex
(final int n)
TryGankLib/Common/CommonLib/src/main/java/com/gypsophila/commonlib/utils/BaseUtils.java:51
↓ 6 callers
Method
addFragment
(Fragment fragment, String title)
TryGank/app/src/main/java/com/gypsophila/trygank/business/gank/view/GankFragment.java:84
↓ 6 callers
Method
cancel
The result of a call to this method is equivalent to {@link #processTouchEvent(android.view.MotionEvent)} receiving an ACTION_CANCEL event.
TryGankLib/Common/SwipeBack/src/main/java/me/imid/swipebacklayout/lib/ViewDragHelper.java:582
↓ 6 callers
Method
hideProgress
()
TryGank/app/src/main/java/com/gypsophila/trygank/business/gank/view/IGankView.java:20
↓ 6 callers
Method
openWebView
(Context ctx, GankBean gankBean)
TryGank/app/src/main/java/com/gypsophila/trygank/business/gank/view/GankDetailActivity.java:44
↓ 5 callers
Method
create
Factory method to create a new ViewDragHelper. @param forParent Parent view to monitor @param cb Callback to provide information and receive e
TryGankLib/Common/SwipeBack/src/main/java/me/imid/swipebacklayout/lib/ViewDragHelper.java:383
↓ 5 callers
Method
getValue
()
TryGankLib/Common/CommonLib/src/main/java/com/gypsophila/commonlib/net/RequestParameter.java:50
↓ 5 callers
Method
loadGank
(Context ctx, String type, int pageIndex, List<RequestParameter> params)
TryGank/app/src/main/java/com/gypsophila/trygank/business/gank/presenter/IGankPresenter.java:18
↓ 5 callers
Method
onSuccess
(List<T> beanList)
TryGank/app/src/main/java/com/gypsophila/trygank/business/gank/model/GankLoadListener.java:13
↓ 4 callers
Method
DateToString
(Date date)
TryGank/app/src/main/java/com/gypsophila/trygank/utils/DateUtil.java:15
↓ 4 callers
Method
checkNewEdgeDrag
(float delta, float odelta, int pointerId, int edge)
TryGankLib/Common/SwipeBack/src/main/java/me/imid/swipebacklayout/lib/ViewDragHelper.java:1333
↓ 4 callers
Method
checkTouchSlop
Check if we've crossed a reasonable touch slop for the given child view. If the child cannot be dragged along the horizontal or vertical axis, motion
TryGankLib/Common/SwipeBack/src/main/java/me/imid/swipebacklayout/lib/ViewDragHelper.java:1360
↓ 4 callers
Method
clampMag
Clamp the magnitude of value for absMin and absMax. If the value is below the minimum, it will be clamped to zero. If the value is above the maximum,
TryGankLib/Common/SwipeBack/src/main/java/me/imid/swipebacklayout/lib/ViewDragHelper.java:741
↓ 4 callers
Method
getInstance
()
TryGank/app/src/main/java/com/gypsophila/trygank/business/RemoteService.java:21
↓ 4 callers
Method
getInstance
(Context ctx)
TryGank/app/src/main/java/com/gypsophila/trygank/db/GankDataBaseHelper.java:20
↓ 4 callers
Method
isEdgeTouched
Check if any of the edges specified were initially touched in the currently active gesture. If there is no currently active gesture this method will r
TryGankLib/Common/SwipeBack/src/main/java/me/imid/swipebacklayout/lib/ViewDragHelper.java:1453
↓ 4 callers
Method
loadImage
(Context context, ImageView imageView, String imageUrl)
TryGankLib/Common/CommonLib/src/main/java/com/gypsophila/commonlib/utils/ImageLoaderUtils.java:33
↓ 4 callers
Method
onEdgeTouched
Called when one of the subscribed edges in the parent view has been touched by the user while no child view is currently captured. @param edgeFlags A
TryGankLib/Common/SwipeBack/src/main/java/me/imid/swipebacklayout/lib/ViewDragHelper.java:238
↓ 4 callers
Method
saveInitialMotion
(float x, float y, int pointerId)
TryGankLib/Common/SwipeBack/src/main/java/me/imid/swipebacklayout/lib/ViewDragHelper.java:925
↓ 4 callers
Method
showProgress
()
TryGank/app/src/main/java/com/gypsophila/trygank/business/gank/view/IGankView.java:16
↓ 3 callers
Method
changTheme
(Activity activity, Theme theme)
TryGank/app/src/main/java/com/gypsophila/trygank/utils/ThemeUtil.java:15
↓ 3 callers
Method
changeTheme
(int position)
TryGank/app/src/main/java/com/gypsophila/trygank/business/main/MainActivity.java:154
↓ 3 callers
Method
clearMotionHistory
()
TryGankLib/Common/SwipeBack/src/main/java/me/imid/swipebacklayout/lib/ViewDragHelper.java:867
↓ 3 callers
Method
contains
查询是否有key对应的缓存文件 @param key @return
TryGankLib/Common/CommonLib/src/main/java/com/gypsophila/commonlib/cache/CacheManager.java:129
↓ 3 callers
Method
execute
执行任务 @param r
TryGankLib/Common/CommonLib/src/main/java/com/gypsophila/commonlib/net/DefaultThreadPool.java:45
↓ 3 callers
Method
getData
()
TryGankLib/Common/CommonLib/src/main/java/com/gypsophila/commonlib/cache/CacheItem.java:30
↓ 3 callers
Method
getInteger
(Context ctx, String key, int defValue)
TryGankLib/Common/CommonLib/src/main/java/com/gypsophila/commonlib/utils/PreferenceUtils.java:28
↓ 3 callers
Method
getSwipeBackLayout
@return the SwipeBackLayout associated with this activity.
TryGankLib/Common/SwipeBack/src/main/java/me/imid/swipebacklayout/lib/app/SwipeBackActivityBase.java:11
↓ 3 callers
Method
handleNetworkError
(final String errorMessage)
TryGankLib/Common/CommonLib/src/main/java/com/gypsophila/commonlib/net/HttpRequest.java:217
↓ 3 callers
Method
isShowFooter
(boolean isShowFooter)
TryGank/app/src/main/java/com/gypsophila/trygank/business/gank/GankAdapter.java:125
↓ 3 callers
Method
onViewPositionChanged
Called when the captured view's position changes as the result of a drag or settle. @param changedView View whose position changed @param left
TryGankLib/Common/SwipeBack/src/main/java/me/imid/swipebacklayout/lib/ViewDragHelper.java:186
↓ 3 callers
Method
saveLastMotion
(MotionEvent ev)
TryGankLib/Common/SwipeBack/src/main/java/me/imid/swipebacklayout/lib/ViewDragHelper.java:933
↓ 3 callers
Method
setData
(List<GankBean> gankBeanList)
TryGank/app/src/main/java/com/gypsophila/trygank/business/gank/GankAdapter.java:44
↓ 3 callers
Method
setShadow
Set a drawable used for edge shadow. @param shadow Drawable to use @param edgeFlags Combination of edge flags describing the edge to set @see #EDG
TryGankLib/Common/SwipeBack/src/main/java/me/imid/swipebacklayout/lib/SwipeBackLayout.java:312
↓ 3 callers
Method
showCategory
(View category)
TryGank/app/src/main/java/com/gypsophila/trygank/business/gank/DailyGankAdapter.java:72
↓ 2 callers
Method
StringToDate
(String date)
TryGank/app/src/main/java/com/gypsophila/trygank/utils/DateUtil.java:20
↓ 2 callers
Method
UrlEncodeUnicode
(final String s)
TryGankLib/Common/CommonLib/src/main/java/com/gypsophila/commonlib/utils/BaseUtils.java:22
↓ 2 callers
Method
addData
(GankIOPlusBean bean)
TryGank/app/src/main/java/com/gypsophila/trygank/business/gank/view/ITodayView.java:15
↓ 2 callers
Method
addNews
(List<GankBean> gankBeanList)
TryGank/app/src/main/java/com/gypsophila/trygank/business/gank/view/IGankView.java:18
↓ 2 callers
Method
addSwipeListener
Add a callback to be invoked when a swipe event is sent to this view. @param listener the swipe listener to attach to this view
TryGankLib/Common/SwipeBack/src/main/java/me/imid/swipebacklayout/lib/SwipeBackLayout.java:243
↓ 2 callers
Method
computeAxisDuration
(int delta, int velocity, int motionRange)
TryGankLib/Common/SwipeBack/src/main/java/me/imid/swipebacklayout/lib/ViewDragHelper.java:709
↓ 2 callers
Method
convertActivityToTranslucent
Convert a translucent themed Activity {@link android.R.attr#windowIsTranslucent} back from opaque to translucent following a call to {@link #convertAc
TryGankLib/Common/SwipeBack/src/main/java/me/imid/swipebacklayout/lib/Utils.java:50
↓ 2 callers
Method
cropPhoto
(Uri uri, File file)
TryGank/app/src/main/java/com/gypsophila/trygank/business/about/AboutActivity.java:146
↓ 2 callers
Method
dispatchViewReleased
Like all callback events this must happen on the UI thread, but release involves some extra semantics. During a release (mReleaseInProgress) is the on
TryGankLib/Common/SwipeBack/src/main/java/me/imid/swipebacklayout/lib/ViewDragHelper.java:855
↓ 2 callers
Method
downloadImage
(final Context context, final String imageUrl, final String imgName, final DownloadImageListener listener)
TryGankLib/Common/CommonLib/src/main/java/com/gypsophila/commonlib/utils/ImageLoaderUtils.java:48
↓ 2 callers
Method
downloadImage
()
TryGank/app/src/main/java/com/gypsophila/trygank/business/gank/view/GankPictureActivity.java:129
↓ 2 callers
Method
forceSettleCapturedViewAt
Settle the captured view at the given (left, top) position. @param finalLeft Target left position for the captured view @param finalTop Target top p
TryGankLib/Common/SwipeBack/src/main/java/me/imid/swipebacklayout/lib/ViewDragHelper.java:668
↓ 2 callers
Method
getCurrentTheme
(Context ctx)
TryGank/app/src/main/java/com/gypsophila/trygank/utils/ThemeUtil.java:62
↓ 2 callers
Method
getInstance
获取CacheManager实例 @return
TryGankLib/Common/CommonLib/src/main/java/com/gypsophila/commonlib/cache/CacheManager.java:33
↓ 2 callers
Method
getInstance
()
TryGankLib/Common/CommonLib/src/main/java/com/gypsophila/commonlib/net/DefaultThreadPool.java:22
↓ 2 callers
Method
getItemCount
()
TryGank/app/src/main/java/com/gypsophila/trygank/business/gank/GankAdapter.java:129
↓ 2 callers
Method
getMd5
MD5运算 @param s @return String 返回密文
TryGankLib/Common/CommonLib/src/main/java/com/gypsophila/commonlib/utils/BaseUtils.java:87
↓ 2 callers
Method
getSDSize
获取sd卡剩余空间 @return long sd卡剩余空间大小(单位:byte)
TryGankLib/Common/CommonLib/src/main/java/com/gypsophila/commonlib/utils/BaseUtils.java:133
↓ 2 callers
Method
getSwipeBackLayout
()
TryGankLib/Common/SwipeBack/src/main/java/me/imid/swipebacklayout/lib/app/SwipeBackPreferenceActivity.java:33
↓ 2 callers
Method
getSwipeBackLayout
()
TryGankLib/Common/SwipeBack/src/main/java/me/imid/swipebacklayout/lib/app/SwipeBackActivity.java:37
↓ 2 callers
Method
getUrl
(String type, int pageIndex)
TryGank/app/src/main/java/com/gypsophila/trygank/business/gank/presenter/GankPresenterImpl.java:57
↓ 2 callers
Method
getViewDragState
Retrieve the current drag state of this helper. This will return one of {@link #STATE_IDLE}, {@link #STATE_DRAGGING} or {@link #STATE_SETTLING}. @ret
TryGankLib/Common/SwipeBack/src/main/java/me/imid/swipebacklayout/lib/ViewDragHelper.java:485
↓ 2 callers
Method
getViewHorizontalDragRange
Return the magnitude of a draggable child view's horizontal range of motion in pixels. This method should return 0 for views that cannot move horizont
TryGankLib/Common/SwipeBack/src/main/java/me/imid/swipebacklayout/lib/ViewDragHelper.java:291
↓ 2 callers
Method
getViewVerticalDragRange
Return the magnitude of a draggable child view's vertical range of motion in pixels. This method should return 0 for views that cannot move vertically
TryGankLib/Common/SwipeBack/src/main/java/me/imid/swipebacklayout/lib/ViewDragHelper.java:303
↓ 2 callers
Method
hideCategory
(View category)
TryGank/app/src/main/java/com/gypsophila/trygank/business/gank/DailyGankAdapter.java:76
↓ 2 callers
Method
isPointerDown
Check if the given pointer ID represents a pointer that is currently down (to the best of the ViewDragHelper's knowledge). <p> The state used to repor
TryGankLib/Common/SwipeBack/src/main/java/me/imid/swipebacklayout/lib/ViewDragHelper.java:959
↓ 2 callers
Method
isVisibleOf
(View view)
TryGank/app/src/main/java/com/gypsophila/trygank/business/gank/DailyGankAdapter.java:80
↓ 2 callers
Method
loadBeans
(BaseActivity activity, String url, List<RequestParameter> parameters,
TryGank/app/src/main/java/com/gypsophila/trygank/business/gank/model/IGankBusiness.java:16
↓ 2 callers
Method
mapValueToTheme
(final int value)
TryGank/app/src/main/java/com/gypsophila/trygank/utils/ThemeUtil.java:86
↓ 2 callers
Method
newInstance
()
TryGank/app/src/main/java/com/gypsophila/trygank/business/gank/view/SearchListFragment.java:54
↓ 2 callers
Method
newInstance
()
TryGank/app/src/main/java/com/gypsophila/trygank/business/gank/view/GankFragment.java:37
↓ 2 callers
Method
onActivityCreate
()
TryGankLib/Common/SwipeBack/src/main/java/me/imid/swipebacklayout/lib/app/SwipeBackActivityHelper.java:24
↓ 2 callers
Method
onPause
在每个activity onPause中调用 @param ctx
TryGank/app/src/main/java/com/gypsophila/trygank/umeng/UmengEvent.java:43
↓ 2 callers
Method
onResume
在每个activity onResume中调用 @param ctx
TryGank/app/src/main/java/com/gypsophila/trygank/umeng/UmengEvent.java:30
↓ 2 callers
Method
openPictureActivity
(Context ctx, String imgUrl, String imgTitle)
TryGank/app/src/main/java/com/gypsophila/trygank/business/gank/view/GankPictureActivity.java:42
↓ 2 callers
Method
px2dip
(Context context, float pxValue)
TryGank/app/src/main/java/com/gypsophila/trygank/utils/ToolsUtil.java:43
↓ 2 callers
Method
releaseViewForPointerUp
()
TryGankLib/Common/SwipeBack/src/main/java/me/imid/swipebacklayout/lib/ViewDragHelper.java:1479
↓ 2 callers
Method
reportNewEdgeDrags
(float dx, float dy, int pointerId)
TryGankLib/Common/SwipeBack/src/main/java/me/imid/swipebacklayout/lib/ViewDragHelper.java:1312
↓ 2 callers
Method
scrollToFinishActivity
Scroll out contentView and finish the activity
TryGankLib/Common/SwipeBack/src/main/java/me/imid/swipebacklayout/lib/app/SwipeBackActivityBase.java:18
↓ 2 callers
Method
sdcardMounted
检查是否安装了sd卡 @return false 未安装
TryGankLib/Common/CommonLib/src/main/java/com/gypsophila/commonlib/utils/BaseUtils.java:120
↓ 2 callers
Method
setEnableGesture
(boolean enable)
TryGankLib/Common/SwipeBack/src/main/java/me/imid/swipebacklayout/lib/SwipeBackLayout.java:181
↓ 2 callers
Method
setError
(boolean hasError)
TryGankLib/Common/CommonLib/src/main/java/com/gypsophila/commonlib/net/Response.java:21
↓ 2 callers
Method
setErrorMessage
(String errorMessage)
TryGankLib/Common/CommonLib/src/main/java/com/gypsophila/commonlib/net/Response.java:29
↓ 2 callers
Method
setErrorType
(int errorType)
TryGankLib/Common/CommonLib/src/main/java/com/gypsophila/commonlib/net/Response.java:45
↓ 2 callers
Method
setName
(String name)
TryGankLib/Common/CommonLib/src/main/java/com/gypsophila/commonlib/net/RequestParameter.java:46
↓ 2 callers
Method
setValue
(String value)
TryGankLib/Common/CommonLib/src/main/java/com/gypsophila/commonlib/net/RequestParameter.java:54
↓ 2 callers
Method
sharePicture
(Uri uri)
TryGank/app/src/main/java/com/gypsophila/trygank/business/gank/view/GankPictureActivity.java:122
↓ 2 callers
Method
showNoData
(boolean shown)
TryGank/app/src/main/java/com/gypsophila/trygank/business/gank/view/GankListFragment.java:216
↓ 2 callers
Method
switchToGank
()
TryGank/app/src/main/java/com/gypsophila/trygank/business/main/MainActivity.java:289
↓ 1 callers
Method
IsSafe
(final char ch)
TryGankLib/Common/CommonLib/src/main/java/com/gypsophila/commonlib/utils/BaseUtils.java:58
next →
1–100 of 537, ranked by callers