Public 成员函数 | |
| AbAnalogClock (Context context, Drawable dial, Drawable hourHand, Drawable minuteHand, Drawable secondHand) | |
Protected 成员函数 | |
| void | onAttachedToWindow () |
| void | onDetachedFromWindow () |
| void | onMeasure (int widthMeasureSpec, int heightMeasureSpec) |
| void | onSizeChanged (int w, int h, int oldw, int oldh) |
| void | onDraw (Canvas canvas) |
Private 成员函数 | |
| void | onTimeChanged () |
| void | updateContentDescription (Time time) |
Private 属性 | |
| Time | mCalendar |
| Drawable | mHourHand |
| Drawable | mMinuteHand |
| Drawable | mSecondHand |
| Drawable | mDial |
| int | mDialWidth |
| int | mDialHeight |
| boolean | mAttached |
| float | mMinutes |
| float | mHour |
| float | mSecond |
| final Handler | mHandler = new Handler() |
| boolean | mChanged |
| final BroadcastReceiver | mIntentReceiver |
© 2012 amsoft.cn 名称:AbAnalogClock.java 描述:自定义模拟时钟
|
inline |
Instantiates a new ab analog clock.
| context | the context |
| dial | the dial |
| hourHand | the hour hand |
| minuteHand | the minute hand |
| secondHand | the second hand |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprivate |
On time changed.
|
inlineprivate |
Update content description.
| time | the time |
|
private |
The m attached.
|
private |
The m calendar.
|
private |
The m changed.
|
private |
The m dial.
|
private |
The m dial height.
|
private |
The m dial width.
|
private |
The m handler.
|
private |
The m hour.
|
private |
The m hour hand.
|
private |
The m intent receiver.
|
private |
The m minute hand.
|
private |
The m minutes.
|
private |
The m second.
|
private |
The m second hand.
1.8.8