Home
last modified time | relevance | path

Searched refs:mWindowContext (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Car/Launcher/app/src/com/android/car/carlauncher/
DCarLauncherViewModel.java63 private final Context mWindowContext; field in CarLauncherViewModel
68 mWindowContext = context.createWindowContext(TYPE_APPLICATION_STARTING, /* options */ null); in CarLauncherViewModel()
70 mCar = Car.createCar(mWindowContext); in CarLauncherViewModel()
80 mCarActivityManager.getCarTaskViewController(mWindowContext, mHostLifecycle, in CarLauncherViewModel()
81 mWindowContext.getMainExecutor(), carTaskViewControllerCallback); in CarLauncherViewModel()
206 mWindowContext.getMainExecutor(), in onConnected()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DDisplayController.java106 private final Context mWindowContext; field in DisplayController
131 mWindowContext = mContext.createWindowContext(display, TYPE_APPLICATION, null); in DisplayController()
132 mWindowContext.registerComponentCallbacks(this); in DisplayController()
134 mWindowContext = null; in DisplayController()
159 handleInfoChange(mWindowContext.getDisplay()); in attachTaskbarPinningSharedPreferenceChangeListener()
216 if (mWindowContext != null) { in close()
217 mWindowContext.unregisterComponentCallbacks(this); in close()
264 Display display = mWindowContext.getDisplay(); in onConfigurationChanged()
294 return Utilities.ATLEAST_S ? mWindowContext : mContext.createDisplayContext(display); in getDisplayInfoContext()
/packages/services/Car/tests/BugReportApp/src/com/android/car/bugreport/
DScreenshotService.java54 private Context mWindowContext; field in ScreenshotService
68 mWindowContext = createDisplayContext(primaryDisplay) in onCreate()
129 Toast.makeText(mWindowContext, in finishScreenshotTask()
DBugReportService.java164 private Context mWindowContext; field in BugReportService
223 mWindowContext = createDisplayContext(primaryDisplay) in onCreate()
253 Toast.makeText(mWindowContext, in onStartCommand()
286 Toast.makeText(mWindowContext, in onStartCommand()
366 () -> Toast.makeText(mWindowContext, getText(resId), Toast.LENGTH_LONG).show()); in showToast()
470 mHandler.post(() -> Toast.makeText(mWindowContext, in requestBugReport()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/overlay/
DTaskbarOverlayController.java57 private final Context mWindowContext; field in TaskbarOverlayController
94 mWindowContext = mTaskbarContext.createWindowContext(TYPE_APPLICATION_OVERLAY, null); in TaskbarOverlayController()
112 mWindowContext, mTaskbarContext, mControllers); in requestWindow()
/packages/apps/Car/RotaryController/src/com/android/car/rotary/
DRotaryService.java489 @Nullable private Context mWindowContext; field in RotaryService
899 if (mWindowContext == null && sWindowContext != null) { in getWindowContext()
900 mWindowContext = sWindowContext.get(); in getWindowContext()
901 if (mWindowContext != null) { in getWindowContext()
905 if (mWindowContext == null) { in getWindowContext()
911 mWindowContext = createWindowContext(TYPE_APPLICATION_OVERLAY, null); in getWindowContext()
912 sWindowContext = new WeakReference<>(mWindowContext); in getWindowContext()
914 return mWindowContext; in getWindowContext()