Home
last modified time | relevance | path

Searched refs:scaleFactor (Results 1 – 25 of 53) sorted by relevance

123

/external/webkit/WebCore/platform/graphics/
DColor.cpp103 const double scaleFactor = nextafter(256.0, 0.0); in makeRGBAFromHSLA() local
106 int greyValue = static_cast<int>(lightness * scaleFactor); in makeRGBAFromHSLA()
107 return makeRGBA(greyValue, greyValue, greyValue, static_cast<int>(alpha * scaleFactor)); in makeRGBAFromHSLA()
113 return makeRGBA(static_cast<int>(calcHue(temp1, temp2, hue + 1.0 / 3.0) * scaleFactor), in makeRGBAFromHSLA()
114 static_cast<int>(calcHue(temp1, temp2, hue) * scaleFactor), in makeRGBAFromHSLA()
115 static_cast<int>(calcHue(temp1, temp2, hue - 1.0 / 3.0) * scaleFactor), in makeRGBAFromHSLA()
116 static_cast<int>(alpha * scaleFactor)); in makeRGBAFromHSLA()
218 const float scaleFactor = nextafterf(256.0f, 0.0f); in light() local
231 return Color(static_cast<int>(multiplier * r * scaleFactor), in light()
232 static_cast<int>(multiplier * g * scaleFactor), in light()
[all …]
/external/webkit/WebCore/svg/
DSVGTransformDistance.cpp94 SVGTransformDistance SVGTransformDistance::scaledDistance(float scaleFactor) const in scaledDistance()
100 …return SVGTransformDistance(m_type, m_angle * scaleFactor, m_cx * scaleFactor, m_cy * scaleFactor,… in scaledDistance()
103 …Distance(m_type, m_angle * scaleFactor, m_cx * scaleFactor, m_cy * scaleFactor, AffineTransform(m_… in scaledDistance()
107 newTransform.setE(m_transform.e() * scaleFactor); in scaledDistance()
108 newTransform.setF(m_transform.f() * scaleFactor); in scaledDistance()
113 …return SVGTransformDistance(m_type, m_angle * scaleFactor, m_cx * scaleFactor, m_cy * scaleFactor,… in scaledDistance()
DColorDistance.cpp60 ColorDistance ColorDistance::scaledDistance(float scaleFactor) const in scaledDistance()
62 return ColorDistance(static_cast<int>(scaleFactor * m_redDiff), in scaledDistance()
63 static_cast<int>(scaleFactor * m_greenDiff), in scaledDistance()
64 static_cast<int>(scaleFactor * m_blueDiff)); in scaledDistance()
DColorDistance.h36 ColorDistance scaledDistance(float scaleFactor) const;
DSVGTransformDistance.h37 SVGTransformDistance scaledDistance(float scaleFactor) const;
DSVGMatrix.idl39 [Immutable] SVGMatrix scale(in float scaleFactor);
/external/webkit/WebCore/platform/wx/
DScreenWx.cpp92 float scaleFactor(Widget*) in scaleFactor() function
/external/webkit/WebCore/platform/qt/
DScreenQt.cpp92 float scaleFactor(const Page*) in scaleFactor() function
/external/webkit/WebCore/html/
DHTMLCanvasElement.cpp300 …ageScaleFactor = document()->frame() ? document()->frame()->page()->chrome()->scaleFactor() : 1.0f; in convertLogicalToDevice()
324 …ageScaleFactor = document()->frame() ? document()->frame()->page()->chrome()->scaleFactor() : 1.0f; in convertLogicalToDevice()
/external/chromium/third_party/icu/source/i18n/
Dcsrmbcs.cpp224 double scaleFactor = 90.0 / maxVal; in match_mbcs() local
225 confidence = (int32_t)(log10((double)commonCharCount+1) * scaleFactor + 10.0); in match_mbcs()
/external/icu4c/i18n/
Dcsrmbcs.cpp224 double scaleFactor = 90.0 / maxVal; in match_mbcs() local
225 confidence = (int32_t)(log10((double)commonCharCount+1) * scaleFactor + 10.0); in match_mbcs()
/external/webkit/WebCore/plugins/mac/
DPluginViewMac.cpp739 float scaleFactor = tigerOrBetter() ? HIGetScaleFactor() : 1; in globalMousePosForPlugin() local
741 pos.h = short(pos.h * scaleFactor); in globalMousePosForPlugin()
742 pos.v = short(pos.v * scaleFactor); in globalMousePosForPlugin()
/external/webkit/WebCore/page/
DChrome.cpp125 float Chrome::scaleFactor() in scaleFactor() function in WebCore::Chrome
127 return m_client->scaleFactor(); in scaleFactor()
DChrome.h78 float scaleFactor();
DChromeClient.h78 virtual float scaleFactor() = 0;
/external/webkit/WebKit/mac/WebView/
DWebPDFView.mm767 [state addObject:[NSNumber numberWithFloat:[PDFSubview scaleFactor]]];
818 return [PDFSubview scaleFactor] != 1.0;
1040 float scaleFactor = [prefs PDFScaleFactor];
1041 if (scaleFactor == 0)
1045 [PDFSubview setScaleFactor:scaleFactor];
1328 float scaleFactor = [PDFSubview scaleFactor];
1329 if (scaleFactor == 1.0)
1348 …aledFont = [NSFont fontWithName:[unscaledFont fontName] size:[unscaledFont pointSize]*scaleFactor];
1406 float scaleFactor = [PDFSubview autoScales] ? 0.0f : [PDFSubview scaleFactor];
1407 [prefs setPDFScaleFactor:scaleFactor];
/external/webkit/WebKit/haiku/WebCoreSupport/
DChromeClientHaiku.h52 float scaleFactor();
DChromeClientHaiku.cpp74 float ChromeClientHaiku::scaleFactor() in scaleFactor() function in WebCore::ChromeClientHaiku
/external/webkit/WebKit/wx/WebKitSupport/
DChromeClientWx.h49 virtual float scaleFactor();
/external/webkit/WebKit/qt/WebCoreSupport/
DChromeClientQt.h60 virtual float scaleFactor();
/external/webkit/WebKit/gtk/WebCoreSupport/
DChromeClientGtk.h42 virtual float scaleFactor();
/external/webkit/WebKit/android/WebCoreSupport/
DChromeClientAndroid.h61 virtual float scaleFactor();
/external/webkit/WebKit/chromium/src/
DChromeClientImpl.h62 virtual float scaleFactor();
/external/webkit/WebCore/css/
DMediaQueryEvaluator.cpp290 …return value->isPrimitiveValue() && compareValue(frame->page()->chrome()->scaleFactor(), static_ca… in device_pixel_ratioMediaFeatureEval()
292 return frame->page()->chrome()->scaleFactor() != 0; in device_pixel_ratioMediaFeatureEval()
/external/webkit/WebKit/win/WebCoreSupport/
DWebChromeClient.h50 virtual float scaleFactor();

123