Home
last modified time | relevance | path

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

12345678910>>...12

/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()
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()
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()
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()
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()
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()
DScaledPathsActivity.java47 mPathPaint.setColor(0xff0000ff); in PathsView()
65 mPathPaint.setColor(0xff0000ff); in onDraw()
74 mPathPaint.setColor(0xffff0000); in onDraw()
DClearActivity.java53 mClearPaint.setColor(0x0000ff00); in PathsView()
81 mClearPaint.setColor(0xff000000); in onDraw()
83 mClearPaint.setColor(0x0000ff00); 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/base/packages/SystemUI/src/com/android/systemui/qs/
DDataUsageGraph.java81 p.setColor(mOverlimitColor); in onDraw()
86 p.setColor(mTrackColor); in onDraw()
92 p.setColor(mUsageColor); in onDraw()
99 p.setColor(mWarningColor); in onDraw()
/frameworks/base/libs/hwui/tests/common/scenes/
DListViewAnimation.cpp91 paint.setColor(randomColor); in createRandomCharIcon()
96 paint.setColor(bgDark ? Color::White : Color::Grey_700); in createRandomCharIcon()
113 paint.setColor(filled ? Color::Yellow_500 : Color::Grey_700); in createBoxBitmap()
129 roundRectPaint.setColor(Color::White); in createCard()
134 textPaint.setColor(rand() % 2 ? Color::Black : Color::Grey_500); in createCard()
DTextAnimation.cpp40 paint.setColor(Color::Black); in createContent()
48 paint.setColor(Color::Blue_500); in createContent()
/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/base/tests/TouchLatency/app/src/main/java/com/prefabulated/touchlatency/
DTouchLatencyActivity.java48 mBluePaint.setColor(0xFF0000FF); in TouchLatencyView()
51 mGreenPaint.setColor(0xFF00FF00); in TouchLatencyView()
54 mYellowPaint.setColor(0xFFFFFF00); in TouchLatencyView()
57 mRedPaint.setColor(0xFFFF0000); in TouchLatencyView()
/frameworks/support/core-ui/java/android/support/v4/view/
DPagerTabStrip.java87 mTabPaint.setColor(mIndicatorColor); in PagerTabStrip()
134 mTabPaint.setColor(mIndicatorColor); in setTabIndicatorColor()
270 mTabPaint.setColor(mTabAlpha << 24 | (mIndicatorColor & 0xFFFFFF)); in onDraw()
274 mTabPaint.setColor(0xFF << 24 | (mIndicatorColor & 0xFFFFFF)); in onDraw()
/frameworks/opt/setupwizard/library/full-support/test/src/com/android/setupwizardlib/test/
DDividerItemDecorationTest.java67 paint.setColor(Color.RED); in testShouldDrawDividerBelowWithEitherCondition()
82 paint.setColor(Color.TRANSPARENT); in testShouldDrawDividerBelowWithEitherCondition()
107 paint.setColor(Color.GREEN); in testShouldDrawDividerBelowWithBothCondition()
119 paint.setColor(Color.TRANSPARENT); in testShouldDrawDividerBelowWithBothCondition()
/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.java86 p.setColor(mColor); in drawLeadingMargin()
91 p.setColor(color); in drawLeadingMargin()
/frameworks/base/libs/hwui/
DFrameInfoVisualizer.cpp102 paint.setColor(0x7fff0000); in draw()
205 paint.setColor(Bar[i].color & BAR_FAST_MASK); in drawGraph()
207 paint.setColor(Bar[i].color & BAR_JANKY_MASK); in drawGraph()
214 paint.setColor(THRESHOLD_COLOR); in drawThreshold()
/frameworks/base/tests/WallpaperTest/src/com/example/wallpapertest/
DTestWallpaper.java109 tpaint.setColor(TEXT_COLOR); in onCreate()
212 paint.setColor(OUTER_COLOR); in drawFrame()
215 paint.setColor(INNER_COLOR); in drawFrame()
219 mStrokePaint.setColor(STABLE_COLOR); in drawFrame()
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/
DStyledCornersBitmapDrawable.java91 mFlapPaint.setColor(Color.TRANSPARENT); in StyledCornersBitmapDrawable()
95 mBorderPaint.setColor(Color.TRANSPARENT); in StyledCornersBitmapDrawable()
100 mCompatibilityModeBackgroundPaint.setColor(Color.TRANSPARENT); in StyledCornersBitmapDrawable()
125 mBorderPaint.setColor(color); in setBorderColor()
160 mFlapPaint.setColor(flapColor); in setFlapColor()
209 mCompatibilityModeBackgroundPaint.setColor(color); in setCompatibilityModeBackgroundColor()

12345678910>>...12