Name Description Size
AccessibilityGridLayoutManager.kt A GridLayoutManager that can be used to override methods in Android implementation to improve ayy1 or fix a11y issues. 947
AccessibilityUtils.kt General utilities to to improve a11y support, such as managing screen reader focus. 2932
AddSearchWidgetPrompt.kt Displays the "add search widget" prompt for capable devices. @param activity the parent [Activity]. 2374
ChangeAppLauncherIcon.kt Required to implement the [FxNimbus.features] alternativeAppLauncherIcon feature. Will set the app launcher icon based on the [resetToDefault] flag. Checks whether the icon needs updating to prevent unnecessary icon updates. @param context The application [Context]. @param shortcutManager [ShortcutManagerWrapper] to safely access some features in [ShortcutInfoCompat]. @param shortcutInfo A helper class for updating [ShortcutInfoCompat]. @param appAlias The 'default' app alias defined in AndroidManifest.xml. @param alternativeAppAlias The 'alternative' app alias defined in AndroidManifest.xml. @param resetToDefault True to reset the icon to default, otherwise false to use the alternative icon. 9062
ClearableEditText.kt An [AppCompatEditText] that shows a clear button to the user. 3364
Colors.kt Converts a string of hexadecimal characters to a Long color value. 362
IntentUtils.kt FLAG_IMMUTABLE -> Flag indicating that the created PendingIntent should be immutable. 480
LastSavedFolderCache.kt An interface to store and retrieve the guid of the folder we last saved a bookmark in. 1246
LinkTextView.kt An [AppCompatTextView] that announces as link in screen readers for a11y purposes 1348
LocaleUtils.kt Helper class for displaying Locale name. 8438
NotificationBase.kt Create a [Notification] with default behaviour and styling. Optionally applies BigTextStyle for extended text, if specified. 1444
OnWifiChanged.java Functional interface for listening to when wifi is/is not connected. This is not a () -> Boolean so that method parameters can be more clearly typed. This file is in Java because of the SAM conversion problem in Kotlin. See https://youtrack.jetbrains.com/issue/KT-7770. 628
ScreenMetricsCompat.kt Returns true if the device has a large screen size. This is determined by the smallest width of the screen (not window). This value will not change over the course of the app's lifecycle. To determine whether the app's window size is at least that of a tablet, consider using [Context.isLargeWindow] instead. 3875
Settings.kt A simple wrapper for SharedPreferences that makes reading preference a little bit easier. @param appContext Reference to application context. 103075
ThemeUtils.kt Determines if dark mode should be enabled based on user settings. 763
ToolbarPopupWindow.kt Since Android 12 reading the clipboard triggers an OS notification. As such it is important that we do not read it prematurely and only when the user trigger a paste action. 6963
TransitionsAnimation.kt [EnterTransition] when navigating to the main content sheet. 5444
Undo.kt Get the recommended time an "undo" action should be available until it can automatically be dismissed. The delay may be different based on the accessibility settings of the device. @return The undo delay as a [Long] in milliseconds. 4292
view