Home
last modified time | relevance | path

Searched refs:contextToken (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/core/java/com/android/server/wm/
DRotationWatcherController.java60 void registerProposedRotationListener(IRotationWatcher listener, IBinder contextToken) { in registerProposedRotationListener() argument
64 if (contextToken == watcher.mToken || listenerBinder == watcher.mWatcher.asBinder()) { in registerProposedRotationListener()
70 register(listenerBinder, new ProposedRotationListener(mService, listener, contextToken), in registerProposedRotationListener()
142 WindowContainer<?> getAssociatedWindowContainer(IBinder contextToken) { in getAssociatedWindowContainer() argument
143 final WindowContainer<?> wc = ActivityRecord.forTokenLocked(contextToken); in getAssociatedWindowContainer()
147 return mService.mWindowContextListenerController.getContainer(contextToken); in getAssociatedWindowContainer()
DWindowManagerService.java4790 public int registerProposedRotationListener(IBinder contextToken, IRotationWatcher listener) { in registerProposedRotationListener() argument
4793 mRotationWatcherController.getAssociatedWindowContainer(contextToken); in registerProposedRotationListener()
4799 mRotationWatcherController.registerProposedRotationListener(listener, contextToken); in registerProposedRotationListener()
/frameworks/base/core/java/android/view/
DWindowManagerGlobal.java714 public void registerProposedRotationListener(IBinder contextToken, Executor executor, in registerProposedRotationListener() argument
721 delegate = mProposedRotationListenerMap.get(contextToken); in registerProposedRotationListener()
724 mProposedRotationListenerMap.put(contextToken, in registerProposedRotationListener()
738 contextToken, delegate); in registerProposedRotationListener()
746 public void unregisterProposedRotationListener(IBinder contextToken, IntConsumer listener) { in unregisterProposedRotationListener() argument
752 delegate = mProposedRotationListenerMap.get(contextToken); in unregisterProposedRotationListener()
758 mProposedRotationListenerMap.remove(contextToken); in unregisterProposedRotationListener()
DWindowManagerImpl.java377 final IBinder contextToken = Context.getToken(mContext); in addProposedRotationListener() local
378 if (contextToken == null) { in addProposedRotationListener()
383 mGlobal.registerProposedRotationListener(contextToken, executor, listener); in addProposedRotationListener()
DIWindowManager.aidl315 int registerProposedRotationListener(IBinder contextToken, IRotationWatcher listener); in registerProposedRotationListener() argument