Package-level declarations

Functions

Link copied to clipboard
fun convertDpToPixels(context: Context, valueInDp: Double): Double
Link copied to clipboard
fun createHorizontalAnimation(fromX: Float, toX: Float, duration: Long, accelerate: Boolean): Animation
Link copied to clipboard
fun createVerticalAnimation(fromY: Float, toY: Float, duration: Long, accelerate: Boolean): Animation
Link copied to clipboard
fun getMainActivityIntent(context: Context, extras: Bundle? = null): Intent?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Parses the query part of the uri and returns a mapping of the query keys to the values. Empty keys or empty values will not be included in the mapping.

Link copied to clipboard
Link copied to clipboard
fun isCurrentOrientationValid(currentScreenOrientation: Int, preferredOrientation: Orientation): Boolean
Link copied to clipboard

Checks if the device is in night mode. In Android 10+, this corresponds to "Dark Theme" being enabled by the user.

Link copied to clipboard

Detects if this device is currently in touch mode given a View.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun setAnimationParams(animation: Animation, duration: Long, accelerate: Boolean): Animation

Sets duration and interpolator for the given Animation object.

Link copied to clipboard