/packages/apps/Email/src/com/android/email/ |
Account.java | 30 * and delete itself given a Preferences to work with. Each account is defined by a UUID. 55 private transient Preferences mPreferences; 118 Account(Preferences preferences, String uuid) { 120 refresh(preferences); 126 public void refresh(Preferences preferences) { 127 mPreferences = preferences; 129 mStoreUri = Utility.base64Decode(preferences.mSharedPreferences.getString(mUuid 131 mLocalStoreUri = preferences.mSharedPreferences.getString(mUuid + ".localStoreUri", null) [all...] |
AccountBackupRestore.java | 51 doBackupAccounts(context, Preferences.getPreferences(context)); 62 boolean restored = doRestoreAccounts(context, Preferences.getPreferences(context)); 78 * @param preferences used to access the backups (provided separately for testability) 81 Preferences preferences) { 83 Account[] oldBackups = preferences.getAccounts(); 85 backup.delete(preferences); 135 toAccount.save(preferences); 146 * @param preferences used to access the backups (provided separately for testability) 150 Preferences preferences) [all...] |
/development/apps/Term/src/com/android/term/ |
TermPreferences.java | 28 // Load the preferences from an XML resource 29 addPreferencesFromResource(R.xml.preferences);
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
RedirectGetter.java | 56 SharedPreferences preferences = getSharedPreferences("RedirectData", 0); local 58 mTextPref = preferences.getString("text", null); 71 SharedPreferences preferences = getSharedPreferences("RedirectData", 0); 72 SharedPreferences.Editor editor = preferences.edit();
|
PreferencesFromXml.java | 32 // Load the preferences from an XML resource 33 addPreferencesFromResource(R.xml.preferences);
|
RedirectMain.java | 92 SharedPreferences preferences = getSharedPreferences("RedirectData", 0); local 94 mTextPref = preferences.getString("text", null); 106 // Erase the preferences and exit! 107 SharedPreferences preferences = getSharedPreferences("RedirectData", 0); 108 preferences.edit().remove("text").commit(); 115 // Retrieve new text preferences.
|
/development/samples/SipDemo/src/com/example/android/sip/ |
SipSettings.java | 29 // Note that none of the preferences are actually defined here. 30 // They're all in the XML file res/xml/preferences.xml. 32 addPreferencesFromResource(R.xml.preferences);
|
/development/samples/VoiceRecognitionService/src/com/example/android/voicerecognitionservice/ |
VoiceRecognitionSettings.java | 27 // The name of the SharedPreferences file we'll store preferences in. 34 // The values of the preferences for the type of results to show (letters or numbers). 43 addPreferencesFromResource(R.xml.preferences);
|
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/ |
SettingsActivity.java | 31 // Load the preferences from an XML resource
32 addPreferencesFromResource(R.xml.preferences);
|
/external/webkit/WebKitTools/DumpRenderTree/win/ |
LayoutTestControllerWin.cpp | 131 COMPtr<IWebPreferences> preferences; 132 if (FAILED(webView->preferences(&preferences))) 135 preferences->setLoadsImagesAutomatically(FALSE); 291 COMPtr<IWebPreferences> preferences; 292 if (FAILED(webView->preferences(&preferences))) 295 COMPtr<IWebPreferencesPrivate> prefsPrivate(Query, preferences); 351 COMPtr<IWebPreferences> preferences; 352 if (FAILED(webView->preferences(&preferences)) 1013 COMPtr<IWebPreferences> preferences; local [all...] |
DumpRenderTree.cpp | 737 static void resetDefaultsToConsistentValues(IWebPreferences* preferences) 753 preferences->setStandardFontFamily(standardFamily); 754 preferences->setFixedFontFamily(fixedFamily); 755 preferences->setSerifFontFamily(standardFamily); 756 preferences->setSansSerifFontFamily(sansSerifFamily); 757 preferences->setCursiveFontFamily(cursiveFamily); 758 preferences->setFantasyFontFamily(fantasyFamily); 760 preferences->setAutosaves(FALSE); 761 preferences->setDefaultFontSize(16); 762 preferences->setDefaultFixedFontSize(13) 820 COMPtr<IWebPreferences> preferences; local [all...] |
/external/webkit/WebKit/win/WebCoreSupport/ |
WebInspectorClient.cpp | 130 // Keep preferences separate from the rest of the client, making sure we are using expected preference values. 140 COMPtr<WebPreferences> preferences(Query, iPreferences); 141 if (!preferences) 143 if (FAILED(preferences->setAutosaves(FALSE))) 145 if (FAILED(preferences->setPrivateBrowsingEnabled(TRUE))) 147 if (FAILED(preferences->setLoadsImagesAutomatically(TRUE))) 149 if (FAILED(preferences->setAuthorAndUserStylesEnabled(TRUE))) 151 if (FAILED(preferences->setAllowsAnimatedImages(TRUE))) 153 if (FAILED(preferences->setLoadsImagesAutomatically(TRUE))) 155 if (FAILED(preferences->setPlugInsEnabled(FALSE)) [all...] |
/external/webkit/WebKit/mac/WebCoreSupport/ |
WebInspectorClient.mm | 173 // Keep preferences separate from the rest of the client, making sure we are using expected preference values. 176 WebPreferences *preferences = [[WebPreferences alloc] init]; 177 [preferences setAutosaves:NO]; 178 [preferences setPrivateBrowsingEnabled:YES]; 179 [preferences setLoadsImagesAutomatically:YES]; 180 [preferences setAuthorAndUserStylesEnabled:YES]; 181 [preferences setJavaScriptEnabled:YES]; 182 [preferences setAllowsAnimatedImages:YES]; 183 [preferences setPlugInsEnabled:NO]; 184 [preferences setJavaEnabled:NO] [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/preferences/ |
Messages.java | 2 package com.android.ide.eclipse.adt.internal.preferences; 7 private static final String BUNDLE_NAME = "com.android.ide.eclipse.adt.internal.preferences.messages"; //$NON-NLS-1$
|
LaunchPreferencePage.java | 17 package com.android.ide.eclipse.adt.internal.preferences; 27 * Settings page for launch related preferences.
|
/external/webkit/WebKitTools/DumpRenderTree/mac/ |
DumpRenderTree.mm | 396 WebPreferences *preferences = [WebPreferences standardPreferences]; 398 [preferences setAllowUniversalAccessFromFileURLs:YES]; 399 [preferences setStandardFontFamily:@"Times"]; 400 [preferences setFixedFontFamily:@"Courier"]; 401 [preferences setSerifFontFamily:@"Times"]; 402 [preferences setSansSerifFontFamily:@"Helvetica"]; 403 [preferences setCursiveFontFamily:@"Apple Chancery"]; 404 [preferences setFantasyFontFamily:@"Papyrus"]; 405 [preferences setDefaultFontSize:16]; 406 [preferences setDefaultFixedFontSize:13] [all...] |
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
CellBroadcastReceiverApp.java | 27 * The application class loads the default preferences at first start, 39 PreferenceManager.setDefaultValues(this, R.xml.preferences, false);
|
/external/webkit/WebKit/mac/WebView/ |
WebView.mm | 597 _private->preferences = [standardPreferences retain]; 633 _private->page->settings()->setLocalStorageDatabasePath([[self preferences] _localStorageDatabasePath]); 664 WebPreferences *prefs = [self preferences]; 669 [[self preferences] _postPreferencesChangesNotification]; 882 if ([[self class] _viewClass:vClass andRepresentationClass:rClass forMIMEType:MIMEType allowingPlugins:[[[self _webView] preferences] arePlugInsEnabled]]) [all...] |
WebViewData.mm | 82 ASSERT(applicationIsTerminating || !preferences);
|
/frameworks/base/core/java/android/preference/ |
PreferenceGroupAdapter.java | 146 private void flattenPreferenceGroup(List<Preference> preferences, PreferenceGroup group) { 154 preferences.add(preference); 163 flattenPreferenceGroup(preferences, preferenceAsGroup);
|
/packages/apps/Browser/src/com/android/browser/ |
SystemAllowGeolocationOrigins.java | 94 SharedPreferences preferences = PreferenceManager.getDefaultSharedPreferences(mContext); local 96 preferences.getString(LAST_READ_ALLOW_GEOLOCATION_ORIGINS, ""); 104 preferences.edit()
|
/packages/apps/Tag/src/com/android/apps/tag/ |
TagBrowserActivity.java | 68 SharedPreferences preferences = getPreferences(Context.MODE_PRIVATE); local 69 if (!preferences.getBoolean(PREF_KEY_SHOW_INTRO, false)) { 70 preferences.edit().putBoolean(PREF_KEY_SHOW_INTRO, true).apply();
|
/external/webkit/JavaScriptCore/tests/mozilla/js1_6/ |
shell.js | 386 var preferences = Components.classes['@mozilla.org/preferences;1']; 387 if (!preferences) 392 var prefService = preferences. 443 var preferences = Components.classes['@mozilla.org/preferences;1']; 444 if (!preferences) 449 var prefService = preferences.
|
/sdk/eclipse/plugins/com.android.ide.eclipse.ddms/src/com/android/ide/eclipse/ddms/preferences/ |
PreferenceInitializer.java | 17 package com.android.ide.eclipse.ddms.preferences; 24 import org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer; 70 * @see org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer 101 * Initializes the preferences of ddmlib and ddmuilib with values from the eclipse store.
|
LogCatPreferencePage.java | 17 package com.android.ide.eclipse.ddms.preferences; 22 import org.eclipse.core.runtime.Preferences; 23 import org.eclipse.core.runtime.Preferences.IPropertyChangeListener; 24 import org.eclipse.core.runtime.Preferences.PropertyChangeEvent; 50 Preferences prefs = DdmsPlugin.getDefault().getPluginPreferences();
|