Home
last modified time | relevance | path

Searched refs:mWindowCache (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Car/RotaryController/tests/unit/src/com/android/car/rotary/
DWindowCacheTest.java36 private WindowCache mWindowCache; field in WindowCacheTest
40 mWindowCache = new WindowCache(); in setUp()
41 mWindowCache.saveWindowType(WINDOW_ID_1, TYPE_APPLICATION); in setUp()
42 mWindowCache.saveWindowType(WINDOW_ID_2, TYPE_SYSTEM); in setUp()
47 Integer type = mWindowCache.getWindowType(WINDOW_ID_1); in testGetWindowType()
50 mWindowCache.remove(WINDOW_ID_1); in testGetWindowType()
51 type = mWindowCache.getWindowType(WINDOW_ID_1); in testGetWindowType()
54 type = mWindowCache.getWindowType(WINDOW_ID_3); in testGetWindowType()
/packages/apps/Car/RotaryController/src/com/android/car/rotary/
DRotaryService.java556 private final WindowCache mWindowCache = new WindowCache(); field in RotaryService
1230 Integer type = mWindowCache.getWindowType(windowId); in handleWindowRemovedEvent()
1232 mWindowCache.remove(windowId); in handleWindowRemovedEvent()
1259 AccessibilityNodeInfo recentFocus = mWindowCache.getMostRecentFocusedNode(); in handleWindowRemovedEvent()
1279 mWindowCache.saveWindowType(windowId, window.getType()); in handleWindowAddedEvent()
2108 Integer windowType = mWindowCache.getWindowType(targetWindowId); in maybeClearFocusInCurrentWindow()
2271 mWindowCache.saveFocusedNode(mFocusedNode.getWindowId(), mFocusedNode); in setFocusedNodeInternal()
2561 mWindowCache.setNodeCopier(nodeCopier); in setNodeCopier()
2674 mWindowCache.dump(dumpOutputStream, dumpAsProto, "windowCache", in dump()