Home
last modified time | relevance | path

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

/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/
DSystemWindowManagerProxy.java48 public Rect getCurrentBounds(Context displayInfoContext) { in getCurrentBounds() argument
49 return displayInfoContext.getResources().getConfiguration().windowConfiguration in getCurrentBounds()
61 public int getRotation(Context displayInfoContext) { in getRotation() argument
62 return displayInfoContext.getResources().getConfiguration().windowConfiguration in getRotation()
75 Context displayInfoContext) { in estimateInternalDisplayBounds() argument
77 WindowManager windowManager = displayInfoContext.getSystemService(WindowManager.class); in estimateInternalDisplayBounds()
82 List<WindowBounds> bounds = estimateWindowBounds(displayInfoContext, info); in estimateInternalDisplayBounds()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DDisplayController.java142 Context displayInfoContext = getDisplayInfoContext(display); in DisplayController() local
143 mInfo = new Info(displayInfoContext, wmProxy, in DisplayController()
144 wmProxy.estimateInternalDisplayBounds(displayInfoContext)); in DisplayController()
303 Context displayInfoContext = getDisplayInfoContext(display); in handleInfoChange() local
304 Info newInfo = new Info(displayInfoContext, wmProxy, oldInfo.mPerDisplayBounds); in handleInfoChange()
309 newInfo = new Info(displayInfoContext, wmProxy, in handleInfoChange()
310 wmProxy.estimateInternalDisplayBounds(displayInfoContext)); in handleInfoChange()
348 MAIN_EXECUTOR.execute(() -> notifyChange(displayInfoContext, flags)); in handleInfoChange()
388 public Info(Context displayInfoContext) { in Info() argument
390 this(displayInfoContext, new WindowManagerProxy(), new ArrayMap<>()); in Info()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/util/window/
DWindowManagerProxy.java109 Context displayInfoContext) { in estimateInternalDisplayBounds() argument
110 CachedDisplayInfo info = getDisplayInfo(displayInfoContext).normalize(this); in estimateInternalDisplayBounds()
111 List<WindowBounds> bounds = estimateWindowBounds(displayInfoContext, info); in estimateInternalDisplayBounds()
127 public WindowBounds getRealBounds(Context displayInfoContext, CachedDisplayInfo info) { in getRealBounds() argument
128 WindowMetrics windowMetrics = displayInfoContext.getSystemService(WindowManager.class) in getRealBounds()
131 normalizeWindowInsets(displayInfoContext, windowMetrics.getWindowInsets(), insets); in getRealBounds()
395 public CachedDisplayInfo getDisplayInfo(Context displayInfoContext) { in getDisplayInfo() argument
396 int rotation = getRotation(displayInfoContext); in getDisplayInfo()
398 WindowMetrics windowMetrics = displayInfoContext.getSystemService(WindowManager.class) in getDisplayInfo()
403 Display display = getDisplay(displayInfoContext); in getDisplayInfo()
[all …]