/frameworks/base/services/core/java/com/android/server/display/ |
D | BrightnessSetting.java | 58 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()
|
D | DisplayBrightnessState.java | 33 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()
|
D | HighBrightnessModeController.java | 97 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 …]
|
D | BrightnessMappingStrategy.java | 596 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 …]
|
D | AutomaticBrightnessController.java | 1165 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
|
D | DisplayDeviceConfig.java | 706 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/ |
D | BrightnessEvent.java | 57 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/ |
D | BrightnessSynchronizer.java | 385 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/ |
D | BrightnessFilter.java | 30 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/ |
D | EvenDimmerBrightnessData.java | 52 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/ |
D | BrightnessChangeEvent.java | 264 private float mBrightness; field in BrightnessChangeEvent.Builder 286 mBrightness = brightness; in setBrightness() 397 return new BrightnessChangeEvent(mBrightness, mTimeStamp, in build()
|
/frameworks/native/services/surfaceflinger/ |
D | DisplayDevice.cpp | 173 if (mStagedBrightness && mBrightness != mStagedBrightness) { in setPowerMode() 175 mBrightness = *mStagedBrightness; in setPowerMode() 278 if (mStagedBrightness && mBrightness != mStagedBrightness) { in persistBrightness() 282 mBrightness = *mStagedBrightness; in persistBrightness()
|
D | DisplayDevice.h | 236 std::optional<float> mBrightness; variable
|
/frameworks/base/services/core/java/com/android/server/display/mode/ |
D | DisplayModeDirector.java | 1692 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/ |
D | hiddenapi-max-target-o.txt | 19688 Landroid/hardware/display/BrightnessChangeEvent$Builder;->mBrightness:F
|