Searched refs:sharedPreferences (Results 1 – 8 of 8) sorted by relevance
/external/webrtc/examples/androidapp/src/org/appspot/apprtc/ |
D | SettingsActivity.java | 121 SharedPreferences sharedPreferences = in onResume() local 123 sharedPreferences.registerOnSharedPreferenceChangeListener(this); in onResume() 124 updateSummaryB(sharedPreferences, keyprefVideoCall); in onResume() 125 updateSummaryB(sharedPreferences, keyprefScreencapture); in onResume() 126 updateSummaryB(sharedPreferences, keyprefCamera2); in onResume() 127 updateSummary(sharedPreferences, keyprefResolution); in onResume() 128 updateSummary(sharedPreferences, keyprefFps); in onResume() 129 updateSummaryB(sharedPreferences, keyprefCaptureQualitySlider); in onResume() 130 updateSummary(sharedPreferences, keyprefMaxVideoBitrateType); in onResume() 131 updateSummaryBitrate(sharedPreferences, keyprefMaxVideoBitrateValue); in onResume() [all …]
|
D | AppRTCAudioManager.java | 173 SharedPreferences sharedPreferences = PreferenceManager.getDefaultSharedPreferences(context); in AppRTCAudioManager() local 174 useSpeakerphone = sharedPreferences.getString(context.getString(R.string.pref_speakerphone_key), in AppRTCAudioManager()
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowSharedPreferencesTest.java | 26 private SharedPreferences sharedPreferences; field in ShadowSharedPreferencesTest 36 sharedPreferences = context.getSharedPreferences(FILENAME, Context.MODE_PRIVATE); in setUp() 38 assertThat(sharedPreferences.getAll()).hasSize(0); in setUp() 40 editor = sharedPreferences.edit(); in setUp() 71 …assertThat(sharedPreferences.getString("string", "no value for key")).isEqualTo("no value for key"… in commit_shouldClearEditsThatNeedRemoveAndEditsThatNeedCommit() 77 … assertThat(sharedPreferences.getString("string", "no value for key")).isEqualTo("value for key"); in commit_shouldClearEditsThatNeedRemoveAndEditsThatNeedCommit() 83 assertThat(sharedPreferences.getAll()).hasSize(6); in getAll_shouldReturnAllValues() 84 assertThat(sharedPreferences.getAll().get("int")).isEqualTo(2); in getAll_shouldReturnAllValues() 137 assertThat(sharedPreferences.getString("deleteMe", null)).isNull(); in putString_shouldRemovePairIfValueIsNull() 147 assertThat(sharedPreferences.getStringSet("deleteMe", null)).isNull(); in putStringSet_shouldRemovePairIfValueIsNull() [all …]
|
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/service/ |
D | TerminalManager.java | 267 public void onSharedPreferenceChanged(SharedPreferences sharedPreferences, String key) { in onSharedPreferenceChanged() argument 269 wantAudible = sharedPreferences.getBoolean(PreferenceConstants.BELL, true); in onSharedPreferenceChanged() 278 sharedPreferences.getFloat(PreferenceConstants.BELL_VOLUME, in onSharedPreferenceChanged() 283 wantBellVibration = sharedPreferences.getBoolean(PreferenceConstants.BELL_VIBRATE, true); in onSharedPreferenceChanged() 285 wantKeyVibration = sharedPreferences.getBoolean(PreferenceConstants.BUMPY_ARROWS, true); in onSharedPreferenceChanged()
|
D | TerminalKeyListener.java | 494 public void onSharedPreferenceChanged(SharedPreferences sharedPreferences, String key) { in onSharedPreferenceChanged() argument
|
D | TerminalBridge.java | 846 public void onSharedPreferenceChanged(SharedPreferences sharedPreferences, String key) { in onSharedPreferenceChanged() argument
|
/external/replicaisland/src/com/replica/replicaisland/ |
D | KeyboardConfigDialogPreference.java | 203 public void setPrefs(SharedPreferences sharedPreferences) { in setPrefs() argument 204 mSharedPrefs = sharedPreferences; in setPrefs()
|
/external/angle/src/android_system_settings/src/com/android/angle/common/ |
D | MainFragment.java | 112 public void onSharedPreferenceChanged(SharedPreferences sharedPreferences, String key) in onSharedPreferenceChanged() argument
|