Home
last modified time | relevance | path

Searched refs:pageNumber (Results 1 – 25 of 31) sorted by relevance

12

/external/webkit/Source/WebCore/platform/graphics/
DGlyphMetricsMap.h79 GlyphMetricsPage* locatePage(unsigned pageNumber) in locatePage() argument
81 if (!pageNumber && m_filledPrimaryPage) in locatePage()
83 return locatePageSlowCase(pageNumber); in locatePage()
86 GlyphMetricsPage* locatePageSlowCase(unsigned pageNumber);
105 …e GlyphMetricsMap<T>::GlyphMetricsPage* GlyphMetricsMap<T>::locatePageSlowCase(unsigned pageNumber) in locatePageSlowCase() argument
108 if (!pageNumber) { in locatePageSlowCase()
114 if ((page = m_pages->get(pageNumber))) in locatePageSlowCase()
119 m_pages->set(pageNumber, page); in locatePageSlowCase()
DGlyphPageTreeNode.h40 void showGlyphPageTree(unsigned pageNumber);
188 static GlyphPageTreeNode* getRootChild(const FontData* fontData, unsigned pageNumber) in getRootChild() argument
190 return getRoot(pageNumber)->getChild(fontData, pageNumber); in getRootChild()
205 GlyphPageTreeNode* getChild(const FontData*, unsigned pageNumber);
220 static GlyphPageTreeNode* getRoot(unsigned pageNumber);
221 void initializePage(const FontData*, unsigned pageNumber);
238 friend void ::showGlyphPageTree(unsigned pageNumber);
DFontFastPath.cpp62 unsigned pageNumber = (c / GlyphPage::size); in glyphDataForCharacter() local
64 …GlyphPageTreeNode* node = pageNumber ? m_fontList->m_pages.get(pageNumber) : m_fontList->m_pageZer… in glyphDataForCharacter()
66 node = GlyphPageTreeNode::getRootChild(fontDataAt(0), pageNumber); in glyphDataForCharacter()
67 if (pageNumber) in glyphDataForCharacter()
68 m_fontList->m_pages.set(pageNumber, node); in glyphDataForCharacter()
89 …eeNode* brokenIdeographNode = GlyphPageTreeNode::getRootChild(brokenIdeographFontData, pageNumber); in glyphDataForCharacter()
103 …geTreeNode* verticalRightNode = GlyphPageTreeNode::getRootChild(verticalRightFontData, pageNumber); in glyphDataForCharacter()
117 … GlyphPageTreeNode* uprightNode = GlyphPageTreeNode::getRootChild(uprightFontData, pageNumber); in glyphDataForCharacter()
142 node = node->getChild(fontDataAt(node->level()), pageNumber); in glyphDataForCharacter()
143 if (pageNumber) in glyphDataForCharacter()
[all …]
DGlyphPageTreeNode.cpp48 GlyphPageTreeNode* GlyphPageTreeNode::getRoot(unsigned pageNumber) in getRoot() argument
64 GlyphPageTreeNode* node = pageNumber ? roots->get(pageNumber) : pageZeroRoot; in getRoot()
68 node->m_pageNumber = pageNumber; in getRoot()
70 if (pageNumber) in getRoot()
71 roots->set(pageNumber, node); in getRoot()
169 void GlyphPageTreeNode::initializePage(const FontData* fontData, unsigned pageNumber) in initializePage() argument
187 unsigned start = pageNumber * GlyphPage::size; in initializePage()
298 m_page = parentPage->owner()->getChild(fontData, pageNumber)->page(); in initializePage()
304 GlyphPage* fallbackPage = getRootChild(fontData, pageNumber)->page(); in initializePage()
348 GlyphPageTreeNode* GlyphPageTreeNode::getChild(const FontData* fontData, unsigned pageNumber) in getChild() argument
[all …]
/external/webkit/Source/WebCore/page/
DPrintContext.h54 const IntRect& pageRect(size_t pageNumber) const { return m_pageRects[pageNumber]; } in pageRect() argument
64 void spoolPage(GraphicsContext& ctx, int pageNumber, float width);
73 static String pageProperty(Frame* frame, const char* propertyName, int pageNumber);
74 static bool isPageBoxVisible(Frame* frame, int pageNumber);
75 …static String pageSizeAndMarginsInPixels(Frame* frame, int pageNumber, int width, int height, int …
DPrintContext.cpp203 void PrintContext::spoolPage(GraphicsContext& ctx, int pageNumber, float width) in spoolPage() argument
206 IntRect pageRect = m_pageRects[pageNumber]; in spoolPage()
264 size_t pageNumber = 0; in pageNumberForElement() local
265 for (; pageNumber < printContext.pageCount(); pageNumber++) { in pageNumberForElement()
266 const IntRect& page = printContext.pageRect(pageNumber); in pageNumberForElement()
268 return pageNumber; in pageNumberForElement()
273 String PrintContext::pageProperty(Frame* frame, const char* propertyName, int pageNumber) in pageProperty() argument
279 RefPtr<RenderStyle> style = document->styleForPage(pageNumber); in pageProperty()
299 bool PrintContext::isPageBoxVisible(Frame* frame, int pageNumber) in isPageBoxVisible() argument
301 return frame->document()->isPageBoxVisible(pageNumber); in isPageBoxVisible()
[all …]
/external/jmonkeyengine/engine/src/jogg/com/jme3/audio/plugins/
DCachedOggStream.java65 private int pageNumber; field in CachedOggStream
130 los.addPageNumberMapping(pageNumber); in readOggNextPage()
133 oggPages.put(pageNumber, op); in readOggNextPage()
134 pageNumber++; in readOggNextPage()
136 return pageNumber-1; in readOggNextPage()
/external/skia/src/pdf/
DSkPDFDocument.cpp193 bool SkPDFDocument::setPage(int pageNumber, SkPDFDevice* pdfDevice) { in setPage() argument
198 pageNumber--; in setPage()
199 SkASSERT(pageNumber >= 0); in setPage()
201 if (pageNumber >= fPages.count()) { in setPage()
203 fPages.setCount(pageNumber + 1); in setPage()
204 for (int i = oldSize; i <= pageNumber; i++) { in setPage()
210 SkSafeUnref(fPages[pageNumber]); in setPage()
211 fPages[pageNumber] = page; // Reference from new passed to fPages. in setPage()
/external/webkit/Source/WebKit/mac/Misc/
DWebCoreStatistics.h90 - (NSString *)pageProperty:(const char*)propertyName:(int)pageNumber;
91 - (bool)isPageBoxVisible:(int)pageNumber;
92 - (NSString *)pageSizeAndMarginsInPixels:(int)pageNumber:(int)width:(int)height:(int)marginTop:(int…
DWebCoreStatistics.mm286 - (NSString *)pageProperty:(const char *)propertyName:(int)pageNumber
288 return PrintContext::pageProperty(_private->coreFrame, propertyName, pageNumber);
291 - (bool)isPageBoxVisible:(int)pageNumber
293 return PrintContext::isPageBoxVisible(_private->coreFrame, pageNumber);
296 - (NSString *)pageSizeAndMarginsInPixels:(int)pageNumber:(int)width:(int)height:(int)marginTop:(int…
298 …return PrintContext::pageSizeAndMarginsInPixels(_private->coreFrame, pageNumber, width, height, ma…
/external/webkit/Source/WebKit/gtk/WebCoreSupport/
DDumpRenderTreeSupportGtk.h72 static WTF::CString pageProperty(WebKitWebFrame*, const char* propertyName, int pageNumber);
73 static bool isPageBoxVisible(WebKitWebFrame*, int pageNumber);
74 …static WTF::CString pageSizeAndMarginsInPixels(WebKitWebFrame*, int pageNumber, int width, int hei…
DDumpRenderTreeSupportGtk.cpp288 …RenderTreeSupportGtk::pageProperty(WebKitWebFrame* frame, const char* propertyName, int pageNumber) in pageProperty() argument
296 return PrintContext::pageProperty(coreFrame, propertyName, pageNumber).utf8(); in pageProperty()
306 bool DumpRenderTreeSupportGtk::isPageBoxVisible(WebKitWebFrame* frame, int pageNumber) in isPageBoxVisible() argument
314 return coreFrame->document()->isPageBoxVisible(pageNumber); in isPageBoxVisible()
330 CString DumpRenderTreeSupportGtk::pageSizeAndMarginsInPixels(WebKitWebFrame* frame, int pageNumber,… in pageSizeAndMarginsInPixels() argument
338 …return PrintContext::pageSizeAndMarginsInPixels(coreFrame, pageNumber, width, height, marginTop, m… in pageSizeAndMarginsInPixels()
/external/webkit/Tools/DumpRenderTree/gtk/
DLayoutTestControllerGtk.cpp142 …int pageNumber = DumpRenderTreeSupportGtk::pageNumberForElementById(mainFrame, idGChar, pageWidth,… in pageNumberForElementById() local
144 return pageNumber; in pageNumberForElementById()
152 …Ptr<JSStringRef> LayoutTestController::pageProperty(const char* propertyName, int pageNumber) const in pageProperty()
154 …thUTF8CString(DumpRenderTreeSupportGtk::pageProperty(mainFrame, propertyName, pageNumber).data())); in pageProperty()
158 bool LayoutTestController::isPageBoxVisible(int pageNumber) const in isPageBoxVisible()
160 return DumpRenderTreeSupportGtk::isPageBoxVisible(mainFrame, pageNumber); in isPageBoxVisible()
163 JSRetainPtr<JSStringRef> LayoutTestController::pageSizeAndMarginsInPixels(int pageNumber, int width… in pageSizeAndMarginsInPixels() argument
165 …String(DumpRenderTreeSupportGtk::pageSizeAndMarginsInPixels(mainFrame, pageNumber, width, height, … in pageSizeAndMarginsInPixels()
/external/webkit/Tools/DumpRenderTree/wx/
DLayoutTestControllerWx.cpp552 …Ptr<JSStringRef> LayoutTestController::pageProperty(const char* propertyName, int pageNumber) const in pageProperty()
558 bool LayoutTestController::isPageBoxVisible(int pageNumber) const in isPageBoxVisible()
564 JSRetainPtr<JSStringRef> LayoutTestController::pageSizeAndMarginsInPixels(int pageNumber, int width… in pageSizeAndMarginsInPixels() argument
/external/webkit/Tools/DumpRenderTree/win/
DLayoutTestControllerWin.cpp1357 int pageNumber = -1; in pageNumberForElementById() local
1358 …ramePrivate->pageNumberForElementById(idBSTR, pageWidthInPixels, pageHeightInPixels, &pageNumber))) in pageNumberForElementById()
1359 pageNumber = -1; in pageNumberForElementById()
1361 return pageNumber; in pageNumberForElementById()
1370 int pageNumber = -1; in numberOfPages() local
1371 if (FAILED(framePrivate->numberOfPages(pageWidthInPixels, pageHeightInPixels, &pageNumber))) in numberOfPages()
1372 pageNumber = -1; in numberOfPages()
1373 return pageNumber; in numberOfPages()
1376 …Ptr<JSStringRef> LayoutTestController::pageProperty(const char* propertyName, int pageNumber) const in pageProperty()
1387 bool LayoutTestController::isPageBoxVisible(int pageNumber) const in isPageBoxVisible()
[all …]
/external/skia/include/pdf/
DSkPDFDocument.h56 SK_API bool setPage(int pageNumber, SkPDFDevice* pdfDevice);
/external/webkit/Tools/DumpRenderTree/
DLayoutTestController.h76 JSRetainPtr<JSStringRef> pageProperty(const char* propertyName, int pageNumber) const;
77 …JSRetainPtr<JSStringRef> pageSizeAndMarginsInPixels(int pageNumber, int width, int height, int mar…
78 bool isPageBoxVisible(int pageNumber) const;
DLayoutTestController.cpp751 …entCount, const JSValueRef* arguments, JSValueRef* exception, char*& propertyName, int& pageNumber) in parsePagePropertyParameters() argument
753 pageNumber = 0; in parsePagePropertyParameters()
756 pageNumber = static_cast<float>(JSValueToNumber(context, arguments[1], exception)); in parsePagePropertyParameters()
776 …ef context, int argumentCount, const JSValueRef* arguments, JSValueRef* exception, int& pageNumber) in parsePageNumber() argument
778 pageNumber = 0; in parsePageNumber()
781 pageNumber = static_cast<int>(JSValueToNumber(context, arguments[0], exception)); in parsePageNumber()
792 …rgumentCount, const JSValueRef* arguments, JSValueRef* exception, int& pageNumber, int& width, int… in parsePageNumberSizeMarings() argument
794 pageNumber = 0; in parsePageNumberSizeMarings()
830 pageNumber = static_cast<int>(JSValueToNumber(context, arguments[0], exception)); in parsePageNumberSizeMarings()
852 …int pageNumber = controller->pageNumberForElementById(elementId.get(), pageWidthInPixels, pageHeig… in pageNumberForElementByIdCallback() local
[all …]
/external/webkit/Source/WebKit/chromium/public/
DWebPlugin.h94 virtual bool printPage(int pageNumber, WebCanvas* canvas) { return false; } in printPage() argument
/external/webkit/Source/WebKit/win/Interfaces/
DIWebFramePrivate.idl106 …TR id, [in] float pageWidthInPixels, [in] float pageHeightInPixels, [out, retval] int* pageNumber);
108 …fPages([in] float pageWidthInPixels, [in] float pageHeightInPixels, [out, retval] int* pageNumber);
/external/webkit/Source/WebKit/gtk/webkit/
Dwebkitwebframe.cpp769 …ge_callback(GtkPrintOperation*, GtkPrintContext* gtkPrintContext, gint pageNumber, PrintContext* c… in draw_page_callback() argument
771 if (pageNumber >= static_cast<gint>(corePrintContext->pageCount())) in draw_page_callback()
779 corePrintContext->spoolPage(graphicsContext, pageNumber, pageWidth); in draw_page_callback()
/external/webkit/Source/WebKit/chromium/src/
DWebPluginContainerImpl.h109 bool printPage(int pageNumber, WebCore::GraphicsContext* gc);
DWebPluginContainerImpl.cpp238 bool WebPluginContainerImpl::printPage(int pageNumber, in printPage() argument
247 bool ret = m_webPlugin->printPage(pageNumber, canvas); in printPage()
DWebFrameImpl.cpp318 virtual float getPageShrink(int pageNumber) const in getPageShrink()
320 IntRect pageRect = m_pageRects[pageNumber]; in getPageShrink()
329 virtual float spoolPage(GraphicsContext& ctx, int pageNumber) in spoolPage() argument
331 IntRect pageRect = m_pageRects[pageNumber]; in spoolPage()
385 virtual float getPageShrink(int pageNumber) const in getPageShrink()
404 virtual float spoolPage(GraphicsContext& ctx, int pageNumber) in spoolPage() argument
406 m_plugin->printPage(pageNumber, &ctx); in spoolPage()
/external/webkit/Tools/DumpRenderTree/mac/
DLayoutTestControllerMac.mm294 …Ptr<JSStringRef> LayoutTestController::pageProperty(const char* propertyName, int pageNumber) const
296 …(Adopt, JSStringCreateWithCFString((CFStringRef)[mainFrame pageProperty:propertyName:pageNumber]));
300 bool LayoutTestController::isPageBoxVisible(int pageNumber) const
302 return [mainFrame isPageBoxVisible:pageNumber];
305 JSRetainPtr<JSStringRef> LayoutTestController::pageSizeAndMarginsInPixels(int pageNumber, int width…
307 …gCreateWithCFString((CFStringRef)[mainFrame pageSizeAndMarginsInPixels:pageNumber:width:height:mar…

12