Home
last modified time | relevance | path

Searched refs:pParams (Results 1 – 25 of 77) sorted by relevance

1234

/external/pdfium/xfa/fwl/theme/
Dcfwl_monthcalendartp.cpp34 void CFWL_MonthCalendarTP::DrawBackground(CFWL_ThemeBackground* pParams) { in DrawBackground() argument
35 if (!pParams) in DrawBackground()
38 switch (pParams->m_iPart) { in DrawBackground()
40 DrawBorder(pParams->m_pGraphics, &pParams->m_rtPart, &pParams->m_matrix); in DrawBackground()
44 DrawTotalBK(pParams, &pParams->m_matrix); in DrawBackground()
48 DrawHeadBk(pParams, &pParams->m_matrix); in DrawBackground()
52 FWLTHEME_STATE eState = GetState(pParams->m_dwStates); in DrawBackground()
53 DrawArrowBtn(pParams->m_pGraphics, &pParams->m_rtPart, in DrawBackground()
54 FWLTHEME_DIRECTION_Left, eState, &pParams->m_matrix); in DrawBackground()
58 FWLTHEME_STATE eState = GetState(pParams->m_dwStates); in DrawBackground()
[all …]
Dcfwl_edittp.cpp23 void CFWL_EditTP::DrawBackground(CFWL_ThemeBackground* pParams) { in DrawBackground() argument
24 if (CFWL_Part::CombTextLine == pParams->m_iPart) { in DrawBackground()
25 CXFA_FFWidget* pWidget = XFA_ThemeGetOuterWidget(pParams->m_pWidget); in DrawBackground()
36 pParams->m_pGraphics->SetStrokeColor(CXFA_GEColor(cr)); in DrawBackground()
37 pParams->m_pGraphics->SetLineWidth(fWidth); in DrawBackground()
38 pParams->m_pGraphics->StrokePath(pParams->m_pPath, &pParams->m_matrix); in DrawBackground()
42 switch (pParams->m_iPart) { in DrawBackground()
44 DrawBorder(pParams->m_pGraphics, &pParams->m_rtPart, &pParams->m_matrix); in DrawBackground()
48 if (pParams->m_pPath) { in DrawBackground()
49 CXFA_Graphics* pGraphics = pParams->m_pGraphics; in DrawBackground()
[all …]
Dcfwl_comboboxtp.cpp20 void CFWL_ComboBoxTP::DrawBackground(CFWL_ThemeBackground* pParams) { in DrawBackground() argument
21 if (!pParams) in DrawBackground()
24 switch (pParams->m_iPart) { in DrawBackground()
26 DrawBorder(pParams->m_pGraphics, &pParams->m_rtPart, &pParams->m_matrix); in DrawBackground()
31 CFX_RectF& rect = pParams->m_rtPart; in DrawBackground()
34 switch (pParams->m_dwStates) { in DrawBackground()
44 pParams->m_pGraphics->SaveGraphState(); in DrawBackground()
45 pParams->m_pGraphics->SetFillColor(CXFA_GEColor(argb_color)); in DrawBackground()
46 pParams->m_pGraphics->FillPath(&path, FXFILL_WINDING, &pParams->m_matrix); in DrawBackground()
47 pParams->m_pGraphics->RestoreGraphState(); in DrawBackground()
[all …]
Dcfwl_listboxtp.cpp19 void CFWL_ListBoxTP::DrawBackground(CFWL_ThemeBackground* pParams) { in DrawBackground() argument
20 if (!pParams) in DrawBackground()
23 switch (pParams->m_iPart) { in DrawBackground()
25 DrawBorder(pParams->m_pGraphics, &pParams->m_rtPart, &pParams->m_matrix); in DrawBackground()
29 FillSoildRect(pParams->m_pGraphics, ArgbEncode(255, 255, 255, 255), in DrawBackground()
30 &pParams->m_rtPart, &pParams->m_matrix); in DrawBackground()
31 if (pParams->m_pData) { in DrawBackground()
32 FillSoildRect(pParams->m_pGraphics, FWLTHEME_COLOR_Background, in DrawBackground()
33 (CFX_RectF*)pParams->m_pData, &pParams->m_matrix); in DrawBackground()
38 DrawListBoxItem(pParams->m_pGraphics, pParams->m_dwStates, in DrawBackground()
[all …]
Dcfwl_datetimepickertp.cpp16 void CFWL_DateTimePickerTP::DrawBackground(CFWL_ThemeBackground* pParams) { in DrawBackground() argument
17 if (!pParams) in DrawBackground()
20 switch (pParams->m_iPart) { in DrawBackground()
22 DrawBorder(pParams->m_pGraphics, &pParams->m_rtPart, &pParams->m_matrix); in DrawBackground()
26 DrawDropDownButton(pParams, &pParams->m_matrix); in DrawBackground()
34 void CFWL_DateTimePickerTP::DrawDropDownButton(CFWL_ThemeBackground* pParams, in DrawDropDownButton() argument
36 uint32_t dwStates = pParams->m_dwStates; in DrawDropDownButton()
59 DrawArrowBtn(pParams->m_pGraphics, &pParams->m_rtPart, in DrawDropDownButton()
Dcfwl_monthcalendartp.h22 void DrawBackground(CFWL_ThemeBackground* pParams) override;
23 void DrawText(CFWL_ThemeText* pParams) override;
36 void DrawTotalBK(CFWL_ThemeBackground* pParams, CFX_Matrix* pMatrix);
37 void DrawHeadBk(CFWL_ThemeBackground* pParams, CFX_Matrix* pMatrix);
38 void DrawLButton(CFWL_ThemeBackground* pParams, CFX_Matrix* pMatrix);
39 void DrawRButton(CFWL_ThemeBackground* pParams, CFX_Matrix* pMatrix);
40 void DrawDatesInBK(CFWL_ThemeBackground* pParams, CFX_Matrix* pMatrix);
41 void DrawDatesInCircle(CFWL_ThemeBackground* pParams, CFX_Matrix* pMatrix);
42 void DrawTodayCircle(CFWL_ThemeBackground* pParams, CFX_Matrix* pMatrix);
43 void DrawHSeperator(CFWL_ThemeBackground* pParams, CFX_Matrix* pMatrix);
[all …]
Dcfwl_barcodetp.cpp17 void CFWL_BarcodeTP::DrawBackground(CFWL_ThemeBackground* pParams) { in DrawBackground() argument
18 if (!pParams) in DrawBackground()
21 switch (pParams->m_iPart) { in DrawBackground()
23 DrawBorder(pParams->m_pGraphics, &pParams->m_rtPart, &pParams->m_matrix); in DrawBackground()
27 FillBackground(pParams->m_pGraphics, &pParams->m_rtPart, in DrawBackground()
28 &pParams->m_matrix); in DrawBackground()
Dcfwl_carettp.cpp18 void CFWL_CaretTP::DrawBackground(CFWL_ThemeBackground* pParams) { in DrawBackground() argument
19 if (!pParams) in DrawBackground()
22 switch (pParams->m_iPart) { in DrawBackground()
24 if (!(pParams->m_dwStates & CFWL_PartState_HightLight)) in DrawBackground()
27 DrawCaretBK(pParams->m_pGraphics, pParams->m_dwStates, in DrawBackground()
28 &(pParams->m_rtPart), (CXFA_GEColor*)pParams->m_pData, in DrawBackground()
29 &(pParams->m_matrix)); in DrawBackground()
Dcfwl_pushbuttontp.cpp24 void CFWL_PushButtonTP::DrawBackground(CFWL_ThemeBackground* pParams) { in DrawBackground() argument
25 switch (pParams->m_iPart) { in DrawBackground()
27 DrawBorder(pParams->m_pGraphics, &pParams->m_rtPart, &pParams->m_matrix); in DrawBackground()
31 CFX_RectF& rect = pParams->m_rtPart; in DrawBackground()
54 CXFA_Graphics* pGraphics = pParams->m_pGraphics; in DrawBackground()
63 int32_t iColor = GetColorID(pParams->m_dwStates); in DrawBackground()
68 FXFILL_ALTERNATE, &pParams->m_matrix); in DrawBackground()
71 pGraphics->StrokePath(&strokePath, &pParams->m_matrix); in DrawBackground()
78 pGraphics->FillPath(&fillPath, FXFILL_WINDING, &pParams->m_matrix); in DrawBackground()
79 if (pParams->m_dwStates & CFWL_PartState_Focused) { in DrawBackground()
[all …]
Dcfwl_pictureboxtp.cpp17 void CFWL_PictureBoxTP::DrawBackground(CFWL_ThemeBackground* pParams) { in DrawBackground() argument
18 if (!pParams) in DrawBackground()
21 switch (pParams->m_iPart) { in DrawBackground()
23 DrawBorder(pParams->m_pGraphics, &pParams->m_rtPart, &pParams->m_matrix); in DrawBackground()
Dcfwl_scrollbartp.cpp28 void CFWL_ScrollBarTP::DrawBackground(CFWL_ThemeBackground* pParams) { in DrawBackground() argument
29 if (!pParams) in DrawBackground()
32 CFWL_Widget* pWidget = pParams->m_pWidget; in DrawBackground()
34 if (pParams->m_dwStates & CFWL_PartState_Hovered) in DrawBackground()
36 else if (pParams->m_dwStates & CFWL_PartState_Pressed) in DrawBackground()
38 else if (pParams->m_dwStates & CFWL_PartState_Disabled) in DrawBackground()
41 CXFA_Graphics* pGraphics = pParams->m_pGraphics; in DrawBackground()
42 CFX_RectF* pRect = &pParams->m_rtPart; in DrawBackground()
44 switch (pParams->m_iPart) { in DrawBackground()
48 eState, &pParams->m_matrix); in DrawBackground()
[all …]
Dcfwl_checkboxtp.cpp56 void CFWL_CheckBoxTP::DrawText(CFWL_ThemeText* pParams) { in DrawText() argument
60 m_pTextOut->SetTextColor(pParams->m_dwStates & CFWL_PartState_Disabled in DrawText()
63 CFWL_WidgetTP::DrawText(pParams); in DrawText()
272 void CFWL_CheckBoxTP::DrawBackground(CFWL_ThemeBackground* pParams) { in DrawBackground() argument
273 if (pParams->m_iPart != CFWL_Part::CheckBox) in DrawBackground()
276 if ((pParams->m_dwStates & CFWL_PartState_Checked) || in DrawBackground()
277 (pParams->m_dwStates & CFWL_PartState_Neutral)) { in DrawBackground()
278 DrawCheckSign(pParams->m_pWidget, pParams->m_pGraphics, pParams->m_rtPart, in DrawBackground()
279 pParams->m_dwStates, &pParams->m_matrix); in DrawBackground()
Dcfwl_comboboxtp.h18 void DrawBackground(CFWL_ThemeBackground* pParams) override;
21 void DrawDropDownButton(CFWL_ThemeBackground* pParams,
24 void DrawStrethHandler(CFWL_ThemeBackground* pParams,
Dcfwl_widgettp.cpp38 void CFWL_WidgetTP::DrawBackground(CFWL_ThemeBackground* pParams) {} in DrawBackground() argument
40 void CFWL_WidgetTP::DrawText(CFWL_ThemeText* pParams) { in DrawText() argument
44 int32_t iLen = pParams->m_wsText.GetLength(); in DrawText()
48 CXFA_Graphics* pGraphics = pParams->m_pGraphics; in DrawText()
49 m_pTextOut->SetStyles(pParams->m_dwTTOStyles); in DrawText()
50 m_pTextOut->SetAlignment(pParams->m_iTTOAlign); in DrawText()
52 CFX_Matrix* pMatrix = &pParams->m_matrix; in DrawText()
56 WideStringView(pParams->m_wsText.c_str(), iLen), in DrawText()
57 pParams->m_rtPart); in DrawText()
/external/pdfium/xfa/fxfa/
Dcxfa_fwltheme.cpp82 void CXFA_FWLTheme::DrawBackground(CFWL_ThemeBackground* pParams) { in DrawBackground() argument
83 GetTheme(pParams->m_pWidget)->DrawBackground(pParams); in DrawBackground()
86 void CXFA_FWLTheme::DrawText(CFWL_ThemeText* pParams) { in DrawText() argument
87 if (pParams->m_wsText.IsEmpty()) in DrawText()
90 if (pParams->m_pWidget->GetClassID() == FWL_Type::MonthCalendar) { in DrawText()
91 CXFA_FFWidget* pWidget = XFA_ThemeGetOuterWidget(pParams->m_pWidget); in DrawText()
95 m_pTextOut->SetStyles(pParams->m_dwTTOStyles); in DrawText()
96 m_pTextOut->SetAlignment(pParams->m_iTTOAlign); in DrawText()
100 if ((pParams->m_iPart == CFWL_Part::DatesIn) && in DrawText()
101 !(pParams->m_dwStates & FWL_ITEMSTATE_MCD_Flag) && in DrawText()
[all …]
Dcxfa_fwltheme.h33 void DrawBackground(CFWL_ThemeBackground* pParams) override;
34 void DrawText(CFWL_ThemeText* pParams) override;
35 void CalcTextRect(CFWL_ThemeText* pParams, CFX_RectF& rect) override;
/external/mesa3d/src/gallium/state_trackers/nine/
Dswapchain9.c44 struct NineUnknownParams *pParams, in NineSwapChain9_ctor() argument
55 This, pParams->device, pPresent, pCTX, hFocusWindow); in NineSwapChain9_ctor()
57 hr = NineUnknown_ctor(&This->base, pParams); in NineSwapChain9_ctor()
128 D3DPRESENT_PARAMETERS *pParams );
132 D3DPRESENT_PARAMETERS *pParams, in NineSwapChain9_Resize() argument
145 DBG("This=%p pParams=%p\n", This, pParams); in NineSwapChain9_Resize()
146 user_assert(pParams != NULL, E_POINTER); in NineSwapChain9_Resize()
147 user_assert(pParams->SwapEffect, D3DERR_INVALIDCALL); in NineSwapChain9_Resize()
148 user_assert((pParams->SwapEffect != D3DSWAPEFFECT_COPY) || in NineSwapChain9_Resize()
149 (pParams->BackBufferCount <= 1), D3DERR_INVALIDCALL); in NineSwapChain9_Resize()
[all …]
Diunknown.c35 struct NineUnknownParams *pParams ) in NineUnknown_ctor() argument
37 This->refs = pParams->container ? 0 : 1; in NineUnknown_ctor()
40 This->container = pParams->container; in NineUnknown_ctor()
41 This->device = pParams->device; in NineUnknown_ctor()
45 This->vtable = pParams->vtable; in NineUnknown_ctor()
46 This->vtable_internal = pParams->vtable; in NineUnknown_ctor()
47 This->guids = pParams->guids; in NineUnknown_ctor()
48 This->dtor = pParams->dtor; in NineUnknown_ctor()
Dindexbuffer9.c40 struct NineUnknownParams *pParams, in NineIndexBuffer9_ctor() argument
45 This, pParams, pDesc, nine_D3DUSAGE_to_str(pDesc->Usage)); in NineIndexBuffer9_ctor()
47 hr = NineBuffer9_ctor(&This->base, pParams, D3DRTYPE_INDEXBUFFER, in NineIndexBuffer9_ctor()
Dswapchain9ex.c32 struct NineUnknownParams *pParams, in NineSwapChain9Ex_ctor() argument
42 This, pParams, (int) implicit, pPresent, pPresentationParameters, pCTX, hFocusWindow, mode); in NineSwapChain9Ex_ctor()
44 return NineSwapChain9_ctor(&This->base, pParams, implicit, pPresent, in NineSwapChain9Ex_ctor()
/external/pdfium/core/fpdfapi/parser/
Dfpdf_parser_decode.cpp260 const CPDF_Dictionary* pParams) { in FPDFAPI_CreateFaxDecoder() argument
267 if (pParams) { in FPDFAPI_CreateFaxDecoder()
268 K = pParams->GetIntegerFor("K"); in FPDFAPI_CreateFaxDecoder()
269 EndOfLine = !!pParams->GetIntegerFor("EndOfLine"); in FPDFAPI_CreateFaxDecoder()
270 ByteAlign = !!pParams->GetIntegerFor("EncodedByteAlign"); in FPDFAPI_CreateFaxDecoder()
271 BlackIs1 = !!pParams->GetIntegerFor("BlackIs1"); in FPDFAPI_CreateFaxDecoder()
272 Columns = pParams->GetIntegerFor("Columns", 1728); in FPDFAPI_CreateFaxDecoder()
273 Rows = pParams->GetIntegerFor("Rows"); in FPDFAPI_CreateFaxDecoder()
289 const CPDF_Dictionary* pParams) { in FPDFAPI_CreateFlateDecoder() argument
294 if (pParams) { in FPDFAPI_CreateFlateDecoder()
[all …]
Dfpdf_parser_decode.h57 const CPDF_Dictionary* pParams);
66 const CPDF_Dictionary* pParams);
81 CPDF_Dictionary* pParams,
/external/aac/libAACdec/src/
Daacdec_drc.cpp160 CDrcParams *pParams; in aacDecoder_drcInit() local
171 pParams = &self->params; in aacDecoder_drcInit()
172 pParams->bsDelayEnable = 0; in aacDecoder_drcInit()
173 pParams->cut = FL2FXCONST_DBL(0.0f); in aacDecoder_drcInit()
174 pParams->usrCut = FL2FXCONST_DBL(0.0f); in aacDecoder_drcInit()
175 pParams->boost = FL2FXCONST_DBL(0.0f); in aacDecoder_drcInit()
176 pParams->usrBoost = FL2FXCONST_DBL(0.0f); in aacDecoder_drcInit()
177 pParams->targetRefLevel = 96; in aacDecoder_drcInit()
178 pParams->expiryFrame = AACDEC_DRC_DFLT_EXPIRY_FRAMES; in aacDecoder_drcInit()
179 pParams->applyDigitalNorm = ON; in aacDecoder_drcInit()
[all …]
/external/sonivox/arm-wt-22k/lib_src/
Deas_pcm.c327 EAS_RESULT EAS_PEOpenStream (S_EAS_DATA *pEASData, S_PCM_OPEN_PARAMS *pParams, EAS_PCM_HANDLE *pHan… in EAS_PEOpenStream() argument
334 if (pParams->decoder >= NUM_DECODER_MODULES) in EAS_PEOpenStream()
339 if (decoders[pParams->decoder] == NULL) in EAS_PEOpenStream()
346 …if ((pState = FindSlot(pEASData, pParams->fileHandle, pParams->pCallbackFunc, pParams->cbInstData)… in EAS_PEOpenStream()
360 pState->pDecoder = decoders[pParams->decoder]; in EAS_PEOpenStream()
362 pState->bytesLeftLoop = pState->byteCount = pParams->size; in EAS_PEOpenStream()
363 pState->loopStart = pParams->loopStart; in EAS_PEOpenStream()
365 pState->loopSamples = pParams->loopSamples; in EAS_PEOpenStream()
367 pState->blockSize = (EAS_U16) pParams->blockSize; in EAS_PEOpenStream()
368 pState->flags = pParams->flags; in EAS_PEOpenStream()
[all …]
/external/pdfium/xfa/fwl/
Difwl_themeprovider.h24 virtual void DrawBackground(CFWL_ThemeBackground* pParams) = 0;
25 virtual void DrawText(CFWL_ThemeText* pParams) = 0;
26 virtual void CalcTextRect(CFWL_ThemeText* pParams, CFX_RectF& rect) = 0;

1234