Home
last modified time | relevance | path

Searched refs:pDevice (Results 1 – 25 of 119) sorted by relevance

12345

/external/pdfium/fpdfsdk/formfiller/
Dcffl_button.cpp64 CFX_RenderDevice* pDevice, in OnDraw() argument
70 pWidget->DrawAppearance(pDevice, mtUser2Device, CPDF_Annot::Normal, in OnDraw()
76 pWidget->DrawAppearance(pDevice, mtUser2Device, CPDF_Annot::Down, in OnDraw()
79 pWidget->DrawAppearance(pDevice, mtUser2Device, CPDF_Annot::Normal, in OnDraw()
86 pWidget->DrawAppearance(pDevice, mtUser2Device, CPDF_Annot::Rollover, in OnDraw()
89 pWidget->DrawAppearance(pDevice, mtUser2Device, CPDF_Annot::Normal, in OnDraw()
95 pWidget->DrawAppearance(pDevice, mtUser2Device, CPDF_Annot::Normal, nullptr); in OnDraw()
100 CFX_RenderDevice* pDevice, in OnDrawDeactive() argument
102 OnDraw(pPageView, pAnnot, pDevice, mtUser2Device); in OnDrawDeactive()
Dcffl_button.h44 CFX_RenderDevice* pDevice,
48 CFX_RenderDevice* pDevice,
/external/pdfium/fpdfsdk/
Dfpdf_progressive.cpp55 CFX_DefaultRenderDevice* pDevice = pOwnedDevice.get(); in FPDF_RenderPageBitmap_Start() local
57 pDevice->Attach(pBitmap, !!(flags & FPDF_REVERSE_BYTE_ORDER), nullptr, false); in FPDF_RenderPageBitmap_Start()
64 pDevice->Flush(false); in FPDF_RenderPageBitmap_Start()
88 CFX_RenderDevice* pDevice = pContext->m_pDevice.get(); in FPDF_RenderPage_Continue() local
89 pDevice->Flush(false); in FPDF_RenderPage_Continue()
90 pDevice->GetBitmap()->UnPreMultiply(); in FPDF_RenderPage_Continue()
104 CFX_RenderDevice* pDevice = pContext->m_pDevice.get(); in FPDF_RenderPage_Close() local
105 pDevice->Flush(true); in FPDF_RenderPage_Close()
106 pDevice->GetBitmap()->UnPreMultiply(); in FPDF_RenderPage_Close()
Dfpdfformfill.cpp167 auto pDevice = pdfium::MakeUnique<CFX_DefaultRenderDevice>(); in FFLCommon() local
169 pDevice->AttachRecorder(static_cast<SkPictureRecorder*>(recorder)); in FFLCommon()
172 pDevice->Attach(holder, false, nullptr, false); in FFLCommon()
174 CFX_RenderDevice::StateRestorer restorer(pDevice.get()); in FFLCommon()
175 pDevice->SetClip_Rect(clip); in FFLCommon()
195 pPageView->PageView_OnDraw(pDevice.get(), &matrix, &options, clip); in FFLCommon()
200 pPageView->PageView_OnDraw(pDevice.get(), &matrix, &options); in FFLCommon()
204 pDevice->Flush(true); in FFLCommon()
Dcpdfsdk_baannot.h82 virtual void DrawAppearance(CFX_RenderDevice* pDevice,
87 void DrawBorder(CFX_RenderDevice* pDevice,
Dcpdfsdk_baannot.cpp63 void CPDFSDK_BAAnnot::DrawAppearance(CFX_RenderDevice* pDevice, in DrawAppearance() argument
67 m_pAnnot->DrawAppearance(m_pPageView->GetPDFPage(), pDevice, mtUser2Device, in DrawAppearance()
94 void CPDFSDK_BAAnnot::DrawBorder(CFX_RenderDevice* pDevice, in DrawBorder() argument
97 m_pAnnot->DrawBorder(pDevice, pUser2Device, pOptions); in DrawBorder()
/external/pdfium/core/fpdfapi/render/
Dcpdf_scaledrenderbuffer.cpp22 CFX_RenderDevice* pDevice, in Initialize() argument
27 m_pDevice = pDevice; in Initialize()
35 int horz_size = pDevice->GetDeviceCaps(FXDC_HORZ_SIZE); in Initialize()
36 int vert_size = pDevice->GetDeviceCaps(FXDC_VERT_SIZE); in Initialize()
39 pDevice->GetDeviceCaps(FXDC_PIXEL_WIDTH) * 254 / (horz_size * 10); in Initialize()
41 pDevice->GetDeviceCaps(FXDC_PIXEL_HEIGHT) * 254 / (vert_size * 10); in Initialize()
Dcpdf_devicebuffer.cpp23 CFX_RenderDevice* pDevice, in Initialize() argument
27 m_pDevice = pDevice; in Initialize()
33 int horz_size = pDevice->GetDeviceCaps(FXDC_HORZ_SIZE); in Initialize()
34 int vert_size = pDevice->GetDeviceCaps(FXDC_VERT_SIZE); in Initialize()
37 pDevice->GetDeviceCaps(FXDC_PIXEL_WIDTH) * 254 / (horz_size * 10); in Initialize()
39 pDevice->GetDeviceCaps(FXDC_PIXEL_HEIGHT) * 254 / (vert_size * 10); in Initialize()
Dcpdf_textrenderer.cpp27 bool CPDF_TextRenderer::DrawTextPath(CFX_RenderDevice* pDevice, in DrawTextPath() argument
53 if (!pDevice->DrawTextPath(i - startIndex, in DrawTextPath()
63 if (!pDevice->DrawTextPath(CharPosList.m_nChars - startIndex, in DrawTextPath()
73 void CPDF_TextRenderer::DrawTextString(CFX_RenderDevice* pDevice, in DrawTextString() argument
109 DrawNormalText(pDevice, codes, positions, pFont, font_size, &matrix, in DrawTextString()
114 bool CPDF_TextRenderer::DrawNormalText(CFX_RenderDevice* pDevice, in DrawNormalText() argument
155 if (!pDevice->DrawNormalText( in DrawNormalText()
164 if (!pDevice->DrawNormalText(CharPosList.m_nChars - startIndex, in DrawNormalText()
Dcpdf_rendercontext.cpp56 void CPDF_RenderContext::Render(CFX_RenderDevice* pDevice, in Render() argument
59 Render(pDevice, nullptr, pOptions, pLastMatrix); in Render()
62 void CPDF_RenderContext::Render(CFX_RenderDevice* pDevice, in Render() argument
67 CFX_RenderDevice::StateRestorer restorer(pDevice); in Render()
72 status.Initialize(this, pDevice, pLastMatrix, pStopObj, nullptr, nullptr, in Render()
77 status.Initialize(this, pDevice, nullptr, pStopObj, nullptr, nullptr, in Render()
Dcpdf_textrenderer.h25 static void DrawTextString(CFX_RenderDevice* pDevice,
36 static bool DrawTextPath(CFX_RenderDevice* pDevice,
49 static bool DrawNormalText(CFX_RenderDevice* pDevice,
Dcpdf_rendercontext.h46 void Render(CFX_RenderDevice* pDevice,
50 void Render(CFX_RenderDevice* pDevice,
/external/pdfium/core/fxge/dib/
Dcfx_imagerenderer.cpp16 CFX_ImageRenderer::CFX_ImageRenderer(const RetainPtr<CFX_DIBitmap>& pDevice, in CFX_ImageRenderer() argument
24 : m_pDevice(pDevice), in CFX_ImageRenderer()
34 m_ClipBox = pClipRgn ? pClipRgn->GetBox() : FX_RECT(0, 0, pDevice->GetWidth(), in CFX_ImageRenderer()
35 pDevice->GetHeight()); in CFX_ImageRenderer()
51 m_Composer.Compose(pDevice, pClipRgn, bitmap_alpha, mask_color, m_ClipBox, in CFX_ImageRenderer()
80 m_Composer.Compose(pDevice, pClipRgn, bitmap_alpha, mask_color, m_ClipBox, in CFX_ImageRenderer()
/external/pdfium/core/fpdfdoc/
Dcpdf_annotlist.cpp163 CFX_RenderDevice* pDevice, in DisplayPass() argument
204 } else if (!pAnnot->DrawAppearance(pPage, pDevice, matrix, in DisplayPass()
206 pAnnot->DrawBorder(pDevice, &matrix, pOptions); in DisplayPass()
212 CFX_RenderDevice* pDevice, in DisplayAnnots() argument
220 DisplayPass(pPage, pDevice, pContext, bPrinting, pUser2Device, false, in DisplayAnnots()
224 DisplayPass(pPage, pDevice, pContext, bPrinting, pUser2Device, true, in DisplayAnnots()
Dcpdf_annotlist.h36 CFX_RenderDevice* pDevice,
52 CFX_RenderDevice* pDevice,
Dcpdf_annot.cpp352 CFX_RenderDevice* pDevice, in DrawAppearance() argument
373 context.Render(pDevice, pOptions, nullptr); in DrawAppearance()
400 void CPDF_Annot::DrawBorder(CFX_RenderDevice* pDevice, in DrawBorder() argument
410 bool bPrinting = pDevice->GetDeviceClass() == FXDC_PRINTER || in DrawBorder()
497 pDevice->DrawPath(&path, pUser2Device, &graph_state, argb, argb, fill_type); in DrawBorder()
/external/pdfium/fpdfsdk/pwl/
Dcpwl_scroll_bar.cpp138 void CPWL_SBButton::DrawThisAppearance(CFX_RenderDevice* pDevice, in DrawThisAppearance() argument
151 CPWL_Wnd::DrawThisAppearance(pDevice, mtUser2Device); in DrawThisAppearance()
182 pDevice->DrawPath(&path, &mtUser2Device, nullptr, in DrawThisAppearance()
190 pDevice->DrawStrokeRect(&mtUser2Device, rectWnd, in DrawThisAppearance()
192 pDevice->DrawStrokeRect(&mtUser2Device, rectWnd.GetDeflated(0.5f, 0.5f), in DrawThisAppearance()
198 pDevice->DrawShadow(&mtUser2Device, true, false, in DrawThisAppearance()
202 pDevice->DrawFillRect(&mtUser2Device, rectWnd.GetDeflated(1.0f, 1.0f), in DrawThisAppearance()
228 pDevice->DrawFillArea(&mtUser2Device, pts.data(), 7, in DrawThisAppearance()
255 pDevice->DrawStrokeLine(&mtUser2Device, ptTop, ptBottom, ref, 1.0f); in DrawThisAppearance()
261 pDevice->DrawFillRect(&mtUser2Device, rectWnd.GetDeflated(0.5f, 0.5f), in DrawThisAppearance()
[all …]
Dcpwl_list_box.cpp98 void CPWL_ListBox::DrawThisAppearance(CFX_RenderDevice* pDevice, in DrawThisAppearance() argument
100 CPWL_Wnd::DrawThisAppearance(pDevice, mtUser2Device); in DrawThisAppearance()
123 CPWL_EditImpl::DrawEdit(pDevice, mtUser2Device, m_pList->GetItemEdit(i), in DrawThisAppearance()
128 pDevice->DrawFillRect(&mtUser2Device, rcItem, in DrawThisAppearance()
130 CPWL_EditImpl::DrawEdit(pDevice, mtUser2Device, m_pList->GetItemEdit(i), in DrawThisAppearance()
137 CPWL_EditImpl::DrawEdit(pDevice, mtUser2Device, m_pList->GetItemEdit(i), in DrawThisAppearance()
Dcpwl_wnd.cpp234 void CPWL_Wnd::DrawAppearance(CFX_RenderDevice* pDevice, in DrawAppearance() argument
237 DrawThisAppearance(pDevice, mtUser2Device); in DrawAppearance()
238 DrawChildAppearance(pDevice, mtUser2Device); in DrawAppearance()
242 void CPWL_Wnd::DrawThisAppearance(CFX_RenderDevice* pDevice, in DrawThisAppearance() argument
250 pDevice->DrawFillRect(&mtUser2Device, rectWnd.GetDeflated(width, width), in DrawThisAppearance()
255 pDevice->DrawBorder(&mtUser2Device, rectWnd, in DrawThisAppearance()
263 void CPWL_Wnd::DrawChildAppearance(CFX_RenderDevice* pDevice, in DrawChildAppearance() argument
271 pChild->DrawAppearance(pDevice, mtUser2Device); in DrawChildAppearance()
274 pChild->DrawAppearance(pDevice, mt); in DrawChildAppearance()
Dcpwl_caret.cpp26 void CPWL_Caret::DrawThisAppearance(CFX_RenderDevice* pDevice, in DrawThisAppearance() argument
52 pDevice->DrawPath(&path, &mtUser2Device, &gsd, 0, ArgbEncode(255, 0, 0, 0), in DrawThisAppearance()
/external/mesa3d/src/gallium/state_trackers/nine/
Dvertexdeclaration9.h60 NineVertexDeclaration9_new( struct NineDevice9 *pDevice,
65 NineVertexDeclaration9_new_from_fvf( struct NineDevice9 *pDevice,
Dindexbuffer9.c129 NineIndexBuffer9_new( struct NineDevice9 *pDevice, in NineIndexBuffer9_new() argument
133 NINE_DEVICE_CHILD_NEW(IndexBuffer9, ppOut, /* args */ pDevice, pDesc); in NineIndexBuffer9_new()
Dswapchain9ex.c105 NineSwapChain9Ex_new( struct NineDevice9 *pDevice, in NineSwapChain9Ex_new() argument
114 NINE_DEVICE_CHILD_NEW(SwapChain9Ex, ppOut, pDevice, /* args */ in NineSwapChain9Ex_new()
Dvertexbuffer9.c121 NineVertexBuffer9_new( struct NineDevice9 *pDevice, in NineVertexBuffer9_new() argument
125 NINE_DEVICE_CHILD_NEW(VertexBuffer9, ppOut, /* args */ pDevice, pDesc); in NineVertexBuffer9_new()
/external/webrtc/webrtc/modules/audio_device/win/
Daudio_device_core_win.cc4454 IMMDevice *pDevice = NULL; in _GetListDeviceName() local
4460 hr = _ptrRenderCollection->Item(index, &pDevice); in _GetListDeviceName()
4464 hr = _ptrCaptureCollection->Item(index, &pDevice); in _GetListDeviceName()
4470 SAFE_RELEASE(pDevice); in _GetListDeviceName()
4474 int32_t res = _GetDeviceName(pDevice, szBuffer, bufferLen); in _GetListDeviceName()
4475 SAFE_RELEASE(pDevice); in _GetListDeviceName()
4493 IMMDevice *pDevice = NULL; in _GetDefaultDeviceName() local
4502 &pDevice); in _GetDefaultDeviceName()
4507 SAFE_RELEASE(pDevice); in _GetDefaultDeviceName()
4511 int32_t res = _GetDeviceName(pDevice, szBuffer, bufferLen); in _GetDefaultDeviceName()
[all …]

12345