/cts/tests/tests/renderscript/src/android/renderscript/cts/generated/ |
D | TestClamp.rs | 28 return clamp(inValue, inMinValue, inMaxValue); 34 return clamp(inValue, inMinValue, inMaxValue); 40 return clamp(inValue, inMinValue, inMaxValue); 46 return clamp(inValue, inMinValue, inMaxValue); 52 return clamp(inValue, inMinValue, inMaxValue); 58 return clamp(inValue, inMinValue, inMaxValue); 64 return clamp(inValue, inMinValue, inMaxValue); 70 return clamp(inValue, inMinValue, inMaxValue); 76 return clamp(inValue, inMinValue, inMaxValue); 82 return clamp(inValue, inMinValue, inMaxValue); [all …]
|
/cts/hostsidetests/theme/src/android/theme/cts/ |
D | ColorUtils.java | 40 int Ar = clamp(a(src) + a(dst) * x); in blendSrcOver() 41 int Rr = clamp(r(src) + r(dst) * x); in blendSrcOver() 42 int Gr = clamp(g(src) + g(dst) * x); in blendSrcOver() 43 int Br = clamp(b(src) + b(dst) * x); in blendSrcOver() 47 private static int clamp(int value) { in clamp() method in ColorUtils
|
/cts/tests/camera/src/android/hardware/camera2/cts/rs/ |
D | raw_converter.rs | 95 float3 sorted = clamp(rgb, 0.f, 1.f); 178 return clamp(finalRGB, 0.f, 1.f); 185 pRGB.x = clamp(pRGB.x, 0.f, neutralPoint.x); 186 pRGB.y = clamp(pRGB.y, 0.f, neutralPoint.y); 187 pRGB.z = clamp(pRGB.z, 0.f, neutralPoint.z); 191 return gammaCorrectPixel(clamp(rsMatrixMultiply(&intermediateToSRGB, intermediate), 0.f, 1.f)); 292 outputArray[kk] = clamp(g * (outputArray[kk] - bl) / (whiteLevel - bl), 0.f, 1.f);
|
D | RawConverter.java | 766 private static double clamp(double low, double high, double value) { in clamp() method in RawConverter
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | intrinsic_blur.rs | 77 int validH = clamp((int)y + r, (int)0, (int)(height - 1)); 89 int validX = clamp((int)x + r, (int)0, (int)(width - 1));
|
D | ImageProcessingTest.java | 302 final int clamp(int c) { in clamp() method in ImageProcessingTest.BlendFunc 312 int ia = clamp((int) (255 * a)); in pack() 313 int ir = clamp((int) (255 * r)); in pack() 314 int ig = clamp((int) (255 * g)); in pack() 315 int ib = clamp((int) (255 * b)); in pack() 325 rgba[0] = (byte) clamp(r); in pack() 326 rgba[1] = (byte) clamp(g); in pack() 327 rgba[2] = (byte) clamp(b); in pack() 328 rgba[3] = (byte) clamp(a); in pack()
|
D | intrinsic_convolve3x3.rs | 62 p20 = clamp(p20, 0.f, 255.f); 103 p20 = clamp(p20, 0.f, 255.f); 144 p20 = clamp(p20, 0.f, 255.f); 185 p20 = clamp(p20, 0.f, 255.f);
|
D | intrinsic_3dlut.rs | 57 v = clamp(v, 0.f, 255.f);
|
D | yuv.rs | 69 color = clamp(color, 0.f, 1.f);
|
D | intrinsic_convolve5x5.rs | 69 p0 = clamp(p0 + p1 + p2 + p3 + p4 + 0.5f, 0.f, 255.f); 116 p0 = clamp(p0 + p1 + p2 + p3 + p4 + 0.5f, 0.f, 255.f); 163 p0 = clamp(p0 + p1 + p2 + p3 + p4 + 0.5f, 0.f, 255.f); 210 return clamp(p0 + p1 + p2 + p3 + p4 + 0.5f, 0.f, 255.f);
|
D | intrinsic_resize.rs | 91 p = clamp(p + 0.5f, 0.f, 255.f); 141 p = clamp(p + 0.5f, 0.f, 255.f); 191 p = clamp(p + 0.5f, 0.f, 255.f); 241 p = clamp(p + 0.5f, 0.f, 255.f);
|
D | CoreMathVerifier.java | 413 static private Target.Floaty clamp(double value, double minValue, double maxValue, Target t) { in clamp() method in CoreMathVerifier 1274 args.out = clamp(args.inValueDouble, args.inMinValueDouble, args.inMaxValueDouble, t); in computeClamp()
|
/cts/tests/sensor/src/android/hardware/cts/helpers/sensorverification/ |
D | FrequencyVerification.java | 107 delayUs = SensorCtsHelper.clamp(delayUs, minDelayUs, maxDelayUs); in getDefault()
|
/cts/tests/sensor/src/android/hardware/cts/helpers/ |
D | SensorCtsHelper.java | 147 public static <TValue extends Number> double clamp(TValue val, TValue min, TValue max) { in clamp() method in SensorCtsHelper
|
/cts/tests/tests/media/src/android/media/cts/ |
D | MediaCodecCapabilitiesTest.java | 434 int bitrate = vidCaps.getBitrateRange().clamp( in createReasonableVideoFormat()
|
D | VideoEncoderTest.java | 981 return range.clamp(align * (int)Math.round(value / align)); in alignInRange()
|
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
D | MediaUtils.java | 688 int bitrate = vidCaps.getBitrateRange().clamp( in setMaxEncoderFrameAndBitrates()
|
/cts/tools/dex-tools/dex/ |
D | classes.out.dex | 106357 private int clamp( 112256 public static final int clamp
|