Home
last modified time | relevance | path

Searched refs:eUnit (Results 1 – 14 of 14) sorted by relevance

/external/pdfium/xfa/src/fwl/src/core/
Dfwl_gridimp.cpp36 FX_FLOAT IFWL_Grid::GetSize(FWL_HGRIDCOLROW hColRow, FWL_GRIDUNIT& eUnit) { in GetSize() argument
37 return static_cast<CFWL_GridImp*>(GetImpl())->GetSize(hColRow, eUnit); in GetSize()
41 FWL_GRIDUNIT eUnit) { in SetSize() argument
42 return static_cast<CFWL_GridImp*>(GetImpl())->SetSize(hColRow, fSize, eUnit); in SetSize()
44 FX_FLOAT IFWL_Grid::GetMinSize(FWL_HGRIDCOLROW hColRow, FWL_GRIDUNIT& eUnit) { in GetMinSize() argument
45 return static_cast<CFWL_GridImp*>(GetImpl())->GetMinSize(hColRow, eUnit); in GetMinSize()
49 FWL_GRIDUNIT eUnit) { in SetMinSize() argument
51 ->SetMinSize(hColRow, fSize, eUnit); in SetMinSize()
53 FX_FLOAT IFWL_Grid::GetMaxSize(FWL_HGRIDCOLROW hColRow, FWL_GRIDUNIT& eUnit) { in GetMaxSize() argument
54 return static_cast<CFWL_GridImp*>(GetImpl())->GetMaxSize(hColRow, eUnit); in GetMaxSize()
[all …]
/external/pdfium/xfa/src/fwl/src/core/include/
Dfwl_gridimp.h17 CFWL_GridLength() : fLength(0), eUnit(FWL_GRIDUNIT_Fixed) {} in CFWL_GridLength()
19 : fLength(fValue), eUnit(e) {} in CFWL_GridLength()
21 FWL_GRIDUNIT eUnit; variable
47 m_Size[FWL_GRIDSIZE_Width].eUnit = FWL_GRIDUNIT_Auto; in CFWL_GridWidgetInfo()
49 m_Size[FWL_GRIDSIZE_Height].eUnit = FWL_GRIDUNIT_Auto; in CFWL_GridWidgetInfo()
51 m_Size[FWL_GRIDSIZE_MinWidth].eUnit = FWL_GRIDUNIT_Fixed; in CFWL_GridWidgetInfo()
53 m_Size[FWL_GRIDSIZE_MaxWidth].eUnit = FWL_GRIDUNIT_Infinity; in CFWL_GridWidgetInfo()
55 m_Size[FWL_GRIDSIZE_MinHeight].eUnit = FWL_GRIDUNIT_Fixed; in CFWL_GridWidgetInfo()
57 m_Size[FWL_GRIDSIZE_MaxHeight].eUnit = FWL_GRIDUNIT_Infinity; in CFWL_GridWidgetInfo()
91 virtual FX_FLOAT GetSize(FWL_HGRIDCOLROW hColRow, FWL_GRIDUNIT& eUnit);
[all …]
/external/pdfium/xfa/include/fwl/core/
Dfwl_grid.h47 FX_FLOAT GetSize(FWL_HGRIDCOLROW hColRow, FWL_GRIDUNIT& eUnit);
48 FWL_ERR SetSize(FWL_HGRIDCOLROW hColRow, FX_FLOAT fSize, FWL_GRIDUNIT eUnit);
49 FX_FLOAT GetMinSize(FWL_HGRIDCOLROW hColRow, FWL_GRIDUNIT& eUnit);
52 FWL_GRIDUNIT eUnit);
53 FX_FLOAT GetMaxSize(FWL_HGRIDCOLROW hColRow, FWL_GRIDUNIT& eUnit);
56 FWL_GRIDUNIT eUnit);
65 FWL_GRIDUNIT& eUnit);
77 FX_FLOAT GetGridSize(FWL_GRIDSIZE eSize, FWL_GRIDUNIT& eUnit);
/external/pdfium/xfa/src/fdp/include/
Dfde_css.h526 FDE_CSSLENGTH& Set(FDE_CSSLENGTHUNIT eUnit) { in Set()
527 m_iData = eUnit; in Set()
530 FDE_CSSLENGTH& Set(FDE_CSSLENGTHUNIT eUnit, FX_FLOAT fValue) { in Set()
531 m_iData = ((intptr_t)(fValue * 1024.0f) << FDE_CSSUNITBITS) | eUnit; in Set()
544 FDE_CSSPOINT& Set(FDE_CSSLENGTHUNIT eUnit) { in Set()
545 x.Set(eUnit); in Set()
546 y.Set(eUnit); in Set()
549 FDE_CSSPOINT& Set(FDE_CSSLENGTHUNIT eUnit, FX_FLOAT fValue) { in Set()
550 x.Set(eUnit, fValue); in Set()
551 y.Set(eUnit, fValue); in Set()
[all …]
/external/pdfium/xfa/include/fxfa/
Dfxfa_basic.h1032 void Set(FX_FLOAT fValue, XFA_UNIT eUnit) { in Set() argument
1034 m_eUnit = eUnit; in Set()
1040 FX_BOOL ToUnit(XFA_UNIT eUnit, FX_FLOAT& fValue) const;
1041 FX_FLOAT ToUnit(XFA_UNIT eUnit) const { in ToUnit() argument
1043 return ToUnit(eUnit, f) ? f : 0; in ToUnit()
1047 CXFA_Measurement(FX_FLOAT fValue, XFA_UNIT eUnit) { Set(fValue, eUnit); } in CXFA_Measurement() argument
Dfxfa_objectacc.h159 FX_BOOL SetLetterSpacing(FX_FLOAT fLetterSpacing, XFA_UNIT eUnit);
/external/pdfium/xfa/src/fxfa/src/parser/
Dxfa_basic_imp.cpp454 XFA_UNIT eUnit = GetUnit(wsMeasure.Mid(iOffset + iUsedLen)); in Set() local
455 Set(fValue, eUnit); in Set()
488 FX_BOOL CXFA_Measurement::ToUnit(XFA_UNIT eUnit, FX_FLOAT& fValue) const { in ToUnit() argument
491 if (eFrom == eUnit) { in ToUnit()
516 switch (eUnit) { in ToUnit()
Dxfa_objectacc_imp.cpp349 FX_BOOL CXFA_Font::SetLetterSpacing(FX_FLOAT fLetterSpacing, XFA_UNIT eUnit) { in SetLetterSpacing() argument
/external/pdfium/xfa/src/fdp/src/css/
Dfde_cssdatatable.cpp670 FDE_CSSPRIMITIVETYPE& eUnit) { in FDE_ParseCSSNumber() argument
679 eUnit = FDE_CSSPRIMITIVETYPE_Number; in FDE_ParseCSSNumber()
681 eUnit = FDE_CSSPRIMITIVETYPE_Percent; in FDE_ParseCSSNumber()
685 eUnit = (FDE_CSSPRIMITIVETYPE)pUnit->wValue; in FDE_ParseCSSNumber()
Dfde_cssdeclaration.cpp76 FDE_CSSPRIMITIVETYPE eUnit, in NewNumberValue() argument
79 if (eUnit == FDE_CSSPRIMITIVETYPE_Number && FXSYS_fabs(fValue) < 0.001f) { in NewNumberValue()
82 return FDE_NewWith(pStaticStore) CFDE_CSSPrimitiveValue(eUnit, fValue); in NewNumberValue()
286 FDE_CSSPRIMITIVETYPE eUnit; in ParseNumber() local
287 if (!FDE_ParseCSSNumber(pszValue, iValueLen, fValue, eUnit)) { in ParseNumber()
290 return NewNumberValue(pArgs->pStaticStore, eUnit, fValue); in ParseNumber()
Dfde_cssdeclaration.h142 FDE_CSSPRIMITIVETYPE eUnit,
Dfde_cssdatatable.h182 FDE_CSSPRIMITIVETYPE& eUnit);
Dfde_cssstyleselector.cpp1139 FX_FLOAT CFDE_CSSStyleSelector::ApplyNumber(FDE_CSSPRIMITIVETYPE eUnit, in ApplyNumber() argument
1142 switch (eUnit) { in ApplyNumber()
Dfde_cssstyleselector.h126 FX_FLOAT ApplyNumber(FDE_CSSPRIMITIVETYPE eUnit,