MCPcopy Create free account

hub / github.com/AstroGypsophila/TryGank / functions

Functions537 in github.com/AstroGypsophila/TryGank

↓ 50 callersMethodfindViewById
(int id)
TryGankLib/Common/SwipeBack/src/main/java/me/imid/swipebacklayout/lib/app/SwipeBackActivity.java:29
↓ 40 callersMethodgetString
(Context ctx, String key, String defValue)
TryGankLib/Common/CommonLib/src/main/java/com/gypsophila/commonlib/utils/PreferenceUtils.java:65
↓ 15 callersMethodequals
(Object o)
TryGankLib/Common/CommonLib/src/main/java/com/gypsophila/commonlib/net/RequestParameter.java:32
↓ 11 callersMethodgetSharedPreferences
(Context ctx)
TryGankLib/Common/CommonLib/src/main/java/com/gypsophila/commonlib/utils/PreferenceUtils.java:79
↓ 8 callersMethodgetItemId
(int position)
TryGank/app/src/main/java/com/gypsophila/trygank/business/gank/ColorsListAdapter.java:52
↓ 8 callersMethodgetName
()
TryGankLib/Common/CommonLib/src/main/java/com/gypsophila/commonlib/net/RequestParameter.java:42
↓ 8 callersMethodinvoke
(final BaseActivity activity, final String url, final List<Reque
TryGank/app/src/main/java/com/gypsophila/trygank/business/RemoteService.java:28
↓ 8 callersMethodloadGankFromDataBase
(Context ctx)
TryGank/app/src/main/java/com/gypsophila/trygank/business/gank/presenter/IGankPresenter.java:20
↓ 8 callersMethodsetDragState
(int state)
TryGankLib/Common/SwipeBack/src/main/java/me/imid/swipebacklayout/lib/ViewDragHelper.java:963
↓ 8 callersMethodtryCaptureViewForDrag
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 callersMethodfindTopChildUnder
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 callersMethodgetDefault
()
TryGank/app/src/main/java/com/gypsophila/trygank/utils/ThemeUtil.java:96
↓ 7 callersMethodnewInstance
(String type)
TryGank/app/src/main/java/com/gypsophila/trygank/business/gank/view/GankListFragment.java:59
↓ 7 callersMethodsetContentView
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 callersMethodsetFilter
(FilterType requestType)
TryGank/app/src/main/java/com/gypsophila/trygank/business/gank/presenter/IGankPresenter.java:22
↓ 6 callersMethodIntToHex
(final int n)
TryGankLib/Common/CommonLib/src/main/java/com/gypsophila/commonlib/utils/BaseUtils.java:51
↓ 6 callersMethodaddFragment
(Fragment fragment, String title)
TryGank/app/src/main/java/com/gypsophila/trygank/business/gank/view/GankFragment.java:84
↓ 6 callersMethodcancel
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 callersMethodhideProgress
()
TryGank/app/src/main/java/com/gypsophila/trygank/business/gank/view/IGankView.java:20
↓ 6 callersMethodopenWebView
(Context ctx, GankBean gankBean)
TryGank/app/src/main/java/com/gypsophila/trygank/business/gank/view/GankDetailActivity.java:44
↓ 5 callersMethodcreate
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 callersMethodgetValue
()
TryGankLib/Common/CommonLib/src/main/java/com/gypsophila/commonlib/net/RequestParameter.java:50
↓ 5 callersMethodloadGank
(Context ctx, String type, int pageIndex, List<RequestParameter> params)
TryGank/app/src/main/java/com/gypsophila/trygank/business/gank/presenter/IGankPresenter.java:18
↓ 5 callersMethodonSuccess
(List<T> beanList)
TryGank/app/src/main/java/com/gypsophila/trygank/business/gank/model/GankLoadListener.java:13
↓ 4 callersMethodDateToString
(Date date)
TryGank/app/src/main/java/com/gypsophila/trygank/utils/DateUtil.java:15
↓ 4 callersMethodcheckNewEdgeDrag
(float delta, float odelta, int pointerId, int edge)
TryGankLib/Common/SwipeBack/src/main/java/me/imid/swipebacklayout/lib/ViewDragHelper.java:1333
↓ 4 callersMethodcheckTouchSlop
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 callersMethodclampMag
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 callersMethodgetInstance
()
TryGank/app/src/main/java/com/gypsophila/trygank/business/RemoteService.java:21
↓ 4 callersMethodgetInstance
(Context ctx)
TryGank/app/src/main/java/com/gypsophila/trygank/db/GankDataBaseHelper.java:20
↓ 4 callersMethodisEdgeTouched
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 callersMethodloadImage
(Context context, ImageView imageView, String imageUrl)
TryGankLib/Common/CommonLib/src/main/java/com/gypsophila/commonlib/utils/ImageLoaderUtils.java:33
↓ 4 callersMethodonEdgeTouched
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 callersMethodsaveInitialMotion
(float x, float y, int pointerId)
TryGankLib/Common/SwipeBack/src/main/java/me/imid/swipebacklayout/lib/ViewDragHelper.java:925
↓ 4 callersMethodshowProgress
()
TryGank/app/src/main/java/com/gypsophila/trygank/business/gank/view/IGankView.java:16
↓ 3 callersMethodchangTheme
(Activity activity, Theme theme)
TryGank/app/src/main/java/com/gypsophila/trygank/utils/ThemeUtil.java:15
↓ 3 callersMethodchangeTheme
(int position)
TryGank/app/src/main/java/com/gypsophila/trygank/business/main/MainActivity.java:154
↓ 3 callersMethodclearMotionHistory
()
TryGankLib/Common/SwipeBack/src/main/java/me/imid/swipebacklayout/lib/ViewDragHelper.java:867
↓ 3 callersMethodcontains
查询是否有key对应的缓存文件 @param key @return
TryGankLib/Common/CommonLib/src/main/java/com/gypsophila/commonlib/cache/CacheManager.java:129
↓ 3 callersMethodexecute
执行任务 @param r
TryGankLib/Common/CommonLib/src/main/java/com/gypsophila/commonlib/net/DefaultThreadPool.java:45
↓ 3 callersMethodgetData
()
TryGankLib/Common/CommonLib/src/main/java/com/gypsophila/commonlib/cache/CacheItem.java:30
↓ 3 callersMethodgetInteger
(Context ctx, String key, int defValue)
TryGankLib/Common/CommonLib/src/main/java/com/gypsophila/commonlib/utils/PreferenceUtils.java:28
↓ 3 callersMethodgetSwipeBackLayout
@return the SwipeBackLayout associated with this activity.
TryGankLib/Common/SwipeBack/src/main/java/me/imid/swipebacklayout/lib/app/SwipeBackActivityBase.java:11
↓ 3 callersMethodhandleNetworkError
(final String errorMessage)
TryGankLib/Common/CommonLib/src/main/java/com/gypsophila/commonlib/net/HttpRequest.java:217
↓ 3 callersMethodisShowFooter
(boolean isShowFooter)
TryGank/app/src/main/java/com/gypsophila/trygank/business/gank/GankAdapter.java:125
↓ 3 callersMethodonViewPositionChanged
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 callersMethodsaveLastMotion
(MotionEvent ev)
TryGankLib/Common/SwipeBack/src/main/java/me/imid/swipebacklayout/lib/ViewDragHelper.java:933
↓ 3 callersMethodsetData
(List<GankBean> gankBeanList)
TryGank/app/src/main/java/com/gypsophila/trygank/business/gank/GankAdapter.java:44
↓ 3 callersMethodsetShadow
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 callersMethodshowCategory
(View category)
TryGank/app/src/main/java/com/gypsophila/trygank/business/gank/DailyGankAdapter.java:72
↓ 2 callersMethodStringToDate
(String date)
TryGank/app/src/main/java/com/gypsophila/trygank/utils/DateUtil.java:20
↓ 2 callersMethodUrlEncodeUnicode
(final String s)
TryGankLib/Common/CommonLib/src/main/java/com/gypsophila/commonlib/utils/BaseUtils.java:22
↓ 2 callersMethodaddData
(GankIOPlusBean bean)
TryGank/app/src/main/java/com/gypsophila/trygank/business/gank/view/ITodayView.java:15
↓ 2 callersMethodaddNews
(List<GankBean> gankBeanList)
TryGank/app/src/main/java/com/gypsophila/trygank/business/gank/view/IGankView.java:18
↓ 2 callersMethodaddSwipeListener
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 callersMethodcomputeAxisDuration
(int delta, int velocity, int motionRange)
TryGankLib/Common/SwipeBack/src/main/java/me/imid/swipebacklayout/lib/ViewDragHelper.java:709
↓ 2 callersMethodconvertActivityToTranslucent
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 callersMethodcropPhoto
(Uri uri, File file)
TryGank/app/src/main/java/com/gypsophila/trygank/business/about/AboutActivity.java:146
↓ 2 callersMethoddispatchViewReleased
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 callersMethoddownloadImage
(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 callersMethoddownloadImage
()
TryGank/app/src/main/java/com/gypsophila/trygank/business/gank/view/GankPictureActivity.java:129
↓ 2 callersMethodforceSettleCapturedViewAt
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 callersMethodgetCurrentTheme
(Context ctx)
TryGank/app/src/main/java/com/gypsophila/trygank/utils/ThemeUtil.java:62
↓ 2 callersMethodgetInstance
获取CacheManager实例 @return
TryGankLib/Common/CommonLib/src/main/java/com/gypsophila/commonlib/cache/CacheManager.java:33
↓ 2 callersMethodgetInstance
()
TryGankLib/Common/CommonLib/src/main/java/com/gypsophila/commonlib/net/DefaultThreadPool.java:22
↓ 2 callersMethodgetItemCount
()
TryGank/app/src/main/java/com/gypsophila/trygank/business/gank/GankAdapter.java:129
↓ 2 callersMethodgetMd5
MD5运算 @param s @return String 返回密文
TryGankLib/Common/CommonLib/src/main/java/com/gypsophila/commonlib/utils/BaseUtils.java:87
↓ 2 callersMethodgetSDSize
获取sd卡剩余空间 @return long sd卡剩余空间大小(单位:byte)
TryGankLib/Common/CommonLib/src/main/java/com/gypsophila/commonlib/utils/BaseUtils.java:133
↓ 2 callersMethodgetSwipeBackLayout
()
TryGankLib/Common/SwipeBack/src/main/java/me/imid/swipebacklayout/lib/app/SwipeBackPreferenceActivity.java:33
↓ 2 callersMethodgetSwipeBackLayout
()
TryGankLib/Common/SwipeBack/src/main/java/me/imid/swipebacklayout/lib/app/SwipeBackActivity.java:37
↓ 2 callersMethodgetUrl
(String type, int pageIndex)
TryGank/app/src/main/java/com/gypsophila/trygank/business/gank/presenter/GankPresenterImpl.java:57
↓ 2 callersMethodgetViewDragState
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 callersMethodgetViewHorizontalDragRange
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 callersMethodgetViewVerticalDragRange
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 callersMethodhideCategory
(View category)
TryGank/app/src/main/java/com/gypsophila/trygank/business/gank/DailyGankAdapter.java:76
↓ 2 callersMethodisPointerDown
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 callersMethodisVisibleOf
(View view)
TryGank/app/src/main/java/com/gypsophila/trygank/business/gank/DailyGankAdapter.java:80
↓ 2 callersMethodloadBeans
(BaseActivity activity, String url, List<RequestParameter> parameters,
TryGank/app/src/main/java/com/gypsophila/trygank/business/gank/model/IGankBusiness.java:16
↓ 2 callersMethodmapValueToTheme
(final int value)
TryGank/app/src/main/java/com/gypsophila/trygank/utils/ThemeUtil.java:86
↓ 2 callersMethodnewInstance
()
TryGank/app/src/main/java/com/gypsophila/trygank/business/gank/view/SearchListFragment.java:54
↓ 2 callersMethodnewInstance
()
TryGank/app/src/main/java/com/gypsophila/trygank/business/gank/view/GankFragment.java:37
↓ 2 callersMethodonActivityCreate
()
TryGankLib/Common/SwipeBack/src/main/java/me/imid/swipebacklayout/lib/app/SwipeBackActivityHelper.java:24
↓ 2 callersMethodonPause
在每个activity onPause中调用 @param ctx
TryGank/app/src/main/java/com/gypsophila/trygank/umeng/UmengEvent.java:43
↓ 2 callersMethodonResume
在每个activity onResume中调用 @param ctx
TryGank/app/src/main/java/com/gypsophila/trygank/umeng/UmengEvent.java:30
↓ 2 callersMethodopenPictureActivity
(Context ctx, String imgUrl, String imgTitle)
TryGank/app/src/main/java/com/gypsophila/trygank/business/gank/view/GankPictureActivity.java:42
↓ 2 callersMethodpx2dip
(Context context, float pxValue)
TryGank/app/src/main/java/com/gypsophila/trygank/utils/ToolsUtil.java:43
↓ 2 callersMethodreleaseViewForPointerUp
()
TryGankLib/Common/SwipeBack/src/main/java/me/imid/swipebacklayout/lib/ViewDragHelper.java:1479
↓ 2 callersMethodreportNewEdgeDrags
(float dx, float dy, int pointerId)
TryGankLib/Common/SwipeBack/src/main/java/me/imid/swipebacklayout/lib/ViewDragHelper.java:1312
↓ 2 callersMethodscrollToFinishActivity
Scroll out contentView and finish the activity
TryGankLib/Common/SwipeBack/src/main/java/me/imid/swipebacklayout/lib/app/SwipeBackActivityBase.java:18
↓ 2 callersMethodsdcardMounted
检查是否安装了sd卡 @return false 未安装
TryGankLib/Common/CommonLib/src/main/java/com/gypsophila/commonlib/utils/BaseUtils.java:120
↓ 2 callersMethodsetEnableGesture
(boolean enable)
TryGankLib/Common/SwipeBack/src/main/java/me/imid/swipebacklayout/lib/SwipeBackLayout.java:181
↓ 2 callersMethodsetError
(boolean hasError)
TryGankLib/Common/CommonLib/src/main/java/com/gypsophila/commonlib/net/Response.java:21
↓ 2 callersMethodsetErrorMessage
(String errorMessage)
TryGankLib/Common/CommonLib/src/main/java/com/gypsophila/commonlib/net/Response.java:29
↓ 2 callersMethodsetErrorType
(int errorType)
TryGankLib/Common/CommonLib/src/main/java/com/gypsophila/commonlib/net/Response.java:45
↓ 2 callersMethodsetName
(String name)
TryGankLib/Common/CommonLib/src/main/java/com/gypsophila/commonlib/net/RequestParameter.java:46
↓ 2 callersMethodsetValue
(String value)
TryGankLib/Common/CommonLib/src/main/java/com/gypsophila/commonlib/net/RequestParameter.java:54
↓ 2 callersMethodsharePicture
(Uri uri)
TryGank/app/src/main/java/com/gypsophila/trygank/business/gank/view/GankPictureActivity.java:122
↓ 2 callersMethodshowNoData
(boolean shown)
TryGank/app/src/main/java/com/gypsophila/trygank/business/gank/view/GankListFragment.java:216
↓ 2 callersMethodswitchToGank
()
TryGank/app/src/main/java/com/gypsophila/trygank/business/main/MainActivity.java:289
↓ 1 callersMethodIsSafe
(final char ch)
TryGankLib/Common/CommonLib/src/main/java/com/gypsophila/commonlib/utils/BaseUtils.java:58
next →1–100 of 537, ranked by callers