/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/ |
H A D | omxVCM4P10_TransformDequantLumaDCFromPair.c | 73 int c1 = pData[i+1]; local 76 pData[i+0] = (OMX_S16)(c0+c1+c2+c3); 77 pData[i+1] = (OMX_S16)(c0+c1-c2-c3); 78 pData[i+2] = (OMX_S16)(c0-c1-c2+c3); 79 pData[i+3] = (OMX_S16)(c0-c1+c2-c3); 86 int c1 = pData[i+4]; local 89 pData[i+0] = (OMX_S16)(c0+c1+c2+c3); 90 pData[i+4] = (OMX_S16)(c0+c1-c2-c3); 91 pData[i+8] = (OMX_S16)(c0-c1-c2+c3); 92 pData[i+12] = (OMX_S16)(c0-c1 [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Gradient_Delegate.java | 193 * Returns the color between c1, and c2, based on the percent of the distance 194 * between c1 and c2. 196 private int computeColor(int c1, int c2, float percent) { argument 197 int a = computeChannel((c1 >> 24) & 0xFF, (c2 >> 24) & 0xFF, percent); 198 int r = computeChannel((c1 >> 16) & 0xFF, (c2 >> 16) & 0xFF, percent); 199 int g = computeChannel((c1 >> 8) & 0xFF, (c2 >> 8) & 0xFF, percent); 200 int b = computeChannel((c1 ) & 0xFF, (c2 ) & 0xFF, percent); 208 private int computeChannel(int c1, int c2, float percent) { argument 209 return c1 + (int)((percent * (c2-c1)) [all...] |
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | Watermark.java | 69 int c1 = mTokens[0].charAt(i); 71 if (c1 >= 'a' && c1 <= 'f') c1 = c1 - 'a' + 10; 72 else if (c1 >= 'A' && c1 <= 'F') c1 = c1 - 'A' + 10; 73 else c1 [all...] |
/frameworks/minikin/libs/minikin/ |
H A D | GraphemeBreak.cpp | 40 uint32_t c1 = 0; local 43 U16_PREV(buf, start, offset_back, c1); 45 int32_t p1 = u_getIntPropertyValue(c1, UCHAR_GRAPHEME_CLUSTER_BREAK); 92 if (u_getIntPropertyValue(c1, UCHAR_CANONICAL_COMBINING_CLASS) == 9 // virama
|
/frameworks/av/media/libstagefright/codecs/avc/enc/src/ |
H A D | findhalfpel.cpp | 523 uint8 *c1 = qpel_cand; local 544 *c1 = (c + a + 1) >> 1; 545 *(c1 += 384) = (b + a + 1) >> 1; /* c2 */ 546 *(c1 += 384) = (b + c + 1) >> 1; /* c3 */ 547 *(c1 += 384) = (b + d + 1) >> 1; /* c4 */ 551 *(c1 += 384) = (c + d + 1) >> 1; /* c5 */ 552 *(c1 += 384) = (b + d + 1) >> 1; /* c6 */ 553 *(c1 += 384) = (b + c + 1) >> 1; /* c7 */ 554 *(c1 += 384) = (b + a + 1) >> 1; /* c8 */ 556 c1 [all...] |
/frameworks/av/include/media/stagefright/ |
H A D | Utils.h | 30 #define FOURCC(c1, c2, c3, c4) \ 31 (c1 << 24 | c2 << 16 | c3 << 8 | c4)
|
/frameworks/rs/ |
H A D | rsMatrix4x4.cpp | 45 int c1 = (i+2) % 4; local 52 (m[c0 + 4*r0] * (m[c1 + 4*r1] * m[c2 + 4*r2] - m[c1 + 4*r2] * m[c2 + 4*r1])) 53 - (m[c0 + 4*r1] * (m[c1 + 4*r0] * m[c2 + 4*r2] - m[c1 + 4*r2] * m[c2 + 4*r0])) 54 + (m[c0 + 4*r2] * (m[c1 + 4*r0] * m[c2 + 4*r1] - m[c1 + 4*r1] * m[c2 + 4*r0])); 87 int c1 = (i+2) % 4; local 93 float minor = (m[c0 + 4*r0] * (m[c1 + 4*r1] * m[c2 + 4*r2] - m[c1 [all...] |
/frameworks/base/graphics/tests/graphicstests/src/android/graphics/ |
H A D | BitmapTest.java | 198 int c1 = bm1.getPixel(i % 16, i / 16); 202 assertEquals("getPixel", c1, c2); 208 int a1 = Color.alpha(c1); 212 int r1 = Color.red(c1); 217 int g1 = Color.green(c1); 222 int b1 = Color.blue(c1); 229 " set+get " + Integer.toHexString(c1) +
|
/frameworks/minikin/include/minikin/ |
H A D | MinikinFont.h | 98 static uint32_t MakeTag(char c1, char c2, char c3, char c4) { argument 99 return ((uint32_t)c1 << 24) | ((uint32_t)c2 << 16) |
|
/frameworks/native/include/binder/ |
H A D | IBinder.h | 26 #define B_PACK_CHARS(c1, c2, c3, c4) \ 27 ((((c1)<<24)) | (((c2)<<16)) | (((c3)<<8)) | (c4))
|
/frameworks/base/core/jni/ |
H A D | android_text_AndroidCharacter.cpp | 165 int c1 = data[i]; local 166 int c2 = u_charMirror(c1); 168 if (c1 != c2) {
|
/frameworks/base/core/tests/coretests/src/android/database/sqlite/ |
H A D | SQLiteCursorTest.java | 91 Cursor c1 = mDatabase.rawQuery("select * from " + testTable, null); 92 assertEquals(N, c1.getCount()); 93 c1.close();
|
/frameworks/native/opengl/tests/hwc/ |
H A D | hwcTestLib.h | 56 ColorFract(float c1, float c2, float c3): _c1(c1), _c2(c2), _c3(c3) {}; argument 57 float c1(void) const { return _c1; } function in class:ColorFract
|
H A D | hwcTestLib.cpp | 165 out << '[' << this->c1() << ", " 311 float c1, c2, c3; local 322 in >> c1; local 324 if ((c1 < 0.0) || (c1 > 1.0)) { return color; } 347 if ((c1 < 0.0) || (c1 > 1.0) 354 return ColorFract(c1, c2, c3); 581 pixel = htonl((uint32_t) round((((1 << attrib->c1Size) - 1) * color.c1())) 710 ColorFract color(startColor.c1() [all...] |
/frameworks/base/rs/java/android/renderscript/ |
H A D | Matrix4f.java | 405 int c1 = (i+2) % 4; 411 float minor = (mMat[c0 + 4*r0] * (mMat[c1 + 4*r1] * mMat[c2 + 4*r2] - 412 mMat[c1 + 4*r2] * mMat[c2 + 4*r1])) 413 - (mMat[c0 + 4*r1] * (mMat[c1 + 4*r0] * mMat[c2 + 4*r2] - 414 mMat[c1 + 4*r2] * mMat[c2 + 4*r0])) 415 + (mMat[c0 + 4*r2] * (mMat[c1 + 4*r0] * mMat[c2 + 4*r1] - 416 mMat[c1 + 4*r1] * mMat[c2 + 4*r0]));
|
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
H A D | Matrix4f.java | 406 int c1 = (i+2) % 4; 412 float minor = (mMat[c0 + 4*r0] * (mMat[c1 + 4*r1] * mMat[c2 + 4*r2] - 413 mMat[c1 + 4*r2] * mMat[c2 + 4*r1])) 414 - (mMat[c0 + 4*r1] * (mMat[c1 + 4*r0] * mMat[c2 + 4*r2] - 415 mMat[c1 + 4*r2] * mMat[c2 + 4*r0])) 416 + (mMat[c0 + 4*r2] * (mMat[c1 + 4*r0] * mMat[c2 + 4*r1] - 417 mMat[c1 + 4*r1] * mMat[c2 + 4*r0]));
|
/frameworks/base/core/tests/coretests/src/android/net/http/ |
H A D | HttpResponseCacheTest.java | 120 URLConnection c1 = server.getUrl("/").openConnection(); 121 assertEquals('A', c1.getInputStream().read());
|
/frameworks/native/opengl/libagl/ |
H A 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 306 int32_t dc01 = c1 - c0; 332 GGLfixed c0, GGLfixed c1, GGLfixed c2) const 334 const GGLfixed dc01 = c1 - c0; 348 int32_t c0, int32_t c1, int32_t c2) const 351 int32_t dc01 = (c1 - c0)>>s; 363 int32_t c0, int32_t c1, int32_t c2) const 365 ::iterators0032(this, it, c0, c1, c2); 369 int32_t c0, int32_t c1, int32_ 303 iteratorsScale(GGLfixed* it, int32_t c0, int32_t c1, int32_t c2) const argument 331 iterators1616(GGLfixed* it, GGLfixed c0, GGLfixed c1, GGLfixed c2) const argument 347 iterators0032(int64_t* it, int32_t c0, int32_t c1, int32_t c2) const argument 362 iterators0032(int32_t* it, int32_t c0, int32_t c1, int32_t c2) const argument 368 iterators0032(int32_t* it, int32_t c0, int32_t c1, int32_t c2) const argument 652 const GGLcolor c1 = v1->color.v[i] * 255; local [all...] |
H A D | context.h | 554 int32_t c0, int32_t c1, int32_t c2) const; 557 GGLfixed c0, GGLfixed c1, GGLfixed c2) const; 560 int32_t c0, int32_t c1, int32_t c2) const; 563 int32_t c0, int32_t c1, int32_t c2) const;
|
/frameworks/base/core/java/android/net/ |
H A D | UrlQuerySanitizer.java | 860 char c1 = string.charAt(i + 1); 862 if (isHexDigit(c1) && isHexDigit(c2)) { 863 c = (char) (decodeHexDigit(c1) * 16 + decodeHexDigit(c2));
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/ |
H A D | ModelInterpreter.java | 473 char c1 = 0; 479 c1 = command.charAt(7); 482 success = mSimulatedCallState.onChld(c0, c1);
|
H A D | SimulatedGsmCallState.java | 392 onChld(char c0, char c1) { argument 396 if (c1 != 0) { 397 callIndex = c1 - '1'; 409 if (c1 <= 0) { 421 if (c1 <= 0) {
|
/frameworks/base/core/tests/coretests/src/android/os/ |
H A D | AidlTest.java | 305 char[] c1 = new char[]{'b', 'c'}; 307 char[] cr = mRemote.charArray(c0, c1, c2); 312 assertEquals('a', c1[0]); 313 assertEquals('\0', c1[1]);
|
/frameworks/rs/tests/typecheck/ |
H A D | kernels.rs | 22 char c1;
|
/frameworks/rs/cpu_ref/ |
H A D | rsCpuIntrinsics_x86.c | 151 __m128i c0, c1, c2, c3; local 158 c1 = _mm_loadl_epi64((const __m128i *)(coef+4)); 159 c0 = _mm_unpacklo_epi16(c0, c1); 207 __m128i c0, c1, c2, c3; local 214 c1 = _mm_loadl_epi64((const __m128i *)(coef+4)); 215 c0 = _mm_unpacklo_epi16(c0, c1); 259 __m128i c0, c1, c2, c3; local 267 c1 = _mm_loadl_epi64((const __m128i *)(coef+4)); 268 c1 = _mm_shufflelo_epi16(c1, 414 __m128i c0, c1, c2, c3, c4; local 476 __m128i c0, c1, c2, c3, c4; local 538 __m128i c0, c1, c2, c3, c4; local [all...] |