/frameworks/base/core/tests/coretests/src/android/widget/focus/ |
H A D | LinearLayoutGrid.java | 39 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 D | PackedObjectVector.java | 44 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 D | PackedIntVector.java | 25 * 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 < 0 || row >= size()) or the column is out of range 64 * (column < 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 D | DayOfMonthCursor.java | 24 * <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 D | MonthDisplayHelper.java | 122 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/core/java/android/database/ |
H A D | MatrixCursor.java | 37 * 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 D | MergeCursor.java | 122 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 D | AbstractCursor.java | 51 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...] |
H A D | DatabaseUtils.java | 406 // 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...] |
/frameworks/base/core/java/com/android/internal/database/ |
H A D | SortCursor.java | 203 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/media/libdrm/mobile2/src/util/ustl-1.0/ |
H A D | umatrix.h | 48 inline column_type column (size_type c) const; 67 inline typename matrix<NX,NY,T>::column_type matrix<NX,NY,T>::column (size_type c) const function in class:ustl::matrix
|
/frameworks/base/core/java/android/view/animation/ |
H A D | GridLayoutAnimationController.java | 148 * @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/jni/ |
H A D | CursorWindow.cpp | 222 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 D | CursorWindow.h | 96 * 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;
|
H A D | android_database_CursorWindow.cpp | 132 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...] |
/frameworks/base/core/java/android/widget/ |
H A D | TableRow.java | 93 * <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...] |
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | LockPatternView.java | 138 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...] |