Searched defs:column (Results 1 - 24 of 24) 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 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;
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...]
/frameworks/base/core/java/android/util/
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
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...]
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DFilteringCursorWrapper.java98 public double getDouble(int column) { argument
99 return mCursor.getDouble(column);
103 public float getFloat(int column) { argument
104 return mCursor.getFloat(column);
108 public int getInt(int column) { argument
109 return mCursor.getInt(column);
113 public long getLong(int column) { argument
114 return mCursor.getLong(column);
118 public short getShort(int column) { argument
119 return mCursor.getShort(column);
123 getString(int column) argument
128 getType(int column) argument
133 isNull(int column) argument
[all...]
H A DRootCursorWrapper.java93 public double getDouble(int column) { argument
94 return mCursor.getDouble(column);
98 public float getFloat(int column) { argument
99 return mCursor.getFloat(column);
103 public int getInt(int column) { argument
104 return mCursor.getInt(column);
108 public long getLong(int column) { argument
109 return mCursor.getLong(column);
113 public short getShort(int column) { argument
114 return mCursor.getShort(column);
118 getString(int column) argument
129 getType(int column) argument
134 isNull(int column) argument
[all...]
H A DSortingCursorWrapper.java126 public double getDouble(int column) { argument
127 return mCursor.getDouble(column);
131 public float getFloat(int column) { argument
132 return mCursor.getFloat(column);
136 public int getInt(int column) { argument
137 return mCursor.getInt(column);
141 public long getLong(int column) { argument
142 return mCursor.getLong(column);
146 public short getShort(int column) { argument
147 return mCursor.getShort(column);
151 getString(int column) argument
156 getType(int column) argument
161 isNull(int column) argument
[all...]
/frameworks/ex/common/java/com/android/common/content/
H A DProjectionMap.java32 public Builder add(String column) { argument
33 mMap.putColumn(column, column);
43 for (String column : columns) {
44 add(column);
73 * Returns a sorted array of all column names in the projection map.
79 private void putColumn(String alias, String column) { argument
80 super.put(alias, column);
/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
253 getString(int column) argument
260 getShort(int column) argument
268 getInt(int column) argument
276 getLong(int column) argument
284 getFloat(int column) argument
292 getDouble(int column) argument
300 getBlob(int column) argument
306 getType(int column) argument
311 isNull(int column) argument
[all...]
H A DMergeCursor.java96 public String getString(int column) argument
98 return mCursor.getString(column);
102 public short getShort(int column) argument
104 return mCursor.getShort(column);
108 public int getInt(int column) argument
110 return mCursor.getInt(column);
114 public long getLong(int column) argument
116 return mCursor.getLong(column);
120 public float getFloat(int column) argument
122 return mCursor.getFloat(column);
126 getDouble(int column) argument
132 getType(int column) argument
137 isNull(int column) argument
143 getBlob(int column) argument
[all...]
H A DAbstractCursor.java46 * This must be set to the index of the row ID column by any
56 * the column at {@link #mRowIdColumnIndex} for the current row this cursor is
83 abstract public String getString(int column); argument
84 abstract public short getShort(int column); argument
85 abstract public int getInt(int column); argument
86 abstract public long getLong(int column); argument
87 abstract public float getFloat(int column); argument
88 abstract public double getDouble(int column); argument
89 abstract public boolean isNull(int column); argument
91 public int getType(int column) { argument
99 getBlob(int column) argument
[all...]
H A DCursorWindow.java74 private static native int nativeGetType(int windowPtr, int row, int column); argument
75 private static native byte[] nativeGetBlob(int windowPtr, int row, int column); argument
76 private static native String nativeGetString(int windowPtr, int row, int column); argument
77 private static native long nativeGetLong(int windowPtr, int row, int column); argument
78 private static native double nativeGetDouble(int windowPtr, int row, int column); argument
79 private static native void nativeCopyStringToBuffer(int windowPtr, int row, int column, argument
82 private static native boolean nativePutBlob(int windowPtr, byte[] value, int row, int column); argument
83 private static native boolean nativePutString(int windowPtr, String value, int row, int column); argument
84 private static native boolean nativePutLong(int windowPtr, long value, int row, int column); argument
85 private static native boolean nativePutDouble(int windowPtr, double value, int row, int column); argument
86 nativePutNull(int windowPtr, int row, int column) argument
285 isNull(int row, int column) argument
300 isBlob(int row, int column) argument
315 isLong(int row, int column) argument
329 isFloat(int row, int column) argument
344 isString(int row, int column) argument
366 getType(int row, int column) argument
396 getBlob(int row, int column) argument
431 getString(int row, int column) argument
470 copyStringToBuffer(int row, int column, CharArrayBuffer buffer) argument
504 getLong(int row, int column) argument
536 getDouble(int row, int column) argument
557 getShort(int row, int column) argument
573 getInt(int row, int column) argument
589 getFloat(int row, int column) argument
601 putBlob(byte[] value, int row, int column) argument
618 putString(String value, int row, int column) argument
635 putLong(long value, int row, int column) argument
653 putDouble(double value, int row, int column) argument
669 putNull(int row, int column) argument
[all...]
H A DDatabaseUtils.java531 // assume that if the getString threw this exception then the column is not
555 // assume that if the getString threw this exception then the column is not
808 * first column of the first row.
821 * first column of the first row.
830 * first column of the first row.
843 * first column of the first row.
852 * first column of the first row.
868 * first column of the first row.
879 * Reads a String out of a column in a Cursor and writes it to a ContentValues.
880 * Adds nothing to the ContentValues if the column is
886 cursorStringToContentValuesIfPresent(Cursor cursor, ContentValues values, String column) argument
902 cursorLongToContentValuesIfPresent(Cursor cursor, ContentValues values, String column) argument
918 cursorShortToContentValuesIfPresent(Cursor cursor, ContentValues values, String column) argument
934 cursorIntToContentValuesIfPresent(Cursor cursor, ContentValues values, String column) argument
950 cursorFloatToContentValuesIfPresent(Cursor cursor, ContentValues values, String column) argument
966 cursorDoubleToContentValuesIfPresent(Cursor cursor, ContentValues values, String column) argument
[all...]
/frameworks/base/core/java/com/android/internal/database/
H A DSortCursor.java185 public String getString(int column) argument
187 return mCursor.getString(column);
191 public short getShort(int column) argument
193 return mCursor.getShort(column);
197 public int getInt(int column) argument
199 return mCursor.getInt(column);
203 public long getLong(int column) argument
205 return mCursor.getLong(column);
209 public float getFloat(int column) argument
211 return mCursor.getFloat(column);
215 getDouble(int column) argument
221 getType(int column) argument
226 isNull(int column) argument
232 getBlob(int column) argument
[all...]
/frameworks/base/media/java/android/mtp/
H A DMtpPropertyGroup.java41 // column index for our query
42 int column; field in class:MtpPropertyGroup.Property
44 Property(int code, int type, int column) { argument
47 this.column = column;
93 String column = null;
98 column = Files.FileColumns.STORAGE_ID;
102 column = Files.FileColumns.FORMAT;
110 column = Files.FileColumns.SIZE;
114 column
190 queryString(int id, String column) argument
211 queryAudio(int id, String column) argument
253 queryLong(int id, String column) argument
[all...]
/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/libs/androidfw/
H A DCursorWindow.cpp257 CursorWindow::FieldSlot* CursorWindow::getFieldSlot(uint32_t row, uint32_t column) { argument
258 if (row >= mHeader->numRows || column >= mHeader->numColumns) {
259 ALOGE("Failed to read row %d, column %d from a CursorWindow which "
261 row, column, mHeader->numRows, mHeader->numColumns);
270 return &fieldDir[column];
273 status_t CursorWindow::putBlob(uint32_t row, uint32_t column, const void* value, size_t size) { argument
274 return putBlobOrString(row, column, value, size, FIELD_TYPE_BLOB);
277 status_t CursorWindow::putString(uint32_t row, uint32_t column, const char* value, argument
279 return putBlobOrString(row, column, value, sizeIncludingNull, FIELD_TYPE_STRING);
282 status_t CursorWindow::putBlobOrString(uint32_t row, uint32_t column, argument
306 putLong(uint32_t row, uint32_t column, int64_t value) argument
321 putDouble(uint32_t row, uint32_t column, double value) argument
336 putNull(uint32_t row, uint32_t column) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DTableRow.java95 * <p>Collapses or restores a given column.</p>
97 * @param columnIndex the index of the column
98 * @param collapsed true if the column must be collapsed, false otherwise
166 if (layoutParams.column >= virtualCount) {
167 virtualCount = layoutParams.column;
246 // fail silently when column widths are not available
285 * column, in this row
331 * on each child (or cell, or column.)</p>
333 * @param columnWidths the fixed width of each column that this row must
404 * <p>The column inde
407 public int column; field in class:TableRow.LayoutParams
484 LayoutParams(int column) argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_database_CursorWindow.cpp47 static void throwExceptionWithRowCol(JNIEnv* env, jint row, jint column) { argument
51 row, column);
153 jint row, jint column) {
155 LOG_WINDOW("returning column type affinity for %d,%d from %p", row, column, window);
157 CursorWindow::FieldSlot* fieldSlot = window->getFieldSlot(row, column);
161 //throwExceptionWithRowCol(env, row, column);
168 jint row, jint column) {
170 LOG_WINDOW("Getting blob for %d,%d from %p", row, column, window);
172 CursorWindow::FieldSlot* fieldSlot = window->getFieldSlot(row, column);
152 nativeGetType(JNIEnv* env, jclass clazz, jint windowPtr, jint row, jint column) argument
167 nativeGetBlob(JNIEnv* env, jclass clazz, jint windowPtr, jint row, jint column) argument
202 nativeGetString(JNIEnv* env, jclass clazz, jint windowPtr, jint row, jint column) argument
294 nativeCopyStringToBuffer(JNIEnv* env, jclass clazz, jint windowPtr, jint row, jint column, jobject bufferObj) argument
333 nativeGetLong(JNIEnv* env, jclass clazz, jint windowPtr, jint row, jint column) argument
364 nativeGetDouble(JNIEnv* env, jclass clazz, jint windowPtr, jint row, jint column) argument
395 nativePutBlob(JNIEnv* env, jclass clazz, jint windowPtr, jbyteArray valueObj, jint row, jint column) argument
413 nativePutString(JNIEnv* env, jclass clazz, jint windowPtr, jstring valueObj, jint row, jint column) argument
435 nativePutLong(JNIEnv* env, jclass clazz, jint windowPtr, jlong value, jint row, jint column) argument
449 nativePutDouble(JNIEnv* env, jclass clazz, jint windowPtr, jdouble value, jint row, jint column) argument
463 nativePutNull(JNIEnv* env, jclass clazz, jint windowPtr, jint row, jint column) argument
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DLockPatternView.java136 int column; field in class:LockPatternView.Cell
150 * @param column The column of the cell.
152 private Cell(int row, int column) { argument
153 checkRange(row, column);
155 this.column = column;
163 return column;
168 * @param column The column o
170 of(int row, int column) argument
175 checkRange(int row, int column) argument
791 getCenterXForColumn(int column) argument
[all...]
/frameworks/base/core/tests/coretests/src/android/app/
H A DDownloadManagerBaseTest.java452 protected void logDBColumnData(Cursor cursor, String column) { argument
453 int index = cursor.getColumnIndex(column);
454 Log.i(LOG_TAG, "columnName: " + column);
967 * @param columnName The name of the column to query
980 * @param columnName The name of the column to query
/frameworks/ex/widget/java/com/android/ex/widget/
H A DStaggeredGridView.java45 * <p>StaggeredGridView presents a multi-column grid with consistent column sizes
79 * view has been removed. These let positioning and the choice of column for an item
136 public int column; field in class:StaggeredGridView.LayoutRecord
145 // all layoutrecords are purged when column count changes.
182 String result = "LayoutRecord{c=" + column + ", id=" + id + " h=" + height +
246 * Set a minimum column width for
508 // Repair the top and bottom column boundaries from the views we still have
519 final int colEnd = lp.column + Math.min(mColCount, lp.span);
520 for (int col = lp.column; co
1408 int column; field in class:StaggeredGridView.LayoutParams
[all...]
/frameworks/base/core/java/android/app/
H A DDownloadManager.java129 * column's value is undefined.
378 * stored in the database column {@link Downloads.Impl#COLUMN_MEDIA_SCANNED}.
381 // value of 1 is stored in the above column by DownloadProvider after it is scanned by
384 * the following value is stored in the database column
817 * @param column one of the COLUMN_* constants; currently, only
824 public Query orderBy(String column, int direction) { argument
829 if (column.equals(COLUMN_LAST_MODIFIED_TIMESTAMP)) {
831 } else if (column.equals(COLUMN_TOTAL_SIZE_BYTES)) {
834 throw new IllegalArgumentException("Cannot order by " + column);

Completed in 407 milliseconds