Public 成员函数 | |
| AbNumberClock (Context context, Drawable timeBg, Drawable timeColon, List< Drawable > timeBmp, List< Drawable > apmBmp) | |
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 成员函数 | |
| boolean | get24HourMode () |
| void | onTimeChanged () |
| void | updateContentDescription (Time time) |
Private 属性 | |
| Time | mCalendar |
| Drawable | mTimeBg |
| Drawable | mTimeColon |
| List< Drawable > | dTimeBmp |
| List< Drawable > | dApmBmp |
| int | mTimeBgWidth |
| int | mTimeBgHeight |
| boolean | mAttached |
| final Handler | mHandler = new Handler() |
| String | mMinutes |
| String | mHour |
| String | mSecond |
| final BroadcastReceiver | mIntentReceiver |
© 2012 amsoft.cn 名称:AbNumberClock.java 描述:自定义数字时钟的view
|
inline |
Instantiates a new ab number clock.
| context | the context |
| timeBg | the time bg |
| timeColon | the time colon |
| timeBmp | the time bmp |
| apmBmp | the apm bmp |
|
inlineprivate |
Gets the 24 hour mode.
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprivate |
On time changed.
|
inlineprivate |
Update content description.
| time | the time |
|
private |
The d apm bmp.
|
private |
The d time bmp.
|
private |
The m attached.
|
private |
The m calendar.
|
private |
The m handler.
|
private |
The m hour.
|
private |
The m intent receiver.
|
private |
The m minutes.
|
private |
The m second.
|
private |
The m time bg.
|
private |
The m time bg height.
|
private |
The m time bg width.
|
private |
The m time colon.
1.8.8