Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/devallever/AndroidBaseLibs
/ functions
Functions
2,998 in github.com/devallever/AndroidBaseLibs
⨍
Functions
2,998
◇
Types & classes
530
↓ 3 callers
Method
reset
widget/src/main/java/app/allever/android/lib/widget/mediapicker/ui/adapter/AudioAdapter.kt:26
↓ 3 callers
Method
saveBitmap2File
(Bitmap bitmap, String path)
core/src/main/java/app/allever/android/lib/core/util/BitmapUtils.java:18
↓ 3 callers
Method
setCallback
widget/src/main/java/app/allever/android/lib/widget/mediapicker/ui/PreviewActivity.kt:120
↓ 3 callers
Method
setCameraListener
camera-x/src/main/java/app/allever/android/lib/camerax/CameraProxyImpl.kt:208
↓ 3 callers
Method
setData
widget/src/main/java/app/allever/android/lib/widget/mediapicker/ui/PreviewFragment.kt:64
↓ 3 callers
Method
setDrawerLayoutProperty
设置 DrawerLayout 属性 @param drawerLayout DrawerLayout @param drawerLayoutContentLayout DrawerLayout 的内容布局
core/src/main/java/app/allever/android/lib/core/util/StatusBarUtil.java:257
↓ 3 callers
Method
setImageBitmap
widget/src/main/java/app/allever/android/lib/widget/recycler/BaseViewHolder.kt:52
↓ 3 callers
Method
setOnTouchListener
widget/src/main/java/app/allever/android/lib/widget/recycler/BaseViewHolder.kt:186
↓ 3 callers
Method
setPreview
camera-x/src/main/java/app/allever/android/lib/camerax/CameraProxyImpl.kt:188
↓ 3 callers
Method
setSelection
widget/src/main/java/app/allever/android/lib/widget/SearchView.kt:95
↓ 3 callers
Method
start
common/src/main/java/app/allever/android/lib/common/FragmentActivity.kt:24
↓ 3 callers
Method
start
player-kernel-ijk/src/main/java/app/allever/android/lib/player/kernel/ijk/IJKPlayer.kt:106
↓ 3 callers
Method
startActivity
打开新的activity @return
core/src/main/java/app/allever/android/lib/core/util/IntentUtils.java:85
↓ 3 callers
Method
takePicture
camera-x/src/main/java/app/allever/android/lib/camerax/CameraProxyImpl.kt:196
↓ 3 callers
Method
text
widget/src/main/java/app/allever/android/lib/widget/CustomToast.kt:47
↓ 3 callers
Function
toJson
core/src/main/java/app/allever/android/lib/core/ext/AnyExt.kt:5
↓ 3 callers
Method
toast
(String msg)
login-instagram/src/main/java/app/allever/android/lib/login/instagram/LoginInsActivity.java:418
↓ 3 callers
Function
toastLong
core/src/main/java/app/allever/android/lib/core/ext/Toast.kt:13
↓ 3 callers
Method
toggleSoftInput
core/src/main/java/app/allever/android/lib/core/helper/KeyboardHelper.kt:23
↓ 3 callers
Method
transparentStatusBar
使状态栏透明
core/src/main/java/app/allever/android/lib/core/util/StatusBarUtil.java:537
↓ 3 callers
Method
trimToSize
()
core/src/main/java/app/allever/android/lib/core/util/DiskLruCache.java:709
↓ 3 callers
Method
validateKey
(String key)
core/src/main/java/app/allever/android/lib/core/util/DiskLruCache.java:727
↓ 2 callers
Method
GoToSetting
跳转到相应品牌手机系统权限设置页,如果跳转不成功,则跳转到应用详情页 这里需要改造成返回true或者false,应用详情页:true,应用权限页:false @param context
core/src/main/java/app/allever/android/lib/core/function/permission/PermissionUtil.java:49
↓ 2 callers
Method
accept
(File pathname)
core/src/main/java/app/allever/android/lib/core/util/FileUtils.java:1528
↓ 2 callers
Method
addFakeStatusBarView
1. Add fake statusBarView. 2. set tag to statusBarView.
core/src/main/java/app/allever/android/lib/core/util/StatusBarCompatKitKat.java:47
↓ 2 callers
Method
attach
mvp/src/main/java/app/allever/android/lib/mvp/base/BasePresenter.kt:25
↓ 2 callers
Method
bandageExceptionHappened
core/src/main/java/app/allever/android/lib/core/function/crash/ExceptionHandler.kt:17
↓ 2 callers
Method
bitmap2Drawable
Bitmap to drawable. @param bitmap The bitmap. @return drawable
core/src/main/java/app/allever/android/lib/core/util/ImageUtils.java:145
↓ 2 callers
Method
byte2FitMemorySize
Size of byte to fit size of memory. <p>to three decimal places</p> @param byteSize Size of byte. @return fit size of memory
core/src/main/java/app/allever/android/lib/core/util/ConvertUtils.java:454
↓ 2 callers
Method
bytes2Bitmap
Bytes to bitmap. @param bytes The bytes. @return bitmap
core/src/main/java/app/allever/android/lib/core/util/ImageUtils.java:101
↓ 2 callers
Method
bytes2HexString
Bytes to hex string. <p>e.g. bytes2HexString(new byte[] { 0, (byte) 0xa8 }) returns "00A8"</p> @param bytes The bytes. @return hex string
core/src/main/java/app/allever/android/lib/core/util/ConvertUtils.java:154
↓ 2 callers
Method
calculateAspectRatio
Calculates the aspect ratio given a rectangle.
cropper/src/main/java/com/edmodo/cropper/util/AspectRatioUtil.java:28
↓ 2 callers
Method
calculateHeight
Calculates the height of a rectangle given the left and right edges and an aspect ratio.
cropper/src/main/java/com/edmodo/cropper/util/AspectRatioUtil.java:105
↓ 2 callers
Method
calculateWidth
Calculates the width of a rectangle given the top and bottom edges and an aspect ratio.
cropper/src/main/java/com/edmodo/cropper/util/AspectRatioUtil.java:98
↓ 2 callers
Method
callBack
(WeiXin info)
login-wechat/src/main/java/app/allever/android/lib/login/wechat/WeChatInitialize.java:28
↓ 2 callers
Method
cancelAnimations
()
widget/src/main/java/app/allever/android/lib/widget/ripple/RippleLayout.java:430
↓ 2 callers
Method
changeToLightStatusBar
使用日间模式,字体黑色 @param activity activity
core/src/main/java/app/allever/android/lib/core/util/StatusBarCompat.java:94
↓ 2 callers
Method
checkForLongClick
开始对长按事件计时
core/src/main/java/app/allever/android/lib/core/helper/DragCloseHelper.java:163
↓ 2 callers
Method
clickAdapterView
(AdapterView parent)
widget/src/main/java/app/allever/android/lib/widget/ripple/RippleLayout.java:816
↓ 2 callers
Method
commit
Commits this edit so it is visible to readers. This releases the edit lock so another edit may be started on the same key.
core/src/main/java/app/allever/android/lib/core/util/DiskLruCache.java:848
↓ 2 callers
Method
copyFile
(File sourceFile, File targetFile)
core/src/main/java/app/allever/android/lib/core/util/FileUtils.java:224
↓ 2 callers
Method
copyOrMoveDir
(final File srcDir, final File destDir,
core/src/main/java/app/allever/android/lib/core/util/FileUtils.java:1398
↓ 2 callers
Method
createResultJsonObject
(int code, Object obj)
core/src/main/java/app/allever/android/lib/core/function/login/ResultUtils.java:37
↓ 2 callers
Method
dealClickEvent
处理点击事件
core/src/main/java/app/allever/android/lib/core/helper/DragCloseHelper.java:185
↓ 2 callers
Method
deleteDir
(File dir)
core/src/main/java/app/allever/android/lib/core/util/CacheUtils.java:50
↓ 2 callers
Method
deleteFilesInDirWithFilter
Delete all files that satisfy the filter in directory. @param dirPath The path of directory. @param filter The filter. @return {@code true}: success
core/src/main/java/app/allever/android/lib/core/util/FileUtils.java:1567
↓ 2 callers
Method
destroyVideo
ad-mimo/src/main/java/app/allever/android/lib/ad/mimo/MiMoBusiness.kt:234
↓ 2 callers
Method
displayInNotch
* 设置应用窗口在刘海屏手机使用刘海区 * * 通过添加窗口FLAG的方式设置页面使用刘海区显示 * * @param window 应用页面window对象 */
core/src/main/java/app/allever/android/lib/core/function/notchcompat/XiaoMiNotch.kt:46
↓ 2 callers
Method
dragClose
拖拽结束并且关闭 @param isShareElementMode
core/src/main/java/app/allever/android/lib/core/helper/DragCloseHelper.java:538
↓ 2 callers
Method
drawable2Bytes
Drawable to bytes. @param drawable The drawable. @return bytes
core/src/main/java/app/allever/android/lib/core/util/ImageUtils.java:155
↓ 2 callers
Method
enableClipPathSupportIfNecessary
{@link Canvas#clipPath(Path)} is not supported in hardware accelerated layers before API 18. Use software layer instead <p/> https://developer.android
widget/src/main/java/app/allever/android/lib/widget/ripple/RippleLayout.java:660
↓ 2 callers
Method
encodeBytes
Encodes a byte array into Base64 notation. Equivalen to calling <code>encodeBytes( source, 0, source.length )</code> @param source The data to conver
core/src/main/java/app/allever/android/lib/core/util/Base64.java:278
↓ 2 callers
Method
error
core/src/main/java/app/allever/android/lib/core/function/imageloader/ImageLoader.kt:297
↓ 2 callers
Method
executeBackwardAnim
执行回到到上一个 Activity 的动画。这里弄成静态方法,方便在 Fragment 中调用
core/src/main/java/app/allever/android/lib/core/widget/swipebacklayout/BGASwipeBackHelper.java:76
↓ 2 callers
Method
fetchFolderList
widget/src/main/java/app/allever/android/lib/widget/mediapicker/MediaPicker.kt:101
↓ 2 callers
Method
fetchFromCache
widget/src/main/java/app/allever/android/lib/widget/mediapicker/MediaPicker.kt:248
↓ 2 callers
Method
fetchFromFolderCache
widget/src/main/java/app/allever/android/lib/widget/mediapicker/MediaPicker.kt:272
↓ 2 callers
Method
finishLaunchActivity
core/src/main/java/app/allever/android/lib/core/function/crash/compat/IActivityKiller.kt:9
↓ 2 callers
Method
finishPauseActivity
core/src/main/java/app/allever/android/lib/core/function/crash/compat/IActivityKiller.kt:11
↓ 2 callers
Method
forward
跳转到下一个 Activity,不销毁当前 Activity @param cls 下一个 Activity 的 Class
core/src/main/java/app/allever/android/lib/core/widget/swipebacklayout/BGASwipeBackHelper.java:268
↓ 2 callers
Method
getActiveEdges
Gets the Edges associated with this handle (i.e. the Edges that should be moved when this handle is dragged). This is used when we are not maintaining
cropper/src/main/java/com/edmodo/cropper/cropwindow/handle/HandleHelper.java:104
↓ 2 callers
Method
getAdapter
common/src/main/java/app/allever/android/lib/common/ListFragment.kt:56
↓ 2 callers
Method
getAudioMedia
core/src/main/java/app/allever/android/lib/core/function/media/MediaHelper.kt:396
↓ 2 callers
Method
getBanner
common/src/main/java/app/allever/android/lib/common/function/network/AppRepository.kt:21
↓ 2 callers
Method
getBannerCall
* Java回调方式 */
network/src/main/java/app/allever/android/lib/network/demo/AppRepository.kt:28
↓ 2 callers
Method
getBoolean
core/src/main/java/app/allever/android/lib/core/function/datastore/DataStore.kt:52
↓ 2 callers
Method
getBoolean
(String key, boolean defaultValue)
core/src/main/java/app/allever/android/lib/core/util/SystemPropertiesUtils.java:41
↓ 2 callers
Method
getDirLength
Return the length of directory. @param dir The directory. @return the length of directory
core/src/main/java/app/allever/android/lib/core/util/FileUtils.java:2146
↓ 2 callers
Method
getFileLength
Return the length of file. @param filePath The path of file. @return the length of file
core/src/main/java/app/allever/android/lib/core/util/FileUtils.java:2168
↓ 2 callers
Method
getFloat
* 获取Float * * @param key 键名 * @param defValue 默认值 * * @return Long */
core/src/main/java/app/allever/android/lib/core/helper/SPHelper.kt:119
↓ 2 callers
Method
getFormatSize
格式化单位 @param size @return
core/src/main/java/app/allever/android/lib/core/util/CacheUtils.java:225
↓ 2 callers
Method
getImageMedia
core/src/main/java/app/allever/android/lib/core/function/media/MediaHelper.kt:360
↓ 2 callers
Method
getLengths
()
core/src/main/java/app/allever/android/lib/core/util/DiskLruCache.java:936
↓ 2 callers
Method
getLong
* 获取Long * * @param key 键名 * @param defValue 默认值 * * @return Long */
core/src/main/java/app/allever/android/lib/core/helper/SPHelper.kt:141
↓ 2 callers
Method
getRadius
()
widget/src/main/java/app/allever/android/lib/widget/ripple/RippleLayout.java:567
↓ 2 callers
Method
getRealScreenHeight
获取屏幕高度,包括底部导航栏
core/src/main/java/app/allever/android/lib/core/widget/swipebacklayout/UIUtil.java:132
↓ 2 callers
Method
getRealScreenWidth
获取屏幕宽度,不包括右侧导航栏
core/src/main/java/app/allever/android/lib/core/widget/swipebacklayout/UIUtil.java:147
↓ 2 callers
Method
getRotateBitmap
* 获取旋转后的图片 * @param b * @param rotateDegree 旋转角度 * @return */
core/src/main/java/app/allever/android/lib/core/function/camera/CameraUtil.kt:187
↓ 2 callers
Method
getSecondByDay
core/src/main/java/app/allever/android/lib/core/helper/TimeHelper.kt:53
↓ 2 callers
Method
getSecondByHour
core/src/main/java/app/allever/android/lib/core/helper/TimeHelper.kt:60
↓ 2 callers
Function
getString
core/src/main/java/app/allever/android/lib/core/ext/Resource.kt:12
↓ 2 callers
Method
getVideoMedia
core/src/main/java/app/allever/android/lib/core/function/media/MediaHelper.kt:376
↓ 2 callers
Method
hasNotch
core/src/main/java/app/allever/android/lib/core/function/notchcompat/NotchCompat.kt:46
↓ 2 callers
Method
hex2Dec
(final char hexChar)
core/src/main/java/app/allever/android/lib/core/util/ConvertUtils.java:201
↓ 2 callers
Method
hideStatusBarView
(final AppCompatActivity activity)
core/src/main/java/app/allever/android/lib/core/util/BarUtils.java:384
↓ 2 callers
Method
inflate
mvvm/src/main/java/app/allever/android/lib/mvvm/demo/MvvmFragment.kt:8
↓ 2 callers
Method
inflate
(int layoutId)
core/src/main/java/app/allever/android/lib/core/util/UIKit.java:56
↓ 2 callers
Method
init
network/src/main/java/app/allever/android/lib/network/ApiService.kt:55
↓ 2 callers
Method
input2OutputStream
Input stream to output stream.
core/src/main/java/app/allever/android/lib/core/util/ConvertUtils.java:544
↓ 2 callers
Method
inputStreamToString
(InputStream in)
core/src/main/java/app/allever/android/lib/core/util/DiskLruCache.java:359
↓ 2 callers
Method
invalidLengths
(String[] strings)
core/src/main/java/app/allever/android/lib/core/util/DiskLruCache.java:961
↓ 2 callers
Method
isAudio
core/src/main/java/app/allever/android/lib/core/function/media/MediaType.kt:87
↓ 2 callers
Method
isDir
Return whether it is a directory. @param dirPath The path of directory. @return {@code true}: yes<br>{@code false}: no
core/src/main/java/app/allever/android/lib/core/util/FileUtils.java:1119
↓ 2 callers
Method
isGifFileType
是不是Gif文件 @param path @return
core/src/main/java/app/allever/android/lib/core/function/media/MediaFile.java:228
↓ 2 callers
Method
isImage
(String mimeType)
core/src/main/java/app/allever/android/lib/core/util/MimeType.java:119
↓ 2 callers
Method
isInEditMode
()
widget/src/main/java/app/allever/android/lib/widget/ripple/RippleLayout.java:533
↓ 2 callers
Method
isInHorizontalTargetZone
Determines if the specified coordinate is in the target touch zone for a horizontal bar handle. @param x the x-coordinate of the touch poi
cropper/src/main/java/com/edmodo/cropper/util/HandleUtil.java:185
↓ 2 callers
Method
isInVerticalTargetZone
Determines if the specified coordinate is in the target touch zone for a vertical bar handle. @param x the x-coordinate of the touch point
cropper/src/main/java/com/edmodo/cropper/util/HandleUtil.java:207
↓ 2 callers
Method
isInstallIns
(Context context)
login-instagram/src/main/java/app/allever/android/lib/login/instagram/InsHelper.java:125
↓ 2 callers
Method
isJPGFileType
用于判断图片是不是jpg @param path @return
core/src/main/java/app/allever/android/lib/core/function/media/MediaFile.java:248
← previous
next →
301–400 of 2,998, ranked by callers