Home
last modified time | relevance | path

Searched refs:mColor (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/core/java/android/text/style/
DForegroundColorSpan.java27 private final int mColor; field in ForegroundColorSpan
30 mColor = color; in ForegroundColorSpan()
34 mColor = src.readInt(); in ForegroundColorSpan()
46 dest.writeInt(mColor); in writeToParcel()
50 return mColor; in getForegroundColor()
55 ds.setColor(mColor); in updateDrawState()
DBackgroundColorSpan.java27 private final int mColor; field in BackgroundColorSpan
30 mColor = color; in BackgroundColorSpan()
34 mColor = src.readInt(); in BackgroundColorSpan()
46 dest.writeInt(mColor); in writeToParcel()
50 return mColor; in getBackgroundColor()
55 ds.bgColor = mColor; in updateDrawState()
DQuoteSpan.java30 private final int mColor; field in QuoteSpan
34 mColor = 0xff0000ff; in QuoteSpan()
39 mColor = color; in QuoteSpan()
43 mColor = src.readInt(); in QuoteSpan()
55 dest.writeInt(mColor); in writeToParcel()
59 return mColor; in getColor()
74 p.setColor(mColor); in drawLeadingMargin()
DBulletSpan.java32 private final int mColor; field in BulletSpan
41 mColor = 0; in BulletSpan()
47 mColor = 0; in BulletSpan()
53 mColor = color; in BulletSpan()
59 mColor = src.readInt(); in BulletSpan()
73 dest.writeInt(mColor); in writeToParcel()
90 p.setColor(mColor); in drawLeadingMargin()
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/
DLightBase.java38 Float4 mColor; field in LightBase
41 mColor = new Float4(0.0f, 0.0f, 0.0f, 0.0f); in LightBase()
51 mColor.x = r; in setColor()
52 mColor.y = g; in setColor()
53 mColor.z = b; in setColor()
78 mFieldData.color = mColor; in updateRSData()
DSceneManager.java78 private FragmentShader mColor; field in SceneManager
346 if (sSceneManager.mColor == null) { in getColorFS()
361 sSceneManager.mColor = fb.create(); in getColorFS()
364 return sSceneManager.mColor; in getColorFS()
467 mColor = null; in initRS()
/frameworks/base/media/java/android/media/videoeditor/
DEffectColor.java68 private final int mColor; field in EffectColor
103 mColor = color; in EffectColor()
114 mColor = -1; in EffectColor()
140 return mColor; in getColor()
/frameworks/opt/colorpicker/src/com/android/colorpicker/
DColorStateDrawable.java32 private int mColor; field in ColorStateDrawable
36 mColor = color; in ColorStateDrawable()
50 super.setColorFilter(getPressedColor(mColor), PorterDuff.Mode.SRC_ATOP); in onStateChange()
52 super.setColorFilter(mColor, PorterDuff.Mode.SRC_ATOP); in onStateChange()
DColorPickerSwatch.java33 private int mColor; field in ColorPickerSwatch
52 mColor = color; in ColorPickerSwatch()
80 mOnColorSelectedListener.onColorSelected(mColor); in onClick()
/frameworks/base/services/java/com/android/server/
DLightsService.java97 if (mColor == 0 && !mFlashing) { in pulse()
112 setLightLocked(mColor, LIGHT_FLASH_NONE, 0, 0, BRIGHTNESS_MODE_USER); in stopFlashing()
117 if (color != mColor || mode != mMode || onMS != mOnMS || offMS != mOffMS) { in setLightLocked()
120 mColor = color; in setLightLocked()
129 private int mColor; field in LightsService.Light
/frameworks/base/tests/BiDiTests/src/com/android/bidi/
DBiDiTestViewDrawText.java30 private int mColor; field in BiDiTestViewDrawText
47 mColor = a.getColor(R.styleable.DrawTextTestView_color, Color.YELLOW); in BiDiTestViewDrawText()
61 paint.setColor(mColor); in onDraw()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DPointsActivity.java86 private int mColor; field in PointsActivity.RenderingView
90 mColor = color; in RenderingView()
100 p.setColor(mColor); in onDraw()
DColoredRectsActivity.java63 private int mColor; field in ColoredRectsActivity.RectsView
68 mColor = color; in RectsView()
75 p.setColor(mColor); in onDraw()
DLines2Activity.java63 private int mColor; field in Lines2Activity.LinesView
72 mColor = color; in LinesView()
101 p.setColor(mColor); in onDraw()
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DPaint_Delegate.java75 private int mColor; field in Paint_Delegate
125 return mColor; in getColor()
129 return mColor >>> 24; in getAlpha()
133 mColor = (alpha << 24) | (mColor & 0x00FFFFFF); in setAlpha()
343 return delegate.mColor; in getColor()
354 delegate.mColor = color; in setColor()
1115 mColor = paint.mColor; in set()
1138 mColor = 0xFF000000; in reset()
/frameworks/base/core/java/android/text/
DHtml.java663 if (!TextUtils.isEmpty(f.mColor)) { in endFont()
664 if (f.mColor.startsWith("@")) { in endFont()
666 String name = f.mColor.substring(1); in endFont()
675 int c = Color.getHtmlColor(f.mColor); in endFont()
820 public String mColor; field in HtmlToSpannedConverter.Font
824 mColor = color; in Font()
/frameworks/base/libs/hwui/
DDisplayListOp.h672 : mRadius(radius), mDx(dx), mDy(dy), mColor(color) {} in SetupShadowOp()
675 renderer.setupShadow(mRadius, mDx, mDy, mColor); in applyState()
679 OP_LOG("SetupShadow, radius %f, %f, %f, color %#x", mRadius, mDx, mDy, mColor); in output()
688 int mColor; variable
951 : DrawOp(0), mColor(color), mMode(mode) {}; in DrawColorOp()
954 return renderer.drawColor(mColor, mMode); in applyDraw()
958 OP_LOG("Draw color %#x, mode %d", mColor, mMode); in output()
964 int mColor;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DPhoneStatusBar.java2510 private final int mColor; field in PhoneStatusBar.FastColorDrawable
2513 mColor = 0xff000000 | color; in FastColorDrawable()
2518 canvas.drawColor(mColor, PorterDuff.Mode.SRC); in draw()