Searched refs:realActivity (Results 1 – 2 of 2) sorted by relevance
35 protected Activity realActivity; field in ShadowActivity106 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()
48 … Method handler = realActivity.getClass().getDeclaredMethod("onListItemClick", in setListAdapter()51 handler.invoke(realActivity, parent, view, position, id); in setListAdapter()