/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/ex/common/java/com/android/common/content/ |
H A D | ProjectionMap.java | 32 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 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 getBlob(int column) argument 281 getType(int column) argument 286 isNull(int column) argument [all...] |
H A D | MergeCursor.java | 96 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 D | AbstractCursor.java | 46 * 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 D | CursorWindow.java | 74 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 D | DatabaseUtils.java | 531 // 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 796 * first column of the first row. 809 * first column of the first row. 818 * first column of the first row. 831 * first column of the first row. 840 * first column of the first row. 856 * first column of the first row. 867 * Reads a String out of a column in a Cursor and writes it to a ContentValues. 868 * Adds nothing to the ContentValues if the column is 874 cursorStringToContentValuesIfPresent(Cursor cursor, ContentValues values, String column) argument 890 cursorLongToContentValuesIfPresent(Cursor cursor, ContentValues values, String column) argument 906 cursorShortToContentValuesIfPresent(Cursor cursor, ContentValues values, String column) argument 922 cursorIntToContentValuesIfPresent(Cursor cursor, ContentValues values, String column) argument 938 cursorFloatToContentValuesIfPresent(Cursor cursor, ContentValues values, String column) argument 954 cursorDoubleToContentValuesIfPresent(Cursor cursor, ContentValues values, String column) argument [all...] |
/frameworks/base/core/java/com/android/internal/database/ |
H A D | SortCursor.java | 185 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 D | MtpPropertyGroup.java | 41 // 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; 91 String column = null; 96 column = Files.FileColumns.STORAGE_ID; 100 column = Files.FileColumns.FORMAT; 108 column = Files.FileColumns.SIZE; 112 column 188 queryString(int id, String column) argument 209 queryAudio(int id, String column) argument 251 queryLong(int id, String column) argument [all...] |
/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/libs/androidfw/ |
H A D | CursorWindow.cpp | 256 CursorWindow::FieldSlot* CursorWindow::getFieldSlot(uint32_t row, uint32_t column) { argument 257 if (row >= mHeader->numRows || column >= mHeader->numColumns) { 258 ALOGE("Failed to read row %d, column %d from a CursorWindow which " 260 row, column, mHeader->numRows, mHeader->numColumns); 269 return &fieldDir[column]; 272 status_t CursorWindow::putBlob(uint32_t row, uint32_t column, const void* value, size_t size) { argument 273 return putBlobOrString(row, column, value, size, FIELD_TYPE_BLOB); 276 status_t CursorWindow::putString(uint32_t row, uint32_t column, const char* value, argument 278 return putBlobOrString(row, column, value, sizeIncludingNull, FIELD_TYPE_STRING); 281 status_t CursorWindow::putBlobOrString(uint32_t row, uint32_t column, argument 305 putLong(uint32_t row, uint32_t column, int64_t value) argument 320 putDouble(uint32_t row, uint32_t column, double value) argument 335 putNull(uint32_t row, uint32_t column) argument [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | TableRow.java | 95 * <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 D | android_database_CursorWindow.cpp | 47 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 D | LockPatternView.java | 134 int column; field in class:LockPatternView.Cell 148 * @param column The column of the cell. 150 private Cell(int row, int column) { argument 151 checkRange(row, column); 153 this.column = column; 161 return column; 166 * @param column The column o 168 of(int row, int column) argument 173 checkRange(int row, int column) argument 852 getCenterXForColumn(int column) argument [all...] |
/frameworks/base/core/tests/coretests/src/android/app/ |
H A D | DownloadManagerBaseTest.java | 452 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 D | StaggeredGridView.java | 45 * <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 D | DownloadManager.java | 127 * column's value is undefined. 367 * stored in the database column {@link Downloads.Impl#COLUMN_MEDIA_SCANNED}. 370 // value of 1 is stored in the above column by DownloadProvider after it is scanned by 373 * the following value is stored in the database column 782 * @param column one of the COLUMN_* constants; currently, only 789 public Query orderBy(String column, int direction) { argument 794 if (column.equals(COLUMN_LAST_MODIFIED_TIMESTAMP)) { 796 } else if (column.equals(COLUMN_TOTAL_SIZE_BYTES)) { 799 throw new IllegalArgumentException("Cannot order by " + column);
|