/packages/apps/DeskClock/src/com/android/deskclock/data/ |
D | City.kt | 102 override fun compare(c1: City, c2: City): Int { in compare() 103 var result = mDelegate1.compare(c1, c2) in compare() 106 result = mDelegate2.compare(c1, c2) in compare() 122 override fun compare(c1: City, c2: City): Int { in compare() 124 val utcOffset2 = c2.timeZone.getOffset(now) in compare() 142 override fun compare(c1: City, c2: City): Int { in compare() 143 var result = mDelegate.compare(c1, c2) in compare() 146 result = mNameCollator.compare(c1.phoneticName, c2.phoneticName) in compare() 163 override fun compare(c1: City, c2: City): Int { in compare() 164 var result = c1.index.compareTo(c2.index) in compare() [all …]
|
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/ |
D | CalendarDatabaseHelperTest.java | 531 private static boolean compareCursors(Cursor c1, Cursor c2) { in compareCursors() argument 532 if(c1 == null || c2 == null) { in compareCursors() 533 Log.d("CDBT","c1 is " + c1 + " and c2 is " + c2); in compareCursors() 538 if (numColumns != c2.getColumnCount()) { in compareCursors() 539 Log.d("CDBT","c1 has " + numColumns + " columns and c2 has " + c2.getColumnCount()); in compareCursors() 543 if (c1.getCount() != c2.getCount()) { in compareCursors() 544 Log.d("CDBT","c1 has " + c1.getCount() + " rows and c2 has " + c2.getCount()); in compareCursors() 549 c2.moveToPosition(-1); in compareCursors() 550 while(c1.moveToNext() && c2.moveToNext()) { in compareCursors() 552 if(!TextUtils.equals(c1.getString(i),c2.getString(i))) { in compareCursors() [all …]
|
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/ |
D | db_utilities_poly.cpp | 97 double c0,c1,c2,c3; in db_SolveQuartic() local 122 c2=c/a; in db_SolveQuartic() 128 c3c3through4_min_c2=c3*c3through4-c2; in db_SolveQuartic() 137 db_SolveCubic(c_roots,&nr_c_roots,1.0,-c2,k1,k0); in db_SolveQuartic() 169 double c0,c1,c2,c3; in db_SolveQuarticForced() local 194 c2=c/a; in db_SolveQuarticForced() 200 c3c3through4_min_c2=c3*c3through4-c2; in db_SolveQuarticForced() 209 db_SolveCubic(c_roots,&nr_c_roots,1.0,-c2,k1,k0); in db_SolveQuarticForced()
|
D | db_image_homography.cpp | 44 inline void db_SProjImagePointPointConstraints(double c1[9],double c2[9],double xp[3],double x[3]) in db_SProjImagePointPointConstraints() 58 db_SProjImagePointPointConstraint(c2,2,0,1,xp,x); in db_SProjImagePointPointConstraints() 62 db_SProjImagePointPointConstraint(c2,2,1,0,xp,x); in db_SProjImagePointPointConstraints() 66 db_SProjImagePointPointConstraint(c2,1,2,0,xp,x); in db_SProjImagePointPointConstraints() 70 inline void db_SAffineImagePointPointConstraints(double c1[7],double c2[7],double xp[3],double x[3]) in db_SAffineImagePointPointConstraints() 76 db_Copy6(c2,ct2); c2[6]=ct2[8]; in db_SAffineImagePointPointConstraints()
|
/packages/apps/Messaging/jni/ |
D | GifTranscoder.cpp | 438 ColorARGB c2 = *getPixel(renderBuffer, gifIn->SWidth, x * 2 + 1, y * 2); in computeNewColorIndex() local 441 ColorARGB avgColor = computeAverage(c1, c2, c3, c4); in computeNewColorIndex() 447 ColorARGB GifTranscoder::computeAverage(ColorARGB c1, ColorARGB c2, ColorARGB c3, ColorARGB c4) { in computeAverage() argument 448 char avgAlpha = (char)(((int) ALPHA(c1) + (int) ALPHA(c2) + in computeAverage() 450 char avgRed = (char)(((int) RED(c1) + (int) RED(c2) + in computeAverage() 452 char avgGreen = (char)(((int) GREEN(c1) + (int) GREEN(c2) + in computeAverage() 454 char avgBlue = (char)(((int) BLUE(c1) + (int) BLUE(c2) + in computeAverage() 484 int GifTranscoder::computeDistance(ColorARGB c1, ColorARGB c2) { in computeDistance() argument 485 return SQUARE(RED(c1) - RED(c2)) + in computeDistance() 486 SQUARE(GREEN(c1) - GREEN(c2)) + in computeDistance() [all …]
|
D | GifTranscoder.h | 85 static ColorARGB computeAverage(ColorARGB c1, ColorARGB c2, ColorARGB c3, ColorARGB c4); 92 static int computeDistance(ColorARGB c1, ColorARGB c2);
|
/packages/services/Telephony/tests/src/com/android/services/telephony/rcs/ |
D | SipTransportControllerTest.java | 396 SipDelegateControllerContainer c2 = injectMockDelegateController(TEST_PACKAGE_NAME, in createTwoAndDenyOverlappingTags() local 398 createDelegateAndVerify(controller, c2, grantedAndDenied.first, in createTwoAndDenyOverlappingTags() 424 SipDelegateControllerContainer c2 = injectMockDelegateController(TEST_PACKAGE_NAME_2, in createTwoAndTriggerRoleChange() local 426 createDelegateAndVerify(controller, c2, Collections.emptySet(), secondDeniedTags, 1); in createTwoAndTriggerRoleChange() 432 c2.delegateController, secondDelegateRequest.getFeatureTags(), in createTwoAndTriggerRoleChange() 444 verify(c2.delegateController, never()).changeSupportedFeatureTags( in createTwoAndTriggerRoleChange() 451 verify(c2.delegateController).changeSupportedFeatureTags( in createTwoAndTriggerRoleChange() 482 SipDelegateControllerContainer c2 = injectMockDelegateController(TEST_PACKAGE_NAME, in createTwoAndDestroyOlder() local 484 createDelegateAndVerify(controller, c2, grantedAndDenied.first, grantedAndDenied.second, 1); in createTwoAndDestroyOlder() 490 c2.delegateController, secondDelegate, Collections.emptySet()); in createTwoAndDestroyOlder() [all …]
|
/packages/modules/NeuralNetworks/runtime/test/specs/V1_2/ |
D | concat_float16_3.mod.py | 41 for c2 in range(col2): 42 output_values[r * output_col + col1 + c2] = input2_values[r * col2 + c2]
|
/packages/modules/NeuralNetworks/runtime/test/specs/V1_0/ |
D | concat_float_3.mod.py | 41 for c2 in range(col2): 42 output_values[r * output_col + col1 + c2] = input2_values[r * col2 + c2]
|
D | concat_quant8_3.mod.py | 41 for c2 in range(col2): 42 output_values[r * output_col + col1 + c2] = input2_values[r * col2 + c2]
|
/packages/modules/NeuralNetworks/runtime/test/specs/V1_1/ |
D | concat_float_3_relaxed.mod.py | 42 for c2 in range(col2): 43 output_values[r * output_col + col1 + c2] = input2_values[r * col2 + c2]
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/ |
D | Hex.java | 104 int c2 = hexString.charAt(j++); in decodeHex() local 105 if (c2 > 'f') { in decodeHex() 110 final byte d2 = DIGITS[c2]; in decodeHex()
|
/packages/apps/SecureElement/src/com/android/se/internal/ |
D | ByteArrayConverter.java | 137 char c2 = str.charAt(i + 1 + offset); in hexStringToByteArray() local 138 if (!isHexChar(c1) || !isHexChar(c2)) { in hexStringToByteArray() 142 outputBytes[i / 2] = (byte) ((Character.digit(c1, 16) << 4) + Character.digit(c2, 16)); in hexStringToByteArray()
|
/packages/apps/Gallery2/jni/filters/ |
D | kmeans.h | 190 T * c2 = finalCentroids; in runKMeansWithPicks() local 194 ret = calculateNewCentroids<T, N>(k, values, len, dimension, stride, c1, c2); in runKMeansWithPicks() 196 c1 = c2; in runKMeansWithPicks() 197 c2 = temp; in runKMeansWithPicks()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/ |
D | Utils.java | 216 public static <T extends Comparable> int compare(Comparable<T> c1, T c2) { in compare() argument 218 return c2 == null ? 0 : -1; in compare() 220 else if (c2 == null) { in compare() 224 return c1.compareTo(c2); in compare()
|
/packages/modules/NeuralNetworks/runtime/test/specs/V1_3/ |
D | concat_quant8_signed.mod.py | 127 for c2 in range(col2): 128 output_values[r * output_col + col1 + c2] = input2_values[r * col2 + c2]
|
/packages/modules/Virtualization/zipfuse/src/ |
D | inode.rs | 357 let c2 = check_dir(&it, b2, "c2"); in complex_hierarchy() localVariable 358 let _d1 = check_file(&it, c2, "d1"); in complex_hierarchy() 359 let _d2 = check_file(&it, c2, "d3"); in complex_hierarchy() 360 let _d3 = check_file(&it, c2, "d3"); in complex_hierarchy()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiCandidatesTest.java | 336 WifiCandidates.Candidate c1, c2; in testTwoBssids() local 344 c2 = mWifiCandidates.getGroupedCandidates().iterator().next().iterator().next(); in testTwoBssids() 345 assertTrue(mWifiCandidates.remove(c2)); in testTwoBssids() 346 assertFalse(mWifiCandidates.remove(c2)); in testTwoBssids()
|
/packages/apps/TV/common/src/com/android/tv/common/util/ |
D | CollectionUtils.java | 85 Collection<T> c1, Collection<T> c2, Comparator<T> comparator) { in containsAny() argument 88 for (T iterate : c2) { in containsAny()
|
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/diagram/ |
D | move3.dot | 45 c2 [label="{contact:null|}", fillcolor=1] 52 c2 -> o2 [style="dashed", constraint=false, label="AddMember", style=invis]
|
D | move2.dot | 44 c2 [label="{contact:array|}", fillcolor=4] 56 c2 -> { c21; c22; c23 }
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/ |
D | DatabaseHelperTest.java | 444 Cursor c2 = db2.query("sqlite_master", in assertUpgrade() argument 446 while (c1.moveToNext() && c2.moveToNext()) { in assertUpgrade() 448 final String sql2 = normalize(c2.getString(4)); in assertUpgrade() 453 assertEquals(c2.getString(0), c1.getString(0)); in assertUpgrade() 454 assertEquals(c2.getString(1), c1.getString(1)); in assertUpgrade() 455 assertEquals(c2.getString(2), c1.getString(2)); in assertUpgrade() 457 assertEquals(c1.getCount(), c2.getCount()); in assertUpgrade()
|
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/common/ |
D | InputStreamProvider.java | 205 Matrix c2 = new Matrix(); in readCroppedBitmap() local 206 c2.setConcat(m4, m3); in readCroppedBitmap() 207 m.setConcat(c2, c1); in readCroppedBitmap()
|
/packages/apps/Launcher3/tests/tapl/com/android/launcher3/tapl/ |
D | OverviewActions.java | 81 try (LauncherInstrumentation.Closable c2 = mLauncher.addContextLayer( in clickAndDismissScreenshot() argument 108 try (LauncherInstrumentation.Closable c2 = mLauncher.addContextLayer( in clickAndDismissShare() argument
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | Utils.java | 451 public static boolean compareCursors(Cursor c1, Cursor c2) { in compareCursors() argument 452 if (c1 == null || c2 == null) { in compareCursors() 457 if (numColumns != c2.getColumnCount()) { in compareCursors() 461 if (c1.getCount() != c2.getCount()) { in compareCursors() 466 c2.moveToPosition(-1); in compareCursors() 467 while (c1.moveToNext() && c2.moveToNext()) { in compareCursors() 469 if (!TextUtils.equals(c1.getString(i), c2.getString(i))) { in compareCursors()
|