Searched refs:c2 (Results 1 - 25 of 30) sorted by relevance

12

/frameworks/base/core/tests/coretests/src/android/widget/
H A DTextViewTest.java49 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 DSimpleCursorAdapterTest.java119 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 Dparameters.cpp13 // 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/minikin/libs/minikin/
H A DGraphemeBreak.cpp41 uint32_t c2 = 0; local
44 U16_NEXT(buf, offset, count, c2);
46 int32_t p2 = u_getIntPropertyValue(c2, UCHAR_GRAPHEME_CLUSTER_BREAK);
58 if (c2 == 0x00ad
59 || (c2 >= 0x200b && c2 <= 0x200f)
60 || (c2 >= 0x2028 && c2 <= 0x202e)
61 || (c2 >= 0x2060 && c2 <
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/
H A DomxVCM4P10_TransformDequantLumaDCFromPair.c89 int c2 = pData[i+2]; local
91 pData[i+0] = (OMX_S16)(c0+c1+c2+c3);
92 pData[i+1] = (OMX_S16)(c0+c1-c2-c3);
93 pData[i+2] = (OMX_S16)(c0-c1-c2+c3);
94 pData[i+3] = (OMX_S16)(c0-c1+c2-c3);
102 int c2 = pData[i+8]; local
104 pData[i+0] = (OMX_S16)(c0+c1+c2+c3);
105 pData[i+4] = (OMX_S16)(c0+c1-c2-c3);
106 pData[i+8] = (OMX_S16)(c0-c1-c2+c3);
107 pData[i+12] = (OMX_S16)(c0-c1+c2
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DHbpcdUtils.java52 Cursor c2 = resolver.query(ArbitraryMccSidMatch.CONTENT_URI, projection2,
55 if (c2 != null) {
56 int c2Counter = c2.getCount();
62 Log.d(LOG_TAG, "Query Unresolved arbitrary returned the cursor " + c2 );
64 c2.moveToFirst();
65 tmpMcc = c2.getInt(0);
69 c2.close();
72 c2.close();
/frameworks/base/services/core/java/com/android/server/wm/
H A DWatermark.java70 int c2 = mTokens[0].charAt(i+1);
74 if (c2 >= 'a' && c2 <= 'f') c2 = c2 - 'a' + 10;
75 else if (c2 >= 'A' && c2 <= 'F') c2 = c2 - 'A' + 10;
76 else c2
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DGradient_Delegate.java193 * 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/av/include/media/stagefright/
H A DUtils.h30 #define FOURCC(c1, c2, c3, c4) \
31 (c1 << 24 | c2 << 16 | c3 << 8 | c4)
/frameworks/rs/
H A DrsMatrix4x4.cpp46 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/minikin/include/minikin/
H A DMinikinFont.h98 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 DIBinder.h26 #define B_PACK_CHARS(c1, c2, c3, c4) \
27 ((((c1)<<24)) | (((c2)<<16)) | (((c3)<<8)) | (c4))
/frameworks/base/core/jni/
H A Dandroid_text_AndroidCharacter.cpp166 int c2 = u_charMirror(c1); local
168 if (c1 != c2) {
169 data[i] = c2;
/frameworks/native/opengl/tests/hwc/
H A DhwcTestLib.h56 ColorFract(float c1, float c2, float c3): _c1(c1), _c2(c2), _c3(c3) {}; argument
58 float c2(void) const { return _c2; } function in class:ColorFract
H A DhwcTestLib.cpp166 << this->c2() << ", "
311 float c1, c2, c3; local
329 in >> c2; local
331 if ((c2 < 0.0) || (c2 > 1.0)) { return color; }
348 || (c2 < 0.0) || (c2 > 1.0)
354 return ColorFract(c1, c2, c3);
584 pixel |= htonl((uint32_t) round((((1 << attrib->c2Size) - 1) * color.c2()))
712 startColor.c2()
[all...]
/frameworks/rs/cpu_ref/
H A DrsCpuIntrinsics_x86.c83 __m128i c0, c2, c4, c6, c8; local
91 c2 = _mm_shuffle_epi32(x, 0x55);
116 o0 = _mm_add_epi32(o0, _mm_madd_epi16(_mm_unpacklo_epi16(p2, p4), c2));
117 o1 = _mm_add_epi32(o1, _mm_madd_epi16(_mm_unpacklo_epi16(p3, p5), c2));
151 __m128i c0, c1, c2, c3; local
161 c2 = _mm_loadl_epi64((const __m128i *)(coef+8));
163 c2 = _mm_unpacklo_epi16(c2, c3);
175 x2 = _mm_add_epi32(x2, _mm_madd_epi16(zw, _mm_shuffle_epi32(c2, 0x00)));
176 y2 = _mm_add_epi32(y2, _mm_madd_epi16(zw, _mm_shuffle_epi32(c2,
207 __m128i c0, c1, c2, c3; local
259 __m128i c0, c1, c2, c3; local
414 __m128i c0, c1, c2, c3, c4; local
476 __m128i c0, c1, c2, c3, c4; local
538 __m128i c0, c1, c2, c3, c4; local
600 __m128i c0, c2, c4, c6, c8, c10, c12; local
[all...]
/frameworks/base/rs/java/android/renderscript/
H A DMatrix4f.java406 int c2 = (i+3) % 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 DMatrix4f.java407 int c2 = (i+3) % 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 DHttpResponseCacheTest.java126 URLConnection c2 = server.getUrl("/").openConnection();
127 assertEquals('A', c2.getInputStream().read());
/frameworks/base/core/tests/coretests/src/android/os/
H A DAidlTest.java306 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 Dprimitives.cpp31 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 Dcontext.h554 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 DUrlQuerySanitizer.java861 char c2 = string.charAt(i + 2);
862 if (isHexDigit(c1) && isHexDigit(c2)) {
863 c = (char) (decodeHexDigit(c1) * 16 + decodeHexDigit(c2));
/frameworks/base/graphics/tests/graphicstests/src/android/graphics/
H A DBitmapTest.java199 int c2 = bm2.getPixel(i % 16, i / 16);
202 assertEquals("getPixel", c1, c2);
/frameworks/rs/tests/typecheck/
H A Dkernels.rs24 char2 c2;

Completed in 1287 milliseconds

12