Home
last modified time | relevance | path

Searched refs:pageIndex (Results 1 – 22 of 22) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/css/
DPageRuleCollector.h35 PageRuleCollector(const RenderStyle* rootElementStyle, int pageIndex);
41 bool isLeftPage(const RenderStyle* rootElementStyle, int pageIndex) const;
42 …ge(const RenderStyle* rootElementStyle, int pageIndex) const { return !isLeftPage(rootElementStyle… in isRightPage() argument
43 bool isFirstPage(int pageIndex) const;
44 String pageName(int pageIndex) const;
DPageRuleCollector.cpp43 bool PageRuleCollector::isLeftPage(const RenderStyle* rootElementStyle, int pageIndex) const in isLeftPage()
50 return (pageIndex + (isFirstPageLeft ? 1 : 0)) % 2; in isLeftPage()
53 bool PageRuleCollector::isFirstPage(int pageIndex) const in isFirstPage()
56 return (!pageIndex); in isFirstPage()
65 PageRuleCollector::PageRuleCollector(const RenderStyle* rootElementStyle, int pageIndex) in PageRuleCollector() argument
66 : m_isLeftPage(isLeftPage(rootElementStyle, pageIndex)) in PageRuleCollector()
67 , m_isFirstPage(isFirstPage(pageIndex)) in PageRuleCollector()
68 , m_pageName(pageName(pageIndex)) { } in PageRuleCollector()
/external/chromium_org/ui/app_list/cocoa/
Dapps_grid_controller.mm62 - (AppsGridViewItem*)itemAtPageIndex:(size_t)pageIndex
76 - (void)updatePageContent:(size_t)pageIndex
169 - (NSCollectionView*)collectionViewAtPageIndex:(size_t)pageIndex {
170 return [pages_ objectAtIndex:pageIndex];
174 for (size_t pageIndex = 0; pageIndex < [pages_ count]; ++pageIndex) {
175 if (page == [self collectionViewAtPageIndex:pageIndex])
176 return pageIndex;
236 - (void)scrollToPage:(size_t)pageIndex {
242 if ((pageIndex == 0 && (newOrigin.x <= 0)) ||
243 (pageIndex + 1 == [self pageCount] &&
[all …]
Dapps_collection_view_drag_manager.mm22 // Returns the item index that |theEvent| would hit in the page at |pageIndex|
24 - (size_t)itemIndexForPage:(size_t)pageIndex
85 size_t pageIndex = [gridController_ pageIndexForCollectionView:page];
86 itemHitIndex_ = [self itemIndexForPage:pageIndex
127 - (size_t)itemIndexForPage:(size_t)pageIndex
130 [gridController_ collectionViewAtPageIndex:pageIndex];
138 return indexInPage + pageIndex * rows_ * columns_;
226 size_t pageIndex = [gridController_ pageIndexForCollectionView:page];
227 size_t itemIndex = [self itemIndexForPage:pageIndex
Dapps_grid_controller.h61 - (NSCollectionView*)collectionViewAtPageIndex:(size_t)pageIndex;
82 - (void)scrollToPage:(size_t)pageIndex;
Dapps_grid_view_item.mm364 size_t pageIndex = [gridController pageIndexForCollectionView:collectionView];
365 [gridController scrollToPage:pageIndex];
/external/jsoncpp/src/lib_json/
Djson_internalarray.inl273 PageIndex pageIndex = index / itemsPerPage; local
275 pages_[pageIndex] = value;
305 for ( PageIndex pageIndex = 0; pageIndex < lastPageIndex; ++pageIndex ) local
306 arrayAllocator()->releaseArrayPage( pages_[pageIndex] );
350 PageIndex pageIndex = (newSize + itemsPerPage - 1) / itemsPerPage; local
352 for ( ; pageIndex < lastPageIndex; ++pageIndex )
353 arrayAllocator()->releaseArrayPage( pages_[pageIndex] );
378 PageIndex pageIndex = nextPageIndex / itemsPerPage; local
380 for ( ; pageToAllocate-- > 0; ++pageIndex )
381 pages_[pageIndex] = arrayAllocator()->allocateArrayPage();
/external/chromium_org/third_party/WebKit/Source/core/css/resolver/
DStyleResolver.h115 PassRefPtr<RenderStyle> styleForPage(int pageIndex);
261 bool isLeftPage(int pageIndex) const;
262 bool isRightPage(int pageIndex) const { return !isLeftPage(pageIndex); } in isRightPage() argument
263 bool isFirstPage(int pageIndex) const;
264 String pageName(int pageIndex) const;
DStyleResolver.cpp836 PassRefPtr<RenderStyle> StyleResolver::styleForPage(int pageIndex) in styleForPage() argument
849 PageRuleCollector collector(rootElementStyle, pageIndex); in styleForPage()
/external/chromium_org/chrome/browser/resources/ntp4/
Dpage_list_view.js379 var pageIndex = app.page_index || 0;
380 while (pageIndex >= this.appsPages.length) {
397 this.appsPages[pageIndex].insertApp(app, false);
434 var pageIndex = appData.page_index || 0;
436 if (pageIndex >= this.appsPages.length) {
437 while (pageIndex >= this.appsPages.length) {
445 var page = this.appsPages[pageIndex];
Dapps_page.js729 var pageIndex = ntp.getAppsPageIndex(this);
730 chrome.send('generateAppForLink', [data.url, data.title, pageIndex]);
738 var pageIndex = ntp.getAppsPageIndex(this);
739 chrome.send('setPageIndex', [draggedTile.firstChild.appId, pageIndex]);
/external/libcxxabi/src/Unwind/
DUnwindCursor.hpp943 UnwindSectionRegularArray<A> pageIndex( in getInfoFromCompactEncodingSection() local
955 if (pageIndex.functionOffset(mid) <= targetFunctionOffset) { in getInfoFromCompactEncodingSection()
961 } else if (pageIndex.functionOffset(mid + 1) > targetFunctionOffset) { in getInfoFromCompactEncodingSection()
964 funcEnd = pageIndex.functionOffset(low + 1) + sects.dso_base; in getInfoFromCompactEncodingSection()
973 encoding = pageIndex.encoding(low); in getInfoFromCompactEncodingSection()
974 funcStart = pageIndex.functionOffset(low) + sects.dso_base; in getInfoFromCompactEncodingSection()
995 UnwindSectionCompressedArray<A> pageIndex( in getInfoFromCompactEncodingSection() local
1010 if (pageIndex.functionOffset(mid) <= targetFunctionPageOffset) { in getInfoFromCompactEncodingSection()
1012 (pageIndex.functionOffset(mid + 1) > targetFunctionPageOffset)) { in getInfoFromCompactEncodingSection()
1022 funcStart = pageIndex.functionOffset(low) + firstLevelFunctionOffset in getInfoFromCompactEncodingSection()
[all …]
/external/chromium_org/third_party/WebKit/public/web/
DWebFrame.h507 virtual bool isPageBoxVisible(int pageIndex) = 0;
510 virtual bool hasCustomPageSizeStyle(int pageIndex) = 0;
516 virtual void pageSizeAndMarginsInPixels(int pageIndex,
525 virtual WebString pageProperty(const WebString& propertyName, int pageIndex) = 0;
/external/chromium_org/third_party/WebKit/Source/web/
DWebLocalFrameImpl.cpp351 for (size_t pageIndex = 0; pageIndex < numPages; pageIndex++) { in spoolAllPagesWithBoundaries() local
353 if (pageIndex > 0) { in spoolAllPagesWithBoundaries()
367 float scale = getPageShrink(pageIndex); in spoolAllPagesWithBoundaries()
370 spoolPage(graphicsContext, pageIndex); in spoolAllPagesWithBoundaries()
1324 bool WebLocalFrameImpl::hasCustomPageSizeStyle(int pageIndex) in hasCustomPageSizeStyle() argument
1326 return frame()->document()->styleForPage(pageIndex)->pageSizeType() != PAGE_SIZE_AUTO; in hasCustomPageSizeStyle()
1329 bool WebLocalFrameImpl::isPageBoxVisible(int pageIndex) in isPageBoxVisible() argument
1331 return frame()->document()->isPageBoxVisible(pageIndex); in isPageBoxVisible()
1334 void WebLocalFrameImpl::pageSizeAndMarginsInPixels(int pageIndex, WebSize& pageSize, int& marginTop… in pageSizeAndMarginsInPixels() argument
1337 …frame()->document()->pageSizeAndMarginsInPixels(pageIndex, size, marginTop, marginRight, marginBot… in pageSizeAndMarginsInPixels()
[all …]
DWebRemoteFrameImpl.h135 virtual bool hasCustomPageSizeStyle(int pageIndex) OVERRIDE;
136 virtual bool isPageBoxVisible(int pageIndex) OVERRIDE;
138 int pageIndex,
144 virtual WebString pageProperty(const WebString& propertyName, int pageIndex) OVERRIDE;
DWebLocalFrameImpl.h184 virtual bool hasCustomPageSizeStyle(int pageIndex) OVERRIDE;
185 virtual bool isPageBoxVisible(int pageIndex) OVERRIDE;
187 int pageIndex,
193 virtual WebString pageProperty(const WebString& propertyName, int pageIndex) OVERRIDE;
DWebRemoteFrameImpl.cpp682 bool WebRemoteFrameImpl::hasCustomPageSizeStyle(int pageIndex) in hasCustomPageSizeStyle() argument
688 bool WebRemoteFrameImpl::isPageBoxVisible(int pageIndex) in isPageBoxVisible() argument
695 int pageIndex, in pageSizeAndMarginsInPixels() argument
705 WebString WebRemoteFrameImpl::pageProperty(const WebString& propertyName, int pageIndex) in pageProperty() argument
/external/chromium_org/chrome/browser/resources/print_preview/
Dpreview_generator.js358 var pageNumber = event.pageIndex + 1;
363 this.dispatchPreviewStartEvent_(event.previewUid, event.pageIndex);
Dnative_layer.js611 pagePreviewGenEvent.pageIndex = pageNumber;
/external/chromium_org/third_party/WebKit/Source/core/dom/
DDocument.h466 PassRefPtr<RenderStyle> styleForPage(int pageIndex);
471 bool isPageBoxVisible(int pageIndex);
477 …void pageSizeAndMarginsInPixels(int pageIndex, IntSize& pageSize, int& marginTop, int& marginRight…
DDocument.cpp2001 PassRefPtr<RenderStyle> Document::styleForPage(int pageIndex) in styleForPage() argument
2004 return ensureStyleResolver().styleForPage(pageIndex); in styleForPage()
2007 bool Document::isPageBoxVisible(int pageIndex) in isPageBoxVisible() argument
2009 …return styleForPage(pageIndex)->visibility() != HIDDEN; // display property doesn't apply to @page. in isPageBoxVisible()
2012 void Document::pageSizeAndMarginsInPixels(int pageIndex, IntSize& pageSize, int& marginTop, int& ma… in pageSizeAndMarginsInPixels() argument
2014 RefPtr<RenderStyle> style = styleForPage(pageIndex); in pageSizeAndMarginsInPixels()
/external/chromium_org/third_party/WebKit/Source/core/testing/
DInternals.idl191 …[RaisesException] DOMString pageSizeAndMarginsInPixels(long pageIndex, long width, long height, lo…