internal ColorPickerView(ColorPickerDialog outerInstance, Context c, OnColorChangedListener l, int color) : base(c) { this.outerInstance = outerInstance; mListener = l; mColors = new int[] { unchecked ((int)0xFFFF0000), unchecked ((int)0xFFFF00FF), unchecked ((int)0xFF0000FF), unchecked ((int)0xFF00FFFF), unchecked ((int)0xFF00FF00), unchecked ((int)0xFFFFFF00), unchecked ((int)0xFFFF0000) }; Shader s = new SweepGradient(0, 0, mColors, null); mPaint = new Paint(Paint.ANTI_ALIAS_FLAG); mPaint.Shader = s; mPaint.Style = Paint.Style.STROKE; mPaint.StrokeWidth = 32; mCenterPaint = new Paint(Paint.ANTI_ALIAS_FLAG); mCenterPaint.Color = color; mCenterPaint.StrokeWidth = 5; }
public OnColorChangedListenerAnonymousInnerClassHelper(ColorPickerDialog outerInstance) { this.outerInstance = outerInstance; }
internal ColorPickerView(ColorPickerDialog outerInstance, Context c, OnColorChangedListener l, int color) : base(c) { this.outerInstance = outerInstance; mListener = l; mColors = new int[]{unchecked((int)0xFFFF0000), unchecked((int)0xFFFF00FF), unchecked((int)0xFF0000FF), unchecked((int)0xFF00FFFF), unchecked((int)0xFF00FF00), unchecked((int)0xFFFFFF00), unchecked((int)0xFFFF0000)}; Shader s = new SweepGradient(0, 0, mColors, null); mPaint = new Paint(Paint.ANTI_ALIAS_FLAG); mPaint.Shader = s; mPaint.Style = Paint.Style.STROKE; mPaint.StrokeWidth = 32; mCenterPaint = new Paint(Paint.ANTI_ALIAS_FLAG); mCenterPaint.Color = color; mCenterPaint.StrokeWidth = 5; }
public OnColorChangedListenerAnonymousInnerClassHelper(ColorPickerDialog outerInstance) { this.outerInstance = outerInstance; }