Home
last modified time | relevance | path

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

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayContentDeferredUpdateTests.java61 private int mColorMode; field in DisplayContentDeferredUpdateTests
111 mColorMode = 123; in testUpdate_nonDeferrableUpdateAndTransitionDeferred_nonDeferrableFieldUpdated()
123 mColorMode = 123; in testUpdate_nonDeferrableUpdateTwiceAndTransitionDeferred_fieldHasLatestValue()
142 mColorMode = 456; in testUpdate_nonDeferrableUpdateTwiceAndTransitionDeferred_fieldHasLatestValue()
293 mColorMode = 0; in performInitialDisplayUpdate()
300 info.colorMode = mColorMode; in performInitialDisplayUpdate()
/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/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/
DColorBitmapActivity.java76 private int mColorMode = ActivityInfo.COLOR_MODE_DEFAULT; field in ColorBitmapActivity
209 getWindow().setColorMode(mColorMode); in onCreate()
341 ColorBitmapActivity.this.mColorMode = ColorBitmapActivity.this.mColorModes[position]; in onItemSelected()
344 ColorBitmapActivity.this.getWindow().setColorMode(mColorMode); in onItemSelected()
/frameworks/base/libs/hwui/pipeline/skia/
DSkiaPipeline.cpp62 setSurfaceColorProperties(mColorMode); in SkiaPipeline()
491 mColorMode = colorMode; in setSurfaceColorProperties()
528 if (mColorMode == ColorMode::Hdr || mColorMode == ColorMode::Hdr10) { in setTargetSdrHdrRatio()
531 if (mColorMode == ColorMode::Hdr && DeviceInfo::get()->isSupportFp16ForHdr() && in setTargetSdrHdrRatio()
DSkiaOpenGLPipeline.cpp147 SkSurfaceProps props(mColorMode == ColorMode::Default ? 0 : SkSurfaceProps::kAlwaysDither_Flag, in draw()
245 auto newSurface = mEglManager.createSurface(surface, mColorMode, mSurfaceColorSpace); in setSurface()
DSkiaPipeline.h75 ColorMode mColorMode = ColorMode::Default; variable
DSkiaVulkanPipeline.cpp177 vulkanManager().createSurface(surface, mColorMode, mSurfaceColorSpace, in setSurface()
/frameworks/base/services/core/java/com/android/server/display/
DPersistentDataStore.java653 private int mColorMode; field in PersistentDataStore.DisplayState
665 if (colorMode == mColorMode) { in setColorMode()
668 mColorMode = colorMode; in setColorMode()
673 return mColorMode; in getColorMode()
741 mColorMode = Integer.parseInt(value); in loadFromXml()
767 serializer.text(Integer.toString(mColorMode)); in saveToXml()
795 pw.println(prefix + "ColorMode=" + mColorMode); in dump()
/frameworks/base/libs/hwui/renderthread/
DCanvasContext.cpp316 if (mode != mColorMode) { in setColorMode()
317 mColorMode = mode; in setColorMode()
321 switch (mColorMode) { in setColorMode()
332 if (mColorMode == ColorMode::Hdr || mColorMode == ColorMode::Hdr10) { in targetSdrHdrRatio()
1160 return self->mColorMode != ColorMode::Default; in shouldDither()
DCanvasContext.h370 ColorMode mColorMode = ColorMode::Default; variable
/frameworks/base/graphics/java/android/graphics/
DHardwareRenderer.java188 private @ActivityInfo.ColorMode int mColorMode = ActivityInfo.COLOR_MODE_DEFAULT; field in HardwareRenderer
677 if (mColorMode != colorMode) { in setColorMode()
678 mColorMode = colorMode; in setColorMode()
693 mColorMode = colorMode; in setColorMode()
/frameworks/base/core/java/android/view/
DWindowManager.java4513 private int mColorMode = COLOR_MODE_DEFAULT; field in WindowManager.LayoutParams
4913 mColorMode = colorMode; in setColorMode()
4924 return mColorMode; in getColorMode()
5151 out.writeInt(mColorMode); in writeToParcel()
5228 mColorMode = in.readInt(); in LayoutParams()
5502 if (mColorMode != o.mColorMode) { in copyFrom()
5503 mColorMode = o.mColorMode; in copyFrom()
5748 if (mColorMode != COLOR_MODE_DEFAULT) { in toString()
5749 sb.append(" colorMode=").append(ActivityInfo.colorModeToString(mColorMode)); in toString()
5867 proto.write(COLOR_MODE, mColorMode); in dumpDebug()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt40349 Landroid/print/PrintAttributes;->mColorMode:I
64552 Landroid/view/WindowManager$LayoutParams;->mColorMode:I