/external/pdfium/xfa/fwl/theme/ |
D | cfwl_monthcalendartp.cpp | 34 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 …]
|
D | cfwl_edittp.cpp | 21 void CFWL_EditTP::DrawBackground(CFWL_ThemeBackground* pParams) { in DrawBackground() argument 22 if (CFWL_Part::CombTextLine == pParams->m_iPart) { in DrawBackground() 23 CXFA_FFWidget* pWidget = XFA_ThemeGetOuterWidget(pParams->m_pWidget); in DrawBackground() 34 pParams->m_pGraphics->SetStrokeColor(&crLine); in DrawBackground() 35 pParams->m_pGraphics->SetLineWidth(fWidth); in DrawBackground() 36 pParams->m_pGraphics->StrokePath(pParams->m_pPath, &pParams->m_matrix); in DrawBackground() 40 switch (pParams->m_iPart) { in DrawBackground() 42 DrawBorder(pParams->m_pGraphics, &pParams->m_rtPart, &pParams->m_matrix); in DrawBackground() 46 if (pParams->m_pPath) { in DrawBackground() 47 CFX_Graphics* pGraphics = pParams->m_pGraphics; in DrawBackground() [all …]
|
D | cfwl_comboboxtp.cpp | 20 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() 46 pParams->m_pGraphics->SetFillColor(&cr); in DrawBackground() 47 pParams->m_pGraphics->FillPath(&path, FXFILL_WINDING, &pParams->m_matrix); in DrawBackground() 48 pParams->m_pGraphics->RestoreGraphState(); in DrawBackground() [all …]
|
D | cfwl_listboxtp.cpp | 19 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 …]
|
D | cfwl_datetimepickertp.cpp | 16 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()
|
D | cfwl_monthcalendartp.h | 22 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 …]
|
D | cfwl_barcodetp.cpp | 17 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()
|
D | cfwl_carettp.cpp | 18 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), (CFX_Color*)pParams->m_pData, in DrawBackground() 29 &(pParams->m_matrix)); in DrawBackground()
|
D | cfwl_pushbuttontp.cpp | 24 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 CFX_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() 72 pGraphics->StrokePath(&strokePath, &pParams->m_matrix); in DrawBackground() 80 pGraphics->FillPath(&fillPath, FXFILL_WINDING, &pParams->m_matrix); in DrawBackground() 81 if (pParams->m_dwStates & CFWL_PartState_Focused) { in DrawBackground() [all …]
|
D | cfwl_pictureboxtp.cpp | 17 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()
|
D | cfwl_scrollbartp.cpp | 28 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 CFX_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 …]
|
D | cfwl_checkboxtp.cpp | 49 void CFWL_CheckBoxTP::DrawText(CFWL_ThemeText* pParams) { in DrawText() argument 53 m_pTextOut->SetTextColor(pParams->m_dwStates & CFWL_PartState_Disabled in DrawText() 56 CFWL_WidgetTP::DrawText(pParams); in DrawText() 273 void CFWL_CheckBoxTP::DrawBackground(CFWL_ThemeBackground* pParams) { in DrawBackground() argument 274 if (pParams->m_iPart != CFWL_Part::CheckBox) in DrawBackground() 277 if ((pParams->m_dwStates & CFWL_PartState_Checked) || in DrawBackground() 278 (pParams->m_dwStates & CFWL_PartState_Neutral)) { in DrawBackground() 279 DrawCheckSign(pParams->m_pWidget, pParams->m_pGraphics, pParams->m_rtPart, in DrawBackground() 280 pParams->m_dwStates, &pParams->m_matrix); in DrawBackground()
|
D | cfwl_comboboxtp.h | 18 void DrawBackground(CFWL_ThemeBackground* pParams) override; 21 void DrawDropDownButton(CFWL_ThemeBackground* pParams, 24 void DrawStrethHandler(CFWL_ThemeBackground* pParams,
|
D | cfwl_widgettp.cpp | 38 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 CFX_Graphics* pGraphics = pParams->m_pGraphics; in DrawText() 50 m_pTextOut->SetStyles(pParams->m_dwTTOStyles); in DrawText() 51 m_pTextOut->SetAlignment(pParams->m_iTTOAlign); in DrawText() 53 CFX_Matrix* pMatrix = &pParams->m_matrix; in DrawText() 56 m_pTextOut->DrawLogicText(pParams->m_wsText.c_str(), iLen, pParams->m_rtPart); in DrawText()
|
D | cfwl_datetimepickertp.h | 18 void DrawBackground(CFWL_ThemeBackground* pParams) override; 21 void DrawDropDownButton(CFWL_ThemeBackground* pParams, CFX_Matrix* pMatrix);
|
/external/pdfium/xfa/fxfa/app/ |
D | xfa_fwltheme.cpp | 81 void CXFA_FWLTheme::DrawBackground(CFWL_ThemeBackground* pParams) { in DrawBackground() argument 82 GetTheme(pParams->m_pWidget)->DrawBackground(pParams); in DrawBackground() 85 void CXFA_FWLTheme::DrawText(CFWL_ThemeText* pParams) { in DrawText() argument 86 if (pParams->m_wsText.IsEmpty()) in DrawText() 89 if (pParams->m_pWidget->GetClassID() == FWL_Type::MonthCalendar) { in DrawText() 90 CXFA_FFWidget* pWidget = XFA_ThemeGetOuterWidget(pParams->m_pWidget); in DrawText() 94 m_pTextOut->SetStyles(pParams->m_dwTTOStyles); in DrawText() 95 m_pTextOut->SetAlignment(pParams->m_iTTOAlign); in DrawText() 99 if ((pParams->m_iPart == CFWL_Part::DatesIn) && in DrawText() 100 !(pParams->m_dwStates & FWL_ITEMSTATE_MCD_Flag) && in DrawText() [all …]
|
D | xfa_fwltheme.h | 33 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/ |
D | swapchain9.c | 44 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 …]
|
D | iunknown.c | 35 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()
|
D | swapchain9ex.c | 32 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/ |
D | fpdf_parser_decode.cpp | 253 const CPDF_Dictionary* pParams) { in FPDFAPI_CreateFaxDecoder() argument 260 if (pParams) { in FPDFAPI_CreateFaxDecoder() 261 K = pParams->GetIntegerFor("K"); in FPDFAPI_CreateFaxDecoder() 262 EndOfLine = !!pParams->GetIntegerFor("EndOfLine"); in FPDFAPI_CreateFaxDecoder() 263 ByteAlign = !!pParams->GetIntegerFor("EncodedByteAlign"); in FPDFAPI_CreateFaxDecoder() 264 BlackIs1 = !!pParams->GetIntegerFor("BlackIs1"); in FPDFAPI_CreateFaxDecoder() 265 Columns = pParams->GetIntegerFor("Columns", 1728); in FPDFAPI_CreateFaxDecoder() 266 Rows = pParams->GetIntegerFor("Rows"); in FPDFAPI_CreateFaxDecoder() 283 const CPDF_Dictionary* pParams) { in FPDFAPI_CreateFlateDecoder() argument 286 if (pParams) { in FPDFAPI_CreateFlateDecoder() [all …]
|
/external/aac/libAACdec/src/ |
D | aacdec_drc.cpp | 124 CDrcParams *pParams; in aacDecoder_drcInit() local 135 pParams = &self->params; in aacDecoder_drcInit() 136 pParams->bsDelayEnable = 0; in aacDecoder_drcInit() 137 pParams->cut = FL2FXCONST_DBL(0.0f); in aacDecoder_drcInit() 138 pParams->usrCut = FL2FXCONST_DBL(0.0f); in aacDecoder_drcInit() 139 pParams->boost = FL2FXCONST_DBL(0.0f); in aacDecoder_drcInit() 140 pParams->usrBoost = FL2FXCONST_DBL(0.0f); in aacDecoder_drcInit() 141 pParams->targetRefLevel = -1; in aacDecoder_drcInit() 142 pParams->expiryFrame = AACDEC_DRC_DFLT_EXPIRY_FRAMES; in aacDecoder_drcInit() 143 pParams->applyDigitalNorm = 0; in aacDecoder_drcInit() [all …]
|
/external/pdfium/xfa/fde/ |
D | cfde_txtedtpage.cpp | 241 const FDE_TXTEDTPARAMS* pParams = m_pEditEngine->GetEditParams(); in LoadPage() local 243 if (pParams->dwMode & FDE_TEXTEDITMODE_Password) { in LoadPage() 271 FX_FLOAT fLineStep = pParams->fLineSpace; in LoadPage() 316 FX_WCHAR wRtChar = pParams->wLineBreakChar; in LoadPage() 341 TxtEdtPiece.rtPiece.height = pParams->fLineSpace; in LoadPage() 366 if (m_rtPageContents.width < pParams->fPlateWidth) { in LoadPage() 367 if (pParams->dwAlignment & FDE_TEXTEDITALIGN_Right) { in LoadPage() 368 fDelta = pParams->fPlateWidth - m_rtPageContents.width; in LoadPage() 369 } else if (pParams->dwAlignment & FDE_TEXTEDITALIGN_Center) { in LoadPage() 370 if ((pParams->dwLayoutStyles & FDE_TEXTEDITLAYOUT_CombText) && in LoadPage() [all …]
|
/external/pdfium/xfa/fwl/ |
D | ifwl_themeprovider.h | 22 virtual void DrawBackground(CFWL_ThemeBackground* pParams) = 0; 23 virtual void DrawText(CFWL_ThemeText* pParams) = 0; 24 virtual void CalcTextRect(CFWL_ThemeText* pParams, CFX_RectF& rect) = 0;
|
/external/sonivox/arm-wt-22k/lib_src/ |
D | eas_pcm.c | 327 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 …]
|