Home
last modified time | relevance | path

Searched refs:mColorMode (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/core/java/android/print/
DPrintAttributes.java89 private @IntRange(from = 0) int mColorMode; field in PrintAttributes
100 mColorMode = parcel.readInt(); in PrintAttributes()
101 if (mColorMode != 0) { in PrintAttributes()
102 enforceValidColorMode(mColorMode); in PrintAttributes()
195 return mColorMode; in getColorMode()
210 mColorMode = colorMode; in setColorMode()
351 parcel.writeInt(mColorMode); in writeToParcel()
364 result = prime * result + mColorMode; in hashCode()
384 if (mColorMode != other.mColorMode) { in equals()
427 builder.append(", colorMode: ").append(colorModeToString(mColorMode)); in toString()
[all …]
/frameworks/base/services/core/java/com/android/server/display/
DPersistentDataStore.java481 private int mColorMode; field in PersistentDataStore.DisplayState
484 if (colorMode == mColorMode) { in setColorMode()
487 mColorMode = colorMode; in setColorMode()
492 return mColorMode; in getColorMode()
502 mColorMode = Integer.parseInt(value); in loadFromXml()
509 serializer.text(Integer.toString(mColorMode)); in saveToXml()
514 pw.println(prefix + "ColorMode=" + mColorMode); in dump()
/frameworks/base/core/java/android/view/
DWindowManager.java2831 private int mColorMode = COLOR_MODE_DEFAULT; field in WindowManager.LayoutParams
3055 mColorMode = colorMode; in setColorMode()
3066 return mColorMode; in getColorMode()
3124 out.writeInt(mColorMode); in writeToParcel()
3191 mColorMode = in.readInt(); in LayoutParams()
3426 if (mColorMode != o.mColorMode) { in copyFrom()
3427 mColorMode = o.mColorMode; in copyFrom()
3592 if (mColorMode != COLOR_MODE_DEFAULT) { in toString()
3593 sb.append(" colorMode=").append(ActivityInfo.colorModeToString(mColorMode)); in toString()
3679 proto.write(COLOR_MODE, mColorMode); in dumpDebug()
/frameworks/base/libs/hwui/pipeline/skia/
DSkiaVulkanPipeline.cpp128 mVkManager.createSurface(surface, mColorMode, mSurfaceColorSpace, mSurfaceColorType, in setSurface()
DSkiaPipeline.h79 renderthread::ColorMode mColorMode = renderthread::ColorMode::SRGB; variable
DSkiaOpenGLPipeline.cpp168 auto newSurface = mEglManager.createSurface(surface, mColorMode, mSurfaceColorSpace); in setSurface()
DSkiaPipeline.cpp48 setSurfaceColorProperties(mColorMode); in SkiaPipeline()
589 mColorMode = colorMode; in setSurfaceColorProperties()