Home
last modified time | relevance | path

Searched refs:windowState (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/services/core/java/com/android/server/wm/
DInputManagerCallback.java56 WindowState windowState = mService.windowForClientLocked(null, token, false); in notifyInputChannelBroken() local
57 if (windowState != null) { in notifyInputChannelBroken()
58 Slog.i(TAG_WM, "WINDOW DIED " + windowState); in notifyInputChannelBroken()
59 windowState.removeIfPossible(); in notifyInputChannelBroken()
73 WindowState windowState = null; in notifyANR() local
77 windowState = mService.windowForClientLocked(null, token, false); in notifyANR()
78 if (windowState != null) { in notifyANR()
79 appWindowToken = windowState.mAppToken; in notifyANR()
83 if (windowState != null) { in notifyANR()
85 + "sending to " + windowState.mAttrs.getTitle() in notifyANR()
[all …]
DAccessibilityController.java195 public void onAppWindowTransitionLocked(WindowState windowState, int transition) { in onAppWindowTransitionLocked() argument
196 final int displayId = windowState.getDisplayId(); in onAppWindowTransitionLocked()
199 displayMagnifier.onAppWindowTransitionLocked(windowState, transition); in onAppWindowTransitionLocked()
204 public void onWindowTransitionLocked(WindowState windowState, int transition) { in onWindowTransitionLocked() argument
205 final int displayId = windowState.getDisplayId(); in onWindowTransitionLocked()
208 displayMagnifier.onWindowTransitionLocked(windowState, transition); in onWindowTransitionLocked()
245 public MagnificationSpec getMagnificationSpecForWindowLocked(WindowState windowState) { in getMagnificationSpecForWindowLocked() argument
246 final int displayId = windowState.getDisplayId(); in getMagnificationSpecForWindowLocked()
249 return displayMagnifier.getMagnificationSpecForWindowLocked(windowState); in getMagnificationSpecForWindowLocked()
268 private static void populateTransformationMatrixLocked(WindowState windowState, in populateTransformationMatrixLocked() argument
[all …]
DSession.java342 final WindowState windowState = mService.windowForClientLocked(this, window, true); in actionOnWallpaper() local
343 action.accept(windowState.getDisplayContent().mWallpaperController, windowState); in actionOnWallpaper() local
351 actionOnWallpaper(window, (wpController, windowState) -> in setWallpaperPosition()
352 wpController.setWindowWallpaperPosition(windowState, x, y, xStep, yStep)); in setWallpaperPosition()
362 actionOnWallpaper(window, (wpController, windowState) -> in wallpaperOffsetsComplete()
372 actionOnWallpaper(window, (wpController, windowState) -> in setWallpaperDisplayOffset()
373 wpController.setWindowWallpaperDisplayOffset(windowState, x, y)); in setWallpaperDisplayOffset()
386 final WindowState windowState = mService.windowForClientLocked(this, window, true); in sendWallpaperCommand() local
387 return windowState.getDisplayContent().mWallpaperController in sendWallpaperCommand()
388 .sendWindowWallpaperCommand(windowState, action, x, y, z, extras, sync); in sendWallpaperCommand()
[all …]
DWallpaperWindowToken.java111 final WindowState windowState = mChildren.get(ndx); in startAnimation() local
112 windowState.startAnimation(anim); in startAnimation()
DInsetsStateController.java125 void onInsetsModified(WindowState windowState, InsetsState state) { in onInsetsModified() argument
133 changed |= provider.onInsetsModified(windowState, source); in onInsetsModified()
DWindowManagerService.java5828 WindowState windowState = mWindowMap.get(token); in clearWindowContentFrameStats() local
5829 if (windowState == null) { in clearWindowContentFrameStats()
5832 WindowSurfaceController surfaceController = windowState.mWinAnimator.mSurfaceController; in clearWindowContentFrameStats()
5847 WindowState windowState = mWindowMap.get(token); in getWindowContentFrameStats() local
5848 if (windowState == null) { in getWindowContentFrameStats()
5851 WindowSurfaceController surfaceController = windowState.mWinAnimator.mSurfaceController; in getWindowContentFrameStats()
6185 void saveANRStateLocked(AppWindowToken appWindowToken, WindowState windowState, String reason) { in saveANRStateLocked() argument
6192 if (windowState != null) { in saveANRStateLocked()
6193 pw.println(" Window at fault: " + windowState.mAttrs.getTitle()); in saveANRStateLocked()
7150 WindowState windowState = mWindowMap.get(windowToken); in getCompatibleMagnificationSpecForWindow() local
[all …]
DDisplayPolicy.java921 (displayFrames, windowState, rect) -> { in prepareAddWindowLw()
945 (displayFrames, windowState, inOutFrame) -> { in prepareAddWindowLw()
949 (displayFrames, windowState, inOutFrame) -> { in prepareAddWindowLw()
956 (displayFrames, windowState, inOutFrame) -> { in prepareAddWindowLw()
963 (displayFrames, windowState, inOutFrame) -> { in prepareAddWindowLw()
964 if ((windowState.getAttrs().flags & FLAG_NOT_TOUCHABLE) != 0 in prepareAddWindowLw()
1226 public boolean areSystemBarsForcedShownLw(WindowState windowState) { in areSystemBarsForcedShownLw() argument
DAppWindowToken.java2799 forAllWindows(windowState -> { in showAllWindowsLocked()
2800 if (DEBUG_VISIBILITY) Slog.v(TAG, "performing show on: " + windowState); in showAllWindowsLocked()
2801 windowState.performShowLocked(); in showAllWindowsLocked()
/frameworks/base/tests/FlickerTests/lib/src/com/android/server/wm/flicker/
DWindowManagerTrace.java112 for (WindowStateProto windowState : windowToken.windows) { in isWindowVisible()
113 if (windowState.identifier.title.contains(windowTitle)) { in isWindowVisible()
115 if (isVisible(windowState)) { in isWindowVisible()
117 windowState.identifier.title + " is visible"); in isWindowVisible()
132 private static boolean isVisible(WindowStateProto windowState) { in isVisible() argument
133 return windowState.windowContainer.visible; in isVisible()
150 for (WindowStateProto windowState : token.windowToken.windows) { in getTopVisibleAppWindow()
151 if (windowState.windowContainer.visible) { in getTopVisibleAppWindow()
220 for (WindowStateProto windowState : token.windowToken.windows) { in isAppWindowVisible()
221 if (windowState.windowContainer.visible) { in isAppWindowVisible()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DInsetsSourceProviderTest.java82 (displayFrames, windowState, rect) -> { in testPostLayout_frameProvider()
DAppWindowTokenTests.java517 atoken.forAllWindows(windowState -> { in assertNoStartingWindow()
518 assertFalse(windowState.getBaseType() == TYPE_APPLICATION_STARTING); in assertNoStartingWindow()
/frameworks/base/core/java/android/app/
DActivity.java1561 Bundle windowState = savedInstanceState.getBundle(WINDOW_HIERARCHY_TAG); in onRestoreInstanceState() local
1562 if (windowState != null) { in onRestoreInstanceState()
1563 mWindow.restoreHierarchyState(windowState); in onRestoreInstanceState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBar.java2204 void checkBarMode(@TransitionMode int mode, @WindowVisibleState int windowState, in checkBarMode() argument
2207 && windowState != WINDOW_STATE_HIDDEN; in checkBarMode()