Create and add a new OnBackPressedCallback that calls onBackPressed in OnBackPressedCallback.handleOnBackPressed .

Returns a Lazy delegate to access the ComponentActivity's ViewModel, if factoryProducer is specified then ViewModelProvider.Factory returned by it will be used to create ViewModel first time.

Return an iterator over the collection's values.

Allows the use of the index operator for storing values in the collection.

Removes the entry for key only if it is mapped to value .

Creates a new collection by adding or replacing entries from other .

Return an iterator over the collection's keys.

Return true when the collection contains elements.

Return the value corresponding to key , or from defaultValue when not present.

Return the value corresponding to key , or defaultValue when not present.

Performs the given action for each key/value entry.

Returns true if the collection contains key .

Return an iterator over the collection's values.

Allows the use of the index operator for storing values in the collection.

Removes the entry for key only if it is mapped to value .

Creates a new collection by adding or replacing entries from other .

Return an iterator over the collection's keys.

Return true when the collection contains elements.

Return the value corresponding to key , or from defaultValue when not present.

Return the value corresponding to key , or defaultValue when not present.

Performs the given action for each key/value entry.

Returns true if the collection contains key .

Returns the number of key/value pairs in the collection.

Returns the number of key/value pairs in the collection.

Creates an LruCache with the given parameters.

Returns a new ArraySet with the specified contents.

Returns an empty new ArraySet .

Returns a new ArrayMap with the specified contents, given as a list of pairs where the first component is the key and the second component is the value.

Returns an empty new ArrayMap .

Add an action which will be invoked when the animation has started.

Add an action which will be invoked when the animation has resumed after a pause.

Add an action which will be invoked when the animation has repeated.

Add an action which will be invoked when the animation has been paused.

Add an action which will be invoked when the animation has ended.

Add an action which will be invoked when the animation has been cancelled.

Add a pause and resume listener to this Animator using the provided actions.

Add a listener to this Animator using the provided actions.

Return the handle to a system-level service by class.

Allows editing of this preference instance with a call to apply or commit to persist the changes.

Returns a new ContentValues with the given key/value pairs as elements.

Executes the given block function on this TypedArray and then recycles it.

Retrieve the text value for the attribute at index or throws IllegalArgumentException if not defined.

Retrieve the text array value for the attribute at index or throws IllegalArgumentException if not defined.

Retrieve the string value for the attribute at index or throws IllegalArgumentException if not defined.

Retrieves the resource identifier for the attribute at index or throws IllegalArgumentException if not defined.

Retrieve the integer value for the attribute at index or throws IllegalArgumentException if not defined.

Retrieve the integer value for the attribute at index or throws IllegalArgumentException if not defined.

Retrieve the font value for the attribute at index or throws IllegalArgumentException if not defined.

Retrieve the float value for the attribute at index or throws IllegalArgumentException if not defined.

Retrieve the drawable value for the attribute at index or throws IllegalArgumentException if not defined.

Retrieve the dimension pixel size value for the attribute at index or throws IllegalArgumentException if not defined.

Retrieve the dimension pixel offset value for the attribute at index or throws IllegalArgumentException if not defined.

Retrieve the dimension value for the attribute at index or throws IllegalArgumentException if not defined.

Retrieve the color state list value for the attribute at index or throws IllegalArgumentException if not defined.

Retrieve the color value for the attribute at index or throws IllegalArgumentException if not defined.

Retrieve the boolean value for the attribute at index or throws IllegalArgumentException if not defined.

Returns the value of the requested column as a nullable string.

Returns the value of the requested column as a nullable short.

Returns the value of the requested column as a nullable long.

Returns the value of the requested column as a nullable integer.

Returns the value of the requested column as a nullable float.

Returns the value of the requested column as a nullable double.

Returns the value of the requested column as a nullable byte array.

Run body in a transaction marking it as successful if it completes without exception.

Writes the specified color int into the bitmap (assuming it is mutable) at the specified (x, y) coordinate.

Creates a new bitmap, scaled from this bitmap, when possible.

Returns the value of the pixel at the specified location.

Returns true if the specified point is inside the bitmap.

Returns true if the specified point is inside the bitmap.

Creates a new Canvas to draw on this bitmap and executes the specified block on the newly created canvas.

Wrap the specified block in calls to Canvas.save / Canvas.translate and Canvas.restoreToCount .

Wrap the specified block in calls to Canvas.save / Canvas.skew and Canvas.restoreToCount .

Wrap the specified block in calls to Canvas.save / Canvas.scale and Canvas.restoreToCount .

Wrap the specified block in calls to Canvas.save and Canvas.restoreToCount .

Wrap the specified block in calls to Canvas.save / Canvas.rotate and Canvas.restoreToCount .

Wrap the specified block in calls to Canvas.save / Canvas.concat and Canvas.restoreToCount .

Wrap the specified block in calls to Canvas.save / Canvas.clipPath and Canvas.restoreToCount .

Wrap the specified block in calls to Canvas.save / Canvas.clipRect and Canvas.restoreToCount .

Wrap the specified block in calls to Canvas.save / Canvas.clipRect and Canvas.restoreToCount .

Wrap the specified block in calls to Canvas.save / Canvas.clipRect and Canvas.restoreToCount .

Wrap the specified block in calls to Canvas.save / Canvas.clipRect and Canvas.restoreToCount .

Composites two translucent colors together.

Converts the color receiver to a color in the specified color space.

Converts the color receiver to a color in the specified color space.

Returns the fourth component of the color.

Returns the third component of the color.

Returns the second component of the color.

Returns the first component of the color.

Returns the 9 values of this Matrix as a new array of floats.

Multiplies this Matrix by another matrix and returns the result as a new matrix.

Convenience method to configure the BlendMode of a Paint in a backward compatible way.

Returns the union minus the intersection of two paths as a new Path .

Returns the union of two paths as a new Path .

Returns the union of two paths as a new Path .

Returns the difference of two paths as a new Path .

Flattens (or approximate) the Path with a series of line segments.

Returns the intersection of two paths as a new Path .

Creates a new Canvas to record commands in this Picture , executes the specified block on the newly created canvas and returns this Picture .

Returns a new point representing the negation of this point.

Returns a PointF representation of this point.

Offsets this point by the specified amount on both X and Y axis and returns the result as a new point.

Offsets this point by the specified point and returns the result as a new point.

Offsets this point by the negation of the specified amount on both X and Y axis and returns the result as a new point.

Offsets this point by the negation of the specified point and returns the result as a new point.

Returns the y coordinate of this point.

Returns the x coordinate of this point.

Returns a new point representing the negation of this point.

Returns a Point representation of this point.

Offsets this point by the specified amount on both X and Y axis and returns the result as a new point.

Offsets this point by the specified point and returns the result as a new point.

Offsets this point by the negation of the specified amount on both X and Y axis and returns the result as a new point.

Offsets this point by the negation of the specified point and returns the result as a new point.

Returns the y coordinate of this point.

Returns the x coordinate of this point.

Creates a new PorterDuffXfermode that uses this PorterDuff.Mode as the alpha compositing or blending mode.

Creates a new PorterDuffColorFilter that uses this PorterDuff.Mode as the alpha compositing or blending mode, and the specified color .

Returns the union minus the intersection of two rectangles as a new region.

Returns a Region representation of this rectangle.

Returns a RectF representation of this rectangle.

Returns a new rectangle representing this rectangle's components each scaled by factor .

Returns a new rectangle representing this rectangle offset by the specified point.

Returns a new rectangle representing this rectangle offset by the specified amount on both X and Y axis.

Performs the union of this rectangle and the specified rectangle and returns the result as a new rectangle.

Returns the union of two rectangles as a new rectangle.

Returns a new rectangle representing this rectangle offset by the negation of the specified point.

Returns a new rectangle representing this rectangle offset by the negation of the specified amount on both X and Y axis.

Returns the difference of this rectangle and the specified rectangle as a new region.

Returns true if the specified point is inside the rectangle.

Returns "bottom", the fourth component of the rectangle.

Returns "right", the third component of the rectangle.

Returns "top", the second component of the rectangle.

Returns "left", the first component of the rectangle.

Returns the intersection of two rectangles as a new rectangle.

Returns the union minus the intersection of two rectangles as a new region.

Transform this rectangle in place using the supplied Matrix and returns this rectangle.

Returns a Region representation of this rectangle.

Returns a Rect representation of this rectangle.

Returns a new rectangle representing this rectangle's components each scaled by factor .

Returns a new rectangle representing this rectangle's components each scaled by factor .

Returns a new rectangle representing this rectangle offset by the specified point.

Returns a new rectangle representing this rectangle offset by the specified amount on both X and Y axis.

Performs the union of this rectangle and the specified rectangle and returns the result as a new rectangle.

Returns the union of two rectangles as a new rectangle.

Returns a new rectangle representing this rectangle offset by the negation of the specified point.

Returns a new rectangle representing this rectangle offset by the negation of the specified amount on both X and Y axis.

Returns the difference of this rectangle and the specified rectangle as a new region.

Returns true if the specified point is inside the rectangle.

Returns "bottom", the fourth component of the rectangle.

Returns "right", the third component of the rectangle.

Returns "top", the second component of the rectangle.

Returns "left", the first component of the rectangle.

Returns the intersection of two rectangles as a new rectangle.

Return the union minus the intersection of this region and the specified region as a new region.

Return the union minus the intersection of this region and the specified Rect as a new region.

Returns the negation of this region as a new region.

Return the union of this region and the specified region as a new region.

Return the union of this region and the specified Rect as a new region.

Return the union of this region and the specified region as a new region.

Return the union of this region and the specified Rect as a new region.

Returns the negation of this region as a new region.

Return the difference of this region and the specified region as a new region.

Return the difference of this region and the specified Rect as a new region.

Returns an Iterator over the rects in this region.

Performs the given action on each rect in this region.

Return true if the region contains the specified Point .

Return the intersection of this region and the specified region as a new region.

Return the intersection of this region and the specified Rect as a new region.

Wrap the specified block in calls to Shader.getLocalMatrix and Shader.setLocalMatrix .

Converts the specified ARGB color int to an RGBA color long in the sRGB color space.

Creates a new Color instance from a color int.

Converts the color int receiver to a color long in the specified color space.

Converts the color int receiver to a color long in the specified color space.

Return the blue component of a color int.

Return the green component of a color int.

Return the red component of a color int.

Return the alpha component of a color int.

Converts the specified color long to an ARGB color int .

Creates a new Color instance from a color long .

Converts the color long receiver to a color long in the specified color space.

Converts the color long receiver to a color long in the specified color space.

Returns the fourth component of the color.

Returns the third component of the color.

Returns the second component of the color.

Returns the first component of the color.

Return a corresponding Int color of this String .

Return the red component of a color int.

Returns the relative luminance of a color int, assuming sRGB encoding.

Return the green component of a color int.

Return the blue component of a color int.

Return the alpha component of a color int.

Return the red component of a color long.

Returns the relative luminance of a color.

Indicates whether the color is in a wide-gamut color space.

Indicates whether the color is in the sRGB color space.

Return the green component of a color long.

Returns the color space encoded in the specified color long.

Return the blue component of a color long.

Return the alpha component of a color long.

Creates a translation matrix with the translation amounts tx and ty respectively on the x and y axis.

Creates a scale matrix with the scale factor sx and sy respectively on the x and y axis.

Creates a rotation matrix, defined by a rotation angle in degrees around the pivot point located at the coordinates ( px , py ).

Returns a mutable bitmap with the specified width and height .

Returns a mutable bitmap with the specified width and height .

Create an Icon from this Bitmap .

Create a BitmapDrawable from this Bitmap .

Create an Icon from this adaptive Bitmap .

Create a ColorDrawable from this Color (via Color.toArgb ).

Return a Bitmap representation of this Drawable .

Create an Icon from this Uri .

Create an Icon from this ByteArray .

Create a ColorDrawable from this color value.

Returns the longitude of this Location .

Returns the latitude of this Location .

Creates a File from the given Uri .

Creates a Uri from the given file.

Creates a Uri from the given encoded URI string.

Version of Handler.postDelayed which re-orders the parameters, allowing the action to be placed outside of parentheses.

Version of Handler.postAtTime which re-orders the parameters, allowing the action to be placed outside of parentheses.

Wrap the specified block in calls to Trace.beginSection (with the supplied sectionName ) and Trace.endSection .

Returns a new PersistableBundle with the given key/value pairs as elements.

Returns a new Bundle with the given key/value pairs as elements.

Add span to the range of the text.

Add span to the range start … end of the text.

Clear all spans from this text.

Wrap appended text in builderAction in an UnderlineSpan .

Wrap appended text in builderAction in a SuperscriptSpan .

Wrap appended text in builderAction in a SubscriptSpan .

Wrap appended text in builderAction in a StrikethroughSpan .

Wrap appended text in builderAction in a RelativeSizeSpan .

Wrap appended text in builderAction in an italic StyleSpan .

Wrap appended text in builderAction in span .

Wrap appended text in builderAction in spans .

Wrap appended text in builderAction in a ForegroundColorSpan .

Wrap appended text in builderAction in a bold StyleSpan .

Wrap appended text in builderAction in a BackgroundColorSpan .

Returns a string of HTML from the spans in this Spanned .

Get all spans that are instance of T.

Returns the length that the specified CharSequence would have if spaces and ASCII control characters were trimmed from the start and end, as by String.trim .

Returns a new Spanned from CharSequence , or the source itself if it is already an instance of SpannedString .

Returns a new Spannable from CharSequence , or the source itself if it is already an instance of SpannableString .

Returns whether the given CharSequence contains only digits.

Returns a Spanned from parsing this string as HTML.

Returns layout direction for a given locale.

Builds new string by populating a newly created SpannableStringBuilder using the provided builderAction and then converting it to SpannedString .

Add an action which will be invoked when this transition has started.

Add an action which will be invoked when this transition has resumed after a pause.

Add an action which will be invoked when this transition has been paused.

Add an action which will be invoked when this transition has ended.

Add an action which will be invoked when this transition has been cancelled.

Add a listener to this Transition using the provided actions.

Sets the content of this file as text encoded using UTF-8 or specified charset .

Sets the content of this file as an array of bytes.

Perform the write operations inside block on this file.

Gets the entire content of this file as a String using UTF-8 or specified charset .

Gets the entire content of this file as a byte array.

Return an iterator over the collection's values.

Allows the use of the index operator for storing values in the collection.

Removes the entry for key only if it is mapped to value .

Update this collection by adding or replacing entries from other .

Creates a new collection by adding or replacing entries from other .

Return an iterator over the collection's keys.

Return true when the collection contains elements.

Return true when the collection contains no elements.

Return the value corresponding to key , or from defaultValue when not present.

Return the value corresponding to key , or defaultValue when not present.

Performs the given action for each key/value entry.

Returns true if the collection contains value .

Returns true if the collection contains key .

Returns true if the collection contains key .

Returns this Pair as a kotlin.Pair .

Returns the second component of the pair.

Returns the first component of the pair.

Returns this Range as a ClosedRange .

Return the smallest range that includes this and other .

Return the smallest range that includes this and value .

Return the intersection of this range and other .

Returns "height", the second component of this Size .

Returns "width", the first component of this Size .

Returns "height", the second component of this SizeF .

Returns "width", the first component of this SizeF .

operator Boolean SparseArray < T > .contains( key : Int ) Returns true if the collection contains key.

Boolean SparseArray < T > .containsKey( key : Int ) Returns true if the collection contains key.

Boolean SparseArray < T > .containsValue( value : T ) Returns true if the collection contains value.

Unit SparseArray < T > .forEach( action : ( key : Int , value : T ) -> Unit ) Performs the given action for each key/value entry.

T SparseArray < T > .getOrDefault( key : Int , defaultValue : T ) Return the value corresponding to key, or defaultValue when not present.

T SparseArray < T > .getOrElse( key : Int , defaultValue : ( ) -> T ) Return the value corresponding to key, or from defaultValue when not present.

Boolean SparseArray < T > .isEmpty() Return true when the collection contains no elements.

Boolean SparseArray < T > .isNotEmpty() Return true when the collection contains elements.

IntIterator SparseArray < T > .keyIterator() Return an iterator over the collection's keys.

operator SparseArray < T > SparseArray < T > .plus( other : SparseArray < T > ) Creates a new collection by adding or replacing entries from other.

Unit SparseArray < T > .putAll( other : SparseArray < T > ) Update this collection by adding or replacing entries from other.

Boolean SparseArray < T > .remove( key : Int , value : T ) Removes the entry for key only if it is mapped to value.

operator Unit SparseArray < T > .set( key : Int , value : T ) Allows the use of the index operator for storing values in the collection.