Home
last modified time | relevance | path

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

/external/webrtc/sdk/android/api/org/webrtc/
DVideoSource.java91 final int maxSide = Math.max(width, height); in adaptOutputFormat() local
93 adaptOutputFormat(maxSide, minSide, minSide, maxSide, fps); in adaptOutputFormat()
/external/skia/samplecode/
DSampleQuadStroker.cpp474 SkScalar maxSide = std::max(rect.width(), rect.height()) / 2; in draw_fill() local
475 SkPoint center = { rect.fLeft + maxSide, rect.fTop + maxSide }; in draw_fill()
476 path.addCircle(center.fX, center.fY, maxSide); in draw_fill()
480 path.addCircle(center.fX, center.fY, maxSide - width / 2); in draw_fill()
485 path.addCircle(center.fX, center.fY, maxSide + width / 2); in draw_fill()
486 SkRect outside = SkRect::MakeXYWH(center.fX - maxSide - width, center.fY - maxSide - width, in draw_fill()
487 (maxSide + width) * 2, (maxSide + width) * 2); in draw_fill()
/external/skqp/samplecode/
DSampleQuadStroker.cpp484 SkScalar maxSide = SkTMax(rect.width(), rect.height()) / 2; in draw_fill() local
485 SkPoint center = { rect.fLeft + maxSide, rect.fTop + maxSide }; in draw_fill()
486 path.addCircle(center.fX, center.fY, maxSide); in draw_fill()
490 path.addCircle(center.fX, center.fY, maxSide - width / 2); in draw_fill()
495 path.addCircle(center.fX, center.fY, maxSide + width / 2); in draw_fill()
496 SkRect outside = SkRect::MakeXYWH(center.fX - maxSide - width, center.fY - maxSide - width, in draw_fill()
497 (maxSide + width) * 2, (maxSide + width) * 2); in draw_fill()
/external/tensorflow/tensorflow/lite/java/ovic/src/main/java/org/tensorflow/ovic/
DOvicDetector.java83 int maxSide = Math.max(inputDims[1], inputDims[2]); in OvicDetector() local
84 if (minSide <= 0 || maxSide > 1000) { in OvicDetector()
DOvicClassifier.java91 int maxSide = Math.max(inputDims[1], inputDims[2]); in OvicClassifier() local
92 if (minSide <= 0 || maxSide > 1000) { in OvicClassifier()