/frameworks/base/tests/graphics/SilkFX/src/com/android/test/silkfx/common/ |
D | ColorModeControls.kt | 40 private var desiredRatio = 0.0f in <lambda>() variable in com.android.test.silkfx.common.ColorModeControls 72 desiredRatio = window?.desiredHdrHeadroom ?: 0.0f in <lambda>() 91 desiredRatio = (desiredRatio + 1) % 5.0f in <lambda>() 92 window!!.desiredHdrHeadroom = desiredRatio in <lambda>()
|
/frameworks/base/core/java/android/view/ |
D | HdrRenderState.java | 125 void setDesiredHdrSdrRatio(boolean isHdrEnabled, float desiredRatio) { in setDesiredHdrSdrRatio() argument 128 if (desiredRatio != mTargetDesiredHdrSdrRatio) { in setDesiredHdrSdrRatio() 129 mTargetDesiredHdrSdrRatio = desiredRatio; in setDesiredHdrSdrRatio()
|
D | SurfaceControl.java | 227 long nativeObject, float currentBufferRatio, float desiredRatio); in nativeSetExtendedRangeBrightness() argument 229 long nativeObject, float desiredRatio); in nativeSetDesiredHdrHeadroom() argument 4231 float currentBufferRatio, float desiredRatio) { in setExtendedRangeBrightness() argument 4237 if (!Float.isFinite(desiredRatio) || desiredRatio < 1.0f) { in setExtendedRangeBrightness() 4239 "desiredRatio must be finite && >= 1.0f; got " + desiredRatio); in setExtendedRangeBrightness() 4242 desiredRatio); in setExtendedRangeBrightness() 4280 @FloatRange(from = 0.0f) float desiredRatio) { in setDesiredHdrHeadroom() 4282 if (!Float.isFinite(desiredRatio) || (desiredRatio != 0 && desiredRatio < 1.0f)) { in setDesiredHdrHeadroom() 4284 "desiredRatio must be finite && >= 1.0f or 0; got " + desiredRatio); in setDesiredHdrHeadroom() 4286 nativeSetDesiredHdrHeadroom(mNativeObject, sc.mNativeObject, desiredRatio); in setDesiredHdrHeadroom()
|
D | ViewRootImpl.java | 6274 float desiredRatio) { in updateColorModeIfNeeded() argument 6291 if (desiredRatio == 0 || desiredRatio > automaticRatio) { in updateColorModeIfNeeded() 6292 desiredRatio = automaticRatio; in updateColorModeIfNeeded() 6295 mHdrRenderState.setDesiredHdrSdrRatio(isHdr, desiredRatio); in updateColorModeIfNeeded()
|
/frameworks/base/native/android/ |
D | surface_control.cpp | 626 float currentBufferRatio, float desiredRatio) { in ASurfaceTransaction_setExtendedRangeBrightness() argument 637 if (!isfinite(desiredRatio) || desiredRatio < 1.0f) { in ASurfaceTransaction_setExtendedRangeBrightness() 639 desiredRatio); in ASurfaceTransaction_setExtendedRangeBrightness() 646 transaction->setExtendedRangeBrightness(surfaceControl, currentBufferRatio, desiredRatio); in ASurfaceTransaction_setExtendedRangeBrightness() 651 float desiredRatio) { in ASurfaceTransaction_setDesiredHdrHeadroom() argument 655 if (!isfinite(desiredRatio) || (desiredRatio < 1.0f && desiredRatio > 0.0f)) { in ASurfaceTransaction_setDesiredHdrHeadroom() 657 desiredRatio); in ASurfaceTransaction_setDesiredHdrHeadroom() 664 transaction->setDesiredHdrHeadroom(surfaceControl, desiredRatio); in ASurfaceTransaction_setDesiredHdrHeadroom()
|
/frameworks/native/include/android/ |
D | surface_control.h | 591 float currentBufferRatio, float desiredRatio)
|
/frameworks/native/libs/gui/include/gui/ |
D | SurfaceComposerClient.h | 598 float currentBufferRatio, float desiredRatio); 599 Transaction& setDesiredHdrHeadroom(const sp<SurfaceControl>& sc, float desiredRatio);
|
/frameworks/native/services/surfaceflinger/ |
D | Layer.h | 318 bool setExtendedRangeBrightness(float currentBufferRatio, float desiredRatio); 319 bool setDesiredHdrHeadroom(float desiredRatio);
|
D | Layer.cpp | 3326 bool Layer::setExtendedRangeBrightness(float currentBufferRatio, float desiredRatio) { in setExtendedRangeBrightness() argument 3328 mDrawingState.desiredHdrSdrRatio == desiredRatio) in setExtendedRangeBrightness() 3331 mDrawingState.desiredHdrSdrRatio = desiredRatio; in setExtendedRangeBrightness() 3337 bool Layer::setDesiredHdrHeadroom(float desiredRatio) { in setDesiredHdrHeadroom() argument 3338 if (mDrawingState.desiredHdrSdrRatio == desiredRatio) return false; in setDesiredHdrHeadroom() 3339 mDrawingState.desiredHdrSdrRatio = desiredRatio; in setDesiredHdrHeadroom()
|
/frameworks/base/core/jni/ |
D | android_view_SurfaceControl.cpp | 723 float desiredRatio) { in nativeSetExtendedRangeBrightness() argument 726 transaction->setExtendedRangeBrightness(ctrl, currentBufferRatio, desiredRatio); in nativeSetExtendedRangeBrightness() 730 jlong nativeObject, float desiredRatio) { in nativeSetDesiredHdrHeadroom() argument 733 transaction->setDesiredHdrHeadroom(ctrl, desiredRatio); in nativeSetDesiredHdrHeadroom()
|
/frameworks/native/libs/gui/ |
D | SurfaceComposerClient.cpp | 1805 const sp<SurfaceControl>& sc, float currentBufferRatio, float desiredRatio) { in setExtendedRangeBrightness() argument 1813 s->desiredHdrSdrRatio = desiredRatio; in setExtendedRangeBrightness() 1820 const sp<SurfaceControl>& sc, float desiredRatio) { in setDesiredHdrHeadroom() argument 1827 s->desiredHdrSdrRatio = desiredRatio; in setDesiredHdrHeadroom()
|