Searched refs:getPreferences (Results 1 – 7 of 7) sorted by relevance
168 getPreferences().registerOnSharedPreferenceChangeListener(mPrefListener); in initLocationListeners()183 private SharedPreferences getPreferences() { in getPreferences() method in TrackerService188 return getPreferences().getBoolean(NETWORK_PREF, true); in trackNetwork()192 return getPreferences().getBoolean(GPS_PREF, true); in trackGPS()196 return getPreferences().getBoolean(DEBUG_PREF, false); in doDebugLogging()200 return getPreferences().getBoolean(SIGNAL_PREF, false); in trackSignalStrength()205 String disString = getPreferences().getString(MIN_DIS_PREF, "0"); in getLocationMinDistance()216 String timeString = getPreferences().getString(MIN_TIME_PREF, "0"); in getLocationUpdateTime()263 getPreferences().unregisterOnSharedPreferenceChangeListener(mPrefListener); in stopListeners()
56 <li>{@link android.app.Activity#getPreferences(int) getPreferences()} — Use this from an77 {@link android.app.Activity#getPreferences(int) getPreferences()} method:</p>80 SharedPreferences sharedPref = getActivity().getPreferences(Context.MODE_PRIVATE);101 SharedPreferences sharedPref = getActivity().getPreferences(Context.MODE_PRIVATE);117 SharedPreferences sharedPref = getActivity().getPreferences(Context.MODE_PRIVATE);
93 SharedPreferences.Editor prefs = getPreferences(0).edit(); in configureAppWidget()120 int appWidgetId = getPreferences(0).getInt(PENDING_APPWIDGET_ID, -1); in handleAppWidgetConfigureResult()
90 <li>{@link android.app.Activity#getPreferences(int) getPreferences()} - Use this if you need
5020 public SharedPreferences getPreferences(int mode) { in getPreferences() method in Activity
3393 method public android.content.SharedPreferences getPreferences(int);56702 method protected static java.util.Properties getPreferences();
3314 method public android.content.SharedPreferences getPreferences(int);54173 method protected static java.util.Properties getPreferences();