Home
last modified time | relevance | path

Searched refs:zoomLevel (Results 1 – 17 of 17) sorted by relevance

/external/webkit/Source/WebCore/rendering/
DRenderMediaControls.cpp76 float zoomLevel = o->style()->effectiveZoom(); in getUnzoomedRectAndAdjustCurrentContext() local
78 if (zoomLevel != 1.0f) { in getUnzoomedRectAndAdjustCurrentContext()
79 unzoomedRect.setWidth(unzoomedRect.width() / zoomLevel); in getUnzoomedRectAndAdjustCurrentContext()
80 unzoomedRect.setHeight(unzoomedRect.height() / zoomLevel); in getUnzoomedRectAndAdjustCurrentContext()
82 paintInfo.context->scale(FloatSize(zoomLevel, zoomLevel)); in getUnzoomedRectAndAdjustCurrentContext()
101 float zoomLevel = o->style()->effectiveZoom(); in adjustMediaSliderThumbSize() local
102 o->style()->setWidth(Length(static_cast<int>(size.width * zoomLevel), Fixed)); in adjustMediaSliderThumbSize()
103 o->style()->setHeight(Length(static_cast<int>(size.height * zoomLevel), Fixed)); in adjustMediaSliderThumbSize()
188 float zoomLevel = muteButtonBox->style()->effectiveZoom(); in volumeSliderOffsetFromMuteButton() local
189 int y = yOffset * zoomLevel + muteButtonBox->offsetHeight() - size.height(); in volumeSliderOffsetFromMuteButton()
[all …]
DRenderThemeMac.mm521 float zoomLevel = o->style()->effectiveZoom();
526 size.setHeight(size.height() * zoomLevel);
528 r = inflateRect(r, size, popupButtonMargins(), zoomLevel);
532 …eMac::inflateRect(const IntRect& r, const IntSize& size, const int* margins, float zoomLevel) const
536 …a = r.width() - (size.width() + margins[leftMargin] * zoomLevel + margins[rightMargin] * zoomLevel
537 … = r.height() - (size.height() + margins[topMargin] * zoomLevel + margins[bottomMargin] * zoomLeve…
540 result.setX(result.x() - margins[leftMargin] * zoomLevel);
544 result.setY(result.y() - margins[topMargin] * zoomLevel);
640 …emeMac::setControlSize(NSCell* cell, const IntSize* sizes, const IntSize& minSize, float zoomLevel)
643 if (minSize.width() >= static_cast<int>(sizes[NSRegularControlSize].width() * zoomLevel) &&
[all …]
DRenderMediaControlsChromium.cpp294 float zoomLevel = object->style()->effectiveZoom(); in adjustMediaSliderThumbSize() local
296 object->style()->setWidth(Length(static_cast<int>(thumbImage->width() * zoomLevel), Fixed)); in adjustMediaSliderThumbSize()
297 … object->style()->setHeight(Length(static_cast<int>(thumbImage->height() * zoomLevel), Fixed)); in adjustMediaSliderThumbSize()
DRenderThemeMac.h181 …IntRect inflateRect(const IntRect&, const IntSize&, const int* margins, float zoomLevel = 1.0f) co…
188 …void setControlSize(NSCell*, const IntSize* sizes, const IntSize& minSize, float zoomLevel = 1.0f);
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowMapController.java43 shadowMapView.zoomLevel++; in zoomIn()
49 shadowMapView.zoomLevel--; in zoomOut()
55 shadowMapView.zoomLevel = i; in setZoom()
DShadowMapView.java34 int zoomLevel = 1; field in ShadowMapView
167 return zoomLevel; in getZoomLevel()
/external/webkit/Source/WebKit/chromium/public/
DWebView.h182 virtual double zoomLevel() = 0;
192 virtual double setZoomLevel(bool textOnly, double zoomLevel) = 0;
200 WEBKIT_API static double zoomLevelToZoomFactor(double zoomLevel);
DWebPluginContainer.h90 virtual void zoomLevelChanged(double zoomLevel) = 0;
/external/webkit/Source/WebKit/chromium/src/
DWebViewImpl.h143 virtual double zoomLevel();
144 virtual double setZoomLevel(bool textOnly, double zoomLevel);
361 void fullFramePluginZoomLevelChanged(double zoomLevel);
DWebViewImpl.cpp1664 double WebViewImpl::zoomLevel() in zoomLevel() function in WebKit::WebViewImpl
1669 double WebViewImpl::setZoomLevel(bool textOnly, double zoomLevel) in setZoomLevel() argument
1671 if (zoomLevel < m_minimumZoomLevel) in setZoomLevel()
1673 else if (zoomLevel > m_maximumZoomLevel) in setZoomLevel()
1676 m_zoomLevel = zoomLevel; in setZoomLevel()
1700 void WebViewImpl::fullFramePluginZoomLevelChanged(double zoomLevel) in fullFramePluginZoomLevelChanged() argument
1702 if (zoomLevel == m_zoomLevel) in fullFramePluginZoomLevelChanged()
1705 m_zoomLevel = std::max(std::min(zoomLevel, m_maximumZoomLevel), m_minimumZoomLevel); in fullFramePluginZoomLevelChanged()
1709 double WebView::zoomLevelToZoomFactor(double zoomLevel) in zoomLevelToZoomFactor() argument
1711 return std::pow(textSizeMultiplierRatio, zoomLevel); in zoomLevelToZoomFactor()
DWebPluginContainerImpl.h93 virtual void zoomLevelChanged(double zoomLevel);
DWebPluginContainerImpl.cpp400 void WebPluginContainerImpl::zoomLevelChanged(double zoomLevel) in zoomLevelChanged() argument
403 view->fullFramePluginZoomLevelChanged(zoomLevel); in zoomLevelChanged()
/external/webkit/Source/WebKit/android/plugins/
DPluginWidgetAndroid.cpp403 const float zoomLevel = m_core->scale(); in sendSizeAndVisibilityEvents() local
408 m_pluginWindow->height, zoomLevel); in sendSizeAndVisibilityEvents()
412 event.data.draw.data.surface.width = m_pluginWindow->width * zoomLevel; in sendSizeAndVisibilityEvents()
413 event.data.draw.data.surface.height = m_pluginWindow->height * zoomLevel; in sendSizeAndVisibilityEvents()
/external/clang/test/Analysis/
Darray-struct-region.c257 int zoomLevel; member
264 zoomRegion.zoomLevel = 0; in radar13116945()
/external/webkit/Tools/DumpRenderTree/chromium/
DEventSender.cpp673 webview()->setZoomLevel(true, webview()->zoomLevel() + 1); in textZoomIn()
679 webview()->setZoomLevel(true, webview()->zoomLevel() - 1); in textZoomOut()
685 webview()->setZoomLevel(false, webview()->zoomLevel() + 1); in zoomPageIn()
691 webview()->setZoomLevel(false, webview()->zoomLevel() - 1); in zoomPageOut()
/external/webkit/Source/WebKit/gtk/webkit/
Dwebkitwebview.cpp4485 static void webkit_web_view_apply_zoom_level(WebKitWebView* webView, gfloat zoomLevel) in webkit_web_view_apply_zoom_level() argument
4493 frame->setPageZoomFactor(zoomLevel); in webkit_web_view_apply_zoom_level()
4495 frame->setTextZoomFactor(zoomLevel); in webkit_web_view_apply_zoom_level()
4511 void webkit_web_view_set_zoom_level(WebKitWebView* webView, gfloat zoomLevel) in webkit_web_view_set_zoom_level() argument
4515 webkit_web_view_apply_zoom_level(webView, zoomLevel); in webkit_web_view_set_zoom_level()
4602 gfloat zoomLevel = priv->zoomFullContent ? frame->pageZoomFactor() : frame->textZoomFactor(); in webkit_web_view_set_full_content_zoom() local
4606 frame->setPageAndTextZoomFactors(zoomLevel, 1); in webkit_web_view_set_full_content_zoom()
4608 frame->setPageAndTextZoomFactors(1, zoomLevel); in webkit_web_view_set_full_content_zoom()
/external/webkit/Source/WebKit/chromium/
DChangeLog-2011-02-167407 (WebKit::WebViewImpl::zoomLevel):
26750 (WebKit::WebViewImpl::zoomLevel):