Home
last modified time | relevance | path

Searched refs:rows (Results 1 – 17 of 17) sorted by relevance

/packages/apps/Launcher2/
Dprint_db.py45 rows = []
47 rows.append(row)
48 return columns,rows
123 columns,rows = get_favorites(conn)
124 data = [dict(zip(columns,row)) for row in rows]
154 for row in rows:
/packages/apps/Camera/jni/feature_mos/src/mosaic/
DDelaunay.cpp56 int i, rows; in buildTriangulation() local
59 rows = (int)( 0.5 + sqrt( (double) size / log( (double) size ))); in buildTriangulation()
67 build( 0, size-1, &lefte, &righte, rows ); in buildTriangulation()
73 void CDelaunay::build(int lo, int hi, EdgePointer *le, EdgePointer *re, int rows) in build() argument
86 if (rows == 1) { // time to switch axis of division in build()
88 rows = 65536; in build()
90 lowrows = rows/2; in build()
92 (0.5 + ((double)(high-low+1) * ((double)lowrows / (double)rows))); in build()
94 build( split+1, high, &rdi, &rdo, (rows-lowrows) ); in build()
DDelaunay.h64 void build(int lo, int hi, EdgePointer *le, EdgePointer *re, int rows);
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/
DDelaunay.cpp56 int i, rows; in buildTriangulation() local
59 rows = (int)( 0.5 + sqrt( (double) size / log( (double) size ))); in buildTriangulation()
67 build( 0, size-1, &lefte, &righte, rows ); in buildTriangulation()
73 void CDelaunay::build(int lo, int hi, EdgePointer *le, EdgePointer *re, int rows) in build() argument
86 if (rows == 1) { // time to switch axis of division in build()
88 rows = 65536; in build()
90 lowrows = rows/2; in build()
92 (0.5 + ((double)(high-low+1) * ((double)lowrows / (double)rows))); in build()
94 build( split+1, high, &rdi, &rdo, (rows-lowrows) ); in build()
DDelaunay.h64 void build(int lo, int hi, EdgePointer *le, EdgePointer *re, int rows);
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/
DSuggestionCursorWithExtrasTest.java141 HashSet<String> rows = new HashSet<String>(); in createCursorWithExtras() local
142 rows.addAll(Arrays.asList(observedCursor.getColumnNames())); in createCursorWithExtras()
143 assertTrue("Extra column present in cursor", rows.contains(columnName)); in createCursorWithExtras()
/packages/apps/Camera/jni/feature_stab/db_vlvm/
Ddb_utilities_indexing.h35 inline void db_SetupMatrixRefs(double **ar,long rows,long cols,double *a) in db_SetupMatrixRefs() argument
38 for(i=0;i<rows;i++) ar[i]=&a[i*cols]; in db_SetupMatrixRefs()
41 inline void db_SymmetricExtendUpperToLower(double **A,int rows,int cols) in db_SymmetricExtendUpperToLower() argument
44 for(i=1;i<rows;i++) for(j=0;j<i;j++) A[i][j]=A[j][i]; in db_SymmetricExtendUpperToLower()
Ddb_utilities.cpp167 void db_PrintDoubleMatrix(double *a,long rows,long cols) in db_PrintDoubleMatrix() argument
170 for(long i=0;i<rows;i++) in db_PrintDoubleMatrix()
Ddb_utilities.h556 DB_API void db_PrintDoubleMatrix(double *a,long rows,long cols);
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/
Ddb_utilities_indexing.h35 inline void db_SetupMatrixRefs(double **ar,long rows,long cols,double *a) in db_SetupMatrixRefs() argument
38 for(i=0;i<rows;i++) ar[i]=&a[i*cols]; in db_SetupMatrixRefs()
41 inline void db_SymmetricExtendUpperToLower(double **A,int rows,int cols) in db_SymmetricExtendUpperToLower() argument
44 for(i=1;i<rows;i++) for(j=0;j<i;j++) A[i][j]=A[j][i]; in db_SymmetricExtendUpperToLower()
Ddb_utilities.cpp167 void db_PrintDoubleMatrix(double *a,long rows,long cols) in db_PrintDoubleMatrix() argument
170 for(long i=0;i<rows;i++) in db_PrintDoubleMatrix()
Ddb_utilities.h556 DB_API void db_PrintDoubleMatrix(double *a,long rows,long cols);
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DMmsSmsDatabaseHelper.java251 int rows = db.delete("canonical_addresses", null, null); in removeUnferencedCanonicalAddresses() local
276 int rows = db.delete("canonical_addresses", sb.toString(), null); in removeUnferencedCanonicalAddresses() local
294 int rows = db.delete("threads", in updateThread() local
299 if (rows > 0) { in updateThread()
419 int rows = db.delete("sms", "_id=" + message_id, null); in deleteOneSms() local
424 return rows; in deleteOneSms()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DSlotView.java501 int rows = (mWidth > mHeight) ? mSpec.rowsLand : mSpec.rowsPort; in initLayoutParameters() local
503 mSlotHeight = Math.max(1, (mHeight - (rows - 1) * mSlotGap) / rows); in initLayoutParameters()
/packages/apps/Launcher2/src/com/android/launcher2/
DLauncherProvider.java355 ContentValues[] rows = new ContentValues[c.getCount()]; in copyFromCursor() local
374 rows[i++] = values; in copyFromCursor()
380 int numValues = rows.length; in copyFromCursor()
382 if (dbInsertAndCheck(this, db, TABLE_FAVORITES, null, rows[i]) < 0) { in copyFromCursor()
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
DCalendarProvider2Test.java209 int rows = deleteMatchingEvents(eventName, account, accountType); in execute() local
210 assertEquals(expected, rows); in execute()
1475 int rows = mResolver.delete( in testInstanceRange() local
1478 assertEquals(1, rows); in testInstanceRange()
/packages/apps/Exchange/exchange2/src/com/android/exchange/adapter/
DContactsSyncAdapter.java1420 public void addUntyped(Entity entity, ArrayList<UntypedRow> rows, String mimeType, in addUntyped() argument
1435 for (UntypedRow row: rows) { in addUntyped()