public void onRequestPermissionsResult(int requestCode, String[] permissions, int[] grantResults, int deviceId) sourcepublic boolean shouldShowRequestPermissionRationale(String permission) sourcepublic boolean shouldShowRequestPermissionRationale(String permission, int deviceId) sourcepublic void onUserInteraction() empty body sourcepublic boolean dispatchTouchEvent(MotionEvent ev) sourcepublic boolean dispatchKeyEvent(KeyEvent event) sourcepublic boolean dispatchKeyShortcutEvent(KeyEvent event) sourcepublic boolean dispatchTrackballEvent(MotionEvent ev) sourcepublic boolean dispatchGenericMotionEvent(MotionEvent ev) sourcepublic boolean dispatchPopulateAccessibilityEvent(AccessibilityEvent event) sourcepublic boolean onTouchEvent(MotionEvent event) sourcepublic boolean onTrackballEvent(MotionEvent event) sourcepublic boolean onGenericMotionEvent(MotionEvent event) sourcepublic boolean onKeyShortcut(int keyCode, KeyEvent event) sourcepublic boolean onKeyDown(int keyCode, KeyEvent event) sourcepublic boolean onKeyLongPress(int keyCode, KeyEvent event) sourcepublic boolean onKeyUp(int keyCode, KeyEvent event) sourcepublic boolean onKeyMultiple(int keyCode, int repeatCount, KeyEvent event) sourcepublic void onBackPressed() deprecated sourcepublic Intent getParentActivityIntent() sourceThe manifest's parent activity, or null when the activity names none.
public boolean shouldUpRecreateTask(Intent targetIntent) sourceOne task holds every activity of the app, so the parent is always in it.
Finishes this activity alone, as when the parent is not found: the activity below it comes back.
public boolean onSearchRequested() sourcepublic boolean onSearchRequested(SearchEvent searchEvent) sourcepublic void onPointerCaptureChanged(boolean hasCapture) empty body sourcepublic View onCreatePanelView(int featureId) sourcepublic boolean onCreatePanelMenu(int featureId, Menu menu) sourcepublic boolean onPreparePanel(int featureId, View view, Menu menu) sourcepublic boolean onMenuOpened(int featureId, Menu menu) sourcepublic boolean onMenuItemSelected(int featureId, MenuItem item) sourcepublic void onPanelClosed(int featureId, Menu menu) empty body sourcepublic boolean onCreateOptionsMenu(Menu menu) sourcepublic boolean onPrepareOptionsMenu(Menu menu) sourcepublic boolean onOptionsItemSelected(MenuItem item) sourcepublic void invalidateOptionsMenu() empty body sourcepublic void openOptionsMenu() empty body sourcepublic void closeOptionsMenu() empty body sourcepublic void onWindowAttributesChanged(WindowManager.LayoutParams params) empty body sourcepublic void onContentChanged() empty body sourcepublic void onWindowFocusChanged(boolean hasFocus) empty body sourcepublic void onAttachedToWindow() empty body sourceMade from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.