/frameworks/av/media/libnbaio/ |
D | MonoPipeReader.cpp | 49 ssize_t red = availableToRead(); in read() local 50 if (CC_UNLIKELY(red <= 0)) { in read() 51 return red; in read() 53 if (CC_LIKELY((size_t) red > count)) { in read() 54 red = count; in read() 58 if (part1 > (size_t) red) { in read() 59 part1 = red; in read() 64 size_t part2 = red - part1; in read() 69 android_atomic_release_store(red + mPipe->mFront, &mPipe->mFront); in read() 70 mFramesRead += red; in read() [all …]
|
D | PipeReader.cpp | 79 size_t red = mPipe.mMaxFrames - front; in read() local 80 if (CC_LIKELY(red > count)) { in read() 81 red = count; in read() 84 memcpy(buffer, (char *) mPipe.mBuffer + (front * mFrameSize), red * mFrameSize); in read() 86 if (CC_UNLIKELY(front + red == mPipe.mMaxFrames)) { in read() 87 if (CC_UNLIKELY((count -= red) > front)) { in read() 91 memcpy((char *) buffer + (red * mFrameSize), mPipe.mBuffer, count * mFrameSize); in read() 92 red += count; in read() 95 mFront += red; in read() 96 mFramesRead += red; in read() [all …]
|
/frameworks/base/graphics/java/android/graphics/ |
D | Color.java | 65 public static int red(int color) { in red() method in Color 96 public static int rgb(int red, int green, int blue) { in rgb() argument 97 return (0xFF << 24) | (red << 16) | (green << 8) | blue; in rgb() 111 public static int argb(int alpha, int red, int green, int blue) { in argb() argument 112 return (alpha << 24) | (red << 16) | (green << 8) | blue; in argb() 124 double red = Color.red(color) / 255.0; in luminance() local 125 red = red < 0.03928 ? red / 12.92 : Math.pow((red + 0.055) / 1.055, 2.4); in luminance() 130 return (float) ((0.2126 * red) + (0.7152 * green) + (0.0722 * blue)); in luminance() 176 public static void RGBToHSV(int red, int green, int blue, @Size(3) float hsv[]) { 180 nativeRGBToHSV(red, green, blue, hsv); [all …]
|
/frameworks/rs/java/tests/Refocus/src/com/android/rs/test/ |
D | layered_filter_fast_f32.rs | 105 sharp->red = in.r * g_kOneOver255; 109 sharp->red = 110 ApplyLUT_Float(sharp->red, g_camera_response.lut_remove_crf_float); 270 float4 this_value = {weight * sharp->red, weight * sharp->green, 291 float4 this_value = {weight * sharp->red, weight * sharp->green, 386 fuzzy->red += factor * result.red; 432 sharp->red += factor * (fuzzy->red - sharp->red); 436 fuzzy->red = 0; 462 fuzzy->red += sharp->red * capacity; 482 result.r = ApplyLUT_Float(fuzzy->red, g_camera_response.lut_apply_crf_float); [all …]
|
D | pixel_format_f32.rsh | 7 // 1. Initially, it stores the input color (red, green, blue) and the depth 17 // the color (red, green, blue) of FocusPixel is updated and ready to be used in 21 // the color (red, green, blue) of FocusPixel is *not* changed. 27 float red; 51 float red;
|
D | layered_filter_f32_helper.rsh | 95 result.red += weight * sharp_nbr->red; 107 result.red *= factor; 143 fuzzy.red = result.r * factor; 179 result.red += weight * sharp_nbr->red; 191 result.red *= fac; 201 p->red = 0; 221 p->red = 0;
|
/frameworks/base/core/java/android/hardware/camera2/params/ |
D | TonemapCurve.java | 103 public TonemapCurve(float[] red, float[] green, float[] blue) { in TonemapCurve() argument 106 checkNotNull(red, "red must not be null"); in TonemapCurve() 110 checkArgumentArrayLengthDivisibleBy(red, POINT_SIZE, "red"); in TonemapCurve() 114 checkArgumentArrayLengthNoLessThan(red, MIN_CURVE_LENGTH, "red"); in TonemapCurve() 118 checkArrayElementsInRange(red, LEVEL_BLACK, LEVEL_WHITE, "red"); in TonemapCurve() 122 mRed = Arrays.copyOf(red, red.length); in TonemapCurve()
|
D | RggbChannelVector.java | 58 public RggbChannelVector(final float red, final float greenEven, final float greenOdd, in RggbChannelVector() argument 60 mRed = checkArgumentFinite(red, "red"); in RggbChannelVector()
|
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/engine/ |
D | Material.java | 102 int[] red = new int[means.length - 1]; in setup() local 112 red[i] = (rgb >> 16) & 0xff; in setup() 129 mMaterialProp[i].mRed = red[i]; in setup() 243 int red = m[0].mRed; in buildMaterialProp() local 249 mColor[p + RED] = (byte) red; in buildMaterialProp() 266 int red = (int) (m[k].mRed * t1 + m[k + 1].mRed * t2); in buildMaterialProp() local 275 mColor[p + RED] = (byte) red; in buildMaterialProp() 287 int red = mp.mRed; in buildMaterialProp() local 292 mColor[p + RED] = (byte) red; in buildMaterialProp()
|
/frameworks/support/v7/palette/src/androidTest/java/android/support/v7/graphics/ |
D | TestUtils.java | 36 assertEquals(Color.red(expected), Color.red(actual), 2); in assertCloseColors()
|
/frameworks/native/opengl/libagl/ |
D | dxt.cpp | 52 #define red(x) (((x) >> 11) & 0x1f) macro 235 int r0 = red(color0); in decodeDXT1() 239 int r1 = red(color1); in decodeDXT1() 365 int r0 = red(color0); in decodeDXT3() 369 int r1 = red(color1); in decodeDXT3() 522 int r0 = red(color0); in decodeDXT5() 526 int r1 = red(color1); in decodeDXT5()
|
/frameworks/native/services/surfaceflinger/RenderEngine/ |
D | Description.cpp | 72 void Description::setColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) { in setColor() argument 73 mColor[0] = red; in setColor()
|
/frameworks/support/v4/java/android/support/v4/graphics/ |
D | ColorUtils.java | 52 int r = compositeComponent(Color.red(foreground), fgAlpha, in compositeColors() 53 Color.red(background), bgAlpha, a); in compositeColors() 221 RGBToHSL(Color.red(color), Color.green(color), Color.blue(color), outHsl); in colorToHSL() 310 RGBToLAB(Color.red(color), Color.green(color), Color.blue(color), outLab); in colorToLAB() 353 RGBToXYZ(Color.red(color), Color.green(color), Color.blue(color), outXyz); in colorToXYZ() 545 float r = Color.red(color1) * inverseRatio + Color.red(color2) * ratio; in blendARGB()
|
/frameworks/rs/java/tests/ScriptGroupTest/src/com/android/rs/sgtest/ |
D | vibrance_f.rs | 32 float red = (r-max(g, b)) * (1.f / 256.f); 33 float S = (float)(Vib/(1+native_exp(-red*3)))+1;
|
/frameworks/base/docs/html-intl/intl/es/preview/features/ |
D | background-optimization.jd | 20 <a href="#sched-jobs">Programación de trabajos en red en conexiones 25 <a href="#monitor-conn">Control de la conectividad de la red mientras la aplicación 84 de red cuando se cumplen las condiciones especificadas, como una conexión a una 85 red de uso no medido. Ahora también puedes usar {@link android.app.job.JobScheduler} 107 escuchar los cambios en la red o realizar múltiples actividades en red cuando el 108 dispositivo se conecta a una red sin medición de uso. Ya existen varias soluciones 120 Programación de trabajos en red en conexiones sin medición de uso 129 programa la ejecución de un servicio cuando el dispositivo se conecta a una red sin 163 Control de la conectividad de la red mientras la aplicación se está ejecutando 170 un callback solo cuando se cumplen las condiciones de red especificadas. [all …]
|
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/ |
D | vibrance.rs | 32 float red = (r-max(g, b)) * (1.f / 256.f); 33 float S = (float)(Vib/(1+native_exp(-red*3)))+1;
|
/frameworks/native/opengl/libs/GLES_CM/ |
D | gl_api.in | 4 void API_ENTRY(glClearColor)(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) { 5 CALL_GL_API(glClearColor, red, green, blue, alpha); 13 void API_ENTRY(glColor4f)(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) { 14 CALL_GL_API(glColor4f, red, green, blue, alpha); 139 void API_ENTRY(glClearColorx)(GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha) { 140 CALL_GL_API(glClearColorx, red, green, blue, alpha); 154 void API_ENTRY(glColor4ub)(GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha) { 155 CALL_GL_API(glColor4ub, red, green, blue, alpha); 157 void API_ENTRY(glColor4x)(GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha) { 158 CALL_GL_API(glColor4x, red, green, blue, alpha); [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
D | NotificationUtils.java | 50 (int) interpolate(Color.red(startColor), Color.red(endColor), amount), in interpolateColors()
|
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/ |
D | MarshalQueryableRggbChannelVector.java | 49 float red = buffer.getFloat(); in unmarshal() local 54 return new RggbChannelVector(red, gEven, gOdd, blue); in unmarshal()
|
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/ |
D | vibrance.rs | 32 float red = (r-max(g, b)) * (1.f / 256.f); 33 float S = (float)(Vib/(1+native_exp(-red*3)))+1;
|
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/ |
D | vibrance.rs | 32 float red = (r-max(g, b)) * (1.f / 256.f); 33 float S = (float)(Vib/(1+native_exp(-red*3)))+1;
|
/frameworks/native/opengl/tools/glgen/specs/gles11/ |
D | GLES10.spec | 7 void glClearColor ( GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha ) 8 void glClearColorx ( GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha ) 13 void glColor4f ( GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha ) 14 void glColor4x ( GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha ) 15 void glColorMask ( GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha )
|
/frameworks/native/opengl/tests/testFramerate/src/com/android/testframerate/ |
D | TestFramerateView.java | 76 float red = (now_us % 1000000) / 1000000.f; in onDrawFrame() local 79 GLES20.glClearColor(red, green, blue, 1.0f); in onDrawFrame()
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
D | DuotoneFilter.java | 112 float first[] = { Color.red(mFirstColor)/255f, in updateParameters() 115 float second[] = { Color.red(mSecondColor)/255f, in updateParameters()
|
/frameworks/base/libs/hwui/ |
D | PropertyValuesHolder.cpp | 67 U8CPU red = lerp(SkColorGetR(fromColor), SkColorGetR(toColor), fraction); in interpolateColors() local 70 return SkColorSetARGB(alpha, red, green, blue); in interpolateColors()
|