Name Description Size
about
AccessibilityFragment.kt Displays font size controls for accessibility. Includes an automatic font sizing toggle. When turned on, font sizing follows the Android device settings. When turned off, the font sizing can be controlled manually within the app. 3977
account
address
advanced
autofill
biometric
cookiebannerhandling
creditcards
CustomEtpCookiesOptionsDropDownListPreference.kt Custom [DropDownListPreference] that automatically builds the list of available options for the custom Enhanced Tracking Protection option depending on the current Nimbus experiments. 1983
CustomizationFragment.kt Lets the user customize the UI. 9709
datachoices
DefaultBrowserPreference.kt 1179
deletebrowsingdata
doh
DownloadsSettingsFragment.kt A [PreferenceFragmentCompat] that displays settings related to downloads. 1170
DropDownListPreference.kt Return the (human-readable) entry that is matched to the (backing key) entryValue. E.g. entryValues == listOf("private", "normal") entries == listOf("Use private mode", "Use normal mode") findEntry("private) == "Use Private Mode" 1262
Extensions.kt In devices with Android 6, when we use android:button="@null" android:drawableStart doesn't work via xml as a result we have to apply it programmatically. More info about this issue https://github.com/mozilla-mobile/fenix/issues/1414 4345
FenixSwitchPreference.kt Switch Preference that adheres to Fenix styling. **Note:** The [SwitchPreference] layout internal id "switch_widget" has a min API of 24, so we use [CheckBoxPreference] instead and use the layout internal id "checkbox". 905
HomeSettingsFragment.kt Lets the user customize the home screen. 8666
HttpsOnlyFragment.kt Lets the user customize HTTPS-only mode. 4314
LinkSharingFragment.kt Lets the user customize link sharing feature. 2008
logins
OnSharedPreferenceChangeListener.kt Registers a [OnSharedPreferenceChangeListener] as a [LifecycleObserver] for a preference. 1406
OpenLinksInAppsFragment.kt Lets the user choose how open links in apps feature behaves. 3407
PairFragment.kt 4604
PhoneFeature.kt Returns the label ID representing the permission corresponding to this phone feature. 8980
PreferenceBackedRadioButton.kt [AppCompatRadioButton] backed by a boolean `SharedPreference`. Whenever this button is initialized it will attempt to set itself as checked with the current value of `R.styleable.PreferenceBackedRadioButton_preferenceKey` defaulting to `R.styleable.PreferenceBackedRadioButton_preferenceKeyDefaultValue` if there is no value set for the indicated `SharedPreference`. Whenever the radio button is enabled or disabled this will be persisted in a `SharedPreference` with the name indicated in `R.styleable.PreferenceBackedRadioButton_preferenceKey` . 3098
PrivateBrowsingFragment.kt Lets the user customize Private browsing options. 7718
quicksettings
RadioButtonInfoPreference.kt 1540
RadioButtonPreference.kt 5064
search
SecretDebugSettingsFragment.kt 5035
SecretSettingsFragment.kt 18176
SettingsFragment.kt 34928
SharedPreferenceUpdater.kt Updates the corresponding [android.content.SharedPreferences] when the boolean [Preference] is changed. The preference key is used as the shared preference key. 911
sitepermissions
SponsoredStoriesSettingsFragment.kt Allows customizing sponsored stories fetch parameters. 2357
StringSharedPreferenceUpdater.kt Updates the corresponding [android.content.SharedPreferences] when the String [Preference] is changed. The preference key is used as the shared preference key. 912
studies
SupportUtils.kt Gets a support page URL for the corresponding topic. 7421
SyncDebugFragment.kt Lets the user customize Private browsing options. 4567
SyncPreference.kt Variation of [SwitchPreferenceCompat] that uses a custom widgetLayoutResource in order to implement visibility changes to it. 1530
SyncPreferenceView.kt A view to help manage the sync preference in the "Passwords" and "Payment Methods" settings. The provided [syncPreference] is used to navigate to the different fragments that manages the sync account authentication. A toggle will be also added depending on the sync account status. @param syncPreference The sync [SyncPreference] to update and handle navigation. @param lifecycleOwner View lifecycle owner used to determine when to cancel UI jobs. @param accountManager An instance of [FxaAccountManager]. @param syncEngine The sync engine that will be used for the sync status lookup. @param loggedOffTitle Text label for the setting when user is not logged in. @param loggedInTitle Text label for the setting when user is logged in. @param onSyncSignInClicked A callback executed when the sync sign in [syncPreference] is clicked. @param onReconnectClicked A callback executed when the [syncPreference] is clicked with a preference status of "Reconnect". 4553
TabsSettingsFragment.kt Lets the user customize auto closing tabs. 4698
TextPercentageSeekBarPreference.kt Preference based on android.preference.SeekBarPreference but uses support preference as a base. It contains a title and a [SeekBar] and a SeekBar value [TextView] and an Example [TextView]. The actual preference layout is customizable by setting `android:layout` on the preference widget layout or `seekBarPreferenceStyle` attribute. The [SeekBar] within the preference can be defined adjustable or not by setting `adjustable` attribute. If adjustable, the preference will be responsive to DPAD left/right keys. Otherwise, it skips those keys. The [SeekBar] value view can be shown or disabled by setting `showSeekBarValue` attribute to true or false, respectively. Other [SeekBar] specific attributes (e.g. `title, summary, defaultValue, min, max`) can be set directly on the preference widget layout. 18496
ToggleRadioButtonPreference.kt A custom [Preference] that displays two mutually exclusive radio button options within a single preference item. This preference stores a single [Boolean] value in [SharedPreferences] based on which radio button is selected: @param context The [Context] this is associated with. @param attrs Optional attribute set used to configure the preference. 4452
TrackingProtectionFragment.kt Displays the toggle for tracking protection, options for tracking protection policy and a button to open info about the tracking protection [org.mozilla.fenix.settings.TrackingProtectionFragment]. 18067
trustpanel
wallpaper