Home
last modified time | relevance | path

Searched refs:PWL_MAX (Results 1 – 4 of 4) sorted by relevance

/external/pdfium/fpdfsdk/src/pdfwindow/
DPWL_Icon.cpp218 fHScale = fPlateWidth / PWL_MAX(fImageWidth,1.0f); in GetScale()
219 fVScale = fPlateHeight / PWL_MAX(fImageHeight,1.0f); in GetScale()
223 fHScale = fPlateWidth / PWL_MAX(fImageWidth,1.0f); in GetScale()
225 fVScale = fPlateHeight / PWL_MAX(fImageHeight,1.0f); in GetScale()
229 fHScale = fPlateWidth / PWL_MAX(fImageWidth,1.0f); in GetScale()
231 fVScale = fPlateHeight / PWL_MAX(fImageHeight,1.0f); in GetScale()
DPWL_Utils.cpp78 rcRet.right = PWL_MAX(rect1.right,rect2.right); in MaxRect()
79 rcRet.top = PWL_MAX(rect1.top,rect2.top); in MaxRect()
1167 sRet.fColor1 = PWL_MAX(1 - fColorSub,0.0f); in SubstractColor()
1168 sRet.fColor2 = PWL_MAX(1 - fColorSub,0.0f); in SubstractColor()
1169 sRet.fColor3 = PWL_MAX(1 - fColorSub,0.0f); in SubstractColor()
1174 sRet.fColor1 = PWL_MAX(sColor.fColor1 - fColorSub,0.0f); in SubstractColor()
1175 sRet.fColor2 = PWL_MAX(sColor.fColor2 - fColorSub,0.0f); in SubstractColor()
1176 sRet.fColor3 = PWL_MAX(sColor.fColor3 - fColorSub,0.0f); in SubstractColor()
1177 sRet.fColor4 = PWL_MAX(sColor.fColor4 - fColorSub,0.0f); in SubstractColor()
DPWL_Note.cpp760 …rcDate.left = PWL_MAX(rcDate.right - m_pDateTime->GetContentRect().Width() - 1.0f, rcSubject.right… in RePosChildWnd()
1353 …rcDate.left = PWL_MAX(rcDate.right - m_pDateTime->GetContentRect().Width() - 1.0f, rcIcon.right + … in RePosNoteChildren()
1370 …rcOptions.left = PWL_MAX(rcOptions.right - m_pOptions->GetContentRect().Width(), rcIcon.right + 1.… in RePosNoteChildren()
/external/pdfium/fpdfsdk/include/pdfwindow/
DPWL_Utils.h11 template<class T> T PWL_MAX (const T & i, const T & j) { return ((i > j) ? i : j); } in PWL_MAX() function