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

123

/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.java101 public double getDouble(int column) { argument
102 return mCursor.getDouble(column);
106 public float getFloat(int column) { argument
107 return mCursor.getFloat(column);
111 public int getInt(int column) { argument
112 return mCursor.getInt(column);
116 public long getLong(int column) { argument
117 return mCursor.getLong(column);
121 public short getShort(int column) { argument
122 return mCursor.getShort(column);
126 getString(int column) argument
131 getType(int column) argument
136 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.java90 abstract public String getString(int column); argument
92 abstract public short getShort(int column); argument
94 abstract public int getInt(int column); argument
96 abstract public long getLong(int column); argument
98 abstract public float getFloat(int column); argument
100 abstract public double getDouble(int column); argument
102 abstract public boolean isNull(int column); argument
105 public int getType(int column) { argument
114 public byte[] getBlob(int column) { argument
309 Log.e(TAG, "requesting column nam
[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...]
/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;
90 String column = null;
95 column = Files.FileColumns.STORAGE_ID;
99 column = Files.FileColumns.FORMAT;
107 column = Files.FileColumns.SIZE;
111 column
198 queryString(int id, String column) argument
219 queryAudio(int id, String column) argument
261 queryLong(int id, 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/support/v4/tests/java/android/support/v4/testutils/
H A DTestUtils.java107 for (int column = 0; column < drawableWidth; column++) {
108 if (rowPixels[column] != color) {
113 + "] but at position (" + row + "," + column + ") found ["
114 + Color.red(rowPixels[column]) + ","
115 + Color.green(rowPixels[column]) + ","
116 + Color.blue(rowPixels[column]) + "]";
/frameworks/base/core/jni/
H A Dandroid_database_CursorWindow.cpp50 static void throwExceptionWithRowCol(JNIEnv* env, jint row, jint column) { argument
54 row, column);
156 jint row, jint column) {
158 LOG_WINDOW("returning column type affinity for %d,%d from %p", row, column, window);
160 CursorWindow::FieldSlot* fieldSlot = window->getFieldSlot(row, column);
164 //throwExceptionWithRowCol(env, row, column);
171 jint row, jint column) {
173 LOG_WINDOW("Getting blob for %d,%d from %p", row, column, window);
175 CursorWindow::FieldSlot* fieldSlot = window->getFieldSlot(row, column);
155 nativeGetType(JNIEnv* env, jclass clazz, jlong windowPtr, jint row, jint column) argument
170 nativeGetBlob(JNIEnv* env, jclass clazz, jlong windowPtr, jint row, jint column) argument
205 nativeGetString(JNIEnv* env, jclass clazz, jlong windowPtr, jint row, jint column) argument
297 nativeCopyStringToBuffer(JNIEnv* env, jclass clazz, jlong windowPtr, jint row, jint column, jobject bufferObj) argument
336 nativeGetLong(JNIEnv* env, jclass clazz, jlong windowPtr, jint row, jint column) argument
367 nativeGetDouble(JNIEnv* env, jclass clazz, jlong windowPtr, jint row, jint column) argument
398 nativePutBlob(JNIEnv* env, jclass clazz, jlong windowPtr, jbyteArray valueObj, jint row, jint column) argument
416 nativePutString(JNIEnv* env, jclass clazz, jlong windowPtr, jstring valueObj, jint row, jint column) argument
438 nativePutLong(JNIEnv* env, jclass clazz, jlong windowPtr, jlong value, jint row, jint column) argument
452 nativePutDouble(JNIEnv* env, jclass clazz, jlong windowPtr, jdouble value, jint row, jint column) argument
466 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.java87 for(String column : PhotoQuery.PROJECTION) {
88 mColumnIndices.put(column, newCursor.getColumnIndexOrThrow(column));
91 for(String column : PhotoQuery.OPTIONAL_COLUMNS) {
92 int index = newCursor.getColumnIndex(column);
94 mColumnIndices.put(column, index);
127 private String getString(Cursor cursor, String column) { argument
128 if (mColumnIndices.containsKey(column)) {
129 return cursor.getString(mColumnIndices.get(column));
/frameworks/base/core/java/android/hardware/camera2/params/
H A DLensShadingMap.java101 * Get a single color channel gain factor from this lens shading map by its row and column.
104 * the column must be within the range [0, {@link #getColumnCount}),
113 * @param column within the range [0, {@link #getColumnCount})
127 public float getGainFactor(final int colorChannel, final int column, final int row) { argument
130 } else if (column < 0 || column >= mColumns) {
131 throw new IllegalArgumentException("column out of range");
136 return mElements[colorChannel + (row * mColumns + column) * COUNT ];
140 * Get a gain factor vector from this lens shading map by its row and column.
143 * the column mus
155 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>
/frameworks/support/design/tests/src/android/support/design/testutils/
H A DTestUtils.java79 for (int column = firstCol; column <= lastCol; column++) {
80 int sourceAlpha = Color.alpha(rowPixels[column]);
81 int sourceRed = Color.red(rowPixels[column]);
82 int sourceGreen = Color.green(rowPixels[column]);
83 int sourceBlue = Color.blue(rowPixels[column]);
100 + "] but at position (" + row + "," + column + ") found ["
/frameworks/support/v7/appcompat/tests/src/android/support/v7/testutils/
H A DTestUtils.java150 for (int column = 0; column < bitmapWidth; column++) {
151 int sourceAlpha = Color.alpha(rowPixels[column]);
152 int sourceRed = Color.red(rowPixels[column]);
153 int sourceGreen = Color.green(rowPixels[column]);
154 int sourceBlue = Color.blue(rowPixels[column]);
176 + "] but at position (" + row + "," + column + ") out of ("
/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/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/
H A DTableLayoutBindingAdapter.java50 int column = columns.keyAt(i);
53 view.setColumnShrinkable(column, shrinkable);
68 int column = columns.keyAt(i);
71 view.setColumnStretchable(column, stretchable);
90 // column index was defined in the XML file
/frameworks/base/tools/preload2/src/com/android/preload/
H A DDumpTableModel.java60 public String getColumnName(int column) { argument
61 switch (column) {
72 throw new IndexOutOfBoundsException(String.valueOf(column));
/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/packages/SystemUI/src/com/android/systemui/qs/
H A DTileLayout.java115 int column = 0;
116 for (int i = 0; i < mRecords.size(); i++, column++) {
117 if (column == mColumns) {
119 column -= mColumns;
122 int left = getColumnStart(column);
139 private int getColumnStart(int column) { argument
140 return column * (mCellWidth + mCellMargin) + mCellMargin;
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/picker/
H A DPicker.java41 * column value range or labels change. Call {@link #setColumnValue(int, int, boolean)} to update
49 * three items only on currently activated column. If the Picker has focus, it will intercept DPAD
50 * directions and select activated column.
57 public void onValueChanged(Picker picker, int column); argument
219 * When column labels change or column range changes, call this function to re-populate the
221 * @param columnIndex Index of column to update.
222 * @param column New column to update.
224 public void setColumnAt(int columnIndex, PickerColumn column) { argument
[all...]

Completed in 656 milliseconds

123