/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/ |
H A D | LineRegion.java | 24 private Number minVal;
field in class:LineRegion 42 return maxVal.doubleValue() - minVal.doubleValue();
51 return value.doubleValue() >= minVal.doubleValue() && value.doubleValue() <= maxVal.doubleValue();
74 if(line2Min.doubleValue() <= this.minVal.doubleValue() && line2Max.doubleValue() >= this.maxVal.doubleValue()) {
81 return minVal;
84 public void setMinVal(Number minVal) {
argument 85 if(minVal == null) {
88 this.minVal = minVal;
|
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/xy/ |
H A D | XYStepCalculator.java | 34 * @param minVal
38 public static XYStep getStep(XYPlot plot, XYAxisType axisType, RectF rect, Number minVal, Number maxVal) {
argument 42 step = getStep(plot.getDomainStepMode(), rect.width(), plot.getDomainStepValue(), minVal, maxVal);
45 step = getStep(plot.getRangeStepMode(), rect.height(), plot.getRangeStepValue(), minVal, maxVal);
51 public static XYStep getStep(XYStepMode typeXY, float plotPixelSize, double stepValue, Number minVal, Number maxVal) {
argument 59 stepPix = (float)(stepValue/ ValPixConverter.valPerPix(minVal.doubleValue(), maxVal.doubleValue(), plotPixelSize));
65 stepVal = ValPixConverter.valPerPix(minVal.doubleValue(), maxVal.doubleValue(), plotPixelSize)*stepPix;
70 stepVal = ValPixConverter.valPerPix(minVal.doubleValue(), maxVal.doubleValue(), plotPixelSize)*stepPix;
|
/external/androidplot/AndroidPlot-Core/src/test/java/com/androidplot/xy/ |
H A D | XYStepCalculatorTest.java | 45 double minVal = 0;
47 XYStep step = XYStepCalculator.getStep(XYStepMode.SUBDIVIDE, plotSize, numSegments, minVal, maxVal);
53 minVal = 1000000000;
55 step = XYStepCalculator.getStep(XYStepMode.SUBDIVIDE, plotSize, numSegments, minVal, maxVal);
|
/external/aac/libAACenc/src/ |
H A D | noisedet.cpp | 175 FIXP_DBL fhelp1, fhelp2, fhelp3, fhelp4, maxVal, minVal; local 197 minVal = fixMin(fhelp1, fhelp2); 198 minVal = fixMin(minVal, fhelp3); 199 minVal = fixMin(minVal, fhelp4); 204 refVal = minVal << leadingBits;
|
/external/deqp/framework/randomshaders/ |
H A D | rsgUtils.cpp | 67 float minVal = valueRange.component(ndx).getMin().asFloat(); local 69 dst.component(ndx).asFloat() = getQuantizedFloat(rnd, minVal, maxVal, quantizeStep); 76 int minVal = valueRange.component(ndx).getMin().asBool() ? 1 : 0; local 78 dst.component(ndx).asBool() = rnd.getInt(minVal, maxVal) == 1; 87 int minVal = valueRange.component(ndx).getMin().asInt(); local 89 dst.component(ndx).asInt() = rnd.getInt(minVal, maxVal); 195 bool minVal = rnd.getBool(); local 196 bool maxVal = minVal ? true : rnd.getBool(); 197 valueRange.getMin().component(ndx).asBool() = minVal; 210 int minVal local 228 float minVal = minFloatVal + step*(float)minStep; local 304 float minVal = valueRange.component(ndx).getMin().asFloat(); local 313 int minVal = valueRange.component(ndx).getMin().asBool() ? 1 : 0; local 324 int minVal = valueRange.component(ndx).getMin().asInt(); local [all...] |
H A D | rsgExpression.cpp | 187 int minVal = minIntVal + rnd.getInt(0, maxRangeLen-rangeLen); local 188 int maxVal = minVal + rangeLen; 190 valueRange.getMin().component(ndx).asInt() = minVal; 209 float minVal = minFloatVal + step*(float)minStep; local 210 float maxVal = minVal + step*(float)rangeLen; 212 valueRange.getMin().component(ndx).asFloat() = minVal; 362 float minVal = -10.0f; local 368 minVal = valueRange.getMin().component(0).asFloat(); 371 if (Scalar::min<float>() == minVal) 372 minVal 393 float minVal = valueRange.getMin().asFloat(); local 420 int minVal = -16; local 448 int minVal = valueRange.getMin().asInt(); local 474 int minVal = 0; local [all...] |
H A D | rsgVariableValue.hpp | 201 ConstValueRangeAccess (const VariableType& type, const Scalar* minVal, const Scalar* maxVal) : m_type(&type), m_min(const_cast<Scalar*>(minVal)), m_max(const_cast<Scalar*>(maxVal)) {} argument 243 ValueRangeAccess (const VariableType& type, Scalar* minVal, Scalar* maxVal) : ConstValueRangeAccess(type, minVal, maxVal) {} argument 275 ValueRange (const VariableType& type, const ConstValueAccess& minVal, const ConstValueAccess& maxVal); 276 ValueRange (const VariableType& type, const Scalar* minVal, const Scalar* maxVal);
|
H A D | rsgVariableValue.cpp | 165 ValueRange::ValueRange (const VariableType& type, const ConstValueAccess& minVal, const ConstValueAccess& maxVal) argument 170 getMin() = minVal.value(); 174 ValueRange::ValueRange (const VariableType& type, const Scalar* minVal, const Scalar* maxVal) argument 179 getMin() = ConstValueAccess(type, minVal).value();
|
/external/deqp/modules/gles2/functional/ |
H A D | es2fShaderAlgorithmTests.cpp | 213 << "mediump float minVal = min(min(r, g), b);" 215 << "mediump float L = (minVal + maxVal) * 0.5;" 216 << "if (minVal == maxVal)" 223 << " S = (maxVal - minVal) / (maxVal + minVal);" 225 << " S = (maxVal - minVal) / (2.0 - maxVal - minVal);" 227 << " mediump float ooDiff = 1.0 / (maxVal - minVal);" 239 float minVal = min(min(r, g), b); 241 float L = (minVal [all...] |
H A D | es2fBufferTestUtil.cpp | 547 const float minVal = 0.1f; 555 i->x() = rnd.getFloat(minVal, maxVal); 556 i->y() = rnd.getFloat(minVal, maxVal); 557 i->z() = rnd.getFloat(minVal, maxVal);
|
/external/deqp/framework/common/ |
H A D | tcuTextureUtil.cpp | 667 static inline float linearInterpolate (float t, float minVal, float maxVal) 669 return minVal + (maxVal - minVal) * t; 795 static void fillWithComponentGradients1D (const PixelBufferAccess& access, const Vec4& minVal, const Vec4& maxVal) 802 float r = linearInterpolate(s, minVal.x(), maxVal.x()); 803 float g = linearInterpolate(s, minVal.y(), maxVal.y()); 804 float b = linearInterpolate(s, minVal.z(), maxVal.z()); 805 float a = linearInterpolate(s, minVal.w(), maxVal.w()); 811 static void fillWithComponentGradients2D (const PixelBufferAccess& access, const Vec4& minVal, const Vec4& maxVal) 820 float r = linearInterpolate(( s + t) *0.5f, minVal [all...] |
H A D | tcuImageCompare.cpp | 46 Vec4 minVal; local 55 minVal = refMin; 65 minVal[0] = de::min(minVal[0], resMin[0]); 66 minVal[1] = de::min(minVal[1], resMin[1]); 67 minVal[2] = de::min(minVal[2], resMin[2]); 68 minVal[3] = de::min(minVal[ [all...] |
H A D | tcuTextureUtil.hpp | 118 void fillWithComponentGradients (const PixelBufferAccess& access, const Vec4& minVal, const Vec4& maxVal); 129 void estimatePixelValueRange (const ConstPixelBufferAccess& access, Vec4& minVal, Vec4& maxVal);
|
/external/vulkan-validation-layers/libs/glm/detail/ |
H A D | intrinsic_common.hpp | 71 __m128 sse_clp_ps(__m128 v, __m128 minVal, __m128 maxVal);
|
H A D | func_common.hpp | 200 /// Returns min(max(x, minVal), maxVal) for each component in x 201 /// using the floating-point values minVal and maxVal. 210 genType const & minVal, 216 typename genType::value_type const & minVal,
|
/external/opencv/cxcore/src/ |
H A D | cxminmaxloc.cpp | 62 *minVal = _fin_cast_macro_(min_val); \ 90 extrtype* minVal, extrtype* maxVal, CvPoint* minLoc, CvPoint* maxLoc ), \ 91 (src, step, size, minVal, maxVal, minLoc, maxLoc) ) \ 109 extrtype* minVal, extrtype* maxVal, \ 218 extrtype* minVal, extrtype* maxVal, CvPoint* minLoc, CvPoint* maxLoc ), \ 219 ( src, step, mask, maskStep, size, minVal, maxVal, minLoc, maxLoc) ) \ 238 extrtype* minVal, extrtype* maxVal, CvPoint* minLoc, CvPoint* maxLoc ) \
|
/external/deqp/modules/gles2/accuracy/ |
H A D | es2aVaryingInterpolationTests.cpp | 101 InterpolationCase (Context& context, const char* name, const char* desc, glu::Precision precision, const tcu::Vec3& minVal, const tcu::Vec3& maxVal, bool projective); 113 InterpolationCase::InterpolationCase (Context& context, const char* name, const char* desc, glu::Precision precision, const tcu::Vec3& minVal, const tcu::Vec3& maxVal, bool projective) argument 116 , m_min (minVal) 300 Vec3 minVal; member in struct:deqp::gles2::Accuracy::__anon4927 323 addChild(new InterpolationCase(m_context, baseName.c_str(), "", (glu::Precision)precision, coordRanges[coordNdx].minVal, coordRanges[coordNdx].maxVal, false)); 324 addChild(new InterpolationCase(m_context, (baseName + "_proj").c_str(), "", (glu::Precision)precision, coordRanges[coordNdx].minVal, coordRanges[coordNdx].maxVal, true));
|
/external/deqp/modules/gles3/accuracy/ |
H A D | es3aVaryingInterpolationTests.cpp | 103 InterpolationCase (Context& context, const char* name, const char* desc, glu::Precision precision, const tcu::Vec3& minVal, const tcu::Vec3& maxVal, bool projective); 115 InterpolationCase::InterpolationCase (Context& context, const char* name, const char* desc, glu::Precision precision, const tcu::Vec3& minVal, const tcu::Vec3& maxVal, bool projective) argument 118 , m_min (minVal) 306 Vec3 minVal; member in struct:deqp::gles3::Accuracy::__anon5053 329 addChild(new InterpolationCase(m_context, baseName.c_str(), "", (glu::Precision)precision, coordRanges[coordNdx].minVal, coordRanges[coordNdx].maxVal, false)); 330 addChild(new InterpolationCase(m_context, (baseName + "_proj").c_str(), "", (glu::Precision)precision, coordRanges[coordNdx].minVal, coordRanges[coordNdx].maxVal, true));
|
/external/valgrind/include/ |
H A D | pub_tool_wordfm.h | 113 // case, the caller must supply via minVal and maxVal, the value 124 UWord minKey, UWord minVal,
|
/external/vulkan-validation-layers/libs/glm/gtx/ |
H A D | simd_vec4.hpp | 276 //! Returns min(max(x, minVal), maxVal) for each component in x 277 //! using the floating-point values minVal and maxVal. 282 detail::fvec4SIMD const & minVal, 287 float const & minVal,
|
/external/deqp/modules/gles3/functional/ |
H A D | es3fFragmentOutputTests.cpp | 646 Vec4 minVal (range.x()); 655 minVal = tcu::max(minVal, fmtInfo.valueMin); 659 m_testCtx.getLog() << TestLog::Message << "out" << curInVec << " value range: " << valueRangeToString(numScalars, minVal, maxVal) << TestLog::EndMessage; 671 Vec4 c = minVal + (maxVal-minVal)*f; 682 IVec4 minVal (range.x()); 693 minVal = select(minVal, tcu::max(minVal, fmtMinVa [all...] |
/external/deqp/modules/glshared/ |
H A D | glsRandomShaderCase.cpp | 188 float minVal = valueRange.getMin().component(compNdx).asFloat(); local 196 dst[compNdx] = minVal + f * (maxVal-minVal);
|
/external/deqp/modules/gles31/functional/ |
H A D | es31fShaderAtomicOpTests.cpp | 269 const int minVal = 1; local 274 *(int*)((deUint8*)inputs + stride*valNdx) = rnd.getInt(minVal, maxVal); 424 const int minVal = isSigned ? -maxVal : 0; 427 *(int*)((deUint8*)inputs + stride*valNdx) = rnd.getInt(minVal, maxVal); 506 const int minVal = isSigned ? -maxVal : 0; 509 *(int*)((deUint8*)inputs + stride*valNdx) = rnd.getInt(minVal, maxVal);
|
/external/deqp/framework/opengl/ |
H A D | gluTextureTestUtil.hpp | 384 inline LogGradientFmt formatGradient (const tcu::Vec4* minVal, const tcu::Vec4* maxVal) { return LogGradientFmt(minVal, maxVal); } argument
|
/external/eigen/unsupported/test/ |
H A D | autodiff.cpp | 341 const AD minVal = v.minCoeff(); local 342 return maxVal.value() + minVal.value();
|