/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/expected/ |
H A D | ActualKeyboardBuilder.java | 31 * An actual keyboard is an array of rows, and a row consists of an array of {@link Key}s. 47 * Create the keyboard that consists of the array of rows of the actual keyboard's keys. 50 * @return the actual keyboard grouped with rows. 53 // Filter out spacer to prepare to create rows. 56 // Grouping keys into rows. 57 final ArrayList<ArrayList<Key>> rows = new ArrayList<>(); 64 rows.add(elements); 69 rows.add(elements); // Add the last row. 71 // Calculate each dimension of rows and create a builder. 72 final int[] dimensions = new int[rows 181 toString(final Key[][] rows) argument [all...] |
H A D | AbstractKeyboardBuilder.java | 24 * A keyboard consists of an array of rows, and a row consists of an array of elements. Each row 31 // A building array of rows. 50 * elements of <code>rows</rows>. 51 * @param rows the template keyboard rows. The elements of the <code>rows</code> will be 54 AbstractKeyboardBuilder(final E[][] rows) { argument 55 mRows = newArrayOfArray(rows.length); 56 for (int rowIndex = 0; rowIndex < rows [all...] |
H A D | ExpectedKeyboardBuilder.java | 26 * An expected keyboard is an array of rows, and a row consists of an array of {@link ExpectedKey}s. 36 public ExpectedKeyboardBuilder(final ExpectedKey[][] rows) { argument 37 super(rows); 332 * @param rows the keyboard to be converted to string. 333 * @return the human readable representation of <code>rows</code>. 335 public static String toString(final ExpectedKey[][] rows) { argument 337 for (int rowIndex = 0; rowIndex < rows.length; rowIndex++) { 341 sb.append(Arrays.toString(rows[rowIndex]));
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/ |
H A D | BrowseInfoBase.java | 38 ArrayObjectAdapter rows = new ArrayObjectAdapter(); 44 rows.add(new ListRow(headerItem, adapter)); 46 return rows;
|
/packages/apps/Launcher3/ |
H A D | print_db.py | 54 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 D | print_db.py | 45 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 D | db_utilities_indexing.h | 35 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 D | db_utilities.cpp | 167 void db_PrintDoubleMatrix(double *a,long rows,long cols) argument 170 for(long i=0;i<rows;i++)
|
H A D | db_utilities.h | 422 * \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 D | db_utilities_indexing.h | 35 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 D | db_utilities.cpp | 167 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 D | Delaunay.cpp | 56 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 D | Delaunay.h | 64 void build(int lo, int hi, EdgePointer *le, EdgePointer *re, int rows);
|
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/ |
H A D | Delaunay.cpp | 56 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 D | Delaunay.h | 64 void build(int lo, int hi, EdgePointer *le, EdgePointer *re, int rows);
|
/packages/apps/Launcher3/protos/ |
H A D | backup.proto | 44 optional int32 rows = 4;
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
H A D | DownloadScanner.java | 150 final int rows = resolver.update(downloadUri, values, null, null); 151 if (rows == 0) {
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | LauncherBackupHelper.java | 188 out.rows = 0; 209 Log.v(TAG, "onBackup: wrote " + out.bytes + "b in " + out.rows + " rows."); 279 Log.v(TAG, "onRestore: read " + mKeys.size() + " rows"); 329 out.rows += removeDeletedKeysFromBackup(savedIds, data); 407 out.rows += removeDeletedKeysFromBackup(savedIds, data); 467 int startRows = out.rows; 499 if (DEBUG) Log.d(TAG, "I can count this high: " + out.rows); 500 if ((out.rows - startRows) < MAX_ICONS_PER_PASS) { 528 out.rows [all...] |
/packages/apps/Settings/src/com/android/settings/notification/ |
H A D | AppNotificationSettings.java | 154 ArrayMap<String, AppRow> rows = new ArrayMap<String, AppRow>(); 155 rows.put(mAppRow.pkg, mAppRow); 156 NotificationAppList.collectConfigActivities(getPackageManager(), rows);
|
H A D | NotificationAppList.java | 399 public static void collectConfigActivities(PackageManager pm, ArrayMap<String, AppRow> rows) { argument 401 applyConfigActivities(pm, rows, resolveInfos); 404 public static void applyConfigActivities(PackageManager pm, ArrayMap<String, AppRow> rows, argument 411 final AppRow row = rows.get(appInfo.packageName); 473 // sort rows
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
H A D | ProximityInfo.java | 182 final int rows = touchPositionCorrection.getRows(); 196 if (row < rows) { 211 sweetSpotRadii[infoIndex], (row < rows ? "correct" : "default"),
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
H A D | SlotView.java | 378 // 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 D | MmsSmsDatabaseHelper.java | 242 * 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. 1485 " rows in sms table to have READ=1"); 1488 " rows i [all...] |
/packages/apps/Calendar/src/com/android/calendar/alerts/ |
H A D | GlobalDismissManager.java | 507 int rows = resolver.update(CalendarAlerts.CONTENT_URI, values, 509 if (rows > 0) {
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
H A D | LauncherProvider.java | 397 ContentValues[] rows = new ContentValues[c.getCount()]; 416 rows[i++] = values; 422 int numValues = rows.length; 424 if (dbInsertAndCheck(this, db, TABLE_FAVORITES, null, rows[i]) < 0) {
|