/frameworks/base/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/ |
D | omxVCM4P10_TransformDequantLumaDCFromPair.c | 73 int c1 = pData[i+1]; in InvTransformDC4x4() local 76 pData[i+0] = (OMX_S16)(c0+c1+c2+c3); in InvTransformDC4x4() 77 pData[i+1] = (OMX_S16)(c0+c1-c2-c3); in InvTransformDC4x4() 78 pData[i+2] = (OMX_S16)(c0-c1-c2+c3); in InvTransformDC4x4() 79 pData[i+3] = (OMX_S16)(c0-c1+c2-c3); in InvTransformDC4x4() 86 int c1 = pData[i+4]; in InvTransformDC4x4() local 89 pData[i+0] = (OMX_S16)(c0+c1+c2+c3); in InvTransformDC4x4() 90 pData[i+4] = (OMX_S16)(c0+c1-c2-c3); in InvTransformDC4x4() 91 pData[i+8] = (OMX_S16)(c0-c1-c2+c3); in InvTransformDC4x4() 92 pData[i+12] = (OMX_S16)(c0-c1+c2-c3); in InvTransformDC4x4()
|
/frameworks/base/services/java/com/android/server/wm/ |
D | Watermark.java | 67 int c1 = mTokens[0].charAt(i); in Watermark() local 69 if (c1 >= 'a' && c1 <= 'f') c1 = c1 - 'a' + 10; in Watermark() 70 else if (c1 >= 'A' && c1 <= 'F') c1 = c1 - 'A' + 10; in Watermark() 71 else c1 -= '0'; in Watermark() 75 builder.append((char)(255-((c1*16)+c2))); in Watermark()
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
D | Gradient_Delegate.java | 195 private int computeColor(int c1, int c2, float percent) { in computeColor() argument 196 int a = computeChannel((c1 >> 24) & 0xFF, (c2 >> 24) & 0xFF, percent); in computeColor() 197 int r = computeChannel((c1 >> 16) & 0xFF, (c2 >> 16) & 0xFF, percent); in computeColor() 198 int g = computeChannel((c1 >> 8) & 0xFF, (c2 >> 8) & 0xFF, percent); in computeColor() 199 int b = computeChannel((c1 ) & 0xFF, (c2 ) & 0xFF, percent); in computeColor() 207 private int computeChannel(int c1, int c2, float percent) { in computeChannel() argument 208 return c1 + (int)((percent * (c2-c1)) + .5); in computeChannel()
|
/frameworks/base/media/libstagefright/codecs/avc/enc/src/ |
D | findhalfpel.cpp | 523 uint8 *c1 = qpel_cand; in GenerateQuartPelPred() local 544 *c1 = (c + a + 1) >> 1; in GenerateQuartPelPred() 545 *(c1 += 384) = (b + a + 1) >> 1; /* c2 */ in GenerateQuartPelPred() 546 *(c1 += 384) = (b + c + 1) >> 1; /* c3 */ in GenerateQuartPelPred() 547 *(c1 += 384) = (b + d + 1) >> 1; /* c4 */ in GenerateQuartPelPred() 551 *(c1 += 384) = (c + d + 1) >> 1; /* c5 */ in GenerateQuartPelPred() 552 *(c1 += 384) = (b + d + 1) >> 1; /* c6 */ in GenerateQuartPelPred() 553 *(c1 += 384) = (b + c + 1) >> 1; /* c7 */ in GenerateQuartPelPred() 554 *(c1 += 384) = (b + a + 1) >> 1; /* c8 */ in GenerateQuartPelPred() 556 c1 += offset; in GenerateQuartPelPred() [all …]
|
/frameworks/base/libs/rs/ |
D | rsMatrix4x4.cpp | 45 int c1 = (i+2) % 4; in inverse() local 52 (m[c0 + 4*r0] * (m[c1 + 4*r1] * m[c2 + 4*r2] - m[c1 + 4*r2] * m[c2 + 4*r1])) in inverse() 53 - (m[c0 + 4*r1] * (m[c1 + 4*r0] * m[c2 + 4*r2] - m[c1 + 4*r2] * m[c2 + 4*r0])) in inverse() 54 + (m[c0 + 4*r2] * (m[c1 + 4*r0] * m[c2 + 4*r1] - m[c1 + 4*r1] * m[c2 + 4*r0])); in inverse() 87 int c1 = (i+2) % 4; in inverseTranspose() local 93 … float minor = (m[c0 + 4*r0] * (m[c1 + 4*r1] * m[c2 + 4*r2] - m[c1 + 4*r2] * m[c2 + 4*r1])) in inverseTranspose() 94 … - (m[c0 + 4*r1] * (m[c1 + 4*r0] * m[c2 + 4*r2] - m[c1 + 4*r2] * m[c2 + 4*r0])) in inverseTranspose() 95 … + (m[c0 + 4*r2] * (m[c1 + 4*r0] * m[c2 + 4*r1] - m[c1 + 4*r1] * m[c2 + 4*r0])); in inverseTranspose()
|
/frameworks/base/graphics/tests/graphicstests/src/android/graphics/ |
D | BitmapTest.java | 198 int c1 = bm1.getPixel(i % 16, i / 16); in testSetPixelsWithNonOpaqueAlpha() local 202 assertEquals("getPixel", c1, c2); in testSetPixelsWithNonOpaqueAlpha() 208 int a1 = Color.alpha(c1); in testSetPixelsWithNonOpaqueAlpha() 212 int r1 = Color.red(c1); in testSetPixelsWithNonOpaqueAlpha() 217 int g1 = Color.green(c1); in testSetPixelsWithNonOpaqueAlpha() 222 int b1 = Color.blue(c1); in testSetPixelsWithNonOpaqueAlpha() 229 " set+get " + Integer.toHexString(c1) + in testSetPixelsWithNonOpaqueAlpha()
|
/frameworks/base/opengl/tests/hwc/ |
D | hwcTestLib.cpp | 159 out << '[' << this->c1() << ", " in operator string() 305 float c1, c2, c3; in hwcTestParseColor() local 316 in >> c1; in hwcTestParseColor() 318 if ((c1 < 0.0) || (c1 > 1.0)) { return color; } in hwcTestParseColor() 341 if ((c1 < 0.0) || (c1 > 1.0) in hwcTestParseColor() 348 return ColorFract(c1, c2, c3); in hwcTestParseColor() 577 pixel = htonl((uint32_t) round((((1 << attrib->c1Size) - 1) * color.c1())) in hwcTestColor2Pixel() 708 ColorFract color(startColor.c1() + (endColor.c1() - startColor.c1()) in hwcTestFillColorHBlend() 847 + ((float) (fromAttrib->c1Max - fromAttrib->c1Min) * color.c1()); in hwcTestColorConvert() 876 float r = color.c1(), g = color.c2(), b = color.c3(); in hwcTestColorConvert() [all …]
|
D | hwcTestLib.h | 60 ColorFract(float c1, float c2, float c3): _c1(c1), _c2(c2), _c3(c3) {}; in ColorFract() argument 61 float c1(void) const { return _c1; } in c1() function
|
/frameworks/base/include/media/stagefright/ |
D | Utils.h | 25 #define FOURCC(c1, c2, c3, c4) \ argument 26 (c1 << 24 | c2 << 16 | c3 << 8 | c4)
|
/frameworks/base/graphics/java/android/renderscript/ |
D | Matrix4f.java | 378 int c1 = (i+2) % 4; in computeCofactor() local 384 float minor = (mMat[c0 + 4*r0] * (mMat[c1 + 4*r1] * mMat[c2 + 4*r2] - in computeCofactor() 385 mMat[c1 + 4*r2] * mMat[c2 + 4*r1])) in computeCofactor() 386 - (mMat[c0 + 4*r1] * (mMat[c1 + 4*r0] * mMat[c2 + 4*r2] - in computeCofactor() 387 mMat[c1 + 4*r2] * mMat[c2 + 4*r0])) in computeCofactor() 388 + (mMat[c0 + 4*r2] * (mMat[c1 + 4*r0] * mMat[c2 + 4*r1] - in computeCofactor() 389 mMat[c1 + 4*r1] * mMat[c2 + 4*r0])); in computeCofactor()
|
/frameworks/base/core/tests/coretests/src/android/database/sqlite/ |
D | SQLiteDatabaseTest.java | 780 final Cursor c1 = mDatabase.rawQuery("select count(*) from " + TEST_TABLE, null); in testTransactionAndWalInterplay1() local 782 assertEquals(1, c1.getCount()); in testTransactionAndWalInterplay1() 793 c1.requery(); in testTransactionAndWalInterplay1() 794 assertEquals(1, c1.getCount()); in testTransactionAndWalInterplay1() 804 c1.close(); in testTransactionAndWalInterplay1() 837 final Cursor c1 = mDatabase.rawQuery("select count(*) from " + TEST_TABLE, null); in testTransactionAndWalInterplay2() local 839 assertEquals(1, c1.getCount()); in testTransactionAndWalInterplay2() 850 c1.requery(); in testTransactionAndWalInterplay2() 851 assertEquals(1, c1.getCount()); in testTransactionAndWalInterplay2() 860 c1.close(); in testTransactionAndWalInterplay2() [all …]
|
D | SQLiteCursorTest.java | 137 Cursor c1 = mDatabase.rawQuery("select * from " + testTable, null); in testFillWindow() local 138 assertEquals(N, c1.getCount()); in testFillWindow() 139 c1.close(); in testFillWindow()
|
/frameworks/base/core/jni/ |
D | android_text_AndroidCharacter.cpp | 163 int c1 = data[i]; in mirror() local 164 int c2 = u_charMirror(c1); in mirror() 166 if (c1 != c2) { in mirror()
|
/frameworks/base/include/binder/ |
D | IBinder.h | 26 #define B_PACK_CHARS(c1, c2, c3, c4) \ argument 27 ((((c1)<<24)) | (((c2)<<16)) | (((c3)<<8)) | (c4))
|
/frameworks/base/opengl/libagl/ |
D | primitives.cpp | 31 int32_t* it, int32_t c0, int32_t c1, int32_t c2); 304 int32_t c0, int32_t c1, int32_t c2) const in iteratorsScale() argument 306 int32_t dc01 = c1 - c0; in iteratorsScale() 332 GGLfixed c0, GGLfixed c1, GGLfixed c2) const in iterators1616() argument 334 const GGLfixed dc01 = c1 - c0; in iterators1616() 348 int32_t c0, int32_t c1, int32_t c2) const in iterators0032() argument 351 int32_t dc01 = (c1 - c0)>>s; in iterators0032() 363 int32_t c0, int32_t c1, int32_t c2) const in iterators0032() argument 365 ::iterators0032(this, it, c0, c1, c2); in iterators0032() 369 int32_t c0, int32_t c1, int32_t c2) const in iterators0032() argument [all …]
|
/frameworks/base/opengl/libs/EGL/ |
D | egl_display.cpp | 32 const egl_config_t& c1 = *(egl_config_t const *)b; in cmp_configs() local 33 return c0<c1 ? -1 : (c1<c0 ? 1 : 0); in cmp_configs()
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | AidlTest.java | 305 char[] c1 = new char[]{'b', 'c'}; in testArrays() local 307 char[] cr = mRemote.charArray(c0, c1, c2); in testArrays() 312 assertEquals('a', c1[0]); in testArrays() 313 assertEquals('\0', c1[1]); in testArrays()
|
/frameworks/base/telephony/java/com/android/internal/telephony/test/ |
D | SimulatedGsmCallState.java | 391 onChld(char c0, char c1) { in onChld() argument 395 if (c1 != 0) { in onChld() 396 callIndex = c1 - '1'; in onChld() 408 if (c1 <= 0) { in onChld() 420 if (c1 <= 0) { in onChld()
|
D | ModelInterpreter.java | 459 char c1 = 0; in onCHLD() local 465 c1 = command.charAt(7); in onCHLD() 468 success = simulatedCallState.onChld(c0, c1); in onCHLD()
|
/frameworks/base/core/java/android/net/ |
D | UrlQuerySanitizer.java | 859 char c1 = string.charAt(i + 1); in unescape() local 861 if (isHexDigit(c1) && isHexDigit(c2)) { in unescape() 862 c = (char) (decodeHexDigit(c1) * 16 + decodeHexDigit(c2)); in unescape()
|
/frameworks/base/media/libstagefright/httplive/ |
D | LiveSession.cpp | 841 char c1 = tolower(iv.c_str()[2 + 2 * i]); in decryptBuffer() local 843 if (!isxdigit(c1) || !isxdigit(c2)) { in decryptBuffer() 847 uint8_t nibble1 = isdigit(c1) ? c1 - '0' : c1 - 'a' + 10; in decryptBuffer()
|
/frameworks/base/include/private/opengles/ |
D | gl_context.h | 550 int32_t c0, int32_t c1, int32_t c2) const; 553 GGLfixed c0, GGLfixed c1, GGLfixed c2) const; 556 int32_t c0, int32_t c1, int32_t c2) const; 559 int32_t c0, int32_t c1, int32_t c2) const;
|
/frameworks/base/services/audioflinger/ |
D | AudioResamplerSinc.cpp | 345 int32_t c1 = coefs[1]; in interpolate() local 346 int32_t sinc = mulAdd(lerp, (c1-c0)<<1, c0); in interpolate()
|
/frameworks/base/core/java/android/text/ |
D | TextUtils.java | 895 char c1 = text.charAt(offset - 2); in getOffsetBefore() local 897 if (c1 >= '\uD800' && c1 <= '\uDBFF') in getOffsetBefore() 932 char c1 = text.charAt(offset + 1); in getOffsetAfter() local 934 if (c1 >= '\uDC00' && c1 <= '\uDFFF') in getOffsetAfter()
|
/frameworks/base/services/camera/tests/CameraServiceTest/ |
D | CameraServiceTest.cpp | 318 void waitUntil(int c0, int c1, int c2); 368 void MSurface::waitUntil(int c0, int c1, int c2) { in waitUntil() argument 369 INFO("waitUntil: %d %d %d", c0, c1, c2); in waitUntil() 373 postBufferCount >= c1 && in waitUntil()
|