/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/ |
TargetMenuListener.java | 58 AdtPrefs prefs = AdtPrefs.getPrefs(); local 60 boolean autoPick = prefs.isAutoPickRenderTarget(); 62 prefs.setAutoPickRenderTarget(autoPick); 71 prefs.setAutoPickRenderTarget(false);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/ui/ |
ResourceExplorerView.java | 275 * @param prefs The preference store 279 final IPreferenceStore prefs) { 290 // Otherwise we just read the width from the prefs and apply it. 291 if (prefs == null || prefs.contains(pref_name) == false) { 295 // init the prefs store with the current value 296 if (prefs != null) { 297 prefs.setValue(pref_name, col.getWidth()); 300 col.setWidth(prefs.getInt(pref_name)); 305 if (prefs != null && pref_name != null) [all...] |
/development/samples/ApiDemos/res/xml/ |
preference_headers.xml | 24 android:title="Prefs 1" 29 android:title="Prefs 2"
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/prefs/ |
BackingStoreExceptionTest.java | 17 package org.apache.harmony.tests.java.util.prefs; 19 import java.util.prefs.BackingStoreException;
|
/libcore/harmony-tests/src/test/resources/resources/prefs/java/util/prefs/ |
userprefs.xml | 40 <node name="prefs"> 75 <!--prefs-->
|
/libcore/ojluni/src/main/java/java/util/prefs/ |
FileSystemPreferencesFactory.java | 26 package java.util.prefs; 31 * java.util.prefs.PreferencesFactory system property.
|
FileSystemPreferences.java | 27 package java.util.prefs; 60 return PlatformLogger.getLogger("java.util.prefs"); 100 new File(System.getProperty("java.util.prefs.userRoot", 161 System.getProperty("java.util.prefs.systemRoot","/etc/.java"); 422 // Add shutdown hook to flush cached prefs on normal termination 446 getLogger().warning("Couldn't flush user prefs: " + e); 453 getLogger().warning("Couldn't flush system prefs: " + e); 467 prefsFile = new File(dir, "prefs.xml"); 468 tmpFile = new File(dir, "prefs.tmp"); 477 prefsFile = new File(dir, "prefs.xml") [all...] |
/packages/apps/Messaging/src/com/android/messaging/util/ |
RingtoneUtil.java | 36 final BuglePrefs prefs = BuglePrefs.getApplicationPrefs(); local 39 ringtoneString = prefs.getString(prefKey, null);
|
/packages/screensavers/WebView/src/com/android/dreams/web/ |
SetURL.java | 48 final SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(this); local 49 final Editor editor = prefs.edit();
|
SetURLInteractive.java | 48 final SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(this); local 49 final Editor editor = prefs.edit();
|
/prebuilts/gradle-plugin/com/android/tools/common/25.2.0-alpha1/ |
common-25.2.0-alpha1-sources.jar | |
/prebuilts/gradle-plugin/com/android/tools/common/25.2.0-alpha3/ |
common-25.2.0-alpha3-sources.jar | |
/prebuilts/gradle-plugin/com/android/tools/common/25.2.0-alpha4/ |
common-25.2.0-alpha4-sources.jar | |
/prebuilts/gradle-plugin/com/android/tools/common/25.2.0-alpha7/ |
common-25.2.0-alpha7-sources.jar | |
/prebuilts/gradle-plugin/com/android/tools/common/25.2.0-beta1/ |
common-25.2.0-beta1-sources.jar | |
/prebuilts/gradle-plugin/com/android/tools/common/25.2.0-beta2/ |
common-25.2.0-beta2-sources.jar | |
/prebuilts/gradle-plugin/com/android/tools/common/25.2.0-beta3/ |
common-25.2.0-beta3-sources.jar | |
/external/replicaisland/src/com/replica/replicaisland/ |
GameOverActivity.java | 140 SharedPreferences prefs = getSharedPreferences(PreferenceConstants.PREFERENCE_NAME, MODE_PRIVATE); local 141 final float playTime = prefs.getFloat(PreferenceConstants.PREFERENCE_TOTAL_GAME_TIME, 0.0f); 142 final int ending = prefs.getInt(PreferenceConstants.PREFERENCE_LAST_ENDING, -1); 143 final int pearlsCollected = prefs.getInt(PreferenceConstants.PREFERENCE_PEARLS_COLLECTED, 0); 144 final int pearlsTotal = prefs.getInt(PreferenceConstants.PREFERENCE_PEARLS_TOTAL, 0); 146 final int enemies = prefs.getInt(PreferenceConstants.PREFERENCE_ROBOTS_DESTROYED, 0);
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
SearchSettingsImpl.java | 137 private int getAndIncrementIntPreference(SharedPreferences prefs, String name) { 138 int i = prefs.getInt(name, 0); 150 SharedPreferences prefs = getSearchPreferences(); local 154 int lastVoiceSearchVersion = prefs.getInt(LAST_SEEN_VOICE_SEARCH_VERSION, 0); 155 long firstHintTime = prefs.getLong(FIRST_VOICE_HINT_DISPLAY_TIME, 0); 157 SharedPreferencesCompat.apply(prefs.edit()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
QuickResponseUtils.java | 63 final SharedPreferences prefs = context.getSharedPreferences( local 67 final boolean responsesExist = prefs.contains(KEY_CANNED_RESPONSE_PREF_1) 68 || prefs.contains(KEY_CANNED_RESPONSE_PREF_2) 69 || prefs.contains(KEY_CANNED_RESPONSE_PREF_3) 70 || prefs.contains(KEY_CANNED_RESPONSE_PREF_4); 108 final SharedPreferences.Editor editor = prefs.edit();
|
/system/update_engine/ |
omaha_request_action.cc | 112 PrefsInterface* prefs) { 132 if (!prefs->GetString(kPrefsPreviousVersion, &prev_version)) { 145 LOG_IF(WARNING, !prefs->SetString(kPrefsPreviousVersion, "")) 168 string GetCohortArgXml(PrefsInterface* prefs, 173 if (!prefs->Exists(prefs_key)) 176 if (!prefs->GetString(prefs_key, &cohort_value) || cohort_value.empty()) 211 system_state->prefs()); 246 app_cohort_args += GetCohortArgXml(system_state->prefs(), 248 app_cohort_args += GetCohortArgXml(system_state->prefs(), 250 app_cohort_args += GetCohortArgXml(system_state->prefs(), 562 PrefsInterface* prefs = system_state->prefs(); local 1340 PrefsInterface* prefs = system_state->prefs(); local 1354 PrefsInterface* prefs = system_state->prefs(); local [all...] |
/packages/apps/Calendar/src/com/android/calendar/alerts/ |
AlertUtils.java | 76 // The # of days to save alert states in the shared prefs table, before flushing. This 249 SharedPreferences prefs = getFiredAlertsTable(context); 250 return prefs.contains(getFiredAlertsKey(eventId, beginTime, alarmTime)); 260 SharedPreferences prefs = getFiredAlertsTable(context); 261 SharedPreferences.Editor editor = prefs.edit(); 272 SharedPreferences prefs = getFiredAlertsTable(context); 276 long lastFlushTimeMs = prefs.getLong(KEY_LAST_FLUSH_TIME_MS, 0); 279 Log.d(TAG, "Flushing old alerts from shared prefs table"); 283 SharedPreferences.Editor editor = prefs.edit(); 285 for (Map.Entry<String, ?> entry : prefs.getAll().entrySet()) [all...] |
/external/libchrome/base/ |
BUILD.gn | [all...] |
/packages/apps/Calendar/src/com/android/calendar/ |
OtherPreferences.java | 95 SharedPreferences prefs = manager.getSharedPreferences(); local 116 int startHour = prefs.getInt(KEY_OTHER_QUIET_HOURS_START_HOUR, 118 int startMinute = prefs.getInt(KEY_OTHER_QUIET_HOURS_START_MINUTE, 127 int endHour = prefs.getInt(KEY_OTHER_QUIET_HOURS_END_HOUR, 129 int endMinute = prefs.getInt(KEY_OTHER_QUIET_HOURS_END_MINUTE, 189 SharedPreferences prefs = getPreferenceManager().getSharedPreferences(); local 190 SharedPreferences.Editor editor = prefs.edit();
|
/packages/apps/Messaging/src/com/android/messaging/ |
BugleApplication.java | 166 // Handle shared prefs upgrade & Load MMS Configuration 235 LogUtil.i(LogUtil.BUGLE_TAG, "Upgrading shared prefs from " + existingVersion + 238 // Perform upgrade on application-wide prefs. 240 // Perform upgrade on each subscription's prefs. 253 LogUtil.e(LogUtil.BUGLE_TAG, "Failed to upgrade shared prefs", ex); 257 // and ignore any prefs migration. 258 LogUtil.e(LogUtil.BUGLE_TAG, "Shared prefs downgrade requested and ignored. " +
|