Home
last modified time | relevance | path

Searched refs:localPoint (Results 1 – 25 of 38) sorted by relevance

12

/external/chromium_org/third_party/WebKit/Source/platform/
DWidget.cpp113 IntPoint Widget::convertToContainingWindow(const IntPoint& localPoint) const in convertToContainingWindow()
116 IntPoint parentPoint = convertToContainingView(localPoint); in convertToContainingWindow()
119 return localPoint; in convertToContainingWindow()
143 IntPoint Widget::convertToContainingView(const IntPoint& localPoint) const in convertToContainingView()
146 return parentWidget->convertChildToSelf(this, localPoint); in convertToContainingView()
148 return localPoint; in convertToContainingView()
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
DRenderSVGContainer.cpp176 FloatPoint localPoint; in nodeAtFloatPoint() local
177 …t::transformToUserSpaceAndCheckClipping(this, localToParentTransform(), pointInParent, localPoint)) in nodeAtFloatPoint()
181 if (child->nodeAtFloatPoint(request, result, localPoint, hitTestAction)) { in nodeAtFloatPoint()
182 updateHitTestResult(result, roundedLayoutPoint(localPoint)); in nodeAtFloatPoint()
190 if (objectBoundingBox().contains(localPoint)) { in nodeAtFloatPoint()
191 updateHitTestResult(result, roundedLayoutPoint(localPoint)); in nodeAtFloatPoint()
DRenderSVGImage.cpp166 FloatPoint localPoint; in nodeAtFloatPoint() local
167 …t::transformToUserSpaceAndCheckClipping(this, localToParentTransform(), pointInParent, localPoint)) in nodeAtFloatPoint()
171 if (m_objectBoundingBox.contains(localPoint)) { in nodeAtFloatPoint()
172 updateHitTestResult(result, roundedLayoutPoint(localPoint)); in nodeAtFloatPoint()
DRenderSVGShape.cpp310 FloatPoint localPoint; in nodeAtFloatPoint() local
311 …erSupport::transformToUserSpaceAndCheckClipping(this, m_localTransform, pointInParent, localPoint)) in nodeAtFloatPoint()
315 if (nodeAtFloatPointInternal(request, localPoint, hitRules)) { in nodeAtFloatPoint()
316 updateHitTestResult(result, roundedLayoutPoint(localPoint)); in nodeAtFloatPoint()
323 …eAtFloatPointInternal(const HitTestRequest& request, const FloatPoint& localPoint, PointerEventsHi… in nodeAtFloatPointInternal() argument
331 if ((hitRules.canHitBoundingBox && objectBoundingBox().contains(localPoint)) in nodeAtFloatPointInternal()
332 …&& (svgStyle.hasStroke() || !hitRules.requireStroke) && strokeContains(localPoint, hitRules.requir… in nodeAtFloatPointInternal()
333 …tFill && (svgStyle.hasFill() || !hitRules.requireFill) && fillContains(localPoint, hitRules.requir… in nodeAtFloatPointInternal()
DRenderSVGForeignObject.cpp139 FloatPoint localPoint = localTransform.inverse().mapPoint(pointInParent); in nodeAtFloatPoint() local
142 if (SVGRenderSupport::isOverflowHidden(this) && !m_viewport.contains(localPoint)) in nodeAtFloatPoint()
146 HitTestLocation hitTestLocation(roundedLayoutPoint(localPoint)); in nodeAtFloatPoint()
DRenderSVGText.cpp433 FloatPoint localPoint; in nodeAtFloatPoint() local
434 …t::transformToUserSpaceAndCheckClipping(this, localToParentTransform(), pointInParent, localPoint)) in nodeAtFloatPoint()
437 if (hitRules.canHitBoundingBox && !objectBoundingBox().contains(localPoint)) in nodeAtFloatPoint()
440 HitTestLocation hitTestLocation(LayoutPoint(flooredIntPoint(localPoint))); in nodeAtFloatPoint()
DSVGRenderSupport.cpp303 …ct, const AffineTransform& localTransform, const FloatPoint& pointInParent, FloatPoint& localPoint) in transformToUserSpaceAndCheckClipping() argument
307 localPoint = localTransform.inverse().mapPoint(pointInParent); in transformToUserSpaceAndCheckClipping()
308 return pointInClippingArea(object, localPoint); in transformToUserSpaceAndCheckClipping()
DSVGRenderSupport.h68 …*, const AffineTransform& localTransform, const FloatPoint& pointInParent, FloatPoint& localPoint);
DRenderSVGRoot.cpp426 … FloatPoint localPoint = localToParentTransform.inverse().mapPoint(FloatPoint(pointInParent)); in nodeAtPoint() local
430 if (child->nodeAtFloatPoint(request, result, localPoint, hitTestAction)) { in nodeAtPoint()
/external/chromium_org/third_party/WebKit/Source/core/page/
DEventWithHitTestResults.h46 LayoutPoint localPoint() const { return m_hitTestResult.localPoint(); } in localPoint() function
DEventHandler.cpp374 VisiblePosition pos(innerNode->renderer()->positionForPoint(result.localPoint())); in selectClosestWordFromHitTestResult()
393 VisiblePosition pos(innerNode->renderer()->positionForPoint(result.localPoint())); in selectClosestMisspellingFromHitTestResult()
438 VisiblePosition pos(innerNode->renderer()->positionForPoint(result.localPoint())); in selectClosestWordOrLinkFromMouseEvent()
478 VisiblePosition pos(innerNode->renderer()->positionForPoint(event.localPoint())); in handleMousePressEventTripleClick()
515 VisiblePosition visiblePos(innerNode->renderer()->positionForPoint(event.localPoint())); in handleMousePressEventSingleClick()
706 …lection().selection().visiblePositionRespectingEditingBoundary(hitTestResult.localPoint(), target); in updateSelectionForMouseDrag()
739 …&& comparePositions(target->renderer()->positionForPoint(hitTestResult.localPoint()), m_mousePress… in updateSelectionForMouseDrag()
743 …&& comparePositions(target->renderer()->positionForPoint(hitTestResult.localPoint()), m_mousePress… in updateSelectionForMouseDrag()
790 … VisiblePosition pos = VisiblePosition(node->renderer()->positionForPoint(event.localPoint())); in handleMouseReleaseEvent()
1045 switch (renderer->getCursor(roundedIntPoint(result.localPoint()), overrideCursor)) { in selectCursor()
[all …]
/external/chromium_org/chrome/browser/ui/cocoa/
Dnew_tab_button.mm34 NSPoint localPoint = [self convertPoint:point fromView:[self superview]];
35 NSRect pointRect = NSMakeRect(localPoint.x, localPoint.y, 1, 1);
/external/chromium_org/third_party/WebKit/Source/web/
DWebHitTestResult.cpp81 WebPoint WebHitTestResult::localPoint() const in localPoint() function in blink::WebHitTestResult
83 return roundedIntPoint(m_private->result().localPoint()); in localPoint()
DWebInputEventConversion.cpp500 …IntPoint localPoint = convertAbsoluteLocationForRenderObject(event.absoluteLocation(), renderObjec… in updateWebMouseEventFromCoreMouseEvent() local
501 webEvent.x = localPoint.x(); in updateWebMouseEventFromCoreMouseEvent()
502 webEvent.y = localPoint.y(); in updateWebMouseEventFromCoreMouseEvent()
596 …IntPoint localPoint = convertAbsoluteLocationForRenderObject(touch->absoluteLocation(), *renderObj… in WebMouseEventBuilder() local
597 x = localPoint.x(); in WebMouseEventBuilder()
598 y = localPoint.y(); in WebMouseEventBuilder()
832 …IntPoint localPoint = convertAbsoluteLocationForRenderObject(event.absoluteLocation(), *renderObje… in WebGestureEventBuilder() local
833 x = localPoint.x(); in WebGestureEventBuilder()
834 y = localPoint.y(); in WebGestureEventBuilder()
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DHitTestResult.cpp83 , m_localPoint(other.localPoint()) in HitTestResult()
104 m_localPoint = other.localPoint(); in operator =()
136 return renderer->positionForPoint(localPoint()); in position()
344 VisiblePosition pos(innerNode()->renderer()->positionForPoint(localPoint())); in isMisspelled()
427 m_localPoint = other.localPoint(); in append()
DRenderTextControl.cpp158 …LayoutPoint localPoint = pointInContainer - toLayoutSize(adjustedLocation + innerEditor->renderBox… in hitInnerEditorElement() local
160 localPoint += scrolledContentOffset(); in hitInnerEditorElement()
163 result.setLocalPoint(localPoint); in hitInnerEditorElement()
DRenderLayer.cpp775 LayoutPoint localPoint; in location() local
782 localPoint += inlineBoundingBoxOffset; in location()
784 localPoint += box->topLeftLocationOffset(); in location()
795 localPoint += toRenderBox(curr)->topLeftLocationOffset(); in location()
801 localPoint -= toRenderBox(curr)->topLeftLocationOffset(); in location()
812 localPoint -= offset; in location()
817 localPoint += offset; in location()
829 localPoint += renderer()->view()->columnOffset(localPoint); in location()
831 localPoint += parent()->renderer()->columnOffset(localPoint); in location()
836 localPoint -= scrollOffset; in location()
[all …]
DRenderLayerScrollableArea.cpp1083 …nderLayerScrollableArea::hitTestOverflowControls(HitTestResult& result, const IntPoint& localPoint) in hitTestOverflowControls() argument
1091 if (resizeControlRect.contains(localPoint)) in hitTestOverflowControls()
1101 if (vBarRect.contains(localPoint)) { in hitTestOverflowControls()
1113 if (hBarRect.contains(localPoint)) { in hitTestOverflowControls()
1206 IntPoint localPoint = roundedIntPoint(box().absoluteToLocal(absolutePoint, UseTransforms)); in isPointInResizeControl() local
1208 return resizerCornerRect(localBounds, resizerHitTestType).contains(localPoint); in isPointInResizeControl()
1298 IntPoint localPoint = roundedIntPoint(box().absoluteToLocal(absolutePoint, UseTransforms)); in offsetFromResizeCorner() local
1299 return localPoint - resizerPoint; in offsetFromResizeCorner()
DHitTestResult.h89 const LayoutPoint& localPoint() const { return m_localPoint; } in localPoint() function
DRenderLayerScrollableArea.h163 bool hitTestOverflowControls(HitTestResult&, const IntPoint& localPoint);
/external/chromium_org/third_party/WebKit/public/web/
DWebHitTestResult.h57 BLINK_EXPORT WebPoint localPoint() const;
/external/chromium_org/content/browser/web_contents/
Dweb_drag_source_mac.mm271 NSPoint localPoint = NSZeroPoint;
273 localPoint = [self convertScreenPoint:screenPoint];
275 localPoint.y = viewFrame.size.height - localPoint.y;
286 contents_->DragSourceEndedAt(localPoint.x, localPoint.y, screenPoint.x,
/external/chromium_org/content/renderer/android/
Dcontent_detector.cc50 surrounding_text.initialize(hit_test.node(), hit_test.localPoint(), in FindContentRange()
/external/chromium_org/third_party/WebKit/Source/platform/scroll/
DScrollbar.cpp567 IntPoint Scrollbar::convertToContainingView(const IntPoint& localPoint) const in convertToContainingView()
570 return m_scrollableArea->convertFromScrollbarToContainingView(this, localPoint); in convertToContainingView()
572 return Widget::convertToContainingView(localPoint); in convertToContainingView()
/external/chromium_org/third_party/WebKit/Source/core/editing/
DVisibleSelection.h116 …VisiblePosition visiblePositionRespectingEditingBoundary(const LayoutPoint& localPoint, Node* targ…

12