Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/input/
DInputApplicationHandle.java32 public final Object appWindowToken; field in InputApplicationHandle
42 public InputApplicationHandle(Object appWindowToken) { in InputApplicationHandle() argument
43 this.appWindowToken = appWindowToken; in InputApplicationHandle()
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
DAppWindowTokenTests.java108 final WindowTestUtils.TestAppWindowToken appWindowToken = in testLandscapeSeascapeRotationByApp() local
110 task.addChild(appWindowToken, 0); in testLandscapeSeascapeRotationByApp()
114 final WindowTestUtils.TestWindowState appWindow = createWindowState(attrs, appWindowToken); in testLandscapeSeascapeRotationByApp()
115 appWindowToken.addWindow(appWindow); in testLandscapeSeascapeRotationByApp()
118 appWindowToken.setOrientation(SCREEN_ORIENTATION_LANDSCAPE); in testLandscapeSeascapeRotationByApp()
125 appWindowToken.setOrientation(SCREEN_ORIENTATION_REVERSE_LANDSCAPE); in testLandscapeSeascapeRotationByApp()
144 final WindowTestUtils.TestAppWindowToken appWindowToken = in testLandscapeSeascapeRotationByPolicy() local
146 task.addChild(appWindowToken, 0); in testLandscapeSeascapeRotationByPolicy()
150 final WindowTestUtils.TestWindowState appWindow = createWindowState(attrs, appWindowToken); in testLandscapeSeascapeRotationByPolicy()
151 appWindowToken.addWindow(appWindow); in testLandscapeSeascapeRotationByPolicy()
/frameworks/base/services/core/java/com/android/server/wm/
DInputMonitor.java221 AppWindowToken appWindowToken = null; in notifyANR() local
228 appWindowToken = windowState.mAppToken; in notifyANR()
231 if (appWindowToken == null && inputApplicationHandle != null) { in notifyANR()
232 appWindowToken = (AppWindowToken)inputApplicationHandle.appWindowToken; in notifyANR()
245 } else if (appWindowToken != null) { in notifyANR()
247 + "sending to application " + appWindowToken.stringName in notifyANR()
254 mService.saveANRStateLocked(appWindowToken, windowState, reason); in notifyANR()
260 if (appWindowToken != null && appWindowToken.appToken != null) { in notifyANR()
263 final AppWindowContainerController controller = appWindowToken.getController(); in notifyANR()
270 return appWindowToken.mInputDispatchingTimeoutNanos; in notifyANR()
DTaskSnapshotController.java113 void notifyAppVisibilityChanged(AppWindowToken appWindowToken, boolean visible) { in notifyAppVisibilityChanged() argument
115 handleClosingApps(Sets.newArraySet(appWindowToken)); in notifyAppVisibilityChanged()
DWindowManagerService.java6630 void saveANRStateLocked(AppWindowToken appWindowToken, WindowState windowState, String reason) { in saveANRStateLocked() argument
6634 if (appWindowToken != null) { in saveANRStateLocked()
6635 pw.println(" Application at fault: " + appWindowToken.stringName); in saveANRStateLocked()
6880 final AppWindowToken appWindowToken = mRoot.getAppWindowToken(token); in setWillReplaceWindow() local
6881 if (appWindowToken == null || !appWindowToken.hasContentToDisplay()) { in setWillReplaceWindow()
6886 appWindowToken.setWillReplaceWindows(animate); in setWillReplaceWindow()
6904 final AppWindowToken appWindowToken = mRoot.getAppWindowToken(token); in setWillReplaceWindows() local
6905 if (appWindowToken == null || !appWindowToken.hasContentToDisplay()) { in setWillReplaceWindows()
6912 appWindowToken.setWillReplaceChildWindows(); in setWillReplaceWindows()
6914 appWindowToken.setWillReplaceWindows(false /* animate */); in setWillReplaceWindows()
[all …]
/frameworks/base/core/java/android/view/inputmethod/
DInputMethodManager.java1359 public void windowDismissed(IBinder appWindowToken) { in windowDismissed() argument
1363 mServedView.getWindowToken() == appWindowToken) { in windowDismissed()
/frameworks/base/core/java/android/view/
DView.java17313 IBinder appWindowToken = ai.mPanelParentWindowToken;
17314 if (appWindowToken == null) {
17315 appWindowToken = ai.mWindowToken;
17317 return appWindowToken;