Home
last modified time | relevance | path

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

/packages/apps/DeskClock/src/com/android/deskclock/data/
DCity.java138 public int compare(City c1, City c2) { in compare() argument
139 int result = mDelegate1.compare(c1, c2); in compare()
142 result = mDelegate2.compare(c1, c2); in compare()
161 public int compare(City c1, City c2) { in compare() argument
163 final int utcOffset2 = c2.getTimeZone().getOffset(now); in compare()
185 public int compare(City c1, City c2) { in compare() argument
186 int result = mDelegate.compare(c1, c2); in compare()
189 result = mNameCollator.compare(c1.getPhoneticName(), c2.getPhoneticName()); in compare()
210 public int compare(City c1, City c2) { in compare() argument
211 int result = Integer.compare(c1.getIndex(), c2.getIndex()); in compare()
[all …]
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
DCalendarDatabaseHelperTest.java520 private static boolean compareCursors(Cursor c1, Cursor c2) { in compareCursors() argument
521 if(c1 == null || c2 == null) { in compareCursors()
522 Log.d("CDBT","c1 is " + c1 + " and c2 is " + c2); in compareCursors()
527 if (numColumns != c2.getColumnCount()) { in compareCursors()
528 Log.d("CDBT","c1 has " + numColumns + " columns and c2 has " + c2.getColumnCount()); in compareCursors()
532 if (c1.getCount() != c2.getCount()) { in compareCursors()
533 Log.d("CDBT","c1 has " + c1.getCount() + " rows and c2 has " + c2.getCount()); in compareCursors()
538 c2.moveToPosition(-1); in compareCursors()
539 while(c1.moveToNext() && c2.moveToNext()) { in compareCursors()
541 if(!TextUtils.equals(c1.getString(i),c2.getString(i))) { in compareCursors()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
DImageGrad.java140 float[] c2 = new float[] { mGradRep.getPoint2X(), mGradRep.getPoint2Y() }; in setRepresentation() local
154 c2[0] = cx; in setRepresentation()
155 c2[1] = cy+rx; in setRepresentation()
156 mToScr.mapPoints(c2); in setRepresentation()
157 mEllipse.setPoint2(c2[0], c2[1]); in setRepresentation()
162 mToScr.mapPoints(c2); in setRepresentation()
164 mEllipse.setPoint2(c2[0], c2[1]); in setRepresentation()
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/
Ddb_utilities_poly.cpp97 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()
Ddb_image_homography.cpp44 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/
DGifTranscoder.cpp438 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 …]
DGifTranscoder.h85 static ColorARGB computeAverage(ColorARGB c1, ColorARGB c2, ColorARGB c3, ColorARGB c4);
92 static int computeDistance(ColorARGB c1, ColorARGB c2);
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/
DUnicodeEscaper.java402 char c2 = seq.charAt(index); in codePointAt() local
403 if (Character.isLowSurrogate(c2)) { in codePointAt()
404 return Character.toCodePoint(c1, c2); in codePointAt()
407 "Expected low surrogate but got char '" + c2 + in codePointAt()
408 "' with value " + (int) c2 + " at index " + index); in codePointAt()
/packages/apps/Gallery2/jni/filters/
Dkmeans.h190 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/providers/ContactsProvider/src/com/android/providers/contacts/util/
DHex.java104 int c2 = hexString.charAt(j++); in decodeHex() local
105 if (c2 > 'f') { in decodeHex()
110 final byte d2 = DIGITS[c2]; in decodeHex()
/packages/apps/Contacts/src/com/android/contacts/interactions/
DContactInteractionUtil.java79 private static boolean compareCalendarDayYear(Calendar c1, Calendar c2) { in compareCalendarDayYear() argument
80 return c1.get(Calendar.YEAR) == c2.get(Calendar.YEAR) && in compareCalendarDayYear()
81 c1.get(Calendar.DAY_OF_YEAR) == c2.get(Calendar.DAY_OF_YEAR); in compareCalendarDayYear()
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/engine/
Dndbdic.c562 NJ_UINT8 c1 = 0, c2 = 0; in search_node() local
628 c2 = *(byomi + 1); in search_node()
629 c = (NJ_UINT16)((c1 << 8) | c2); in search_node()
633 c2 = 0x00; in search_node()
647 if (c2 == *(wkc + 1)) { in search_node()
651 if (c2 < *(wkc + 1)) { in search_node()
1993 NJ_UINT8 c1 = 0, c2 = 0; in search_yomi_node() local
2026 c2 = *(byomi + 1); in search_yomi_node()
2027 c = (NJ_UINT16)((c1 << 8) | c2); in search_yomi_node()
2031 c2 = 0x00; in search_yomi_node()
[all …]
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/common/
DInputStreamProvider.java205 Matrix c2 = new Matrix(); in readCroppedBitmap() local
206 c2.setConcat(m4, m3); in readCroppedBitmap()
207 m.setConcat(c2, c1); in readCroppedBitmap()
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/diagram/
Dmove3.dot45 c2 [label="{contact:null|}", fillcolor=1]
52 c2 -> o2 [style="dashed", constraint=false, label="AddMember", style=invis]
Dmove2.dot44 c2 [label="{contact:array|}", fillcolor=4]
56 c2 -> { c21; c22; c23 }
/packages/apps/TV/common/src/com/android/tv/common/
DCollectionUtils.java90 public static <T> boolean containsAny(Collection<T> c1, Collection<T> c2, in containsAny() argument
94 for (T iterate : c2) { in containsAny()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
DUtility.java191 Cursor c2 = resolver.query(Account.CONTENT_URI, Account.ID_PROJECTION, in findExistingAccount() local
194 while (c2.moveToNext()) { in findExistingAccount()
195 long accountId = c2.getLong(Account.ID_PROJECTION_COLUMN); in findExistingAccount()
204 c2.close(); in findExistingAccount()
/packages/apps/Calendar/src/com/android/calendar/
DUtils.java495 public static boolean compareCursors(Cursor c1, Cursor c2) { in compareCursors() argument
496 if (c1 == null || c2 == null) { in compareCursors()
501 if (numColumns != c2.getColumnCount()) { in compareCursors()
505 if (c1.getCount() != c2.getCount()) { in compareCursors()
510 c2.moveToPosition(-1); in compareCursors()
511 while (c1.moveToNext() && c2.moveToNext()) { in compareCursors()
513 if (!TextUtils.equals(c1.getString(i), c2.getString(i))) { in compareCursors()
/packages/apps/Dialer/java/com/android/incallui/
DConferenceParticipantListAdapter.java408 ContactCacheEntry c2 = p2.getContactCacheEntry(); in sortParticipantList()
411 c2.namePrimary, c2.nameAlternative, mContactsPreferences); in sortParticipantList()
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarProvider2.java3579 Cursor c2 = null; in deleteMatchingColors() local
3587 c2 = mDb.query(Tables.CALENDARS, ID_ONLY_PROJECTION, in deleteMatchingColors()
3591 if (c2.getCount() != 0) { in deleteMatchingColors()
3593 + ". Referenced by " + c2.getCount() + " calendars."); in deleteMatchingColors()
3597 c2 = query(Events.CONTENT_URI, ID_ONLY_PROJECTION, SQL_WHERE_EVENT_COLOR, in deleteMatchingColors()
3599 if (c2.getCount() != 0) { in deleteMatchingColors()
3601 + ". Referenced by " + c2.getCount() + " events."); in deleteMatchingColors()
3606 if (c2 != null) { in deleteMatchingColors()
3607 c2.close(); in deleteMatchingColors()
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaProvider.java981 Cursor c2 = null; in sanityCheck() local
985 c2 = db.query("audio_meta", new String[] {"count(distinct _data)"}, in sanityCheck()
988 c2.moveToFirst(); in sanityCheck()
990 int num2 = c2.getInt(0); in sanityCheck()
999 IoUtils.closeQuietly(c2); in sanityCheck()
/packages/apps/Messaging/build/gcheckstyle/
Dgoogle-style-checker_deploy.jarMETA-INF/ META-INF/MANIFEST.MF build-data.properties com/ com ...
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsProvider2Test.java6393 long c2 = id = RawContactUtil.createRawContact(mResolver, mAccount, RawContacts.SOURCE_ID, in testContentEntityIterator() local
6430 assertEquals(c2, (long) entity.getEntityValues().getAsLong(RawContacts._ID)); in testContentEntityIterator()
/packages/services/Telecomm/libs/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/packages/inputmethods/LatinIME/dictionaries/
Dlt_wordlist.combined.gz1dictionary=main:lt,locale=lt,description=Lietuvių,date=1393228136, ...