Searched refs:mColor (Results 1 - 25 of 40) sorted by relevance

12

/frameworks/base/graphics/java/android/graphics/
H A DPorterDuffColorFilter.java27 private int mColor; field in class:PorterDuffColorFilter
41 mColor = color;
56 return mColor;
72 mColor = color;
106 native_instance = native_CreatePorterDuffFilter(mColor, mMode.nativeInt);
118 if (mColor != other.mColor || mMode != other.mMode) {
126 return 31 * mMode.hashCode() + mColor;
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
H A DGLPaint.java23 private int mColor = 0; field in class:GLPaint
26 mColor = color;
30 return mColor;
/frameworks/base/core/java/android/text/style/
H A DBackgroundColorSpan.java27 private final int mColor; field in class:BackgroundColorSpan
30 mColor = color;
34 mColor = src.readInt();
56 dest.writeInt(mColor);
60 return mColor;
65 ds.bgColor = mColor;
H A DForegroundColorSpan.java28 private final int mColor; field in class:ForegroundColorSpan
31 mColor = color;
35 mColor = src.readInt();
57 dest.writeInt(mColor);
62 return mColor;
67 ds.setColor(mColor);
H A DQuoteSpan.java31 private final int mColor; field in class:QuoteSpan
35 mColor = 0xff0000ff;
40 mColor = color;
44 mColor = src.readInt();
66 dest.writeInt(mColor);
71 return mColor;
86 p.setColor(mColor);
H A DBulletSpan.java32 private final int mColor; field in class:BulletSpan
41 mColor = 0;
47 mColor = 0;
53 mColor = color;
59 mColor = src.readInt();
83 dest.writeInt(mColor);
100 p.setColor(mColor);
/frameworks/opt/colorpicker/src/com/android/colorpicker/
H A DColorStateDrawable.java32 private int mColor; field in class:ColorStateDrawable
36 mColor = color;
50 super.setColorFilter(getPressedColor(mColor), PorterDuff.Mode.SRC_ATOP);
52 super.setColorFilter(mColor, PorterDuff.Mode.SRC_ATOP);
H A DColorPickerSwatch.java30 private int mColor; field in class:ColorPickerSwatch
49 mColor = color;
77 mOnColorSelectedListener.onColorSelected(mColor);
/frameworks/native/services/surfaceflinger/RenderEngine/
H A DDescription.cpp37 memset(mColor, 0, sizeof(mColor));
73 mColor[0] = red;
74 mColor[1] = green;
75 mColor[2] = blue;
76 mColor[3] = alpha;
H A DDescription.h50 GLclampf mColor[4]; member in class:android::Description
/frameworks/support/v7/mediarouter/src/android/support/v7/app/
H A DMediaRouteVolumeSlider.java38 private int mColor; field in class:MediaRouteVolumeSlider
60 mThumb.setColorFilter(mColor, PorterDuff.Mode.SRC_IN);
63 getProgressDrawable().setColorFilter(mColor, PorterDuff.Mode.SRC_IN);
92 if (mColor == color) {
98 mColor = color;
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/engine/
H A DMaterial.java38 public byte[] mColor = new byte[SIZE * STRIDE]; // table contain r, g, b, A, S, D field in class:Material
90 mColor[p + RED] = v;
91 mColor[p + GREEN] = v;
92 mColor[p + BLUE] = v;
93 mColor[p + DIFF] = (byte) (255 * diffuse);
94 mColor[p + SPEC] = (byte) (255 * specular);
95 mColor[p + AMB] = (byte) (255 * ambient);
249 mColor[p + RED] = (byte) red;
250 mColor[p + GREEN] = (byte) green;
251 mColor[
[all...]
H A DVolume.java51 return mLooks.get(name).mColor;
66 Log.v(LOGTAG, "mColor "+l.dblArrayToString(l.mColor));
71 int[][] mColor; field in class:Volume.Look
79 mColor = new int[colorSplit.length][];
82 mColor[i] = readNumbers(colorSplit[i]);
92 mColor = color;
121 return "mColor=" + dblArrayToString(mColor) + "\nmOpacity=" + dblArrayToString(mOpacity);
/frameworks/base/tests/BiDiTests/src/com/android/bidi/
H A DBiDiTestViewDrawText.java30 private int mColor; field in class:BiDiTestViewDrawText
47 mColor = a.getColor(R.styleable.DrawTextTestView_color, Color.YELLOW);
61 paint.setColor(mColor);
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/
H A DSurfaceAndTextureViews.java84 mView.mColor = SimpleView.LARGE_COLOR;
85 mSurfaceView.mColor = SimpleSurfaceView.LARGE_COLOR;
86 mTextureView.mColor = SimpleTextureView.LARGE_COLOR;
91 mView.mColor = SimpleView.SMALL_COLOR;
92 mSurfaceView.mColor = SimpleSurfaceView.SMALL_COLOR;
93 mTextureView.mColor = SimpleTextureView.SMALL_COLOR;
106 int mColor = SMALL_COLOR; field in class:SurfaceAndTextureViews.SimpleView
114 canvas.drawColor(mColor);
122 int mColor = SMALL_COLOR; field in class:SurfaceAndTextureViews.SimpleSurfaceView
141 canvas.drawColor(mColor);
155 int mColor = SMALL_COLOR; field in class:SurfaceAndTextureViews.SimpleTextureView
[all...]
/frameworks/base/tests/UiBench/src/com/android/test/uibench/
H A DInvalidateActivity.java36 public int mColor; field in class:InvalidateActivity.ColorView
43 mColor = color;
49 canvas.drawColor(mColor);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DBarTransitions.java150 private int mColor; field in class:BarTransitions.BarBackgroundDrawable
220 mColorStart = mColor;
253 mColor = targetColor;
259 mColor = targetColor;
266 mColor = Color.argb(
277 if (Color.alpha(mColor) > 0) {
278 mPaint.setColor(mColor);
/frameworks/base/services/core/java/com/android/server/lights/
H A DLightsService.java86 if (mColor == 0 && !mFlashing) {
88 mColor = 0;
117 setLightLocked(mColor, LIGHT_FLASH_NONE, 0, 0, BRIGHTNESS_MODE_USER);
122 if (!mLocked && (color != mColor || mode != mMode || onMS != mOnMS || offMS != mOffMS ||
126 mLastColor = mColor;
127 mColor = color;
144 private int mColor; field in class:LightsService.LightImpl
/frameworks/base/graphics/java/android/graphics/drawable/
H A DRippleDrawable.java388 mState.mColor = color;
480 mState.mColor = color;
488 if (mState.mColor == null && (mState.mTouchThemeAttrs == null
517 if (state.mColor != null && state.mColor.canApplyTheme()) {
518 state.mColor = state.mColor.obtainForTheme(t);
864 final int color = mState.mColor.getColorForState(getState(), Color.BLACK);
987 ColorStateList mColor = ColorStateList.valueOf(Color.MAGENTA); field in class:RippleDrawable.RippleState
996 mColor
[all...]
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DColoredRectsActivity.java63 private int mColor; field in class:ColoredRectsActivity.RectsView
68 mColor = color;
75 p.setColor(mColor);
H A DPointsActivity.java86 private int mColor; field in class:PointsActivity.RenderingView
90 mColor = color;
100 p.setColor(mColor);
/frameworks/base/core/tests/coretests/src/android/hardware/display/
H A DVirtualDisplayTest.java344 private final int mColor; field in class:VirtualDisplayTest.TestPresentation
351 mColor = color;
366 view.setImageDrawable(new ColorDrawable(mColor));
378 private int mColor = -1; field in class:VirtualDisplayTest.ImageListener
382 return mColor;
389 while (mColor != color) {
420 if (mColor != color) {
421 mColor = color;
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/
H A DGlifPatternDrawable.java58 private int mColor; field in class:GlifPatternDrawable
84 Color.colorToHSV(mColor, mTempHsv);
202 mColor = color;
209 return mColor;
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
H A DScreenPinningRequest.java137 private final ColorDrawable mColor = new ColorDrawable(0); field in class:ScreenPinningRequest.RequestWindowView
146 setBackground(mColor);
180 mColor.setColor(c);
186 mColor.setColor(bgColor);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
H A DNotificationHeaderViewWrapper.java58 protected int mColor; field in class:NotificationHeaderViewWrapper
76 mColor = resolveColor(mExpandButton);
236 int color = interpolateColor(mColor, mIconDarkColor, intensity);

Completed in 664 milliseconds

12