Lines Matching refs:win

381 static Rect reduce(const Rect& win, const Region& exclude) {  in reduce()  argument
383 return win; in reduce()
386 return win.reduce(exclude.getBounds()); in reduce()
388 return Region(win).subtract(exclude).getBounds(); in reduce()
393 Rect win(s.active.w, s.active.h); in computeScreenBounds() local
396 win.intersect(s.crop, &win); in computeScreenBounds()
400 win = t.transform(win); in computeScreenBounds()
403 win.intersect(s.finalCrop, &win); in computeScreenBounds()
418 bounds.intersect(win, &win); in computeScreenBounds()
423 win = reduce(win, screenTransparentRegion); in computeScreenBounds()
426 return win; in computeScreenBounds()
436 Rect win(s.active.w, s.active.h); in computeBounds() local
439 win.intersect(s.crop, &win); in computeBounds()
442 Rect bounds = win; in computeBounds()
452 win = t.transform(win); in computeBounds()
453 win.intersect(bounds, &win); in computeBounds()
454 win = t.inverse().transform(win); in computeBounds()
458 return reduce(win, activeTransparentRegion); in computeBounds()
936 Rect win(s.active.w, s.active.h); local
938 win.intersect(s.crop, &win);
941 Rect bounds = reduce(win, s.activeTransparentRegion);
985 Rect win(s.active.w, s.active.h); local
987 win.intersect(s.crop, &win);
990 Rect bounds = reduce(win, s.activeTransparentRegion);
1172 Rect win(computeBounds()); local
1176 win = t.transform(win);
1177 if (!win.intersect(s.finalCrop, &win)) {
1178 win.clear();
1180 win = t.inverse().transform(win);
1181 if (!win.intersect(computeBounds(), &win)) {
1182 win.clear();
1186 float left = float(win.left) / float(s.active.w);
1187 float top = float(win.top) / float(s.active.h);
1188 float right = float(win.right) / float(s.active.w);
1189 float bottom = float(win.bottom) / float(s.active.h);
1386 Rect win = computeBounds(); local
1388 vec2 lt = vec2(win.left, win.top);
1389 vec2 lb = vec2(win.left, win.bottom);
1390 vec2 rb = vec2(win.right, win.bottom);
1391 vec2 rt = vec2(win.right, win.top);