/frameworks/av/media/libnbaio/ |
H A D | MonoPipeReader.cpp | 60 ssize_t red = availableToRead(); local 61 if (CC_UNLIKELY(red <= 0)) { 65 return red; 67 if (CC_LIKELY((size_t) red > count)) { 68 red = count; 72 if (part1 > (size_t) red) { 73 part1 = red; 78 size_t part2 = red - part1; 83 mPipe->updateFrontAndNRPTS(red + mPipe->mFront, nextReadPTS); 84 mFramesRead += red; [all...] |
H A D | PipeReader.cpp | 74 size_t red = mPipe.mMaxFrames - front; local 75 if (CC_LIKELY(red > count)) { 76 red = count; 79 memcpy(buffer, (char *) mPipe.mBuffer + (front * mFrameSize), red * mFrameSize); 81 if (CC_UNLIKELY(front + red == mPipe.mMaxFrames)) { 82 if (CC_UNLIKELY((count -= red) > front)) { 86 memcpy((char *) buffer + (red * mFrameSize), mPipe.mBuffer, count * mFrameSize); 87 red += count; 90 mFront += red; 91 mFramesRead += red; [all...] |
/frameworks/base/graphics/java/android/graphics/ |
H A D | Color.java | 29 * Colors are represented as packed ints, made up of 4 bytes: alpha, red, 32 * components are stored as follows (alpha << 24) | (red << 16) | 36 * no contributions from red, green, or blue), and opaque-white would be 63 * Return the red component of a color int. This is the same as saying 67 public static int red(int color) { method in class:Color 90 * Return a color-int from red, green, blue components. 95 * @param red Red component [0..255] of the color 100 public static int rgb(int red, int green, int blue) { argument 101 return (0xFF << 24) | (red << 16) | (green << 8) | blue; 105 * Return a color-int from alpha, red, gree 115 argb(int alpha, int red, int green, int blue) argument 331 RGBToHSV(int red, int green, int blue, @Size(3) float hsv[]) argument 381 nativeRGBToHSV(int red, int greed, int blue, float hsv[]) argument [all...] |
/frameworks/base/core/java/android/hardware/camera2/params/ |
H A D | TonemapCurve.java | 33 * <p>This defines red, green, and blue curves that the {@link CameraDevice} will 66 * Index of the red color channel curve. 92 * @param red An array of elements whose length is divisible by {@value #POINT_SIZE} 103 public TonemapCurve(float[] red, float[] green, float[] blue) { argument 106 checkNotNull(red, "red must not be null"); 110 checkArgumentArrayLengthDivisibleBy(red, POINT_SIZE, "red"); 114 checkArgumentArrayLengthNoLessThan(red, MIN_CURVE_LENGTH, "red"); [all...] |
H A D | RggbChannelVector.java | 51 * @param red red pixel 58 public RggbChannelVector(final float red, final float greenEven, final float greenOdd, argument 60 mRed = checkArgumentFinite(red, "red"); 67 * Get the red component.
|
H A D | LensShadingMap.java | 164 final float red = 173 return new RggbChannelVector(red, greenEven, greenOdd, blue);
|
/frameworks/support/v4/java/android/support/v4/graphics/ |
H A D | ColorUtils.java | 39 int r = compositeComponent(Color.red(foreground), fgAlpha, 40 Color.red(background), bgAlpha, a); 64 double red = Color.red(color) / 255d; 65 red = red < 0.03928 ? red / 12.92 : Math.pow((red + 0.055) / 1.055, 2.4); 73 return (0.2126 * red) + (0.7152 * green) + (0.0722 * blue); 156 * @param r red componen [all...] |
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/ |
H A 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/ImageProcessing2/src/com/android/rs/image/ |
H A 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_jb/src/com/android/rs/image/ |
H A 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/ScriptGroupTest/src/com/android/rs/sgtest/ |
H A 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/core/java/android/hardware/camera2/marshal/impl/ |
H A D | MarshalQueryableRggbChannelVector.java | 49 float red = buffer.getFloat(); 54 return new RggbChannelVector(red, gEven, gOdd, blue);
|
/frameworks/native/services/surfaceflinger/RenderEngine/ |
H A D | Description.cpp | 72 void Description::setColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) { argument 73 mColor[0] = red;
|
H A D | Description.h | 66 void setColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
|
H A D | RenderEngine.h | 71 void clearWithColor(float red, float green, float blue, float alpha); 73 float red, float green, float blue, float alpha);
|
/frameworks/native/opengl/tests/testFramerate/src/com/android/testframerate/ |
H A D | TestFramerateView.java | 76 float red = (now_us % 1000000) / 1000000.f; 79 GLES20.glClearColor(red, green, blue, 1.0f);
|
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/engine/ |
H A D | Material.java | 102 int[] red = new int[means.length - 1];
112 red[i] = (rgb >> 16) & 0xff;
129 mMaterialProp[i].mRed = red[i];
243 int red = m[0].mRed;
249 mColor[p + RED] = (byte) red;
266 int red = (int) (m[k].mRed * t1 + m[k + 1].mRed * t2);
275 mColor[p + RED] = (byte) red;
287 int red = mp.mRed;
292 mColor[p + RED] = (byte) red;
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
H A D | DuotoneFilter.java | 112 float first[] = { Color.red(mFirstColor)/255f, 115 float second[] = { Color.red(mSecondColor)/255f,
|
H A D | TintFilter.java | 123 float tint_color[] = {Color.red(mTint) / 255f,
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | PathDestructionActivity.java | 74 int red = MathUtils.random(255); 77 return 0xff000000 | red << 16 | green << 8 | blue;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/ |
H A D | Utilities.java | 120 float bgR = Color.red(bg) / 255f; 128 float fgR = Color.red(fg) / 255f; 142 (int) (overlayAlpha * Color.red(baseColor) + 143 (1f - overlayAlpha) * Color.red(overlayColor)),
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/graphics/ |
H A D | ColorFilterCache.java | 41 final int r = Color.red(color);
|
H A D | ColorOverlayDimmer.java | 75 dimColor = Color.rgb(Color.red(dimColor), Color.green(dimColor), Color.blue(dimColor)); 134 (int)(Color.red(color) * f),
|
/frameworks/support/v4/tests/java/android/support/v4/graphics/ |
H A D | ColorUtilsTest.java | 107 Color.red(expectedRgb), Color.red(actualRgb), ALLOWED_OFFSET_RGB_COMPONENT);
|
/frameworks/base/media/mca/filterfw/native/core/ |
H A D | shader_program.h | 350 void SetClearColor(float red, float green, float blue, float alpha); 427 float red; member in struct:android::filterfw::ShaderProgram::RGBAColor 432 RGBAColor() : red(0), green(0), blue(0), alpha(1) {
|