Classes | |
class | SettingsPreferenceFragment |
Public Member Functions | |
void | onBackPressed () |
void | onSharedPreferenceChanged (SharedPreferences sharedPreferences, final String key) |
void | startAboutActivity () |
Public Member Functions inherited from eu.intermodalics.tango_ros_streamer.activities.AppCompatPreferenceActivity | |
void | addContentView (View view, ViewGroup.LayoutParams params) |
MenuInflater | getMenuInflater () |
ActionBar | getSupportActionBar () |
void | invalidateOptionsMenu () |
void | onConfigurationChanged (Configuration newConfig) |
void | setContentView (@LayoutRes int layoutResID) |
void | setContentView (View view) |
void | setContentView (View view, ViewGroup.LayoutParams params) |
void | setSupportActionBar (@Nullable Toolbar toolbar) |
Static Public Attributes | |
static final String | NEW_UUIDS_NAMES_MAP_ALERT = "new_uuids_names_map_alert" |
Protected Member Functions | |
boolean | isValidFragment (String fragmentName) |
void | onCreate (Bundle savedInstanceState) |
void | onDestroy () |
void | onStart () |
Protected Member Functions inherited from eu.intermodalics.tango_ros_streamer.activities.AppCompatPreferenceActivity | |
void | onCreate (Bundle savedInstanceState) |
void | onDestroy () |
void | onPostCreate (Bundle savedInstanceState) |
void | onPostResume () |
void | onStop () |
void | onTitleChanged (CharSequence title, int color) |
Private Member Functions | |
void | restartTango () |
void | updateMapChooserPreference () |
Static Private Member Functions | |
static void | bindPreferenceSummaryToValue (Preference preference) |
Private Attributes | |
BroadcastReceiver | mNewUuidsNamesMapAlertReceiver |
SettingsPreferenceFragment | mSettingsPreferenceFragment |
SharedPreferences | mSharedPref |
HashMap< String, String > | mUuidsNamesMap |
Static Private Attributes | |
static Preference.OnPreferenceChangeListener | sBindPreferenceSummaryToValueListener |
static final String | TAG = SettingsActivity.class.getSimpleName() |
A PreferenceActivity that presents a set of application settings. On handset devices, settings are presented as a single list. On tablets, settings are split by category, with category headers shown to the left of the list of settings.
See Android Design: Settings for design guidelines and the Settings API Guide for more information on developing a Settings UI.
Definition at line 54 of file SettingsActivity.java.
|
inlinestaticprivate |
Binds a preference's summary to its value. More specifically, when the preference's value is changed, its summary (line of text below the preference title) is updated to reflect the value. The summary is also immediately updated upon calling this method. The exact display format is dependent on the type of preference.
Definition at line 102 of file SettingsActivity.java.
|
inlineprotected |
This method stops fragment injection in malicious applications. Make sure to deny any unknown fragments here.
Definition at line 255 of file SettingsActivity.java.
|
inline |
Definition at line 285 of file SettingsActivity.java.
|
inlineprotected |
Definition at line 164 of file SettingsActivity.java.
|
inlineprotected |
Definition at line 227 of file SettingsActivity.java.
|
inline |
Implements OnSharedPreferenceChangeListener to trigger a snackbar if the change requires to restart the app to be applied.
Definition at line 118 of file SettingsActivity.java.
|
inlineprotected |
Definition at line 187 of file SettingsActivity.java.
|
inlineprivate |
Returns to Running Acitivity and restart Tango.
Definition at line 303 of file SettingsActivity.java.
|
inline |
Definition at line 295 of file SettingsActivity.java.
|
inlineprivate |
Definition at line 232 of file SettingsActivity.java.
|
private |
Definition at line 62 of file SettingsActivity.java.
|
private |
Definition at line 60 of file SettingsActivity.java.
|
private |
Definition at line 59 of file SettingsActivity.java.
|
private |
Definition at line 61 of file SettingsActivity.java.
|
static |
Definition at line 57 of file SettingsActivity.java.
|
staticprivate |
A preference value change listener that updates the preference's summary to reflect its new value.
Definition at line 68 of file SettingsActivity.java.
|
staticprivate |
Definition at line 56 of file SettingsActivity.java.