/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | LayersActivity.java | 58 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()
|
D | TJunctionActivity.java | 49 mPaint.setColor(0xffff0000); in onDraw() 54 mPaint.setColor(0xff00ff00); in onDraw() 59 mPaint.setColor(0xff0000ff); in onDraw() 64 mPaint.setColor(0xffffffff); in onDraw()
|
D | AlphaLayersActivity.java | 83 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()
|
D | LinesActivity.java | 76 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()
|
D | TextActivity.java | 50 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()
|
D | PathsActivity.java | 60 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()
|
D | XfermodeActivity.java | 47 mBluePaint.setColor(0xff0000ff); in XfermodesView() 50 mRedPaint.setColor(0x7fff0000); in XfermodesView() 118 mBluePaint.setColor(0x7f0000ff); in onDraw() 121 mBluePaint.setColor(0xff0000ff); in onDraw()
|
D | DrawIntoHwBitmapActivity.java | 42 p.setColor(Color.BLACK); in createBitmap() 45 p.setColor(0xFFBBDEFB); in createBitmap() 47 p.setColor(Color.BLACK); in createBitmap()
|
D | ClearActivity.java | 53 mClearPaint.setColor(0x0000ff00); in PathsView() 81 mClearPaint.setColor(0xff000000); in onDraw() 83 mClearPaint.setColor(0x0000ff00); in onDraw()
|
D | ScaledPathsActivity.java | 47 mPathPaint.setColor(0xff0000ff); in PathsView() 65 mPathPaint.setColor(0xff0000ff); in onDraw() 74 mPathPaint.setColor(0xffff0000); in onDraw()
|
D | PathDestructionActivity.java | 89 strokePaint.setColor(getRandomColor()); in onDraw() 93 fillPaint.setColor(getRandomColor()); in onDraw() 97 fillAndStrokePaint.setColor(getRandomColor()); in onDraw()
|
D | PixelCopyWindow.java | 57 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/ |
D | SamplingDemo.cpp | 53 .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/ |
D | ListViewAnimation.cpp | 43 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()
|
D | HwBitmap565.cpp | 38 skPaint.setColor(Color::Red_500); in createContent() 40 skPaint.setColor(Color::Blue_500); in createContent()
|
D | TextAnimation.cpp | 36 paint.setColor(Color::Black); in createContent() 44 paint.setColor(Color::Blue_500); in createContent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | DataUsageGraph.java | 83 p.setColor(mOverlimitColor); in onDraw() 88 p.setColor(mTrackColor); in onDraw() 94 p.setColor(mUsageColor); in onDraw() 101 p.setColor(mWarningColor); in onDraw()
|
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/app/ |
D | PerfTimeline.java | 90 mPaintBaseLow.setColor(0xff000000); in init() 94 mPaintBaseHigh.setColor(0x7f7f7f7f); in init() 98 mPaintValue.setColor(0x7fff0000); in init() 104 mTextPaint.setColor(mExampleColor); in invalidateTextPaintAndMeasurements()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | SysUiOverlay.java | 81 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/ |
D | InvocationLightsView.java | 184 mAssistInvocationLights.get(0).setColor(color1); in setColors() 185 mAssistInvocationLights.get(1).setColor(color2); in setColors() 186 mAssistInvocationLights.get(2).setColor(color3); in setColors() 187 mAssistInvocationLights.get(3).setColor(color4); in setColors() 264 light.setColor(invocationColor); in updateDarkness() 272 mPaint.setColor(light.getColor()); in renderLight()
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | InternalSelectionView.java | 82 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/base/packages/SettingsLib/src/com/android/settingslib/graph/ |
D | BatteryMeterDrawableBase.java | 130 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/opt/setupwizard/library/main/src/com/android/setupwizardlib/template/ |
D | ColoredHeaderMixin.java | 46 setColor(headerColor); in ColoredHeaderMixin() 58 public void setColor(ColorStateList color) { in setColor() method in ColoredHeaderMixin
|
/frameworks/base/libs/input/ |
D | SpriteIcon.cpp | 49 paint.setColor(0); // transparent fill color in draw() 53 paint.setColor(0); // transparent fill color in draw()
|
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/ |
D | TaskViewThumbnail.java | 115 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()
|