/packages/apps/Camera2/src/com/android/camera/crop/ |
GeometryMathUtils.java | 49 public static float clamp(float i, float low, float high) { method in class:GeometryMathUtils
|
Utils.java | 99 public static int clamp(int x, int min, int max) { method in class:Utils 106 public static float clamp(float x, float min, float max) { method in class:Utils 113 public static long clamp(long x, long min, long max) { method in class:Utils
|
/external/chromium_org/third_party/WebKit/Source/core/platform/ |
LayoutUnit.h | 90 return clamp(value + epsilon() / 2.0f); 91 return clamp(value - epsilon() / 2.0f); 208 static LayoutUnit clamp(double value) function in class:WebCore::LayoutUnit
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/softpipe/ |
sp_quad_blend.c | 59 boolean clamp[PIPE_MAX_COLOR_BUFS]; /**< clamp colors to [0,1]? */ member in struct:blend_quad_stage 856 * Clamp all colors in a quad to [0, 1] 865 quadColor[i][j] = CLAMP(quadColor[i][j], 0.0F, 1.0F); 939 const boolean clamp = bqs->clamp[cbuf]; local 944 if (clamp) 970 /* If fixed-point dest color buffer, need to clamp the incoming 973 if (clamp || softpipe->rasterizer->clamp_fragment_color) { [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/program/ |
prog_execute.c | 482 const GLboolean clamp = inst->SaturateMode == SATURATE_ZERO_ONE; local 495 if (clamp) { 496 clampedValue[0] = CLAMP(value[0], 0.0F, 1.0F); 497 clampedValue[1] = CLAMP(value[1], 0.0F, 1.0F); 498 clampedValue[2] = CLAMP(value[2], 0.0F, 1.0F); 499 clampedValue[3] = CLAMP(value[3], 0.0F, 1.0F); [all...] |
/external/mesa3d/src/gallium/drivers/softpipe/ |
sp_quad_blend.c | 59 boolean clamp[PIPE_MAX_COLOR_BUFS]; /**< clamp colors to [0,1]? */ member in struct:blend_quad_stage 856 * Clamp all colors in a quad to [0, 1] 865 quadColor[i][j] = CLAMP(quadColor[i][j], 0.0F, 1.0F); 939 const boolean clamp = bqs->clamp[cbuf]; local 944 if (clamp) 970 /* If fixed-point dest color buffer, need to clamp the incoming 973 if (clamp || softpipe->rasterizer->clamp_fragment_color) { [all...] |
/external/mesa3d/src/mesa/program/ |
prog_execute.c | 482 const GLboolean clamp = inst->SaturateMode == SATURATE_ZERO_ONE; local 495 if (clamp) { 496 clampedValue[0] = CLAMP(value[0], 0.0F, 1.0F); 497 clampedValue[1] = CLAMP(value[1], 0.0F, 1.0F); 498 clampedValue[2] = CLAMP(value[2], 0.0F, 1.0F); 499 clampedValue[3] = CLAMP(value[3], 0.0F, 1.0F); [all...] |
/frameworks/av/media/libstagefright/yuv/ |
YUVImage.cpp | 367 uint8_t clamp(uint8_t v, uint8_t minValue, uint8_t maxValue) { function in namespace:android 381 *r = clamp(*r, 0, 255); 382 *g = clamp(*g, 0, 255); 383 *b = clamp(*b, 0, 255);
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/common/ |
Utils.java | 99 public static int clamp(int x, int min, int max) { method in class:Utils 106 public static float clamp(float x, float min, float max) { method in class:Utils 113 public static long clamp(long x, long min, long max) { method in class:Utils
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
Utils.java | 99 public static int clamp(int x, int min, int max) { method in class:Utils 106 public static float clamp(float x, float min, float max) { method in class:Utils 113 public static long clamp(long x, long min, long max) { method in class:Utils
|
/packages/apps/Launcher3/src/com/android/gallery3d/common/ |
Utils.java | 99 public static int clamp(int x, int min, int max) { method in class:Utils 106 public static float clamp(float x, float min, float max) { method in class:Utils 113 public static long clamp(long x, long min, long max) { method in class:Utils
|
/external/chromium_org/third_party/icu/source/i18n/ |
decContext.h | 42 /* clamp -- must be either 0 or 1 */ 94 uint8_t clamp; /* flag: apply IEEE exponent clamp */ member in struct:__anon13358
|
/external/icu4c/i18n/ |
decContext.h | 43 /* clamp -- must be either 0 or 1 */ 95 uint8_t clamp; /* flag: apply IEEE exponent clamp */ member in struct:__anon20671
|
/external/jmonkeyengine/engine/src/core/com/jme3/math/ |
FastMath.java | 911 * Take a float input and clamp it between min and max. 918 public static float clamp(float input, float min, float max) { method in class:FastMath [all...] |
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/noise/ |
ShaderUtils.java | 65 return new Color((int) ShaderUtils.clamp(ShaderUtils.mix(a.getRed(), b.getRed(), f), 0, 255), (int) ShaderUtils.clamp(
66 ShaderUtils.mix(a.getGreen(), b.getGreen(), f), 0, 255), (int) ShaderUtils.clamp(
83 return ShaderUtils.clamp((x - a) / (b - a), 0, 1);
90 public static final float clamp(final float x, final float a, final float b) {
method in class:ShaderUtils 158 x = ShaderUtils.clamp(x, 0, 1) * nspans;
194 float cutoff = ShaderUtils.clamp(0.5f / swidth, 0, maxFreq);
199 float fade = ShaderUtils.clamp(2 * (cutoff - f) / cutoff, 0, 1);
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r600/ |
r600_asm.h | 44 unsigned clamp; member in struct:r600_bytecode_alu_dst
|
/external/mesa3d/src/gallium/drivers/r600/ |
r600_asm.h | 44 unsigned clamp; member in struct:r600_bytecode_alu_dst
|
/external/skia/tests/ |
MathTest.cpp | 495 int clamp = SkClampMax(value, max); local 497 REPORTER_ASSERT(reporter, clamp == clamp2);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
ExpandHelper.java | 242 float newHeight = clamp(target); 250 private float clamp(float target) { method in class:ExpandHelper 439 final float newHeight = clamp(rawHeight);
|
/frameworks/native/opengl/libs/ETC1/ |
etc1.cpp | 122 static inline etc1_byte clamp(int x) { function 191 *q++ = clamp(r + delta); 192 *q++ = clamp(g + delta); 193 *q++ = clamp(b + delta); 311 int decodedG = clamp(g + modifier); 316 int decodedR = clamp(r + modifier); 321 int decodedB = clamp(b + modifier);
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
GeometryMathUtils.java | 98 public static float clamp(float i, float low, float high) { method in class:GeometryMathUtils
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
Util.java | 320 public static int clamp(int x, int min, int max) { method in class:Util
|
/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/ |
MediaItemView.java | 460 startIdx = clamp(startIdx, 0, mNumberOfThumbnails - 1); 461 endIdx = clamp(endIdx, 0, mNumberOfThumbnails - 1); 536 private static int clamp(int v, int low, int high) { method in class:MediaItemView
|
/sdk/emulator/opengl/host/libs/Translator/GLcommon/ |
etc1.cpp | 122 static inline etc1_byte clamp(int x) { function 191 *q++ = clamp(r + delta); 192 *q++ = clamp(g + delta); 193 *q++ = clamp(b + delta); 311 int decodedG = clamp(g + modifier); 316 int decodedR = clamp(r + modifier); 321 int decodedB = clamp(b + modifier);
|
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/swingui/ |
TestCaseEditController.java | 584 public static String clamp(String text, int len) { method in class:TestCaseEditController.TestCaseListRenderer 612 clamp(clampAtNewLine(item.getInput().getScript()), 18)); 614 clamp(clampAtNewLine(item.getOutput().getScript()), 18));
|