系统资源路径
public final class AssetManager implements AutoCloseable {
private static final String FRAMEWORK_APK_PATH = "/system/framework/framework-res.apk";
ViewConfiguration的API一般用在自定义view中。
根据某些操作,比对超时时间,判断是双击、单击、长按?
或比对某些情况下的尺寸与距离
两次点击之间的时间值小于等于getDoubleTapTimeout(),就表示是一个双击操作(注:还有距离的限制)
static int getDoubleTapTimeout()
返回一个 双击的毫秒超时时间。
它在第一次点击的up事件开始记录,在第二次点击的down事件停止。
长按超时毫秒时间。超出它,表示长按
static int getLongPressTimeout()
View的最大绘图缓存,以字节表示
int getScaledMaximumDrawingCacheSize()
---->限制的作用是啥
int getScaledMaximumFlingVelocity()
返回一个表示飞速滑动的最大初始速率值。单位是 像素/秒int getScaledMinimumFlingVelocity()
返回一个表示飞速滑动的最小初始速率值。单位是 像素/秒