public AnalogClock(android.content.Context context, android.util.AttributeSet attrs , int defStyle) : base(context, attrs, defStyle) { mIntentReceiver = new _BroadcastReceiver_236(this); android.content.res.Resources r = mContext.getResources(); android.content.res.TypedArray a = context.obtainStyledAttributes(attrs, [email protected] .styleable.AnalogClock, defStyle, 0); mDial = a.getDrawable([email protected]_dial); if (mDial == null) { mDial = r.getDrawable([email protected]_dial); } mHourHand = a.getDrawable([email protected]_hand_hour); if (mHourHand == null) { mHourHand = r.getDrawable([email protected]_hand_hour); } mMinuteHand = a.getDrawable([email protected]_hand_minute ); if (mMinuteHand == null) { mMinuteHand = r.getDrawable([email protected]_hand_minute); } mCalendar = new android.text.format.Time(); mDialWidth = mDial.getIntrinsicWidth(); mDialHeight = mDial.getIntrinsicHeight(); }
public AnalogClock(android.content.Context context, android.util.AttributeSet attrs ) : this(context, attrs, 0) { mIntentReceiver = new _BroadcastReceiver_236(this); }
public AnalogClock(android.content.Context context) : this(context, null) { mIntentReceiver = new _BroadcastReceiver_236(this); }