Home
last modified time | relevance | path

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

12

/packages/apps/Camera/jni/feature_stab/db_vlvm/
Ddb_utilities_poly.cpp97 double c0,c1,c2,c3; in db_SolveQuartic() local
123 c1=d/a; in db_SolveQuartic()
131 k0=min4_c0*c3c3through4_min_c2-c1*c1; in db_SolveQuartic()
132 k1=c1*c3+min4_c0; in db_SolveQuartic()
145 mn=lz*c3through4-c1/2.0; in db_SolveQuartic()
169 double c0,c1,c2,c3; in db_SolveQuarticForced() local
195 c1=d/a; in db_SolveQuarticForced()
203 k0=min4_c0*c3c3through4_min_c2-c1*c1; in db_SolveQuarticForced()
204 k1=c1*c3+min4_c0; in db_SolveQuarticForced()
217 mn=lz*c3through4-c1/2.0; 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()
57 db_SProjImagePointPointConstraint(c1,1,0,2,xp,x); in db_SProjImagePointPointConstraints()
61 db_SProjImagePointPointConstraint(c1,0,1,2,xp,x); in db_SProjImagePointPointConstraints()
65 db_SProjImagePointPointConstraint(c1,0,2,1,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()
75 db_Copy6(c1,ct1); c1[6]=ct1[8]; in db_SAffineImagePointPointConstraints()
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/
Ddb_utilities_poly.cpp97 double c0,c1,c2,c3; in db_SolveQuartic() local
123 c1=d/a; in db_SolveQuartic()
131 k0=min4_c0*c3c3through4_min_c2-c1*c1; in db_SolveQuartic()
132 k1=c1*c3+min4_c0; in db_SolveQuartic()
145 mn=lz*c3through4-c1/2.0; in db_SolveQuartic()
169 double c0,c1,c2,c3; in db_SolveQuarticForced() local
195 c1=d/a; in db_SolveQuarticForced()
203 k0=min4_c0*c3c3through4_min_c2-c1*c1; in db_SolveQuarticForced()
204 k1=c1*c3+min4_c0; in db_SolveQuarticForced()
217 mn=lz*c3through4-c1/2.0; 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()
57 db_SProjImagePointPointConstraint(c1,1,0,2,xp,x); in db_SProjImagePointPointConstraints()
61 db_SProjImagePointPointConstraint(c1,0,1,2,xp,x); in db_SProjImagePointPointConstraints()
65 db_SProjImagePointPointConstraint(c1,0,2,1,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()
75 db_Copy6(c1,ct1); c1[6]=ct1[8]; in db_SAffineImagePointPointConstraints()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
DImageGrad.java139 float[] c1 = new float[] { mGradRep.getPoint1X(), mGradRep.getPoint1Y() }; in setRepresentation() local
142 if (c1[0] == -1) { in setRepresentation()
149 c1[0] = cx; in setRepresentation()
150 c1[1] = cy-rx; in setRepresentation()
151 mToScr.mapPoints(c1); in setRepresentation()
153 mEllipse.setPoint1(c1[0], c1[1]); in setRepresentation()
161 mToScr.mapPoints(c1); in setRepresentation()
163 mEllipse.setPoint1(c1[0], c1[1]); in setRepresentation()
DGeometryMathUtils.java108 float c1 = line2[1]; in lineIntersect() local
116 float t5 = c1 - d1; in lineIntersect()
/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()
526 int numColumns = c1.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()
537 c1.moveToPosition(-1); in compareCursors()
539 while(c1.moveToNext() && c2.moveToNext()) { in compareCursors()
541 if(!TextUtils.equals(c1.getString(i),c2.getString(i))) { in compareCursors()
542 Log.d("CDBT", c1.getString(i) + "\n" + c2.getString(i)); in compareCursors()
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/
DUnicodeEscaper.java391 char c1 = seq.charAt(index++); in codePointAt() local
392 if (c1 < Character.MIN_HIGH_SURROGATE || in codePointAt()
393 c1 > Character.MAX_LOW_SURROGATE) { in codePointAt()
395 return c1; in codePointAt()
396 } else if (c1 <= Character.MAX_HIGH_SURROGATE) { in codePointAt()
399 return -c1; in codePointAt()
404 return Character.toCodePoint(c1, c2); in codePointAt()
411 "Unexpected low surrogate character '" + c1 + in codePointAt()
412 "' with value " + (int) c1 + " at index " + (index - 1)); in codePointAt()
/packages/apps/Gallery2/jni/filters/
Dkmeans.h189 T * c1 = initialPicks; in runKMeansWithPicks() local
194 ret = calculateNewCentroids<T, N>(k, values, len, dimension, stride, c1, c2); in runKMeansWithPicks()
195 temp = c1; in runKMeansWithPicks()
196 c1 = c2; in runKMeansWithPicks()
202 set<T, T>(finalCentroids, c1, dimension); in runKMeansWithPicks()
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/utils/
Ddamerau_levenshtein_edit_distance_policy.h35 const int c1 = CharUtils::toBaseLowerCase(mString1[index1]); in getSubstitutionCost() local
36 return (c0 == c1) ? 0.0f : 1.0f; in getSubstitutionCost()
49 const int c1 = CharUtils::toBaseLowerCase(mString1[index1]); in allowTransposition() local
51 && c1 == CharUtils::toBaseLowerCase(mString0[index0 - 1])) { in allowTransposition()
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/util/
DPerNameExecutorTest.java78 MockTask c1 = addTask("c" , 1); in testCancelPendingTasks() local
80 assertRanNever("step 2, new tasks", a3, c1, a2); in testCancelPendingTasks()
82 assertRanOnce("step 3", a1, b1, a3, c1); in testCancelPendingTasks()
85 assertRanOnce("step 4", a1, b1, a3, c1); in testCancelPendingTasks()
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/engine/
Dndbdic.c562 NJ_UINT8 c1 = 0, c2 = 0; in search_node() local
627 c1 = *byomi; in search_node()
629 c = (NJ_UINT16)((c1 << 8) | c2); in search_node()
632 c1 = *byomi; in search_node()
646 if (c1 == *wkc) { in search_node()
656 } else if (c1 < *wkc) { in search_node()
1993 NJ_UINT8 c1 = 0, c2 = 0; in search_yomi_node() local
2025 c1 = *byomi; in search_yomi_node()
2027 c = (NJ_UINT16)((c1 << 8) | c2); in search_yomi_node()
2030 c1 = *byomi; in search_yomi_node()
[all …]
/packages/apps/DeskClock/src/com/android/deskclock/worldclock/
DCityGmtOffsetComparator.java26 public int compare(CityObj c1, CityObj c2) { in compare() argument
28 int offset = TimeZone.getTimeZone(c1.mTimeZone).getOffset(currentTime); in compare()
31 getCityNameComparator().compare(c1, c2); in compare()
DCityNameComparator.java30 public int compare(CityObj c1, CityObj c2) { in compare() argument
31 return mCollator.compare(c1.mCityName, c2.mCityName); in compare()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/
DHex.java92 int c1 = hexString.charAt(j++); in decodeHex() local
93 if (c1 > 'f') { in decodeHex()
98 final byte d1 = DIGITS[c1]; in decodeHex()
/packages/apps/Contacts/src/com/android/contacts/interactions/
DContactInteractionUtil.java97 private static boolean compareCalendarDayYear(Calendar c1, Calendar c2) { in compareCalendarDayYear() argument
98 return c1.get(Calendar.YEAR) == c2.get(Calendar.YEAR) && in compareCalendarDayYear()
99 c1.get(Calendar.DAY_OF_YEAR) == c2.get(Calendar.DAY_OF_YEAR); in compareCalendarDayYear()
/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()
500 int numColumns = c1.getColumnCount(); in compareCursors()
505 if (c1.getCount() != c2.getCount()) { in compareCursors()
509 c1.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/Exchange/src/com/android/exchange/eas/
DEasSyncCalendar.java152 final Cursor c1 = cr.query(Calendars.CONTENT_URI, in EasSyncCalendar() local
159 if (c1 != null) { in EasSyncCalendar()
161 if (c1.moveToFirst()) { in EasSyncCalendar()
162 id = c1.getLong(CALENDAR_ID_COLUMN); in EasSyncCalendar()
173 c1.close(); in EasSyncCalendar()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/util/
DNameDistance.java112 byte c1 = array1[i]; in getDistance()
125 if (!mMatchFlags2[j] && c1 == array2[j]) { in getDistance()
/packages/apps/Launcher3/WallpaperPicker/src/com/android/launcher3/
DWallpaperCropActivity.java758 Matrix c1 = new Matrix(); local
759 c1.setConcat(m2, m1);
762 m.setConcat(c2, c1);
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaProvider.java1906 Cursor c1 = null; in sanityCheck() local
1909 c1 = db.query("audio_meta", new String[] {"count(*)"}, in sanityCheck()
1913 c1.moveToFirst(); in sanityCheck()
1915 int num1 = c1.getInt(0); in sanityCheck()
1924 IoUtils.closeQuietly(c1); in sanityCheck()
/packages/experimental/SELinux/CTS/test/
Dpolicy_test.conf121 category c1;
Dpolicy_clean_test.conf121 category c1;
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsProvider2Test.java5713 long c1 = id = RawContactUtil.createRawContact(mResolver, mAccount, RawContacts.SOURCE_ID, in testContentEntityIterator() local
5738 assertEquals(c1, (long) entity.getEntityValues().getAsLong(RawContacts._ID)); in testContentEntityIterator()
/packages/experimental/SELinux/CTS/src/
Dexample_input_policy.conf1180 category c1;

12