Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/util/
DDisplayController.java78 private final Context mWindowContext; field in DisplayController
89 mWindowContext = mContext.createWindowContext(display, TYPE_APPLICATION, null); in DisplayController()
90 mWindowContext.registerComponentCallbacks(this); in DisplayController()
92 mWindowContext = null; in DisplayController()
174 Display display = mWindowContext.getDisplay(); in onConfigurationChanged()
200 return Utilities.ATLEAST_S ? mWindowContext : mContext.createDisplayContext(display); in getDisplayInfoContext()
/packages/services/Car/tests/BugReportApp/src/com/android/car/bugreport/
DBugReportService.java150 private Context mWindowContext; field in BugReportService
203 mWindowContext = createDisplayContext(primaryDisplay) in onCreate()
234 Toast.makeText(mWindowContext, in onStartCommand()
259 Toast.makeText(mWindowContext, in onStartCommand()
339 () -> Toast.makeText(mWindowContext, getText(resId), Toast.LENGTH_LONG).show()); in showToast()
443 mHandler.post(() -> Toast.makeText(mWindowContext, in requestBugReport()
/packages/apps/Car/RotaryController/src/com/android/car/rotary/
DRotaryService.java449 @Nullable private Context mWindowContext; field in RotaryService
854 if (mWindowContext == null && sWindowContext != null) { in getWindowContext()
855 mWindowContext = sWindowContext.get(); in getWindowContext()
856 if (mWindowContext != null) { in getWindowContext()
860 if (mWindowContext == null) { in getWindowContext()
866 mWindowContext = createWindowContext(TYPE_APPLICATION_OVERLAY, null); in getWindowContext()
867 sWindowContext = new WeakReference<>(mWindowContext); in getWindowContext()
869 return mWindowContext; in getWindowContext()