Home
last modified time | relevance | path

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

12345678910>>...14

/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()
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()
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()
DDrawIntoHwBitmapActivity.java42 p.setColor(Color.BLACK); in createBitmap()
45 p.setColor(0xFFBBDEFB); in createBitmap()
47 p.setColor(Color.BLACK); in createBitmap()
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()
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.java89 strokePaint.setColor(getRandomColor()); in onDraw()
93 fillPaint.setColor(getRandomColor()); in onDraw()
97 fillAndStrokePaint.setColor(getRandomColor()); in onDraw()
DPixelCopyWindow.java57 mPaint.setColor(Color.BLUE); in onCreate()
60 mPaint.setColor(Color.RED); in onCreate()
62 mPaint.setColor(Color.GREEN); in onCreate()
/frameworks/native/libs/gui/tests/
DSamplingDemo.cpp53 .setColor(mButton, half3{1, 1, 1}) in Button()
67 .setColor(mButtonBlend, half3{1, 1, 1}) in Button()
82 .setColor(mSamplingArea, half3{0, 1, 0}) in Button()
96 void setColor(float color) { in setColor() function in android::Button
99 .setColor(mButton, half3{complement, complement, complement}) in setColor()
100 .setColor(mButtonBlend, half3{color, color, color}) in setColor()
106 setColor(medianLuma); in onSampleCollected()
/frameworks/base/libs/hwui/tests/common/scenes/
DListViewAnimation.cpp43 paint.setColor(randomColor); in createRandomCharIcon()
49 paint.setColor(bgDark ? Color::White : Color::Grey_700); in createRandomCharIcon()
70 paint.setColor(filled ? Color::Yellow_500 : Color::Grey_700); in createBoxBitmap()
84 roundRectPaint.setColor(Color::White); in createListItem()
88 textPaint.setColor(rand() % 2 ? Color::Black : Color::Grey_500); in createListItem()
DHwBitmap565.cpp38 skPaint.setColor(Color::Red_500); in createContent()
40 skPaint.setColor(Color::Blue_500); in createContent()
DTextAnimation.cpp36 paint.setColor(Color::Black); in createContent()
44 paint.setColor(Color::Blue_500); in createContent()
/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/tests/JankBench/app/src/main/java/com/android/benchmark/app/
DPerfTimeline.java90 mPaintBaseLow.setColor(0xff000000); in init()
94 mPaintBaseHigh.setColor(0x7f7f7f7f); in init()
98 mPaintValue.setColor(0x7fff0000); in init()
104 mTextPaint.setColor(mExampleColor); in invalidateTextPaintAndMeasurements()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DDataUsageGraph.java83 p.setColor(mOverlimitColor); in onDraw()
88 p.setColor(mTrackColor); in onDraw()
94 p.setColor(mUsageColor); in onDraw()
101 p.setColor(mWarningColor); in onDraw()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DSysUiOverlay.java81 mCornerPaint.setColor(Color.BLACK); in SysUiOverlay()
86 mNotchPaint.setColor(Color.BLACK); in SysUiOverlay()
92 mCornerPaint.setColor(color); in setCornerColor()
96 mNotchPaint.setColor(color); in setNotchColor()
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/ui/
DInvocationLightsView.java182 mAssistInvocationLights.get(0).setColor(color1); in setColors()
183 mAssistInvocationLights.get(1).setColor(color2); in setColors()
184 mAssistInvocationLights.get(2).setColor(color3); in setColors()
185 mAssistInvocationLights.get(3).setColor(color4); in setColors()
266 light.setColor(invocationColor); in updateDarkness()
274 mPaint.setColor(light.getColor()); in renderLight()
/frameworks/base/core/tests/coretests/src/android/util/
DInternalSelectionView.java82 mTextPaint.setColor(Color.WHITE); in init()
148 mPainter.setColor(Color.BLACK); in onDraw()
159 mPainter.setColor(Color.RED); in onDraw()
163 mPainter.setColor(Color.BLACK); in onDraw()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/template/
DColoredHeaderMixin.java46 setColor(headerColor); in ColoredHeaderMixin()
58 public void setColor(ColorStateList color) { in setColor() method in ColoredHeaderMixin
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/
DBatteryMeterDrawableBase.java130 mFramePaint.setColor(frameColor); in BatteryMeterDrawableBase()
150 mWarningTextPaint.setColor(mColors[1]); in BatteryMeterDrawableBase()
156 mBoltPaint.setColor(Utils.getColorStateListDefaultColor(mContext, in BatteryMeterDrawableBase()
161 mPlusPaint.setColor(Utils.getColorStateListDefaultColor(mContext, in BatteryMeterDrawableBase()
166 mPowersavePaint.setColor(mPlusPaint.getColor()); in BatteryMeterDrawableBase()
299 mFramePaint.setColor(backgroundColor); in setColors()
300 mBoltPaint.setColor(fillColor); in setColors()
340 mBatteryPaint.setColor(batteryColorForLevel(level)); in draw()
432 mTextPaint.setColor(getColorForLevel(level)); in draw()
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/
DTaskViewThumbnail.java115 mBgFillPaint.setColor(Color.WHITE); in TaskViewThumbnail()
116 mLockedPaint.setColor(Color.WHITE); in TaskViewThumbnail()
228 mDrawPaint.setColor(0xFFffffff); in updateThumbnailPaintFilter()
235 mDrawPaint.setColor(Color.argb(255, grey, grey, grey)); in updateThumbnailPaintFilter()
352 mBgFillPaint.setColor(t.colorBackground); in bindToTask()
355 mLockedPaint.setColor(t.colorPrimary); in bindToTask()

12345678910>>...14