Lines Matching refs:rootDisplayPort
4301 nsRect rootDisplayPort; in RestrictToRootDisplayPort() local
4304 rootFrame->GetContent(), &rootDisplayPort); in RestrictToRootDisplayPort()
4311 ToString(rootDisplayPort).c_str())); in RestrictToRootDisplayPort()
4315 rootDisplayPort -= in RestrictToRootDisplayPort()
4340 rootDisplayPort = rootCompBounds; in RestrictToRootDisplayPort()
4344 ToString(rootDisplayPort).c_str())); in RestrictToRootDisplayPort()
4358 nsLayoutUtils::TransformRect(rootFrame, mOuter, rootDisplayPort); in RestrictToRootDisplayPort()
4361 ToString(rootDisplayPort).c_str())); in RestrictToRootDisplayPort()
4362 rootDisplayPort += CSSPoint::ToAppUnits( in RestrictToRootDisplayPort()
4366 ToString(rootDisplayPort).c_str())); in RestrictToRootDisplayPort()
4374 if (rootDisplayPort.x > aDisplayportBase.x && in RestrictToRootDisplayPort()
4375 rootDisplayPort.XMost() > aDisplayportBase.XMost()) { in RestrictToRootDisplayPort()
4384 rootDisplayPort.x -= (rootDisplayPort.XMost() - aDisplayportBase.XMost()); in RestrictToRootDisplayPort()
4385 } else if (rootDisplayPort.x < aDisplayportBase.x && in RestrictToRootDisplayPort()
4386 rootDisplayPort.XMost() < aDisplayportBase.XMost()) { in RestrictToRootDisplayPort()
4389 rootDisplayPort.x = aDisplayportBase.x; in RestrictToRootDisplayPort()
4392 if (rootDisplayPort.y > aDisplayportBase.y && in RestrictToRootDisplayPort()
4393 rootDisplayPort.YMost() > aDisplayportBase.YMost()) { in RestrictToRootDisplayPort()
4394 rootDisplayPort.y -= (rootDisplayPort.YMost() - aDisplayportBase.YMost()); in RestrictToRootDisplayPort()
4395 } else if (rootDisplayPort.y < aDisplayportBase.y && in RestrictToRootDisplayPort()
4396 rootDisplayPort.YMost() < aDisplayportBase.YMost()) { in RestrictToRootDisplayPort()
4397 rootDisplayPort.y = aDisplayportBase.y; in RestrictToRootDisplayPort()
4403 ToString(rootDisplayPort).c_str(), ToString(aDisplayportBase).c_str())); in RestrictToRootDisplayPort()
4406 return aDisplayportBase.Intersect(rootDisplayPort); in RestrictToRootDisplayPort()