Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/window/
DWindowTokenClientController.java88 final WindowTokenClient windowTokenClient; in getWindowContext() local
90 windowTokenClient = mWindowTokenClientMap.get(clientToken); in getWindowContext()
92 return windowTokenClient != null ? windowTokenClient.getContext() : null; in getWindowContext()
205 final WindowTokenClient windowTokenClient = getWindowTokenClient(clientToken); in onWindowContextInfoChanged() local
206 if (windowTokenClient != null) { in onWindowContextInfoChanged()
207 windowTokenClient.onConfigurationChanged(info.getConfiguration(), info.getDisplayId()); in onWindowContextInfoChanged()
213 final WindowTokenClient windowTokenClient = getWindowTokenClient(clientToken); in onWindowContextWindowRemoved() local
214 if (windowTokenClient != null) { in onWindowContextWindowRemoved()
215 windowTokenClient.onWindowTokenRemoved(); in onWindowContextWindowRemoved()
221 final WindowTokenClient windowTokenClient; in getWindowTokenClient() local
[all …]
/frameworks/base/core/tests/coretests/src/android/app/servertransaction/
DClientTransactionListenerControllerTest.java200 final WindowTokenClient windowTokenClient = spy(new WindowTokenClient()); in testWindowTokenClient_onConfigurationChanged() local
202 windowTokenClient.attachContext(context); in testWindowTokenClient_onConfigurationChanged()
204 doReturn(mController).when(windowTokenClient).getClientTransactionListenerController(); in testWindowTokenClient_onConfigurationChanged()
205 doNothing().when(windowTokenClient).onConfigurationChangedInner(any(), any(), anyInt(), in testWindowTokenClient_onConfigurationChanged()
209 windowTokenClient.onConfigurationChanged(mConfiguration, 123 /* newDisplayId */, in testWindowTokenClient_onConfigurationChanged()
216 clearInvocations(windowTokenClient); in testWindowTokenClient_onConfigurationChanged()
217 final InOrder inOrder = inOrder(mController, windowTokenClient); in testWindowTokenClient_onConfigurationChanged()
218 windowTokenClient.onConfigurationChanged(mConfiguration, 123 /* newDisplayId */, in testWindowTokenClient_onConfigurationChanged()
222 inOrder.verify(windowTokenClient).onConfigurationChangedInner(context, mConfiguration, in testWindowTokenClient_onConfigurationChanged()
/frameworks/base/core/java/android/app/
DContextImpl.java2937 final WindowTokenClient windowTokenClient = new WindowTokenClient(); in createWindowContextInternal() local
2941 final ContextImpl windowContextBase = createWindowContextBase(windowTokenClient, in createWindowContextInternal()
2953 windowTokenClient.attachContext(windowContext); in createWindowContextInternal()