Home
last modified time | relevance | path

Searched refs:shortEdge (Results 1 – 5 of 5) sorted by relevance

/external/skia/src/codec/
DSkRawCodec.cpp763 const float shortEdge = static_cast<float>(std::min(dim.fWidth, dim.fHeight)); in onGetScaledDimensions() local
764 if (desiredScale < 80.f / shortEdge) { in onGetScaledDimensions()
765 desiredScale = 80.f / shortEdge; in onGetScaledDimensions()
783 const float shortEdge = static_cast<float>(std::min(dim.fWidth, dim.fHeight)); in onDimensionsSupported() local
785 SkISize sizeFloor = this->onGetScaledDimensions(1.f / std::floor(fullShortEdge / shortEdge)); in onDimensionsSupported()
786 SkISize sizeCeil = this->onGetScaledDimensions(1.f / std::ceil(fullShortEdge / shortEdge)); in onDimensionsSupported()
/external/skqp/src/codec/
DSkRawCodec.cpp763 const float shortEdge = static_cast<float>(SkTMin(dim.fWidth, dim.fHeight)); in onGetScaledDimensions() local
764 if (desiredScale < 80.f / shortEdge) { in onGetScaledDimensions()
765 desiredScale = 80.f / shortEdge; in onGetScaledDimensions()
783 const float shortEdge = static_cast<float>(SkTMin(dim.fWidth, dim.fHeight)); in onDimensionsSupported() local
785 SkISize sizeFloor = this->onGetScaledDimensions(1.f / std::floor(fullShortEdge / shortEdge)); in onDimensionsSupported()
786 SkISize sizeCeil = this->onGetScaledDimensions(1.f / std::ceil(fullShortEdge / shortEdge)); in onDimensionsSupported()
/external/skqp/tests/
DPathOpsAngleIdeas.cpp743 SkDVector shortEdge = quad[1] - quad[0]; in endCtrlRatio() local
744 double shortLen = shortEdge.length(); in endCtrlRatio()
/external/skia/tests/
DPathOpsAngleIdeas.cpp743 SkDVector shortEdge = quad[1] - quad[0]; in endCtrlRatio() local
744 double shortLen = shortEdge.length(); in endCtrlRatio()
/external/pdfium/xfa/fxfa/parser/
Dattribute_values.inc20 VALUE____(0x051aafe5u, "shortEdge", ShortEdge)