question: private void updateUiByTrackColorMode ( String trackColorMode ) { boolean isFixedValue = trackColorMode . equals ( getString ( R . string . settings_map_track_color_mode_fixed_value ) ) ; boolean isDynamicValue = trackColorMode . equals ( getString ( R . string . settings_map_track_color_mode_dynamic_value ) ) ; slowPreference . setEnabled ( isFixedValue ) ; mediumPreference . setEnabled ( isFixedValue ) ; percentagePreference . setEnabled ( isDynamicValue ) ; }
target:  Updates the UI by the track color mode.