/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/expected/ |
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 | 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 | 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/Camera/jni/feature_stab/db_vlvm/ |
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_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];
|
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/ |
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_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];
|
/packages/apps/Terminal/src/com/android/terminal/ |
H A D | Terminal.java | 128 public void resize(int rows, int cols, int scrollRows) { argument 129 if (nativeResize(mNativePtr, rows, cols, scrollRows) != 0) { 165 private static native long nativeInit(TerminalCallbacks callbacks, int rows, int cols); argument 169 private static native int nativeResize(long ptr, int rows, int cols, int scrollRows); argument
|
/packages/apps/Settings/src/com/android/settings/notification/ |
H A D | NotificationAppList.java | 403 public static void collectConfigActivities(PackageManager pm, ArrayMap<String, AppRow> rows) { argument 405 applyConfigActivities(pm, rows, resolveInfos); 408 public static void applyConfigActivities(PackageManager pm, ArrayMap<String, AppRow> rows, argument 415 final AppRow row = rows.get(appInfo.packageName); 477 // sort rows
|
/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) );
|
/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) );
|
/packages/apps/Terminal/jni/ |
H A D | com_android_terminal_Terminal.cpp | 112 Terminal(jobject callbacks, dimen_t rows, dimen_t cols); 123 status_t resize(dimen_t rows, dimen_t cols, dimen_t scrollRows); 269 Terminal::Terminal(jobject callbacks, dimen_t rows, dimen_t cols) : argument 270 mCallbacks(callbacks), mRows(rows), mCols(cols), mKilled(false), 279 mVt = vterm_new(rows, cols); 418 status_t Terminal::resize(dimen_t rows, dimen_t cols, dimen_t scrollRows) { argument 421 ALOGD("resize(%d, %d, %d)", rows, cols, scrollRows); 423 mRows = rows; 427 struct winsize size = { rows, cols, 0, 0 }; 430 vterm_set_size(mVt, rows, col 553 com_android_terminal_Terminal_nativeInit(JNIEnv* env, jclass clazz, jobject callbacks, jint rows, jint cols) argument 569 com_android_terminal_Terminal_nativeResize(JNIEnv* env, jclass clazz, jlong ptr, jint rows, jint cols, jint scrollRows) argument [all...] |
/packages/apps/Exchange/src/com/android/exchange/adapter/ |
H A D | ContactsSyncParser.java | 350 // We've been removing rows from the list as they've been found in the xml 354 // These rows need to be deleted... 463 * Changes are handled row by row, and only changed/new rows are acted upon 477 // TODO Handle deleted individual rows... 773 * RowBuilder is a wrapper for the Builder class that is used to create/update rows for a 898 // If we've found an existing data row, we'll delete it. Any rows left at the 941 // If we've found an existing data row, we'll delete it. Any rows left at the 1221 * We now are dealing with up to maxRows typeless rows of mimeType data. We need to try to 1222 * match them with existing rows; if there's a match, everything's great. Otherwise, we 1226 public void addUntyped(Entity entity, ArrayList<UntypedRow> rows, Strin argument [all...] |