Home
last modified time | relevance | path

Searched refs:windows (Results 1 – 25 of 61) sorted by relevance

123

/frameworks/native/services/inputflinger/tests/
DFocusResolver_test.cpp50 std::vector<sp<InputWindowHandle>> windows; in TEST() local
51 windows.push_back(new FakeWindowHandle("Focusable", focusableWindowToken, true /* focusable */, in TEST()
53 windows.push_back(new FakeWindowHandle("Invisible", invisibleWindowToken, true /* focusable */, in TEST()
55 windows.push_back(new FakeWindowHandle("unfocusable", unfocusableWindowToken, in TEST()
64 focusResolver.setFocusedWindow(request, windows); in TEST()
70 changes = focusResolver.setFocusedWindow(request, windows); in TEST()
77 changes = focusResolver.setFocusedWindow(request, windows); in TEST()
85 std::vector<sp<InputWindowHandle>> windows; in TEST() local
86 windows.push_back(new FakeWindowHandle("Mirror1", focusableWindowToken, true /* focusable */, in TEST()
88 windows.push_back(new FakeWindowHandle("Mirror1", focusableWindowToken, true /* focusable */, in TEST()
[all …]
/frameworks/native/services/inputflinger/dispatcher/
DTouchState.cpp38 windows.clear(); in reset()
49 windows = other.windows; in copyFrom()
60 for (size_t i = 0; i < windows.size(); i++) { in addOrUpdateWindow()
61 TouchedWindow& touchedWindow = windows[i]; in addOrUpdateWindow()
76 windows.push_back(touchedWindow); in addOrUpdateWindow()
97 for (size_t i = 0; i < windows.size(); i++) { in removeWindowByToken()
98 if (windows[i].windowHandle->getToken() == token) { in removeWindowByToken()
99 windows.erase(windows.begin() + i); in removeWindowByToken()
106 for (size_t i = 0; i < windows.size();) { in filterNonAsIsTouchWindows()
107 TouchedWindow& window = windows[i]; in filterNonAsIsTouchWindows()
[all …]
DFocusResolver.cpp55 int32_t displayId, const std::vector<sp<InputWindowHandle>>& windows) { in setInputWindows() argument
61 Focusability result = isTokenFocusable(currentFocus, windows); in setInputWindows()
73 const Focusability result = isTokenFocusable(requestedFocus, windows); in setInputWindows()
90 const FocusRequest& request, const std::vector<sp<InputWindowHandle>>& windows) { in setFocusedWindow() argument
110 Focusability result = isTokenFocusable(request.token, windows); in setFocusedWindow()
120 Focusability result = isTokenFocusable(request.token, windows); in setFocusedWindow()
139 const sp<IBinder>& token, const std::vector<sp<InputWindowHandle>>& windows) { in isTokenFocusable() argument
143 for (const sp<InputWindowHandle>& window : windows) { in isTokenFocusable()
DFocusResolver.h61 int32_t displayId, const std::vector<sp<InputWindowHandle>>& windows);
63 const FocusRequest& request, const std::vector<sp<InputWindowHandle>>& windows);
91 const std::vector<sp<InputWindowHandle>>& windows);
DTouchState.h35 std::vector<TouchedWindow> windows; member
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityCache.java143 SparseArray<AccessibilityWindowInfo> windows = mWindowCacheByDisplay.get(displayId); in addWindowByDisplayLocked() local
144 if (windows == null) { in addWindowByDisplayLocked()
145 windows = new SparseArray<>(); in addWindowByDisplayLocked()
146 mWindowCacheByDisplay.put(displayId, windows); in addWindowByDisplayLocked()
149 windows.put(windowId, new AccessibilityWindowInfo(window)); in addWindowByDisplayLocked()
331 List<AccessibilityWindowInfo> windows = in getWindowsOnAllDisplays() local
335 windows.add(new AccessibilityWindowInfo(window)); in getWindowsOnAllDisplays()
338 returnWindows.put(displayId, windows); in getWindowsOnAllDisplays()
477 final SparseArray<AccessibilityWindowInfo> windows = in clearWindowCacheLocked() local
479 if (windows != null) { in clearWindowCacheLocked()
[all …]
DAccessibilityInteractionClient.java346 final SparseArray<List<AccessibilityWindowInfo>> windows = in getWindows() local
348 if (windows.size() > 0) { in getWindows()
349 return windows.valueAt(Display.DEFAULT_DISPLAY); in getWindows()
365 SparseArray<List<AccessibilityWindowInfo>> windows = in getWindowsOnAllDisplays() local
367 if (windows != null) { in getWindowsOnAllDisplays()
371 return windows; in getWindowsOnAllDisplays()
378 windows = connection.getWindows(); in getWindowsOnAllDisplays()
382 if (windows != null) { in getWindowsOnAllDisplays()
383 sAccessibilityCache.setWindowsOnAllDisplays(windows); in getWindowsOnAllDisplays()
384 return windows; in getWindowsOnAllDisplays()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityWindowManager.java357 IBinder topFocusedWindowToken, @NonNull List<WindowInfo> windows) { in onWindowsForAccessibilityChanged() argument
361 Slog.i(LOG_TAG, "Windows changed: " + windows); in onWindowsForAccessibilityChanged()
363 if (shouldUpdateWindowsLocked(forceSend, windows)) { in onWindowsForAccessibilityChanged()
366 cacheWindows(windows); in onWindowsForAccessibilityChanged()
369 windows); in onWindowsForAccessibilityChanged() local
377 @NonNull List<WindowInfo> windows) { in shouldUpdateWindowsLocked() argument
382 final int windowCount = windows.size(); in shouldUpdateWindowsLocked()
387 } else if (!mCachedWindowInfos.isEmpty() || !windows.isEmpty()) { in shouldUpdateWindowsLocked()
393 WindowInfo newWindow = windows.get(i); in shouldUpdateWindowsLocked()
406 private void cacheWindows(List<WindowInfo> windows) { in cacheWindows() argument
[all …]
/frameworks/compile/slang/
DAndroid.bp111 windows: {
125 windows: {
207 windows: {
232 windows: {
/frameworks/native/libs/math/
DAndroid.bp47 windows: {
66 windows: {
/frameworks/base/core/tests/coretests/src/android/view/
DAccessibilityInteractionControllerTest.java209 final List<AccessibilityWindowInfo> windows = sUiAutomation.getWindows(); in findWindowByTitle() local
211 for (int i = 0; i < windows.size(); i++) { in findWindowByTitle()
212 final AccessibilityWindowInfo window = windows.get(i); in findWindowByTitle()
/frameworks/minikin/
DAndroid.bp16 windows: {
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
DAccessibilityNodeInfoDumper.java134 final List<AccessibilityWindowInfo> windows = allWindows.valueAt(d); in dumpWindowsToFile() local
135 if (windows.isEmpty()) { in dumpWindowsToFile()
143 for (int i = 0, n = windows.size(); i < n; ++i) { in dumpWindowsToFile()
144 dumpWindowRec(windows.get(i), serializer, i, size.x, size.y, rotation); in dumpWindowsToFile()
/frameworks/compile/libbcc/bcinfo/
DAndroid.bp78 windows: {
120 windows: {
/frameworks/av/media/tests/SampleVideoEncoder/
Dgradlew.bat8 @rem Set local scope for the variables with windows NT shell
72 @rem End local scope for the variables with windows NT shell
/frameworks/layoutlib/bridge/tests/res/testApp/MyApplication/
Dgradlew.bat8 @rem Set local scope for the variables with windows NT shell
78 @rem End local scope for the variables with windows NT shell
/frameworks/base/startop/apps/ColorChanging/
Dgradlew.bat8 @rem Set local scope for the variables with windows NT shell
72 @rem End local scope for the variables with windows NT shell
/frameworks/base/tests/FlickerTests/src/com/android/server/wm/flicker/
DCommonAssertions.kt213 fun FlickerTestParameter.focusChanges(vararg windows: String) { in focusChanges()
215 this.focusChanges(windows) in focusChanges()
/frameworks/base/tests/TouchLatency/
Dgradlew.bat8 @rem Set local scope for the variables with windows NT shell
72 @rem End local scope for the variables with windows NT shell
/frameworks/compile/libbcc/bcinfo/BitReader_3_0/
DAndroid.bp25 windows: {
/frameworks/compile/libbcc/bcinfo/BitReader_2_7/
DAndroid.bp26 windows: {
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DWindowStateTests.java311 final LinkedList<WindowState> windows = new LinkedList<>(); in testGetWindow() local
314 windows.addLast(w); in testGetWindow()
319 assertEquals(aboveSubPanelChild, windows.pollFirst()); in testGetWindow()
320 assertEquals(subPanelChild, windows.pollFirst()); in testGetWindow()
321 assertEquals(attachedDialogChild, windows.pollFirst()); in testGetWindow()
322 assertEquals(root, windows.pollFirst()); in testGetWindow()
323 assertEquals(mediaOverlayChild, windows.pollFirst()); in testGetWindow()
324 assertEquals(mediaChild, windows.pollFirst()); in testGetWindow()
325 assertTrue(windows.isEmpty()); in testGetWindow()
/frameworks/compile/mclinker/lib/Support/Windows/
DSystem.inc16 #include <windows.h>
/frameworks/base/libs/hostgraphics/
DAndroid.bp43 windows: {
/frameworks/native/libs/nativebase/
DAndroid.bp44 windows: {

123