/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/ |
D | LineRegion.java | 24 private Number minVal; field in LineRegion 42 return maxVal.doubleValue() - minVal.doubleValue(); in length() 51 … return value.doubleValue() >= minVal.doubleValue() && value.doubleValue() <= maxVal.doubleValue(); in contains() 74 …if(line2Min.doubleValue() <= this.minVal.doubleValue() && line2Max.doubleValue() >= this.maxVal.do… in intersects() 81 return minVal; in getMinVal() 84 public void setMinVal(Number minVal) { in setMinVal() argument 85 if(minVal == null) { in setMinVal() 88 this.minVal = minVal; in setMinVal()
|
/external/deqp/framework/randomshaders/ |
D | rsgUtils.cpp | 67 float minVal = valueRange.component(ndx).getMin().asFloat(); in computeRandomValue() local 69 dst.component(ndx).asFloat() = getQuantizedFloat(rnd, minVal, maxVal, quantizeStep); in computeRandomValue() 76 int minVal = valueRange.component(ndx).getMin().asBool() ? 1 : 0; in computeRandomValue() local 78 dst.component(ndx).asBool() = rnd.getInt(minVal, maxVal) == 1; in computeRandomValue() 87 int minVal = valueRange.component(ndx).getMin().asInt(); in computeRandomValue() local 89 dst.component(ndx).asInt() = rnd.getInt(minVal, maxVal); in computeRandomValue() 195 bool minVal = rnd.getBool(); in computeRandomValueRange() local 196 bool maxVal = minVal ? true : rnd.getBool(); in computeRandomValueRange() 197 valueRange.getMin().component(ndx).asBool() = minVal; in computeRandomValueRange() 210 int minVal = minIntVal + rnd.getInt(0, maxRangeLen-rangeLen); in computeRandomValueRange() local [all …]
|
D | rsgExpression.cpp | 187 int minVal = minIntVal + rnd.getInt(0, maxRangeLen-rangeLen); in computeRandomValueRangeForInfElements() local 188 int maxVal = minVal + rangeLen; in computeRandomValueRangeForInfElements() 190 valueRange.getMin().component(ndx).asInt() = minVal; in computeRandomValueRangeForInfElements() 209 float minVal = minFloatVal + step*(float)minStep; in computeRandomValueRangeForInfElements() local 210 float maxVal = minVal + step*(float)rangeLen; in computeRandomValueRangeForInfElements() 212 valueRange.getMin().component(ndx).asFloat() = minVal; in computeRandomValueRangeForInfElements() 362 float minVal = -10.0f; in FloatLiteral() local 368 minVal = valueRange.getMin().component(0).asFloat(); in FloatLiteral() 371 if (Scalar::min<float>() == minVal) in FloatLiteral() 372 minVal = -10.0f; in FloatLiteral() [all …]
|
D | rsgVariableValue.hpp | 201 …st VariableType& type, const Scalar* minVal, const Scalar* maxVal) : m_type(&type), m_min(const_ca… in ConstValueRangeAccess() argument 243 …ngeAccess (const VariableType& type, Scalar* minVal, Scalar* maxVal) : ConstValueRangeAccess(type… in ValueRangeAccess() argument 275 …ValueRange (const VariableType& type, const ConstValueAccess& minVal, const ConstValueAccess& ma… 276 ValueRange (const VariableType& type, const Scalar* minVal, const Scalar* maxVal);
|
D | rsgVariableValue.cpp | 165 ValueRange::ValueRange (const VariableType& type, const ConstValueAccess& minVal, const ConstValueA… in ValueRange() argument 170 getMin() = minVal.value(); in ValueRange() 174 ValueRange::ValueRange (const VariableType& type, const Scalar* minVal, const Scalar* maxVal) in ValueRange() argument 179 getMin() = ConstValueAccess(type, minVal).value(); in ValueRange()
|
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/xy/ |
D | XYStepCalculator.java | 38 …public static XYStep getStep(XYPlot plot, XYAxisType axisType, RectF rect, Number minVal, Number m… in getStep() argument 42 … step = getStep(plot.getDomainStepMode(), rect.width(), plot.getDomainStepValue(), minVal, maxVal); in getStep() 45 … step = getStep(plot.getRangeStepMode(), rect.height(), plot.getRangeStepValue(), minVal, maxVal); in getStep() 51 …p getStep(XYStepMode typeXY, float plotPixelSize, double stepValue, Number minVal, Number maxVal) { in getStep() argument 59 …stepPix = (float)(stepValue/ ValPixConverter.valPerPix(minVal.doubleValue(), maxVal.doubleValue(),… in getStep() 65 …stepVal = ValPixConverter.valPerPix(minVal.doubleValue(), maxVal.doubleValue(), plotPixelSize)*ste… in getStep() 70 …stepVal = ValPixConverter.valPerPix(minVal.doubleValue(), maxVal.doubleValue(), plotPixelSize)*ste… in getStep()
|
/external/aac/libAACenc/src/ |
D | noisedet.cpp | 175 FIXP_DBL fhelp1, fhelp2, fhelp3, fhelp4, maxVal, minVal; in FDKaacEnc_noiseDetect() local 197 minVal = fixMin(fhelp1, fhelp2); in FDKaacEnc_noiseDetect() 198 minVal = fixMin(minVal, fhelp3); in FDKaacEnc_noiseDetect() 199 minVal = fixMin(minVal, fhelp4); in FDKaacEnc_noiseDetect() 204 refVal = minVal << leadingBits; in FDKaacEnc_noiseDetect()
|
/external/deqp/modules/gles2/functional/ |
D | es2fShaderAlgorithmTests.cpp | 239 float minVal = min(min(r, g), b); in init() 241 float L = (minVal + maxVal) * 0.5f; in init() 244 if (minVal == maxVal) in init() 251 S = (maxVal - minVal) / (maxVal + minVal); in init() 253 S = (maxVal - minVal) / (2.0f - maxVal - minVal); in init() 255 float ooDiff = 1.0f / (maxVal - minVal); in init()
|
D | es2fBufferTestUtil.cpp | 547 const float minVal = 0.1f; in computeIndexVerifierColors() local 555 i->x() = rnd.getFloat(minVal, maxVal); in computeIndexVerifierColors() 556 i->y() = rnd.getFloat(minVal, maxVal); in computeIndexVerifierColors() 557 i->z() = rnd.getFloat(minVal, maxVal); in computeIndexVerifierColors()
|
/external/androidplot/AndroidPlot-Core/src/test/java/com/androidplot/xy/ |
D | XYStepCalculatorTest.java | 45 double minVal = 0; in testSubdivide() local 47 …XYStep step = XYStepCalculator.getStep(XYStepMode.SUBDIVIDE, plotSize, numSegments, minVal, maxVal… in testSubdivide() 53 minVal = 1000000000; in testSubdivide() 55 … step = XYStepCalculator.getStep(XYStepMode.SUBDIVIDE, plotSize, numSegments, minVal, maxVal); in testSubdivide()
|
/external/deqp/framework/common/ |
D | tcuTextureUtil.cpp | 667 static inline float linearInterpolate (float t, float minVal, float maxVal) in linearInterpolate() argument 669 return minVal + (maxVal - minVal) * t; in linearInterpolate() 795 static void fillWithComponentGradients1D (const PixelBufferAccess& access, const Vec4& minVal, cons… in fillWithComponentGradients1D() argument 802 float r = linearInterpolate(s, minVal.x(), maxVal.x()); in fillWithComponentGradients1D() 803 float g = linearInterpolate(s, minVal.y(), maxVal.y()); in fillWithComponentGradients1D() 804 float b = linearInterpolate(s, minVal.z(), maxVal.z()); in fillWithComponentGradients1D() 805 float a = linearInterpolate(s, minVal.w(), maxVal.w()); in fillWithComponentGradients1D() 811 static void fillWithComponentGradients2D (const PixelBufferAccess& access, const Vec4& minVal, cons… in fillWithComponentGradients2D() argument 820 float r = linearInterpolate(( s + t) *0.5f, minVal.x(), maxVal.x()); in fillWithComponentGradients2D() 821 float g = linearInterpolate(( s + (1.0f-t))*0.5f, minVal.y(), maxVal.y()); in fillWithComponentGradients2D() [all …]
|
D | tcuImageCompare.cpp | 46 Vec4 minVal; in computeScaleAndBias() local 55 minVal = refMin; in computeScaleAndBias() 65 minVal[0] = de::min(minVal[0], resMin[0]); in computeScaleAndBias() 66 minVal[1] = de::min(minVal[1], resMin[1]); in computeScaleAndBias() 67 minVal[2] = de::min(minVal[2], resMin[2]); in computeScaleAndBias() 68 minVal[3] = de::min(minVal[3], resMin[3]); in computeScaleAndBias() 78 if (maxVal[c] - minVal[c] < eps) in computeScaleAndBias() 81 bias[c] = (c == 3) ? (1.0f - maxVal[c]*scale[c]) : (0.0f - minVal[c]*scale[c]); in computeScaleAndBias() 85 scale[c] = 1.0f / (maxVal[c] - minVal[c]); in computeScaleAndBias() 86 bias[c] = 0.0f - minVal[c]*scale[c]; in computeScaleAndBias()
|
D | tcuTextureUtil.hpp | 118 void fillWithComponentGradients (const PixelBufferAccess& access, const Vec4& minVal, const Vec4& … 129 void estimatePixelValueRange (const ConstPixelBufferAccess& access, Vec4& minVal, Vec4& maxVal);
|
/external/deqp/modules/gles3/accuracy/ |
D | es3aVaryingInterpolationTests.cpp | 103 …char* name, const char* desc, glu::Precision precision, const tcu::Vec3& minVal, const tcu::Vec3& … 115 …char* name, const char* desc, glu::Precision precision, const tcu::Vec3& minVal, const tcu::Vec3& … in InterpolationCase() argument 118 , m_min (minVal) in InterpolationCase() 306 Vec3 minVal; in init() member 329 …aseName.c_str(), "", (glu::Precision)precision, coordRanges[coordNdx].minVal, coordRanges[coord… in init() 330 …+ "_proj").c_str(), "", (glu::Precision)precision, coordRanges[coordNdx].minVal, coordRanges[coord… in init()
|
/external/deqp/modules/gles2/accuracy/ |
D | es2aVaryingInterpolationTests.cpp | 101 …char* name, const char* desc, glu::Precision precision, const tcu::Vec3& minVal, const tcu::Vec3& … 113 …char* name, const char* desc, glu::Precision precision, const tcu::Vec3& minVal, const tcu::Vec3& … in InterpolationCase() argument 116 , m_min (minVal) in InterpolationCase() 300 Vec3 minVal; in init() member 323 …aseName.c_str(), "", (glu::Precision)precision, coordRanges[coordNdx].minVal, coordRanges[coord… in init() 324 …+ "_proj").c_str(), "", (glu::Precision)precision, coordRanges[coordNdx].minVal, coordRanges[coord… in init()
|
/external/libaom/libaom/test/ |
D | av1_inv_txfm1d_test.cc | 63 const int minVal = -(1 << (bits - 1)); in random_matrix() local 66 dst[i] = minVal + rnd->Rand16() % (1 << bits); in random_matrix() 68 dst[i] = rnd->Rand8() % 2 ? minVal : maxVal; in random_matrix()
|
/external/deqp/modules/gles3/functional/ |
D | es3fFragmentOutputTests.cpp | 646 Vec4 minVal (range.x()); in iterate() local 655 minVal = tcu::max(minVal, fmtInfo.valueMin); in iterate() 659 … "out" << curInVec << " value range: " << valueRangeToString(numScalars, minVal, maxVal) << TestLo… in iterate() 671 Vec4 c = minVal + (maxVal-minVal)*f; in iterate() 682 IVec4 minVal (range.x()); in iterate() local 693 minVal = select(minVal, tcu::max(minVal, fmtMinVal), isZero); in iterate() 697 … "out" << curInVec << " value range: " << valueRangeToString(numScalars, minVal, maxVal) << TestLo… in iterate() 700 …const IVec4 step = ((maxVal.cast<deInt64>() - minVal.cast<deInt64>()) / (rangeDiv.cast<deInt64>()… in iterate() 709 IVec4 c = minVal + step*swizzleVec(IVec4(x, y, ix, iy), curInVec); in iterate() 712 DE_ASSERT(boolAll(logicalAnd(greaterThanEqual(c, minVal), lessThanEqual(c, maxVal)))); in iterate()
|
/external/deqp/modules/gles31/functional/ |
D | es31fShaderAtomicOpTests.cpp | 269 const int minVal = 1; in getInputs() local 274 *(int*)((deUint8*)inputs + stride*valNdx) = rnd.getInt(minVal, maxVal); in getInputs() 424 const int minVal = isSigned ? -maxVal : 0; in getInputs() local 427 *(int*)((deUint8*)inputs + stride*valNdx) = rnd.getInt(minVal, maxVal); in getInputs() 506 const int minVal = isSigned ? -maxVal : 0; in getInputs() local 509 *(int*)((deUint8*)inputs + stride*valNdx) = rnd.getInt(minVal, maxVal); in getInputs()
|
/external/skia/src/sksl/ |
D | sksl.inc | 103 $genType clamp($genType x, $genType minVal, $genType maxVal); 104 $genType clamp($genType x, float minVal, float maxVal); 105 $genHType clamp($genHType x, $genHType minVal, $genHType maxVal); 106 $genHType clamp($genHType x, half minVal, half maxVal); 107 //$genDType clamp($genDType x, $genDType minVal, $genDType maxVal); 108 //$genDType clamp($genDType x, double minVal, double maxVal); 109 $genIType clamp($genIType x, $genIType minVal, $genIType maxVal); 110 $genIType clamp($genIType x, int minVal, int maxVal); 111 //$genUType clamp($genUType x, $genUType minVal, $genUType maxVal); 112 //$genUType clamp($genUType x, uint minVal, uint maxVal);
|
/external/mesa3d/src/mesa/main/ |
D | texcompress_fxt1.c | 1050 GLint minVal; in fxt1_quantize_MIXED0() local 1058 minVal = 2000; /* big enough */ in fxt1_quantize_MIXED0() 1062 if (minVal > t) { in fxt1_quantize_MIXED0() 1063 minVal = t; in fxt1_quantize_MIXED0() 1071 minVal = 2000; /* big enough */ in fxt1_quantize_MIXED0() 1075 if (minVal > t) { in fxt1_quantize_MIXED0() 1076 minVal = t; in fxt1_quantize_MIXED0()
|
/external/skqp/src/sksl/ |
D | sksl.inc | 68 $genType clamp($genType x, $genType minVal, $genType maxVal); 69 $genType clamp($genType x, float minVal, float maxVal); 70 //$genDType clamp($genDType x, $genDType minVal, $genDType maxVal); 71 //$genDType clamp($genDType x, double minVal, double maxVal); 72 $genIType clamp($genIType x, $genIType minVal, $genIType maxVal); 73 $genIType clamp($genIType x, int minVal, int maxVal); 74 //$genUType clamp($genUType x, $genUType minVal, $genUType maxVal); 75 //$genUType clamp($genUType x, uint minVal, uint maxVal);
|
/external/deqp/modules/glshared/ |
D | glsRandomShaderCase.cpp | 188 float minVal = valueRange.getMin().component(compNdx).asFloat(); in init() local 196 dst[compNdx] = minVal + f * (maxVal-minVal); in init()
|
D | glsBufferTestUtil.cpp | 736 const float minVal = 0.1f; in computeIndexVerifierColors() local 744 i->x() = rnd.getFloat(minVal, maxVal); in computeIndexVerifierColors() 745 i->y() = rnd.getFloat(minVal, maxVal); in computeIndexVerifierColors() 746 i->z() = rnd.getFloat(minVal, maxVal); in computeIndexVerifierColors()
|
/external/eigen/unsupported/test/ |
D | autodiff.cpp | 341 const AD minVal = v.minCoeff(); in bug_1261() local 342 return maxVal.value() + minVal.value(); in bug_1261()
|
/external/deqp/framework/opengl/ |
D | gluTextureTestUtil.hpp | 387 …GradientFmt formatGradient (const tcu::Vec4* minVal, const tcu::Vec4* maxVal) { return LogGradient… in formatGradient() argument
|