Home
last modified time | relevance | path

Searched refs:c2 (Results 1 – 25 of 110) sorted by relevance

12345

/frameworks/base/services/core/java/com/android/server/wm/
DWatermark.java71 int c2 = mTokens[0].charAt(i+1); in Watermark() local
75 if (c2 >= 'a' && c2 <= 'f') c2 = c2 - 'a' + 10; in Watermark()
76 else if (c2 >= 'A' && c2 <= 'F') c2 = c2 - 'A' + 10; in Watermark()
77 else c2 -= '0'; in Watermark()
78 builder.append((char)(255-((c1*16)+c2))); in Watermark()
/frameworks/base/core/java/android/text/format/
DDateUtilsBridge.java157 public static int dayDistance(Calendar c1, Calendar c2) { in dayDistance() argument
158 return c2.get(Calendar.JULIAN_DAY) - c1.get(Calendar.JULIAN_DAY); in dayDistance()
175 private static boolean fallOnDifferentDates(Calendar c1, Calendar c2) { in fallOnDifferentDates() argument
176 return c1.get(Calendar.YEAR) != c2.get(Calendar.YEAR) in fallOnDifferentDates()
177 || c1.get(Calendar.MONTH) != c2.get(Calendar.MONTH) in fallOnDifferentDates()
178 || c1.get(Calendar.DAY_OF_MONTH) != c2.get(Calendar.DAY_OF_MONTH); in fallOnDifferentDates()
181 private static boolean fallInSameMonth(Calendar c1, Calendar c2) { in fallInSameMonth() argument
182 return c1.get(Calendar.MONTH) == c2.get(Calendar.MONTH); in fallInSameMonth()
185 private static boolean fallInSameYear(Calendar c1, Calendar c2) { in fallInSameYear() argument
186 return c1.get(Calendar.YEAR) == c2.get(Calendar.YEAR); in fallInSameYear()
/frameworks/base/telephony/common/com/android/internal/telephony/
DHbpcdUtils.java51 Cursor c2 = resolver.query(ArbitraryMccSidMatch.CONTENT_URI, projection2, in getMcc() local
54 if (c2 != null) { in getMcc()
55 int c2Counter = c2.getCount(); in getMcc()
61 Log.d(LOG_TAG, "Query Unresolved arbitrary returned the cursor " + c2); in getMcc()
63 c2.moveToFirst(); in getMcc()
64 tmpMcc = c2.getInt(0); in getMcc()
68 c2.close(); in getMcc()
71 c2.close(); in getMcc()
/frameworks/rs/
DrsMatrix4x4.cpp46 int c2 = (i+3) % 4; in inverse() local
52 (m[c0 + 4*r0] * (m[c1 + 4*r1] * m[c2 + 4*r2] - m[c1 + 4*r2] * m[c2 + 4*r1])) in inverse()
53 - (m[c0 + 4*r1] * (m[c1 + 4*r0] * m[c2 + 4*r2] - m[c1 + 4*r2] * m[c2 + 4*r0])) in inverse()
54 + (m[c0 + 4*r2] * (m[c1 + 4*r0] * m[c2 + 4*r1] - m[c1 + 4*r1] * m[c2 + 4*r0])); in inverse()
88 int c2 = (i+3) % 4; in inverseTranspose() local
93 … float minor = (m[c0 + 4*r0] * (m[c1 + 4*r1] * m[c2 + 4*r2] - m[c1 + 4*r2] * m[c2 + 4*r1])) in inverseTranspose()
94 … - (m[c0 + 4*r1] * (m[c1 + 4*r0] * m[c2 + 4*r2] - m[c1 + 4*r2] * m[c2 + 4*r0])) in inverseTranspose()
95 … + (m[c0 + 4*r2] * (m[c1 + 4*r0] * m[c2 + 4*r1] - m[c1 + 4*r1] * m[c2 + 4*r0])); in inverseTranspose()
/frameworks/av/media/codec2/hidl/1.0/utils/
DAndroid.bp20 "android.hardware.media.c2@1.0",
38 "android.hardware.media.c2@1.0",
79 "android.hardware.media.c2@1.0",
98 "android.hardware.media.c2@1.0",
113 "android.hardware.media.c2@1.0",
124 "android.hardware.media.c2@1.0",
/frameworks/layoutlib/bridge/src/android/graphics/
DGradient_Delegate.java212 private int computeColor(int c1, int c2, float percent) { in computeColor() argument
213 int a = computeChannel((c1 >> 24) & 0xFF, (c2 >> 24) & 0xFF, percent); in computeColor()
214 int r = computeChannel((c1 >> 16) & 0xFF, (c2 >> 16) & 0xFF, percent); in computeColor()
215 int g = computeChannel((c1 >> 8) & 0xFF, (c2 >> 8) & 0xFF, percent); in computeColor()
216 int b = computeChannel((c1 ) & 0xFF, (c2 ) & 0xFF, percent); in computeColor()
224 private int computeChannel(int c1, int c2, float percent) { in computeChannel() argument
225 return c1 + (int)((percent * (c2-c1)) + .5); in computeChannel()
/frameworks/av/media/codec2/hidl/client/include/codec2/hidl/
Dclient.h67 namespace android::hardware::media::c2::V1_0 {
95 typedef ::android::hardware::media::c2::V1_0::IConfigurable Base;
130 typedef ::android::hardware::media::c2::V1_0::IComponentStore Base;
248 typedef ::android::hardware::media::c2::V1_0::IComponentInterface Base;
298 typedef ::android::hardware::media::c2::V1_0::IComponent Base;
387 ::android::hardware::media::c2::V1_0::utils::DefaultBufferPoolSender
390 ::android::hardware::media::c2::V1_0::utils::OutputBufferQueue
407 typedef ::android::hardware::media::c2::V1_0::IInputSurface Base;
409 typedef ::android::hardware::media::c2::V1_0::IInputSurfaceConnection
435 typedef ::android::hardware::media::c2::V1_0::IInputSurfaceConnection Base;
/frameworks/compile/libbcc/tests/debuginfo/host-tests/
Dparameters.cpp24 char c2[2]; member
41 s.c2[0] = '0'; in main()
42 s.c2[1] = '1'; in main()
/frameworks/base/core/java/android/bluetooth/
DBluetoothCodecStatus.java78 BluetoothCodecConfig[] c2) { in sameCapabilities() argument
80 return (c2 == null); in sameCapabilities()
82 if (c2 == null) { in sameCapabilities()
85 if (c1.length != c2.length) { in sameCapabilities()
88 return Arrays.asList(c1).containsAll(Arrays.asList(c2)); in sameCapabilities()
/frameworks/minikin/libs/minikin/
DGraphemeBreak.cpp78 uint32_t c2 = 0; in isGraphemeBreak() local
82 U16_NEXT(buf, offset_forward, start + count, c2); in isGraphemeBreak()
84 int32_t p2 = tailoredGraphemeClusterBreak(c2); in isGraphemeBreak()
129 u_hasBinaryProperty(c2, UCHAR_EXTENDED_PICTOGRAPHIC)) { in isGraphemeBreak()
181 u_getIntPropertyValue(c2, UCHAR_GENERAL_CATEGORY) == U_OTHER_LETTER) { in isGraphemeBreak()
/frameworks/ml/nn/runtime/test/specs/V1_2/
Dconcat_float16_3.mod.py41 for c2 in range(col2):
42 output_values[r * output_col + col1 + c2] = input2_values[r * col2 + c2]
/frameworks/ml/nn/runtime/test/specs/V1_0/
Dconcat_float_3.mod.py41 for c2 in range(col2):
42 output_values[r * output_col + col1 + c2] = input2_values[r * col2 + c2]
Dconcat_quant8_3.mod.py41 for c2 in range(col2):
42 output_values[r * output_col + col1 + c2] = input2_values[r * col2 + c2]
/frameworks/av/media/codec2/hidl/1.0/vts/functional/common/
DREADME.md13 example: `VtsHalMediaC2V1_0TargetComponentTest -I software -C c2.android.vorbis.decoder`
22 example: `VtsHalMediaC2V1_0TargetAudioDecTest -I software -C c2.android.flac.decoder -P /data/local…
24 example: `VtsHalMediaC2V1_0TargetAudioEncTest -I software -C c2.android.opus.encoder -P /data/local…
33 example: `VtsHalMediaC2V1_0TargetVideoDecTest -I software -C c2.android.avc.decoder -P /data/local/…
35 example: `VtsHalMediaC2V1_0TargetVideoEncTest -I software -C c2.android.vp9.encoder -P /data/local/…
/frameworks/ml/nn/runtime/test/specs/V1_1/
Dconcat_float_3_relaxed.mod.py42 for c2 in range(col2):
43 output_values[r * output_col + col1 + c2] = input2_values[r * col2 + c2]
/frameworks/native/libs/vr/libbufferhub/
Dbuffer_hub-test.cpp64 std::unique_ptr<ConsumerBuffer> c2 = in TEST_F() local
66 ASSERT_TRUE(c2.get() != nullptr); in TEST_F()
71 EXPECT_EQ(c2->client_state_mask(), kFirstClientBitMask << 2); in TEST_F()
76 EXPECT_EQ(0, RETRY_EINTR(PollBufferEvent(c2))); in TEST_F()
84 EXPECT_EQ(1, RETRY_EINTR(PollBufferEvent(c2))); in TEST_F()
89 EXPECT_EQ(1, RETRY_EINTR(PollBufferEvent(c2))); in TEST_F()
91 EXPECT_EQ(0, c2->Acquire(&fence)); in TEST_F()
92 EXPECT_EQ(0, RETRY_EINTR(PollBufferEvent(c2))); in TEST_F()
97 EXPECT_EQ(0, c2->Discard()); in TEST_F()
103 EXPECT_EQ(0, RETRY_EINTR(PollBufferEvent(c2))); in TEST_F()
[all …]
/frameworks/rs/cpu_ref/
DrsCpuIntrinsics_x86.cpp83 __m128i c0, c2, c4, c6, c8; in rsdIntrinsicConvolve3x3_K() local
91 c2 = _mm_shuffle_epi32(x, 0x55); in rsdIntrinsicConvolve3x3_K()
116 o0 = _mm_add_epi32(o0, _mm_madd_epi16(_mm_unpacklo_epi16(p2, p4), c2)); in rsdIntrinsicConvolve3x3_K()
117 o1 = _mm_add_epi32(o1, _mm_madd_epi16(_mm_unpacklo_epi16(p3, p5), c2)); in rsdIntrinsicConvolve3x3_K()
151 __m128i c0, c1, c2, c3; in rsdIntrinsicColorMatrix4x4_K() local
161 c2 = _mm_loadl_epi64((const __m128i *)(coef+8)); in rsdIntrinsicColorMatrix4x4_K()
163 c2 = _mm_unpacklo_epi16(c2, c3); in rsdIntrinsicColorMatrix4x4_K()
175 x2 = _mm_add_epi32(x2, _mm_madd_epi16(zw, _mm_shuffle_epi32(c2, 0x00))); in rsdIntrinsicColorMatrix4x4_K()
176 y2 = _mm_add_epi32(y2, _mm_madd_epi16(zw, _mm_shuffle_epi32(c2, 0x55))); in rsdIntrinsicColorMatrix4x4_K()
177 z2 = _mm_add_epi32(z2, _mm_madd_epi16(zw, _mm_shuffle_epi32(c2, 0xaa))); in rsdIntrinsicColorMatrix4x4_K()
[all …]
/frameworks/av/media/codec2/hidl/services/
DAndroid.bp8 name: "android.hardware.media.c2@1.0-service",
16 init_rc: ["android.hardware.media.c2@1.0-service.rc"],
19 "android.hardware.media.c2@1.0",
Dandroid.hardware.media.c2@1.0-service.rc1 service android-hardware-media-c2-hal-1-0 /vendor/bin/hw/android.hardware.media.c2@1.0-service
/frameworks/native/opengl/tests/hwc/
DhwcTestLib.cpp164 << this->c2() << ", " in operator string()
309 float c1, c2, c3; in hwcTestParseColor() local
327 in >> c2; in hwcTestParseColor()
329 if ((c2 < 0.0) || (c2 > 1.0)) { return color; } in hwcTestParseColor()
346 || (c2 < 0.0) || (c2 > 1.0) in hwcTestParseColor()
352 return ColorFract(c1, c2, c3); in hwcTestParseColor()
582 pixel |= htonl((uint32_t) round((((1 << attrib->c2Size) - 1) * color.c2())) in hwcTestColor2Pixel()
709 startColor.c2() + (endColor.c2() - startColor.c2()) in hwcTestFillColorHBlend()
844 + ((float) (fromAttrib->c2Max - fromAttrib->c2Min) * color.c2()); in hwcTestColorConvert()
871 float r = color.c1(), g = color.c2(), b = color.c3(); in hwcTestColorConvert()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
DQSCarrierGroupTest.java79 c2 = new CarrierTextController.CarrierTextCallbackInfo( in testUpdateCarrierText_sameLengths() local
84 spiedCarrierGroup.updateCarrierInfo(c2); in testUpdateCarrierText_sameLengths()
127 c2 = new CarrierTextController.CarrierTextCallbackInfo( in testUpdateCarrierText_differentLength() local
132 spiedCarrierGroup.updateCarrierInfo(c2); in testUpdateCarrierText_differentLength()
/frameworks/base/core/tests/coretests/src/android/database/sqlite/
DSQLiteConnectionPoolTest.java81 SQLiteConnection c2 = pool.acquireConnection("pragma user_version", 0, null); in testCloseIdleConnections() local
82 assertTrue("Returned connection should be the same", c1 == c2); in testCloseIdleConnections()
83 pool.releaseConnection(c2); in testCloseIdleConnections()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiCandidatesTest.java243 WifiCandidates.Candidate c1, c2; in testTwoBssids() local
251 c2 = mWifiCandidates.getGroupedCandidates().iterator().next().iterator().next(); in testTwoBssids()
252 assertTrue(mWifiCandidates.remove(c2)); in testTwoBssids()
253 assertFalse(mWifiCandidates.remove(c2)); in testTwoBssids()
257 assertTrue((mScanDetail1 == c1.getScanDetail() && mScanDetail2 == c2.getScanDetail()) in testTwoBssids()
258 || (mScanDetail2 == c1.getScanDetail() && mScanDetail1 == c2.getScanDetail())); in testTwoBssids()
/frameworks/av/media/codec2/components/gav1/
DAndroid.bp9 // so only 1 of them has the official c2.android.av1.decoder name
11 "-DCODECNAME=\"c2.android.av1.decoder\"",
/frameworks/av/media/codec2/components/aom/
DAndroid.bp9 // so only 1 of them has the official c2.android.av1.decoder name
11 "-DCODECNAME=\"c2.android.av1-aom.decoder\"",

12345