/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/ |
D | omxVCM4P10_TransformDequantLumaDCFromPair.c | 74 int c2 = pData[i+2]; 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() 87 int c2 = pData[i+8]; 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/core/tests/coretests/src/android/widget/ |
D | TextViewTest.java | 49 char[] c2 = new char[7]; in testArray() local 50 ((GetChars) newText).getChars(1, 4, c2, 2); in testArray() 51 assertEquals('\0', c2[1]); in testArray() 52 assertEquals(' ', c2[2]); in testArray() 53 assertEquals('W', c2[3]); in testArray() 54 assertEquals('o', c2[4]); in testArray() 55 assertEquals('\0', c2[5]); in testArray()
|
D | SimpleCursorAdapterTest.java | 119 Cursor c2 = createCursor(mFrom, data2); in testChangeCursorLive() local 120 ca.changeCursor(c2); in testChangeCursorLive() 160 Cursor c2 = createCursor(swappedFrom, mData2x2); in testChangeCursorColumns() local 161 ca.changeCursor(c2); in testChangeCursorColumns()
|
/frameworks/base/services/java/com/android/server/wm/ |
D | Watermark.java | 70 int c2 = mTokens[0].charAt(i+1); in Watermark() local 74 if (c2 >= 'a' && c2 <= 'f') c2 = c2 - 'a' + 10; in Watermark() 75 else if (c2 >= 'A' && c2 <= 'F') c2 = c2 - 'A' + 10; in Watermark() 76 else c2 -= '0'; in Watermark() 77 builder.append((char)(255-((c1*16)+c2))); in Watermark()
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
D | Gradient_Delegate.java | 196 private int computeColor(int c1, int c2, float percent) { in computeColor() argument 197 int a = computeChannel((c1 >> 24) & 0xFF, (c2 >> 24) & 0xFF, percent); in computeColor() 198 int r = computeChannel((c1 >> 16) & 0xFF, (c2 >> 16) & 0xFF, percent); in computeColor() 199 int g = computeChannel((c1 >> 8) & 0xFF, (c2 >> 8) & 0xFF, percent); in computeColor() 200 int b = computeChannel((c1 ) & 0xFF, (c2 ) & 0xFF, percent); in computeColor() 208 private int computeChannel(int c1, int c2, float percent) { in computeChannel() argument 209 return c1 + (int)((percent * (c2-c1)) + .5); in computeChannel()
|
/frameworks/support/renderscript/v8/rs_support/ |
D | rsMatrix4x4.cpp | 46 int c2 = (i+3) % 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() 88 int c2 = (i+3) % 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/rs/ |
D | rsMatrix4x4.cpp | 46 int c2 = (i+3) % 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() 88 int c2 = (i+3) % 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/compile/libbcc/tests/debuginfo/host-tests/ |
D | parameters.cpp | 24 char c2[2]; member 41 s.c2[0] = '0'; in main() 42 s.c2[1] = '1'; in main()
|
/frameworks/native/opengl/tests/hwc/ |
D | hwcTestLib.cpp | 162 << this->c2() << ", " in operator string() 307 float c1, c2, c3; in hwcTestParseColor() local 325 in >> c2; in hwcTestParseColor() 327 if ((c2 < 0.0) || (c2 > 1.0)) { return color; } in hwcTestParseColor() 344 || (c2 < 0.0) || (c2 > 1.0) in hwcTestParseColor() 350 return ColorFract(c1, c2, c3); in hwcTestParseColor() 582 pixel |= htonl((uint32_t) round((((1 << attrib->c2Size) - 1) * color.c2())) in hwcTestColor2Pixel() 712 startColor.c2() + (endColor.c2() - startColor.c2()) in hwcTestFillColorHBlend() 851 + ((float) (fromAttrib->c2Max - fromAttrib->c2Min) * color.c2()); in hwcTestColorConvert() 878 float r = color.c1(), g = color.c2(), b = color.c3(); in hwcTestColorConvert() [all …]
|
D | hwcTestLib.h | 59 ColorFract(float c1, float c2, float c3): _c1(c1), _c2(c2), _c3(c3) {}; in ColorFract() argument 61 float c2(void) const { return _c2; } in c2() function
|
/frameworks/base/graphics/java/android/renderscript/ |
D | Matrix4f.java | 407 int c2 = (i+3) % 4; in computeCofactor() local 412 float minor = (mMat[c0 + 4*r0] * (mMat[c1 + 4*r1] * mMat[c2 + 4*r2] - in computeCofactor() 413 mMat[c1 + 4*r2] * mMat[c2 + 4*r1])) in computeCofactor() 414 - (mMat[c0 + 4*r1] * (mMat[c1 + 4*r0] * mMat[c2 + 4*r2] - in computeCofactor() 415 mMat[c1 + 4*r2] * mMat[c2 + 4*r0])) in computeCofactor() 416 + (mMat[c0 + 4*r2] * (mMat[c1 + 4*r0] * mMat[c2 + 4*r1] - in computeCofactor() 417 mMat[c1 + 4*r1] * mMat[c2 + 4*r0])); in computeCofactor()
|
/frameworks/support/renderscript/v8/java/src/android/support/v8/renderscript/ |
D | Matrix4f.java | 407 int c2 = (i+3) % 4; in computeCofactor() local 412 float minor = (mMat[c0 + 4*r0] * (mMat[c1 + 4*r1] * mMat[c2 + 4*r2] - in computeCofactor() 413 mMat[c1 + 4*r2] * mMat[c2 + 4*r1])) in computeCofactor() 414 - (mMat[c0 + 4*r1] * (mMat[c1 + 4*r0] * mMat[c2 + 4*r2] - in computeCofactor() 415 mMat[c1 + 4*r2] * mMat[c2 + 4*r0])) in computeCofactor() 416 + (mMat[c0 + 4*r2] * (mMat[c1 + 4*r0] * mMat[c2 + 4*r1] - in computeCofactor() 417 mMat[c1 + 4*r1] * mMat[c2 + 4*r0])); in computeCofactor()
|
/frameworks/av/include/media/stagefright/ |
D | Utils.h | 27 #define FOURCC(c1, c2, c3, c4) \ argument 28 (c1 << 24 | c2 << 16 | c3 << 8 | c4)
|
/frameworks/base/core/jni/ |
D | android_text_AndroidCharacter.cpp | 165 int c2 = u_charMirror(c1); in mirror() local 167 if (c1 != c2) { in mirror() 168 data[i] = c2; in mirror()
|
/frameworks/native/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/core/tests/coretests/src/android/os/ |
D | AidlTest.java | 306 char[] c2 = new char[]{'d', 'e', 'f'}; in testArrays() local 307 char[] cr = mRemote.charArray(c0, c1, c2); in testArrays() 315 assertEquals('a', c2[0]); in testArrays() 316 assertEquals('e', c2[1]); in testArrays() 317 assertEquals('f', c2[2]); in testArrays()
|
/frameworks/native/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() 307 int32_t dc02 = c2 - c0; in iteratorsScale() 332 GGLfixed c0, GGLfixed c1, GGLfixed c2) const in iterators1616() 335 const GGLfixed dc02 = c2 - c0; in iterators1616() 348 int32_t c0, int32_t c1, int32_t c2) const in iterators0032() 352 int32_t dc02 = (c2 - c0)>>s; in iterators0032() 363 int32_t c0, int32_t c1, int32_t c2) const in iterators0032() 365 ::iterators0032(this, it, c0, c1, c2); in iterators0032() 369 int32_t c0, int32_t c1, int32_t c2) const in iterators0032() [all …]
|
D | 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/core/tests/coretests/src/android/net/http/ |
D | HttpResponseCacheTest.java | 126 URLConnection c2 = server.getUrl("/").openConnection(); in testStatisticsTracking() local 127 assertEquals('A', c2.getInputStream().read()); in testStatisticsTracking()
|
/frameworks/base/core/java/android/net/ |
D | UrlQuerySanitizer.java | 860 char c2 = string.charAt(i + 2); in unescape() local 861 if (isHexDigit(c1) && isHexDigit(c2)) { in unescape() 862 c = (char) (decodeHexDigit(c1) * 16 + decodeHexDigit(c2)); in unescape()
|
/frameworks/av/media/libstagefright/httplive/ |
D | LiveSession.cpp | 933 char c2 = tolower(iv.c_str()[3 + 2 * i]); in decryptBuffer() local 934 if (!isxdigit(c1) || !isxdigit(c2)) { in decryptBuffer() 939 uint8_t nibble2 = isdigit(c2) ? c2 - '0' : c2 - 'a' + 10; in decryptBuffer()
|
/frameworks/base/graphics/tests/graphicstests/src/android/graphics/ |
D | BitmapTest.java | 199 int c2 = bm2.getPixel(i % 16, i / 16); in testSetPixelsWithNonOpaqueAlpha() local 202 assertEquals("getPixel", c1, c2); in testSetPixelsWithNonOpaqueAlpha()
|
/frameworks/compile/slang/tests/P_math_int/ |
D | math_int.rs | 20 char2 c2;
|
/frameworks/av/services/camera/tests/CameraServiceTest/ |
D | CameraServiceTest.cpp | 317 void waitUntil(int c0, int c1, int c2); 367 void MSurface::waitUntil(int c0, int c1, int c2) { in waitUntil() argument 368 INFO("waitUntil: %d %d %d", c0, c1, c2); in waitUntil() 373 unregisterBuffersCount >= c2) { in waitUntil()
|
/frameworks/native/libs/utils/ |
D | Unicode.cpp | 318 const char16_t c2 = ntohs(*s2N); in strzcmp16_h_n() local 319 const int d = (int)*s1H++ - (int)c2; in strzcmp16_h_n()
|