Lines Matching defs:mPrefs
108 private SharedPreferences mPrefs;
139 mPrefs = PreferenceManager.getDefaultSharedPreferences(mContext);
192 mPrefs.registerOnSharedPreferenceChangeListener(BrowserSettings.this);
197 if (mPrefs.contains(PREF_TEXT_SIZE)) {
220 mPrefs.edit().remove(PREF_TEXT_SIZE).apply();
411 return mPrefs.getBoolean(PREF_DEBUG_MENU, false);
415 Editor edit = mPrefs.edit();
470 long gal = mPrefs.getLong(GoogleAccountLogin.PREF_AUTOLOGIN_TIME, -1);
471 mPrefs.edit()
532 return mPrefs;
572 String textSize = mPrefs.getString(PREF_TEXT_SIZE, "NORMAL");
577 int minFont = mPrefs.getInt(PREF_MIN_FONT_SIZE, 0);
582 return mPrefs.getBoolean(PREF_FORCE_USERSCALABLE, false);
587 int textZoom = mPrefs.getInt(PREF_TEXT_ZOOM, 10);
592 mPrefs.edit().putInt(PREF_TEXT_ZOOM, getRawTextZoom(percent)).apply();
597 int doubleTapZoom = mPrefs.getInt(PREF_DOUBLE_TAP_ZOOM, 5);
602 mPrefs.edit().putInt(PREF_DOUBLE_TAP_ZOOM, getRawDoubleTapZoom(percent)).apply();
610 return mPrefs.getString(PREF_SEARCH_ENGINE, SearchEngine.GOOGLE);
614 return mPrefs.getBoolean(PREF_ALLOW_APP_TABS, false);
618 return mPrefs.getBoolean(PREF_OPEN_IN_BACKGROUND, false);
622 return mPrefs.getBoolean(PREF_ENABLE_JAVASCRIPT, true);
627 String state = mPrefs.getString(PREF_PLUGIN_STATE, "ON");
633 String zoom = mPrefs.getString(PREF_DEFAULT_ZOOM, "MEDIUM");
638 return mPrefs.getBoolean(PREF_LOAD_PAGE, true);
642 return mPrefs.getBoolean(PREF_AUTOFIT_PAGES, true);
646 return mPrefs.getBoolean(PREF_BLOCK_POPUP_WINDOWS, true);
650 return mPrefs.getBoolean(PREF_LOAD_IMAGES, true);
654 return mPrefs.getString(PREF_DEFAULT_TEXT_ENCODING, null);
662 return mPrefs.getString(PREF_HOMEPAGE, getFactoryResetHomeUrl(mContext));
666 mPrefs.edit().putString(PREF_HOMEPAGE, value).apply();
670 return mPrefs.getBoolean(PREF_AUTOFILL_ENABLED, true);
674 mPrefs.edit().putBoolean(PREF_AUTOFILL_ENABLED, value).apply();
685 return mPrefs.getBoolean(PREF_ENABLE_HARDWARE_ACCEL, true);
692 return mPrefs.getBoolean(PREF_ENABLE_HARDWARE_ACCEL_SKIA, false);
699 return Integer.parseInt(mPrefs.getString(PREF_USER_AGENT, "0"));
710 return mPrefs.getBoolean(PREF_ENABLE_VISUAL_INDICATOR, false);
717 return mPrefs.getBoolean(PREF_ENABLE_CPU_UPLOAD_PATH, false);
724 return mPrefs.getBoolean(PREF_JAVASCRIPT_CONSOLE, true);
731 return mPrefs.getBoolean(PREF_SMALL_SCREEN, false);
738 return mPrefs.getBoolean(PREF_WIDE_VIEWPORT, true);
745 return mPrefs.getBoolean(PREF_NORMAL_LAYOUT, false);
752 return mPrefs.getBoolean(PREF_ENABLE_TRACING, false);
759 return mPrefs.getBoolean(PREF_ENABLE_LIGHT_TOUCH, false);
766 return mPrefs.getBoolean(PREF_ENABLE_NAV_DUMP, false);
773 return mPrefs.getString(PREF_JS_ENGINE_FLAGS, "");
781 return mPrefs.getBoolean(PREF_ENABLE_QUICK_CONTROLS, false);
789 return mPrefs.getBoolean(PREF_FULLSCREEN, false);
793 return mPrefs.getBoolean(PREF_INVERTED, false);
797 return 1 + (mPrefs.getInt(PREF_INVERTED_CONTRAST, 0) / 10f);
805 return mPrefs.getBoolean(PREF_SHOW_SECURITY_WARNINGS, true);
809 return mPrefs.getBoolean(PREF_ACCEPT_COOKIES, true);
813 return mPrefs.getBoolean(PREF_SAVE_FORMDATA, true);
817 return mPrefs.getBoolean(PREF_ENABLE_GEOLOCATION, true);
821 return mPrefs.getBoolean(PREF_REMEMBER_PASSWORDS, true);
849 return mPrefs.getString(PREF_DATA_PRELOAD, getDefaultPreloadSetting());
873 return mPrefs.getString(PREF_LINK_PREFETCH, getDefaultLinkPrefetchSetting());
885 return mPrefs.getLong(KEY_LAST_RECOVERED, 0);
894 mPrefs.edit()
906 return mPrefs.getBoolean(KEY_LAST_RUN_PAUSED, false);
915 mPrefs.edit()