Home
last modified time | relevance | path

Searched refs:appWindowToken (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/services/core/java/com/android/server/wm/
DTaskSnapshotController.java143 void notifyAppVisibilityChanged(AppWindowToken appWindowToken, boolean visible) { in notifyAppVisibilityChanged() argument
145 handleClosingApps(Sets.newArraySet(appWindowToken)); in notifyAppVisibilityChanged()
230 final AppWindowToken appWindowToken = task.getChildAt(i); in findAppTokenForSnapshot() local
231 if (appWindowToken == null || !appWindowToken.isSurfaceShowing() in findAppTokenForSnapshot()
232 || appWindowToken.findMainWindow() == null) { in findAppTokenForSnapshot()
235 final boolean hasVisibleChild = appWindowToken.forAllWindows( in findAppTokenForSnapshot()
242 return appWindowToken; in findAppTokenForSnapshot()
278 final AppWindowToken appWindowToken = findAppTokenForSnapshot(task); in snapshotTask() local
279 if (appWindowToken == null) { in snapshotTask()
285 if (appWindowToken.hasCommittedReparentToAnimationLeash()) { in snapshotTask()
[all …]
DInputManagerCallback.java72 AppWindowToken appWindowToken = null; in notifyANR() local
79 appWindowToken = windowState.mAppToken; in notifyANR()
93 } else if (appWindowToken != null) { in notifyANR()
95 + "sending to application " + appWindowToken.stringName in notifyANR()
102 mService.saveANRStateLocked(appWindowToken, windowState, reason); in notifyANR()
108 if (appWindowToken != null && appWindowToken.appToken != null) { in notifyANR()
111 final boolean abort = appWindowToken.keyDispatchingTimedOut(reason, in notifyANR()
116 return appWindowToken.mInputDispatchingTimeoutNanos; in notifyANR()
DRemoteAnimationController.java85 RemoteAnimationRecord createRemoteAnimationRecord(AppWindowToken appWindowToken, in createRemoteAnimationRecord() argument
88 + appWindowToken); in createRemoteAnimationRecord()
90 new RemoteAnimationRecord(appWindowToken, position, stackBounds, startBounds); in createRemoteAnimationRecord()
323 RemoteAnimationRecord(AppWindowToken appWindowToken, Point endPos, Rect endBounds, in RemoteAnimationRecord() argument
325 mAppWindowToken = appWindowToken; in RemoteAnimationRecord()
DWindowManagerService.java6210 void saveANRStateLocked(AppWindowToken appWindowToken, WindowState windowState, String reason) { in saveANRStateLocked() argument
6214 if (appWindowToken != null) { in saveANRStateLocked()
6215 pw.println(" Application at fault: " + appWindowToken.stringName); in saveANRStateLocked()
6464 final AppWindowToken appWindowToken = mRoot.getAppWindowToken(token); in setWillReplaceWindow() local
6465 if (appWindowToken == null) { in setWillReplaceWindow()
6470 if (!appWindowToken.hasContentToDisplay()) { in setWillReplaceWindow()
6475 appWindowToken.setWillReplaceWindows(animate); in setWillReplaceWindow()
6493 final AppWindowToken appWindowToken = mRoot.getAppWindowToken(token); in setWillReplaceWindows() local
6494 if (appWindowToken == null) { in setWillReplaceWindows()
6499 if (!appWindowToken.hasContentToDisplay()) { in setWillReplaceWindows()
[all …]
DTask.java773 final AppWindowToken appWindowToken = mChildren.get(i); in writeToProto() local
774 appWindowToken.writeToProto(proto, APP_WINDOW_TOKENS, logLevel); in writeToProto()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DWindowStateTests.java292 final AppWindowToken appWindowToken = createAppWindowToken(mDisplayContent, in testPrepareWindowToDisplayDuringRelayout() local
294 final WindowState first = createWindow(null, TYPE_APPLICATION, appWindowToken, "first"); in testPrepareWindowToDisplayDuringRelayout()
295 final WindowState second = createWindow(null, TYPE_APPLICATION, appWindowToken, "second"); in testPrepareWindowToDisplayDuringRelayout()
301 assertTrue(appWindowToken.canTurnScreenOn()); in testPrepareWindowToDisplayDuringRelayout()
306 assertFalse(appWindowToken.canTurnScreenOn()); in testPrepareWindowToDisplayDuringRelayout()
310 appWindowToken.setCanTurnScreenOn(true); in testPrepareWindowToDisplayDuringRelayout()
317 assertFalse(appWindowToken.canTurnScreenOn()); in testPrepareWindowToDisplayDuringRelayout()
322 assertFalse(appWindowToken.canTurnScreenOn()); in testPrepareWindowToDisplayDuringRelayout()
DWindowTestsBase.java276 final WindowTestUtils.TestAppWindowToken appWindowToken = in createTestAppWindowToken() local
278 task.addChild(appWindowToken, 0); in createTestAppWindowToken()
279 return appWindowToken; in createTestAppWindowToken()
/frameworks/base/core/java/android/view/inputmethod/
DInputMethodManager.java1768 public void windowDismissed(IBinder appWindowToken) { in windowDismissed() argument
1772 mServedView.getWindowToken() == appWindowToken) { in windowDismissed()
1776 mCurRootView.getWindowToken() == appWindowToken) { in windowDismissed()
/frameworks/base/core/java/android/view/
DView.java20034 IBinder appWindowToken = ai.mPanelParentWindowToken; in getApplicationWindowToken() local
20035 if (appWindowToken == null) { in getApplicationWindowToken()
20036 appWindowToken = ai.mWindowToken; in getApplicationWindowToken()
20038 return appWindowToken; in getApplicationWindowToken()