Lines Matching refs:active

106     mCurrentState.active.w = w;
107 mCurrentState.active.h = h;
108 mCurrentState.active.crop.makeInvalid();
115 mCurrentState.requested = mCurrentState.active;
340 Rect win(s.active.w, s.active.h);
341 if (!s.active.crop.isEmpty()) {
342 win.intersect(s.active.crop, &win);
353 // the active.crop is the area of the window that gets cropped, but not
364 Rect activeCrop(s.active.w, s.active.h);
365 if (!s.active.crop.isEmpty()) {
366 activeCrop = s.active.crop;
379 activeCrop.intersect(Rect(s.active.w, s.active.h), &activeCrop);
411 int winWidth = s.active.w;
412 int winHeight = s.active.h;
425 winWidth = s.active.h;
426 winHeight = s.active.w;
429 invTransform, s.active.w, s.active.h);
472 if (!s.active.crop.isEmpty()) {
473 Rect activeCrop(s.active.crop);
483 activeCrop.intersect(Rect(s.active.w, s.active.h), &activeCrop);
485 activeTransparentRegion.orSelf(Rect(0, 0, s.active.w, activeCrop.top));
487 s.active.w, s.active.h));
491 s.active.w, activeCrop.bottom));
592 Rect win(s.active.w, s.active.h);
593 if (!s.active.crop.isEmpty()) {
594 win.intersect(s.active.crop, &win);
755 float left = float(win.left) / float(s.active.w);
756 float top = float(win.top) / float(s.active.h);
757 float right = float(win.right) / float(s.active.w);
758 float bottom = float(win.bottom) / float(s.active.h);
824 Rect win(s.active.w, s.active.h);
825 if (!s.active.crop.isEmpty()) {
826 win.intersect(s.active.crop, &win);
912 " current={ active ={ wh={%4u,%4u} crop={%4d,%4d,%4d,%4d} (%4d,%4d) }\n"
914 " drawing={ active ={ wh={%4u,%4u} crop={%4d,%4d,%4d,%4d} (%4d,%4d) }\n"
917 c.active.w, c.active.h,
918 c.active.crop.left,
919 c.active.crop.top,
920 c.active.crop.right,
921 c.active.crop.bottom,
922 c.active.crop.getWidth(),
923 c.active.crop.getHeight(),
931 s.active.w, s.active.h,
932 s.active.crop.left,
933 s.active.crop.top,
934 s.active.crop.right,
935 s.active.crop.bottom,
936 s.active.crop.getWidth(),
937 s.active.crop.getHeight(),
954 const bool resizePending = (c.requested.w != c.active.w) ||
955 (c.requested.h != c.active.h);
975 // always set active to requested, unless we're asked not to
980 editCurrentState.active = c.requested;
983 if (s.active != c.active) {
1181 return s.transform.transform(Region(Rect(s.active.w, s.active.h)));
1229 if (front.active != front.requested) {
1238 front.active = front.requested;
1245 // because State::active is only accessed from this thread.
1246 current.active = front.active;
1254 " drawing={ active ={ wh={%4u,%4u} crop={%4d,%4d,%4d,%4d} (%4d,%4d) }\n"
1257 front.active.w, front.active.h,
1258 front.active.crop.left,
1259 front.active.crop.top,
1260 front.active.crop.right,
1261 front.active.crop.bottom,
1262 front.active.crop.getWidth(),
1263 front.active.crop.getHeight(),
1274 if (front.active.w != bufWidth ||
1275 front.active.h != bufHeight) {
1277 ALOGE("rejecting buffer: bufWidth=%d, bufHeight=%d, front.active.{w=%d, h=%d}",
1278 bufWidth, bufHeight, front.active.w, front.active.h);
1296 // because State::active is only accessed from this thread.
1378 // update the active buffer
1421 Region dirtyRegion(Rect(s.active.w, s.active.h));
1482 s.layerStack, s.z, s.transform.tx(), s.transform.ty(), s.active.w, s.active.h,
1483 s.active.crop.left, s.active.crop.top,
1484 s.active.crop.right, s.active.crop.bottom,