/frameworks/base/core/java/android/text/ |
D | PackedIntVector.java | 43 public PackedIntVector(int columns) { in PackedIntVector() argument 44 mColumns = columns; in PackedIntVector() 51 mValueGap = new int[2 * columns]; in PackedIntVector() 67 final int columns = mColumns; in getValue() local 69 if (((row | column) < 0) || (row >= size()) || (column >= columns)) { in getValue() 77 int value = mValues[row * columns + column]; in getValue() 81 value += valuegap[column + columns]; in getValue() 254 final int columns = mColumns; in growBuffer() local 256 newsize = ArrayUtils.idealIntArraySize(newsize * columns) / columns; in growBuffer() 257 int[] newvalues = new int[newsize * columns]; in growBuffer() [all …]
|
D | PackedObjectVector.java | 32 PackedObjectVector(int columns) in PackedObjectVector() argument 34 mColumns = columns; in PackedObjectVector()
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
D | SimpleCursorAdapterTest.java | 153 int[] columns = ca.getConvertedFrom(); in testChangeCursorColumns() local 154 assertEquals(columns[0], 0); in testChangeCursorColumns() 155 assertEquals(columns[1], 1); in testChangeCursorColumns() 164 columns = ca.getConvertedFrom(); in testChangeCursorColumns() 165 assertEquals(columns[0], 1); in testChangeCursorColumns() 166 assertEquals(columns[1], 0); in testChangeCursorColumns() 192 int[] columns = ca.getConvertedFrom(); in testChangeNullToMapped() local 193 assertEquals(2, columns.length); in testChangeNullToMapped() 194 assertEquals(0, columns[0]); in testChangeNullToMapped() 195 assertEquals(1, columns[1]); in testChangeNullToMapped() [all …]
|
/frameworks/base/core/java/com/android/internal/content/ |
D | SelectionBuilder.java | 99 public Cursor query(SQLiteDatabase db, String table, String[] columns, String orderBy) { in query() argument 100 return query(db, table, columns, null, null, orderBy, null); in query() 106 public Cursor query(SQLiteDatabase db, String table, String[] columns, String groupBy, in query() argument 108 return db.query(table, columns, getSelection(), getSelectionArgs(), groupBy, having, in query()
|
/frameworks/base/media/java/android/media/ |
D | RingtoneManager.java | 515 List<String> columns = mFilterColumns; in setFilterColumnsList() local 516 columns.clear(); in setFilterColumnsList() 519 columns.add(MediaStore.Audio.AudioColumns.IS_RINGTONE); in setFilterColumnsList() 523 columns.add(MediaStore.Audio.AudioColumns.IS_NOTIFICATION); in setFilterColumnsList() 527 columns.add(MediaStore.Audio.AudioColumns.IS_ALARM); in setFilterColumnsList() 539 private static String constructBooleanTrueWhereClause(List<String> columns) { in constructBooleanTrueWhereClause() argument 541 if (columns == null) return null; in constructBooleanTrueWhereClause() 544 for (int i = columns.size() - 1; i >= 0; i--) { in constructBooleanTrueWhereClause() 545 sb.append(columns.get(i)).append("=1 or "); in constructBooleanTrueWhereClause() 548 if (columns.size() > 0) { in constructBooleanTrueWhereClause()
|
/frameworks/base/core/java/android/widget/ |
D | TableLayout.java | 151 SparseBooleanArray columns = new SparseBooleanArray(); in parseColumns() local 162 columns.put(columnIndex, true); in parseColumns() 169 return columns; in parseColumns() 572 private void mutateColumnsWidth(SparseBooleanArray columns, in mutateColumnsWidth() argument 577 final int count = allColumns ? length : columns.size(); in mutateColumnsWidth() 593 int column = columns.keyAt(i); in mutateColumnsWidth() 594 if (columns.valueAt(i)) { in mutateColumnsWidth() 615 int column = columns.keyAt(i); in mutateColumnsWidth() 616 if (columns.valueAt(i) && column < length) { in mutateColumnsWidth()
|
/frameworks/base/core/java/android/database/sqlite/ |
D | SQLiteQueryBuilder.java | 181 boolean distinct, String tables, String[] columns, String where, in buildQueryString() argument 197 if (columns != null && columns.length != 0) { in buildQueryString() 198 appendColumns(query, columns); in buildQueryString() 231 public static void appendColumns(StringBuilder s, String[] columns) { in appendColumns() argument 232 int n = columns.length; in appendColumns() 235 String column = columns[i]; in appendColumns()
|
D | SQLiteCursor.java | 300 String[] columns = mColumns; in getColumnIndex() local 301 int columnCount = columns.length; in getColumnIndex() 304 map.put(columns[i], i); in getColumnIndex()
|
D | SQLiteDatabase.java | 1186 public Cursor query(boolean distinct, String table, String[] columns, in query() argument 1189 return queryWithFactory(null, distinct, table, columns, selection, selectionArgs, in query() 1226 boolean distinct, String table, String[] columns, in queryWithFactory() argument 1233 distinct, table, columns, selection, groupBy, having, orderBy, limit); in queryWithFactory() 1267 public Cursor query(String table, String[] columns, String selection, in query() argument 1271 return query(false, table, columns, selection, selectionArgs, groupBy, in query() 1305 public Cursor query(String table, String[] columns, String selection, in query() argument 1309 return query(false, table, columns, selection, selectionArgs, groupBy, in query()
|
/frameworks/base/core/java/android/database/ |
D | CursorJoiner.java | 109 int[] columns = new int[columnNames.length]; in buildColumnIndiciesArray() local 111 columns[i] = cursor.getColumnIndexOrThrow(columnNames[i]); in buildColumnIndiciesArray() 113 return columns; in buildColumnIndiciesArray()
|
D | DatabaseUtils.java | 589 String[] columns = cursor.getColumnNames(); in cursorRowToContentValues() local 590 int length = columns.length; in cursorRowToContentValues() 593 values.put(columns[i], cursor.getBlob(i)); in cursorRowToContentValues() 595 values.put(columns[i], cursor.getString(i)); in cursorRowToContentValues()
|
/frameworks/base/docs/html/sdk/ |
D | android-2.2-highlights.jd | 20 #jd-content table.columns { 23 #jd-content table.columns td { 26 #jd-content table.columns td+td { 29 #jd-content table.columns td img { 32 #jd-content table.columns td+td>*:first-child { 71 <table class="columns" style="max-width:800px"> 91 <table class="columns" style="max-width:800px"> 114 <table class="columns" style="max-width:800px"> 134 <table class="columns" style="max-width:800px"> 152 <table class="columns" style="max-width:800px"> [all …]
|
D | android-2.3-highlights.jd | 20 #jd-content table.columns { 23 #jd-content table.columns td { 26 #jd-content table.columns td+td { 29 #jd-content table.columns td img { 32 #jd-content table.columns td+td>*:first-child {
|
D | android-3.0-highlights.jd | 20 #jd-content table.columns { 23 #jd-content table.columns td { 26 #jd-content table.columns td+td { 29 #jd-content table.columns td img { 32 #jd-content table.columns td+td>*:first-child {
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | PasswordEntryKeyboard.java | 86 CharSequence characters, int columns, int horizontalPadding) { in PasswordEntryKeyboard() argument 87 super(context, layoutTemplateResId, characters, columns, horizontalPadding); in PasswordEntryKeyboard()
|
/frameworks/base/docs/html/guide/topics/ui/ |
D | layout-objects.jd | 93 and columns. TableLayout containers do not display border lines for their rows, columns, 94 or cells. The table will have as many columns as the row with the most cells. A table can leave 95 cells empty, but cells cannot span columns, as they can in HTML.</p> 104 <table class="columns"> 161 <table class="columns"> 236 <td>Displays a scrolling grid of m columns and n rows.</td> 277 <td>A tabular layout with an arbitrary number of rows and columns, each cell
|
/frameworks/base/core/java/android/webkit/ |
D | WebViewDatabase.java | 430 final String[] columns = new String[] { in getCookiesForDomain() local 440 columns, selection, new String[] { domain }, null, null, in getCookiesForDomain() 863 final String[] columns = new String[] { in getUsernamePassword() local 872 columns, selection, new String[] { schemePlusHost }, null, in getUsernamePassword() 959 final String[] columns = new String[] { in getHttpAuthUsernamePassword() local 969 columns, selection, new String[] { host, realm }, null, in getHttpAuthUsernamePassword()
|
/frameworks/base/core/java/android/inputmethodservice/ |
D | Keyboard.java | 546 CharSequence characters, int columns, int horizontalPadding) { in Keyboard() argument 559 final int maxColumns = columns == -1 ? Integer.MAX_VALUE : columns; in Keyboard()
|
/frameworks/base/docs/html/guide/topics/providers/ |
D | content-providers.jd | 274 <li>The names of the data columns that should be returned. A {@code null} 275 value returns all columns. Otherwise, only columns that are listed by name 277 constants for their columns. For example, the 279 defines constants for the names of the columns in the phone table illustrated 304 // Form an array specifying which columns to return. 317 projection, // Which columns to return 332 The constants for the names of the columns are defined in various interfaces 346 columns, their default order, and their data types are specific to each 624 method with the columns and values to change. 747 the columns in queries and other instructions.
|
/frameworks/base/docs/html/guide/tutorials/views/ |
D | hello-tablelayout.jd | 7 will lay child View elements into rows and columns.</p>
|
/frameworks/base/docs/html/resources/tutorials/views/ |
D | hello-tablelayout.jd | 8 displays child {@link android.view.View} elements in rows and columns.</p>
|
/frameworks/base/docs/html/guide/topics/search/ |
D | adding-custom-suggestions.jd | 91 suggestions and format the table with required columns.</li> 158 the {@link android.database.Cursor} must include specific columns that the Search Manager 175 <dd>How to define the columns that the Search Manager expects in the {@link 319 columns required by the 330 Search Manager expects specific columns in each row. So, regardless of whether you 335 Manager understands several columns, but only two are required:</p> 345 <p>The following columns are all optional (and most are discussed further in the following 409 <p>Some of these columns are discussed more in the following sections.</p> 702 same columns as the original suggestion, or be empty, indicating that the shortcut is no
|
/frameworks/base/docs/html/resources/articles/ |
D | live-folders.jd | 99 least two columns named <code>LiveFolders._ID</code> and 116 can be used to "rename" columns. In our case, we will replace
|
/frameworks/base/docs/html/resources/tutorials/notepad/ |
D | notepad-ex1.jd | 115 The next is the list of columns we want returned, in this case we want the <code>_id</code>, 116 <code>title</code> and <code>body</code> columns so these are specified in the String array. 503 with the list of columns to map <em>from</em> (just "title" in this case, from the constant 536 to which we'd like to bind the columns (these should be in order, respective to 546 …In the future, remember that the mapping between the <strong>from</strong> columns and <strong>to<… 547 is done using the respective ordering of the two arrays. If we had more columns we wanted
|
/frameworks/base/docs/html/guide/tutorials/notepad/ |
D | notepad-ex1.jd | 115 The next is the list of columns we want returned, in this case we want the <code>_id</code>, 116 <code>title</code> and <code>body</code> columns so these are specified in the String array. 503 with the list of columns to map <em>from</em> (just "title" in this case, from the constant 536 to which we'd like to bind the columns (these should be in order, respective to 546 …In the future, remember that the mapping between the <strong>from</strong> columns and <strong>to<… 547 is done using the respective ordering of the two arrays. If we had more columns we wanted
|