Name Description Size
AboutLibrariesFragment.kt 912
advanced
BaseComposeFragment.kt Fragment acting as a wrapper over a [Composable] which will be shown below a [TopAppBar]. Useful for Fragments shown in otherwise fullscreen Activities such that they would be shown beneath the status bar not below it. Classes extending this are expected to provide the [Composable] content and toolbar title. 5273
BaseSettingsFragment.kt 1550
BaseSettingsLikeFragment.kt Similar behavior as [BaseSettingsFragment], but doesn't extend [PreferenceFragmentCompat] and is a regular [Fragment] instead. 1236
GeneralSettingsFragment.kt 5116
HttpsOnlyModePreference.kt Preference for HTTPS-Only mode. 1097
InstalledSearchEnginesSettingsFragment.kt Refresh search engines list. 4756
LearnMoreSwitchPreference.kt A [SwitchPreference] that displays a "Learn more" link which, when clicked, opens a new tab with a specified URL. Subclasses must implement [getLearnMoreUrl] to define the URL to be opened. Optionally, subclasses can override [getDescription] to provide a custom description text that appears above the "Learn more" link. The layout for this preference is defined in `R.layout.preference_switch_learn_more`. 2961
ManualAddSearchEngineSettingsFragment.kt A fragment that provides a user interface for manually adding a custom search engine. This fragment allows users to input a display name and a search query URL (using `%s` as a placeholder). It performs validation on the input: 1. Checks if the engine name is unique and non-empty. 2. Validates the search query format. 3. Asynchronously attempts to ping the provided URL to ensure it is reachable and valid. If validation is successful, the search engine is saved to the application's search store and set as the default search engine. @see BaseSettingsFragment @see ManualAddSearchEnginePreference 12265
MozillaSettingsFragment.kt 3922
permissions
privacy
RadioButtonPreference.kt Connect all the given radio buttons into a group, so that when one radio is checked the others are unchecked. 6541
RemoveSearchEnginesSettingsFragment.kt 2786
SafeBrowsingSwitchPreference.kt Switch preference for enabling/disabling autocompletion for custom domains entered by the user. 671
SearchSettingsFragment.kt 2453
SettingsFragment.kt A fragment that displays the main settings screen. It uses Jetpack Compose to render its UI. When a user interacts with a setting that requires navigating to a sub-page (e.g., "Search"), this fragment dispatches an [AppAction.OpenSettings] action to handle the navigation logic. 983
SettingsScreen.kt The main settings screen, displaying a list of top-level setting categories. Each category, when clicked, navigates to its respective detailed settings page. @param onSettingClick A lambda function that is invoked when a setting category is clicked. It passes the corresponding [Screen.Settings.Page] to the caller, which is responsible for handling the navigation to the detailed settings screen. 3395
StatePreference.kt State preference that will show the current state as a summary and a sub screen to configure the behavior. 1583