Home
last modified time | relevance | path

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

12

/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DArcs.java59 mPaints[0].setColor(0x88FF0000); in SampleView()
63 mPaints[1].setColor(0x8800FF00); in SampleView()
69 mPaints[2].setColor(0x880000FF); in SampleView()
73 mPaints[3].setColor(0x88888888); in SampleView()
DRegions.java51 mPaint.setColor(Color.RED); in drawOriginalRects()
54 mPaint.setColor(Color.BLUE); in drawOriginalRects()
64 mPaint.setColor(Color.BLACK); in drawRgn()
72 mPaint.setColor(color); in drawRgn()
77 mPaint.setColor(color); in drawRgn()
DShapeDrawable1.java104 mDrawables[0].getPaint().setColor(0xFFFF0000); in SampleView()
105 mDrawables[1].getPaint().setColor(0xFF00FF00); in SampleView()
106 mDrawables[2].getPaint().setColor(0xFF0000FF); in SampleView()
110 mDrawables[6].getPaint().setColor(0x88FF8844); in SampleView()
DLayers.java56 mPaint.setColor(Color.RED); in onDraw()
58 mPaint.setColor(Color.BLUE); in onDraw()
DTextAlign.java83 mPathPaint.setColor(0x800000FF); in SampleView()
97 p.setColor(0x80FF0000); in onDraw()
99 p.setColor(Color.BLACK); in onDraw()
117 p.setColor(0xBB00FF00); in onDraw()
122 p.setColor(Color.BLACK); in onDraw()
DClipping.java54 mPaint.setColor(Color.RED); in drawScene()
57 mPaint.setColor(Color.GREEN); in drawScene()
60 mPaint.setColor(Color.BLUE); in drawScene()
DDrawPoints.java69 paint.setColor(Color.RED); in onDraw()
73 paint.setColor(Color.BLUE); in onDraw()
DColorFilters.java114 mPaint.setColor(0xFFFFFFFF); in swapPaintColors()
115 mPaint2.setColor(0xFF000000); in swapPaintColors()
117 mPaint.setColor(0xFF000000); in swapPaintColors()
118 mPaint2.setColor(0xFFFFFFFF); in swapPaintColors()
DMeasureText.java78 mPaint.setColor(0xFF88FF88); in showText()
80 mPaint.setColor(Color.BLACK); in showText()
93 mPaint.setColor(Color.RED); in showText()
DPictures.java43 p.setColor(0x88FF0000); in drawSomething()
46 p.setColor(Color.GREEN); in drawSomething()
DPolyToPoly.java46 mPaint.setColor(Color.GRAY); in doDraw()
52 mPaint.setColor(Color.RED); in doDraw()
DWindowSurface.java179 mBackground.setColor(0xff000000); in run()
180 mForeground.setColor(0xff00ffff); in run()
238 mForeground.setColor(mOldColor[i] | makeGreen(i)); in run()
250 mForeground.setColor(color | makeGreen(-2)); in run()
DPatterns.java38 p.setColor(Color.BLUE); in makeBitmap1()
47 p.setColor(Color.GREEN); in makeBitmap2()
DColorPickerDialog.java56 mCenterPaint.setColor(color); in ColorPickerView()
86 mCenterPaint.setColor(c); in onDraw()
193 mCenterPaint.setColor(interpColor(mColors, unit)); in onTouchEvent()
DTouchPaint.java253 mFadePaint.setColor(BACKGROUND_COLOR); in PaintView()
259 mPaint.setColor(BACKGROUND_COLOR); in clear()
429 mPaint.setColor(COLORS[mColorIndex]); in paint()
435 mPaint.setColor(BACKGROUND_COLOR); in paint()
441 mPaint.setColor(COLORS[mColorIndex]); in paint()
DFingerPaint.java38 mPaint.setColor(0xFFFF0000); in onCreate()
55 mPaint.setColor(color); in colorChanged()
/development/samples/ApiDemos/src/com/example/android/apis/os/
DSensors.java120 paint.setColor(0xFFAAAAAA); in onDraw()
137 paint.setColor(outer); in onDraw()
142 paint.setColor(inner); in onDraw()
156 paint.setColor(outer); in onDraw()
161 paint.setColor(inner); in onDraw()
191 paint.setColor(mColors[k]); in onSensorChanged()
/development/samples/ApiDemos/src/com/example/android/apis/animation/
DShapeHolder.java65 public void setColor(int value) { in setColor() method in ShapeHolder
66 shape.getPaint().setColor(value); in setColor()
/development/samples/ApiDemos/src/com/example/android/apis/view/
DInternalSelectionView.java78 mTextPaint.setColor(Color.WHITE); in init()
147 mPainter.setColor(Color.BLACK); in onDraw()
156 mPainter.setColor(Color.RED); in onDraw()
160 mPainter.setColor(Color.BLACK); in onDraw()
DLabelView.java89 mTextPaint.setColor(0xFF000000); in initLabelView()
119 mTextPaint.setColor(color); in setTextColor()
DDraggableDot.java94 mPaint.setColor(0xFFD00000); in DraggableDot()
99 mLegendPaint.setColor(0xFFF0F0FF); in DraggableDot()
167 mGlow.setColor(color); in onDraw()
/development/samples/SoftKeyboard/src/com/example/android/softkeyboard/
DCandidateView.java93 mPaint.setColor(mColorNormal); in CandidateView()
188 paint.setColor(mColorNormal); in onDraw()
202 paint.setColor(mColorRecommended); in onDraw()
204 paint.setColor(mColorOther); in onDraw()
207 paint.setColor(mColorOther); in onDraw()
/development/samples/BrowserPlugin/jni/audio/
DAudioPlugin.cpp145 gPaintI.setColor(m_paintTrack, 0xFFC0C0C0); in AudioPlugin()
149 gPaintI.setColor(m_paintRect, 0xFFA8A8A8); in AudioPlugin()
153 gPaintI.setColor(m_paintText, 0xFF2F4F4F); in AudioPlugin()
158 gPaintI.setColor(m_paintTrackProgress, 0xFF545454); in AudioPlugin()
162 gPaintI.setColor(m_paintActiveRect, 0xFF545454); in AudioPlugin()
/development/samples/devbytes/animation/KeyframeAnimation/src/com/example/android/keyframeanimation/
DKeyframeAnimation.java80 paint.setColor(Color.BLACK); in getDrawableForFrameNumber()
/development/samples/ApiDemos/src/com/example/android/apis/graphics/kube/
DGLFace.java49 public void setColor(GLColor c) { in setColor() method in GLFace

12