HomeSort by relevance Sort by last modified time
    Searched refs:minVal (Results 1 - 25 of 88) sorted by null

1 2 3 4

  /external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/
LineRegion.java 24 private Number minVal;
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) {
85 if(minVal == null) {
88 this.minVal = minVal;
  /external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/xy/
XYStepCalculator.java 34 * @param minVal
38 public static XYStep getStep(XYPlot plot, XYAxisType axisType, RectF rect, Number minVal, Number maxVal) {
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) {
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/
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/
noisedet.cpp 170 FIXP_DBL fhelp1, fhelp2, fhelp3, fhelp4, maxVal, minVal;
190 minVal = fixMin(fhelp1, fhelp2);
191 minVal = fixMin(minVal, fhelp3);
192 minVal = fixMin(minVal, fhelp4);
197 refVal = minVal << leadingBits;
  /external/deqp/framework/randomshaders/
rsgUtils.cpp 67 float minVal = valueRange.component(ndx).getMin().asFloat();
69 dst.component(ndx).asFloat() = getQuantizedFloat(rnd, minVal, maxVal, quantizeStep);
76 int minVal = valueRange.component(ndx).getMin().asBool() ? 1 : 0;
78 dst.component(ndx).asBool() = rnd.getInt(minVal, maxVal) == 1;
87 int minVal = valueRange.component(ndx).getMin().asInt();
89 dst.component(ndx).asInt() = rnd.getInt(minVal, maxVal);
195 bool minVal = rnd.getBool();
196 bool maxVal = minVal ? true : rnd.getBool();
197 valueRange.getMin().component(ndx).asBool() = minVal;
210 int minVal = minIntVal + rnd.getInt(0, maxRangeLen-rangeLen)
    [all...]
rsgExpression.cpp 187 int minVal = minIntVal + rnd.getInt(0, maxRangeLen-rangeLen);
188 int maxVal = minVal + rangeLen;
190 valueRange.getMin().component(ndx).asInt() = minVal;
209 float minVal = minFloatVal + step*(float)minStep;
210 float maxVal = minVal + step*(float)rangeLen;
212 valueRange.getMin().component(ndx).asFloat() = minVal;
362 float minVal = -10.0f;
368 minVal = valueRange.getMin().component(0).asFloat();
371 if (Scalar::min<float>() == minVal)
372 minVal = -10.0f
    [all...]
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)) {}
243 ValueRangeAccess (const VariableType& type, Scalar* minVal, Scalar* maxVal) : ConstValueRangeAccess(type, minVal, maxVal) {}
275 ValueRange (const VariableType& type, const ConstValueAccess& minVal, const ConstValueAccess& maxVal);
276 ValueRange (const VariableType& type, const Scalar* minVal, const Scalar* maxVal);
rsgVariableValue.cpp 165 ValueRange::ValueRange (const VariableType& type, const ConstValueAccess& minVal, const ConstValueAccess& maxVal)
170 getMin() = minVal.value();
174 ValueRange::ValueRange (const VariableType& type, const Scalar* minVal, const Scalar* maxVal)
179 getMin() = ConstValueAccess(type, minVal).value();
  /libcore/luni/src/test/java/libcore/java/util/
OldAndroidTreeMapTest.java 45 int minVal = Integer.MAX_VALUE;
51 if (val < minVal) {
52 minVal = val;
67 if (SPEW) System.out.println("minVal = " + minVal);
70 assertEquals(minVal, tm.firstKey().intValue());
  /external/deqp/modules/gles2/functional/
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 + maxVal) * 0.5f
    [all...]
  /external/deqp/framework/common/
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());
    [all...]
tcuImageCompare.cpp 46 Vec4 minVal;
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[3], resMin[3])
    [all...]
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/
intrinsic_common.hpp 71 __m128 sse_clp_ps(__m128 v, __m128 minVal, __m128 maxVal);
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/
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/
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)
116 , m_min (minVal)
300 Vec3 minVal;
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/
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)
118 , m_min (minVal)
306 Vec3 minVal;
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));
  /packages/services/Car/tools/emulator/
vhal_emulator_test.py 61 def _getMidpoint(self, minVal, maxVal):
62 retVal = minVal + (maxVal - minVal)/2
  /external/valgrind/include/
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/
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/
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, fmtMinVal), isZero)
    [all...]
  /frameworks/opt/calendar/src/com/android/calendarcommon2/
EventRecurrence.java 674 * @param minVal Minimum allowed value.
679 public static int parseIntRange(String str, int minVal, int maxVal, boolean allowZero) {
686 if (val < minVal || val > maxVal || (val == 0 && !allowZero)) {
699 * @param minVal Minimum allowed value.
704 public static int[] parseNumberList(String listStr, int minVal, int maxVal,
711 values[0] = parseIntRange(listStr, minVal, maxVal, allowZero);
717 values[i] = parseIntRange(valueStrs[i], minVal, maxVal, allowZero);
    [all...]
  /frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
UT_reduce_backward.java 139 float minVal = Float.POSITIVE_INFINITY;
145 if (input[idx] < minVal) {
146 minVal = input[idx];
  /frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
UT_reduce_backward.java 141 float minVal = Float.POSITIVE_INFINITY;
147 if (input[idx] < minVal) {
148 minVal = input[idx];

Completed in 2143 milliseconds

1 2 3 4