Home
last modified time | relevance | path

Searched refs:setColor (Results 1 – 25 of 275) sorted by relevance

1234567891011

/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/colorpicker/
DColorPickerDialog.java70 cl.setColor(mHSVO); in ColorPickerDialog()
82 c[i].setColor(hsvo); in ColorPickerDialog()
93 public void setColor(float[] hsvo) { in ColorPickerDialog()
130 cwv.setColor(hsv); in toggleClick()
131 cvv.setColor(hsv); in toggleClick()
132 csv.setColor(hsv); in toggleClick()
139 public void setColor(float[] hsvo) { in setColor() method in ColorPickerDialog
140 mColorOpacityView.setColor(hsvo); in setColor()
141 mColorHueView.setColor(hsvo); in setColor()
142 mColorSVRectView.setColor(hsvo); in setColor()
[all …]
DColorCompareView.java121 mBarPaint1.setColor(color); in updatePaint()
123 mOrigBarPaint1.setColor(origColor); in updatePaint()
150 mOrigBarPaint1.setColor(color2); in setOrigColor()
155 public void setColor(float[] hsv) { in setColor() method in ColorCompareView
165 l.setColor(hsvo); in notifyColorListeners()
DColorValueView.java69 mDotPaint.setColor(ctx.getResources().getColor(R.color.slider_dot_color)); in ColorValueView()
74 mLinePaint1.setColor(Color.GRAY); in ColorValueView()
77 mLinePaint2.setColor(mSliderColor); in ColorValueView()
157 public void setColor(float[] hsvo) { in setColor() method in ColorValueView
169 l.setColor(hsv); in notifyColorListeners()
DColorSaturationView.java74 mDotPaint.setColor(ctx.getResources().getColor(R.color.slider_dot_color)); in ColorSaturationView()
80 mLinePaint1.setColor(Color.GRAY); in ColorSaturationView()
82 mLinePaint2.setColor(mSliderColor); in ColorSaturationView()
179 public void setColor(float[] hsv) { in setColor() method in ColorSaturationView
191 l.setColor(hsvo); in notifyColorListeners()
DColorOpacityView.java74 mDotPaint.setColor(res.getColor(R.color.slider_dot_color)); in ColorOpacityView()
80 mLinePaint1.setColor(Color.GRAY); in ColorOpacityView()
82 mLinePaint2.setColor(mSliderColor); in ColorOpacityView()
180 public void setColor(float[] hsv) { in setColor() method in ColorOpacityView
192 l.setColor(hsvo); in notifyColorListeners()
DColorBrightnessView.java74 mDotPaint.setColor(ctx.getResources().getColor(R.color.slider_dot_color)); in ColorBrightnessView()
80 mLinePaint1.setColor(Color.GRAY); in ColorBrightnessView()
82 mLinePaint2.setColor(mSliderColor); in ColorBrightnessView()
180 public void setColor(float[] hsv) { in setColor() method in ColorBrightnessView
192 l.setColor(hsvo); in notifyColorListeners()
DColorGridDialog.java55 mCallback.setColor(c); in ColorGridDialog()
59 sd.setColor(c); in ColorGridDialog()
89 public void setColor(float[] hsvo) { in showColorPicker()
93 mCallback.setColor(c); in showColorPicker()
DColorHueView.java74 mDotPaint.setColor(ctx.getResources().getColor(R.color.slider_dot_color)); in ColorHueView()
79 mLinePaint1.setColor(Color.GRAY); in ColorHueView()
81 mLinePaint2.setColor(mSliderColor); in ColorHueView()
203 public void setColor(float[] hsv) { in setColor() method in ColorHueView
214 l.setColor(hsvo); in notifyColorListeners()
DColorSVRectView.java75 mDotPaint.setColor(0x646464); in ColorSVRectView()
78 mDotPaint.setColor(ctx.getResources().getColor(R.color.slider_dot_color)); in ColorSVRectView()
200 public void setColor(float[] hsvo) { in setColor() method in ColorSVRectView
221 l.setColor(hsv); in notifyColorListeners()
/packages/apps/Calendar/src/com/android/calendar/month/
DMonthWeekEventsView.java402 mMonthNumPaint.setColor(mMonthNumColor); in initView()
414 mEventPaint.setColor(mMonthEventColor); in initView()
417 mSolidBackgroundEventPaint.setColor(EVENT_TEXT_COLOR); in initView()
424 mDeclinedEventPaint.setColor(mMonthDeclinedEventColor); in initView()
434 mEventExtrasPaint.setColor(mMonthEventExtraColor); in initView()
446 mEventDeclinedExtrasPaint.setColor(mMonthDeclinedExtrasColor); in initView()
454 mWeekNumPaint.setColor(mWeekNumColor); in initView()
462 mDNATimePaint.setColor(mMonthBusyBitsBusyTimeColor); in initView()
466 mDNAAllDayPaint.setColor(mMonthBusyBitsConflictTimeColor); in initView()
568 p.setColor(mTodayAnimateColor | (mAnimateTodayAlpha << 24)); in drawToday()
[all …]
DSimpleWeekView.java328 mMonthNumPaint.setColor(mFocusMonthColor); in initView()
408 p.setColor(mSelectedWeekBGColor); in drawBackground()
440 p.setColor(mWeekNumColor); in drawWeekNums()
447 mMonthNumPaint.setColor(isFocusMonth ? mFocusMonthColor : mOtherMonthColor); in drawWeekNums()
452 mMonthNumPaint.setColor(isFocusMonth ? mFocusMonthColor : mOtherMonthColor); in drawWeekNums()
481 p.setColor(mTodayOutlineColor); in drawDaySeparators()
485 p.setColor(mDaySeparatorColor); in drawDaySeparators()
/packages/apps/DevCamera/src/com/android/devcamera/
DPreviewOverlay.java56 mPaint.setColor(mColor); in PreviewOverlay()
171 mPaint2.setColor(0x33FFFFFF); in onDraw()
177 mPaint2.setColor(0xFF000000); in onDraw()
179 mPaint2.setColor(0xFFDDDDDD); in onDraw()
187 mPaint2.setColor(0x990000FF); in onDraw()
190 mPaint2.setColor(0x99FF0000); in onDraw()
194 mPaint2.setColor(0x9999FF99); in onDraw()
198 mPaint2.setColor(0x99FFFFFF); in onDraw()
202 mPaint.setColor(0xFFFFFFFF); in onDraw()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/editors/
DEditorDrawTabletUI.java183 sd.setColor(mBasColors[i]); in EditorDrawTabletUI()
201 mHueView.setColor(hsvo); in EditorDrawTabletUI()
202 mSatValView.setColor(hsvo); in EditorDrawTabletUI()
203 mOpacityView.setColor(hsvo); in EditorDrawTabletUI()
204 mColorCompareView.setColor(hsvo); in EditorDrawTabletUI()
222 colorViews[i].setColor(hsvo); in EditorDrawTabletUI()
234 public void setColor(float[] hsvo) { in EditorDrawTabletUI()
241 sd.setColor(color); in EditorDrawTabletUI()
274 sd.setColor(mBasColors[i]); in resetBorders()
DEditorColorBorderTabletUI.java176 sd.setColor(mBasColors[i]); in setupColor()
192 mHueView.setColor(hsvo); in setupColor()
193 mSatValView.setColor(hsvo); in setupColor()
194 mOpacityView.setColor(hsvo); in setupColor()
212 colorViews[i].setColor(hsvo); in setupColor()
223 public void setColor(float[] hsvo) { in setupColor()
230 sd.setColor(color); in setupColor()
251 sd.setColor(mBasColors[i]); in resetBorders()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/notification/
DNotificationFragment.java140 .setColor(mContext.getColor(android.R.color.holo_orange_dark)) in initCarCategoriesButton()
153 .setColor(mContext.getColor(android.R.color.holo_orange_light)) in initCarCategoriesButton()
184 .setColor(mContext.getColor(android.R.color.holo_red_light)) in initImportanceHighBotton()
293 .setColor(mContext.getColor(android.R.color.holo_green_light)) in initMessagingStyleButton()
328 .setColor(mContext.getColor(android.R.color.holo_green_light)) in initTestMessagesButton()
375 .setColor(mContext.getColor(android.R.color.holo_purple)) in initProgressButton()
392 .setColor(mContext.getColor(android.R.color.holo_purple)) in initProgressButton()
422 .setColor(mContext.getColor(android.R.color.holo_green_dark)) in initNavigationButton()
451 .setColor(mContext.getColor(android.R.color.holo_green_dark)) in initNavigationButton()
477 .setColor(mContext.getColor(android.R.color.holo_orange_dark)) in initMediaButton()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/controller/
DColorChooser.java72 sd.setColor(palette[i]); in setUp()
103 sd.setColor(palette[i]); in setColorSet()
117 sd.setColor(palette[i]); in resetBorders()
153 sd.setColor(c); in changeSelectedColor()
164 public void setColor(float[] hsvo) { in showColorPicker()
173 cpd.setColor(Arrays.copyOf(c, 4)); in showColorPicker()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DDonutView.java100 mBackgroundCircle.setColor(mMeterBackgroundColor); in DonutView()
107 mFilledArc.setColor(mMeterConsumedColor); in DonutView()
125 mTextPaint.setColor(Utils.getColorAccentDefaultColor(getContext())); in DonutView()
133 mBigNumberPaint.setColor(Utils.getColorAccentDefaultColor(getContext())); in DonutView()
222 mBackgroundCircle.setColor(meterBackgroundColor); in setMeterBackgroundColor()
233 mFilledArc.setColor(meterConsumedColor); in setMeterConsumedColor()
/packages/apps/Settings/src/com/android/settings/widget/
DDonutView.java100 mBackgroundCircle.setColor(mMeterBackgroundColor); in DonutView()
107 mFilledArc.setColor(mMeterConsumedColor); in DonutView()
125 mTextPaint.setColor(Utils.getColorAccentDefaultColor(getContext())); in DonutView()
133 mBigNumberPaint.setColor(Utils.getColorAccentDefaultColor(getContext())); in DonutView()
222 mBackgroundCircle.setColor(meterBackgroundColor); in setMeterBackgroundColor()
233 mFilledArc.setColor(meterConsumedColor); in setMeterConsumedColor()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/state/
DStateView.java117 mPaint.setColor(mSelectedTextColor); in drawText()
119 mPaint.setColor(mTextColor); in drawText()
122 mPaint.setColor(mEndsTextColor); in drawText()
157 mPaint.setColor(mSelectedBackgroundColor); in onDraw()
159 mPaint.setColor(mBackgroundColor); in onDraw()
162 mPaint.setColor(mEndsBackgroundColor); in onDraw()
/packages/apps/DeskClock/src/com/android/deskclock/timer/
DTimerCircleView.java81 mFill.setColor(mCompletedColor); in TimerCircleView()
104 mPaint.setColor(mRemainderColor); in onDraw()
116 mPaint.setColor(mCompletedColor); in onDraw()
136 mPaint.setColor(mCompletedColor); in onDraw()
/packages/apps/Camera2/src/com/android/camera/ui/
DTouchCircleDrawable.java83 mBackgroundPaint.setColor(resources.getColor(R.color.mode_icon_hover_highlight)); in TouchCircleDrawable()
85 setColor(color); in TouchCircleDrawable()
163 public void setColor(int color) { in setColor() method in TouchCircleDrawable
165 mColorPaint.setColor(mColor); in setColor()
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/
DStopwatchCircleView.java91 mFill.setColor(mCompletedColor); in StopwatchCircleView()
110 mPaint.setColor(mRemainderColor); in onDraw()
144 mPaint.setColor(mCompletedColor); in onDraw()
149 mPaint.setColor(mRemainderColor); in onDraw()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
DImageRedEye.java99 paint.setColor(Color.RED); in onDraw()
102 paint.setColor(Color.RED); in onDraw()
117 paint.setColor(Color.BLUE); in drawPoint()
123 paint.setColor(Color.GREEN); in drawPoint()
DImageDraw.java85 mBorderPaint.setColor(mBorderColor); in setupConstants()
89 mShadowPaint.setColor(Color.BLACK); in setupConstants()
117 public void setColor(int color) { in setColor() method in ImageDraw
273 mIconPaint.setColor(Color.BLACK); in drawLook()
276 mIconPaint.setColor(Color.WHITE); in drawLook()
/packages/apps/DeskClock/src/com/android/deskclock/alarms/
DAlarmNotifications.java94 .setColor(ContextCompat.getColor(context, R.color.default_background)) in showLowPriorityNotification()
142 .setColor(ContextCompat.getColor(context, R.color.default_background)) in showHighPriorityNotification()
249 .setColor(ContextCompat.getColor(context, R.color.default_background)) in updateUpcomingAlarmGroupNotification()
283 .setColor(ContextCompat.getColor(context, R.color.default_background)) in updateMissedAlarmGroupNotification()
305 .setColor(ContextCompat.getColor(context, R.color.default_background)) in showSnoozeNotification()
349 .setColor(ContextCompat.getColor(context, R.color.default_background)) in showMissedNotification()
390 .setColor(ContextCompat.getColor(service, R.color.default_background)) in showAlarmNotification()

1234567891011