Searched refs:rows (Results 1 - 25 of 29) sorted by relevance

12

/packages/apps/Launcher3/
H A Dprint_db.py54 rows = []
56 rows.append(row)
57 return columns,rows
63 rows = []
65 rows.append(row)
66 return columns,rows
153 columns,rows = get_favorites(conn)
156 data = [dict(zip(columns,row)) for row in rows]
159 # Calculate the proper number of screens, columns, and rows in this db
207 for row in rows
[all...]
/packages/apps/Launcher2/
H A 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_stab/db_vlvm/
H A Ddb_utilities_indexing.h35 inline void db_SetupMatrixRefs(double **ar,long rows,long cols,double *a) argument
38 for(i=0;i<rows;i++) ar[i]=&a[i*cols];
41 inline void db_SymmetricExtendUpperToLower(double **A,int rows,int cols) argument
44 for(i=1;i<rows;i++) for(j=0;j<i;j++) A[i][j]=A[j][i];
H A Ddb_utilities.cpp167 void db_PrintDoubleMatrix(double *a,long rows,long cols) argument
170 for(long i=0;i<rows;i++)
H A Ddb_utilities.h422 * \param h image height (number of rows)
444 * \param h image height (number of rows)
556 DB_API void db_PrintDoubleMatrix(double *a,long rows,long cols);
/packages/apps/Camera2/jni/feature_stab/db_vlvm/
H A Ddb_utilities_indexing.h35 inline void db_SetupMatrixRefs(double **ar,long rows,long cols,double *a) argument
38 for(i=0;i<rows;i++) ar[i]=&a[i*cols];
41 inline void db_SymmetricExtendUpperToLower(double **A,int rows,int cols) argument
44 for(i=1;i<rows;i++) for(j=0;j<i;j++) A[i][j]=A[j][i];
H A Ddb_utilities.cpp167 void db_PrintDoubleMatrix(double *a,long rows,long cols) argument
170 for(long i=0;i<rows;i++)
H A Ddb_utilities.h422 * \param h image height (number of rows)
444 * \param h image height (number of rows)
556 DB_API void db_PrintDoubleMatrix(double *a,long rows,long cols);
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/
H A Ddb_utilities_indexing.h35 inline void db_SetupMatrixRefs(double **ar,long rows,long cols,double *a) argument
38 for(i=0;i<rows;i++) ar[i]=&a[i*cols];
41 inline void db_SymmetricExtendUpperToLower(double **A,int rows,int cols) argument
44 for(i=1;i<rows;i++) for(j=0;j<i;j++) A[i][j]=A[j][i];
H A Ddb_utilities.cpp167 void db_PrintDoubleMatrix(double *a,long rows,long cols) argument
170 for(long i=0;i<rows;i++)
/packages/apps/Camera/jni/feature_mos/src/mosaic/
H A DDelaunay.cpp56 int i, rows; local
59 rows = (int)( 0.5 + sqrt( (double) size / log( (double) size )));
67 build( 0, size-1, &lefte, &righte, rows );
73 void CDelaunay::build(int lo, int hi, EdgePointer *le, EdgePointer *re, int rows) argument
86 if (rows == 1) { // time to switch axis of division
88 rows = 65536;
90 lowrows = rows/2;
92 (0.5 + ((double)(high-low+1) * ((double)lowrows / (double)rows)));
94 build( split+1, high, &rdi, &rdo, (rows-lowrows) );
H A DDelaunay.h64 void build(int lo, int hi, EdgePointer *le, EdgePointer *re, int rows);
/packages/apps/Camera2/jni/feature_mos/src/mosaic/
H A DDelaunay.cpp56 int i, rows; local
59 rows = (int)( 0.5 + sqrt( (double) size / log( (double) size )));
67 build( 0, size-1, &lefte, &righte, rows );
73 void CDelaunay::build(int lo, int hi, EdgePointer *le, EdgePointer *re, int rows) argument
86 if (rows == 1) { // time to switch axis of division
88 rows = 65536;
90 lowrows = rows/2;
92 (0.5 + ((double)(high-low+1) * ((double)lowrows / (double)rows)));
94 build( split+1, high, &rdi, &rdo, (rows-lowrows) );
H A DDelaunay.h64 void build(int lo, int hi, EdgePointer *le, EdgePointer *re, int rows);
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/
H A DDelaunay.cpp56 int i, rows; local
59 rows = (int)( 0.5 + sqrt( (double) size / log( (double) size )));
67 build( 0, size-1, &lefte, &righte, rows );
73 void CDelaunay::build(int lo, int hi, EdgePointer *le, EdgePointer *re, int rows) argument
86 if (rows == 1) { // time to switch axis of division
88 rows = 65536;
90 lowrows = rows/2;
92 (0.5 + ((double)(high-low+1) * ((double)lowrows / (double)rows)));
94 build( split+1, high, &rdi, &rdo, (rows-lowrows) );
H A DDelaunay.h64 void build(int lo, int hi, EdgePointer *le, EdgePointer *re, int rows);
/packages/apps/Launcher3/protos/
H A Dbackup.proto44 optional int32 rows = 4;
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
H A DDownloadScanner.java150 final int rows = resolver.update(downloadUri, values, null, null);
151 if (rows == 0) {
/packages/apps/Launcher3/src/com/android/launcher3/
H A DLauncherBackupHelper.java176 out.rows = 0;
193 Log.v(TAG, "onBackup: wrote " + out.bytes + "b in " + out.rows + " rows.");
265 Log.v(TAG, "onRestore: read " + mKeys.size() + " rows");
311 out.rows += removeDeletedKeysFromBackup(savedIds, data);
379 out.rows += removeDeletedKeysFromBackup(savedIds, data);
431 int startRows = out.rows;
460 if (DEBUG) Log.d(TAG, "I can count this high: " + out.rows);
461 if ((out.rows - startRows) < MAX_ICONS_PER_PASS) {
489 out.rows
[all...]
H A DLauncherProvider.java490 ContentValues[] rows = new ContentValues[c.getCount()];
512 rows[i++] = values;
519 int numValues = rows.length;
521 if (dbInsertAndCheck(this, db, TABLE_FAVORITES, null, rows[i]) < 0) {
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
H A DProximityInfo.java177 final int rows = touchPositionCorrection.getRows();
191 if (row < rows) {
206 sweetSpotRadii[infoIndex], (row < rows ? "correct" : "default"),
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DSlotView.java378 // of each slot. The number of rows and the gap between slots will be
381 // of rows in landscape/portrait mode and the gap between slots. The
462 // columns (rows).
501 int rows = (mWidth > mHeight) ? mSpec.rowsLand : mSpec.rowsPort;
503 mSlotHeight = Math.max(1, (mHeight - (rows - 1) * mSlotGap) / rows);
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
H A DMmsSmsDatabaseHelper.java242 * unreferenced rows from the canonical_addresses table.
251 int rows = db.delete("canonical_addresses", null, null);
276 int rows = db.delete("canonical_addresses", sb.toString(), null);
296 int rows = db.delete(MmsSmsProvider.TABLE_THREADS,
301 if (rows > 0) {
436 int rows = db.delete("sms", "_id=" + message_id, null);
441 return rows;
456 // table with the rows out of sms and part.
1430 " rows in sms table to have READ=1");
1433 " rows i
[all...]
/packages/apps/Calendar/src/com/android/calendar/alerts/
H A DGlobalDismissManager.java507 int rows = resolver.update(CalendarAlerts.CONTENT_URI, values,
509 if (rows > 0) {
/packages/apps/Launcher2/src/com/android/launcher2/
H A DLauncherProvider.java370 ContentValues[] rows = new ContentValues[c.getCount()];
389 rows[i++] = values;
395 int numValues = rows.length;
397 if (dbInsertAndCheck(this, db, TABLE_FAVORITES, null, rows[i]) < 0) {

Completed in 503 milliseconds

12