Home
last modified time | relevance | path

Searched refs:applicationContext (Results 1 – 5 of 5) sorted by relevance

/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/internal/
DAppSingletonizer.java18 Application applicationContext = (Application) context.getApplicationContext(); in getInstance() local
19 ShadowApplication shadowApplication = (ShadowApplication) shadowOf(applicationContext); in getInstance()
22 instance = createInstance(applicationContext); in getInstance()
32 protected T createInstance(Application applicationContext) { in createInstance() argument
/external/webrtc/talk/app/webrtc/java/android/org/webrtc/
DVideoCapturerAndroid.java75 private Context applicationContext; field in VideoCapturerAndroid
397 final Context applicationContext, final CapturerObserver frameObserver) { in startCapture() argument
400 if (applicationContext == null) { in startCapture()
410 applicationContext); in startCapture()
417 final Context applicationContext) { in startCaptureOnCameraThread() argument
423 this.applicationContext = applicationContext; in startCaptureOnCameraThread()
445 applicationContext); in startCaptureOnCameraThread()
619 applicationContext); in switchCameraOnCameraThread()
642 WindowManager wm = (WindowManager) applicationContext.getSystemService( in getDeviceOrientation()
DNetworkMonitor.java57 private final Context applicationContext; field in NetworkMonitor
71 applicationContext = in NetworkMonitor()
160 applicationContext); in setAutoDetectConnectivityStateInternal()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowLayoutInflater.java68 @Override protected LayoutInflater createInstance(Application applicationContext) { in createInstance() argument
69 return new MyLayoutInflater(applicationContext); in createInstance()
DShadowAppWidgetManager.java39 protected AppWidgetManager createInstance(Application applicationContext) {
40 AppWidgetManager appWidgetManager = super.createInstance(applicationContext);
41 shadowOf(appWidgetManager).context = applicationContext;