Home
last modified time | relevance | path

Searched refs:PreferenceConstants (Results 1 – 13 of 13) sorted by relevance

/external/replicaisland/src/com/replica/replicaisland/
DSetPreferencesActivity.java34 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 …]
DAndouKun.java102 … 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 …]
DMainMenuActivity.java139 … 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 …]
DExtrasMenuActivity.java43 … 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()
DGameOverActivity.java140 … 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()
DPreferenceConstants.java19 public class PreferenceConstants { class
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/service/
DTerminalManager.java43 import org.connectbot.util.PreferenceConstants;
91 wantKeyVibration = mPreferences.getBoolean(PreferenceConstants.BUMPY_ARROWS, true); in TerminalManager()
92 wantBellVibration = mPreferences.getBoolean(PreferenceConstants.BELL_VIBRATE, true); in TerminalManager()
93 wantAudible = mPreferences.getBoolean(PreferenceConstants.BELL, true); in TerminalManager()
219 mPreferences.getFloat(PreferenceConstants.BELL_VOLUME, in enableMediaPlayer()
220 PreferenceConstants.DEFAULT_BELL_VOLUME); in enableMediaPlayer()
268 if (PreferenceConstants.BELL.equals(key)) { in onSharedPreferenceChanged()
269 wantAudible = sharedPreferences.getBoolean(PreferenceConstants.BELL, true); in onSharedPreferenceChanged()
275 } else if (PreferenceConstants.BELL_VOLUME.equals(key)) { in onSharedPreferenceChanged()
278 sharedPreferences.getFloat(PreferenceConstants.BELL_VOLUME, in onSharedPreferenceChanged()
[all …]
DTerminalBridge.java55 import org.connectbot.util.PreferenceConstants;
177 String string = manager.getStringParameter(PreferenceConstants.SCROLLBACK, null); in TerminalBridge()
181 scrollback = PreferenceConstants.DEFAULT_SCROLLBACK; in TerminalBridge()
184 string = manager.getStringParameter(PreferenceConstants.FONTSIZE, null); in TerminalBridge()
188 fontSize = PreferenceConstants.DEFAULT_FONT_SIZE; in TerminalBridge()
192 manager.getIntParameter(PreferenceConstants.COLOR_FG, PreferenceConstants.DEFAULT_FG_COLOR); in TerminalBridge()
194 manager.getIntParameter(PreferenceConstants.COLOR_BG, PreferenceConstants.DEFAULT_BG_COLOR); in TerminalBridge()
196 delKey = manager.getStringParameter(PreferenceConstants.DELKEY, PreferenceConstants.DELKEY_DEL); in TerminalBridge()
290 if (PreferenceConstants.DELKEY_BACKSPACE.equals(delKey)) { in connect()
310 manager.getStringParameter(PreferenceConstants.ENCODING, Charset.defaultCharset().name()); in updateCharset()
[all …]
DTerminalKeyListener.java37 import org.connectbot.util.PreferenceConstants;
118 if (PreferenceConstants.KEYMODE_RIGHT.equals(keymode)) { in onKey()
128 } else if (PreferenceConstants.KEYMODE_LEFT.equals(keymode)) { in onKey()
236 if (PreferenceConstants.KEYMODE_RIGHT.equals(keymode)) { in onKey()
251 } else if (PreferenceConstants.KEYMODE_LEFT.equals(keymode)) { in onKey()
286 manager.getStringParameter(PreferenceConstants.CAMERA, in onKey()
287 PreferenceConstants.CAMERA_CTRLA_SPACE); in onKey()
288 if (PreferenceConstants.CAMERA_CTRLA_SPACE.equals(camera)) { in onKey()
291 } else if (PreferenceConstants.CAMERA_CTRLA.equals(camera)) { in onKey()
293 } else if (PreferenceConstants.CAMERA_ESC.equals(camera)) { in onKey()
[all …]
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/util/
DColorsActivity.java51 mPreferences.getInt(PreferenceConstants.COLOR_FG, PreferenceConstants.DEFAULT_FG_COLOR); in onCreate()
53 mPreferences.getInt(PreferenceConstants.COLOR_BG, PreferenceConstants.DEFAULT_BG_COLOR); in onCreate()
239 editor.putInt(PreferenceConstants.COLOR_FG, mFgColor); in colorChanged()
242 editor.putInt(PreferenceConstants.COLOR_BG, mBgColor); in colorChanged()
273 mFgColor = PreferenceConstants.DEFAULT_FG_COLOR; in onCreateOptionsMenu()
274 mBgColor = PreferenceConstants.DEFAULT_BG_COLOR; in onCreateOptionsMenu()
276 editor.putInt(PreferenceConstants.COLOR_FG, mFgColor); in onCreateOptionsMenu()
277 editor.putInt(PreferenceConstants.COLOR_BG, mBgColor); in onCreateOptionsMenu()
DPreferenceConstants.java22 public class PreferenceConstants { class
DVolumePreference.java57 PreferenceConstants.DEFAULT_BELL_VOLUME) * 100)); in onCreateDialogView()
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/
DConsoleActivity.java79 import org.connectbot.util.PreferenceConstants;
265 if (prefs.getBoolean(PreferenceConstants.FULLSCREEN, false)) { in onCreate()
339 if (prefs.getBoolean(PreferenceConstants.HIDE_KEYBOARD, false)) { in onCreate()
564 rotateDefault = PreferenceConstants.ROTATION_PORTRAIT; in configureOrientation()
566 rotateDefault = PreferenceConstants.ROTATION_LANDSCAPE; in configureOrientation()
569 String rotate = prefs.getString(PreferenceConstants.ROTATION, rotateDefault); in configureOrientation()
570 if (PreferenceConstants.ROTATION_DEFAULT.equals(rotate)) { in configureOrientation()
575 if (PreferenceConstants.ROTATION_LANDSCAPE.equals(rotate)) { in configureOrientation()
578 } else if (PreferenceConstants.ROTATION_PORTRAIT.equals(rotate)) { in configureOrientation()
760 if (wakelock != null && prefs.getBoolean(PreferenceConstants.KEEP_ALIVE, true)) { in onResume()