Home
last modified time | relevance | path

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

/packages/apps/Car/Calendar/src/com/android/car/calendar/common/
DEvent.java43 private final int mColor; field in Event.CalendarDetails
47 mColor = color; in CalendarDetails()
51 return mColor; in getColor()
63 return mColor == that.mColor && mName.equals(that.mName); in equals()
68 return Objects.hash(mName, mColor); in hashCode()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
DFilterDrawRepresentation.java93 public int mColor; field in FilterDrawRepresentation.StrokeData
104 mColor = copy.mColor; in StrokeData()
118 || mColor != sd.mColor) { in equals()
127 + Integer.toHexString(mColor) + ")"; in toString()
275 sd.mColor = color; in fillStrokeParameters()
329 writer.name(SERIAL_COLOR).value(mark.mColor); in serializeRepresentation()
359 stroke.mColor = sreader.nextInt(); in deSerializeRepresentation()
DImageFilterDraw.java126 paint.setColor(sd.mColor); in paint()
169 draw(canvas, paint, sd.mColor, toScrMatrix.mapRadius(sd.mRadius) * 2, in paint()
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
DColorTexture.java24 private final int mColor; field in ColorTexture
29 mColor = color; in ColorTexture()
41 canvas.fillRect(x, y, w, h, mColor); in draw()
46 return Utils.isOpaque(mColor); in isOpaque()
DGLPaint.java23 private int mColor = 0; field in GLPaint
26 mColor = color; in setColor()
30 return mColor; in getColor()
DFadeInTexture.java26 private final int mColor; field in FadeInTexture
31 mColor = color; in FadeInTexture()
38 mTexture.drawMixed(canvas, mColor, getRatio(), x, y, w, h); in draw()
DNinePatchChunk.java35 public int mColor[]; field in NinePatchChunk
59 chunk.mColor = new int[byteBuffer.get()]; in deserialize()
78 readIntArray(chunk.mColor, byteBuffer); in deserialize()
DNinePatchTexture.java228 prepareVertexData(divX, divY, divU, divV, nx, ny, chunk.mColor); in NinePatchInstance()
/packages/apps/Contacts/src/com/android/contacts/lettertiles/
DLetterTileDrawable.java75 private int mColor; field in LetterTileDrawable
98 mColor = sDefaultColor; in LetterTileDrawable()
140 sPaint.setColor(mColor); in drawLetterTile()
179 return mColor; in getColor()
263 mColor = color; in setColor()
275 mColor = pickColor(identifier); in setLetterAndColorFromContactDetails()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/dashboard/
DPartialCircleView.java37 private int mColor = Color.MAGENTA; field in PartialCircleView
61 if (mColor != color) { in setColor()
62 mColor = color; in setColor()
102 paint.setColor(mColor); in onDraw()
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/
DLetterTileDrawable.java59 private int mColor; field in LetterTileDrawable
159 mPaint.setColor(mColor); in drawLetterTile()
183 return mColor; in getColor()
262 mColor = pickColor(identifier); in setContactDetails()
/packages/apps/Camera2/src/com/android/camera/ui/
DAnimatedCircleDrawable.java36 private int mColor; field in AnimatedCircleDrawable
48 mColor = color; in setColor()
53 int paintColor = (mAlpha << 24) | (mColor & 0x00ffffff); in updatePaintColor()
DFaceView.java55 private int mColor; field in FaceView
79 mColor = res.getColor(R.color.face_detect_start); in FaceView()
185 mPaint.setColor(mColor); in onDraw()
DTouchCircleDrawable.java53 private int mColor; field in TouchCircleDrawable
164 mColor = color; in setColor()
165 mColorPaint.setColor(mColor); in setColor()
/packages/apps/Car/Messenger/src/com/android/car/messenger/core/ui/shared/
DLetterTileDrawable.java68 private int mColor; field in LetterTileDrawable
162 sPaint.setColor(mColor); in drawLetterTile()
198 return mColor; in getColor()
273 mColor = pickColor(identifier); in setContactDetails()
/packages/services/Car/tests/MultiDisplayTest/src/com/google/android/car/multidisplaytest/present/
DPresentTestFragment.java335 findViewById(android.R.id.content).setBackgroundColor(mContents.mColor); in onCreate()
355 private int mColor; field in PresentTestFragment.DemoPresentationContents
372 this.mColor = COLORS[(int) (Math.random() * COLORS.length)]; in DemoPresentationContents()
377 mColor = in.readInt(); in DemoPresentationContents()
388 dest.writeInt(mColor); in writeToParcel()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/hvac/
DTemperatureColorStore.java28 final int mColor; field in TemperatureColorStore.TemperatureColorValue
32 this.mColor = color; in TemperatureColorValue()
40 return mColor; in getColor()
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DTopLevelIcon.java107 mAdaptiveConstantState.mColor = color; in setBackgroundColor()
140 int mColor; field in TopLevelIcon.AdaptiveConstantState
150 icon.setBackgroundColor(mColor); in newDrawable()
/packages/apps/Settings/src/com/android/settings/network/telephony/
DRenameMobileNetworkDialogFragment.java256 private int mColor; field in RenameMobileNetworkDialogFragment.Color
261 mColor = color; in Color()
275 return mColor; in getColor()
280 mDrawable.getPaint().setColor(getDarkColor(mColor)); in getDrawable()
/packages/apps/DevCamera/src/com/android/devcamera/
DPreviewOverlay.java33 private int mColor; field in PreviewOverlay
54 mColor = res.getColor(R.color.face_color); in PreviewOverlay()
56 mPaint.setColor(mColor); in PreviewOverlay()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/common/
DTopLevelIconTest.java106 assertThat(state.mColor).isEqualTo(Color.YELLOW); in getConstantState_returnCorrectState()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
DImageDraw.java243 int color = mTmpStrokData.mColor; in displayDrawLook()