Home
last modified time | relevance | path

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

/third_party/flutter/skia/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()
/third_party/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()
/third_party/flutter/skia/tests/
DPathOpsAngleIdeas.cpp743 SkDVector shortEdge = quad[1] - quad[0]; in endCtrlRatio() local
744 double shortLen = shortEdge.length(); in endCtrlRatio()
/third_party/skia/tests/
DPathOpsAngleIdeas.cpp740 SkDVector shortEdge = quad[1] - quad[0]; in endCtrlRatio() local
741 double shortLen = shortEdge.length(); in endCtrlRatio()