NPuzzleActivity

class NPuzzleActivity : AppCompatActivity

Class handling the core functionalities of this 8-puzzle app, including the actual gameplay.

Constructors

NPuzzleActivity
Link copied to clipboard
fun NPuzzleActivity()

Types

Companion
Link copied to clipboard
object Companion
Companion object containing constants related to the state, display, and statistics of this 8-puzzle app.

Properties

blankImageChunks
Link copied to clipboard
private lateinit var blankImageChunks: ArrayList<Bitmap>
Split puzzle images with dark color filter applied.
blankTilePos
Link copied to clipboard
private var blankTilePos: Int
Position of the blank tile in the puzzle grid (zero-based, following row-major order).
btnShuffle
Link copied to clipboard
private lateinit var btnShuffle: Button
Button for shuffling the puzzle tiles (if the game is not yet in session) or displaying the solution (if the game is already in session).
btnUpload
Link copied to clipboard
private lateinit var btnUpload: Button
Button for selecting a custom puzzle image from the Gallery (if the game is not yet in session) or skipping the solution (if the solution walkthrough is currently being played).
clRoot
Link copied to clipboard
private lateinit var clRoot: ConstraintLayout
Root of the layout.
fastestTime
Link copied to clipboard
private var fastestTime: Long
Fastest time taken by the user to solve an 8-puzzle.
fewestMoves
Link copied to clipboard
private var fewestMoves: Long
Fewest number of moves taken by the user to solve an 8-puzzle.
galleryLauncher
Link copied to clipboard
private lateinit var galleryLauncher: ActivityResultLauncher<Intent>
Activity result launcher related to choosing photos from the Gallery.
goalPuzzleState
Link copied to clipboard
private lateinit var goalPuzzleState: ArrayList<Int>
Goal puzzle state.
gvgPuzzle
Link copied to clipboard
private lateinit var gvgPuzzle: GridViewGesture
Puzzle grid.
imageChunks
Link copied to clipboard
private lateinit var imageChunks: ArrayList<Bitmap>
Split puzzle images.
indexOfCustom
Link copied to clipboard
private var indexOfCustom: Int = 0
Index of the custom image (that is, the option that allows the user to select a photo from the Gallery) in the selection of puzzle images.
isGalleryImageChosen
Link copied to clipboard
private var isGalleryImageChosen: Boolean = false
true if the current puzzle image was selected from the user's Gallery; false, otherwise.
isGameInSession
Link copied to clipboard
private var isGameInSession: Boolean = false
true if a game is ongoing; false, otherwise.
isPuzzleGridFrozen
Link copied to clipboard
private var isPuzzleGridFrozen: Boolean = false
true if the components of the puzzle grid (for example, the tiles) can be moved or clicked; false, otherwise.
isSolutionDisplay
Link copied to clipboard
private var isSolutionDisplay: Boolean = false
true if the solution walkthrough is currently being played; false, otherwise.
isSolutionPlay
Link copied to clipboard
private var isSolutionPlay: Boolean = false
true if the solution walkthrough resumes playing (after being paused); false, otherwise (that is, if the solution walkthrough is currently paused).
isSolutionSkip
Link copied to clipboard
private var isSolutionSkip: Boolean = false
true if the solution is skipped; false, otherwise.
isTimerRunning
Link copied to clipboard
private var isTimerRunning: Boolean = false
true if the timer is running (that is, a game is in session and the first move has been made); false, otherwise.
numMoves
Link copied to clipboard
private var numMoves: Long = 0
Tracks the number of moves for the current game.
numMovesSolution
Link copied to clipboard
private var numMovesSolution: Int = 0
Number of moves in the solution found by the app via the A* algorithm implemented in SolveUtil.
pbShuffle
Link copied to clipboard
private lateinit var pbShuffle: ProgressBar
Progress bar displayed during shuffling.
puzzleDimen
Link copied to clipboard
private var puzzleDimen: Int = 0
Dimension of the entire (square) puzzle grid.
puzzleImage
Link copied to clipboard
private lateinit var puzzleImage: Bitmap
Puzzle image.
puzzleImageChoices
Link copied to clipboard
private lateinit var puzzleImageChoices: Array<PuzzleImage>
Selection of puzzle images that come with the app.
puzzleImageIndex
Link copied to clipboard
private var puzzleImageIndex: Int = 0
Index of the currently selected puzzle image.
puzzleSolution
Link copied to clipboard
private var puzzleSolution: Stack<StatePair>? = null
Sequence of states from the current puzzle state to the goal state.
puzzleState
Link copied to clipboard
private lateinit var puzzleState: ArrayList<Int>
Current puzzle state.
shuffleHandler
Link copied to clipboard
private lateinit var shuffleHandler: Handler
Handler for shuffling the puzzle tiles.
shuffleRunnable
Link copied to clipboard
private lateinit var shuffleRunnable: ShuffleRunnable
Runnable related to shuffling the puzzle tiles.
shuffleScheduler
Link copied to clipboard
private lateinit var shuffleScheduler: ScheduledExecutorService
Scheduled executor service for shuffling the puzzle tiles.
solveDisplayHandler
Link copied to clipboard
private lateinit var solveDisplayHandler: Handler
Handler for displaying the solution to the 8-puzzle.
solveHandler
Link copied to clipboard
private lateinit var solveHandler: Handler
Handler for solving the 8-puzzle.
sp
Link copied to clipboard
private lateinit var sp: SharedPreferences
Points to a file containing key-value pairs or, in the context of this app, the statistics related to the fewest number of moves and the fastest time taken in solving an 8-puzzle.
spnPuzzle
Link copied to clipboard
private lateinit var spnPuzzle: Spinner
Spinner for selecting the puzzle image.
tileDimen
Link copied to clipboard
private var tileDimen: Int = 0
Dimension of a (square) puzzle tile.
tileImages
Link copied to clipboard
private lateinit var tileImages: ArrayList<ImageButton>
Puzzle tiles.
timerHandler
Link copied to clipboard
private lateinit var timerHandler: Handler
Handler for keeping track of the time since the user has made the first move (provided that a game is in session).
timeTaken
Link copied to clipboard
private var timeTaken: Long = 0
Tracks the time taken for the current game.
tvFastestTime
Link copied to clipboard
private lateinit var tvFastestTime: TextView
Text view for the fastest time to solve the puzzle.
tvFewestMoves
Link copied to clipboard
private lateinit var tvFewestMoves: TextView
Text view for the fewest number of moves to solve the puzzle.
tvMoveNumber
Link copied to clipboard
private lateinit var tvMoveNumber: TextView
Text view for the current number of moves taken in the current attempt to solve the puzzle.
tvSuccess
Link copied to clipboard
private lateinit var tvSuccess: TextView
Text view for the success message.
tvTimeTaken
Link copied to clipboard
private lateinit var tvTimeTaken: TextView
Text view for the current time taken in the current attempt to solve the puzzle.
tvTitle
Link copied to clipboard
private lateinit var tvTitle: TextView
Text view for the title of the app.
tvTrivia
Link copied to clipboard
private lateinit var tvTrivia: TextView
Text view for the trivia.

Inherited properties

mActivityResultRegistry
Link copied to clipboard
private val mActivityResultRegistry: ActivityResultRegistry
mContentLayoutId
Link copied to clipboard
private val mContentLayoutId: Int
mContextAwareHelper
Link copied to clipboard
val mContextAwareHelper: ContextAwareHelper
mCreated
Link copied to clipboard
val mCreated: Boolean
mDefaultFactory
Link copied to clipboard
private val mDefaultFactory: ViewModelProvider.Factory
mDelegate
Link copied to clipboard
private val mDelegate: AppCompatDelegate
mExtraDataMap
Link copied to clipboard
mFragmentLifecycleRegistry
Link copied to clipboard
val mFragmentLifecycleRegistry: LifecycleRegistry
mFragments
Link copied to clipboard
val mFragments: FragmentController
mLifecycleRegistry
Link copied to clipboard
private val mLifecycleRegistry: LifecycleRegistry
mNextLocalRequestCode
Link copied to clipboard
private val mNextLocalRequestCode: AtomicInteger
mOnBackPressedDispatcher
Link copied to clipboard
private val mOnBackPressedDispatcher: OnBackPressedDispatcher
mResources
Link copied to clipboard
private val mResources: Resources
mResumed
Link copied to clipboard
val mResumed: Boolean
mSavedStateRegistryController
Link copied to clipboard
mStopped
Link copied to clipboard
val mStopped: Boolean
mViewModelStore
Link copied to clipboard
private val mViewModelStore: ViewModelStore

Functions

animateSolution
Link copied to clipboard
private fun animateSolution()
Handles the animation of the puzzle tiles during the solution walkthrough.
blankDisplayedStats
Link copied to clipboard
private fun blankDisplayedStats()
Removes the statistics displayed (replacing them with hyphen placeholders) when the solution walkthrough is played.
controlSolutionDisplay
Link copied to clipboard
private fun controlSolutionDisplay()
Updates the display depending on whether the solution walkthrough is paused or resumed.
disableClickables
Link copied to clipboard
private fun disableClickables()
Disables all the clickable components.
displayBlankPuzzle
Link copied to clipboard
private fun displayBlankPuzzle()
Display the puzzle grid with all 9 tiles having a dark color filter applied.
displayFastestTime
Link copied to clipboard
private fun displayFastestTime()
Displays the fewest time taken to solve the 8-puzzle.
displayFewestMoves
Link copied to clipboard
private fun displayFewestMoves()
Displays the fewest number of moves taken to solve the 8-puzzle.
displayPuzzle
Link copied to clipboard
private fun displayPuzzle()
Displays the puzzle grid, with the correct tile images (8 tiles with no filter applied and 1 tile with a dark color filter applied to designate it as the blank tile).
displaySolution
Link copied to clipboard
private fun displaySolution()
Displays the solution found by the app via the A* algorithm implemented in SolveUtil.
displayStats
Link copied to clipboard
private fun displayStats()
Displays the game statistics (namely the fewest number of moves and the fastest time taken to solve the 8-puzzle).
displaySuccessMessage
Link copied to clipboard
private fun displaySuccessMessage(solveStatus: SolveStatus)
Displays the pertinent success message based on the game status, which, in turn, depends on whether the user solves the puzzle or opts to play the solution walkthrough instead.
enableClickables
Link copied to clipboard
private fun enableClickables()
Enables all the clickable components.
endGame
Link copied to clipboard
private fun endGame(solveStatus: SolveStatus)
Ends the game that is currently in session, in effect stopping the timer, displaying the pertinent success message, and resetting the variables in preparation for a new game if the user was able to solve the puzzle or for displaying the solution, otherwise.
endSolution
Link copied to clipboard
private fun endSolution()
Invoked when the solution walkthrough finishes.
finishShuffling
Link copied to clipboard
private fun finishShuffling()
Updates the components when the shuffling animation is fully completed.
getValidShuffledState
Link copied to clipboard
private fun getValidShuffledState()
Generates a valid shuffling of the puzzle tiles.
halfwayShuffling
Link copied to clipboard
private fun halfwayShuffling()
Updates the components when the shuffling animation is halfway finished.
hideSystemUI
Link copied to clipboard
private fun hideSystemUI()
Hides the navigation bar, status bar, and app bar, and displays the app in sticky immersive mode.
initChunks
Link copied to clipboard
private fun initChunks()
Sets the image chunks displayed on the individual puzzle tiles.
initComponents
Link copied to clipboard
private fun initComponents()
Initializes the components of this activity, particularly the layouts, widgets, listeners, and adapters.
initGalleryLauncher
Link copied to clipboard
private fun initGalleryLauncher()
Initializes the activity result launcher related to choosing an image from the Gallery.
initHandlers
Link copied to clipboard
private fun initHandlers()
Initializes the handlers related to shuffling the tiles, triggering the game timer, and displaying the solution.
initPuzzle
Link copied to clipboard
private fun initPuzzle()
Initializes the dynamic components and listeners related to the puzzle grid.
initPuzzleImage
Link copied to clipboard
private fun initPuzzleImage()
Sets the puzzle image to the most recently selected image (persists even when the app is closed) and resizes (crops) it to fit the dimensions of the puzzle grid.
initSharedPreferences
Link copied to clipboard
private fun initSharedPreferences()
Retrieves the values stored using shared preferences, particularly those pertaining to the game statistics (and displays them as well).
initStateAndTileImages
Link copied to clipboard
private fun initStateAndTileImages()
Initializes the puzzle state and the images of the tiles in the grid.
launchTimer
Link copied to clipboard
private fun launchTimer()
Launches and starts the timer when a game in session, updating its display every second until halted when the game ends.
loadPuzzle
Link copied to clipboard
private fun loadPuzzle(imagePath: Uri?)
Sets the puzzle image to the photo chosen from the Gallery and performs the necessary bitmap manipulations to update the display on the puzzle grid.
private fun loadPuzzle(position: Int)
Loads and displays the puzzle grid, with the correct tile images (8 tiles with no filter applied and 1 tile with a dark color filter applied to designate it as the blank tile).
moveTile
Link copied to clipboard
private fun moveTile(direction: FlingDirection, position: Int)
Moves the specified tile in the given direction of the user's fling gesture.
onCreate
Link copied to clipboard
protected open override fun onCreate(savedInstanceState: Bundle?)
Called when the activity is first created.
onRequestPermissionsResult
Link copied to clipboard
open override fun onRequestPermissionsResult(requestCode: Int, permissions: Array<out String>, grantResults: IntArray)
Callback for the result from requesting permissions.
onResume
Link copied to clipboard
protected open override fun onResume()
Called after onRestoreInstanceState(Bundle), onRestart(), or onPause().
onWindowFocusChanged
Link copied to clipboard
open override fun onWindowFocusChanged(hasFocus: Boolean)
Called when the current Window of the activity gains or loses focus.
pauseSolution
Link copied to clipboard
private fun pauseSolution()
Pauses the solution walkthrough.
permissionsResult
Link copied to clipboard
private fun permissionsResult(grantResults: IntArray)
Defines the behavior related to choosing an image from the Gallery based on the permissions granted by the user.
prepareForNewGame
Link copied to clipboard
private fun prepareForNewGame()
Handles the back-end and front-end operations in preparation for a new game.
prepareForSolution
Link copied to clipboard
private fun prepareForSolution()
Updates the components in preparation for showing the solution found by the app via the A* algorithm implemented in SolveUtil.
resetDisplayedStats
Link copied to clipboard
private fun resetDisplayedStats()
Resets the statistics displayed (setting their values to 0) at the start of a game (that is, immediately after the shuffling animation finishes).
resetState
Link copied to clipboard
private fun resetState()
Resets the puzzle state back to the original state (that is, the goal state).
resumeSolution
Link copied to clipboard
private fun resumeSolution()
Resumes playing the solution walkthrough.
saveFastestTime
Link copied to clipboard
private fun saveFastestTime()
Updates the saved fastest time taken to solve the puzzle by storing the new values in the shared preferences file.
saveFewestAndFastest
Link copied to clipboard
private fun saveFewestAndFastest()
Updates the saved fewest number of moves and fastest time taken to solve the puzzle by storing the new values in the shared preferences file.
saveFewestMoves
Link copied to clipboard
private fun saveFewestMoves()
Updates the saved fewest number of moves taken to solve the puzzle by storing the new values in the shared preferences file.
saveStats
Link copied to clipboard
private fun saveStats(solveStatus: SolveStatus)
Updates the saved statistics (namely the fewest number of moves and fastest time taken to solve the puzzle) at the end of a game provided that the user has set a new record for these statistics.
setBtnShuffleAction
Link copied to clipboard
private fun setBtnShuffleAction()
Sets the click event listener for the button for shuffling the tiles (if the game is not yet in session) or displaying the solution (if the game is already in session).
setBtnUploadAction
Link copied to clipboard
private fun setBtnUploadAction()
Sets the click event listener for the button for selecting a custom puzzle image from the Gallery (if the game is not yet in session) or skipping the solution (if the solution walkthrough is currently being played).
setDimensions
Link copied to clipboard
private fun setDimensions()
Sets the dimensions of the puzzle grid and its individual tiles.
setOnFlingListener
Link copied to clipboard
private fun setOnFlingListener()
Sets the listener for responding to detected fling gestures.
setSpnPuzzleAction
Link copied to clipboard
private fun setSpnPuzzleAction()
Sets the item selection event listener for the spinner.
setTouchSlopThreshold
Link copied to clipboard
private fun setTouchSlopThreshold()
Sets the distance in pixels a touch can wander before it is registered as a fling gesture.
showTileAt
Link copied to clipboard
private fun showTileAt(position: Int)
Removes the dark color filter on the specified tile as part of the shuffling animation.
shuffle
Link copied to clipboard
private fun shuffle()
Handles the back-end and front-end operations when the puzzle tiles are shuffled.
skipSolution
Link copied to clipboard
private fun skipSolution()
Skips the solution walkthrough.
solve
Link copied to clipboard
private fun solve()
Handles the back-end and front-end operations when the user opts to display the solution found by the app via the A* algorithm implemented in SolveUtil.
startShowingTiles
Link copied to clipboard
private fun startShowingTiles()
Removes the dark color filter on the eight non-blank tiles at random intervals as part of the shuffling animation.
startSolution
Link copied to clipboard
private fun startSolution()
Invoked when the solution walkthrough starts.
trackMove
Link copied to clipboard
private fun trackMove()
Updates and displays the number of movies every time a user moves a tile.
updateComponents
Link copied to clipboard
private fun updateComponents()
Updates the components depending on whether the shuffling animation is halfway finished or fully completed.
updateGameStatus
Link copied to clipboard
private fun updateGameStatus(): Boolean
Updates the game status depending on whether user solves the puzzle or opts to play the solution walkthrough instead.
updatePuzzleImage
Link copied to clipboard
private fun updatePuzzleImage(imagePath: Uri?)
Sets the puzzle image to the photo chosen from the Gallery
private fun updatePuzzleImage(position: Int)
Updates the puzzle image displayed on the grid when a new image is chosen via the spinner.
uploadPuzzleImage
Link copied to clipboard
private fun uploadPuzzleImage()
Obtains the necessary permission for choosing a photo from the Gallery as the puzzle image.

Inherited functions

addContentView
Link copied to clipboard
open override fun addContentView(p0: View, p1: ViewGroup.LayoutParams)
addOnContextAvailableListener
Link copied to clipboard
override fun addOnContextAvailableListener(@NonNull() p0: OnContextAvailableListener)
applyOverrideConfiguration
Link copied to clipboard
open fun applyOverrideConfiguration(p0: Configuration)
attachBaseContext
Link copied to clipboard
open override fun attachBaseContext(p0: Context)
bindIsolatedService
Link copied to clipboard
open override fun bindIsolatedService(p0: Intent, p1: Int, p2: String, p3: Executor, p4: ServiceConnection): Boolean
bindService
Link copied to clipboard
open override fun bindService(p0: Intent, p1: ServiceConnection, p2: Int): Boolean
open override fun bindService(p0: Intent, p1: Int, p2: Executor, p3: ServiceConnection): Boolean
bindServiceAsUser
Link copied to clipboard
open override fun bindServiceAsUser(p0: Intent, p1: ServiceConnection, p2: Int, p3: UserHandle): Boolean
checkCallingOrSelfPermission
Link copied to clipboard
open override fun checkCallingOrSelfPermission(p0: String): Int
checkCallingOrSelfUriPermission
Link copied to clipboard
open override fun checkCallingOrSelfUriPermission(p0: Uri, p1: Int): Int
checkCallingPermission
Link copied to clipboard
open override fun checkCallingPermission(p0: String): Int
checkCallingUriPermission
Link copied to clipboard
open override fun checkCallingUriPermission(p0: Uri, p1: Int): Int
checkPermission
Link copied to clipboard
open override fun checkPermission(p0: String, p1: Int, p2: Int): Int
checkSelfPermission
Link copied to clipboard
open override fun checkSelfPermission(p0: String): Int
checkUriPermission
Link copied to clipboard
open override fun checkUriPermission(p0: Uri, p1: Int, p2: Int, p3: Int): Int
open override fun checkUriPermission(p0: Uri?, p1: String?, p2: String?, p3: Int, p4: Int, p5: Int): Int
clearWallpaper
Link copied to clipboard
open override fun clearWallpaper()
closeContextMenu
Link copied to clipboard
open fun closeContextMenu()
closeOptionsMenu
Link copied to clipboard
open override fun closeOptionsMenu()
createAttributionContext
Link copied to clipboard
open override fun createAttributionContext(p0: String?): Context
createConfigurationContext
Link copied to clipboard
open override fun createConfigurationContext(p0: Configuration): Context
createContextForSplit
Link copied to clipboard
open override fun createContextForSplit(p0: String): Context
createDeviceProtectedStorageContext
Link copied to clipboard
open override fun createDeviceProtectedStorageContext(): Context
createDisplayContext
Link copied to clipboard
open override fun createDisplayContext(p0: Display): Context
createPackageContext
Link copied to clipboard
open override fun createPackageContext(p0: String, p1: Int): Context
createPendingResult
Link copied to clipboard
open fun createPendingResult(p0: Int, p1: Intent, p2: Int): PendingIntent
createWindowContext
Link copied to clipboard
open override fun createWindowContext(p0: Int, p1: Bundle?): Context
databaseList
Link copied to clipboard
open override fun databaseList(): Array<String>
deleteDatabase
Link copied to clipboard
open override fun deleteDatabase(p0: String): Boolean
deleteFile
Link copied to clipboard
open override fun deleteFile(p0: String): Boolean
deleteSharedPreferences
Link copied to clipboard
open override fun deleteSharedPreferences(p0: String): Boolean
dismissDialog
Link copied to clipboard
fun dismissDialog(p0: Int)
dismissKeyboardShortcutsHelper
Link copied to clipboard
fun dismissKeyboardShortcutsHelper()
dispatchFragmentsOnCreateView
Link copied to clipboard
fun dispatchFragmentsOnCreateView(@Nullable() p0: View?, @NonNull() p1: String, @NonNull() p2: Context, @NonNull() p3: AttributeSet): View?
dispatchGenericMotionEvent
Link copied to clipboard
open override fun dispatchGenericMotionEvent(p0: MotionEvent): Boolean
dispatchKeyEvent
Link copied to clipboard
open override fun dispatchKeyEvent(p0: KeyEvent): Boolean
dispatchKeyShortcutEvent
Link copied to clipboard
open override fun dispatchKeyShortcutEvent(event: KeyEvent): Boolean
dispatchPopulateAccessibilityEvent
Link copied to clipboard
open override fun dispatchPopulateAccessibilityEvent(p0: AccessibilityEvent): Boolean
dispatchTouchEvent
Link copied to clipboard
open override fun dispatchTouchEvent(p0: MotionEvent): Boolean
dispatchTrackballEvent
Link copied to clipboard
open override fun dispatchTrackballEvent(p0: MotionEvent): Boolean
dump
Link copied to clipboard
open override fun dump(@NonNull() p0: String, @Nullable() p1: FileDescriptor?, @NonNull() p2: PrintWriter, @Nullable() p3: Array<String>?)
enforceCallingOrSelfPermission
Link copied to clipboard
open override fun enforceCallingOrSelfPermission(p0: String, p1: String?)
enforceCallingOrSelfUriPermission
Link copied to clipboard
open override fun enforceCallingOrSelfUriPermission(p0: Uri, p1: Int, p2: String)
enforceCallingPermission
Link copied to clipboard
open override fun enforceCallingPermission(p0: String, p1: String?)
enforceCallingUriPermission
Link copied to clipboard
open override fun enforceCallingUriPermission(p0: Uri, p1: Int, p2: String)
enforcePermission
Link copied to clipboard
open override fun enforcePermission(p0: String, p1: Int, p2: Int, p3: String?)
enforceUriPermission
Link copied to clipboard
open override fun enforceUriPermission(p0: Uri, p1: Int, p2: Int, p3: Int, p4: String)
open override fun enforceUriPermission(p0: Uri?, p1: String?, p2: String?, p3: Int, p4: Int, p5: Int, p6: String?)
ensureViewModelStore
Link copied to clipboard
open fun ensureViewModelStore()
enterPictureInPictureMode
Link copied to clipboard
open fun enterPictureInPictureMode()
open fun enterPictureInPictureMode(p0: PictureInPictureParams): Boolean
fileList
Link copied to clipboard
open override fun fileList(): Array<String>
findViewById
Link copied to clipboard
open override fun <T : View> findViewById(@IdRes() p0: Int): T
finish
Link copied to clipboard
open fun finish()
finishActivity
Link copied to clipboard
open fun finishActivity(p0: Int)
finishActivityFromChild
Link copied to clipboard
open fun finishActivityFromChild(p0: Activity, p1: Int)
finishAffinity
Link copied to clipboard
open fun finishAffinity()
finishAfterTransition
Link copied to clipboard
open fun finishAfterTransition()
finishAndRemoveTask
Link copied to clipboard
open fun finishAndRemoveTask()
finishFromChild
Link copied to clipboard
open fun finishFromChild(p0: Activity)
getActionBar
Link copied to clipboard
open fun getActionBar(): ActionBar?
getActivityResultRegistry
Link copied to clipboard
override fun getActivityResultRegistry(): ActivityResultRegistry
getApplication
Link copied to clipboard
fun getApplication(): Application
getApplicationContext
Link copied to clipboard
open override fun getApplicationContext(): Context
getApplicationInfo
Link copied to clipboard
open override fun getApplicationInfo(): ApplicationInfo
getAssets
Link copied to clipboard
open override fun getAssets(): AssetManager
getAttributionTag
Link copied to clipboard
open override fun getAttributionTag(): String?
getBaseContext
Link copied to clipboard
open fun getBaseContext(): Context
getCacheDir
Link copied to clipboard
open override fun getCacheDir(): File
getCallingActivity
Link copied to clipboard
open fun getCallingActivity(): ComponentName?
getCallingPackage
Link copied to clipboard
open fun getCallingPackage(): String?
getChangingConfigurations
Link copied to clipboard
open fun getChangingConfigurations(): Int
getClassLoader
Link copied to clipboard
open override fun getClassLoader(): ClassLoader
getCodeCacheDir
Link copied to clipboard
open override fun getCodeCacheDir(): File
getColor
Link copied to clipboard
fun getColor(p0: Int): Int
getColorStateList
Link copied to clipboard
fun getColorStateList(p0: Int): ColorStateList
getComponentName
Link copied to clipboard
open fun getComponentName(): ComponentName
getContentResolver
Link copied to clipboard
open override fun getContentResolver(): ContentResolver
getContentScene
Link copied to clipboard
open fun getContentScene(): Scene
getContentTransitionManager
Link copied to clipboard
open fun getContentTransitionManager(): TransitionManager
getCurrentFocus
Link copied to clipboard
open fun getCurrentFocus(): View?
getDatabasePath
Link copied to clipboard
open override fun getDatabasePath(p0: String): File
getDataDir
Link copied to clipboard
open override fun getDataDir(): File
getDefaultViewModelProviderFactory
Link copied to clipboard
open override fun getDefaultViewModelProviderFactory(): ViewModelProvider.Factory
getDelegate
Link copied to clipboard
open fun getDelegate(): AppCompatDelegate
getDir
Link copied to clipboard
open override fun getDir(p0: String, p1: Int): File
getDisplay
Link copied to clipboard
open override fun getDisplay(): Display?
getDrawable
Link copied to clipboard
fun getDrawable(p0: Int): Drawable?
getDrawerToggleDelegate
Link copied to clipboard
open override fun getDrawerToggleDelegate(): ActionBarDrawerToggle.Delegate?
getExternalCacheDir
Link copied to clipboard
open override fun getExternalCacheDir(): File?
getExternalCacheDirs
Link copied to clipboard
open override fun getExternalCacheDirs(): Array<File>
getExternalFilesDir
Link copied to clipboard
open override fun getExternalFilesDir(p0: String?): File?
getExternalFilesDirs
Link copied to clipboard
open override fun getExternalFilesDirs(p0: String): Array<File>
getExternalMediaDirs
Link copied to clipboard
open override fun getExternalMediaDirs(): Array<File>
getExtraData
Link copied to clipboard
open fun <T : ComponentActivity.ExtraData> getExtraData(extraDataClass: Class<T>): T
getFilesDir
Link copied to clipboard
open override fun getFilesDir(): File
getFileStreamPath
Link copied to clipboard
open override fun getFileStreamPath(p0: String): File
getFragmentManager
Link copied to clipboard
open fun getFragmentManager(): FragmentManager
getIntent
Link copied to clipboard
open fun getIntent(): Intent
getLastCustomNonConfigurationInstance
Link copied to clipboard
open fun getLastCustomNonConfigurationInstance(): Any?
getLastNonConfigurationInstance
Link copied to clipboard
open fun getLastNonConfigurationInstance(): Any?
getLayoutInflater
Link copied to clipboard
open fun getLayoutInflater(): LayoutInflater
getLifecycle
Link copied to clipboard
open override fun getLifecycle(): Lifecycle
getLoaderManager
Link copied to clipboard
open fun getLoaderManager(): LoaderManager
getLocalClassName
Link copied to clipboard
open fun getLocalClassName(): String
getMainExecutor
Link copied to clipboard
open override fun getMainExecutor(): Executor
getMainLooper
Link copied to clipboard
open override fun getMainLooper(): Looper
getMaxNumPictureInPictureActions
Link copied to clipboard
open fun getMaxNumPictureInPictureActions(): Int
getMediaController
Link copied to clipboard
fun getMediaController(): MediaController
getMenuInflater
Link copied to clipboard
open override fun getMenuInflater(): MenuInflater
getNoBackupFilesDir
Link copied to clipboard
open override fun getNoBackupFilesDir(): File
getObbDir
Link copied to clipboard
open override fun getObbDir(): File
getObbDirs
Link copied to clipboard
open override fun getObbDirs(): Array<File>
getOnBackPressedDispatcher
Link copied to clipboard
override fun getOnBackPressedDispatcher(): OnBackPressedDispatcher
getOpPackageName
Link copied to clipboard
open override fun getOpPackageName(): String
getPackageCodePath
Link copied to clipboard
open override fun getPackageCodePath(): String
getPackageManager
Link copied to clipboard
open override fun getPackageManager(): PackageManager
getPackageName
Link copied to clipboard
open override fun getPackageName(): String
getPackageResourcePath
Link copied to clipboard
open override fun getPackageResourcePath(): String
getParent
Link copied to clipboard
fun getParent(): Activity
getParentActivityIntent
Link copied to clipboard
open fun getParentActivityIntent(): Intent?
getPreferences
Link copied to clipboard
open fun getPreferences(p0: Int): SharedPreferences
getReferrer
Link copied to clipboard
open fun getReferrer(): Uri?
getRequestedOrientation
Link copied to clipboard
open fun getRequestedOrientation(): Int
getResources
Link copied to clipboard
open override fun getResources(): Resources
getSavedStateRegistry
Link copied to clipboard
override fun getSavedStateRegistry(): SavedStateRegistry
getSearchEvent
Link copied to clipboard
fun getSearchEvent(): SearchEvent
getSharedPreferences
Link copied to clipboard
open override fun getSharedPreferences(p0: String, p1: Int): SharedPreferences
getString
Link copied to clipboard
fun getString(p0: Int): String
fun getString(p0: Int, vararg p1: Any): String
getSupportActionBar
Link copied to clipboard
open fun getSupportActionBar(): ActionBar?
getSupportFragmentManager
Link copied to clipboard
open fun getSupportFragmentManager(): FragmentManager
getSupportLoaderManager
Link copied to clipboard
open fun getSupportLoaderManager(): LoaderManager
getSupportParentActivityIntent
Link copied to clipboard
open override fun getSupportParentActivityIntent(): Intent?
getSystemService
Link copied to clipboard
open override fun getSystemService(p0: String): Any
fun <T : Any> getSystemService(p0: Class<T>): T
getSystemServiceName
Link copied to clipboard
open override fun getSystemServiceName(p0: Class<*>): String?
getTaskId
Link copied to clipboard
open fun getTaskId(): Int
getText
Link copied to clipboard
fun getText(p0: Int): CharSequence
getTheme
Link copied to clipboard
open override fun getTheme(): Resources.Theme
getTitle
Link copied to clipboard
fun getTitle(): CharSequence
getTitleColor
Link copied to clipboard
fun getTitleColor(): Int
getViewModelStore
Link copied to clipboard
open override fun getViewModelStore(): ViewModelStore
getVoiceInteractor
Link copied to clipboard
open fun getVoiceInteractor(): VoiceInteractor
getVolumeControlStream
Link copied to clipboard
fun getVolumeControlStream(): Int
getWallpaper
Link copied to clipboard
open override fun getWallpaper(): Drawable
getWallpaperDesiredMinimumHeight
Link copied to clipboard
open override fun getWallpaperDesiredMinimumHeight(): Int
getWallpaperDesiredMinimumWidth
Link copied to clipboard
open override fun getWallpaperDesiredMinimumWidth(): Int
getWindow
Link copied to clipboard
open fun getWindow(): Window
getWindowManager
Link copied to clipboard
open fun getWindowManager(): WindowManager
grantUriPermission
Link copied to clipboard
open override fun grantUriPermission(p0: String, p1: Uri, p2: Int)
hasWindowFocus
Link copied to clipboard
open fun hasWindowFocus(): Boolean
init
Link copied to clipboard
private open fun init()
initDelegate
Link copied to clipboard
private open fun initDelegate()
initViewTreeOwners
Link copied to clipboard
private open fun initViewTreeOwners()
invalidateOptionsMenu
Link copied to clipboard
open override fun invalidateOptionsMenu()
isActivityTransitionRunning
Link copied to clipboard
open fun isActivityTransitionRunning(): Boolean
isChangingConfigurations
Link copied to clipboard
open fun isChangingConfigurations(): Boolean
isChild
Link copied to clipboard
fun isChild(): Boolean
isDestroyed
Link copied to clipboard
open fun isDestroyed(): Boolean
isDeviceProtectedStorage
Link copied to clipboard
open override fun isDeviceProtectedStorage(): Boolean
isFinishing
Link copied to clipboard
open fun isFinishing(): Boolean
isImmersive
Link copied to clipboard
open fun isImmersive(): Boolean
isInMultiWindowMode
Link copied to clipboard
open fun isInMultiWindowMode(): Boolean
isInPictureInPictureMode
Link copied to clipboard
open fun isInPictureInPictureMode(): Boolean
isLocalVoiceInteractionSupported
Link copied to clipboard
open fun isLocalVoiceInteractionSupported(): Boolean
isRestricted
Link copied to clipboard
open override fun isRestricted(): Boolean
isTaskRoot
Link copied to clipboard
open fun isTaskRoot(): Boolean
isVoiceInteraction
Link copied to clipboard
open fun isVoiceInteraction(): Boolean
isVoiceInteractionRoot
Link copied to clipboard
open fun isVoiceInteractionRoot(): Boolean
managedQuery
Link copied to clipboard
fun managedQuery(p0: Uri, p1: Array<String>, p2: String, p3: Array<String>, p4: String): Cursor
markFragmentsCreated
Link copied to clipboard
open fun markFragmentsCreated()
moveDatabaseFrom
Link copied to clipboard
open override fun moveDatabaseFrom(p0: Context, p1: String): Boolean
moveSharedPreferencesFrom
Link copied to clipboard
open override fun moveSharedPreferencesFrom(p0: Context, p1: String): Boolean
moveTaskToBack
Link copied to clipboard
open fun moveTaskToBack(p0: Boolean): Boolean
navigateUpTo
Link copied to clipboard
open fun navigateUpTo(p0: Intent): Boolean
navigateUpToFromChild
Link copied to clipboard
open fun navigateUpToFromChild(p0: Activity, p1: Intent): Boolean
obtainStyledAttributes
Link copied to clipboard
fun obtainStyledAttributes(p0: IntArray): TypedArray
fun obtainStyledAttributes(p0: AttributeSet?, p1: IntArray): TypedArray
fun obtainStyledAttributes(p0: Int, p1: IntArray): TypedArray
fun obtainStyledAttributes(p0: AttributeSet?, p1: IntArray, p2: Int, p3: Int): TypedArray
onActionModeFinished
Link copied to clipboard
open override fun onActionModeFinished(p0: ActionMode)
onActionModeStarted
Link copied to clipboard
open override fun onActionModeStarted(p0: ActionMode)
onActivityReenter
Link copied to clipboard
open fun onActivityReenter(p0: Int, p1: Intent)
onActivityResult
Link copied to clipboard
open override fun onActivityResult(p0: Int, p1: Int, @Nullable() p2: Intent?)
onApplyThemeResource
Link copied to clipboard
open override fun onApplyThemeResource(p0: Resources.Theme, p1: Int, p2: Boolean)
onAttachedToWindow
Link copied to clipboard
open override fun onAttachedToWindow()
onAttachFragment
Link copied to clipboard
open fun onAttachFragment(p0: Fragment)
open fun onAttachFragment(@NonNull() p0: Fragment)
onBackPressed
Link copied to clipboard
open override fun onBackPressed()
onChildTitleChanged
Link copied to clipboard
open fun onChildTitleChanged(p0: Activity, p1: CharSequence)
onConfigurationChanged
Link copied to clipboard
open override fun onConfigurationChanged(@NonNull() p0: Configuration)
onContentChanged
Link copied to clipboard
open override fun onContentChanged()
onContextItemSelected
Link copied to clipboard
open fun onContextItemSelected(p0: MenuItem): Boolean
onContextMenuClosed
Link copied to clipboard
open fun onContextMenuClosed(p0: Menu)
onCreate
Link copied to clipboard
open fun onCreate(p0: Bundle?, p1: PersistableBundle?)
onCreateContextMenu
Link copied to clipboard
open override fun onCreateContextMenu(p0: ContextMenu, p1: View, p2: ContextMenu.ContextMenuInfo)
onCreateDescription
Link copied to clipboard
open fun onCreateDescription(): CharSequence?
onCreateDialog
Link copied to clipboard
open fun onCreateDialog(p0: Int): Dialog
open fun onCreateDialog(p0: Int, p1: Bundle): Dialog?
onCreateNavigateUpTaskStack
Link copied to clipboard
open fun onCreateNavigateUpTaskStack(p0: TaskStackBuilder)
onCreateOptionsMenu
Link copied to clipboard
open fun onCreateOptionsMenu(p0: Menu): Boolean
onCreatePanelMenu
Link copied to clipboard
open override fun onCreatePanelMenu(p0: Int, @NonNull() p1: Menu): Boolean
onCreatePanelView
Link copied to clipboard
open override fun onCreatePanelView(p0: Int): View?
onCreateSupportNavigateUpTaskStack
Link copied to clipboard
open fun onCreateSupportNavigateUpTaskStack(@NonNull() p0: TaskStackBuilder)
onCreateThumbnail
Link copied to clipboard
open fun onCreateThumbnail(p0: Bitmap, p1: Canvas): Boolean
onCreateView
Link copied to clipboard
open override fun onCreateView(@NonNull() p0: String, @NonNull() p1: Context, @NonNull() p2: AttributeSet): View?
open override fun onCreateView(@Nullable() p0: View?, @NonNull() p1: String, @NonNull() p2: Context, @NonNull() p3: AttributeSet): View?
onDestroy
Link copied to clipboard
open override fun onDestroy()
onDetachedFromWindow
Link copied to clipboard
open override fun onDetachedFromWindow()
onEnterAnimationComplete
Link copied to clipboard
open fun onEnterAnimationComplete()
onGenericMotionEvent
Link copied to clipboard
open fun onGenericMotionEvent(p0: MotionEvent): Boolean
onGetDirectActions
Link copied to clipboard
open fun onGetDirectActions(p0: CancellationSignal, p1: Consumer<MutableList<DirectAction>>)
onKeyDown
Link copied to clipboard
open override fun onKeyDown(p0: Int, p1: KeyEvent): Boolean
onKeyLongPress
Link copied to clipboard
open override fun onKeyLongPress(p0: Int, p1: KeyEvent): Boolean
onKeyMultiple
Link copied to clipboard
open override fun onKeyMultiple(p0: Int, p1: Int, p2: KeyEvent): Boolean
onKeyShortcut
Link copied to clipboard
open fun onKeyShortcut(p0: Int, p1: KeyEvent): Boolean
onKeyUp
Link copied to clipboard
open override fun onKeyUp(p0: Int, p1: KeyEvent): Boolean
onLocalVoiceInteractionStarted
Link copied to clipboard
open fun onLocalVoiceInteractionStarted()
onLocalVoiceInteractionStopped
Link copied to clipboard
open fun onLocalVoiceInteractionStopped()
onLowMemory
Link copied to clipboard
open override fun onLowMemory()
onMenuItemSelected
Link copied to clipboard
override fun onMenuItemSelected(p0: Int, @NonNull() p1: MenuItem): Boolean
onMenuOpened
Link copied to clipboard
open override fun onMenuOpened(p0: Int, p1: Menu): Boolean
onMultiWindowModeChanged
Link copied to clipboard
open override fun onMultiWindowModeChanged(p0: Boolean)
open fun onMultiWindowModeChanged(p0: Boolean, p1: Configuration)
onNavigateUp
Link copied to clipboard
open fun onNavigateUp(): Boolean
onNavigateUpFromChild
Link copied to clipboard
open fun onNavigateUpFromChild(p0: Activity): Boolean
onNewIntent
Link copied to clipboard
open override fun onNewIntent(p0: Intent)
onNightModeChanged
Link copied to clipboard
open fun onNightModeChanged(p0: Int)
onOptionsItemSelected
Link copied to clipboard
open fun onOptionsItemSelected(p0: MenuItem): Boolean
onOptionsMenuClosed
Link copied to clipboard
open fun onOptionsMenuClosed(p0: Menu)
onPanelClosed
Link copied to clipboard
open override fun onPanelClosed(p0: Int, @NonNull() p1: Menu)
onPause
Link copied to clipboard
open override fun onPause()
onPerformDirectAction
Link copied to clipboard
open fun onPerformDirectAction(p0: String, p1: Bundle, p2: CancellationSignal, p3: Consumer<Bundle>)
onPictureInPictureModeChanged
Link copied to clipboard
open override fun onPictureInPictureModeChanged(p0: Boolean)
open fun onPictureInPictureModeChanged(p0: Boolean, p1: Configuration)
onPictureInPictureRequested
Link copied to clipboard
open fun onPictureInPictureRequested(): Boolean
onPointerCaptureChanged
Link copied to clipboard
open fun onPointerCaptureChanged(p0: Boolean)
onPostCreate
Link copied to clipboard
open override fun onPostCreate(@Nullable() p0: Bundle?)
open fun onPostCreate(p0: Bundle?, p1: PersistableBundle?)
onPostResume
Link copied to clipboard
open override fun onPostResume()
onPrepareDialog
Link copied to clipboard
open fun onPrepareDialog(p0: Int, p1: Dialog)
open fun onPrepareDialog(p0: Int, p1: Dialog, p2: Bundle)
onPrepareNavigateUpTaskStack
Link copied to clipboard
open fun onPrepareNavigateUpTaskStack(p0: TaskStackBuilder)
onPrepareOptionsMenu
Link copied to clipboard
open fun onPrepareOptionsMenu(p0: Menu): Boolean
onPrepareOptionsPanel
Link copied to clipboard
open fun onPrepareOptionsPanel(@Nullable() p0: View?, @NonNull() p1: Menu): Boolean
onPreparePanel
Link copied to clipboard
open override fun onPreparePanel(p0: Int, @Nullable() p1: View?, @NonNull() p2: Menu): Boolean
onPrepareSupportNavigateUpTaskStack
Link copied to clipboard
open fun onPrepareSupportNavigateUpTaskStack(@NonNull() p0: TaskStackBuilder)
onProvideAssistContent
Link copied to clipboard
open fun onProvideAssistContent(p0: AssistContent)
onProvideAssistData
Link copied to clipboard
open fun onProvideAssistData(p0: Bundle)
onProvideKeyboardShortcuts
Link copied to clipboard
open override fun onProvideKeyboardShortcuts(p0: MutableList<KeyboardShortcutGroup>, p1: Menu?, p2: Int)
onProvideReferrer
Link copied to clipboard
open fun onProvideReferrer(): Uri
onRestart
Link copied to clipboard
open fun onRestart()
onRestoreInstanceState
Link copied to clipboard
open fun onRestoreInstanceState(p0: Bundle)
open fun onRestoreInstanceState(p0: Bundle?, p1: PersistableBundle?)
onResumeFragments
Link copied to clipboard
open fun onResumeFragments()
onRetainCustomNonConfigurationInstance
Link copied to clipboard
open fun onRetainCustomNonConfigurationInstance(): Any?
onRetainNonConfigurationInstance
Link copied to clipboard
override fun onRetainNonConfigurationInstance(): Any?
onSaveInstanceState
Link copied to clipboard
open override fun onSaveInstanceState(@NonNull() p0: Bundle)
open fun onSaveInstanceState(p0: Bundle, p1: PersistableBundle)
onSearchRequested
Link copied to clipboard
open override fun onSearchRequested(): Boolean
open override fun onSearchRequested(p0: SearchEvent?): Boolean
onStart
Link copied to clipboard
open override fun onStart()
onStateNotSaved
Link copied to clipboard
open override fun onStateNotSaved()
onStop
Link copied to clipboard
open override fun onStop()
onSupportActionModeFinished
Link copied to clipboard
open override fun onSupportActionModeFinished(@NonNull() p0: ActionMode)
onSupportActionModeStarted
Link copied to clipboard
open override fun onSupportActionModeStarted(@NonNull() p0: ActionMode)
onSupportContentChanged
Link copied to clipboard
open fun onSupportContentChanged()
onSupportNavigateUp
Link copied to clipboard
open fun onSupportNavigateUp(): Boolean
onTitleChanged
Link copied to clipboard
open override fun onTitleChanged(p0: CharSequence, p1: Int)
onTopResumedActivityChanged
Link copied to clipboard
open fun onTopResumedActivityChanged(p0: Boolean)
onTouchEvent
Link copied to clipboard
open fun onTouchEvent(p0: MotionEvent): Boolean
onTrackballEvent
Link copied to clipboard
open fun onTrackballEvent(p0: MotionEvent): Boolean
onTrimMemory
Link copied to clipboard
open override fun onTrimMemory(p0: Int)
onUserInteraction
Link copied to clipboard
open fun onUserInteraction()
onUserLeaveHint
Link copied to clipboard
open fun onUserLeaveHint()
onVisibleBehindCanceled
Link copied to clipboard
open fun onVisibleBehindCanceled()
onWindowAttributesChanged
Link copied to clipboard
open override fun onWindowAttributesChanged(p0: WindowManager.LayoutParams)
onWindowStartingActionMode
Link copied to clipboard
open override fun onWindowStartingActionMode(p0: ActionMode.Callback): ActionMode?
open override fun onWindowStartingActionMode(p0: ActionMode.Callback, p1: Int): ActionMode?
onWindowStartingSupportActionMode
Link copied to clipboard
open override fun onWindowStartingSupportActionMode(@NonNull() p0: ActionMode.Callback): ActionMode?
openContextMenu
Link copied to clipboard
open fun openContextMenu(p0: View)
openFileInput
Link copied to clipboard
open override fun openFileInput(p0: String): FileInputStream
openFileOutput
Link copied to clipboard
open override fun openFileOutput(p0: String, p1: Int): FileOutputStream
openOptionsMenu
Link copied to clipboard
open override fun openOptionsMenu()
openOrCreateDatabase
Link copied to clipboard
open override fun openOrCreateDatabase(p0: String, p1: Int, p2: SQLiteDatabase.CursorFactory): SQLiteDatabase
open override fun openOrCreateDatabase(p0: String, p1: Int, p2: SQLiteDatabase.CursorFactory, p3: DatabaseErrorHandler?): SQLiteDatabase
overridePendingTransition
Link copied to clipboard
open fun overridePendingTransition(p0: Int, p1: Int)
peekAvailableContext
Link copied to clipboard
open override fun peekAvailableContext(): Context?
peekWallpaper
Link copied to clipboard
open override fun peekWallpaper(): Drawable
performMenuItemShortcut
Link copied to clipboard
private open fun performMenuItemShortcut(p0: KeyEvent): Boolean
postponeEnterTransition
Link copied to clipboard
open fun postponeEnterTransition()
putExtraData
Link copied to clipboard
open fun putExtraData(extraData: ComponentActivity.ExtraData)
recreate
Link copied to clipboard
open fun recreate()
registerComponentCallbacks
Link copied to clipboard
open fun registerComponentCallbacks(p0: ComponentCallbacks)
registerForActivityResult
Link copied to clipboard
registerForContextMenu
Link copied to clipboard
open fun registerForContextMenu(p0: View)
registerReceiver
Link copied to clipboard
open override fun registerReceiver(p0: BroadcastReceiver?, p1: IntentFilter): Intent?
open override fun registerReceiver(p0: BroadcastReceiver?, p1: IntentFilter, p2: Int): Intent?
open override fun registerReceiver(p0: BroadcastReceiver, p1: IntentFilter, p2: String?, p3: Handler?): Intent?
open override fun registerReceiver(p0: BroadcastReceiver, p1: IntentFilter, p2: String?, p3: Handler?, p4: Int): Intent?
releaseInstance
Link copied to clipboard
open fun releaseInstance(): Boolean
removeDialog
Link copied to clipboard
fun removeDialog(p0: Int)
removeOnContextAvailableListener
Link copied to clipboard
override fun removeOnContextAvailableListener(@NonNull() p0: OnContextAvailableListener)
removeStickyBroadcast
Link copied to clipboard
open override fun removeStickyBroadcast(p0: Intent)
removeStickyBroadcastAsUser
Link copied to clipboard
open override fun removeStickyBroadcastAsUser(p0: Intent, p1: UserHandle)
reportFullyDrawn
Link copied to clipboard
open override fun reportFullyDrawn()
requestDragAndDropPermissions
Link copied to clipboard
open fun requestDragAndDropPermissions(p0: DragEvent): DragAndDropPermissions
requestPermissions
Link copied to clipboard
fun requestPermissions(p0: Array<String>, p1: Int)
requestShowKeyboardShortcuts
Link copied to clipboard
fun requestShowKeyboardShortcuts()
requestVisibleBehind
Link copied to clipboard
open fun requestVisibleBehind(p0: Boolean): Boolean
requestWindowFeature
Link copied to clipboard
fun requestWindowFeature(p0: Int): Boolean
requireViewById
Link copied to clipboard
fun <T : View> requireViewById(p0: Int): T
revokeUriPermission
Link copied to clipboard
open override fun revokeUriPermission(p0: Uri, p1: Int)
open override fun revokeUriPermission(p0: String, p1: Uri, p2: Int)
runOnUiThread
Link copied to clipboard
fun runOnUiThread(p0: Runnable)
sendBroadcast
Link copied to clipboard
open override fun sendBroadcast(p0: Intent)
open override fun sendBroadcast(p0: Intent, p1: String?)
sendBroadcastAsUser
Link copied to clipboard
open override fun sendBroadcastAsUser(p0: Intent, p1: UserHandle)
open override fun sendBroadcastAsUser(p0: Intent, p1: UserHandle, p2: String?)
sendBroadcastWithMultiplePermissions
Link copied to clipboard
open fun sendBroadcastWithMultiplePermissions(p0: Intent, p1: Array<String>)
sendOrderedBroadcast
Link copied to clipboard
open override fun sendOrderedBroadcast(p0: Intent, p1: String?)
open override fun sendOrderedBroadcast(p0: Intent, p1: String?, p2: BroadcastReceiver?, p3: Handler?, p4: Int, p5: String?, p6: Bundle?)
open override fun sendOrderedBroadcast(p0: Intent, p1: String?, p2: String?, p3: BroadcastReceiver?, p4: Handler?, p5: Int, p6: String?, p7: Bundle?)
open fun sendOrderedBroadcast(p0: Intent, p1: Int, p2: String?, p3: String?, p4: BroadcastReceiver?, p5: Handler?, p6: String?, p7: Bundle?, p8: Bundle?)
sendOrderedBroadcastAsUser
Link copied to clipboard
open override fun sendOrderedBroadcastAsUser(p0: Intent, p1: UserHandle, p2: String?, p3: BroadcastReceiver, p4: Handler?, p5: Int, p6: String?, p7: Bundle?)
sendStickyBroadcast
Link copied to clipboard
open override fun sendStickyBroadcast(p0: Intent)
sendStickyBroadcastAsUser
Link copied to clipboard
open override fun sendStickyBroadcastAsUser(p0: Intent, p1: UserHandle)
sendStickyOrderedBroadcast
Link copied to clipboard
open override fun sendStickyOrderedBroadcast(p0: Intent, p1: BroadcastReceiver, p2: Handler?, p3: Int, p4: String?, p5: Bundle?)
sendStickyOrderedBroadcastAsUser
Link copied to clipboard
open override fun sendStickyOrderedBroadcastAsUser(p0: Intent, p1: UserHandle, p2: BroadcastReceiver, p3: Handler?, p4: Int, p5: String?, p6: Bundle?)
setActionBar
Link copied to clipboard
open fun setActionBar(p0: Toolbar?)
setContentTransitionManager
Link copied to clipboard
open fun setContentTransitionManager(p0: TransitionManager)
setContentView
Link copied to clipboard
open override fun setContentView(p0: View)
open override fun setContentView(@LayoutRes() p0: Int)
open override fun setContentView(p0: View, p1: ViewGroup.LayoutParams)
setDefaultKeyMode
Link copied to clipboard
fun setDefaultKeyMode(p0: Int)
setEnterSharedElementCallback
Link copied to clipboard
open fun setEnterSharedElementCallback(p0: SharedElementCallback)
open fun setEnterSharedElementCallback(@Nullable() p0: SharedElementCallback?)
setExitSharedElementCallback
Link copied to clipboard
open fun setExitSharedElementCallback(p0: SharedElementCallback)
open fun setExitSharedElementCallback(@Nullable() p0: SharedElementCallback?)
setFeatureDrawable
Link copied to clipboard
fun setFeatureDrawable(p0: Int, p1: Drawable)
setFeatureDrawableAlpha
Link copied to clipboard
fun setFeatureDrawableAlpha(p0: Int, p1: Int)
setFeatureDrawableResource
Link copied to clipboard
fun setFeatureDrawableResource(p0: Int, p1: Int)
setFeatureDrawableUri
Link copied to clipboard
fun setFeatureDrawableUri(p0: Int, p1: Uri)
setFinishOnTouchOutside
Link copied to clipboard
open fun setFinishOnTouchOutside(p0: Boolean)
setImmersive
Link copied to clipboard
open fun setImmersive(p0: Boolean)
setInheritShowWhenLocked
Link copied to clipboard
open fun setInheritShowWhenLocked(p0: Boolean)
setIntent
Link copied to clipboard
open fun setIntent(p0: Intent)
setLocusContext
Link copied to clipboard
open fun setLocusContext(p0: LocusId?, p1: Bundle?)
setMediaController
Link copied to clipboard
fun setMediaController(p0: MediaController)
setPictureInPictureParams
Link copied to clipboard
open fun setPictureInPictureParams(p0: PictureInPictureParams)
setProgress
Link copied to clipboard
fun setProgress(p0: Int)
setProgressBarIndeterminate
Link copied to clipboard
fun setProgressBarIndeterminate(p0: Boolean)
setProgressBarIndeterminateVisibility
Link copied to clipboard
fun setProgressBarIndeterminateVisibility(p0: Boolean)
setProgressBarVisibility
Link copied to clipboard
fun setProgressBarVisibility(p0: Boolean)
setRequestedOrientation
Link copied to clipboard
open fun setRequestedOrientation(p0: Int)
setResult
Link copied to clipboard
fun setResult(p0: Int)
fun setResult(p0: Int, p1: Intent)
setSecondaryProgress
Link copied to clipboard
fun setSecondaryProgress(p0: Int)
setShowWhenLocked
Link copied to clipboard
open fun setShowWhenLocked(p0: Boolean)
setSupportActionBar
Link copied to clipboard
open fun setSupportActionBar(@Nullable() p0: Toolbar?)
setSupportProgress
Link copied to clipboard
open fun setSupportProgress(p0: Int)
setSupportProgressBarIndeterminate
Link copied to clipboard
open fun setSupportProgressBarIndeterminate(p0: Boolean)
open fun setSupportProgressBarIndeterminateVisibility(p0: Boolean)
setSupportProgressBarVisibility
Link copied to clipboard
open fun setSupportProgressBarVisibility(p0: Boolean)
setTaskDescription
Link copied to clipboard
open fun setTaskDescription(p0: ActivityManager.TaskDescription)
setTheme
Link copied to clipboard
open fun setTheme(p0: Resources.Theme?)
open override fun setTheme(@StyleRes() p0: Int)
setTitle
Link copied to clipboard
open fun setTitle(p0: CharSequence)
open fun setTitle(p0: Int)
setTitleColor
Link copied to clipboard
open fun setTitleColor(p0: Int)
setTranslucent
Link copied to clipboard
open fun setTranslucent(p0: Boolean): Boolean
setTurnScreenOn
Link copied to clipboard
open fun setTurnScreenOn(p0: Boolean)
setVisible
Link copied to clipboard
open fun setVisible(p0: Boolean)
setVolumeControlStream
Link copied to clipboard
fun setVolumeControlStream(p0: Int)
setVrModeEnabled
Link copied to clipboard
open fun setVrModeEnabled(p0: Boolean, p1: ComponentName)
setWallpaper
Link copied to clipboard
open override fun setWallpaper(p0: Bitmap)
open override fun setWallpaper(p0: InputStream)
shouldShowRequestPermissionRationale
Link copied to clipboard
open fun shouldShowRequestPermissionRationale(p0: String): Boolean
shouldUpRecreateTask
Link copied to clipboard
open fun shouldUpRecreateTask(p0: Intent): Boolean
showAssist
Link copied to clipboard
open fun showAssist(p0: Bundle): Boolean
showDialog
Link copied to clipboard
fun showDialog(p0: Int)
fun showDialog(p0: Int, p1: Bundle): Boolean
showLockTaskEscapeMessage
Link copied to clipboard
open fun showLockTaskEscapeMessage()
startActionMode
Link copied to clipboard
open fun startActionMode(p0: ActionMode.Callback): ActionMode?
open fun startActionMode(p0: ActionMode.Callback, p1: Int): ActionMode?
startActivities
Link copied to clipboard
open override fun startActivities(p0: Array<Intent>)
open override fun startActivities(p0: Array<Intent>, p1: Bundle)
startActivity
Link copied to clipboard
open override fun startActivity(p0: Intent)
open override fun startActivity(p0: Intent, p1: Bundle?)
startActivityForResult
Link copied to clipboard
open override fun startActivityForResult(p0: Intent, p1: Int)
open override fun startActivityForResult(p0: Intent, p1: Int, @Nullable() p2: Bundle?)
startActivityFromChild
Link copied to clipboard
open fun startActivityFromChild(p0: Activity, p1: Intent, p2: Int)
open fun startActivityFromChild(p0: Activity, p1: Intent, p2: Int, p3: Bundle?)
startActivityFromFragment
Link copied to clipboard
open fun startActivityFromFragment(p0: Fragment, p1: Intent, p2: Int)
open fun startActivityFromFragment(@NonNull() p0: Fragment, p1: Intent, p2: Int)
open fun startActivityFromFragment(p0: Fragment, p1: Intent, p2: Int, p3: Bundle?)
open fun startActivityFromFragment(@NonNull() p0: Fragment, p1: Intent, p2: Int, @Nullable() p3: Bundle?)
startActivityIfNeeded
Link copied to clipboard
open fun startActivityIfNeeded(p0: Intent, p1: Int): Boolean
open fun startActivityIfNeeded(p0: Intent, p1: Int, p2: Bundle?): Boolean
startForegroundService
Link copied to clipboard
open override fun startForegroundService(p0: Intent): ComponentName?
startInstrumentation
Link copied to clipboard
open override fun startInstrumentation(p0: ComponentName, p1: String?, p2: Bundle?): Boolean
startIntentSender
Link copied to clipboard
open override fun startIntentSender(p0: IntentSender, p1: Intent?, p2: Int, p3: Int, p4: Int)
open override fun startIntentSender(p0: IntentSender, p1: Intent?, p2: Int, p3: Int, p4: Int, p5: Bundle?)
startIntentSenderForResult
Link copied to clipboard
open override fun startIntentSenderForResult(p0: IntentSender, p1: Int, @Nullable() p2: Intent?, p3: Int, p4: Int, p5: Int)
open override fun startIntentSenderForResult(p0: IntentSender, p1: Int, @Nullable() p2: Intent?, p3: Int, p4: Int, p5: Int, @Nullable() p6: Bundle?)
startIntentSenderFromChild
Link copied to clipboard
open fun startIntentSenderFromChild(p0: Activity, p1: IntentSender, p2: Int, p3: Intent, p4: Int, p5: Int, p6: Int)
open fun startIntentSenderFromChild(p0: Activity, p1: IntentSender, p2: Int, p3: Intent, p4: Int, p5: Int, p6: Int, p7: Bundle?)
startIntentSenderFromFragment
Link copied to clipboard
open fun startIntentSenderFromFragment(@NonNull() p0: Fragment, p1: IntentSender, p2: Int, @Nullable() p3: Intent?, p4: Int, p5: Int, p6: Int, @Nullable() p7: Bundle?)
startLocalVoiceInteraction
Link copied to clipboard
open fun startLocalVoiceInteraction(p0: Bundle)
startLockTask
Link copied to clipboard
open fun startLockTask()
startManagingCursor
Link copied to clipboard
open fun startManagingCursor(p0: Cursor)
startNextMatchingActivity
Link copied to clipboard
open fun startNextMatchingActivity(p0: Intent): Boolean
open fun startNextMatchingActivity(p0: Intent, p1: Bundle?): Boolean
startPostponedEnterTransition
Link copied to clipboard
open fun startPostponedEnterTransition()
startSearch
Link copied to clipboard
open fun startSearch(p0: String?, p1: Boolean, p2: Bundle?, p3: Boolean)
startService
Link copied to clipboard
open override fun startService(p0: Intent): ComponentName?
startSupportActionMode
Link copied to clipboard
open fun startSupportActionMode(@NonNull() p0: ActionMode.Callback): ActionMode?
stopLocalVoiceInteraction
Link copied to clipboard
open fun stopLocalVoiceInteraction()
stopLockTask
Link copied to clipboard
open fun stopLockTask()
stopManagingCursor
Link copied to clipboard
open fun stopManagingCursor(p0: Cursor)
stopService
Link copied to clipboard
open override fun stopService(p0: Intent): Boolean
superDispatchKeyEvent
Link copied to clipboard
open override fun superDispatchKeyEvent(event: KeyEvent): Boolean
supportFinishAfterTransition
Link copied to clipboard
open fun supportFinishAfterTransition()
supportInvalidateOptionsMenu
Link copied to clipboard
open override fun supportInvalidateOptionsMenu()
supportNavigateUpTo
Link copied to clipboard
open fun supportNavigateUpTo(@NonNull() p0: Intent)
supportPostponeEnterTransition
Link copied to clipboard
open fun supportPostponeEnterTransition()
supportRequestWindowFeature
Link copied to clipboard
open fun supportRequestWindowFeature(p0: Int): Boolean
supportShouldUpRecreateTask
Link copied to clipboard
open fun supportShouldUpRecreateTask(@NonNull() p0: Intent): Boolean
supportStartPostponedEnterTransition
Link copied to clipboard
open fun supportStartPostponedEnterTransition()
takeKeyEvents
Link copied to clipboard
open fun takeKeyEvents(p0: Boolean)
triggerSearch
Link copied to clipboard
open fun triggerSearch(p0: String, p1: Bundle?)
unbindService
Link copied to clipboard
open override fun unbindService(p0: ServiceConnection)
unregisterComponentCallbacks
Link copied to clipboard
open fun unregisterComponentCallbacks(p0: ComponentCallbacks)
unregisterForContextMenu
Link copied to clipboard
open fun unregisterForContextMenu(p0: View)
unregisterReceiver
Link copied to clipboard
open override fun unregisterReceiver(p0: BroadcastReceiver)
updateServiceGroup
Link copied to clipboard
open override fun updateServiceGroup(p0: ServiceConnection, p1: Int, p2: Int)
validateRequestPermissionsRequestCode
Link copied to clipboard
override fun validateRequestPermissionsRequestCode(p0: Int)