Home
last modified time | relevance | path

Searched refs:maxValue (Results 1 – 25 of 76) sorted by relevance

1234

/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowNumberPicker.java15 private int maxValue; field in ShadowNumberPicker
46 public void setMaxValue(int maxValue) { in setMaxValue() argument
47 this.maxValue = maxValue; in setMaxValue()
57 return this.maxValue; in getMaxValue()
/external/desugar/java/com/google/devtools/common/options/
DConverters.java401 final int maxValue; field in Converters.RangeConverter
403 public RangeConverter(int minValue, int maxValue) { in RangeConverter() argument
405 this.maxValue = maxValue; in RangeConverter()
414 } else if (value < minValue || value > maxValue) { in convert()
415 throw new OptionsParsingException("'" + input + "' should be <= " + maxValue); in convert()
426 if (maxValue == Integer.MAX_VALUE) { in getTypeDescription()
429 return "an integer, <= " + maxValue; in getTypeDescription()
431 } else if (maxValue == Integer.MAX_VALUE) { in getTypeDescription()
435 + (minValue < 0 ? "(" + minValue + ")" : minValue) + "-" + maxValue + " range"; in getTypeDescription()
/external/lzma/CPP/Windows/Control/
DProgressBar.h21 …unsigned short minValue, unsigned short maxValue) { return SendMsg(PBM_SETRANGE, 0, MAKELPARAM(min… in SetRange() argument
22 …DWORD SetRange32(int minValue, int maxValue) { return (DWORD)SendMsg(PBM_SETRANGE32, minValue, max… in SetRange32() argument
/external/smali/smali/src/main/java/org/jf/smali/
DLiteralTools.java75 byte maxValue = (byte)(Byte.MAX_VALUE / (radix / 2)); in parseByte()
83 if (result > maxValue) { in parseByte()
145 short maxValue = (short)(Short.MAX_VALUE / (radix / 2)); in parseShort() local
153 if (result > maxValue) { in parseShort()
209 int maxValue = Integer.MAX_VALUE / (radix / 2); in parseInt() local
217 if (result > maxValue) { in parseInt()
279 long maxValue = Long.MAX_VALUE / (radix / 2); in parseLong() local
287 if (result > maxValue) { in parseLong()
/external/deqp/modules/glshared/
DglsLongStressCase.hpp67 Value maxValue; member
79 maxValue.f[0] = maxValue_; in set()
87 vecToArr(maxValue_, maxValue.f); in set()
95 matToArr(maxValue_, maxValue.f); in set()
102 maxValue.i[0] = maxValue_; in set()
110 vecToArr(maxValue_, maxValue.i); in set()
147 tcu::Vec4 maxValue; member
176 , maxValue (maxValue_) in TextureSpec()
DglsStateQueryUtil.cpp1174 void verifyIntegerMax (tcu::ResultCollector& result, QueriedState& state, int maxValue) in verifyIntegerMax() argument
1180 if (maxValue < 0 && state.getBoolAccess() != true) in verifyIntegerMax()
1191 if (state.getIntAccess() > maxValue) in verifyIntegerMax()
1194 buf << "Expected less or equal to " << maxValue << ", got " << state.getIntAccess(); in verifyIntegerMax()
1202 if (state.getInt64Access() > maxValue) in verifyIntegerMax()
1205 buf << "Expected less or equal to " << maxValue << ", got " << state.getInt64Access(); in verifyIntegerMax()
1213 …if (state.getFloatAccess() > deInt32ToFloatRoundToPosInf(maxValue) || deIsNaN(state.getFloatAccess… in verifyIntegerMax()
1216 buf << "Expected less or equal to " << maxValue << ", got " << state.getFloatAccess(); in verifyIntegerMax()
1376 void verifyFloatMax (tcu::ResultCollector& result, QueriedState& state, float maxValue) in verifyFloatMax() argument
1382 if (maxValue < 0.0f && state.getBoolAccess() != true) in verifyFloatMax()
[all …]
/external/swiftshader/third_party/LLVM/utils/lit/lit/
DUtil.py99 maxValue = max([v for _,v in items])
102 power = int(math.ceil(math.log(maxValue, 10)))
105 N = int(math.ceil(maxValue / barH))
113 bin = min(int(N * v/maxValue), N-1)
124 pDigits = int(math.ceil(math.log(maxValue, 10)))
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/util/
DPreconditions.java144 public static void checkValueArg(int valueArg, int maxValue) { in checkValueArg() argument
145 if (valueArg > maxValue) { in checkValueArg()
146 if (maxValue == 0) { in checkValueArg()
153 valueArg, maxValue)); in checkValueArg()
/external/icu/icu4c/source/tools/toolutil/
Ddenseranges.cpp108 int32_t maxValue=values[length-1]; // Assume minValue<=maxValue. in uprv_makeDenseRanges() local
111 int64_t maxLength=(int64_t)maxValue-(int64_t)minValue+1; in uprv_makeDenseRanges()
115 ranges[0][1]=maxValue; in uprv_makeDenseRanges()
158 ranges[num-1][1]=maxValue; in uprv_makeDenseRanges()
/external/llvm/lib/Target/Hexagon/MCTargetDesc/
DHexagonAsmBackend.cpp596 int64_t maxValue; in fixupNeedsRelaxationAdvanced() local
600 maxValue = 1 << 8; in fixupNeedsRelaxationAdvanced()
603 maxValue = 1 << 10; in fixupNeedsRelaxationAdvanced()
606 maxValue = 1 << 16; in fixupNeedsRelaxationAdvanced()
609 maxValue = 1 << 23; in fixupNeedsRelaxationAdvanced()
612 maxValue = INT64_MAX; in fixupNeedsRelaxationAdvanced()
616 bool isFarAway = -maxValue > sValue || sValue > maxValue - 1; in fixupNeedsRelaxationAdvanced()
/external/llvm/utils/lit/lit/
Dutil.py120 maxValue = max([v for _,v in items])
123 power = int(math.ceil(math.log(maxValue, 10)))
126 N = int(math.ceil(maxValue / barH))
134 bin = min(int(N * v/maxValue), N-1)
145 pDigits = int(math.ceil(math.log(maxValue, 10)))
/external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/
DCorrelation.java70 double maxValue = 0; in computeCorrelation() local
83 if (mDataAutocorrelated[i] > maxValue) { in computeCorrelation()
84 maxValue = mDataAutocorrelated[i]; in computeCorrelation()
91 log(String.format(" Maxvalue %f, max Index : %d/%d (%d) minIndex = %d", maxValue, maxIndex, in computeCorrelation()
DGlitchAndCallbackHeatMapView.java278 private static void drawHeatMap(Canvas canvas, int[] bucketedValues, int maxValue,
293 float logMax = (float) Math.log(maxValue + 1);
308 private static void drawColorLegend(Canvas canvas, int maxValue, ColorInterpolator colorInter,
323 int tickSpacing = (maxValue + NUM_LEGEND_LABELS - 1) / NUM_LEGEND_LABELS;
324 for (int i = 0; i < maxValue; i += tickSpacing) {
325 float yPos = legendArea.bottom - (((float) i / maxValue) * legendArea.height());
331 canvas.drawText(Integer.toString(maxValue), legendArea.right + INNER_MARGIN,
/external/walt/android/WALT/app/src/main/java/org/chromium/latency/walt/
DNumberPickerPreference.java30 private int maxValue; field in NumberPickerPreference
46 maxValue = a.getInt(R.styleable.NumberPickerPreference_maxValue, DEFAULT_maxValue); in NumberPickerPreference()
119 picker.setMaxValue(getNumberPickerPreference().maxValue); in onBindDialogView()
/external/guava/guava/src/com/google/common/collect/
DDiscreteDomain.java79 @Override public Integer maxValue() { in maxValue() method in DiscreteDomain.IntegerDomain
133 @Override public Long maxValue() { in maxValue() method in DiscreteDomain.LongDomain
259 public C maxValue() { in maxValue() method in DiscreteDomain
/external/parameter-framework/upstream/parameter/
DIntegerParameterType.cpp401 type minValue, type maxValue, in checkValueAgainstRange() argument
405 if (value < minValue || value > maxValue) { in checkValueAgainstRange()
418 stream << maxValue; in checkValueAgainstRange()
422 stream << minValue << ", " << maxValue; in checkValueAgainstRange()
/external/deqp/modules/gles31/functional/
Des31fAtomicCounterTests.cpp674 deUint32 maxValue = 0; in checkUniquenessAndLinearity() local
683 maxValue = std::max(maxValue, values[valueNdx]); in checkUniquenessAndLinearity()
687 counts.resize(maxValue - minValue + 1, 0); in checkUniquenessAndLinearity()
721 deUint32 maxValue = 0; in checkPath() local
728 maxValue = std::max(maxValue, increments[valueNdx]); in checkPath()
737 maxValue = std::max(maxValue, decrements[valueNdx]); in checkPath()
742 maxValue = std::max(maxValue, (deUint32)initialValue); in checkPath()
744 incrementCounts.resize(maxValue - minValue + 1, 0); in checkPath()
745 decrementCounts.resize(maxValue - minValue + 1, 0); in checkPath()
/external/mesa3d/src/mesa/main/
Dimage.c807 GLint maxValue) in clip_right_or_top() argument
811 if (*dstX1 > maxValue) { in clip_right_or_top()
813 assert(*dstX0 < maxValue); /* X0 should be inside right edge */ in clip_right_or_top()
814 t = (GLfloat) (maxValue - *dstX0) / (GLfloat) (*dstX1 - *dstX0); in clip_right_or_top()
817 *dstX1 = maxValue; in clip_right_or_top()
821 else if (*dstX0 > maxValue) { in clip_right_or_top()
823 assert(*dstX1 < maxValue); /* X1 should be inside right edge */ in clip_right_or_top()
824 t = (GLfloat) (maxValue - *dstX1) / (GLfloat) (*dstX0 - *dstX1); in clip_right_or_top()
827 *dstX0 = maxValue; in clip_right_or_top()
/external/clang/test/CodeGenObjC/
Dprotocols.m6 +(int) maxValue; class
56 return [P1Object maxValue];
/external/skia/src/effects/
DSkColorMatrix.cpp20 SkScalar maxValue = row[4] / 255; in component_needs_clamping() local
24 maxValue += row[i]; in component_needs_clamping()
28 return (maxValue > 1) || (minValue < 0); in component_needs_clamping()
/external/skqp/src/effects/
DSkColorMatrix.cpp20 SkScalar maxValue = row[4] / 255; in component_needs_clamping() local
24 maxValue += row[i]; in component_needs_clamping()
28 return (maxValue > 1) || (minValue < 0); in component_needs_clamping()
/external/aac/libSBRenc/src/
Dps_main.cpp557 FIXP_DBL maxValue = FL2FXCONST_DBL(0.f); in psFindBestScaling() local
596 maxValue = fixMax(maxValue, fixMax(maxVal[0][band], maxVal[1][band])); in psFindBestScaling()
602 *dmxScale = fixMin(DFRACT_BITS, CountLeadingBits(maxValue)); in psFindBestScaling()
604 *dmxScale = fixMax(0, fixMin(FRACT_BITS, CountLeadingBits((maxValue)))); in psFindBestScaling()
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/
DISO8601Converter.java470 public int gatherInt(String errorMsg, int maxValue) throws XMPException in gatherInt() argument
485 if (value > maxValue) in gatherInt()
487 return maxValue; in gatherInt()
/external/deqp/modules/gles2/performance/
Des2pShaderControlStatementTests.cpp325 float maxValue = (float)getViewportWidth()*0.5f; in init() local
327 Vec4(maxValue, 0.0f, 0.0f, 0.0f), in init()
329 Vec4(maxValue, 0.0f, 0.0f, 0.0f))); in init()
601 float maxValue = (float)getViewportWidth()*0.5f; in init() local
603 Vec4(maxValue, 0.0f, 0.0f, 0.0f), in init()
605 Vec4(maxValue, 0.0f, 0.0f, 0.0f))); in init()
/external/deqp/modules/gles3/performance/
Des3pShaderControlStatementTests.cpp329 float maxValue = (float)getViewportWidth()*0.5f; in init() local
331 Vec4(maxValue, 0.0f, 0.0f, 0.0f), in init()
333 Vec4(maxValue, 0.0f, 0.0f, 0.0f))); in init()
609 float maxValue = (float)getViewportWidth()*0.5f; in init() local
611 Vec4(maxValue, 0.0f, 0.0f, 0.0f), in init()
613 Vec4(maxValue, 0.0f, 0.0f, 0.0f))); in init()

1234