Home
last modified time | relevance | path

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

12

/frameworks/base/core/tests/coretests/src/android/util/
DInternalSelectionView.java80 mTextPaint.setColor(Color.WHITE); in init()
149 mPainter.setColor(Color.BLACK); in onDraw()
158 mPainter.setColor(Color.RED); in onDraw()
162 mPainter.setColor(Color.BLACK); in onDraw()
/frameworks/base/core/java/android/text/style/
DQuoteSpan.java74 p.setColor(mColor); in drawLeadingMargin()
79 p.setColor(color); in drawLeadingMargin()
DBulletSpan.java87 p.setColor(mColor); in drawLeadingMargin()
96 p.setColor(oldcolor); in drawLeadingMargin()
DClickableSpan.java40 ds.setColor(ds.linkColor); in updateDrawState()
DForegroundColorSpan.java55 ds.setColor(mColor); in updateDrawState()
DTextAppearanceSpan.java205 ds.setColor(mTextColor.getColorForState(ds.drawableState, 0)); in updateDrawState()
/frameworks/base/core/jni/
Dandroid_view_ViewRoot.cpp72 p.setColor(SK_ColorWHITE); in android_view_ViewRoot_showFPS()
74 p.setColor(SK_ColorBLACK); in android_view_ViewRoot_showFPS()
/frameworks/base/core/tests/coretests/src/android/widget/
DLabelView.java78 mTextPaint.setColor(0xFF000000); in initLabelView()
111 mTextPaint.setColor(color); in setTextColor()
/frameworks/base/libs/rs/
DrsLight.cpp54 void Light::setColor(float r, float g, float b) in setColor() function in Light
118 l->setColor(r, g, b); in rsi_LightSetColor()
DrsLight.h37 void setColor(float r, float g, float b);
/frameworks/base/policy/src/com/android/internal/policy/impl/
DIconUtilities.java77 mGlowColorPressedPaint.setColor(0xffffc300); in IconUtilities()
79 mGlowColorFocusedPaint.setColor(0xffff8e00); in IconUtilities()
161 debugPaint.setColor(0xffcccc00); in createIconBitmap()
DRecentApplicationsBackground.java117 p.setColor(0x88ffff00); in draw()
/frameworks/base/core/jni/android/graphics/
DNinePatchImpl.cpp75 ((SkPaint*)&paint)->setColor(modAlpha(colorHint, paint.getAlpha())); in drawStretchyPatch()
77 ((SkPaint*)&paint)->setColor(initColor); in drawStretchyPatch()
85 ((SkPaint*)&paint)->setColor(c); in drawStretchyPatch()
87 ((SkPaint*)&paint)->setColor(prev); in drawStretchyPatch()
/frameworks/base/graphics/java/android/renderscript/
DLight.java32 public void setColor(float r, float g, float b) { in setColor() method in Light
/frameworks/base/graphics/java/android/graphics/drawable/
DPaintDrawable.java36 getPaint().setColor(color); in PaintDrawable()
DGradientDrawable.java208 mStrokePaint.setColor(color); in setStroke()
423 public void setColor(int argb) {
425 mFillPaint.setColor(argb);
751 setColor(argb);
1004 mFillPaint.setColor(state.mSolidColor);
1011 mStrokePaint.setColor(state.mStrokeColor);
/frameworks/base/core/java/android/gesture/
DGesture.java194 paint.setColor(color); in toBitmap()
228 paint.setColor(color); in toBitmap()
DGestureOverlayView.java179 gesturePaint.setColor(mCertainGestureColor); in init()
404 mGesturePaint.setColor((mCurrentColor << 8 >>> 8) | (useAlpha << 24)); in setPaintAlpha()
/frameworks/base/core/java/android/text/
DStyled.java108 workPaint.setColor(workPaint.bgColor); in drawUniformRun()
122 workPaint.setColor(c); in drawUniformRun()
/frameworks/base/services/java/com/android/server/
DLightsService.java78 public void setColor(int color) { in setColor() method in LightsService.Light
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DRenderDrawable.java131 gc.setColor(new Color(0x00000000, true)); in getImage()
/frameworks/base/tests/BrowserTestPlugin/jni/event/
DEventPlugin.cpp85 gPaintI.setColor(paint, 0xFF0000FF); in drawPlugin()
/frameworks/base/core/java/android/inputmethodservice/
DKeyboardView.java648 paint.setColor(mKeyTextColor); in onBufferDraw()
716 paint.setColor((int) (mBackgroundDimAmount * 0xFF) << 24); in onBufferDraw()
722 paint.setColor(0xFFFF0000); in onBufferDraw()
725 paint.setColor(0xFF0000FF); in onBufferDraw()
727 paint.setColor(0xFF00FF00); in onBufferDraw()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DStatusBarIconView.java53 mNumberPain.setColor(res.getColor(R.drawable.notification_number_text_color)); in StatusBarIconView()
/frameworks/base/graphics/java/android/graphics/
DPaint.java466 public native void setColor(int color); in setColor() method in Paint
495 setColor((a << 24) | (r << 16) | (g << 8) | b); in setARGB()

12