Home
last modified time | relevance | path

Searched refs:displayAreaInfo (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/
DRootDisplayAreaOrganizer.java70 public void onDisplayAreaAppeared(@NonNull DisplayAreaInfo displayAreaInfo, in onDisplayAreaAppeared() argument
72 if (displayAreaInfo.featureId != FEATURE_ROOT) { in onDisplayAreaAppeared()
74 "Unknown feature: " + displayAreaInfo.featureId in onDisplayAreaAppeared()
75 + "displayAreaInfo:" + displayAreaInfo); in onDisplayAreaAppeared()
78 final int displayId = displayAreaInfo.displayId; in onDisplayAreaAppeared()
82 + " displayAreaInfo:" + displayAreaInfo in onDisplayAreaAppeared()
87 mDisplayAreasInfo.put(displayId, displayAreaInfo); in onDisplayAreaAppeared()
92 public void onDisplayAreaVanished(@NonNull DisplayAreaInfo displayAreaInfo) { in onDisplayAreaVanished() argument
93 final int displayId = displayAreaInfo.displayId; in onDisplayAreaVanished()
97 + " displayAreaInfo:" + displayAreaInfo in onDisplayAreaVanished()
[all …]
DRootTaskDisplayAreaOrganizer.java140 public void onDisplayAreaAppeared(@NonNull DisplayAreaInfo displayAreaInfo, in onDisplayAreaAppeared() argument
142 if (displayAreaInfo.featureId != FEATURE_DEFAULT_TASK_CONTAINER) { in onDisplayAreaAppeared()
144 "Unknown feature: " + displayAreaInfo.featureId in onDisplayAreaAppeared()
145 + "displayAreaInfo:" + displayAreaInfo); in onDisplayAreaAppeared()
148 final int displayId = displayAreaInfo.displayId; in onDisplayAreaAppeared()
152 + " displayAreaInfo:" + displayAreaInfo in onDisplayAreaAppeared()
158 mDisplayAreasInfo.put(displayId, displayAreaInfo); in onDisplayAreaAppeared()
164 listeners.get(i).onDisplayAreaAppeared(displayAreaInfo); in onDisplayAreaAppeared()
167 applyConfigChangesToContext(displayAreaInfo); in onDisplayAreaAppeared()
171 public void onDisplayAreaVanished(@NonNull DisplayAreaInfo displayAreaInfo) { in onDisplayAreaVanished() argument
[all …]
/frameworks/base/core/java/android/window/
DDisplayAreaOrganizer.java248 public void onDisplayAreaAppeared(@NonNull DisplayAreaInfo displayAreaInfo, in onDisplayAreaAppeared() argument
251 public void onDisplayAreaVanished(@NonNull DisplayAreaInfo displayAreaInfo) {} in onDisplayAreaVanished() argument
256 public void onDisplayAreaInfoChanged(@NonNull DisplayAreaInfo displayAreaInfo) {} in onDisplayAreaInfoChanged() argument
261 public void onDisplayAreaAppeared(@NonNull DisplayAreaInfo displayAreaInfo,
264 () -> DisplayAreaOrganizer.this.onDisplayAreaAppeared(displayAreaInfo, leash));
268 public void onDisplayAreaVanished(@NonNull DisplayAreaInfo displayAreaInfo) {
270 () -> DisplayAreaOrganizer.this.onDisplayAreaVanished(displayAreaInfo));
274 public void onDisplayAreaInfoChanged(@NonNull DisplayAreaInfo displayAreaInfo) {
276 () -> DisplayAreaOrganizer.this.onDisplayAreaInfoChanged(displayAreaInfo));
DIDisplayAreaOrganizer.aidl27 void onDisplayAreaAppeared(in DisplayAreaInfo displayAreaInfo, in SurfaceControl leash); in onDisplayAreaAppeared() argument
28 void onDisplayAreaVanished(in DisplayAreaInfo displayAreaInfo); in onDisplayAreaVanished() argument
29 void onDisplayAreaInfoChanged(in DisplayAreaInfo displayAreaInfo); in onDisplayAreaInfoChanged() argument
DDisplayAreaAppearedInfo.java44 final DisplayAreaInfo displayAreaInfo = source.readTypedObject(DisplayAreaInfo.CREATOR);
46 return new DisplayAreaAppearedInfo(displayAreaInfo, leash);
56 public DisplayAreaAppearedInfo(@NonNull DisplayAreaInfo displayAreaInfo, in DisplayAreaAppearedInfo() argument
58 mDisplayAreaInfo = displayAreaInfo; in DisplayAreaAppearedInfo()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/hidedisplaycutout/
DHideDisplayCutoutOrganizer.java118 public void onDisplayAreaAppeared(@NonNull DisplayAreaInfo displayAreaInfo, in onDisplayAreaAppeared() argument
121 if (!addDisplayAreaInfoAndLeashToMap(displayAreaInfo, leash)) { in onDisplayAreaAppeared()
126 applyBoundsAndOffsets(displayAreaInfo.token, leash, wct, tx); in onDisplayAreaAppeared()
131 public void onDisplayAreaVanished(@NonNull DisplayAreaInfo displayAreaInfo) { in onDisplayAreaVanished() argument
133 if (!mDisplayAreaMap.containsKey(displayAreaInfo.token)) { in onDisplayAreaVanished()
134 Log.w(TAG, "Unrecognized token: " + displayAreaInfo.token); in onDisplayAreaVanished()
140 final SurfaceControl leash = mDisplayAreaMap.get(displayAreaInfo.token); in onDisplayAreaVanished()
141 applyBoundsAndOffsets(displayAreaInfo.token, leash, wct, t); in onDisplayAreaVanished()
144 mDisplayAreaMap.remove(displayAreaInfo.token); in onDisplayAreaVanished()
157 boolean addDisplayAreaInfoAndLeashToMap(@NonNull DisplayAreaInfo displayAreaInfo, in addDisplayAreaInfoAndLeashToMap() argument
[all …]
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/onehanded/
DOneHandedDisplayAreaOrganizer.java156 public void onDisplayAreaAppeared(@NonNull DisplayAreaInfo displayAreaInfo, in onDisplayAreaAppeared() argument
160 mDisplayAreaTokenMap.put(displayAreaInfo.token, leash); in onDisplayAreaAppeared()
164 public void onDisplayAreaVanished(@NonNull DisplayAreaInfo displayAreaInfo) { in onDisplayAreaVanished() argument
165 final SurfaceControl leash = mDisplayAreaTokenMap.get(displayAreaInfo.token); in onDisplayAreaVanished()
169 mDisplayAreaTokenMap.remove(displayAreaInfo.token); in onDisplayAreaVanished()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/desktopmode/
DDesktopTasksController.kt618 val displayAreaInfo = rootTaskDisplayAreaOrganizer.getDisplayAreaInfo(displayId) in <lambda>() constant
619 if (displayAreaInfo == null) { in <lambda>()
625 wct.reparent(task.token, displayAreaInfo.token, true /* onTop */) in <lambda>()