/packages/apps/DeskClock/src/com/android/deskclock/data/ |
H A D | City.java | 138 public int compare(City c1, City c2) { argument 139 int result = mDelegate1.compare(c1, c2); 142 result = mDelegate2.compare(c1, c2); 161 public int compare(City c1, City c2) { argument 162 final int utcOffset1 = c1.getTimeZone().getOffset(now); 185 public int compare(City c1, City c2) { argument 186 int result = mDelegate.compare(c1, c2); 189 result = mNameCollator.compare(c1.getPhoneticName(), c2.getPhoneticName()); 210 public int compare(City c1, City c2) { argument 211 int result = Integer.compare(c1 [all...] |
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/utils/ |
H A D | damerau_levenshtein_edit_distance_policy.h | 35 const int c1 = CharUtils::toBaseLowerCase(mString1[index1]); local 36 return (c0 == c1) ? 0.0f : 1.0f; 49 const int c1 = CharUtils::toBaseLowerCase(mString1[index1]); local 51 && c1 == CharUtils::toBaseLowerCase(mString0[index0 - 1])) {
|
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/ |
H A D | db_utilities_poly.cpp | 97 double c0,c1,c2,c3; local 123 c1=d/a; 131 k0=min4_c0*c3c3through4_min_c2-c1*c1; 132 k1=c1*c3+min4_c0; 145 mn=lz*c3through4-c1/2.0; 169 double c0,c1,c2,c3; local 195 c1=d/a; 203 k0=min4_c0*c3c3through4_min_c2-c1*c1; [all...] |
H A D | db_image_homography.cpp | 44 inline void db_SProjImagePointPointConstraints(double c1[9],double c2[9],double xp[3],double x[3]) argument 57 db_SProjImagePointPointConstraint(c1,1,0,2,xp,x); 61 db_SProjImagePointPointConstraint(c1,0,1,2,xp,x); 65 db_SProjImagePointPointConstraint(c1,0,2,1,xp,x); 70 inline void db_SAffineImagePointPointConstraints(double c1[7],double c2[7],double xp[3],double x[3]) argument 75 db_Copy6(c1,ct1); c1[6]=ct1[8];
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/ |
H A D | Hex.java | 92 int c1 = hexString.charAt(j++); 93 if (c1 > 'f') { 98 final byte d1 = DIGITS[c1];
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
H A D | ImageGrad.java | 139 float[] c1 = new float[] { mGradRep.getPoint1X(), mGradRep.getPoint1Y() }; 142 if (c1[0] == -1) { 149 c1[0] = cx; 150 c1[1] = cy-rx; 151 mToScr.mapPoints(c1); 153 mEllipse.setPoint1(c1[0], c1[1]); 161 mToScr.mapPoints(c1); 163 mEllipse.setPoint1(c1[0], c1[ [all...] |
H A D | GeometryMathUtils.java | 108 float c1 = line2[1]; 116 float t5 = c1 - d1;
|
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/ |
H A D | CalendarDatabaseHelperTest.java | 520 private static boolean compareCursors(Cursor c1, Cursor c2) { argument 521 if(c1 == null || c2 == null) { 522 Log.d("CDBT","c1 is " + c1 + " and c2 is " + c2); 526 int numColumns = c1.getColumnCount(); 528 Log.d("CDBT","c1 has " + numColumns + " columns and c2 has " + c2.getColumnCount()); 532 if (c1.getCount() != c2.getCount()) { 533 Log.d("CDBT","c1 has " + c1.getCount() + " rows and c2 has " + c2.getCount()); 537 c1 [all...] |
/packages/apps/Contacts/src/com/android/contacts/interactions/ |
H A D | ContactInteractionUtil.java | 79 private static boolean compareCalendarDayYear(Calendar c1, Calendar c2) { argument 80 return c1.get(Calendar.YEAR) == c2.get(Calendar.YEAR) && 81 c1.get(Calendar.DAY_OF_YEAR) == c2.get(Calendar.DAY_OF_YEAR);
|
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/util/ |
H A D | PerNameExecutorTest.java | 78 MockTask c1 = addTask("c" , 1); 80 assertRanNever("step 2, new tasks", a3, c1, a2); 81 step(); // run a3, c1 82 assertRanOnce("step 3", a1, b1, a3, c1); 85 assertRanOnce("step 4", a1, b1, a3, c1);
|
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/ |
H A D | UnicodeEscaper.java | 391 char c1 = seq.charAt(index++); 392 if (c1 < Character.MIN_HIGH_SURROGATE || 393 c1 > Character.MAX_LOW_SURROGATE) { 395 return c1; 396 } else if (c1 <= Character.MAX_HIGH_SURROGATE) { 399 return -c1; 404 return Character.toCodePoint(c1, c2); 411 "Unexpected low surrogate character '" + c1 + 412 "' with value " + (int) c1 + " at index " + (index - 1));
|
/packages/apps/Messaging/jni/ |
H A D | GifTranscoder.h | 85 static ColorARGB computeAverage(ColorARGB c1, ColorARGB c2, ColorARGB c3, ColorARGB c4); 92 static int computeDistance(ColorARGB c1, ColorARGB c2);
|
H A D | GifTranscoder.cpp | 437 ColorARGB c1 = *getPixel(renderBuffer, gifIn->SWidth, x * 2, y * 2); local 441 ColorARGB avgColor = computeAverage(c1, c2, c3, c4); 447 ColorARGB GifTranscoder::computeAverage(ColorARGB c1, ColorARGB c2, ColorARGB c3, ColorARGB c4) { argument 448 char avgAlpha = (char)(((int) ALPHA(c1) + (int) ALPHA(c2) + 450 char avgRed = (char)(((int) RED(c1) + (int) RED(c2) + 452 char avgGreen = (char)(((int) GREEN(c1) + (int) GREEN(c2) + 454 char avgBlue = (char)(((int) BLUE(c1) + (int) BLUE(c2) + 484 int GifTranscoder::computeDistance(ColorARGB c1, ColorARGB c2) { argument 485 return SQUARE(RED(c1) - RED(c2)) + 486 SQUARE(GREEN(c1) [all...] |
/packages/apps/Camera2/src/com/android/camera/ui/motion/ |
H A D | UnitBezier.java | 142 * @param c1 end control point. 144 public CubicBezierFn(float c0, float c1) { argument 146 b = 3.0f * (c1 - c0) - c;
|
/packages/apps/TV/common/src/com/android/tv/common/ |
H A D | CollectionUtils.java | 90 public static <T> boolean containsAny(Collection<T> c1, Collection<T> c2, argument 92 List<T> contains = new ArrayList<>(c1);
|
/packages/apps/Gallery2/jni/filters/ |
H A D | kmeans.h | 189 T * c1 = initialPicks; local 194 ret = calculateNewCentroids<T, N>(k, values, len, dimension, stride, c1, c2); 195 temp = c1; 196 c1 = c2; 202 set<T, T>(finalCentroids, c1, dimension);
|
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/internal/ |
H A D | itoa.h | 188 const uint32_t c1 = v1 % 10000; local 193 const uint32_t d7 = (c1 / 100) << 1; 194 const uint32_t d8 = (c1 % 100) << 1; 262 const uint32_t c1 = v1 % 10000; local 267 const uint32_t d7 = (c1 / 100) << 1; 268 const uint32_t d8 = (c1 % 100) << 1;
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/util/ |
H A D | NameDistance.java | 112 byte c1 = array1[i]; 125 if (!mMatchFlags2[j] && c1 == array2[j]) {
|
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/common/ |
H A D | InputStreamProvider.java | 203 Matrix c1 = new Matrix(); 204 c1.setConcat(m2, m1); 207 m.setConcat(c2, c1);
|
/packages/apps/Dialer/java/com/android/incallui/ |
H A D | ConferenceParticipantListAdapter.java | 402 ContactCacheEntry c1 = p1.getContactCacheEntry(); 405 c1.namePrimary, c1.nameAlternative, mContactsPreferences);
|
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/engine/ |
H A D | ndbdic.c | 562 NJ_UINT8 c1 = 0, c2 = 0; local 627 c1 = *byomi; 629 c = (NJ_UINT16)((c1 << 8) | c2); 632 c1 = *byomi; 646 if (c1 == *wkc) { 656 } else if (c1 < *wkc) { 1993 NJ_UINT8 c1 = 0, c2 = 0; local 2025 c1 = *byomi; 2027 c = (NJ_UINT16)((c1 << 8) | c2); 2030 c1 [all...] |
/packages/apps/Calendar/src/com/android/calendar/ |
H A D | Utils.java | 495 public static boolean compareCursors(Cursor c1, Cursor c2) { argument 496 if (c1 == null || c2 == null) { 500 int numColumns = c1.getColumnCount(); 505 if (c1.getCount() != c2.getCount()) { 509 c1.moveToPosition(-1); 511 while (c1.moveToNext() && c2.moveToNext()) { 513 if (!TextUtils.equals(c1.getString(i), c2.getString(i))) {
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/ |
H A D | HeadsetClientStateMachine.java | 343 BluetoothHeadsetClientCall c1 = mCalls.get(idx); 344 c1.setState(BluetoothHeadsetClientCall.CALL_STATE_TERMINATED); 345 sendCallChangedIntent(c1);
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
H A D | MediaProvider.java | 985 Cursor c1 = null; 988 c1 = db.query("audio_meta", new String[] {"count(*)"}, 992 c1.moveToFirst(); 994 int num1 = c1.getInt(0); 1003 IoUtils.closeQuietly(c1);
|
/packages/apps/Messaging/build/gcheckstyle/ |
H A D | google-style-checker_deploy.jar | META-INF/ META-INF/MANIFEST.MF build-data.properties com/ com/google/ com/google/ ... |