Home
last modified time | relevance | path

Searched refs:mBrightness (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/services/core/java/com/android/server/display/
DBrightnessSetting.java58 private float mBrightness; field in BrightnessSetting
67 mBrightness = mPersistentDataStore.getBrightness( in BrightnessSetting()
79 return mBrightness; in getBrightness()
121 if (brightness != mBrightness) { in setBrightness()
126 mBrightness = brightness; in setBrightness()
127 int toSend = Float.floatToIntBits(mBrightness); in setBrightness()
143 if (brightness != mBrightness) { in setBrightnessNoNotify()
148 mBrightness = brightness; in setBrightnessNoNotify()
DDisplayBrightnessState.java33 private final float mBrightness; field in DisplayBrightnessState
53 mBrightness = builder.getBrightness(); in DisplayBrightnessState()
72 return mBrightness; in getBrightness()
200 return mBrightness == otherState.getBrightness() in equals()
219 return Objects.hash(mBrightness, mSdrBrightness, mBrightnessReason, in hashCode()
237 private float mBrightness; field in DisplayBrightnessState.Builder
283 return mBrightness; in getBrightness()
293 this.mBrightness = brightness; in setBrightness()
DHighBrightnessModeController.java97 private float mBrightness; field in HighBrightnessModeController
139 mBrightness = brightnessMin; in HighBrightnessModeController()
190 mBrightness, mMaxDesiredHdrSdrRatio); in getHdrBrightnessValue()
202 mBrightnessMin, mBrightnessMax, mBrightness); in getHdrBrightnessValue()
223 mBrightness = brightness; in onBrightnessChanged()
231 final boolean shouldHbmDrainAvailableTime = mBrightness > mHbmData.transitionPoint in onBrightnessChanged()
304 pw.println(" mBrightness=" + mBrightness); in dumpLocal()
435 && remainingTime > 0 && mBrightness > mHbmData.transitionPoint; in recalculateTimeAllowance()
442 if (mBrightness > mHbmData.transitionPoint) { in recalculateTimeAllowance()
472 + ", mBrightness: " + mBrightness in recalculateTimeAllowance()
[all …]
DBrightnessMappingStrategy.java596 private final float[] mBrightness; field in BrightnessMappingStrategy.SimpleMappingStrategy
620 mBrightness = new float[N]; in SimpleMappingStrategy()
623 mBrightness[i] = brightness[i]; in SimpleMappingStrategy()
779 Pair<float[], float[]> curve = getAdjustedCurve(mLux, mBrightness, mUserLux, in computeSpline()
785 Spline spline = Spline.createSpline(mLux, mBrightness); in getUnadjustedBrightness()
825 private final float[] mBrightness; field in BrightnessMappingStrategy.PhysicalMappingStrategy
870 mBrightness = brightness; in PhysicalMappingStrategy()
1033 mAdjustedNitsToBrightnessSpline = Spline.createSpline(adjustedNits, mBrightness); in recalculateSplines()
1034 mBrightnessToAdjustedNitsSpline = Spline.createSpline(mBrightness, adjustedNits); in recalculateSplines()
1198 mNitsToBrightnessSpline = Spline.createSpline(nits, mBrightness); in computeNitsBrightnessSplines()
[all …]
DAutomaticBrightnessController.java1165 mPausedShortTermModel.mBrightness);
1273 private float mBrightness = PowerManager.BRIGHTNESS_INVALID_FLOAT;
1278 mBrightness = PowerManager.BRIGHTNESS_INVALID_FLOAT;
1291 mBrightness = brightness;
1314 mBrightness = brightness;
1319 mBrightness = from.mBrightness;
1325 + "\n mBrightness: " + mBrightness
DDisplayDeviceConfig.java706 private float[] mBrightness; field in DisplayDeviceConfig
1209 return mEvenDimmerBrightnessData.mBrightness; in getBrightness()
1211 return mBrightness; in getBrightness()
1598 + "mBrightness=" + Arrays.toString(mBrightness) in toString()
2501 mBrightness = new float[mBacklight.length]; in createBacklightConversionSplines()
2502 for (int i = 0; i < mBrightness.length; i++) { in createBacklightConversionSplines()
2503 mBrightness[i] = MathUtils.map(mBacklight[0], in createBacklightConversionSplines()
2508 ? Spline.createLinearSpline(mBrightness, mBacklight) in createBacklightConversionSplines()
2509 : Spline.createSpline(mBrightness, mBacklight); in createBacklightConversionSplines()
2511 ? Spline.createLinearSpline(mBacklight, mBrightness) in createBacklightConversionSplines()
[all …]
/frameworks/base/services/core/java/com/android/server/display/brightness/
DBrightnessEvent.java57 private float mBrightness; field in BrightnessEvent
99 mBrightness = that.getBrightness(); in copyFrom()
131 mBrightness = PowerManager.BRIGHTNESS_INVALID_FLOAT; in reset()
168 && Float.floatToRawIntBits(mBrightness) in equalsMainData()
169 == Float.floatToRawIntBits(that.mBrightness) in equalsMainData()
202 + ", brt=" + mBrightness + ((mFlags & FLAG_USER_SET) != 0 ? "(user_set)" : "") in toString()
291 return mBrightness; in getBrightness()
295 this.mBrightness = brightness; in setBrightness()
/frameworks/base/core/java/com/android/internal/display/
DBrightnessSynchronizer.java385 private final float mBrightness; field in BrightnessSynchronizer.BrightnessUpdate
396 mBrightness = brightness; in BrightnessUpdate()
405 return "{[" + mId + "] " + toStringLabel(mSourceType, mBrightness) in toString()
442 + toStringLabel(mSourceType, mBrightness)); in update()
445 + toStringLabel(mSourceType, mBrightness) + " set brightness values: " in update()
508 return (int) mBrightness; in getBrightnessAsInt()
511 return brightnessFloatToIntSetting(mContext, mBrightness); in getBrightnessAsInt()
513 return brightnessFloatToInt(mBrightness); in getBrightnessAsInt()
520 return mBrightness; in getBrightnessAsFloat()
523 return brightnessIntSettingToFloat(mContext, (int) mBrightness); in getBrightnessAsFloat()
[all …]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DBrightnessFilter.java30 private float mBrightness = 1.0f; field in BrightnessFilter
83 mShader.setUniformValue("brightness", mBrightness); in onProcess()
/frameworks/base/services/core/java/com/android/server/display/config/
DEvenDimmerBrightnessData.java52 public final float[] mBrightness; field in EvenDimmerBrightnessData
83 mBrightness = brightness; in EvenDimmerBrightnessData()
97 + ", mBrightness: " + Arrays.toString(mBrightness) in toString()
/frameworks/base/core/java/android/hardware/display/
DBrightnessChangeEvent.java264 private float mBrightness; field in BrightnessChangeEvent.Builder
286 mBrightness = brightness; in setBrightness()
397 return new BrightnessChangeEvent(mBrightness, mTimeStamp, in build()
/frameworks/native/services/surfaceflinger/
DDisplayDevice.cpp173 if (mStagedBrightness && mBrightness != mStagedBrightness) { in setPowerMode()
175 mBrightness = *mStagedBrightness; in setPowerMode()
278 if (mStagedBrightness && mBrightness != mStagedBrightness) { in persistBrightness()
282 mBrightness = *mStagedBrightness; in persistBrightness()
DDisplayDevice.h236 std::optional<float> mBrightness; variable
/frameworks/base/services/core/java/com/android/server/display/mode/
DDisplayModeDirector.java1692 private float mBrightness = PowerManager.BRIGHTNESS_INVALID_FLOAT; field in DisplayModeDirector.BrightnessObserver
1922 mBrightness = getBrightness(Display.DEFAULT_DISPLAY); in observe()
2097 pw.println(" mBrightness: " + mBrightness); in dumpLocked()
2152 if (!BrightnessSynchronizer.floatEquals(brightness, mBrightness)) { in onDisplayChanged()
2153 mBrightness = brightness; in onDisplayChanged()
2322 if (Float.isNaN(mBrightness)) { in onBrightnessChangedLocked()
2328 boolean insideLowZone = hasValidLowZone() && isInsideLowZone(mBrightness, mAmbientLux); in onBrightnessChangedLocked()
2350 && isInsideHighZone(mBrightness, mAmbientLux); in onBrightnessChangedLocked()
2368 Slog.d(TAG, "Display brightness " + mBrightness + ", ambient lux " + mAmbientLux in onBrightnessChangedLocked()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt19688 Landroid/hardware/display/BrightnessChangeEvent$Builder;->mBrightness:F