Home
last modified time | relevance | path

Searched refs:newLocation (Results 1 – 7 of 7) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/platform/geometry/
DLayoutRect.cpp63 LayoutPoint newLocation(std::max(x(), other.x()), std::max(y(), other.y())); in intersect() local
67 if (newLocation.x() >= newMaxPoint.x() || newLocation.y() >= newMaxPoint.y()) { in intersect()
68 newLocation = LayoutPoint(0, 0); in intersect()
72 m_location = newLocation; in intersect()
73 m_size = newMaxPoint - newLocation; in intersect()
86 LayoutPoint newLocation(std::min(x(), other.x()), std::min(y(), other.y())); in unite() local
89 m_location = newLocation; in unite()
90 m_size = newMaxPoint - newLocation; in unite()
103 LayoutPoint newLocation(std::min(x(), other.x()), std::min(y(), other.y())); in uniteIfNonZero() local
106 m_location = newLocation; in uniteIfNonZero()
[all …]
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DLocationTest.java40 Location newLocation = new Location(LocationManager.NETWORK_PROVIDER); in test_set() local
41 newLocation.set(location); in test_set()
43 assertLocationFieldsFromTestSetup(newLocation); in test_set()
/external/chromium_org/content/public/test/android/javatests/src/org/chromium/content/browser/test/util/
DMockLocationProvider.java75 newLocation(); in startMockLocationProviderThread()
83 private void newLocation() { in newLocation() method in MockLocationProvider
/external/chromium_org/components/cronet/android/java/src/org/chromium/net/
DUrlRequestListener.java26 URL newLocation); in onRedirect() argument
/external/chromium_org/third_party/WebKit/Source/core/frame/
DPinchViewport.cpp152 void PinchViewport::setLocation(const FloatPoint& newLocation) in setLocation() argument
154 FloatPoint clampedOffset(clampOffsetToBoundaries(newLocation)); in setLocation()
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderObject.cpp1294 …oldRect, const LayoutPoint& oldLocation, const LayoutRect& newRect, const LayoutPoint& newLocation) in jsonObjectForOldAndNewRects() argument
1300 addJsonObjectForPoint(value.get(), "newLocation", newLocation); in jsonObjectForOldAndNewRects()
1313 …const LayoutPoint newLocation = RenderLayer::positionFromPaintInvalidationBacking(this, &paintInva… in invalidatePaintIfNeeded() local
1315 setPreviousPositionFromPaintInvalidationBacking(newLocation); in invalidatePaintIfNeeded()
1325 "info", jsonObjectForOldAndNewRects(oldBounds, oldLocation, newBounds, newLocation)); in invalidatePaintIfNeeded()
1327 …aintInvalidationReason(paintInvalidationContainer, oldBounds, oldLocation, newBounds, newLocation); in invalidatePaintIfNeeded()
1333 incrementallyInvalidatePaint(paintInvalidationContainer, oldBounds, newBounds, newLocation); in invalidatePaintIfNeeded()
DRenderBox.cpp3852 …ounds, const LayoutPoint& oldLocation, const LayoutRect& newBounds, const LayoutPoint& newLocation) in getPaintInvalidationReason() argument
3854 …aintInvalidationReason(paintInvalidationContainer, oldBounds, oldLocation, newBounds, newLocation); in getPaintInvalidationReason()