/frameworks/base/core/java/android/text/style/ |
D | BackgroundColorSpan.java | 27 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()
|
D | ForegroundColorSpan.java | 27 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()
|
D | QuoteSpan.java | 30 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()
|
D | BulletSpan.java | 32 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/native/services/surfaceflinger/RenderEngine/ |
D | Description.cpp | 37 memset(mColor, 0, sizeof(mColor)); in Description() 73 mColor[0] = red; in setColor() 74 mColor[1] = green; in setColor() 75 mColor[2] = blue; in setColor() 76 mColor[3] = alpha; in setColor()
|
D | Description.h | 50 GLclampf mColor[4]; variable
|
D | Program.cpp | 139 glUniform4fv(mColorLoc, 1, desc.mColor); in setUniforms()
|
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/ |
D | SurfaceAndTextureViews.java | 84 mView.mColor = SimpleView.LARGE_COLOR; in onCreate() 85 mSurfaceView.mColor = SimpleSurfaceView.LARGE_COLOR; in onCreate() 86 mTextureView.mColor = SimpleTextureView.LARGE_COLOR; in onCreate() 91 mView.mColor = SimpleView.SMALL_COLOR; in onCreate() 92 mSurfaceView.mColor = SimpleSurfaceView.SMALL_COLOR; in onCreate() 93 mTextureView.mColor = SimpleTextureView.SMALL_COLOR; in onCreate() 106 int mColor = SMALL_COLOR; field in SurfaceAndTextureViews.SimpleView 114 canvas.drawColor(mColor); in onDraw() 122 int mColor = SMALL_COLOR; field in SurfaceAndTextureViews.SimpleSurfaceView 141 canvas.drawColor(mColor); in surfaceChanged() [all …]
|
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/ |
D | LightBase.java | 38 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()
|
D | SceneManager.java | 78 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/ |
D | EffectColor.java | 68 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/ |
D | ColorStateDrawable.java | 32 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()
|
D | ColorPickerSwatch.java | 33 private int mColor; field in ColorPickerSwatch 52 mColor = color; in ColorPickerSwatch() 80 mOnColorSelectedListener.onColorSelected(mColor); in onClick()
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/ |
D | GLPaint.java | 23 private int mColor = 0; field in GLPaint 26 mColor = color; in setColor() 30 return mColor; in getColor()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | BarTransitions.java | 123 private int mColor; field in BarTransitions.BarBackgroundDrawable 166 mColorStart = mColor; in applyModeBackground() 194 mColor = targetColor; in draw() 200 mColor = targetColor; in draw() 206 mColor = Color.argb( in draw() 217 if (Color.alpha(mColor) > 0) { in draw() 218 canvas.drawColor(mColor); in draw()
|
/frameworks/base/services/java/com/android/server/ |
D | LightsService.java | 97 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/ |
D | BiDiTestViewDrawText.java | 30 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/core/tests/coretests/src/android/hardware/display/ |
D | VirtualDisplayTest.java | 344 private final int mColor; field in VirtualDisplayTest.TestPresentation 351 mColor = color; in TestPresentation() 366 view.setImageDrawable(new ColorDrawable(mColor)); in onCreate() 378 private int mColor = -1; field in VirtualDisplayTest.ImageListener 382 return mColor; in getColor() 389 while (mColor != color) { in waitForColor() 420 if (mColor != color) { in onImageAvailable() 421 mColor = color; in onImageAvailable()
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | PointsActivity.java | 86 private int mColor; field in PointsActivity.RenderingView 90 mColor = color; in RenderingView() 100 p.setColor(mColor); in onDraw()
|
D | ColoredRectsActivity.java | 63 private int mColor; field in ColoredRectsActivity.RectsView 68 mColor = color; in RectsView() 75 p.setColor(mColor); in onDraw()
|
D | Lines2Activity.java | 63 private int mColor; field in Lines2Activity.LinesView 72 mColor = color; in LinesView() 101 p.setColor(mColor); in onDraw()
|
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
D | ImmersiveModeConfirmation.java | 201 private final ColorDrawable mColor = new ColorDrawable(0); field in ImmersiveModeConfirmation.ClingWindowView 227 setBackground(mColor); in ClingWindowView() 276 mColor.setColor(c); in onAttachedToWindow() 282 mColor.setColor(BGCOLOR); in onAttachedToWindow()
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
D | Paint_Delegate.java | 74 private int mColor; field in Paint_Delegate 124 return mColor; in getColor() 128 return mColor >>> 24; in getAlpha() 132 mColor = (alpha << 24) | (mColor & 0x00FFFFFF); in setAlpha() 342 return delegate.mColor; in getColor() 353 delegate.mColor = color; in setColor() 1084 mColor = paint.mColor; in set() 1107 mColor = 0xFF000000; in reset()
|
/frameworks/base/core/java/android/text/ |
D | Html.java | 672 if (!TextUtils.isEmpty(f.mColor)) { in endFont() 673 if (f.mColor.startsWith("@")) { in endFont() 675 String name = f.mColor.substring(1); in endFont() 684 int c = Color.getHtmlColor(f.mColor); in endFont() 829 public String mColor; field in HtmlToSpannedConverter.Font 833 mColor = color; in Font()
|
/frameworks/base/libs/hwui/ |
D | DisplayListOp.h | 674 : mRadius(radius), mDx(dx), mDy(dy), mColor(color) {} in SetupShadowOp() 677 renderer.setupShadow(mRadius, mDx, mDy, mColor); in applyState() 681 OP_LOG("SetupShadow, radius %f, %f, %f, color %#x", mRadius, mDx, mDy, mColor); in output() 690 int mColor; variable 1100 : DrawOp(0), mColor(color), mMode(mode) {}; in DrawColorOp() 1103 return renderer.drawColor(mColor, mMode); in applyDraw() 1107 OP_LOG("Draw color %#x, mode %d", mColor, mMode); in output() 1113 int mColor;
|