Lines Matching refs:PreferenceConstants

139 … SharedPreferences prefs = getSharedPreferences(PreferenceConstants.PREFERENCE_NAME, MODE_PRIVATE);  in onCreate()
140 final int row = prefs.getInt(PreferenceConstants.PREFERENCE_LEVEL_ROW, 0); in onCreate()
141 final int index = prefs.getInt(PreferenceConstants.PREFERENCE_LEVEL_INDEX, 0); in onCreate()
144 final int linear = prefs.getInt(PreferenceConstants.PREFERENCE_LINEAR_MODE, 0); in onCreate()
190 … SharedPreferences prefs = getSharedPreferences(PreferenceConstants.PREFERENCE_NAME, MODE_PRIVATE); in onResume()
191 final int row = prefs.getInt(PreferenceConstants.PREFERENCE_LEVEL_ROW, 0); in onResume()
192 final int index = prefs.getInt(PreferenceConstants.PREFERENCE_LEVEL_INDEX, 0); in onResume()
209 final int lastVersion = prefs.getInt(PreferenceConstants.PREFERENCE_LAST_VERSION, 0); in onResume()
222 editor.putBoolean(PreferenceConstants.PREFERENCE_CLICK_ATTACK, false); in onResume()
231 editor.putBoolean(PreferenceConstants.PREFERENCE_SCREEN_CONTROLS, true); in onResume()
235 editor.putBoolean(PreferenceConstants.PREFERENCE_TILT_CONTROLS, true); in onResume()
261 editor.putBoolean(PreferenceConstants.PREFERENCE_SAFE_MODE, true); in onResume()
269 if (prefs.getInt(PreferenceConstants.PREFERENCE_LAST_ENDING, -1) != -1) { in onResume()
270 editor.putBoolean(PreferenceConstants.PREFERENCE_EXTRAS_UNLOCKED, true); in onResume()
275 editor.putInt(PreferenceConstants.PREFERENCE_LAST_VERSION, AndouKun.VERSION); in onResume()
282 prefs.getBoolean(PreferenceConstants.PREFERENCE_TILT_CONTROLS, false)) { in onResume()
346 … SharedPreferences prefs = getSharedPreferences(PreferenceConstants.PREFERENCE_NAME, MODE_PRIVATE); in onCreateDialog()
348 editor.putBoolean(PreferenceConstants.PREFERENCE_SCREEN_CONTROLS, true); in onCreateDialog()