Searched defs:shortEdge (Results 1 - 2 of 2) sorted by relevance

/external/skia/src/codec/
H A DSkRawCodec.cpp734 const float shortEdge = static_cast<float>(SkTMin(dim.fWidth, dim.fHeight)); local
735 if (desiredScale < 80.f / shortEdge) {
736 desiredScale = 80.f / shortEdge;
754 const float shortEdge = static_cast<float>(SkTMin(dim.fWidth, dim.fHeight)); local
756 SkISize sizeFloor = this->onGetScaledDimensions(1.f / std::floor(fullShortEdge / shortEdge));
757 SkISize sizeCeil = this->onGetScaledDimensions(1.f / std::ceil(fullShortEdge / shortEdge));
/external/skia/tests/
H A DPathOpsAngleIdeas.cpp726 SkDVector shortEdge = quad[1] - quad[0]; local
727 double shortLen = shortEdge.length();

Completed in 1417 milliseconds