跳过导航链接
A B C D E F G I J L M O P R S T V 

A

activities - 类 中的静态变量com.smallcake.utils.ActivityCollector
 
ActivityCollector - com.smallcake.utils中的类
add and remove Activity use this into BaseActivity
ActivityCollector() - 类 的构造器com.smallcake.utils.ActivityCollector
 
ActivityUtils - com.smallcake.utils中的类
MyApplication -- com.smallcake.utils Created by Small Cake on 2017/8/24 11:33.
ActivityUtils() - 类 的构造器com.smallcake.utils.ActivityUtils
 
addActivity(Activity) - 类 中的静态方法com.smallcake.utils.ActivityCollector
 
addItem(CharSequence, View.OnClickListener) - 类 中的方法com.smallcake.utils.dialog.BottomMenuDialog.BottomMenuBuilder
 
AppUtils - com.smallcake.utils中的类
 
AppUtils() - 类 的构造器com.smallcake.utils.AppUtils
 

B

BitmapUtils - com.smallcake.utils中的类
MyApplication -- com.smallcake.utils Created by Small Cake on 2017/8/15 11:02.
BitmapUtils() - 类 的构造器com.smallcake.utils.BitmapUtils
 
BottomMenuBuilder() - 类 的构造器com.smallcake.utils.dialog.BottomMenuDialog.BottomMenuBuilder
 
BottomMenuDialog - com.smallcake.utils.dialog中的类
MyApplication -- cq.cake.custom Created by Small Cake on 2017/8/14 19:39.
BottomMenuDialog() - 类 的构造器com.smallcake.utils.dialog.BottomMenuDialog
 
BottomMenuDialog(BottomMenuDialog.BottomMenuBuilder) - 类 的构造器com.smallcake.utils.dialog.BottomMenuDialog
 
BottomMenuDialog.BottomMenuBuilder - com.smallcake.utils.dialog中的类
 
build() - 类 中的方法com.smallcake.utils.dialog.BottomMenuDialog.BottomMenuBuilder
 

C

callFingerPrint(Context, FingerprintUtil.OnCallBackListenr) - 类 中的静态方法com.smallcake.utils.FingerprintUtil
 
clear(Context) - 类 中的静态方法com.smallcake.utils.SPUtils
清除所有数据
closeIO(Closeable...) - 类 中的静态方法com.smallcake.utils.MobileUtils
关闭IO
com.smallcake.utils - 程序包 com.smallcake.utils
 
com.smallcake.utils.dialog - 程序包 com.smallcake.utils.dialog
 
com.smallcake.utils.popup - 程序包 com.smallcake.utils.popup
 
CommandResult(int, String, String) - 类 的构造器com.smallcake.utils.MobileUtils.CommandResult
 
compressMatrix(Context, int, float, float) - 类 中的静态方法com.smallcake.utils.BitmapUtils
TODO 3.缩放法压缩(Matrix矩阵),bitmap所占内存根据matrix缩放比例变小,比采样率压缩更小
compressMatrix(String, float, float) - 类 中的静态方法com.smallcake.utils.BitmapUtils
 
compressQuality(Bitmap, int) - 类 中的静态方法com.smallcake.utils.BitmapUtils
TODO 1 质量压缩 ,bitmap所占内存大小是不会变的,返回字节数组 不会减少图片的像素,保持像素的前提下改变图片的位深及透明度等 但是我们看到bytes.length是随着quality变小而变小的。
compressRate(Context, int, int) - 类 中的静态方法com.smallcake.utils.BitmapUtils
TODO 2.采样率压缩,bitmap所占内存根据inSampleSize变小
compressWH(Context, int, int, int) - 类 中的静态方法com.smallcake.utils.BitmapUtils
TODO 5.压缩成用户希望的宽高 首先把图片设置为RGB_565来减小大小
contains(Context, String) - 类 中的静态方法com.smallcake.utils.SPUtils
查询某个key是否已经存在

D

d(String) - 类 中的静态方法com.smallcake.utils.L
 
d(String, String) - 类 中的静态方法com.smallcake.utils.L
 
dialog - 类 中的变量com.smallcake.utils.dialog.BottomMenuDialog
 
DISTANCE - 接口 中的静态变量com.smallcake.utils.popup.IGoodView
 
dp2px(Context, float) - 类 中的静态方法com.smallcake.utils.dialog.BottomMenuDialog
 
dp2px(Context, float) - 类 中的静态方法com.smallcake.utils.DpPxUtils
 
DpPxUtils - com.smallcake.utils中的类
 
DURATION - 接口 中的静态变量com.smallcake.utils.popup.IGoodView
 

E

e(String) - 类 中的静态方法com.smallcake.utils.L
 
e(String, String) - 类 中的静态方法com.smallcake.utils.L
 
EditTextUtils - com.smallcake.utils中的类
MyApplication -- com.smallcake.utils Created by Small Cake on 2017/8/24 11:09.
EditTextUtils() - 类 的构造器com.smallcake.utils.EditTextUtils
 
encrypt16(String) - 类 中的静态方法com.smallcake.utils.MD5Utils
 
encrypt16Up(String) - 类 中的静态方法com.smallcake.utils.MD5Utils
 
encrypt32(String) - 类 中的静态方法com.smallcake.utils.MD5Utils
 
encrypt32Up(String) - 类 中的静态方法com.smallcake.utils.MD5Utils
 
errorMsg - 类 中的变量com.smallcake.utils.MobileUtils.CommandResult
错误信息
execCmd(String, boolean) - 类 中的静态方法com.smallcake.utils.MobileUtils
是否是在root下执行命令
execCmd(String[], boolean, boolean) - 类 中的静态方法com.smallcake.utils.MobileUtils
是否是在root下执行命令

F

FileUtils - com.smallcake.utils中的类
MyApplication -- com.smallcake.utils Created by Small Cake on 2017/8/31 15:52.
FileUtils() - 类 的构造器com.smallcake.utils.FileUtils
 
FingerprintUtil - com.smallcake.utils中的类
Android指纹识别,需要加入权限 需要API Level 23,如果达不到不会报错,这些类会什么都不做。
FingerprintUtil() - 类 的构造器com.smallcake.utils.FingerprintUtil
 
FingerprintUtil.MyCallBack - com.smallcake.utils中的类
 
FingerprintUtil.OnCallBackListenr - com.smallcake.utils中的接口
 
finishAll() - 类 中的静态方法com.smallcake.utils.ActivityCollector
 
formatSize(Context, long) - 类 中的静态方法com.smallcake.utils.FormatUtils
工具类 根据文件大小自动转化为KB, MB, GB
FormatUtils - com.smallcake.utils中的类
MyApplication -- com.smallcake.utils Created by Small Cake on 2017/8/15 14:05.
FormatUtils() - 类 的构造器com.smallcake.utils.FormatUtils
 
FROM_ALPHA - 接口 中的静态变量com.smallcake.utils.popup.IGoodView
 
FROM_Y_DELTA - 接口 中的静态变量com.smallcake.utils.popup.IGoodView
 

G

get(Context, String, Object) - 类 中的静态方法com.smallcake.utils.SPUtils
得到保存数据的方法,我们根据默认值得到保存的数据的具体类型,然后调用相对于的方法获取值
getAll(Context) - 类 中的静态方法com.smallcake.utils.SPUtils
返回所有的键值对
getAppPackageName(Context) - 类 中的静态方法com.smallcake.utils.AppUtils
获取当前应用程序的包名
getBitmapPath(String) - 类 中的静态方法com.smallcake.utils.BitmapUtils
路径获取图片转Bitmap
getBitmapRes(Context, int) - 类 中的静态方法com.smallcake.utils.BitmapUtils
从资源id中获取Bitmap
getCameraPath() - 类 中的静态方法com.smallcake.utils.SdUtils
相机存放图片路径
getDownloadPath() - 类 中的静态方法com.smallcake.utils.SdUtils
sd卡获取下载路径
getDrawableListByType(boolean, boolean, boolean, boolean) - 类 中的方法com.smallcake.utils.dialog.BottomMenuDialog
 
getMacAddress(Context) - 类 中的静态方法com.smallcake.utils.MobileUtils
TODO 4.获取设备的【WLAN】的MAC地址 需添加权限 <uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/> 需添加权限 <uses-permission android:name="android.permission.INTERNET"/>
getMillisecondTime() - 类 中的静态方法com.smallcake.utils.TimeUtils
当前毫秒级时间
getMobileFactoryName() - 类 中的静态方法com.smallcake.utils.MobileUtils
TODO 1.获取手机制造商名称
getMobileName() - 类 中的静态方法com.smallcake.utils.MobileUtils
TODO 2.手机的可见名称
getObject(Context, String) - 类 中的静态方法com.smallcake.utils.SPUtils
desc:读取保存的Object对象
getPseudoUnique() - 类 中的静态方法com.smallcake.utils.MobileUtils
更好的获取手机唯一标示码 API >=9即可,且不需要权限
getRootPath() - 类 中的静态方法com.smallcake.utils.SdUtils
sd卡获取根目录路径
getRootView(Activity) - 类 中的静态方法com.smallcake.utils.ActivityUtils
获取当前Activity的根节点
getScreenHeight(Context) - 类 中的静态方法com.smallcake.utils.ScreenUtils
获得屏幕高度
getScreenWidth(Context) - 类 中的静态方法com.smallcake.utils.ScreenUtils
获得屏幕宽度
getServiceName(Class<T>) - 类 中的静态方法com.smallcake.utils.ServiceUtils
 
getStatusHeight(Context) - 类 中的静态方法com.smallcake.utils.ScreenUtils
获取电量栏高度
getTime() - 类 中的静态方法com.smallcake.utils.TimeUtils
获取当前系统的时间戳
getTodayDate() - 类 中的静态方法com.smallcake.utils.TimeUtils
获取今天年月日
getVersionCode(Context) - 类 中的静态方法com.smallcake.utils.AppUtils
get int app version
getVersionName(Context) - 类 中的静态方法com.smallcake.utils.AppUtils
get string app version
getWhitShape(int, int, boolean, boolean, boolean, boolean) - 类 中的方法com.smallcake.utils.dialog.BottomMenuDialog
 
GoodView - com.smallcake.utils.popup中的类
点赞
GoodView(Context) - 类 的构造器com.smallcake.utils.popup.GoodView
 
gsonToList(String, Class<T>) - 类 中的静态方法com.smallcake.utils.GsonUtils
已过时。
GsonUtils - com.smallcake.utils中的类
MyApplication -- cq.cake.util Created by Small Cake on 2017/8/16 13:35.
GsonUtils() - 类 的构造器com.smallcake.utils.GsonUtils
 

I

i(String) - 类 中的静态方法com.smallcake.utils.L
 
i(String, String) - 类 中的静态方法com.smallcake.utils.L
 
iAll(String) - 类 中的静态方法com.smallcake.utils.L
logcat在实现上对于message的内存分配大概是4k左右,不能打印太多数据 所以此方法就是为了循环打印所有数据
IGoodView - com.smallcake.utils.popup中的接口
常量控制
isDebug - 类 中的静态变量com.smallcake.utils.L
 
isEmpty(EditText...) - 类 中的静态方法com.smallcake.utils.EditTextUtils
编辑框警告提示,例: if(EditTextUtils.isEmpty(etRname, etNo, etAddr))return;
isEmpty(Context, EditText...) - 类 中的静态方法com.smallcake.utils.EditTextUtils
验证多个输入栏未输入,提示为:("请填写" + 你xml设置的Hint字段)
isServiceRunning(Context, Class<T>) - 类 中的静态方法com.smallcake.utils.ServiceUtils
判断当前service是否还在运行 用于页面解除绑定前的判断,多次解绑将会异常

J

jsonToList(String, Class<T>) - 类 中的静态方法com.smallcake.utils.GsonUtils
转成list 解决泛型编译期类型被擦除的问题
jsonToListMaps(String) - 类 中的静态方法com.smallcake.utils.GsonUtils
转成list中有map的
jsonToMaps(String) - 类 中的静态方法com.smallcake.utils.GsonUtils
转成map的
jsonToObj(String, Class<T>) - 类 中的静态方法com.smallcake.utils.GsonUtils
直接返回Object

L

L - com.smallcake.utils中的类
Log统一管理类

M

makeDirs(String) - 类 中的静态方法com.smallcake.utils.FileUtils
创建文件夹,如果不存在的话
makeParentDirs(String, String) - 类 中的静态方法com.smallcake.utils.FileUtils
创建一个文件的上级目录,如果不存在的话
mBehavior - 类 中的变量com.smallcake.utils.dialog.BottomMenuDialog
 
MD5Utils - com.smallcake.utils中的类
MD5 Utils
MD5Utils() - 类 的构造器com.smallcake.utils.MD5Utils
 
MobileUtils - com.smallcake.utils中的类
MyApplication -- com.smallcake.utils Created by Small Cake on 2017/8/17 16:15.
MobileUtils() - 类 的构造器com.smallcake.utils.MobileUtils
 
MobileUtils.CommandResult - com.smallcake.utils中的类
返回的命令结果
MyCallBack(FingerprintUtil.OnCallBackListenr) - 类 的构造器com.smallcake.utils.FingerprintUtil.MyCallBack
 

O

onAttach(Context) - 类 中的方法com.smallcake.utils.dialog.BottomMenuDialog
 
onAuthenticationError(int, CharSequence) - 类 中的方法com.smallcake.utils.FingerprintUtil.MyCallBack
 
onAuthenticationFailed() - 类 中的方法com.smallcake.utils.FingerprintUtil.MyCallBack
 
onAuthenticationHelp(int, CharSequence) - 类 中的方法com.smallcake.utils.FingerprintUtil.MyCallBack
 
onAuthenticationSucceeded(FingerprintManagerCompat.AuthenticationResult) - 类 中的方法com.smallcake.utils.FingerprintUtil.MyCallBack
 
onClick(View) - 类 中的方法com.smallcake.utils.dialog.BottomMenuDialog
 
onCreateDialog(Bundle) - 类 中的方法com.smallcake.utils.dialog.BottomMenuDialog
 
onDestroy() - 类 中的方法com.smallcake.utils.dialog.BottomMenuDialog
 
onError(int, CharSequence) - 接口 中的方法com.smallcake.utils.FingerprintUtil.OnCallBackListenr
 
onFailed(CharSequence) - 接口 中的方法com.smallcake.utils.FingerprintUtil.OnCallBackListenr
 
onStart() - 类 中的方法com.smallcake.utils.dialog.BottomMenuDialog
 
onSucceeded(FingerprintManagerCompat.AuthenticationResult) - 接口 中的方法com.smallcake.utils.FingerprintUtil.OnCallBackListenr
 

P

printBitmapSize(Bitmap) - 类 中的静态方法com.smallcake.utils.BitmapUtils
打印获取的Bitmap大小和尺寸
put(Context, String, Object) - 类 中的静态方法com.smallcake.utils.SPUtils
保存数据的方法,我们需要拿到保存数据的具体类型,然后根据类型调用不同的保存方法
putObject(Context, String, Object) - 类 中的静态方法com.smallcake.utils.SPUtils
desc:保存对象
px2dp(Context, float) - 类 中的静态方法com.smallcake.utils.DpPxUtils
 

R

remove(Context, String) - 类 中的静态方法com.smallcake.utils.SPUtils
移除某个key值已经对应的值
removeActivity(Activity) - 类 中的静态方法com.smallcake.utils.ActivityCollector
 
REQUEST_CODE_CONFIRM_DEVICE_CREDENTIALS - 类 中的静态变量com.smallcake.utils.FingerprintUtil
 
reset() - 类 中的方法com.smallcake.utils.popup.GoodView
重置属性
result - 类 中的变量com.smallcake.utils.MobileUtils.CommandResult
结果码

S

saveBitmap(Bitmap, String) - 类 中的静态方法com.smallcake.utils.BitmapUtils
保存位图图像到指定的路径
ScreenUtils - com.smallcake.utils中的类
 
SdUtils - com.smallcake.utils中的类
MyApplication -- com.smallcake.utils Created by Small Cake on 2017/8/17 11:18.
SdUtils() - 类 的构造器com.smallcake.utils.SdUtils
 
ServiceUtils - com.smallcake.utils中的类
MyApplication -- com.smallcake.utils Created by Small Cake on 2017/8/30 17:43.
ServiceUtils() - 类 的构造器com.smallcake.utils.ServiceUtils
 
setAlpha(float, float) - 类 中的方法com.smallcake.utils.popup.GoodView
设置透明度属性
setDistance(int) - 类 中的方法com.smallcake.utils.popup.GoodView
设置移动距离
setDuration(int) - 类 中的方法com.smallcake.utils.popup.GoodView
设置动画时长
setImage(int) - 类 中的方法com.smallcake.utils.popup.GoodView
设置图片
setImage(Drawable) - 类 中的方法com.smallcake.utils.popup.GoodView
设置图片
setIsDebug(boolean) - 类 中的静态方法com.smallcake.utils.L
 
setKeyguardLockScreenManager(Context) - 类 中的静态方法com.smallcake.utils.FingerprintUtil
如果多次指纹解锁失败,调用此方法,跳转到【锁屏密码界面】
setRGB_565(Context, int) - 类 中的静态方法com.smallcake.utils.BitmapUtils
TODO 4.把图片设置为RGB_565,相比argb_8888减少了一半的内存开销,且长度和宽度不变
setRGB_565(String) - 类 中的静态方法com.smallcake.utils.BitmapUtils
 
setText(String) - 类 中的方法com.smallcake.utils.popup.GoodView
设置文本
setTextColor(int) - 类 中的方法com.smallcake.utils.dialog.BottomMenuDialog
 
setTextColor(int) - 类 中的方法com.smallcake.utils.popup.GoodView
设置文本颜色
setTextInfo(String, int, int) - 类 中的方法com.smallcake.utils.popup.GoodView
设置文本信息
setTextSize(int) - 类 中的方法com.smallcake.utils.dialog.BottomMenuDialog
 
setTextSize(int) - 类 中的方法com.smallcake.utils.popup.GoodView
设置文本大小
setTranslateY(int, int) - 类 中的方法com.smallcake.utils.popup.GoodView
设置Y轴移动属性
setTwoDecimalPlaces(EditText) - 类 中的静态方法com.smallcake.utils.EditTextUtils
设置EditText只能输入两位小数 48.88
setWindowBackgroundAlpha(Activity, float) - 类 中的静态方法com.smallcake.utils.ScreenUtils
设置屏幕透明度
show(FragmentManager) - 类 中的方法com.smallcake.utils.dialog.BottomMenuDialog
 
show(View) - 类 中的方法com.smallcake.utils.popup.GoodView
展示
showGravityLong(Context, Object, int) - 类 中的静态方法com.smallcake.utils.T
 
showGravityShort(Context, Object, int) - 类 中的静态方法com.smallcake.utils.T
 
showLong(Context, Object) - 类 中的静态方法com.smallcake.utils.T
 
showShort(Context, Object) - 类 中的静态方法com.smallcake.utils.T
 
snapShotWithoutStatusBar(Activity) - 类 中的静态方法com.smallcake.utils.ScreenUtils
前屏幕截图,不包含状态栏
snapShotWithStatusBar(Activity) - 类 中的静态方法com.smallcake.utils.ScreenUtils
屏幕截图,包含状态栏
SPUtils - com.smallcake.utils中的类
MyApplication -- cq.cake.util Created by Small Cake on 2016/7/13 10:38.
SPUtils() - 类 的构造器com.smallcake.utils.SPUtils
 
successMsg - 类 中的变量com.smallcake.utils.MobileUtils.CommandResult
成功信息

T

T - com.smallcake.utils中的类
接受三种类型的msg String ,int ,CharSequence
TAG - 类 中的静态变量com.smallcake.utils.dialog.BottomMenuDialog
 
TEXT - 接口 中的静态变量com.smallcake.utils.popup.IGoodView
 
TEXT_COLOR - 接口 中的静态变量com.smallcake.utils.popup.IGoodView
 
TEXT_SIZE - 接口 中的静态变量com.smallcake.utils.popup.IGoodView
 
TimeUtils - com.smallcake.utils中的类
 
TimeUtils() - 类 的构造器com.smallcake.utils.TimeUtils
 
TO_ALPHA - 接口 中的静态变量com.smallcake.utils.popup.IGoodView
 
TO_Y_DELTA - 接口 中的静态变量com.smallcake.utils.popup.IGoodView
 
tsToMs(int) - 类 中的静态方法com.smallcake.utils.TimeUtils
时间戳 转 String类型的精确到时分秒
tsToYMD(int) - 类 中的静态方法com.smallcake.utils.TimeUtils
时间戳 转 String类型的年月日

V

v(String) - 类 中的静态方法com.smallcake.utils.L
 
v(String, String) - 类 中的静态方法com.smallcake.utils.L
 
A B C D E F G I J L M O P R S T V 
跳过导航链接