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

12

/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
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 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 DSortingCursorWrapper.java128 public double getDouble(int column) { argument
129 return mCursor.getDouble(column);
133 public float getFloat(int column) { argument
134 return mCursor.getFloat(column);
138 public int getInt(int column) { argument
139 return mCursor.getInt(column);
143 public long getLong(int column) { argument
144 return mCursor.getLong(column);
148 public short getShort(int column) { argument
149 return mCursor.getShort(column);
153 getString(int column) argument
158 getType(int column) argument
163 isNull(int column) argument
[all...]
/frameworks/base/core/java/android/database/
H A DCursorWindow.java71 private static native int nativeGetType(long windowPtr, int row, int column); argument
72 private static native byte[] nativeGetBlob(long windowPtr, int row, int column); argument
73 private static native String nativeGetString(long windowPtr, int row, int column); argument
74 private static native long nativeGetLong(long windowPtr, int row, int column); argument
75 private static native double nativeGetDouble(long windowPtr, int row, int column); argument
76 private static native void nativeCopyStringToBuffer(long windowPtr, int row, int column, argument
79 private static native boolean nativePutBlob(long windowPtr, byte[] value, int row, int column); argument
80 private static native boolean nativePutString(long windowPtr, String value, int row, int column); argument
81 private static native boolean nativePutLong(long windowPtr, long value, int row, int column); argument
82 private static native boolean nativePutDouble(long windowPtr, double value, int row, int column); argument
83 nativePutNull(long windowPtr, int row, int column) argument
289 isNull(int row, int column) argument
304 isBlob(int row, int column) argument
319 isLong(int row, int column) argument
333 isFloat(int row, int column) argument
348 isString(int row, int column) argument
370 getType(int row, int column) argument
400 getBlob(int row, int column) argument
435 getString(int row, int column) argument
474 copyStringToBuffer(int row, int column, CharArrayBuffer buffer) argument
508 getLong(int row, int column) argument
540 getDouble(int row, int column) argument
561 getShort(int row, int column) argument
577 getInt(int row, int column) argument
593 getFloat(int row, int column) argument
605 putBlob(byte[] value, int row, int column) argument
622 putString(String value, int row, int column) argument
639 putLong(long value, int row, int column) argument
657 putDouble(double value, int row, int column) argument
673 putNull(int row, 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 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 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...]
/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.java26 * offsetting the values in segments of a given column.
56 * Returns the value at the specified row and column.
59 * @param column the index of the column to return.
64 * (row &lt; 0 || row >= size()) or the column is out of range
65 * (column &lt; 0 || column >= width()).
67 public int getValue(int row, int column) { argument
70 if (((row | column) < 0) || (row >= size()) || (column >
98 setValue(int row, int column, int value) argument
123 setValueInternal(int row, int column, int value) argument
149 adjustValuesBelow(int startRow, int column, int delta) argument
291 moveValueGapTo(int column, int where) argument
[all...]
/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/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/media/java/android/mtp/
H A DMtpPropertyGroup.java40 // column index for our query
41 int column; field in class:MtpPropertyGroup.Property
43 Property(int code, int type, int column) { argument
46 this.column = column;
92 String column = null;
97 column = Files.FileColumns.STORAGE_ID;
101 column = Files.FileColumns.FORMAT;
109 column = Files.FileColumns.SIZE;
113 column
200 queryString(int id, String column) argument
221 queryAudio(int id, String column) argument
263 queryLong(int id, String column) argument
[all...]
/frameworks/base/core/java/android/hardware/camera2/params/
H A DLensShadingMap.java102 * Get a single color channel gain factor from this lens shading map by its row and column.
105 * the column must be within the range [0, {@link #getColumnCount}),
114 * @param column within the range [0, {@link #getColumnCount})
128 public float getGainFactor(final int colorChannel, final int column, final int row) { argument
131 } else if (column < 0 || column >= mColumns) {
132 throw new IllegalArgumentException("column out of range");
137 return mElements[colorChannel + (row * mColumns + column) * COUNT ];
141 * Get a gain factor vector from this lens shading map by its row and column.
144 * the column mus
156 getGainFactorVector(final int column, final int row) argument
[all...]
H A DBlackLevelPattern.java39 * given in row-column scan order.</p>
60 * @param column the column index in the the raw pixel array.
64 * @throws IllegalArgumentException if a column or row given is negative.
66 public int getOffsetForIndex(int column, int row) { argument
67 if (row < 0 || column < 0) {
68 throw new IllegalArgumentException("column, row arguments must be positive");
70 return mCfaOffsets[((row & 1) << 1) | (column & 1)];
76 * <p>Offsets are given in row-column scan order for a given 2x2 color pattern.</p>
H A DColorSpaceTransform.java103 * column {@code j}.</p>
126 * Get an element of this matrix by its row and column.
129 * and the column must be within the range [0, 3).</p>
133 * @throws IllegalArgumentException if column or row was out of range
135 public Rational getElement(int column, int row) { argument
136 if (column < 0 || column >= COLUMNS) {
137 throw new IllegalArgumentException("column out of range");
142 int numerator = mElements[(row * COLUMNS + column) * RATIONAL_SIZE + OFFSET_NUMERATOR];
143 int denominator = mElements[(row * COLUMNS + column) * RATIONAL_SIZ
[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/core/jni/
H A Dandroid_database_CursorWindow.cpp48 static void throwExceptionWithRowCol(JNIEnv* env, jint row, jint column) { argument
52 row, column);
154 jint row, jint column) {
156 LOG_WINDOW("returning column type affinity for %d,%d from %p", row, column, window);
158 CursorWindow::FieldSlot* fieldSlot = window->getFieldSlot(row, column);
162 //throwExceptionWithRowCol(env, row, column);
169 jint row, jint column) {
171 LOG_WINDOW("Getting blob for %d,%d from %p", row, column, window);
173 CursorWindow::FieldSlot* fieldSlot = window->getFieldSlot(row, column);
153 nativeGetType(JNIEnv* env, jclass clazz, jlong windowPtr, jint row, jint column) argument
168 nativeGetBlob(JNIEnv* env, jclass clazz, jlong windowPtr, jint row, jint column) argument
203 nativeGetString(JNIEnv* env, jclass clazz, jlong windowPtr, jint row, jint column) argument
295 nativeCopyStringToBuffer(JNIEnv* env, jclass clazz, jlong windowPtr, jint row, jint column, jobject bufferObj) argument
334 nativeGetLong(JNIEnv* env, jclass clazz, jlong windowPtr, jint row, jint column) argument
365 nativeGetDouble(JNIEnv* env, jclass clazz, jlong windowPtr, jint row, jint column) argument
396 nativePutBlob(JNIEnv* env, jclass clazz, jlong windowPtr, jbyteArray valueObj, jint row, jint column) argument
414 nativePutString(JNIEnv* env, jclass clazz, jlong windowPtr, jstring valueObj, jint row, jint column) argument
436 nativePutLong(JNIEnv* env, jclass clazz, jlong windowPtr, jlong value, jint row, jint column) argument
450 nativePutDouble(JNIEnv* env, jclass clazz, jlong windowPtr, jdouble value, jint row, jint column) argument
464 nativePutNull(JNIEnv* env, jclass clazz, jlong windowPtr, jint row, jint column) argument
[all...]
/frameworks/opt/photoviewer/src/com/android/ex/photo/adapters/
H A DPhotoPagerAdapter.java85 for(String column : PhotoQuery.PROJECTION) {
86 mColumnIndices.put(column, newCursor.getColumnIndexOrThrow(column));
89 for(String column : PhotoQuery.OPTIONAL_COLUMNS) {
90 int index = newCursor.getColumnIndex(column);
92 mColumnIndices.put(column, index);
121 private String getString(Cursor cursor, String column) { argument
122 if (mColumnIndices.containsKey(column)) {
123 return cursor.getString(mColumnIndices.get(column));
/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/include/androidfw/
H A DCursorWindow.h46 * FieldSlot per column, which has the size, offset, and type of the data for that field.
104 status_t putBlob(uint32_t row, uint32_t column, const void* value, size_t size);
105 status_t putString(uint32_t row, uint32_t column, const char* value, size_t sizeIncludingNull);
106 status_t putLong(uint32_t row, uint32_t column, int64_t value);
107 status_t putDouble(uint32_t row, uint32_t column, double value);
108 status_t putNull(uint32_t row, uint32_t column);
111 * Gets the field slot at the specified row and column.
112 * Returns null if the requested row or column is not in the window.
114 FieldSlot* getFieldSlot(uint32_t row, uint32_t column);
187 status_t putBlobOrString(uint32_t row, uint32_t column,
[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/java/com/android/internal/widget/
H A DLockPatternView.java133 int column; field in class:LockPatternView.Cell
147 * @param column The column of the cell.
149 private Cell(int row, int column) { argument
150 checkRange(row, column);
152 this.column = column;
160 return column;
165 * @param column The column o
167 of(int row, int column) argument
172 checkRange(int row, int column) argument
876 getCenterXForColumn(int 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/ml/bordeaux/service/src/android/bordeaux/services/
H A DAggregatorRecordStorage.java59 throw new RuntimeException("No column keys");
91 // Notice that the column names are repeated for each row.
102 for (String column : mColumnNames) {
103 int columnIndex = cursor.getColumnIndex(column);
106 oneRow.put(column, value);

Completed in 1530 milliseconds

12