Home
last modified time | relevance | path

Searched refs:fCapReserve (Results 1 – 3 of 3) sorted by relevance

/external/pdfium/xfa/fxfa/
Dcxfa_ffcheckbutton.cpp102 float fCapReserve = 0; in PerformLayout() local
107 fCapReserve = caption->GetReserve(); in PerformLayout()
108 if (fCapReserve <= 0) { in PerformLayout()
111 fCapReserve = rtWidget.height - fCheckSize; in PerformLayout()
113 fCapReserve = rtWidget.width - fCheckSize; in PerformLayout()
130 m_rtCaption.width = fCapReserve; in PerformLayout()
132 m_rtUI.width -= fCapReserve; in PerformLayout()
133 m_rtUI.left += fCapReserve; in PerformLayout()
137 m_rtCaption.height = fCapReserve; in PerformLayout()
139 m_rtUI.height -= fCapReserve; in PerformLayout()
[all …]
Dcxfa_fffield.cpp209 float fCapReserve = 0; in CapPlacement() local
219 fCapReserve = caption->GetReserve(); in CapPlacement()
222 fCapReserve = std::min(fCapReserve, rtWidget.height); in CapPlacement()
224 fCapReserve = std::min(fCapReserve, rtWidget.width); in CapPlacement()
241 if (fCapReserve <= 0 && pCapTextLayout) { in CapPlacement()
247 fCapReserve = size.height; in CapPlacement()
249 fCapReserve = size.width; in CapPlacement()
259 m_rtCaption.width = fCapReserve; in CapPlacement()
261 m_rtUI.width -= fCapReserve; in CapPlacement()
262 m_rtUI.left += fCapReserve; in CapPlacement()
[all …]
/external/pdfium/xfa/fxfa/parser/
Dcxfa_node.cpp3129 const float fCapReserve = caption->GetReserve(); in CalcCaptionSize() local
3131 const bool bReserveExit = fCapReserve > 0.01; in CalcCaptionSize()
3138 pszCap->width = fCapReserve; in CalcCaptionSize()
3143 bVert ? pszCap->height = fCapReserve : pszCap->width = fCapReserve; in CalcCaptionSize()
3156 pszCap->height = fCapReserve > 0 ? fCapReserve : fFontSize; in CalcCaptionSize()
3158 pszCap->width = fCapReserve > 0 ? fCapReserve : 0; in CalcCaptionSize()
3608 float fCapReserve = 0; in FindSplitPos() local
3613 fCapReserve = caption->GetReserve(); in FindSplitPos()
3616 fCalcHeight < fCapReserve + fTopInset) { in FindSplitPos()
3620 m_pLayoutData->m_fWidgetHeight - fCapReserve - fBottomInset) { in FindSplitPos()
[all …]