Searched defs:minVal (Results 1 - 25 of 27) sorted by relevance

12

/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/xy/
H A DXYStepCalculator.java34 * @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/main/java/com/androidplot/
H A DLineRegion.java24 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/aac/libAACenc/src/
H A Dnoisedet.cpp170 FIXP_DBL fhelp1, fhelp2, fhelp3, fhelp4, maxVal, minVal; local
190 minVal = fixMin(fhelp1, fhelp2);
191 minVal = fixMin(minVal, fhelp3);
192 minVal = fixMin(minVal, fhelp4);
197 refVal = minVal << leadingBits;
/external/deqp/framework/randomshaders/
H A DrsgVariableValue.cpp165 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();
H A DrsgUtils.cpp67 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 DrsgVariableValue.hpp201 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 DrsgExpression.cpp187 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...]
/external/deqp/framework/common/
H A DtcuImageCompare.cpp46 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 DtcuTexLookupVerifier.cpp124 T minVal = vec[0]; local
126 minVal = de::min(minVal, vec[ndx]);
127 return minVal;
215 const tcu::Vec4 minVal = min(quad) - prec.colorThreshold; local
217 return boolAll(logicalOr(logicalAnd(greaterThanEqual(result, minVal), lessThanEqual(result, maxVal)), logicalNot(prec.colorMask)));
222 const tcu::Vec4 minVal = min(min(quad0), min(quad1)) - prec.colorThreshold; local
224 return boolAll(logicalOr(logicalAnd(greaterThanEqual(result, minVal), lessThanEqual(result, maxVal)), logicalNot(prec.colorMask)));
229 const tcu::Vec4 minVal = min(min(line0), min(line1)) - prec.colorThreshold; local
231 return boolAll(logicalOr(logicalAnd(greaterThanEqual(result, minVal), lessThanEqua
241 const tcu::Vec4 minVal = min(min(quad00), min(min(quad01), min(min(quad10), min(quad11)))) - prec.colorThreshold; local
[all...]
H A DtcuTexture.cpp232 deInt64 minVal = std::numeric_limits<T>::min(); local
248 intVal = de::max(minVal, de::min(maxVal, intVal));
519 const deInt32 minVal = -(deInt32)(1u << (bits-1)); local
523 return (deUint32)de::clamp(src, minVal, maxVal) & mask;
/external/deqp/modules/gles2/accuracy/
H A Des2aVaryingInterpolationTests.cpp100 InterpolationCase (Context& context, const char* name, const char* desc, glu::Precision precision, const tcu::Vec3& minVal, const tcu::Vec3& maxVal, bool projective);
112 InterpolationCase::InterpolationCase (Context& context, const char* name, const char* desc, glu::Precision precision, const tcu::Vec3& minVal, const tcu::Vec3& maxVal, bool projective) argument
115 , m_min (minVal)
299 Vec3 minVal; member in struct:deqp::gles2::Accuracy::__anon4166
322 addChild(new InterpolationCase(m_context, baseName.c_str(), "", (glu::Precision)precision, coordRanges[coordNdx].minVal, coordRanges[coordNdx].maxVal, false));
323 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 Des3aVaryingInterpolationTests.cpp103 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::__anon4292
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/deqp/modules/gles31/functional/
H A Des31fShaderAtomicOpTests.cpp269 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);
H A Des31fTextureGatherTests.cpp86 static void fillWithRandomColorTiles (const PixelBufferAccess& dst, const Vec4& minVal, const Vec4& maxVal, deUint32 seed) argument
102 color[i] = rnd.getFloat(minVal[i], maxVal[i]);
/external/skia/src/utils/
H A DSkTextureCompressor_LATC.cpp131 uint8_t minVal = 255; local
134 minVal = SkTMin(pixels[i], minVal);
138 SkASSERT(!is_extremal(minVal));
142 generate_latc_palette(palette, maxVal, minVal);
165 (static_cast<uint64_t>(minVal) << 8) |
173 uint8_t minVal = 255; local
180 minVal = SkTMin(pixels[i], minVal);
184 SkASSERT(!is_extremal(minVal));
[all...]
/external/deqp/modules/glshared/
H A DglsRandomShaderCase.cpp188 float minVal = valueRange.getMin().component(compNdx).asFloat(); local
196 dst[compNdx] = minVal + f * (maxVal-minVal);
H A DglsTextureTestUtil.hpp561 inline LogGradientFmt formatGradient (const tcu::Vec4* minVal, const tcu::Vec4* maxVal) { return LogGradientFmt(minVal, maxVal); } argument
H A DglsTextureTestUtil.cpp155 inline float linearInterpolate (float t, float minVal, float maxVal) argument
157 return minVal + (maxVal - minVal) * t;
3249 tcu::Vec4 minVal, maxVal; local
3264 minVal = sample;
3269 minVal = min(sample, minVal);
3275 isOk = boolAll(logicalAnd(lessThanEqual(minVal, result), lessThanEqual(result, maxVal)));
/external/valgrind/coregrind/
H A Dm_wordfm.c423 UWord minKey, UWord minVal,
429 UWord vLowerBound = minVal;
666 UWord minKey, UWord minVal,
674 minKey, minVal,
420 avl_find_bounds( const AvlNode* t, UWord* kMinP, UWord* vMinP, UWord* kMaxP, UWord* vMaxP, UWord minKey, UWord minVal, UWord maxKey, UWord maxVal, UWord key, Word(*kCmp)(UWord,UWord) ) argument
663 findBoundsFM( const WordFM* fm, UWord* kMinP, UWord* vMinP, UWord* kMaxP, UWord* vMaxP, UWord minKey, UWord minVal, UWord maxKey, UWord maxVal, UWord key ) argument
/external/mesa3d/src/mesa/main/
H A Dtexcompress_fxt1.c1078 GLint minVal; local
1086 minVal = 2000; /* big enough */
1090 if (minVal > t) {
1091 minVal = t;
1099 minVal = 2000; /* big enough */
1103 if (minVal > t) {
1104 minVal = t;
/external/icu/android_icu4j/src/main/java/android/icu/text/
H A DTimeZoneFormat.java2566 * @param minVal the minimum value
2572 int minVal, int maxVal, int[] parsedLen) {
2595 if (numDigits < minDigits || decVal < minVal) {
2571 parseOffsetFieldWithLocalizedDigits(String text, int start, int minDigits, int maxDigits, int minVal, int maxVal, int[] parsedLen) argument
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DTimeZoneFormat.java2636 * @param minVal the minimum value
2642 int minVal, int maxVal, int[] parsedLen) {
2665 if (numDigits < minDigits || decVal < minVal) {
2641 parseOffsetFieldWithLocalizedDigits(String text, int start, int minDigits, int maxDigits, int minVal, int maxVal, int[] parsedLen) argument
/external/opencv/cv/src/
H A Dcvhistogram.cpp277 double minVal, maxVal; local
296 CV_CALL( cvMinMaxLoc( &mat, &minVal, &maxVal, &minPt, &maxPt ));
370 m.i = CV_TOGGLE_FLT(minv); minVal = m.f;
375 minVal = maxVal = 0;
388 *value_min = (float)minVal;
/external/opencv/ml/src/
H A Dml_inner_functions.cpp275 double minVal, maxVal; local
307 CV_CALL(cvMinMaxLoc (&data_comp, &minVal, &maxVal, &minLoc, &maxLoc));
309 CV_CALL(cvRandArr (&rng, &centers_comp, CV_RAND_UNI, cvScalarAll(minVal), cvScalarAll(maxVal)));
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
H A DvktShaderBuiltinPrecisionTests.cpp3240 double applyExact (double x, double minVal, double maxVal) const argument
3242 return de::min(de::max(x, minVal), maxVal);
3245 double precision (const EvalContext&, double, double, double minVal, double maxVal) const argument
3247 return minVal > maxVal ? TCU_NAN : 0.0;
3251 ExprP<float> clamp(const ExprP<float>& x, const ExprP<float>& minVal, const ExprP<float>& maxVal) argument
3253 return app<Clamp>(x, minVal, maxVal);

Completed in 407 milliseconds

12