Home
last modified time | relevance | path

Searched refs:page_index (Results 1 – 25 of 35) sorted by relevance

12

/external/chromium_org/ui/app_list/views/
Dcontents_view.cc112 void ContentsView::SetActivePage(int page_index) { in SetActivePage() argument
113 if (GetActivePageIndex() == page_index) in SetActivePage()
116 SetActivePageInternal(page_index, false); in SetActivePage()
144 void ContentsView::SetActivePageInternal(int page_index, in SetActivePageInternal() argument
147 page_before_search_ = page_index; in SetActivePageInternal()
149 pagination_model_.SelectPage(page_index, true); in SetActivePageInternal()
190 gfx::Rect ContentsView::GetOffscreenPageBounds(int page_index) const { in GetOffscreenPageBounds()
196 GetPageIndexForNamedPage(NAMED_PAGE_START) == page_index || in GetOffscreenPageBounds()
197 GetPageIndexForNamedPage(NAMED_PAGE_SEARCH_RESULTS) == page_index; in GetOffscreenPageBounds()
252 int page_index = view_model_->view_size(); in AddLauncherPage() local
[all …]
Dcontents_view.h83 void SetActivePage(int page_index);
124 void SetActivePageInternal(int page_index, bool show_search_results);
131 gfx::Rect GetOffscreenPageBounds(int page_index) const;
Dcontents_switcher_view.cc33 void ContentsSwitcherView::AddSwitcherButton(int resource_id, int page_index) { in AddSwitcherButton() argument
41 button->set_tag(page_index); in AddSwitcherButton()
Dcontents_switcher_view.h32 void AddSwitcherButton(int resource_id, int page_index);
/external/qemu/include/exec/
Dsoftmmu_header.h86 int page_index; in glue() local
92 page_index = (addr >> TARGET_PAGE_BITS) & (CPU_TLB_SIZE - 1); in glue()
94 if (unlikely(env->tlb_table[mmu_idx][page_index].ADDR_READ != in glue()
98 uintptr_t hostaddr = addr + env->tlb_table[mmu_idx][page_index].addend; in glue()
108 int res, page_index; in glue() local
113 page_index = (addr >> TARGET_PAGE_BITS) & (CPU_TLB_SIZE - 1); in glue()
115 if (unlikely(env->tlb_table[mmu_idx][page_index].ADDR_READ != in glue()
120 uintptr_t hostaddr = addr + env->tlb_table[mmu_idx][page_index].addend; in glue()
135 int page_index; in glue() local
140 page_index = (addr >> TARGET_PAGE_BITS) & (CPU_TLB_SIZE - 1); in glue()
[all …]
/external/chromium_org/pdf/pdfium/
Dpdfium_engine.cc784 pages_[progressive_paints_[i].page_index]->GetPage()); in PostPaint()
1278 const pp::MouseInputEvent& event, int* page_index, in GetCharIndex() argument
1285 return GetCharIndex(point, page_index, char_index, target); in GetCharIndex()
1290 int* page_index, in GetCharIndex() argument
1306 if (progressive_paints_[i].page_index == page) in GetCharIndex()
1310 *page_index = page; in GetCharIndex()
1322 int page_index = -1; in OnMouseDown() local
1325 PDFiumPage::Area area = GetCharIndex(event, &page_index, in OnMouseDown()
1340 if (page_index != -1) { in OnMouseDown()
1341 last_page_mouse_down_ = page_index; in OnMouseDown()
[all …]
Dpdfium_engine.h283 int* page_index,
287 int* page_index,
291 void OnSingleClick(int page_index, int char_index);
292 void OnMultipleClick(int click_count, int page_index, int char_index);
296 int StartPaint(int page_index, const pp::Rect& dirty);
323 void PaintUnavailablePage(int page_index,
329 int GetProgressiveIndex(int page_index) const;
337 void GetPDFiumRect(int page_index, const pp::Rect& rect, int* start_x,
348 pp::Rect GetPageScreenRect(int page_index) const;
363 void DeviceToPage(int page_index,
[all …]
Dpdfium_range.h27 int page_index() const { return page_->index(); } in page_index() function
/external/chromium_org/ui/app_list/cocoa/test/
Dapps_grid_controller_test_helper.mm55 for (size_t page_index = 0; page_index < [apps_grid_controller_ pageCount];
56 ++page_index) {
59 [apps_grid_controller_ collectionViewAtPageIndex:page_index];
74 size_t page_index = 0;
76 for (; page_index < [apps_grid_controller_ pageCount]; ++page_index) {
78 [apps_grid_controller_ collectionViewAtPageIndex:page_index];
85 found_at_page_index = page_index;
/external/pdfium/fpdfsdk/src/
Dfpdfeditpage.cpp57 DLLEXPORT void STDCALL FPDFPage_Delete(FPDF_DOCUMENT document, int page_index) in FPDFPage_Delete() argument
62 if (page_index < 0 || page_index >= pDoc->GetPageCount()) in FPDFPage_Delete()
65 pDoc->DeletePage(page_index); in FPDFPage_Delete()
68 DLLEXPORT FPDF_PAGE STDCALL FPDFPage_New(FPDF_DOCUMENT document, int page_index, double width, doub… in FPDFPage_New() argument
75 if(page_index < 0) in FPDFPage_New()
76 page_index = 0; in FPDFPage_New()
77 if(pDoc->GetPageCount()<page_index) in FPDFPage_New()
78 page_index = pDoc->GetPageCount(); in FPDFPage_New()
82 CPDF_Dictionary* pPageDict = pDoc->CreateNewPage(page_index); in FPDFPage_New()
Dfpdf_dataavail.cpp146 DLLEXPORT int STDCALL FPDFAvail_IsPageAvail(FPDF_AVAIL avail, int page_index, FX_DOWNLOADHINTS* hin… in FPDFAvail_IsPageAvail() argument
150 return ((CFPDF_DataAvail*)avail)->m_pDataAvail->IsPageAvail(page_index, &hints_wrap); in FPDFAvail_IsPageAvail()
Dfpdfview.cpp387 DLLEXPORT FPDF_PAGE STDCALL FPDF_LoadPage(FPDF_DOCUMENT document, int page_index) in FPDF_LoadPage() argument
390 if (page_index < 0 || page_index >= FPDF_GetPageCount(document)) return NULL; in FPDF_LoadPage()
394 CPDF_Dictionary* pDict = pDoc->GetPage(page_index); in FPDF_LoadPage()
844 DLLEXPORT int STDCALL FPDF_GetPageSizeByIndex(FPDF_DOCUMENT document, int page_index, double* width… in FPDF_GetPageSizeByIndex() argument
850 CPDF_Dictionary* pDict = pDoc->GetPage(page_index); in FPDF_GetPageSizeByIndex()
/external/qemu/
Dcputlb.c305 int mmu_idx, page_index, pd; in get_page_addr_code() local
308 page_index = (addr >> TARGET_PAGE_BITS) & (CPU_TLB_SIZE - 1); in get_page_addr_code()
310 if (unlikely(env1->tlb_table[mmu_idx][page_index].addr_code != in get_page_addr_code()
314 pd = env1->tlb_table[mmu_idx][page_index].addr_code & ~TARGET_PAGE_MASK; in get_page_addr_code()
322 p = (void *)((uintptr_t)addr + env1->tlb_table[mmu_idx][page_index].addend); in get_page_addr_code()
/external/pdfium/fpdfsdk/include/
Dfpdfedit.h56 DLLEXPORT FPDF_PAGE STDCALL FPDFPage_New(FPDF_DOCUMENT document, int page_index, double width, doub…
65 DLLEXPORT void STDCALL FPDFPage_Delete(FPDF_DOCUMENT document, int page_index);
Dfpdfview.h274 DLLEXPORT FPDF_PAGE STDCALL FPDF_LoadPage(FPDF_DOCUMENT document, int page_index);
306 DLLEXPORT int STDCALL FPDF_GetPageSizeByIndex(FPDF_DOCUMENT document, int page_index, double* width…
Dfpdf_dataavail.h175 DLLEXPORT int STDCALL FPDFAvail_IsPageAvail(FPDF_AVAIL avail, int page_index, FX_DOWNLOADHINTS* hin…
/external/chromium_org/chrome/browser/ui/webui/ntp/
Dapp_launcher_handler.cc649 double page_index; in HandleSetPageIndex() local
651 CHECK(args->GetDouble(1, &page_index)); in HandleSetPageIndex()
653 app_sorting->PageIntegerAsStringOrdinal(static_cast<size_t>(page_index)); in HandleSetPageIndex()
664 double page_index; in HandleSaveAppPageName() local
665 CHECK(args->GetDouble(1, &page_index)); in HandleSaveAppPageName()
671 list->Set(static_cast<size_t>(page_index), new base::StringValue(name)); in HandleSaveAppPageName()
682 double page_index; in HandleGenerateAppForLink() local
683 CHECK(args->GetDouble(2, &page_index)); in HandleGenerateAppForLink()
687 app_sorting->PageIntegerAsStringOrdinal(static_cast<size_t>(page_index)); in HandleGenerateAppForLink()
/external/chromium_org/chrome/browser/resources/ntp4/
Dpage_list_view.js275 this.appsPages[appData.page_index].insertApp(appData, false);
379 var pageIndex = app.page_index || 0;
434 var pageIndex = appData.page_index || 0;
452 appData.page_index);
/external/chromium_org/chrome/browser/extensions/
Dchrome_app_sorting.cc428 size_t page_index) { in PageIntegerAsStringOrdinal() argument
429 if (page_index < ntp_ordinal_map_.size()) { in PageIntegerAsStringOrdinal()
431 std::advance(it, page_index); in PageIntegerAsStringOrdinal()
435 CreateOrdinalsIfNecessary(page_index + 1); in PageIntegerAsStringOrdinal()
/external/chromium_org/extensions/browser/
Dapp_sorting.h110 size_t page_index) = 0;
Dnull_app_sorting.cc97 size_t page_index) { in PageIntegerAsStringOrdinal() argument
Dnull_app_sorting.h53 size_t page_index) OVERRIDE;
/external/chromium_org/chrome/browser/ui/webui/print_preview/
Dprint_preview_ui.cc136 int page_index = 0; in HandleRequestCallback() local
139 base::StringToInt(url_substr[1], &page_index) && in HandleRequestCallback()
142 preview_ui_id, page_index, &data); in HandleRequestCallback()
/external/chromium_org/tools/android/memdump/
Dmemdump.cc216 for (uint64 addr = memory_map.start_address, page_index = 0; in GetPagesForMemoryMap() local
218 addr += kPageSize, ++page_index) { in GetPagesForMemoryMap()
233 committed_pages_bits->set(page_index); in GetPagesForMemoryMap()
/external/chromium_org/android_webview/renderer/
Dprint_web_view_helper.cc104 int page_index, in GetCssPrintParams() argument
129 frame->pageSizeAndMarginsInPixels(page_index, in GetCssPrintParams()
145 page_css_params = GetCssPrintParams(NULL, page_index, page_params); in GetCssPrintParams()
331 int page_index, in CalculatePrintParamsForCss() argument
336 PrintMsg_Print_Params css_params = GetCssPrintParams(frame, page_index, in CalculatePrintParamsForCss()
1376 int page_index, in ComputePageLayoutInPointsForCss() argument
1382 frame, page_index, page_params, ignore_css_margins, in ComputePageLayoutInPointsForCss()

12