/frameworks/base/graphics/java/android/graphics/ |
D | PorterDuffColorFilter.java | 24 private int mColor; field in PorterDuffColorFilter 38 mColor = color; in PorterDuffColorFilter() 53 return mColor; in getColor() 69 mColor = color; in setColor() 103 native_instance = native_CreatePorterDuffFilter(mColor, mMode.nativeInt); in update() 115 if (mColor != other.mColor || mMode != other.mMode) { in equals() 123 return 31 * mMode.hashCode() + mColor; in hashCode()
|
/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/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/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
|
/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/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 | 30 private int mColor; field in ColorPickerSwatch 49 mColor = color; in ColorPickerSwatch() 77 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/services/core/java/com/android/server/lights/ |
D | LightsService.java | 80 if (mColor == 0 && !mFlashing) { in pulse() 82 mColor = 0; in pulse() 97 setLightLocked(mColor, LIGHT_FLASH_NONE, 0, 0, BRIGHTNESS_MODE_USER); in stopFlashing() 102 if (color != mColor || mode != mMode || onMS != mOnMS || offMS != mOffMS) { in setLightLocked() 105 mColor = color; in setLightLocked() 119 private int mColor; field in LightsService.LightImpl
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | BarTransitions.java | 135 private int mColor; field in BarTransitions.BarBackgroundDrawable 182 mColorStart = mColor; in applyModeBackground() 214 mColor = targetColor; in draw() 220 mColor = targetColor; in draw() 226 mColor = Color.argb( in draw() 237 if (Color.alpha(mColor) > 0) { in draw() 238 canvas.drawColor(mColor); in draw()
|
/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()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/ |
D | ScreenPinningRequest.java | 127 private final ColorDrawable mColor = new ColorDrawable(0); field in ScreenPinningRequest.RequestWindowView 136 setBackground(mColor); in RequestWindowView() 170 mColor.setColor(c); in onAttachedToWindow() 176 mColor.setColor(bgColor); in onAttachedToWindow()
|
/frameworks/base/media/java/android/media/ |
D | ClosedCaptionRenderer.java | 367 final int mColor; field in CCParser.StyleCode 388 mColor = color; in StyleCode() 400 return mColor; in getColor() 407 str.append(mColorMap[mColor]); in toString() 1047 private int mColor; field in MutableBackgroundColorSpan 1050 mColor = color; in MutableBackgroundColorSpan() 1053 mColor = src.readInt(); in MutableBackgroundColorSpan() 1056 mColor = color; in setBackgroundColor() 1059 return mColor; in getBackgroundColor() 1071 dest.writeInt(mColor); in writeToParcel() [all …]
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | RippleDrawable.java | 356 mState.mColor = color; in setColor() 422 mState.mColor = color; in updateStateFromTypedArray() 429 if (mState.mColor == null && (mState.mTouchThemeAttrs == null in verifyRequiredAttributes() 805 final int color = mState.mColor.getColorForState(getState(), Color.BLACK); in drawBackgroundAndRipples() 918 ColorStateList mColor = ColorStateList.valueOf(Color.MAGENTA); field in RippleDrawable.RippleState 927 mColor = origs.mColor; in RippleState()
|
D | RippleBackground.java | 61 private int mColor; field in RippleBackground 146 mColor = p.getColor(); in draw() 245 final int inflectionOpacity = (int) (Color.alpha(mColor) * (mOuterOpacity in exit()
|
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
D | ImmersiveModeConfirmation.java | 202 private final ColorDrawable mColor = new ColorDrawable(0); field in ImmersiveModeConfirmation.ClingWindowView 228 setBackground(mColor); in ClingWindowView() 277 mColor.setColor(c); in onAttachedToWindow() 283 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 127 return mColor; in getColor() 131 return mColor >>> 24; in getAlpha() 135 mColor = (alpha << 24) | (mColor & 0x00FFFFFF); in setAlpha() 345 return delegate.mColor; in getColor() 356 delegate.mColor = color; in setColor() 1117 mColor = paint.mColor; in set() 1141 mColor = 0xFF000000; in reset()
|