Activity.kt |
Attempts to call immersive mode using the View to hide the status bar and navigation buttons.
We don't use the equivalent function from Android Components because the stable flag messes
with the toolbar. See #1998 and #3272.
|
16866 |
AppState.kt |
Total count of all stories to show irrespective of their type.
This is an optimistic value taking into account that fewer than this stories may actually be available.
|
11173 |
AtomicInteger.kt |
Increases an AtomicInteger safely.
|
566 |
Bitmap.kt |
This will scale the received [Bitmap] to the size of the [view]. It retains the bitmap's
original aspect ratio, but will shrink or enlarge it to fit the viewport. If bitmap does not
correctly fit the aspect ratio of the view, it will be shifted to prioritize the bottom-left
of the bitmap.
|
2636 |
BookmarkNode.kt |
|
436 |
BrowserIcons.kt |
|
474 |
BrowserState.kt |
The time until which a tab is considered in-active (in days).
|
2886 |
Client.kt |
Given an image [url], fetches and returns a [Bitmap] if possible, otherwise null.
@param url The image URL to fetch from.
|
1161 |
Configuration.kt |
Get custom Glean server URL if available.
|
1148 |
ConnectivityManager.kt |
Checks for availability of network.
For devices above [Build.VERSION_CODES.M] it even checks if there's internet flowing through it or not.
|
1149 |
Context.kt |
Get the BrowserApplication object from a context.
|
6252 |
Dialog.kt |
Checks if activity's window has a FLAG_SECURE set and sets it to dialog
|
788 |
Drawable.kt |
|
350 |
EditText.kt |
Places cursor at the end of an EditText.
|
409 |
Fragment.kt |
Get the requireComponents of this application.
|
6337 |
ImageButton.kt |
|
595 |
Log.kt |
Will print to `Log.d()` only for debug release channels.
Meant to be used for logs that should not be visible in the production app.
|
1396 |
NavController.kt |
Navigate from the fragment with [id] using the given [directions].
If the id doesn't match the current destination, an error is recorded.
|
2450 |
RecentTabs.kt |
Removes a [RecentTab.Tab] from a list of [RecentTab].
@param tab [RecentTab] to remove from the list
|
641 |
SearchEngine.kt |
Whether or not the search engine is a custom engine added by the user.
|
1658 |
SpannableString.kt |
|
1188 |
String.kt |
Shortens URLs to be more user friendly, by applying [String.toShortUrl]
and making sure it's equal or below the [MAX_URI_LENGTH].
|
3107 |
TabCollection.kt |
Selects one of the predefined collection icon colors based on the id.
|
1750 |
TextView.kt |
Adds an underline effect to the text displayed in the TextView.
|
643 |
Toolbar.kt |
Adjust the colors of the [Toolbar] on the top of the screen.
|
1619 |
TopSite.kt |
Returns a sorted list of [TopSite] with the default Google top site always appearing
as the first item.
|
874 |
Uri.kt |
Returns true if the url contains any query parameters specified by the [searchParameters].
@param searchParameters [String] of the following forms:
- "" (empty) - Don't search for any params
- "key" - Search param named "key" with any or no value
- "key=" - Search param named "key" with no value
- "key=value" - Search param named "key" with value "value"
|
1228 |
View.kt |
[View] helper to retrieve the [Components.settings].
|
4078 |