Home
last modified time | relevance | path

Searched refs:pageZoomFactor (Results 1 – 25 of 36) sorted by relevance

12

/external/webkit/Source/WebCore/dom/
DMouseRelatedEvent.cpp61 return frameView->scrollX() / frame->pageZoomFactor(); in contentsX()
74 return frameView->scrollY() / frame->pageZoomFactor(); in contentsY()
97 float pageZoom = frame->pageZoomFactor(); in MouseRelatedEvent()
147 static float pageZoomFactor(const UIEvent* event) in pageZoomFactor() function
155 return frame->pageZoomFactor(); in pageZoomFactor()
160 float zoomFactor = pageZoomFactor(this); in computePageLocation()
188 float zoomFactor = pageZoomFactor(this); in computeRelativePosition()
DTouch.cpp43 return frameView->scrollX() / frame->pageZoomFactor(); in contentsX()
53 return frameView->scrollY() / frame->pageZoomFactor(); in contentsY()
/external/webkit/Source/WebCore/html/
DImageDocument.cpp121 static float pageZoomFactor(const Document* document) in pageZoomFactor() function
124 return frame ? frame->pageZoomFactor() : 1; in pageZoomFactor()
238 IntSize imageSize = m_imageElement->cachedImage()->imageSize(pageZoomFactor(this)); in scale()
252 IntSize imageSize = m_imageElement->cachedImage()->imageSize(pageZoomFactor(this)); in resizeImageToFit()
292 if (m_imageElement->cachedImage()->imageSize(pageZoomFactor(this)).isEmpty()) in imageUpdated()
308 … m_imageElement->setWidth(m_imageElement->cachedImage()->imageSize(pageZoomFactor(this)).width()); in restoreImageSize()
309 …m_imageElement->setHeight(m_imageElement->cachedImage()->imageSize(pageZoomFactor(this)).height()); in restoreImageSize()
329 IntSize imageSize = m_imageElement->cachedImage()->imageSize(pageZoomFactor(this)); in imageFitsInWindow()
DHTMLBodyElement.cpp269 float zoomFactor = frame->pageZoomFactor() * frame->pageScaleFactor(); in adjustForZoom()
297 …view->setScrollPosition(IntPoint(static_cast<int>(scrollLeft * frame->pageZoomFactor() * frame->pa… in setScrollLeft()
319 …sition(IntPoint(view->scrollX(), static_cast<int>(scrollTop * frame->pageZoomFactor() * frame->pag… in setScrollTop()
DHTMLAreaElement.cpp103 float zoomFactor = document()->frame()->pageZoomFactor(); in computePath()
/external/webkit/Source/WebCore/page/wince/
DFrameWinCE.cpp123 w = ir.width() * frame->pageZoomFactor() + 0.5; in imageFromSelection()
124 h = ir.height() * frame->pageZoomFactor() + 0.5; in imageFromSelection()
/external/webkit/Source/WebKit2/UIProcess/API/qt/
Dqwkpage.h111 qreal pageZoomFactor() const;
114 void setPageAndTextZoomFactors(qreal pageZoomFactor, qreal textZoomFactor);
Dqwkpage.cpp670 qreal QWKPage::pageZoomFactor() const in pageZoomFactor() function in QWKPage
680 void QWKPage::setPageAndTextZoomFactors(qreal pageZoomFactor, qreal textZoomFactor) in setPageAndTextZoomFactors() argument
682 WKPageSetPageAndTextZoomFactors(pageRef(), pageZoomFactor, textZoomFactor); in setPageAndTextZoomFactors()
/external/webkit/Source/WebCore/page/
DFrame.cpp138 return parent->pageZoomFactor(); in parentPageZoomFactor()
967 void Frame::setPageAndTextZoomFactors(float pageZoomFactor, float textZoomFactor) in setPageAndTextZoomFactors() argument
969 if (m_pageZoomFactor == pageZoomFactor && m_textZoomFactor == textZoomFactor) in setPageAndTextZoomFactors()
993 if (m_pageZoomFactor != pageZoomFactor) { in setPageAndTextZoomFactors()
997 float percentDifference = (pageZoomFactor / m_pageZoomFactor); in setPageAndTextZoomFactors()
1002 m_pageZoomFactor = pageZoomFactor; in setPageAndTextZoomFactors()
DDOMWindow.cpp1099 return static_cast<int>(view->actualHeight() / m_frame->pageZoomFactor()); in innerHeight()
1101 return static_cast<int>(view->height() / m_frame->pageZoomFactor()); in innerHeight()
1115 return static_cast<int>(view->actualWidth() / m_frame->pageZoomFactor()); in innerWidth()
1117 return static_cast<int>(view->width() / m_frame->pageZoomFactor()); in innerWidth()
1157 return static_cast<int>(view->actualScrollX() / m_frame->pageZoomFactor()); in scrollX()
1159 return static_cast<int>(view->scrollX() / m_frame->pageZoomFactor()); in scrollX()
1175 return static_cast<int>(view->actualScrollY() / m_frame->pageZoomFactor()); in scrollY()
1177 return static_cast<int>(view->scrollY() / m_frame->pageZoomFactor()); in scrollY()
1398 int zoomedX = static_cast<int>(x * m_frame->pageZoomFactor()); in scrollTo()
1399 int zoomedY = static_cast<int>(y * m_frame->pageZoomFactor()); in scrollTo()
DFrame.h161 float pageZoomFactor() const { return m_pageZoomFactor; } in pageZoomFactor() function
164 void setPageAndTextZoomFactors(float pageZoomFactor, float textZoomFactor);
DDragController.cpp275 float zoomFactor = frame ? frame->pageZoomFactor() : 1; in elementUnderMouse()
/external/webkit/Source/WebKit2/UIProcess/API/C/
DWKPage.cpp258 return toImpl(pageRef)->pageZoomFactor(); in WKPageGetPageZoomFactor()
266 void WKPageSetPageAndTextZoomFactors(WKPageRef pageRef, double pageZoomFactor, double textZoomFacto… in WKPageSetPageAndTextZoomFactors() argument
268 toImpl(pageRef)->setPageAndTextZoomFactors(pageZoomFactor, textZoomFactor); in WKPageSetPageAndTextZoomFactors()
DWKPage.h326 WK_EXPORT void WKPageSetPageAndTextZoomFactors(WKPageRef page, double pageZoomFactor, double textZo…
/external/webkit/Tools/MiniBrowser/qt/
DBrowserWindow.cpp266 m_currentZoom = page()->pageZoomFactor(); in zoomIn()
281 m_currentZoom = page()->pageZoomFactor(); in zoomOut()
/external/webkit/Source/WebKit2/WebProcess/InjectedBundle/API/c/
DWKBundlePage.cpp192 return toImpl(pageRef)->pageZoomFactor(); in WKBundlePageGetPageZoomFactor()
/external/webkit/Source/WebKit2/WebProcess/WebPage/
DWebPage.h229 double pageZoomFactor() const;
231 void setPageAndTextZoomFactors(double pageZoomFactor, double textZoomFactor);
DWebPage.messages.in106 SetPageAndTextZoomFactors(double pageZoomFactor, double textZoomFactor)
DWebPage.cpp676 double WebPage::pageZoomFactor() const in pageZoomFactor() function in WebKit::WebPage
681 return frame->pageZoomFactor(); in pageZoomFactor()
692 void WebPage::setPageAndTextZoomFactors(double pageZoomFactor, double textZoomFactor) in setPageAndTextZoomFactors() argument
697 …return frame->setPageAndTextZoomFactors(static_cast<float>(pageZoomFactor), static_cast<float>(tex… in setPageAndTextZoomFactors()
/external/webkit/Source/WebKit2/UIProcess/
DWebPageProxy.h328 double pageZoomFactor() const;
330 void setPageAndTextZoomFactors(double pageZoomFactor, double textZoomFactor);
DWebPageProxy.cpp1062 double WebPageProxy::pageZoomFactor() const in pageZoomFactor() function in WebKit::WebPageProxy
1084 void WebPageProxy::setPageAndTextZoomFactors(double pageZoomFactor, double textZoomFactor) in setPageAndTextZoomFactors() argument
1090 m_pageClient->setCustomRepresentationZoomFactor(pageZoomFactor); in setPageAndTextZoomFactors()
1094 if (m_pageZoomFactor == pageZoomFactor && m_textZoomFactor == textZoomFactor) in setPageAndTextZoomFactors()
1097 m_pageZoomFactor = pageZoomFactor; in setPageAndTextZoomFactors()
/external/webkit/Source/WebCore/svg/
DSVGSVGElement.cpp201 return frame->pageZoomFactor(); in currentScale()
/external/webkit/Source/WebKit/qt/Api/
Dqwebframe.cpp1277 …estAttribute(QWebSettings::ZoomTextOnly) ? d->frame->textZoomFactor() : d->frame->pageZoomFactor(); in textSizeMultiplier()
1296 …estAttribute(QWebSettings::ZoomTextOnly) ? d->frame->textZoomFactor() : d->frame->pageZoomFactor(); in zoomFactor()
/external/webkit/Source/WebCore/rendering/
DRenderView.cpp722 return frame ? frame->pageZoomFactor() : 1; in zoomFactor()
/external/webkit/Source/WebKit/efl/ewk/
Dewk_frame.cpp1031 return sd->frame->pageZoomFactor(); in ewk_frame_zoom_get()
1083 float zoom_level = sd->textZoom ? sd->frame->textZoomFactor() : sd->frame->pageZoomFactor(); in ewk_frame_zoom_text_only_set()

12