Lines Matching defs:window

55     public void addWindow(AccessibilityWindowInfo window) {
58 Log.i(LOG_TAG, "Caching window: " + window.getId());
60 final int windowId = window.getId();
65 mWindowCache.put(windowId, AccessibilityWindowInfo.obtain(window));
162 * window and the accessibility id of the node.
164 * @param windowId The id of the window hosting the node.
196 AccessibilityWindowInfo window = mWindowCache.valueAt(i);
197 sortedWindows.put(window.getLayer(), window);
202 AccessibilityWindowInfo window = sortedWindows.valueAt(i);
203 windows.add(AccessibilityWindowInfo.obtain(window));
215 AccessibilityWindowInfo window = mWindowCache.get(windowId);
216 if (window != null) {
217 return AccessibilityWindowInfo.obtain(window);
285 AccessibilityWindowInfo window = mWindowCache.valueAt(i);
286 window.recycle();
320 * hosted in a given window.
322 * @param windowId The id of the hosting window.
337 * in the hosting window.
339 * @param nodes The nodes in the hosting window.
358 * are not mixed, there is a single active window, there is a single focused
359 * window, for every window there are no duplicates nodes, all nodes for a
360 * window are connected, for every window there is a single input focused
361 * node, and for every window there is a single accessibility focused node.
375 AccessibilityWindowInfo window = mWindowCache.valueAt(i);
377 // Check for one active window.
378 if (window.isActive()) {
380 Log.e(LOG_TAG, "Duplicate active window:" + window);
382 activeWindow = window;
386 // Check for one focused window.
387 if (window.isFocused()) {
389 Log.e(LOG_TAG, "Duplicate focused window:" + window);
391 focusedWindow = window;
417 + " in window:" + windowId);
426 + " in window:" + windowId);
436 + " in window:" + windowId);