Home
last modified time | relevance | path

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

12

/external/webkit/WebCore/platform/graphics/
DFontCache.cpp201 static unsigned hash(const FontPlatformData& platformData) in hash()
203 return platformData.hash(); in hash()
240 SimpleFontData* FontCache::getCachedFontData(const FontPlatformData* platformData) in getCachedFontData() argument
242 if (!platformData) in getCachedFontData()
250 FontDataCache::iterator result = gFontDataCache->find(*platformData); in getCachedFontData()
252 pair<SimpleFontData*, unsigned> newValue(new SimpleFontData(*platformData), 1); in getCachedFontData()
253 gFontDataCache->set(*platformData, newValue); in getCachedFontData()
269 FontDataCache::iterator it = gFontDataCache->find(fontData->platformData()); in releaseFontData()
294 gFontDataCache->remove(fontData->platformData()); in purgeInactiveFontData()
309 …tPlatformDataCache::iterator platformData = gFontPlatformDataCache->begin(); platformData != platf… in purgeInactiveFontData() local
[all …]
DFontFallbackList.cpp126 void FontFallbackList::setPlatformFont(const FontPlatformData& platformData) in setPlatformFont() argument
130 const FontData* fontData = fontCache()->getCachedFontData(&platformData); in setPlatformFont()
/external/webkit/WebCore/platform/graphics/chromium/
DUniscribeHelperTextRun.cpp43 font.primaryFont()->platformData().hfont(), in UniscribeHelperTextRun()
44 font.primaryFont()->platformData().scriptCache(), in UniscribeHelperTextRun()
45 font.primaryFont()->platformData().scriptFontProperties()) in UniscribeHelperTextRun()
120 m_hfonts.append(simpleFontData->platformData().hfont()); in nextWinFontData()
121 m_scriptCaches.append(simpleFontData->platformData().scriptCache()); in nextWinFontData()
122 m_fontProperties.append(simpleFontData->platformData().scriptFontProperties()); in nextWinFontData()
DFontChromiumWin.cpp190 HGDIOBJ oldFont = SelectObject(hdc, font->platformData().hfont()); in drawGlyphs()
238 …success = paintSkiaText(context, font->platformData().hfont(), numGlyphs, reinterpret_cast<const W… in drawGlyphs()
243 ChromiumBridge::ensureFontLoaded(font->platformData().hfont()); in drawGlyphs()
DGlyphPageTreeNodeLinux.cpp51 fontData->platformData().setupPaint(&paint); in fill()
DFontLinux.cpp56 font->platformData().setupPaint(&paint); in drawGlyphs()
DSimpleFontDataLinux.cpp145 m_treatAsFixedPitch = platformData().isFixedPitch(); in determinePitch()
/external/webkit/WebCore/platform/graphics/mac/
DFontMac.mm55 const FontPlatformData& platformData = font->platformData();
58 drawFont = [platformData.font() screenFont];
59 if (drawFont != platformData.font())
62 … [[[platformData.font() fontDescriptor] fontAttributes] objectForKey:NSFontNameAttribute]);
64 drawFont = [platformData.font() printerFont];
65 if (drawFont != platformData.font())
67 … [[[platformData.font() fontDescriptor] fontAttributes] objectForKey:NSFontNameAttribute]);
70 CGContextSetFont(cgContext, platformData.cgFont());
77 if (platformData.m_syntheticOblique)
85 CGContextSetFontSize(cgContext, platformData.m_size);
DFontCacheMac.mm81 …const FontPlatformData& platformData = font.fontDataAt(0)->fontDataForCharacter(characters[0])->pl…
82 NSFont *nsFont = platformData.font();
107 if (platformData.m_syntheticBold)
109 if (platformData.m_syntheticOblique)
139 FontPlatformData* platformData = 0;
141 while (currFamily && !platformData) {
145 for (int j = 0; j < 3 && !platformData; ++j)
147 platformData = getCachedFontPlatformData(font.fontDescription(), geezaStr);
152 return platformData;
DGlyphPageTreeNodeMac.cpp44 … wkGetGlyphsForCharacters(fontData->platformData().cgFont(), buffer, glyphs.data(), bufferLength); in fill()
/external/webkit/WebCore/platform/network/win/
DResourceHandleWin.cpp247 PlatformDataStruct platformData; in onRequestComplete() local
248 platformData.errorString = 0; in onRequestComplete()
249 platformData.error = 0; in onRequestComplete()
250 platformData.loaded = ok; in onRequestComplete()
257 if (!InternetGetLastResponseInfo(&platformData.error, 0, &errorStringChars)) { in onRequestComplete()
259 platformData.errorString = new TCHAR[errorStringChars]; in onRequestComplete()
260 … InternetGetLastResponseInfo(&platformData.error, platformData.errorString, &errorStringChars); in onRequestComplete()
/external/webkit/WebCore/platform/graphics/win/
DFontCGWin.cpp212 …xform.eM21 = font->platformData().syntheticOblique() ? -tanf(syntheticObliqueAngle * piFloat / 180… in drawGDIGlyphs()
232 if (font->platformData().syntheticOblique()) in drawGDIGlyphs()
300 if (font->platformData().useGDI()) { in drawGlyphs()
310 const FontPlatformData& platformData = font->platformData(); in drawGlyphs() local
312 CGContextSetFont(cgContext, platformData.cgFont()); in drawGlyphs()
318 if (platformData.syntheticOblique()) { in drawGlyphs()
328 CGContextSetFontSize(cgContext, platformData.size()); in drawGlyphs()
329 …wkSetCGContextFontRenderingStyle(cgContext, font->isSystemFont(), false, font->platformData().useG… in drawGlyphs()
DGlyphPageTreeNodeCGWin.cpp46 wkGetGlyphs(fontData->platformData().cgFont(), buffer, localGlyphBuffer, bufferLength); in fill()
DGlyphPageTreeNodeCairoWin.cpp47 SelectObject(dc, fontData->platformData().hfont()); in fill()
/external/webkit/WebCore/platform/graphics/android/
DFontAndroid.cpp49 font->platformData().setupPaint(paint); in updateForFont()
180 primaryFont()->platformData().setupPaint(&paint); in selectionRectForComplexText()
213 primaryFont()->platformData().setupPaint(&paint); in floatWidthForComplexText()
229 primaryFont()->platformData().setupPaint(&paint); in offsetForPositionForComplexText()
DGlyphMapAndroid.cpp53 fontData->platformData().setupPaint(&paint); in fill()
/external/webkit/WebCore/platform/
DSharedBuffer.cpp80 return platformData(); in data()
131 inline const char* SharedBuffer::platformData() const in platformData() function in WebCore::SharedBuffer
DSharedBuffer.h83 const char* platformData() const;
DDragData.h89 DragDataRef platformData() const { return m_platformDragData; } in platformData() function
/external/webkit/WebCore/platform/cf/
DSharedBufferCF.cpp59 const char* SharedBuffer::platformData() const in platformData() function in WebCore::SharedBuffer
/external/webkit/WebCore/svg/graphics/
DSVGResourceFilter.h75 SVGResourceFilterPlatformData* platformData() { return m_platformData.get(); } in platformData() function
/external/webkit/WebKit/win/WebCoreSupport/
DWebDragClient.cpp83 … delegateRef->dragDestinationActionMaskForDraggingInfo(m_webView, dragData->platformData(), &mask); in actionMaskForDrag()
94 …erformDragDestinationAction(m_webView, (WebDragDestinationAction)action, dragData->platformData()); in willPerformDragDestinationAction()
/external/webkit/WebCore/platform/graphics/qt/
DFontFallbackListQt.cpp101 void FontFallbackList::setPlatformFont(const WebCore::FontPlatformData& platformData) in setPlatformFont() argument
/external/webkit/WebCore/svg/graphics/filters/cg/
DSVGFEHelpersCg.h48 …* filterPlatformData = static_cast<SVGResourceFilterPlatformDataMac*>(svgFilter->platformData()); \
/external/webkit/WebCore/svg/graphics/cg/
DSVGResourceFilterCg.mm54 …ceFilterPlatformDataMac* platform = static_cast<SVGResourceFilterPlatformDataMac*>(platformData());
111 …ceFilterPlatformDataMac* platform = static_cast<SVGResourceFilterPlatformDataMac*>(platformData());

12