invalidate 无效
handle message 处理消息
focusable 焦点
Rect 矩形
mPaint.setAntiAlias(true);去消画笔的锯齿
mPaint2.setStyle(Paint.Style.STROKE);将画笔设置成空芯的
Thread.currentThread()返回当前线程
.isInterrupted()测试是否当前线程已被中断 中断返回true,否则返回false
总的说,这句就是无限判断当前线程状态,如果没有中断,就一直执行while内容。
handle message 处理消息
focusable 焦点
Rect 矩形
mPaint.setAntiAlias(true);去消画笔的锯齿
mPaint2.setStyle(Paint.Style.STROKE);将画笔设置成空芯的
Thread.currentThread()返回当前线程
.isInterrupted()测试是否当前线程已被中断 中断返回true,否则返回false
总的说,这句就是无限判断当前线程状态,如果没有中断,就一直执行while内容。