Searched defs:touchPointPadding (Results 1 - 3 of 3) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/page/
H A DTouchDisambiguation.cpp93 int touchPointPadding = ceil(std::max(touchBox.width(), touchBox.height()) * 0.5); local
98 HitTestResult result = mainFrame->eventHandler().hitTestResultAtPoint(contentsPoint, HitTestRequest::ReadOnly | HitTestRequest::Active, IntSize(touchPointPadding, touchPointPadding));
132 targetData.score = scoreTouchTarget(touchPoint, touchPointPadding, targetData.windowBoundingBox);
/external/chromium_org/third_party/WebKit/Source/web/tests/
H A DWebFrameTest.cpp120 const int touchPointPadding = 32; member in namespace:__anon11409
2171 WebRect doubleTapPointWide(wideDiv.x + 50, wideDiv.y + 50, touchPointPadding, touchPointPadding);
2172 WebRect doubleTapPointTall(tallDiv.x + 50, tallDiv.y + 50, touchPointPadding, touchPointPadding);
2182 webViewHelper.webViewImpl()->computeScaleAndScrollForBlockRect(WebPoint(doubleTapPointWide.x, doubleTapPointWide.y), wideBlockBounds, touchPointPadding, doubleTapZoomAlreadyLegibleScale, scale, scroll); local
2193 webViewHelper.webViewImpl()->computeScaleAndScrollForBlockRect(WebPoint(doubleTapPointWide.x, doubleTapPointWide.y), wideBlockBounds, touchPointPadding, doubleTapZoomAlreadyLegibleScale, scale, scroll); local
2200 webViewHelper.webViewImpl()->computeScaleAndScrollForBlockRect(WebPoint(doubleTapPointTall.x, doubleTapPointTall.y), tallBlockBounds, touchPointPadding, doubleTapZoomAlreadyLegibleScale, scale, scroll); local
/external/chromium_org/third_party/WebKit/Source/web/
H A DWebViewImpl.cpp180 static const int touchPointPadding = 32; variable
1320 WebRect rect(point.x(), point.y(), touchPointPadding, touchPointPadding);
1326 computeScaleAndScrollForBlockRect(point, blockBounds, touchPointPadding, minimumPageScaleFactor() * doubleTapZoomAlreadyLegibleRatio, scale, scroll);

Completed in 147 milliseconds