Package org.robolectric.shadows
Interface _Activity_
public interface _Activity_
Accessor interface for
Activity
's internals.-
Method Summary
Modifier and Type Method Description void
attach(Context context, ActivityThread activityThread, Instrumentation instrumentation, IBinder token, int ident, Application application, Intent intent, ActivityInfo activityInfo, CharSequence title, Activity parent, String id, Object lastNonConfigurationInstances, Configuration configuration)
void
attach(Context context, ActivityThread activityThread, Instrumentation instrumentation, IBinder token, int ident, Application application, Intent intent, ActivityInfo activityInfo, CharSequence title, Activity parent, String id, Object lastNonConfigurationInstances, Configuration configuration, Object iVoiceInteractor)
void
attach(Context context, ActivityThread activityThread, Instrumentation instrumentation, IBinder token, int ident, Application application, Intent intent, ActivityInfo activityInfo, CharSequence title, Activity parent, String id, Object lastNonConfigurationInstances, Configuration configuration, String referer, Object iVoiceInteractor)
void
attach(Context context, ActivityThread activityThread, Instrumentation instrumentation, IBinder token, int ident, Application application, Intent intent, ActivityInfo activityInfo, CharSequence title, Activity parent, String id, Object lastNonConfigurationInstances, Configuration configuration, String referer, Object iVoiceInteractor, Window window)
void
attach(Context context, ActivityThread activityThread, Instrumentation instrumentation, IBinder token, int ident, Application application, Intent intent, ActivityInfo activityInfo, CharSequence title, Activity parent, String id, Object lastNonConfigurationInstances, Configuration configuration, String referer, Object iVoiceInteractor, Window window, Object activityConfigCallback)
void
attach(Context context, ActivityThread activityThread, Instrumentation instrumentation, IBinder token, int ident, Application application, Intent intent, ActivityInfo activityInfo, CharSequence title, Activity parent, String id, Object lastNonConfigurationInstances, Configuration configuration, String referer, Object iVoiceInteractor, Window window, Object activityConfigCallback, IBinder assistToken)
void
attach(Context context, ActivityThread activityThread, Instrumentation instrumentation, IBinder token, int ident, Application application, Intent intent, ActivityInfo activityInfo, CharSequence title, Activity parent, String id, Object lastNonConfigurationInstances, Configuration configuration, String referer, Object iVoiceInteractor, Window window, Object activityConfigCallback, IBinder assistToken, IBinder shareableActivityToken)
default void
callAttach(Activity realActivity, Context baseContext, ActivityThread activityThread, Instrumentation instrumentation, Application application, Intent intent, ActivityInfo activityInfo, CharSequence activityTitle, Object lastNonConfigurationInstances)
IBinder
getToken()
boolean
getWindowAdded()
void
makeVisible()
void
onNewIntent(Intent intent)
void
onPostCreate(Bundle savedInstanceState)
void
onPostResume()
void
performCreate(Bundle icicle)
void
performDestroy()
void
performPause()
void
performRestart()
void
performRestart(boolean start, String reason)
void
performRestoreInstanceState(Bundle savedInstanceState)
void
performResume()
void
performResume(boolean followedByPause, String reason)
void
performSaveInstanceState(Bundle outState)
void
performStart()
void
performStart(String reason)
void
performStop()
void
performStop(boolean preserveWindow)
void
performStop(boolean preserveWindow, String reason)
Object
retainNonConfigurationInstances()
void
setApplication(Application application)
void
setChangingConfigurations(boolean value)
void
setConfigChangeFlags(int value)
void
setDecor(View decorView)
void
setLastNonConfigurationInstances(Object nonConfigInstance)
void
setVoiceInteractor(Object voiceInteractor)
void
setWindow(Window window)
-
Method Details
-
getToken
IBinder getToken() -
attach
void attach(Context context, ActivityThread activityThread, Instrumentation instrumentation, IBinder token, int ident, Application application, Intent intent, ActivityInfo activityInfo, CharSequence title, Activity parent, String id, Object lastNonConfigurationInstances, Configuration configuration) -
attach
void attach(Context context, ActivityThread activityThread, Instrumentation instrumentation, IBinder token, int ident, Application application, Intent intent, ActivityInfo activityInfo, CharSequence title, Activity parent, String id, Object lastNonConfigurationInstances, Configuration configuration, Object iVoiceInteractor) -
attach
void attach(Context context, ActivityThread activityThread, Instrumentation instrumentation, IBinder token, int ident, Application application, Intent intent, ActivityInfo activityInfo, CharSequence title, Activity parent, String id, Object lastNonConfigurationInstances, Configuration configuration, String referer, Object iVoiceInteractor) -
attach
void attach(Context context, ActivityThread activityThread, Instrumentation instrumentation, IBinder token, int ident, Application application, Intent intent, ActivityInfo activityInfo, CharSequence title, Activity parent, String id, Object lastNonConfigurationInstances, Configuration configuration, String referer, Object iVoiceInteractor, Window window) -
attach
void attach(Context context, ActivityThread activityThread, Instrumentation instrumentation, IBinder token, int ident, Application application, Intent intent, ActivityInfo activityInfo, CharSequence title, Activity parent, String id, Object lastNonConfigurationInstances, Configuration configuration, String referer, Object iVoiceInteractor, Window window, Object activityConfigCallback) -
attach
void attach(Context context, ActivityThread activityThread, Instrumentation instrumentation, IBinder token, int ident, Application application, Intent intent, ActivityInfo activityInfo, CharSequence title, Activity parent, String id, Object lastNonConfigurationInstances, Configuration configuration, String referer, Object iVoiceInteractor, Window window, Object activityConfigCallback, IBinder assistToken) -
attach
void attach(Context context, ActivityThread activityThread, Instrumentation instrumentation, IBinder token, int ident, Application application, Intent intent, ActivityInfo activityInfo, CharSequence title, Activity parent, String id, Object lastNonConfigurationInstances, Configuration configuration, String referer, Object iVoiceInteractor, Window window, Object activityConfigCallback, IBinder assistToken, IBinder shareableActivityToken) -
callAttach
default void callAttach(Activity realActivity, Context baseContext, ActivityThread activityThread, Instrumentation instrumentation, Application application, Intent intent, ActivityInfo activityInfo, CharSequence activityTitle, Object lastNonConfigurationInstances) -
performCreate
-
performDestroy
void performDestroy() -
performPause
void performPause() -
performRestart
void performRestart() -
performRestart
-
performRestoreInstanceState
-
performResume
void performResume() -
performResume
-
performSaveInstanceState
-
performStart
void performStart() -
performStart
-
performStop
void performStop() -
performStop
void performStop(boolean preserveWindow) -
performStop
-
onPostCreate
-
onPostResume
void onPostResume() -
makeVisible
void makeVisible() -
onNewIntent
-
retainNonConfigurationInstances
Object retainNonConfigurationInstances() -
setApplication
-
setDecor
-
setLastNonConfigurationInstances
-
setVoiceInteractor
-
getWindowAdded
boolean getWindowAdded() -
setWindow
-
setChangingConfigurations
void setChangingConfigurations(boolean value) -
setConfigChangeFlags
void setConfigChangeFlags(int value)
-