Home
last modified time | relevance | path

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

123456789

/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DLayersActivity.java58 mRectPaint.setColor(0xffff0000); in onDraw()
68 mRectPaint.setColor(0xff00ff00); in onDraw()
76 mRectPaint.setColor(0xff0000ff); in onDraw()
85 mRectPaint.setColor(0xffff0000); in onDraw()
92 mRectPaint.setColor(0xff0000ff); in onDraw()
96 mLayerPaint.setColor(0xffff0000); in onDraw()
102 mRectPaint.setColor(0xffff0000); in onDraw()
DTJunctionActivity.java49 mPaint.setColor(0xffff0000); in onDraw()
54 mPaint.setColor(0xff00ff00); in onDraw()
59 mPaint.setColor(0xff0000ff); in onDraw()
64 mPaint.setColor(0xffffffff); in onDraw()
DAlphaLayersActivity.java83 mPaint.setColor(0xffff0000); in dispatchDraw()
119 mPaint.setColor(0xff00ff00); in dispatchDraw()
122 mPaint.setColor(0xff0000ff); in dispatchDraw()
130 mPaint.setColor(0xff0000ff); in dispatchDraw()
132 mPaint.setColor(0xff00ffff); in dispatchDraw()
134 mPaint.setColor(0xffff00ff); in dispatchDraw()
DTextActivity.java50 mMediumPaint.setColor(0xffff0000); in CustomTextView()
73 mHugePaint.setColor(0xff000000); in CustomTextView()
118 mLargePaint.setColor(0x00ffff00); in onDraw()
121 mLargePaint.setColor(0x4dffffff); in onDraw()
124 mLargePaint.setColor(0xff000000); in onDraw()
DLinesActivity.java76 mSmallPaint.setColor(0xffff0000); in LinesView()
81 mMediumPaint.setColor(0xff0000ff); in LinesView()
86 mLargePaint.setColor(0xff00ff00); in LinesView()
91 mAlphaPaint.setColor(0x7fff0050); in LinesView()
96 mHairLinePaint.setColor(0xff0000ff); in LinesView()
DXfermodeActivity.java47 mBluePaint.setColor(0xff0000ff); in XfermodesView()
50 mRedPaint.setColor(0x7fff0000); in XfermodesView()
118 mBluePaint.setColor(0x7f0000ff); in onDraw()
121 mBluePaint.setColor(0xff0000ff); in onDraw()
DPathsActivity.java60 mSmallPaint.setColor(0xffff0000); in PathsView()
66 mLinePaint.setColor(0xffff00ff); in PathsView()
72 mMediumPaint.setColor(0xe00000ff); in PathsView()
78 mLargePaint.setColor(0x7f00ff00); in PathsView()
95 mBoundsPaint.setColor(0x4000ff00); in PathsView()
DClearActivity.java53 mClearPaint.setColor(0x0000ff00); in PathsView()
81 mClearPaint.setColor(0xff000000); in onDraw()
83 mClearPaint.setColor(0x0000ff00); in onDraw()
DScaledPathsActivity.java47 mPathPaint.setColor(0xff0000ff); in PathsView()
65 mPathPaint.setColor(0xff0000ff); in onDraw()
74 mPathPaint.setColor(0xffff0000); in onDraw()
DPathDestructionActivity.java85 strokePaint.setColor(getRandomColor()); in onDraw()
89 fillPaint.setColor(getRandomColor()); in onDraw()
93 fillAndStrokePaint.setColor(getRandomColor()); in onDraw()
DNewLayersActivity.java67 mRectPaint.setColor(0x7fff0000); in drawStuff()
70 mRectPaint.setColor(0xff000000); in drawStuff()
DShapesActivity.java53 mNormalPaint.setColor(0xff0000ff); in ShapesView()
59 mStrokePaint.setColor(0xff0000ff); in ShapesView()
65 mFillPaint.setColor(0xff0000ff); in ShapesView()
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/
DSimpleMonthView.java40 mMonthNumPaint.setColor(mDisabledDayTextColor); in drawMonthDay()
42 mMonthNumPaint.setColor(mTodayNumberColor); in drawMonthDay()
44 mMonthNumPaint.setColor(mDayTextColor); in drawMonthDay()
/frameworks/compile/mclinker/tools/mcld/lib/
DPreferenceOptions.cpp146 pConfig.options().setColor(false); in parse()
149 pConfig.options().setColor(true); in parse()
154 pConfig.options().setColor(color_option); in parse()
158 mcld::outs().setColor(pConfig.options().color()); in parse()
159 mcld::errs().setColor(pConfig.options().color()); in parse()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DDataUsageGraph.java80 p.setColor(mOverlimitColor); in onDraw()
85 p.setColor(mTrackColor); in onDraw()
91 p.setColor(mUsageColor); in onDraw()
98 p.setColor(mWarningColor); in onDraw()
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/
DLightBase.java50 public void setColor(float r, float g, float b) { in setColor() method in LightBase
57 public void setColor(Float3 c) { in setColor() method in LightBase
58 setColor(c.x, c.y, c.z); in setColor()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
DTaskViewHeader.java117 sHighlightPaint.setColor(mConfig.taskBarViewHighlightColor); in TaskViewHeader()
151 mBackground.setColor(ColorStateList.valueOf(0)); in onFinishInflate()
178 mDimColorFilter.setColor(Color.argb(alpha, 0, 0, 0)); in setDimAlpha()
206 mBackgroundColorDrawable.setColor(t.colorPrimary); in rebindToTask()
300 mBackground.setColor(new ColorStateList(states, colors)); in onTaskViewFocusChanged()
317 mBackgroundColorDrawable.setColor(color); in onTaskViewFocusChanged()
343 mBackgroundColorDrawable.setColor(color); in onTaskViewFocusChanged()
/frameworks/support/v7/cardview/api21/android/support/v7/widget/
DRoundRectDrawable.java48 mPaint.setColor(backgroundColor); in RoundRectDrawable()
128 public void setColor(int color) { in setColor() method in RoundRectDrawable
129 mPaint.setColor(color); in setColor()
/frameworks/base/core/java/android/widget/
DSimpleMonthView.java201 mMonthTitlePaint.setColor(mNormalTextColor); in setTextColor()
202 mMonthDayLabelPaint.setColor(mNormalTextColor); in setTextColor()
206 mDayNumberDisabledPaint.setColor(mDisabledTextColor); in setTextColor()
210 mDayNumberSelectedPaint.setColor(mSelectedDayColor); in setTextColor()
255 mMonthTitlePaint.setColor(mNormalTextColor); in initView()
264 mMonthDayLabelPaint.setColor(mNormalTextColor); in initView()
273 mDayNumberSelectedPaint.setColor(mSelectedDayColor); in initView()
288 mDayNumberDisabledPaint.setColor(mDisabledTextColor); in initView()
474 mDayNumberPaint.setColor(mSelectedDayColor); in drawDays()
476 mDayNumberPaint.setColor(mNormalTextColor); in drawDays()
/frameworks/base/core/tests/coretests/src/android/util/
DInternalSelectionView.java85 mTextPaint.setColor(Color.WHITE); in init()
151 mPainter.setColor(Color.BLACK); in onDraw()
162 mPainter.setColor(Color.RED); in onDraw()
166 mPainter.setColor(Color.BLACK); in onDraw()
/frameworks/support/v4/java/android/support/v4/view/
DPagerTabStrip.java85 mTabPaint.setColor(mIndicatorColor); in PagerTabStrip()
132 mTabPaint.setColor(mIndicatorColor); in setTabIndicatorColor()
267 mTabPaint.setColor(mTabAlpha << 24 | (mIndicatorColor & 0xFFFFFF)); in onDraw()
271 mTabPaint.setColor(0xFF << 24 | (mIndicatorColor & 0xFFFFFF)); in onDraw()
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/
DStyledCornersBitmapDrawable.java81 mFlapPaint.setColor(Color.TRANSPARENT); in StyledCornersBitmapDrawable()
85 mBorderPaint.setColor(Color.TRANSPARENT); in StyledCornersBitmapDrawable()
90 mCompatibilityModeBackgroundPaint.setColor(Color.TRANSPARENT); in StyledCornersBitmapDrawable()
115 mBorderPaint.setColor(color); in setBorderColor()
153 mFlapPaint.setColor(flapColor); in setFlapColor()
202 mCompatibilityModeBackgroundPaint.setColor(color); in setCompatibilityModeBackgroundColor()
/frameworks/opt/colorpicker/src/com/android/colorpicker/
DColorPickerSwatch.java55 setColor(color); in ColorPickerSwatch()
60 protected void setColor(int color) { in setColor() method in ColorPickerSwatch
/frameworks/base/core/java/android/text/style/
DQuoteSpan.java74 p.setColor(mColor); in drawLeadingMargin()
79 p.setColor(color); in drawLeadingMargin()
/frameworks/base/libs/hwui/
DDrawProfiler.cpp132 paint.setColor(0x7fff0000); in draw()
192 paint.setColor(ELEMENT_COLORS[i]); in drawGraph()
202 paint.setColor(CURRENT_FRAME_COLOR); in drawCurrentFrame()
210 paint.setColor(THRESHOLD_COLOR); in drawThreshold()

123456789