Searched refs:window_array (Results 1 – 7 of 7) sorted by relevance
33 CFArrayRef window_array = in IsWindowMinimized() local37 if (window_array && CFArrayGetCount(window_array)) { in IsWindowMinimized()39 CFArrayGetValueAtIndex(window_array, 0)); in IsWindowMinimized()47 CFRelease(window_array); in IsWindowMinimized()82 CFArrayRef window_array = in GetWindowTitle() local86 if (window_array && CFArrayGetCount(window_array)) { in GetWindowTitle()88 CFArrayGetValueAtIndex(window_array, 0)); in GetWindowTitle()96 CFRelease(window_array); in GetWindowTitle()104 CFArrayRef window_array = in GetWindowOwnerPid() local108 if (window_array && CFArrayGetCount(window_array)) { in GetWindowOwnerPid()[all …]
21 CFArrayRef window_array = CGWindowListCopyWindowInfo( in GetWindowList() local24 if (!window_array) in GetWindowList()29 CFIndex count = CFArrayGetCount(window_array); in GetWindowList()32 CFArrayGetValueAtIndex(window_array, i)); in GetWindowList()58 CFRelease(window_array); in GetWindowList()
83 CFArrayRef window_array = in IsVisible() local86 if (window_array == NULL || 0 == CFArrayGetCount(window_array)) { in IsVisible()94 CFArrayGetValueAtIndex(window_array, 0)); in IsVisible()104 CFRelease(window_array); in IsVisible()118 CFArrayRef window_array = in MoveToFront() local121 if (window_array == NULL || 0 == CFArrayGetCount(window_array)) { in MoveToFront()129 CFArrayGetValueAtIndex(window_array, 0)); in MoveToFront()175 CFRelease(window_array); in MoveToFront()216 CFArrayRef window_array = in GetWindowList() local220 if (window_array == NULL) { in GetWindowList()[all …]
36 CFArrayRef window_array =38 bool valid = window_array && CFArrayGetCount(window_array);40 CFRelease(window_array);86 CFArrayRef window_array = CGWindowListCopyWindowInfo(89 if (!window_array)94 CFIndex count = CFArrayGetCount(window_array);97 CFArrayGetValueAtIndex(window_array, i));123 CFRelease(window_array);143 CFArrayRef window_array =145 if (window_array == NULL || 0 == CFArrayGetCount(window_array)) {[all …]
136 CFArrayRef window_array =142 if (window_array) {143 CFIndex count = CFArrayGetCount(window_array);146 CFArrayGetValueAtIndex(window_array, i));191 CFRelease(window_array);
144 CFArrayRef window_array =147 if (CFArrayGetCount(window_array) > 0) {149 CFArrayGetValueAtIndex(window_array, 0));156 CFRelease(window_array);
126 base::ScopedCFTypeRef<CFArrayRef> window_array( in FindCGRectOfWindow() local129 if (window_array == NULL || CFArrayGetCount(window_array) == 0) { in FindCGRectOfWindow()141 CFArrayGetValueAtIndex(window_array, 0)); in FindCGRectOfWindow()