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

/frameworks/base/core/tests/coretests/src/android/widget/focus/
H A DLinearLayoutGrid.java39 public Button getButtonAt(int column, int row) { argument
43 if (column < 0 || column > 2) {
44 throw new IllegalArgumentException("column out of range");
46 return (Button) getColumn(column).getChildAt(row);
51 private LinearLayout getColumn(int column) { argument
52 switch (column) {
60 throw new IllegalArgumentException("column out of range");
/frameworks/base/core/java/android/text/
H A DPackedIntVector.java25 * offsetting the values in segments of a given column.
55 * Returns the value at the specified row and column.
58 * @param column the index of the column to return.
63 * (row &lt; 0 || row >= size()) or the column is out of range
64 * (column &lt; 0 || column >= width()).
66 public int getValue(int row, int column) { argument
69 if (((row | column) < 0) || (row >= size()) || (column >
97 setValue(int row, int column, int value) argument
122 setValueInternal(int row, int column, int value) argument
148 adjustValuesBelow(int startRow, int column, int delta) argument
290 moveValueGapTo(int column, int where) argument
[all...]
H A DPackedObjectVector.java44 getValue(int row, int column) argument
49 Object value = mValues[row * mColumns + column];
55 setValue(int row, int column, E value) argument
60 mValues[row * mColumns + column] = value;
/frameworks/base/core/java/android/util/
H A DMonthDisplayHelper.java122 for (int column = 0; column < 7; column++) {
123 result[column] = getDayAt(row, column);
131 * @param column The column, 0-6, starting from the left.
132 * @return The day at a particular row, column
134 public int getDayAt(int row, int column) { argument
136 if (row == 0 && column < mOffse
179 isWithinCurrentMonth(int row, int column) argument
[all...]
H A DDayOfMonthCursor.java24 * <li>Keeps track of current cursor position (row, column)</li>
91 public boolean isSelected(int row, int column) { argument
92 return (mRow == row) && (mColumn == column);
106 // flip back to previous month, same column, first position within month
126 // flip to next month, same column, first position within month
/frameworks/base/core/java/android/database/
H A DMatrixCursor.java37 * determines column ordering elsewhere in this cursor
55 * determines column ordering elsewhere in this cursor
62 * Gets value at the given column for the current row.
64 private Object get(int column) { argument
65 if (column < 0 || column >= columnCount) {
66 throw new CursorIndexOutOfBoundsException("Requested column: "
67 + column + ", # of columns: " + columnCount);
75 return data[mPos * columnCount + column];
82 * @return builder which can be used to set the column value
228 getString(int column) argument
235 getShort(int column) argument
243 getInt(int column) argument
251 getLong(int column) argument
259 getFloat(int column) argument
267 getDouble(int column) argument
275 isNull(int column) argument
[all...]
H A DMergeCursor.java122 public String getString(int column) argument
124 return mCursor.getString(column);
128 public short getShort(int column) argument
130 return mCursor.getShort(column);
134 public int getInt(int column) argument
136 return mCursor.getInt(column);
140 public long getLong(int column) argument
142 return mCursor.getLong(column);
146 public float getFloat(int column) argument
148 return mCursor.getFloat(column);
152 getDouble(int column) argument
158 isNull(int column) argument
164 getBlob(int column) argument
[all...]
H A DDatabaseUtils.java406 // assume that if the getString threw this exception then the column is not
430 // assume that if the getString threw this exception then the column is not
619 * first column of the first row.
632 * first column of the first row.
647 * first column of the first row.
660 * first column of the first row.
674 * Reads a String out of a column in a Cursor and writes it to a ContentValues.
675 * Adds nothing to the ContentValues if the column isn't present or if its value is null.
678 * @param column The column t
681 cursorStringToContentValuesIfPresent(Cursor cursor, ContentValues values, String column) argument
697 cursorLongToContentValuesIfPresent(Cursor cursor, ContentValues values, String column) argument
713 cursorShortToContentValuesIfPresent(Cursor cursor, ContentValues values, String column) argument
729 cursorIntToContentValuesIfPresent(Cursor cursor, ContentValues values, String column) argument
745 cursorFloatToContentValuesIfPresent(Cursor cursor, ContentValues values, String column) argument
761 cursorDoubleToContentValuesIfPresent(Cursor cursor, ContentValues values, String column) argument
[all...]
H A DAbstractCursor.java51 abstract public String getString(int column); argument
52 abstract public short getShort(int column); argument
53 abstract public int getInt(int column); argument
54 abstract public long getLong(int column); argument
55 abstract public float getFloat(int column); argument
56 abstract public double getDouble(int column); argument
57 abstract public boolean isNull(int column); argument
60 public byte[] getBlob(int column) { argument
291 Log.e(TAG, "requesting column name with table name -- " + columnName, e);
305 Log.w("AbstractCursor", "Unknown column "
[all...]
/frameworks/base/core/java/com/android/internal/database/
H A DSortCursor.java203 public String getString(int column) argument
205 return mCursor.getString(column);
209 public short getShort(int column) argument
211 return mCursor.getShort(column);
215 public int getInt(int column) argument
217 return mCursor.getInt(column);
221 public long getLong(int column) argument
223 return mCursor.getLong(column);
227 public float getFloat(int column) argument
229 return mCursor.getFloat(column);
233 getDouble(int column) argument
239 isNull(int column) argument
245 getBlob(int column) argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_database_CursorWindow.cpp132 static void throwExceptionWithRowCol(JNIEnv * env, jint row, jint column) argument
135 snprintf(buf, sizeof(buf), "get field slot from row %d col %d failed", row, column);
146 static jlong getLong_native(JNIEnv * env, jobject object, jint row, jint column) argument
150 LOG_WINDOW("Getting long for %d,%d from %p", row, column, window);
153 err = window->read_field_slot(row, column, &field);
155 throwExceptionWithRowCol(env, row, column);
162 if (window->getLong(row, column, &value)) {
181 if (window->getDouble(row, column, &value)) {
196 static jbyteArray getBlob_native(JNIEnv* env, jobject object, jint row, jint column) argument
200 LOG_WINDOW("Getting blob for %d,%d from %p", row, column, windo
228 isBlob_native(JNIEnv* env, jobject object, jint row, jint column) argument
244 isString_native(JNIEnv* env, jobject object, jint row, jint column) argument
260 isInteger_native(JNIEnv* env, jobject object, jint row, jint column) argument
276 isFloat_native(JNIEnv* env, jobject object, jint row, jint column) argument
292 getString_native(JNIEnv* env, jobject object, jint row, jint column) argument
364 copyStringToBuffer_native(JNIEnv* env, jobject object, jint row, jint column, jint bufferSize, jobject buf) argument
440 getDouble_native(JNIEnv* env, jobject object, jint row, jint column) argument
490 isNull_native(JNIEnv* env, jobject object, jint row, jint column) argument
[all...]
H A DCursorWindow.cpp222 field_slot_t * CursorWindow::getFieldSlotWithCheck(int row, int column) argument
224 if (row < 0 || row >= mHeader->numRows || column < 0 || column >= mHeader->numColumns) {
225 LOGE("Bad request for field slot %d,%d. numRows = %d, numColumns = %d", row, column, mHeader->numRows, mHeader->numColumns);
238 return ((field_slot_t *)offsetToPtr(fieldDirOffset)) + column;
241 uint32_t CursorWindow::read_field_slot(int row, int column, field_slot_t * slotOut) argument
243 if (row < 0 || row >= mHeader->numRows || column < 0 || column >= mHeader->numColumns) {
244 LOGE("Bad request for field slot %d,%d. numRows = %d, numColumns = %d", row, column, mHeader->numRows, mHeader->numColumns);
256 LOG_WINDOW("Found field directory for %d,%d at rowSlot %d, offset %d", row, column, (uint8_
[all...]
H A DCursorWindow.h96 * field_slot_t per column, which has the size, offset, and type of the data for that field.
149 uint32_t read_field_slot(int row, int column, field_slot_t * slot);
180 field_slot_t * getFieldSlotWithCheck(int row, int column);
181 field_slot_t * getFieldSlot(int row, int column) argument
184 return ((field_slot_t *)offsetToPtr(fieldDirOffset)) + column;
/frameworks/base/core/java/android/app/
H A DDownloadManager.java120 * column's value is undefined.
621 * @param column one of the COLUMN_* constants; currently, only
628 public Query orderBy(String column, int direction) { argument
633 if (column.equals(COLUMN_LAST_MODIFIED_TIMESTAMP)) {
635 } else if (column.equals(COLUMN_TOTAL_SIZE_BYTES)) {
638 throw new IllegalArgumentException("Cannot order by " + column);
901 throw new IllegalArgumentException("No such column: " + columnName);
910 throw new IllegalArgumentException("Invalid column index " + columnIndex + ", "
938 private boolean isLongColumn(String column) { argument
939 return LONG_COLUMNS.contains(column);
967 translateString(String column) argument
1012 translateLong(String column) argument
1104 getUnderlyingLong(String column) argument
1108 getUnderlyingString(String column) argument
[all...]
H A DSearchDialog.java1052 // launch suggestion using action key column
1282 * by the specific row/column, also check for a single definition (for the action key).
1292 final String column = actionKey.getSuggestActionMsgColumn();
1293 if (column != null) {
1294 result = SuggestionsAdapter.getColumnString(c, column);
/frameworks/base/core/java/com/android/internal/widget/
H A DLockPatternView.java138 int column; field in class:LockPatternView.Cell
152 * @param column The column of the cell.
154 private Cell(int row, int column) { argument
155 checkRange(row, column);
157 this.column = column;
165 return column;
170 * @param column The column o
172 of(int row, int column) argument
177 checkRange(int row, int column) argument
772 getCenterXForColumn(int column) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DTableRow.java93 * <p>Collapses or restores a given column.</p>
95 * @param columnIndex the index of the column
96 * @param collapsed true if the column must be collapsed, false otherwise
164 if (layoutParams.column >= virtualCount) {
165 virtualCount = layoutParams.column;
242 // fail silently when column widths are not available
281 * column, in this row
327 * on each child (or cell, or column.)</p>
329 * @param columnWidths the fixed width of each column that this row must
388 * <p>The column inde
391 public int column; field in class:TableRow.LayoutParams
468 LayoutParams(int column) argument
[all...]
H A DTableLayout.java40 * <p>The width of a column is defined by the row with the widest cell in that
41 * column. However, a TableLayout can specify certain columns as shrinkable or
45 * marked as shrinkable, the column width can be shrunk to fit the table into
48 * container. It is important to remember that a column can be both shrinkable
49 * and stretchable. In such a situation, the column will change its size to
51 * column by calling
61 * <p> Cells must be added to a row in increasing column order, both in code and
62 * XML. Column numbers are zero-based. If you don't specify a column number for
63 * a child cell, it will autoincrement to the next available column. If you skip
64 * a column numbe
[all...]
H A DGridView.java1003 animationParams.column = index % mNumColumns;
1008 animationParams.column = mNumColumns - 1 - (invertedIndex % mNumColumns);
1756 * @param columnWidth The column width, in pixels.
/frameworks/base/core/java/android/view/animation/
H A DGridLayoutAnimationController.java148 * @param columnDelay the delay by which each column animation must be offset
159 * column to the other. The delay is expressed as a fraction of the
174 * children's animations are offset from one column to the other.
272 * will first play on the column, then on the rows.Z
305 final int column = getTransformedColumnIndex(params);
324 viewDelay = (long) (row * rowDelay + column * rowsCount * rowDelay);
328 viewDelay = (long) (column * columnDelay + row * columnsCount * columnDelay);
333 viewDelay = (long) (column * columnDelay + row * rowDelay);
348 index = params.columnsCount - 1 - params.column;
358 index = params.column;
407 public int column; field in class:GridLayoutAnimationController.AnimationParameters
[all...]
/frameworks/base/core/java/android/database/sqlite/
H A DSQLiteQueryBuilder.java124 * from column names that the caller passes into query to database
125 * column names. This is useful for renaming columns as well as
126 * disambiguating column names when doing joins. For example you
128 * it must contain all column names the user may request, even if
131 * @param columnMap maps from the user column names to the database column names
235 String column = columns[i];
237 if (column != null) {
241 s.append(column);
401 * @param typeDiscriminatorColumn the name of the result column
[all...]
/frameworks/base/core/java/android/inputmethodservice/
H A DKeyboard.java550 int column = 0;
562 if (column >= maxColumns
566 column = 0;
573 column++;
/frameworks/base/core/tests/coretests/src/android/app/
H A DDownloadManagerBaseTest.java456 protected void logDBColumnData(Cursor cursor, String column) { argument
457 int index = cursor.getColumnIndex(column);
458 Log.i(LOG_TAG, "columnName: " + column);
946 * @param columnName The name of the column to query
959 * @param columnName The name of the column to query
/frameworks/base/tools/preload/
H A Dsorttable.js77 // work through each column and calculate its type
95 // if we're already sorted by this column, just
108 // if we're already sorted by this column in reverse, just
166 guessType: function(table, column) {
167 // guess the type of a column based on its first non-blank row
170 text = sorttable.getInnerText(table.tBodies[0].rows[i].cells[column]);
/frameworks/base/core/java/android/provider/
H A DMediaStore.java355 String column = isVideo ? "video_id=" : "image_id=";
358 c = cr.query(baseUri, PROJECTION, column + origId, null, null);
488 * is automatically computed from the DATA column.
495 * is automatically computed from the DATA column.
1471 * This column is available when getting album info via artist,
1650 * is automatically computed from the DATA column.
1657 * is automatically computed from the DATA column.

Completed in 330 milliseconds