/frameworks/base/core/tests/coretests/src/android/widget/ |
H A D | TextViewTest.java | 49 char[] c2 = new char[7]; 50 ((GetChars) newText).getChars(1, 4, c2, 2); 51 assertEquals('\0', c2[1]); 52 assertEquals(' ', c2[2]); 53 assertEquals('W', c2[3]); 54 assertEquals('o', c2[4]); 55 assertEquals('\0', c2[5]);
|
H A D | SimpleCursorAdapterTest.java | 119 Cursor c2 = createCursor(mFrom, data2); 120 ca.changeCursor(c2); 160 Cursor c2 = createCursor(swappedFrom, mData2x2); 161 ca.changeCursor(c2);
|
/frameworks/compile/libbcc/tests/debuginfo/host-tests/ |
H A D | parameters.cpp | 13 // CHECK: {c = 97 'a', c2 = "01"} 24 char c2[2]; member in struct:char_struct 41 s.c2[0] = '0'; 42 s.c2[1] = '1';
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/ |
H A D | omxVCM4P10_TransformDequantLumaDCFromPair.c | 74 int c2 = pData[i+2]; 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); 87 int c2 = pData[i+8]; 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+c2 [all...] |
/frameworks/av/include/media/stagefright/ |
H A D | Utils.h | 27 #define FOURCC(c1, c2, c3, c4) \ 28 (c1 << 24 | c2 << 16 | c3 << 8 | c4)
|
/frameworks/base/services/java/com/android/server/wm/ |
H A D | Watermark.java | 68 int c2 = mTokens[0].charAt(i+1); 72 if (c2 >= 'a' && c2 <= 'f') c2 = c2 - 'a' + 10; 73 else if (c2 >= 'A' && c2 <= 'F') c2 = c2 - 'A' + 10; 74 else c2 [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)) + .5);
|
/frameworks/rs/ |
H A D | rsMatrix4x4.cpp | 46 int c2 = (i+3) % 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])); 88 int c2 = (i+3) % 4; local 93 float minor = (m[c0 + 4*r0] * (m[c1 + 4*r1] * m[c2 + 4*r2] - m[c1 + 4*r2] * m[c2 [all...] |
/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/graphics/java/android/renderscript/ |
H A D | Matrix4f.java | 379 int c2 = (i+3) % 4; 384 float minor = (mMat[c0 + 4*r0] * (mMat[c1 + 4*r1] * mMat[c2 + 4*r2] - 385 mMat[c1 + 4*r2] * mMat[c2 + 4*r1])) 386 - (mMat[c0 + 4*r1] * (mMat[c1 + 4*r0] * mMat[c2 + 4*r2] - 387 mMat[c1 + 4*r2] * mMat[c2 + 4*r0])) 388 + (mMat[c0 + 4*r2] * (mMat[c1 + 4*r0] * mMat[c2 + 4*r1] - 389 mMat[c1 + 4*r1] * mMat[c2 + 4*r0]));
|
/frameworks/base/core/jni/ |
H A D | android_text_AndroidCharacter.cpp | 164 int c2 = u_charMirror(c1); local 166 if (c1 != c2) { 167 data[i] = c2;
|
/frameworks/native/opengl/tests/hwc/ |
H A D | hwcTestLib.h | 59 ColorFract(float c1, float c2, float c3): _c1(c1), _c2(c2), _c3(c3) {}; argument 61 float c2(void) const { return _c2; } function in class:ColorFract
|
H A D | hwcTestLib.cpp | 162 << this->c2() << ", " 307 float c1, c2, c3; local 325 in >> c2; local 327 if ((c2 < 0.0) || (c2 > 1.0)) { return color; } 344 || (c2 < 0.0) || (c2 > 1.0) 350 return ColorFract(c1, c2, c3); 582 pixel |= htonl((uint32_t) round((((1 << attrib->c2Size) - 1) * color.c2())) 712 startColor.c2() [all...] |
/frameworks/base/core/tests/coretests/src/android/net/http/ |
H A D | HttpResponseCacheTest.java | 126 URLConnection c2 = server.getUrl("/").openConnection(); 127 assertEquals('A', c2.getInputStream().read());
|
/frameworks/base/core/tests/coretests/src/android/os/ |
H A D | AidlTest.java | 306 char[] c2 = new char[]{'d', 'e', 'f'}; 307 char[] cr = mRemote.charArray(c0, c1, c2); 315 assertEquals('a', c2[0]); 316 assertEquals('e', c2[1]); 317 assertEquals('f', c2[2]);
|
/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 307 int32_t dc02 = c2 - c0; 332 GGLfixed c0, GGLfixed c1, GGLfixed c2) const 335 const GGLfixed dc02 = c2 - c0; 348 int32_t c0, int32_t c1, int32_t c2) const 352 int32_t dc02 = (c2 - 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_t c2) cons 653 const GGLcolor c2 = v2->color.v[i] * 255; local [all...] |
H A 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/java/android/net/ |
H A D | UrlQuerySanitizer.java | 860 char c2 = string.charAt(i + 2); 861 if (isHexDigit(c1) && isHexDigit(c2)) { 862 c = (char) (decodeHexDigit(c1) * 16 + decodeHexDigit(c2));
|
/frameworks/base/graphics/tests/graphicstests/src/android/graphics/ |
H A D | BitmapTest.java | 199 int c2 = bm2.getPixel(i % 16, i / 16); 202 assertEquals("getPixel", c1, c2);
|
/frameworks/av/media/libstagefright/httplive/ |
H A D | LiveSession.cpp | 873 char c2 = tolower(iv.c_str()[3 + 2 * i]); local 874 if (!isxdigit(c1) || !isxdigit(c2)) { 879 uint8_t nibble2 = isdigit(c2) ? c2 - '0' : c2 - 'a' + 10;
|
/frameworks/native/libs/utils/ |
H A D | Unicode.cpp | 318 const char16_t c2 = ntohs(*s2N); local 319 const int d = (int)*s1H++ - (int)c2;
|
/frameworks/av/services/camera/tests/CameraServiceTest/ |
H A D | CameraServiceTest.cpp | 317 void waitUntil(int c0, int c1, int c2); 367 void MSurface::waitUntil(int c0, int c1, int c2) { argument 368 INFO("waitUntil: %d %d %d", c0, c1, c2); 373 unregisterBuffersCount >= c2) {
|
/frameworks/base/core/java/com/google/android/util/ |
H A D | AbstractMessageParser.java | 599 * a smiley and <code>c2</code> could be the first character of 603 private static boolean isSmileyBreak(char c1, char c2) { argument 612 switch (c2) {
|
/frameworks/base/services/input/ |
H A D | InputReader.cpp | 4057 int32_t c2 = signExtendNybble(in.orientation & 0x0f); local 4058 if (c1 != 0 || c2 != 0) { 4059 orientation = atan2f(c1, c2) * 0.5f; 4060 float confidence = hypotf(c1, c2);
|