Searched refs:c1 (Results 1 - 25 of 60) sorted by relevance

123

/frameworks/base/core/tests/coretests/src/android/database/sqlite/
H A DSQLiteConnectionPoolTest.java77 SQLiteConnection c1 = pool.acquireConnection("pragma user_version", 0, null);
78 assertEquals("First connection should be returned", 0, c1.getConnectionId());
79 pool.releaseConnection(c1);
81 assertTrue("Returned connection should be the same", c1 == c2);
85 assertTrue("New connection should be returned", c1 != c3);
/frameworks/av/include/media/stagefright/foundation/
H A DByteUtils.h25 constexpr int FOURCC(unsigned char c1, unsigned char c2, unsigned char c3, unsigned char c4) { argument
26 return ((c1) << 24 | (c2) << 16 | (c3) << 8 | (c4));
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/
H A DByteUtils.h25 constexpr int FOURCC(unsigned char c1, unsigned char c2, unsigned char c3, unsigned char c4) { argument
26 return ((c1) << 24 | (c2) << 16 | (c3) << 8 | (c4));
/frameworks/av/media/libstagefright/include/media/stagefright/foundation/
H A DByteUtils.h25 constexpr int FOURCC(unsigned char c1, unsigned char c2, unsigned char c3, unsigned char c4) { argument
26 return ((c1) << 24 | (c2) << 16 | (c3) << 8 | (c4));
/frameworks/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))
[all...]
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothCodecStatus.java71 * @param c1 the first array of capabilities to compare
75 private static boolean sameCapabilities(BluetoothCodecConfig[] c1, argument
77 if (c1 == null) {
83 if (c1.length != c2.length) {
86 return Arrays.asList(c1).containsAll(Arrays.asList(c2));
/frameworks/ml/nn/runtime/test/specs/V1_0/
H A Dconcat_float_3.mod.py39 for c1 in range(col1):
40 output_values[r * output_col + c1] = input1_values[r * col1 + c1]
H A Dconcat_quant8_3.mod.py39 for c1 in range(col1):
40 output_values[r * output_col + c1] = input1_values[r * col1 + c1]
/frameworks/ml/nn/runtime/test/specs/V1_1/
H A Dconcat_float_3_relaxed.mod.py40 for c1 in range(col1):
41 output_values[r * output_col + c1] = input1_values[r * col1 + c1]
/frameworks/base/services/core/java/com/android/server/wm/
H A DWatermark.java71 int c1 = mTokens[0].charAt(i);
73 if (c1 >= 'a' && c1 <= 'f') c1 = c1 - 'a' + 10;
74 else if (c1 >= 'A' && c1 <= 'F') c1 = c1 - 'A' + 10;
75 else c1
[all...]
/frameworks/native/include/gui/
H A DDisplayEventReceiver.h42 static inline constexpr uint32_t fourcc(char c1, char c2, char c3, char c4) { argument
43 return static_cast<uint32_t>(c1) << 24 |
/frameworks/native/libs/gui/include/gui/
H A DDisplayEventReceiver.h42 static inline constexpr uint32_t fourcc(char c1, char c2, char c3, char c4) { argument
43 return static_cast<uint32_t>(c1) << 24 |
/frameworks/rs/tests/lldb/java/ScriptGroup/src/com/android/rs/scriptgroup/
H A DMainActivity.java54 ScriptGroup.Closure c1 = builder.addKernel(script.getKernelID_goo(),
57 ScriptGroup group = builder.create("scriptgroup_test", c1.getReturn());
/frameworks/rs/
H A DrsMatrix4x4.cpp45 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/java/android/graphics/fonts/
H A DFontVariationAxis.java107 final char c1 = tagString.charAt(0);
111 return (c1 << 24) | (c2 << 16) | (c3 << 8) | c4;
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
H A DUT_script_group2_pointwise.java59 ScriptGroup.Closure c1 =
64 ScriptGroup group = builder.create("AddDouble", c1.getReturn());
H A DUT_script_group2_float.java65 ScriptGroup.Closure c1 =
72 ScriptGroup group = builder.create("TestFloatAnd64bit", c1.getReturn());
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
H A DUT_script_group2_pointwise.java61 ScriptGroup.Closure c1 =
66 ScriptGroup group = builder.create("AddDouble", c1.getReturn());
H A DUT_script_group2_float.java67 ScriptGroup.Closure c1 =
74 ScriptGroup group = builder.create("TestFloatAnd64bit", c1.getReturn());
/frameworks/minikin/libs/minikin/
H A DGraphemeBreak.cpp76 uint32_t c1 = 0; local
80 U16_PREV(buf, start, offset_back, c1);
82 int32_t p1 = tailoredGraphemeClusterBreak(c1);
135 uint32_t c0 = c1;
198 if (u_getIntPropertyValue(c1, UCHAR_CANONICAL_COMBINING_CLASS) == 9 // virama
199 && !isPureKiller(c1) &&
/frameworks/base/core/tests/coretests/src/android/graphics/
H A DBitmapTest.java199 int c1 = bm1.getPixel(i % 16, i / 16);
203 assertEquals("getPixel", c1, c2);
209 int a1 = Color.alpha(c1);
213 int r1 = Color.red(c1);
218 int g1 = Color.green(c1);
223 int b1 = Color.blue(c1);
230 " set+get " + Integer.toHexString(c1) +
/frameworks/base/core/jni/
H A Dandroid_text_AndroidCharacter.cpp165 int c1 = data[i]; local
166 int c2 = u_charMirror(c1);
168 if (c1 != c2) {
/frameworks/native/opengl/tests/hwc/
H A DhwcTestLib.h56 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
/frameworks/native/include/binder/
H A DIBinder.h29 #define B_PACK_CHARS(c1, c2, c3, c4) \
30 ((((c1)<<24)) | (((c2)<<16)) | (((c3)<<8)) | (c4))
/frameworks/native/libs/binder/include/binder/
H A DIBinder.h29 #define B_PACK_CHARS(c1, c2, c3, c4) \
30 ((((c1)<<24)) | (((c2)<<16)) | (((c3)<<8)) | (c4))

Completed in 804 milliseconds

123