Searched refs:displayBrightnessState (Results 1 – 4 of 4) sorted by relevance
54 DisplayBrightnessState displayBrightnessState = mDisplayBrightnessStateBuilder in validateAllDisplayBrightnessStateFieldsAreSetAsExpected() local64 assertEquals(displayBrightnessState.getBrightness(), brightness, FLOAT_DELTA); in validateAllDisplayBrightnessStateFieldsAreSetAsExpected()65 assertEquals(displayBrightnessState.getSdrBrightness(), sdrBrightness, FLOAT_DELTA); in validateAllDisplayBrightnessStateFieldsAreSetAsExpected()66 assertEquals(displayBrightnessState.getBrightnessReason(), brightnessReason); in validateAllDisplayBrightnessStateFieldsAreSetAsExpected()67 assertEquals(displayBrightnessState.getShouldUseAutoBrightness(), shouldUseAutoBrightness); in validateAllDisplayBrightnessStateFieldsAreSetAsExpected()69 displayBrightnessState.shouldUpdateScreenBrightnessSetting()); in validateAllDisplayBrightnessStateFieldsAreSetAsExpected()70 assertEquals(displayBrightnessState.toString(), getString(displayBrightnessState)); in validateAllDisplayBrightnessStateFieldsAreSetAsExpected()89 private String getString(DisplayBrightnessState displayBrightnessState) { in getString() argument93 .append(displayBrightnessState.getBrightness()) in getString()95 .append(displayBrightnessState.getSdrBrightness()) in getString()[all …]
43 DisplayBrightnessState displayBrightnessState = in updateBrightness() local47 return displayBrightnessState; in updateBrightness()
49 DisplayBrightnessState displayBrightnessState = in updateBrightness() local53 return displayBrightnessState; in updateBrightness()
1357 DisplayBrightnessState displayBrightnessState = mDisplayBrightnessController in updatePowerStateInternal() local1359 float brightnessState = displayBrightnessState.getBrightness(); in updatePowerStateInternal()1360 float rawBrightnessState = displayBrightnessState.getBrightness(); in updatePowerStateInternal()1361 mBrightnessReasonTemp.set(displayBrightnessState.getBrightnessReason()); in updatePowerStateInternal()1362 boolean slowChange = displayBrightnessState.isSlowChange(); in updatePowerStateInternal()1364 float customAnimationRate = displayBrightnessState.getCustomAnimationRate(); in updatePowerStateInternal()1365 int brightnessAdjustmentFlags = displayBrightnessState.getBrightnessAdjustmentFlag(); in updatePowerStateInternal()1368 if (displayBrightnessState.getBrightnessEvent() != null) { in updatePowerStateInternal()1369 mTempBrightnessEvent.copyFrom(displayBrightnessState.getBrightnessEvent()); in updatePowerStateInternal()1380 .setLightSensorEnabled(displayBrightnessState.getShouldUseAutoBrightness() in updatePowerStateInternal()[all …]