()
| 26 | } |
| 27 | |
| 28 | public void initAll() { |
| 29 | |
| 30 | initPaint(); |
| 31 | |
| 32 | initPath(); |
| 33 | |
| 34 | initListener(); |
| 35 | |
| 36 | initHandler(); |
| 37 | |
| 38 | initAnimator(); |
| 39 | |
| 40 | // 进入开始动画 |
| 41 | mCurrentState = State.STARTING; |
| 42 | mStartingAnimator.start(); |
| 43 | |
| 44 | } |
| 45 | |
| 46 | // 这个视图拥有的状态 |
| 47 | public static enum State { |
no test coverage detected