/frameworks/base/awt/java/awt/ |
H A D | GradientPaintContext.java | 60 int c1; field in class:GradientPaintContext 101 c1 = color1.getRGB(); 119 table[0] = c1; 134 double ca = (c1 >> 24) & 0xFF; 135 double cr = (c1 >> 16) & 0xFF; 136 double cg = (c1 >> 8) & 0xFF; 137 double cb = c1 & 0xFF; 193 buf[k++] = index < 0 ? c1 : index >= LOOKUP_SIZE ? c2 : table[index];
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | GradientShader.java | 184 * Returns the color between c1, and c2, based on the percent of the distance 185 * between c1 and c2. 187 private int computeColor(int c1, int c2, float percent) { argument 188 int a = computeChannel((c1 >> 24) & 0xFF, (c2 >> 24) & 0xFF, percent); 189 int r = computeChannel((c1 >> 16) & 0xFF, (c2 >> 16) & 0xFF, percent); 190 int g = computeChannel((c1 >> 8) & 0xFF, (c2 >> 8) & 0xFF, percent); 191 int b = computeChannel((c1 ) & 0xFF, (c2 ) & 0xFF, percent); 199 private int computeChannel(int c1, int c2, float percent) { argument 200 return c1 + (int)((percent * (c2-c1)) [all...] |
/frameworks/base/core/jni/ |
H A D | android_text_AndroidCharacter.cpp | 177 int c1 = data[i]; local 178 int c2 = u_charMirror(c1); 180 if (c1 != c2) {
|
/frameworks/base/libs/audioflinger/ |
H A D | AudioResamplerSinc.cpp | 345 int32_t c1 = coefs[1]; local 346 int32_t sinc = mulAdd(lerp, (c1-c0)<<1, c0);
|
/frameworks/base/telephony/java/com/android/internal/telephony/test/ |
H A D | SimulatedGsmCallState.java | 391 onChld(char c0, char c1) { argument 395 if (c1 != 0) { 396 callIndex = c1 - '1'; 408 if (c1 <= 0) { 420 if (c1 <= 0) {
|
/frameworks/base/camera/tests/CameraServiceTest/ |
H A D | CameraServiceTest.cpp | 291 void waitUntil(int c0, int c1, int c2); 336 void MSurface::waitUntil(int c0, int c1, int c2) { argument 337 INFO("waitUntil: %d %d %d", c0, c1, c2); 341 postBufferCount >= c1 &&
|
/frameworks/base/core/java/com/google/android/util/ |
H A D | AbstractMessageParser.java | 598 * Returns true if <code>c1</code> could be the last character of 603 private static boolean isSmileyBreak(char c1, char c2) { argument 604 switch (c1) {
|
/frameworks/base/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...] |
/frameworks/base/opengl/libs/EGL/ |
H A D | egl.cpp | 386 EGLConfig c1 = *(EGLConfig const *)b; local 387 return c0<c1 ? -1 : (c0>c1 ? 1 : 0);
|