API Level21 での Activity のメソッドを並び替えてみた

前回の記事を投稿した際に、API level 毎に一覧が見たいのとライフサイクルメソッドの完全版が欲しいと要望があったので一覧の方だけまとめてみました。完全版は作成中（想定外のログが取れてたので原因調査中）
API Level21 だけ眺めていると MediaController 系が増えているのがわかります。
従来は RCC(RemoteControlClient)で実装していたのが MediaSession に置き換わったための変更のようです。
RCC は音楽再生などをしているときにロックスクリーンに簡易的な再生パネルが表示されるアレですね。


| API Level | Method | status |
|:-----------:|:------------|:------------|
| 21 | public void finishAfterTransition () |  |
| 21 | public void finishAndRemoveTask () |  |
| 21 | public Scene getContentScene ()	|  |
| 21 | public TransitionManager getContentTransitionManager ()	|  |
| 21 | public final MediaController getMediaController ()	|  |
| 21 | public void onActivityReenter (int resultCode, Intent data)	|  |
| 21 | public void onCreate (Bundle savedInstanceState, PersistableBundle persistentState)	|  |
| 21 | public void onEnterAnimationComplete ()	|  |
| 21 | public void onPostCreate (Bundle savedInstanceState, PersistableBundle persistentState)	|  |
| 21 | public void onRestoreInstanceState (Bundle savedInstanceState, PersistableBundle persistentState)	|  |
| 21 | public void onSaveInstanceState (Bundle outState, PersistableBundle outPersistentState)	|  |
| 21 | public void onVisibleBehindCanceled ()	|  |
| 21 | public void postponeEnterTransition ()	|  |
| 21 | public boolean releaseInstance ()	|  |
| 21 | public boolean requestVisibleBehind (boolean visible)	|  |
| 21 | public void setActionBar (Toolbar toolbar)	|  |
| 21 | public void setContentTransitionManager (TransitionManager tm)	|  |
| 21 | public void setEnterSharedElementCallback (SharedElementCallback callback)	|  |
| 21 | public void setExitSharedElementCallback (SharedElementCallback callback)	|  |
| 21 | public final void setMediaController (MediaController controller)	|  |
| 21 | public void startLockTask ()	|  |
| 21 | public void startPostponedEnterTransition ()	|  |
| 21 | public void stopLockTask ()	|  |
| 19 | public void reportFullyDrawn ()	|  |
| 18 | public boolean isImmersive ()	|  |
| 18 | public void onProvideAssistData (Bundle data)	|  |
| 18 | public void setImmersive (boolean i)	|  |
| 17 | public boolean isDestroyed ()	|  |
| 16 | public void finishAffinity ()	|  |
| 16 | public Intent getParentActivityIntent ()	
| 16 | public boolean navigateUpTo (Intent upIntent)	
| 16 | public boolean navigateUpToFromChild (Activity child, Intent upIntent)	
| 16 | public void onCreateNavigateUpTaskStack (TaskStackBuilder builder)	
| 16 | public boolean onNavigateUp ()	
| 16 | public boolean onNavigateUpFromChild (Activity child)	
| 16 | public void onPrepareNavigateUpTaskStack (TaskStackBuilder builder)	
| 16 | public boolean shouldUpRecreateTask (Intent targetIntent)	
| 16 | public void startActivities (Intent[] intents, Bundle options)	
| 16 | public void startActivity (Intent intent, Bundle options)	
| 16 | public void startActivityForResult (Intent intent, int requestCode, Bundle options)	
| 16 | public void startActivityFromChild (Activity child, Intent intent, int requestCode, Bundle options)	
| 16 | public void startActivityFromFragment (Fragment fragment, Intent intent, int requestCode, Bundle options)	
| 16 | public boolean startActivityIfNeeded (Intent intent, int requestCode, Bundle options)	
| 16 | public void startIntentSenderForResult (IntentSender intent, int requestCode, Intent fillInIntent, int flagsMask, int flagsValues, int extraFlags, Bundle options)	
| 16 | public void startIntentSenderFromChild (Activity child, IntentSender intent, int requestCode, Intent fillInIntent, int flagsMask, int flagsValues, int extraFlags, Bundle options)	
| 16 | public boolean startNextMatchingActivity (Intent intent, Bundle options)	
| 14 | public void onTrimMemory (int level)	
| 12 | public void onTrimMemory (int level)	
| 12 | public boolean dispatchGenericMotionEvent (MotionEvent ev)	
| 12 | public boolean onGenericMotionEvent (MotionEvent event)	
| 11 | public boolean dispatchKeyShortcutEvent (KeyEvent event)	
| 11 | public ActionBar getActionBar ()	
| 11 | public FragmentManager getFragmentManager ()	
| 11 | public LoaderManager getLoaderManager ()	
| 11 | public void invalidateOptionsMenu ()	
| 11 | public boolean isChangingConfigurations ()	
| 11 | public void onActionModeFinished (ActionMode mode)	
| 11 | public void onActionModeStarted (ActionMode mode)	
| 11 | public void onAttachFragment (Fragment fragment)	
| 11 | public View onCreateView (View parent, String name, Context context, AttributeSet attrs)	
| 11 | public boolean onKeyShortcut (int keyCode, KeyEvent event)	
| 11 | public ActionMode onWindowStartingActionMode (ActionMode.Callback callback)	
| 11 | public void recreate ()	
| 11 | public void setFinishOnTouchOutside (boolean finish)	
| 11 | public ActionMode startActionMode (ActionMode.Callback callback)	
| 11 | public void startActivities (Intent[] intents)	
| 11 | public void startActivityFromFragment (Fragment fragment, Intent intent, int requestCode)	
| 8 | public final boolean showDialog (int id, Bundle args)	
| 8 | protected Dialog onCreateDialog (int id, Bundle args)	
| 8 | protected void onPrepareDialog (int id, Dialog dialog, Bundle args) | This method was deprecated in API level 13. |
| 8 | public void onBackPressed ()	
| 8 | public void onDetachedFromWindow ()	
| 8 | public boolean onKeyLongPress (int keyCode, KeyEvent event)	
| 8 | public void overridePendingTransition (int enterAnim, int exitAnim)	
| 8 | public void startIntentSender (IntentSender intent, Intent fillInIntent, int flagsMask, int flagsValues, int extraFlags)	
| 8 | public void startIntentSender (IntentSender intent, Intent fillInIntent, int flagsMask, int flagsValues, int extraFlags, Bundle options)	
| 8 | public void startIntentSenderForResult (IntentSender intent, int requestCode, Intent fillInIntent, int flagsMask, int flagsValues, int extraFlags)	
| 8 | public void startIntentSenderFromChild (Activity child, IntentSender intent, int requestCode, Intent fillInIntent, int flagsMask, int flagsValues, int extraFlags)	
| 8 | public void triggerSearch (String query, Bundle appSearchData)
| 4 | public boolean dispatchPopulateAccessibilityEvent (AccessibilityEvent event)	
| 3 | public void closeContextMenu ()	
| 3 | public boolean hasWindowFocus ()	
| 3 | public void onUserInteraction ()	
| 3 | public void setVisible (boolean visible)	
| 3 | protected void onUserLeaveHint ()	
| 1 | public void addContentView (View view, ViewGroup.LayoutParams params)	
| 1 | public void closeOptionsMenu ()	
| 1 | public PendingIntent createPendingResult (int requestCode, Intent data, int flags)	
| 1 | public final void dismissDialog (int id)	dup
| 1 | public boolean dispatchKeyEvent (KeyEvent event)	
| 1 | public boolean dispatchTouchEvent (MotionEvent ev)	
| 1 | public boolean dispatchTrackballEvent (MotionEvent ev)	
| 1 | public void dump (String prefix, FileDescriptor fd, PrintWriter writer, String[] args)	
| 1 | public View findViewById (int id)	
| 1 | public void finish ()	
| 1 | public void finishActivity (int requestCode)	
| 1 | public void finishActivityFromChild (Activity child, int requestCode)	
| 1 | public void finishFromChild (Activity child)	
| 1 | public final Application getApplication ()	
| 1 | public ComponentName getCallingActivity ()	
| 1 | public String getCallingPackage ()	
| 1 | public int getChangingConfigurations ()	
| 1 | public ComponentName getComponentName ()	
| 1 | public View getCurrentFocus ()	
| 1 | public Intent getIntent ()	
| 1 | public Object getLastNonConfigurationInstance ()	| This method was deprecated in API level 13.Use the new Fragment API setRetainInstance(boolean) instead; this is also available on older platforms through the Android compatibility package.|
| 1 | public LayoutInflater getLayoutInflater ()	
| 1 | public String getLocalClassName ()	
| 1 | public MenuInflater getMenuInflater ()	
| 1 | public final Activity getParent ()	
| 1 | public SharedPreferences getPreferences (int mode)	
| 1 | public int getRequestedOrientation ()	
| 1 | public Object getSystemService (String name)	
| 1 | public int getTaskId ()	
| 1 | public final CharSequence getTitle ()	
| 1 | public final int getTitleColor ()	
| 1 | public final int getVolumeControlStream ()	
| 1 | public Window getWindow ()	
| 1 | public WindowManager getWindowManager ()	
| 1 | public final boolean isChild ()	
| 1 | public boolean isFinishing ()	
| 1 | public boolean isTaskRoot ()	
| 1 | public final Cursor managedQuery (Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder)	
| 1 | public boolean moveTaskToBack (boolean nonRoot)	
| 1 | public void onConfigurationChanged (Configuration newConfig)	
| 1 | public void onContentChanged ()	
| 1 | public boolean onContextItemSelected (MenuItem item)	
| 1 | public void onContextMenuClosed (Menu menu)	
| 1 | public void onCreateContextMenu (ContextMenu menu, View v, ContextMenu.ContextMenuInfo menuInfo)	
| 1 | public CharSequence onCreateDescription ()	
| 1 | public boolean onCreateOptionsMenu (Menu menu)	
| 1 | public boolean onCreatePanelMenu (int featureId, Menu menu)	
| 1 | public View onCreatePanelView (int featureId)	
| 1 | public boolean onCreateThumbnail (Bitmap outBitmap, Canvas canvas)	
| 1 | public View onCreateView (String name, Context context, AttributeSet attrs)	
| 1 | public boolean onKeyDown (int keyCode, KeyEvent event)	
| 1 | public boolean onKeyMultiple (int keyCode, int repeatCount, KeyEvent event)	
| 1 | public boolean onKeyUp (int keyCode, KeyEvent event)	
| 1 | public void onLowMemory ()	
| 1 | public boolean onMenuItemSelected (int featureId, MenuItem item)	
| 1 | public boolean onMenuOpened (int featureId, Menu menu)	
| 1 | public boolean onOptionsItemSelected (MenuItem item)	
| 1 | public void onOptionsMenuClosed (Menu menu)	
| 1 | public void onPanelClosed (int featureId, Menu menu)	
| 1 | public boolean onPrepareOptionsMenu (Menu menu)	
| 1 | public boolean onPreparePanel (int featureId, View view, Menu menu)	
| 1 | public Object onRetainNonConfigurationInstance ()	dup
| 1 | public boolean onSearchRequested ()	
| 1 | public boolean onTouchEvent (MotionEvent event)	
| 1 | public boolean onTrackballEvent (MotionEvent event)	
| 1 | public void onWindowAttributesChanged (WindowManager.LayoutParams params)	
| 1 | public void onWindowFocusChanged (boolean hasFocus)	
| 1 | public void openContextMenu (View view)	
| 1 | public void openOptionsMenu ()	
| 1 | public void registerForContextMenu (View view)	
| 1 | public final void removeDialog (int id) | This method was deprecated in API level 13.Use the new DialogFragment class with FragmentManager instead; this is also available on older platforms through the Android compatibility package.|
| 1 | public final boolean requestWindowFeature (int featureId)	
| 1 | public final void runOnUiThread (Runnable action)	
| 1 | public void setContentView (View view)	
| 1 | public void setContentView (int layoutResID)	
| 1 | public void setContentView (View view, ViewGroup.LayoutParams params)	
| 1 | public final void setDefaultKeyMode (int mode)	
| 1 | public final void setFeatureDrawable (int featureId, Drawable drawable)	
| 1 | public final void setFeatureDrawableAlpha (int featureId, int alpha)	
| 1 | public final void setFeatureDrawableResource (int featureId, int resId)	
| 1 | public final void setFeatureDrawableUri (int featureId, Uri uri)	
| 1 | public void setIntent (Intent newIntent)	
| 1 | public final void setProgress (int progress)	
| 1 | public final void setProgressBarIndeterminate (boolean indeterminate)	
| 1 | public final void setProgressBarIndeterminateVisibility (boolean visible)	
| 1 | public final void setProgressBarVisibility (boolean visible)	
| 1 | public void setRequestedOrientation (int requestedOrientation)	
| 1 | public final void setResult (int resultCode)	
| 1 | public final void setResult (int resultCode, Intent data)	
| 1 | public final void setSecondaryProgress (int secondaryProgress)	
| 1 | public void setTaskDescription (ActivityManager.TaskDescription taskDescription)	
| 1 | public void setTitle (int titleId)	
| 1 | public void setTitle (CharSequence title)	
| 1 | public void setTitleColor (int textColor)	
| 1 | public final void setVolumeControlStream (int streamType)	
| 1 | public final void showDialog (int id)	
| 1 | public void startActivity (Intent intent)	
| 1 | public void startActivityForResult (Intent intent, int requestCode)	
| 1 | public void startActivityFromChild (Activity child, Intent intent, int requestCode)	
| 1 | public boolean startActivityIfNeeded (Intent intent, int requestCode)	
| 1 | public void startManagingCursor (Cursor c)	
| 1 | public boolean startNextMatchingActivity (Intent intent)	
| 1 | public void startSearch (String initialQuery, boolean selectInitialQuery, Bundle appSearchData, boolean globalSearch)	
| 1 | public void stopManagingCursor (Cursor c)	dup
| 1 | public void takeKeyEvents (boolean get)	
| 1 | public void unregisterForContextMenu (View view)	
| 1 | protected void onActivityResult (int requestCode, int resultCode, Intent data)	
| 1 | protected void onApplyThemeResource (Resources.Theme theme, int resid, boolean first)	
| 1 | protected void onChildTitleChanged (Activity childActivity, CharSequence title)	
| 1 | protected void onCreate (Bundle savedInstanceState)	
| 1 | protected Dialog onCreateDialog (int id) | This method was deprecated in API level 8.Old no-arguments version of onCreateDialog(int, Bundle).|
| 1 | protected void onDestroy ()	
| 1 | protected void onNewIntent (Intent intent)	
| 1 | protected void onPause ()	
| 1 | protected void onPostCreate (Bundle savedInstanceState)	
| 1 | protected void onPostResume ()	
| 1 | protected void onPrepareDialog (int id, Dialog dialog)	dup
| 1 | protected void onRestart ()	
| 1 | protected void onRestoreInstanceState (Bundle savedInstanceState)	
| 1 | protected void onResume ()	
| 1 | protected void onSaveInstanceState (Bundle outState)	
| 1 | protected void onStart ()	
| 1 | protected void onStop ()	
| 1 | protected void onTitleChanged (CharSequence title, int color)