Searched refs:PreferenceConstants (Results 1 – 15 of 15) sorted by relevance
34 getPreferenceManager().setSharedPreferencesName(PreferenceConstants.PREFERENCE_NAME); in onCreate()48 config.setPrefs(getSharedPreferences(PreferenceConstants.PREFERENCE_NAME, MODE_PRIVATE)); in onCreate()62 … SharedPreferences prefs = getSharedPreferences(PreferenceConstants.PREFERENCE_NAME, MODE_PRIVATE); in onDialogClosed()64 editor.remove(PreferenceConstants.PREFERENCE_LEVEL_ROW); in onDialogClosed()65 editor.remove(PreferenceConstants.PREFERENCE_LEVEL_INDEX); in onDialogClosed()66 editor.remove(PreferenceConstants.PREFERENCE_LEVEL_COMPLETED); in onDialogClosed()67 editor.remove(PreferenceConstants.PREFERENCE_LINEAR_MODE); in onDialogClosed()68 editor.remove(PreferenceConstants.PREFERENCE_TOTAL_GAME_TIME); in onDialogClosed()69 editor.remove(PreferenceConstants.PREFERENCE_PEARLS_COLLECTED); in onDialogClosed()70 editor.remove(PreferenceConstants.PREFERENCE_PEARLS_TOTAL); in onDialogClosed()[all …]
102 … SharedPreferences prefs = getSharedPreferences(PreferenceConstants.PREFERENCE_NAME, MODE_PRIVATE); in onCreate()103 … final boolean debugLogs = prefs.getBoolean(PreferenceConstants.PREFERENCE_ENABLE_DEBUG, false); in onCreate()146 mPrefsEditor.remove(PreferenceConstants.PREFERENCE_LEVEL_ROW); in onCreate()147 mPrefsEditor.remove(PreferenceConstants.PREFERENCE_LEVEL_INDEX); in onCreate()148 mPrefsEditor.remove(PreferenceConstants.PREFERENCE_LEVEL_COMPLETED); in onCreate()149 mPrefsEditor.remove(PreferenceConstants.PREFERENCE_LINEAR_MODE); in onCreate()150 mPrefsEditor.remove(PreferenceConstants.PREFERENCE_TOTAL_GAME_TIME); in onCreate()151 mPrefsEditor.remove(PreferenceConstants.PREFERENCE_PEARLS_COLLECTED); in onCreate()152 mPrefsEditor.remove(PreferenceConstants.PREFERENCE_PEARLS_TOTAL); in onCreate()153 mPrefsEditor.remove(PreferenceConstants.PREFERENCE_ROBOTS_DESTROYED); in onCreate()[all …]
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()[all …]
43 … SharedPreferences prefs = getSharedPreferences(PreferenceConstants.PREFERENCE_NAME, MODE_PRIVATE);44 final int row = prefs.getInt(PreferenceConstants.PREFERENCE_LEVEL_ROW, 0);45 final int index = prefs.getInt(PreferenceConstants.PREFERENCE_LEVEL_INDEX, 0);57 … SharedPreferences prefs = getSharedPreferences(PreferenceConstants.PREFERENCE_NAME, MODE_PRIVATE);58 final int row = prefs.getInt(PreferenceConstants.PREFERENCE_LEVEL_ROW, 0);59 final int index = prefs.getInt(PreferenceConstants.PREFERENCE_LEVEL_INDEX, 0);94 … SharedPreferences prefs = getSharedPreferences(PreferenceConstants.PREFERENCE_NAME, MODE_PRIVATE); in onCreate()95 …final boolean extrasUnlocked = prefs.getBoolean(PreferenceConstants.PREFERENCE_EXTRAS_UNLOCKED, fa… in onCreate()
140 … SharedPreferences prefs = getSharedPreferences(PreferenceConstants.PREFERENCE_NAME, MODE_PRIVATE); in onCreate()141 final float playTime = prefs.getFloat(PreferenceConstants.PREFERENCE_TOTAL_GAME_TIME, 0.0f); in onCreate()142 final int ending = prefs.getInt(PreferenceConstants.PREFERENCE_LAST_ENDING, -1); in onCreate()143 … final int pearlsCollected = prefs.getInt(PreferenceConstants.PREFERENCE_PEARLS_COLLECTED, 0); in onCreate()144 final int pearlsTotal = prefs.getInt(PreferenceConstants.PREFERENCE_PEARLS_TOTAL, 0); in onCreate()146 final int enemies = prefs.getInt(PreferenceConstants.PREFERENCE_ROBOTS_DESTROYED, 0); in onCreate()
19 public class PreferenceConstants { class
55 import org.connectbot.util.PreferenceConstants;179 String string = manager.getStringParameter(PreferenceConstants.SCROLLBACK, null); in TerminalBridge()183 scrollback = PreferenceConstants.DEFAULT_SCROLLBACK; in TerminalBridge()186 string = manager.getStringParameter(PreferenceConstants.FONTSIZE, null); in TerminalBridge()190 fontSize = PreferenceConstants.DEFAULT_FONT_SIZE; in TerminalBridge()194 manager.getIntParameter(PreferenceConstants.COLOR_FG, PreferenceConstants.DEFAULT_FG_COLOR); in TerminalBridge()196 manager.getIntParameter(PreferenceConstants.COLOR_BG, PreferenceConstants.DEFAULT_BG_COLOR); in TerminalBridge()198 delKey = manager.getStringParameter(PreferenceConstants.DELKEY, PreferenceConstants.DELKEY_DEL); in TerminalBridge()292 if (PreferenceConstants.DELKEY_BACKSPACE.equals(delKey)) { in connect()312 manager.getStringParameter(PreferenceConstants.ENCODING, Charset.defaultCharset().name()); in updateCharset()[all …]
43 import org.connectbot.util.PreferenceConstants;93 wantKeyVibration = mPreferences.getBoolean(PreferenceConstants.BUMPY_ARROWS, true); in TerminalManager()94 wantBellVibration = mPreferences.getBoolean(PreferenceConstants.BELL_VIBRATE, true); in TerminalManager()95 wantAudible = mPreferences.getBoolean(PreferenceConstants.BELL, true); in TerminalManager()220 mPreferences.getFloat(PreferenceConstants.BELL_VOLUME, in enableMediaPlayer()221 PreferenceConstants.DEFAULT_BELL_VOLUME); in enableMediaPlayer()269 if (PreferenceConstants.BELL.equals(key)) { in onSharedPreferenceChanged()270 wantAudible = sharedPreferences.getBoolean(PreferenceConstants.BELL, true); in onSharedPreferenceChanged()276 } else if (PreferenceConstants.BELL_VOLUME.equals(key)) { in onSharedPreferenceChanged()279 sharedPreferences.getFloat(PreferenceConstants.BELL_VOLUME, in onSharedPreferenceChanged()[all …]
37 import org.connectbot.util.PreferenceConstants;120 if (PreferenceConstants.KEYMODE_RIGHT.equals(keymode)) { in onKey()130 } else if (PreferenceConstants.KEYMODE_LEFT.equals(keymode)) { in onKey()238 if (PreferenceConstants.KEYMODE_RIGHT.equals(keymode)) { in onKey()253 } else if (PreferenceConstants.KEYMODE_LEFT.equals(keymode)) { in onKey()288 manager.getStringParameter(PreferenceConstants.CAMERA, in onKey()289 PreferenceConstants.CAMERA_CTRLA_SPACE); in onKey()290 if (PreferenceConstants.CAMERA_CTRLA_SPACE.equals(camera)) { in onKey()293 } else if (PreferenceConstants.CAMERA_CTRLA.equals(camera)) { in onKey()295 } else if (PreferenceConstants.CAMERA_ESC.equals(camera)) { in onKey()[all …]
52 mPreferences.getInt(PreferenceConstants.COLOR_FG, PreferenceConstants.DEFAULT_FG_COLOR); in onCreate()54 mPreferences.getInt(PreferenceConstants.COLOR_BG, PreferenceConstants.DEFAULT_BG_COLOR); in onCreate()240 editor.putInt(PreferenceConstants.COLOR_FG, mFgColor); in colorChanged()243 editor.putInt(PreferenceConstants.COLOR_BG, mBgColor); in colorChanged()274 mFgColor = PreferenceConstants.DEFAULT_FG_COLOR; in onCreateOptionsMenu()275 mBgColor = PreferenceConstants.DEFAULT_BG_COLOR; in onCreateOptionsMenu()277 editor.putInt(PreferenceConstants.COLOR_FG, mFgColor); in onCreateOptionsMenu()278 editor.putInt(PreferenceConstants.COLOR_BG, mBgColor); in onCreateOptionsMenu()
24 public class PreferenceConstants { class
58 PreferenceConstants.DEFAULT_BELL_VOLUME) * 100)); in onCreateDialogView()
80 import org.connectbot.util.PreferenceConstants;266 if (prefs.getBoolean(PreferenceConstants.FULLSCREEN, false)) { in onCreate()340 if (prefs.getBoolean(PreferenceConstants.HIDE_KEYBOARD, false)) { in onCreate()565 rotateDefault = PreferenceConstants.ROTATION_PORTRAIT; in configureOrientation()567 rotateDefault = PreferenceConstants.ROTATION_LANDSCAPE; in configureOrientation()570 String rotate = prefs.getString(PreferenceConstants.ROTATION, rotateDefault); in configureOrientation()571 if (PreferenceConstants.ROTATION_DEFAULT.equals(rotate)) { in configureOrientation()576 if (PreferenceConstants.ROTATION_LANDSCAPE.equals(rotate)) { in configureOrientation()579 } else if (PreferenceConstants.ROTATION_PORTRAIT.equals(rotate)) { in configureOrientation()760 if (wakelock != null && prefs.getBoolean(PreferenceConstants.KEEP_ALIVE, true)) { in onResume()
META-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...