Home
last modified time | relevance | path

Searched refs:mListSummaries (Results 1 – 25 of 37) sorted by relevance

12

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/development/
DAbstractBluetoothA2dpPreferenceController.java49 private final String[] mListSummaries; field in AbstractBluetoothA2dpPreferenceController
57 mListSummaries = getListSummaries(); in AbstractBluetoothA2dpPreferenceController()
72 mPreference.setSummary(mListSummaries[getDefaultIndex()]); in displayPreference()
98 mPreference.setSummary(mListSummaries[index]); in onPreferenceChange()
101 mContext.getResources().getString(STREAMING_LABEL_ID, mListSummaries[index])); in onPreferenceChange()
123 mPreference.setSummary(mListSummaries[index]); in updateState()
126 mContext.getResources().getString(STREAMING_LABEL_ID, mListSummaries[index])); in updateState()
DBluetoothAvrcpVersionPreferenceController.java41 private final String[] mListSummaries; field in BluetoothAvrcpVersionPreferenceController
47 mListSummaries = context.getResources().getStringArray(R.array.bluetooth_avrcp_versions); in BluetoothAvrcpVersionPreferenceController()
74 listPreference.setSummary(mListSummaries[index]); in updateState()
DSecondaryDisplayPreferenceController.java36 private final String[] mListSummaries; field in SecondaryDisplayPreferenceController
42 mListSummaries = context.getResources().getStringArray( in SecondaryDisplayPreferenceController()
80 listPreference.setSummary(mListSummaries[index]); in updateSecondaryDisplayDevicesOptions()
DDebugNonRectClipOperationsPreferenceController.java39 private final String[] mListSummaries; field in DebugNonRectClipOperationsPreferenceController
45 mListSummaries = context.getResources().getStringArray(R.array.show_non_rect_clip_entries); in DebugNonRectClipOperationsPreferenceController()
84 listPreference.setSummary(mListSummaries[index]); in updateShowNonRectClipOptions()
DDebugGpuOverdrawPreferenceController.java39 private final String[] mListSummaries; field in DebugGpuOverdrawPreferenceController
45 mListSummaries = context.getResources().getStringArray(R.array.debug_hw_overdraw_entries); in DebugGpuOverdrawPreferenceController()
84 listPreference.setSummary(mListSummaries[index]); in updateDebugHwOverdrawOptions()
DProfileGpuRenderingPreferenceController.java38 private final String[] mListSummaries; field in ProfileGpuRenderingPreferenceController
44 mListSummaries = context.getResources().getStringArray(R.array.track_frame_time_entries); in ProfileGpuRenderingPreferenceController()
82 listPreference.setSummary(mListSummaries[index]); in updateTrackFrameTimeOptions()
/packages/apps/Settings/src/com/android/settings/development/
DAbstractBluetoothA2dpPreferenceController.java49 private final String[] mListSummaries; field in AbstractBluetoothA2dpPreferenceController
57 mListSummaries = getListSummaries(); in AbstractBluetoothA2dpPreferenceController()
72 mPreference.setSummary(mListSummaries[getDefaultIndex()]); in displayPreference()
99 mPreference.setSummary(mListSummaries[index]); in onPreferenceChange()
102 mContext.getResources().getString(STREAMING_LABEL_ID, mListSummaries[index])); in onPreferenceChange()
127 mPreference.setSummary(mListSummaries[index]); in updateState()
130 mContext.getResources().getString(STREAMING_LABEL_ID, mListSummaries[index])); in updateState()
DBluetoothAvrcpVersionPreferenceController.java41 private final String[] mListSummaries; field in BluetoothAvrcpVersionPreferenceController
47 mListSummaries = context.getResources().getStringArray(R.array.bluetooth_avrcp_versions); in BluetoothAvrcpVersionPreferenceController()
74 listPreference.setSummary(mListSummaries[index]); in updateState()
DBluetoothMapVersionPreferenceController.java41 private final String[] mListSummaries; field in BluetoothMapVersionPreferenceController
47 mListSummaries = context.getResources().getStringArray(R.array.bluetooth_map_versions); in BluetoothMapVersionPreferenceController()
74 listPreference.setSummary(mListSummaries[index]); in updateState()
DDebugGpuOverdrawPreferenceController.java39 private final String[] mListSummaries; field in DebugGpuOverdrawPreferenceController
45 mListSummaries = context.getResources().getStringArray(R.array.debug_hw_overdraw_entries); in DebugGpuOverdrawPreferenceController()
84 listPreference.setSummary(mListSummaries[index]); in updateDebugHwOverdrawOptions()
DProfileGpuRenderingPreferenceController.java38 private final String[] mListSummaries; field in ProfileGpuRenderingPreferenceController
44 mListSummaries = context.getResources().getStringArray(R.array.track_frame_time_entries); in ProfileGpuRenderingPreferenceController()
82 listPreference.setSummary(mListSummaries[index]); in updateTrackFrameTimeOptions()
DSecondaryDisplayPreferenceController.java36 private final String[] mListSummaries; field in SecondaryDisplayPreferenceController
42 mListSummaries = context.getResources().getStringArray( in SecondaryDisplayPreferenceController()
80 listPreference.setSummary(mListSummaries[index]); in updateSecondaryDisplayDevicesOptions()
DDebugNonRectClipOperationsPreferenceController.java39 private final String[] mListSummaries; field in DebugNonRectClipOperationsPreferenceController
45 mListSummaries = context.getResources().getStringArray(R.array.show_non_rect_clip_entries); in DebugNonRectClipOperationsPreferenceController()
84 listPreference.setSummary(mListSummaries[index]); in updateShowNonRectClipOptions()
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/
DSecondaryDisplayPreferenceControllerTest.java64 private String[] mListSummaries; field in SecondaryDisplayPreferenceControllerTest
74 mListSummaries = resources.getStringArray(R.array.overlay_display_devices_entries); in setup()
106 verify(mPreference).setSummary(mListSummaries[1]); in updateState_set480p_shouldSetPreferenceTo480p()
117 verify(mPreference).setSummary(mListSummaries[3]); in updateState_set720p_shouldSetPreferenceTo720p()
125 verify(mPreference).setSummary(mListSummaries[0]); in updateState_nothingSet_shouldSetDefaultToNone()
137 verify(mPreference).setSummary(mListSummaries[0]); in onDeveloperOptionsSwitchDisabled_shouldDisablePreferenceAndSetToNone()
DProfileGpuRenderingPreferenceControllerTest.java55 private String[] mListSummaries; field in ProfileGpuRenderingPreferenceControllerTest
64 mListSummaries = mContext.getResources().getStringArray(R.array.track_frame_time_entries); in setup()
93 verify(mPreference).setSummary(mListSummaries[1]); in updateState_option1Set_shouldUpdatePreferenceToOption1()
103 verify(mPreference).setSummary(mListSummaries[2]); in updateState_option2Set_shouldUpdatePreferenceToOption2()
113 verify(mPreference).setSummary(mListSummaries[0]); in updateState_noOptionSet_shouldDefaultToOption0()
DBluetoothMapVersionPreferenceControllerTest.java61 private String[] mListSummaries; field in BluetoothMapVersionPreferenceControllerTest
69 mListSummaries = resources.getStringArray(R.array.bluetooth_map_versions); in setup()
102 verify(mPreference).setSummary(mListSummaries[1]); in updateState_setMap13_shouldSetPreferenceToMap13()
112 verify(mPreference).setSummary(mListSummaries[2]); in updateState_setMap14_shouldSetPreferenceToMap14()
120 verify(mPreference).setSummary(mListSummaries[0]); in updateState_noValueSet_shouldSetDefaultToMap12()
DDebugGpuOverdrawPreferenceControllerTest.java55 private String[] mListSummaries; field in DebugGpuOverdrawPreferenceControllerTest
64 mListSummaries = mContext.getResources().getStringArray( in setup()
94 verify(mPreference).setSummary(mListSummaries[1]); in updateState_option1Set_shouldUpdatePreferenceToOption1()
104 verify(mPreference).setSummary(mListSummaries[2]); in updateState_option2Set_shouldUpdatePreferenceToOption2()
114 verify(mPreference).setSummary(mListSummaries[0]); in updateState_noOptionSet_shouldDefaultToOption0()
DBluetoothAvrcpVersionPreferenceControllerTest.java62 private String[] mListSummaries; field in BluetoothAvrcpVersionPreferenceControllerTest
70 mListSummaries = resources.getStringArray(R.array.bluetooth_avrcp_versions); in setup()
102 verify(mPreference).setSummary(mListSummaries[1]); in updateState_setAvrcp13_shouldSetPreferenceToAvrcp13()
112 verify(mPreference).setSummary(mListSummaries[2]); in updateState_setAvrcp15_shouldSetPreferenceToAvrcp15()
120 verify(mPreference).setSummary(mListSummaries[0]); in updateState_noValueSet_shouldSetDefaultToAvrcp14()
DDebugNonRectClipOperationsPreferenceControllerTest.java55 private String[] mListSummaries; field in DebugNonRectClipOperationsPreferenceControllerTest
64 mListSummaries = mContext.getResources().getStringArray(R.array.show_non_rect_clip_entries); in setup()
96 verify(mPreference).setSummary(mListSummaries[1]); in updateState_option1Set_shouldUpdatePreferenceToOption1()
107 verify(mPreference).setSummary(mListSummaries[2]); in updateState_option2Set_shouldUpdatePreferenceToOption2()
117 verify(mPreference).setSummary(mListSummaries[0]); in updateState_noOptionSet_shouldDefaultToOption0()
DBackgroundProcessLimitPreferenceControllerTest.java60 private String[] mListSummaries; field in BackgroundProcessLimitPreferenceControllerTest
69 mListSummaries = mContext.getResources().getStringArray(R.array.app_process_limit_entries); in setup()
100 verify(mPreference).setSummary(mListSummaries[1]); in updateState_noBackgroundProcessSet_shouldSetPreferenceToNoBackgroundProcess()
111 verify(mPreference).setSummary(mListSummaries[2]); in updateState_1ProcessSet_shouldSetPreference1BackgroundProcess()
121 verify(mPreference).setSummary(mListSummaries[0]); in updateState_veryHighLimit_shouldDefaultToStandardLimit()
DAnimatorDurationScalePreferenceControllerTest.java65 private String[] mListSummaries; field in AnimatorDurationScalePreferenceControllerTest
75 mListSummaries = mContext.getResources() in setup()
106 verify(mPreference).setSummary(mListSummaries[5]); in updateState_option5Set_shouldUpdatePreferenceToOption5()
117 verify(mPreference).setSummary(mListSummaries[3]); in updateState_option3Set_shouldUpdatePreferenceToOption3()
DTransitionAnimationScalePreferenceControllerTest.java66 private String[] mListSummaries; field in TransitionAnimationScalePreferenceControllerTest
76 mListSummaries = resources.getStringArray(R.array.transition_animation_scale_entries); in setup()
107 verify(mPreference).setSummary(mListSummaries[5]); in updateState_option5Set_shouldUpdatePreferenceToOption5()
118 verify(mPreference).setSummary(mListSummaries[3]); in updateState_option3Set_shouldUpdatePreferenceToOption3()
DWindowAnimationScalePreferenceControllerTest.java66 private String[] mListSummaries; field in WindowAnimationScalePreferenceControllerTest
76 mListSummaries = resources.getStringArray(R.array.window_animation_scale_entries); in setup()
106 verify(mPreference).setSummary(mListSummaries[5]); in updateState_option5Set_shouldUpdatePreferenceToOption5()
117 verify(mPreference).setSummary(mListSummaries[3]); in updateState_option3Set_shouldUpdatePreferenceToOption3()
DLogdSizePreferenceControllerTest.java56 private String[] mListSummaries; field in LogdSizePreferenceControllerTest
65 mListSummaries = mContext.getResources().getStringArray(R.array.select_logd_size_summaries); in setup()
76 verify(mPreference).setSummary(mListSummaries[2]); in onDeveloperOptionsSwitchDisabled_shouldDisableAndResetPreferenceToDefault()
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/autofill/
DAutofillLoggingLevelPreferenceControllerTest.java68 private String[] mListSummaries; field in AutofillLoggingLevelPreferenceControllerTest
82 mListSummaries = resources.getStringArray(R.array.autofill_logging_level_entries); in setup()
142 verify(mPreference).setSummary(mListSummaries[IDX_OFF]); in onSettingsChange_off()
152 verify(mPreference).setSummary(mListSummaries[IDX_DEBUG]); in onSettingsChange_debug()
162 verify(mPreference).setSummary(mListSummaries[IDX_VERBOSE]); in onSettingsChange_verbose()

12