Home
last modified time | relevance | path

Searched refs:preload (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Browser/src/com/android/browser/preferences/
DBandwidthPreferencesFragment.java47 ListPreference preload = (ListPreference) prefScreen.findPreference( in onResume() local
49 if (preload != null) { in onResume()
50 preload.setValue(BrowserSettings.getInstance().getDefaultPreloadSetting()); in onResume()
/packages/apps/Browser/src/com/android/browser/
DPreloadRequestReceiver.java57 String preload = BrowserSettings.getInstance().getPreloadEnabled(); in isPreloadEnabledOnCurrentNetwork() local
58 if (LOGD_ENABLED) Log.d(LOGTAG, "Preload setting: " + preload); in isPreloadEnabledOnCurrentNetwork()
59 if (BrowserSettings.getPreloadAlwaysPreferenceString(context).equals(preload)) { in isPreloadEnabledOnCurrentNetwork()
61 } else if (BrowserSettings.getPreloadOnWifiOnlyPreferenceString(context).equals(preload)) { in isPreloadEnabledOnCurrentNetwork()
DBrowserSettings.java882 String preload = Settings.Secure.getString(mContext.getContentResolver(), in getDefaultPreloadSetting() local
884 if (preload == null) { in getDefaultPreloadSetting()
885 preload = mContext.getResources().getString(R.string.pref_data_preload_default_value); in getDefaultPreloadSetting()
887 return preload; in getDefaultPreloadSetting()
906 String preload = Settings.Secure.getString(mContext.getContentResolver(), in getDefaultLinkPrefetchSetting() local
908 if (preload == null) { in getDefaultLinkPrefetchSetting()
909 preload = mContext.getResources().getString(R.string.pref_link_prefetch_default_value); in getDefaultLinkPrefetchSetting()
911 return preload; in getDefaultLinkPrefetchSetting()