@@ -875,76 +875,37 @@ public interface DisplayListener {
875875 public interface DeviceConfig {
876876
877877 /**
878- * Key for refresh rate in the low zone defined by thresholds.
878+ * Key for refresh rate in the zone defined by thresholds.
879879 *
880- * Note that the name and value don't match because they were added before we had a high
881- * zone to consider.
882880 * @see android.provider.DeviceConfig#NAMESPACE_DISPLAY_MANAGER
883881 * @see android.R.integer#config_defaultZoneBehavior
884882 */
885- String KEY_REFRESH_RATE_IN_LOW_ZONE = "refresh_rate_in_zone" ;
883+ String KEY_REFRESH_RATE_IN_ZONE = "refresh_rate_in_zone" ;
886884
887885 /**
888- * Key for accessing the low display brightness thresholds for the configured refresh
889- * rate zone.
886+ * Key for accessing the display brightness thresholds for the configured refresh rate zone.
890887 * The value will be a pair of comma separated integers representing the minimum and maximum
891888 * thresholds of the zone, respectively, in display backlight units (i.e. [0, 255]).
892889 *
893- * Note that the name and value don't match because they were added before we had a high
894- * zone to consider.
895- *
896890 * @see android.provider.DeviceConfig#NAMESPACE_DISPLAY_MANAGER
897891 * @see android.R.array#config_brightnessThresholdsOfPeakRefreshRate
898892 * @hide
899893 */
900- String KEY_FIXED_REFRESH_RATE_LOW_DISPLAY_BRIGHTNESS_THRESHOLDS =
894+ String KEY_PEAK_REFRESH_RATE_DISPLAY_BRIGHTNESS_THRESHOLDS =
901895 "peak_refresh_rate_brightness_thresholds" ;
902896
903- /**
904- * Key for accessing the low ambient brightness thresholds for the configured refresh
905- * rate zone. The value will be a pair of comma separated integers representing the minimum
906- * and maximum thresholds of the zone, respectively, in lux.
907- *
908- * Note that the name and value don't match because they were added before we had a high
909- * zone to consider.
910- *
911- * @see android.provider.DeviceConfig#NAMESPACE_DISPLAY_MANAGER
912- * @see android.R.array#config_ambientThresholdsOfPeakRefreshRate
913- * @hide
914- */
915- String KEY_FIXED_REFRESH_RATE_LOW_AMBIENT_BRIGHTNESS_THRESHOLDS =
916- "peak_refresh_rate_ambient_thresholds" ;
917- /**
918- * Key for refresh rate in the high zone defined by thresholds.
919- *
920- * @see android.provider.DeviceConfig#NAMESPACE_DISPLAY_MANAGER
921- * @see android.R.integer#config_fixedRefreshRateInHighZone
922- */
923- String KEY_REFRESH_RATE_IN_HIGH_ZONE = "refresh_rate_in_high_zone" ;
924-
925- /**
926- * Key for accessing the display brightness thresholds for the configured refresh rate zone.
927- * The value will be a pair of comma separated integers representing the minimum and maximum
928- * thresholds of the zone, respectively, in display backlight units (i.e. [0, 255]).
929- *
930- * @see android.provider.DeviceConfig#NAMESPACE_DISPLAY_MANAGER
931- * @see android.R.array#config_brightnessHighThresholdsOfFixedRefreshRate
932- * @hide
933- */
934- String KEY_FIXED_REFRESH_RATE_HIGH_DISPLAY_BRIGHTNESS_THRESHOLDS =
935- "fixed_refresh_rate_high_display_brightness_thresholds" ;
936-
937897 /**
938898 * Key for accessing the ambient brightness thresholds for the configured refresh rate zone.
939899 * The value will be a pair of comma separated integers representing the minimum and maximum
940900 * thresholds of the zone, respectively, in lux.
941901 *
942902 * @see android.provider.DeviceConfig#NAMESPACE_DISPLAY_MANAGER
943- * @see android.R.array#config_ambientHighThresholdsOfFixedRefreshRate
903+ * @see android.R.array#config_ambientThresholdsOfPeakRefreshRate
944904 * @hide
945905 */
946- String KEY_FIXED_REFRESH_RATE_HIGH_AMBIENT_BRIGHTNESS_THRESHOLDS =
947- "fixed_refresh_rate_high_ambient_brightness_thresholds" ;
906+ String KEY_PEAK_REFRESH_RATE_AMBIENT_BRIGHTNESS_THRESHOLDS =
907+ "peak_refresh_rate_ambient_thresholds" ;
908+
948909 /**
949910 * Key for default peak refresh rate
950911 *
0 commit comments