Home
last modified time | relevance | path

Searched refs:realActivity (Results 1 – 2 of 2) sorted by relevance

/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowActivity.java35 protected Activity realActivity; field in ShadowActivity
106 contentView = getLayoutInflater().inflate(layoutResID, new FrameLayout(realActivity)); in setContentView()
107 realActivity.onContentChanged(); in setContentView()
113 realActivity.onContentChanged(); in setContentView()
129 return LayoutInflater.from(realActivity); in getLayoutInflater()
134 return new MenuInflater(realActivity); in getMenuInflater()
160 contentViewContainer = new FrameLayout(realActivity); in getContentViewContainer()
202 window = new TestWindow(realActivity); in getWindow()
259 … shadowOf(getApplicationContext()).assertNoBroadcastListenersRegistered(realActivity, "Activity"); in assertNoBroadcastListenersRegistered()
539 return method.invoke(realActivity, parameters); in with()
DShadowListActivity.java48 … Method handler = realActivity.getClass().getDeclaredMethod("onListItemClick", in setListAdapter()
51 handler.invoke(realActivity, parent, view, position, id); in setListAdapter()