/frameworks/base/core/java/android/text/ |
H A D | PackedObjectVector.java | 32 PackedObjectVector(int columns) argument 34 mColumns = columns;
|
H A D | PackedIntVector.java | 41 * @param columns the width of the PackedIntVector. 43 public PackedIntVector(int columns) { argument 44 mColumns = columns; 51 mValueGap = new int[2 * columns]; 67 final int columns = mColumns; 69 if (((row | column) < 0) || (row >= size()) || (column >= columns)) { 77 int value = mValues[row * columns + column]; 81 value += valuegap[column + columns]; 243 * @return the number of columns. 254 final int columns [all...] |
/frameworks/base/core/java/com/android/internal/content/ |
H A D | SelectionBuilder.java | 99 public Cursor query(SQLiteDatabase db, String table, String[] columns, String orderBy) { argument 100 return query(db, table, columns, null, null, orderBy, null); 106 public Cursor query(SQLiteDatabase db, String table, String[] columns, String groupBy, argument 108 return db.query(table, columns, getSelection(), getSelectionArgs(), groupBy, having,
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
H A D | SimpleCursorAdapterTest.java | 48 * Set up basic columns and cursor for the tests 146 * array) but it's OK if the physical structure of the cursor changes (columns rearranged). 153 // check columns of original - mFrom and mTo should line up 154 int[] columns = ca.getConvertedFrom(); 155 assertEquals(columns[0], 0); 156 assertEquals(columns[1], 1); 158 // Now make a new cursor with similar data but rearrange the columns 164 // check columns to see if rearrangement tracked (should be swapped now) 165 columns = ca.getConvertedFrom(); 166 assertEquals(columns[ 240 createCursor(String[] columns, ArrayList<ArrayList> list) argument [all...] |
/frameworks/base/media/java/android/mtp/ |
H A D | MtpPropertyGroup.java | 59 // list of columns for database query 76 ArrayList<String> columns = new ArrayList<String>(count); 77 columns.add(Files.FileColumns._ID); 81 mProperties[i] = createProperty(properties[i], columns); 83 count = columns.size(); 86 mColumns[i] = columns.get(i); 90 private Property createProperty(int code, ArrayList<String> columns) { argument 181 columns.add(column); 182 return new Property(code, type, columns.size() - 1);
|
/frameworks/base/core/java/android/database/sqlite/ |
H A D | SQLiteQueryBuilder.java | 125 * column names. This is useful for renaming columns as well as 177 * @param columns A list of which columns to return. Passing null will 178 * return all columns, which is discouraged to prevent reading 199 boolean distinct, String tables, String[] columns, String where, 215 if (columns != null && columns.length != 0) { 216 appendColumns(query, columns); 239 * Add the names that are non-null in columns to s, separating 242 public static void appendColumns(StringBuilder s, String[] columns) { argument 198 buildQueryString( boolean distinct, String tables, String[] columns, String where, String groupBy, String having, String orderBy, String limit) argument [all...] |
H A D | SQLiteDatabase.java | 1376 * @param columns A list of which columns to return. Passing null will 1377 * return all columns, which is discouraged to prevent reading 1402 public Cursor query(boolean distinct, String table, String[] columns, argument 1405 return queryWithFactory(null, distinct, table, columns, selection, selectionArgs, 1415 * @param columns A list of which columns to return. Passing null will 1416 * return all columns, which is discouraged to prevent reading 1442 boolean distinct, String table, String[] columns, 1447 distinct, table, columns, selectio 1441 queryWithFactory(CursorFactory cursorFactory, boolean distinct, String table, String[] columns, String selection, String[] selectionArgs, String groupBy, String having, String orderBy, String limit) argument 1481 query(String table, String[] columns, String selection, String[] selectionArgs, String groupBy, String having, String orderBy) argument 1519 query(String table, String[] columns, String selection, String[] selectionArgs, String groupBy, String having, String orderBy, String limit) argument [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | PasswordEntryKeyboard.java | 83 CharSequence characters, int columns, int horizontalPadding) { 84 super(context, layoutTemplateResId, characters, columns, horizontalPadding); 82 PasswordEntryKeyboard(Context context, int layoutTemplateResId, CharSequence characters, int columns, int horizontalPadding) argument
|
/frameworks/base/core/java/android/widget/ |
H A D | TableLayout.java | 31 * <p>A layout that arranges its children into rows and columns. 35 * their rows, columns, or cells. Each row has zero or more cells; each cell can 36 * hold one {@link android.view.View View} object. The table has as many columns 38 * columns, as they can in HTML.</p> 41 * column. However, a TableLayout can specify certain columns as shrinkable or 69 * will be displayed as a single row that spans all the table columns.</p> 137 * <p>Parses a sequence of columns ids defined in a CharSequence with the 147 * @return a sparse array of boolean mapping column indexes to the columns 151 SparseBooleanArray columns = new SparseBooleanArray(); 158 // only valid, i.e. positive, columns indexe 572 mutateColumnsWidth(SparseBooleanArray columns, boolean allColumns, int size, int totalWidth) argument [all...] |
/frameworks/base/media/java/android/media/ |
H A D | RingtoneManager.java | 269 "Setting filter columns should be done before querying for ringtones."); 495 // DRM store does not have any columns to use for filtering 515 List<String> columns = mFilterColumns; 516 columns.clear(); 519 columns.add(MediaStore.Audio.AudioColumns.IS_RINGTONE); 523 columns.add(MediaStore.Audio.AudioColumns.IS_NOTIFICATION); 527 columns.add(MediaStore.Audio.AudioColumns.IS_ALARM); 536 * @param columns The columns that must be true. 539 private static String constructBooleanTrueWhereClause(List<String> columns, boolea argument [all...] |
/frameworks/base/core/java/android/inputmethodservice/ |
H A D | Keyboard.java | 561 * characters in left-to-right, top-to-bottom fashion, using the specified number of columns. 563 * <p>If the specified number of columns is -1, then the keyboard will fit as many keys as 569 * @param columns the number of columns of keys to display. If this number is greater than the 574 CharSequence characters, int columns, int horizontalPadding) { 587 final int maxColumns = columns == -1 ? Integer.MAX_VALUE : columns; 573 Keyboard(Context context, int layoutTemplateResId, CharSequence characters, int columns, int horizontalPadding) argument
|