/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() 113 mPaint.setColor(0xff00ff00); in dispatchDraw() 116 mPaint.setColor(0xff0000ff); in dispatchDraw() 124 mPaint.setColor(0xff0000ff); in dispatchDraw() 126 mPaint.setColor(0xff00ffff); in dispatchDraw() 128 mPaint.setColor(0xffff00ff); in dispatchDraw()
|
D | DrawIntoHwBitmapActivity.java | 42 p.setColor(Color.BLACK); in createBitmap() 45 p.setColor(0xFFBBDEFB); in createBitmap() 47 p.setColor(Color.BLACK); in createBitmap()
|
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 | 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 | 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 | ScaledPathsActivity.java | 47 mPathPaint.setColor(0xff0000ff); in PathsView() 65 mPathPaint.setColor(0xff0000ff); in onDraw() 74 mPathPaint.setColor(0xffff0000); in onDraw()
|
D | ClearActivity.java | 53 mClearPaint.setColor(0x0000ff00); in PathsView() 81 mClearPaint.setColor(0xff000000); in onDraw() 83 mClearPaint.setColor(0x0000ff00); in onDraw()
|
D | PathDestructionActivity.java | 89 strokePaint.setColor(getRandomColor()); in onDraw() 93 fillPaint.setColor(getRandomColor()); in onDraw() 97 fillAndStrokePaint.setColor(getRandomColor()); in onDraw()
|
/frameworks/native/libs/gui/tests/ |
D | SamplingDemo.cpp | 52 .setColor(mButton, half3{1, 1, 1}) in Button() 65 .setColor(mButtonBlend, half3{1, 1, 1}) in Button() 80 .setColor(mSamplingArea, half3{0, 1, 0}) in Button() 94 void setColor(float color) { in setColor() function in android::Button 97 .setColor(mButton, half3{complement, complement, complement}) in setColor() 98 .setColor(mButtonBlend, half3{color, color, color}) in setColor() 104 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 | StretchyListViewAnimation.cpp | 88 paint.setColor(randomColor); in createRandomCharIcon() 94 paint.setColor(bgDark ? Color::White : Color::Grey_700); in createRandomCharIcon() 115 paint.setColor(filled ? Color::Yellow_500 : Color::Grey_700); in createBoxBitmap() 130 roundRectPaint.setColor(Color::White); in createListItem() 138 textPaint.setColor(rand() % 2 ? Color::Black : Color::Grey_500); in createListItem()
|
/frameworks/base/tests/SilkFX/src/com/android/test/silkfx/common/ |
D | HDRIndicator.kt | 43 paint.setColor(Color.pack(1.1f, 1.1f, 1.1f, 1f, scRGB)) in onDraw() 45 paint.setColor(Color.pack(1.2f, 1.2f, 1.2f, 1f, scRGB)) in onDraw() 47 paint.setColor(Color.pack(1.3f, 1.3f, 1.3f, 1f, scRGB)) in onDraw()
|
/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/native/services/surfaceflinger/tests/ |
D | LayerTypeTransaction_test.cpp | 84 .setColor(childLayer, half3{1.0f, 0.0f, 0.0f}) in TEST_P() 85 .setColor(parent, half3{0.0f, 0.0f, 0.0f}) in TEST_P() 129 .setColor(childLayer, half3{1.0f, 0.0f, 0.0f}) in TEST_P() 130 .setColor(parent, half3{0.0f, 0.0f, 0.0f}) in TEST_P() 131 .setColor(relativeParent, half3{0.0f, 1.0f, 0.0f}) in TEST_P()
|
/frameworks/base/libs/hwui/hwui/ |
D | BlurDrawLooper.cpp | 28 paint->setColor(mColor); in apply() 39 tmp.setColor(color, cs); // converts color to sRGB in Make()
|
/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 changed &= light.setColor(invocationColor); in updateDarkness() 275 mPaint.setColor(light.getColor()); in renderLight()
|
/frameworks/base/tests/SilkFX/src/com/android/test/silkfx/hdr/ |
D | RadialGlow.kt | 67 paint.setColor(bgColor) in onDraw() 81 paint.setColor(fgColor) in onDraw() 86 paint.setColor(color(1f, 1f, 1f)) in onDraw()
|
/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/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()
|