/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/graphics/tests/graphicstests/src/android/graphics/ |
D | BitmapTest.java | 196 int c1 = bm1.getPixel(i % 16, i / 16); in testSetPixelsWithNonOpaqueAlpha() local 200 assertEquals("getPixel", c1, c2); in testSetPixelsWithNonOpaqueAlpha() 206 int a1 = Color.alpha(c1); in testSetPixelsWithNonOpaqueAlpha() 210 int r1 = Color.red(c1); in testSetPixelsWithNonOpaqueAlpha() 215 int g1 = Color.green(c1); in testSetPixelsWithNonOpaqueAlpha() 220 int b1 = Color.blue(c1); in testSetPixelsWithNonOpaqueAlpha() 227 " set+get " + Integer.toHexString(c1) + in testSetPixelsWithNonOpaqueAlpha()
|
/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/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/jni/ |
D | android_text_AndroidCharacter.cpp | 177 int c1 = data[i]; in mirror() local 178 int c2 = u_charMirror(c1); in mirror() 180 if (c1 != c2) { in mirror()
|
/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/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/include/private/opengles/ |
D | gl_context.h | 553 int32_t c0, int32_t c1, int32_t c2) const; 556 GGLfixed c0, GGLfixed c1, GGLfixed c2) const; 559 int32_t c0, int32_t c1, int32_t c2) const; 562 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 | 852 char c1 = text.charAt(offset - 2); in getOffsetBefore() local 854 if (c1 >= '\uD800' && c1 <= '\uDBFF') in getOffsetBefore() 889 char c1 = text.charAt(offset + 1); in getOffsetAfter() local 891 if (c1 >= '\uDC00' && c1 <= '\uDFFF') in getOffsetAfter()
|
D | Layout.java | 1093 char c1 = text.charAt(offset - 1); in getOffsetAtStartOf() local 1095 if (c1 >= '\uD800' && c1 <= '\uDBFF') in getOffsetAtStartOf()
|
/frameworks/base/services/camera/tests/CameraServiceTest/ |
D | CameraServiceTest.cpp | 305 void waitUntil(int c0, int c1, int c2); 355 void MSurface::waitUntil(int c0, int c1, int c2) { in waitUntil() argument 356 INFO("waitUntil: %d %d %d", c0, c1, c2); in waitUntil() 360 postBufferCount >= c1 && in waitUntil()
|
/frameworks/base/core/java/com/google/android/util/ |
D | AbstractMessageParser.java | 603 private static boolean isSmileyBreak(char c1, char c2) { in isSmileyBreak() argument 604 switch (c1) { in isSmileyBreak()
|
/frameworks/base/opengl/libs/EGL/ |
D | egl.cpp | 393 const egl_config_t& c1 = *(egl_config_t const *)b; in cmp_configs() local 394 return c0<c1 ? -1 : (c1<c0 ? 1 : 0); in cmp_configs()
|
/frameworks/base/services/java/com/android/server/ |
D | WindowManagerService.java | 10083 int c1 = mTokens[0].charAt(i); in Watermark() local 10085 if (c1 >= 'a' && c1 <= 'f') c1 = c1 - 'a' + 10; in Watermark() 10086 else if (c1 >= 'A' && c1 <= 'F') c1 = c1 - 'A' + 10; in Watermark() 10087 else c1 -= '0'; in Watermark() 10091 builder.append((char)(255-((c1*16)+c2))); in Watermark()
|