/frameworks/base/core/java/android/database/ |
D | CursorWindow.java | 74 private static native int nativeGetType(int windowPtr, int row, int column); in nativeGetType() argument 75 private static native byte[] nativeGetBlob(int windowPtr, int row, int column); in nativeGetBlob() argument 76 private static native String nativeGetString(int windowPtr, int row, int column); in nativeGetString() argument 77 private static native long nativeGetLong(int windowPtr, int row, int column); in nativeGetLong() argument 78 private static native double nativeGetDouble(int windowPtr, int row, int column); in nativeGetDouble() argument 79 private static native void nativeCopyStringToBuffer(int windowPtr, int row, int column, in nativeCopyStringToBuffer() argument 82 private static native boolean nativePutBlob(int windowPtr, byte[] value, int row, int column); in nativePutBlob() argument 83 private static native boolean nativePutString(int windowPtr, String value, int row, int column); in nativePutString() argument 84 private static native boolean nativePutLong(int windowPtr, long value, int row, int column); in nativePutLong() argument 85 private static native boolean nativePutDouble(int windowPtr, double value, int row, int column); in nativePutDouble() argument [all …]
|
D | MatrixCursor.java | 64 private Object get(int column) { in get() argument 65 if (column < 0 || column >= columnCount) { in get() 67 + column + ", # of columns: " + columnCount); in get() 75 return data[mPos * columnCount + column]; in get() 228 public String getString(int column) { in getString() argument 229 Object value = get(column); in getString() 235 public short getShort(int column) { in getShort() argument 236 Object value = get(column); in getShort() 243 public int getInt(int column) { in getInt() argument 244 Object value = get(column); in getInt() [all …]
|
D | MergeCursor.java | 96 public String getString(int column) in getString() argument 98 return mCursor.getString(column); in getString() 102 public short getShort(int column) in getShort() argument 104 return mCursor.getShort(column); in getShort() 108 public int getInt(int column) in getInt() argument 110 return mCursor.getInt(column); in getInt() 114 public long getLong(int column) in getLong() argument 116 return mCursor.getLong(column); in getLong() 120 public float getFloat(int column) in getFloat() argument 122 return mCursor.getFloat(column); in getFloat() [all …]
|
D | AbstractCursor.java | 83 abstract public String getString(int column); in getString() argument 84 abstract public short getShort(int column); in getShort() argument 85 abstract public int getInt(int column); in getInt() argument 86 abstract public long getLong(int column); in getLong() argument 87 abstract public float getFloat(int column); in getFloat() argument 88 abstract public double getDouble(int column); in getDouble() argument 89 abstract public boolean isNull(int column); in isNull() argument 91 public int getType(int column) { in getType() argument 99 public byte[] getBlob(int column) { in getBlob() argument
|
D | DatabaseUtils.java | 875 String column) { in cursorStringToContentValuesIfPresent() argument 876 final int index = cursor.getColumnIndex(column); in cursorStringToContentValuesIfPresent() 878 values.put(column, cursor.getString(index)); in cursorStringToContentValuesIfPresent() 891 String column) { in cursorLongToContentValuesIfPresent() argument 892 final int index = cursor.getColumnIndex(column); in cursorLongToContentValuesIfPresent() 894 values.put(column, cursor.getLong(index)); in cursorLongToContentValuesIfPresent() 907 String column) { in cursorShortToContentValuesIfPresent() argument 908 final int index = cursor.getColumnIndex(column); in cursorShortToContentValuesIfPresent() 910 values.put(column, cursor.getShort(index)); in cursorShortToContentValuesIfPresent() 923 String column) { in cursorIntToContentValuesIfPresent() argument [all …]
|
/frameworks/base/core/java/android/text/ |
D | PackedIntVector.java | 66 public int getValue(int row, int column) { in getValue() argument 69 if (((row | column) < 0) || (row >= size()) || (column >= columns)) { in getValue() 70 throw new IndexOutOfBoundsException(row + ", " + column); in getValue() 77 int value = mValues[row * columns + column]; in getValue() 80 if (row >= valuegap[column]) { in getValue() 81 value += valuegap[column + columns]; in getValue() 97 public void setValue(int row, int column, int value) { in setValue() argument 98 if (((row | column) < 0) || (row >= size()) || (column >= mColumns)) { in setValue() 99 throw new IndexOutOfBoundsException(row + ", " + column); in setValue() 107 if (row >= valuegap[column]) { in setValue() [all …]
|
D | PackedObjectVector.java | 44 getValue(int row, int column) in getValue() argument 49 Object value = mValues[row * mColumns + column]; in getValue() 55 setValue(int row, int column, E value) in setValue() argument 60 mValues[row * mColumns + column] = value; in setValue()
|
/frameworks/base/media/java/android/mtp/ |
D | MtpPropertyGroup.java | 42 int column; field in MtpPropertyGroup.Property 44 Property(int code, int type, int column) { in Property() argument 47 this.column = column; in Property() 91 String column = null; in createProperty() local 96 column = Files.FileColumns.STORAGE_ID; in createProperty() 100 column = Files.FileColumns.FORMAT; in createProperty() 108 column = Files.FileColumns.SIZE; in createProperty() 112 column = Files.FileColumns.DATA; in createProperty() 116 column = MediaColumns.TITLE; in createProperty() 120 column = Files.FileColumns.DATE_MODIFIED; in createProperty() [all …]
|
/frameworks/base/core/java/android/util/ |
D | MonthDisplayHelper.java | 122 for (int column = 0; column < 7; column++) { in getDigitsForRow() 123 result[column] = getDayAt(row, column); in getDigitsForRow() 134 public int getDayAt(int row, int column) { in getDayAt() argument 136 if (row == 0 && column < mOffset) { in getDayAt() 137 return mNumDaysInPrevMonth + column - mOffset + 1; in getDayAt() 140 int day = 7 * row + column - mOffset + 1; in getDayAt() 179 public boolean isWithinCurrentMonth(int row, int column) { in isWithinCurrentMonth() argument 181 if (row < 0 || column < 0 || row > 5 || column > 6) { in isWithinCurrentMonth() 185 if (row == 0 && column < mOffset) { in isWithinCurrentMonth() 189 int day = 7 * row + column - mOffset + 1; in isWithinCurrentMonth()
|
D | DayOfMonthCursor.java | 91 public boolean isSelected(int row, int column) { in isSelected() argument 92 return (mRow == row) && (mColumn == column); in isSelected()
|
/frameworks/base/core/jni/ |
D | android_database_CursorWindow.cpp | 47 static void throwExceptionWithRowCol(JNIEnv* env, jint row, jint column) { in throwExceptionWithRowCol() argument 51 row, column); in throwExceptionWithRowCol() 153 jint row, jint column) { in nativeGetType() argument 155 LOG_WINDOW("returning column type affinity for %d,%d from %p", row, column, window); in nativeGetType() 157 CursorWindow::FieldSlot* fieldSlot = window->getFieldSlot(row, column); in nativeGetType() 168 jint row, jint column) { in nativeGetBlob() argument 170 LOG_WINDOW("Getting blob for %d,%d from %p", row, column, window); in nativeGetBlob() 172 CursorWindow::FieldSlot* fieldSlot = window->getFieldSlot(row, column); in nativeGetBlob() 174 throwExceptionWithRowCol(env, row, column); in nativeGetBlob() 203 jint row, jint column) { in nativeGetString() argument [all …]
|
/frameworks/base/core/java/com/android/internal/database/ |
D | SortCursor.java | 185 public String getString(int column) in getString() argument 187 return mCursor.getString(column); in getString() 191 public short getShort(int column) in getShort() argument 193 return mCursor.getShort(column); in getShort() 197 public int getInt(int column) in getInt() argument 199 return mCursor.getInt(column); in getInt() 203 public long getLong(int column) in getLong() argument 205 return mCursor.getLong(column); in getLong() 209 public float getFloat(int column) in getFloat() argument 211 return mCursor.getFloat(column); in getFloat() [all …]
|
/frameworks/ex/common/java/com/android/common/content/ |
D | ProjectionMap.java | 32 public Builder add(String column) { in add() argument 33 mMap.putColumn(column, column); in add() 43 for (String column : columns) { in addAll() 44 add(column); in addAll() 79 private void putColumn(String alias, String column) { in putColumn() argument 80 super.put(alias, column); in putColumn()
|
/frameworks/base/core/tests/coretests/src/android/widget/focus/ |
D | LinearLayoutGrid.java | 39 public Button getButtonAt(int column, int row) { in getButtonAt() argument 43 if (column < 0 || column > 2) { in getButtonAt() 46 return (Button) getColumn(column).getChildAt(row); in getButtonAt() 51 private LinearLayout getColumn(int column) { in getColumn() argument 52 switch (column) { in getColumn()
|
/frameworks/base/libs/androidfw/ |
D | CursorWindow.cpp | 256 CursorWindow::FieldSlot* CursorWindow::getFieldSlot(uint32_t row, uint32_t column) { in getFieldSlot() argument 257 if (row >= mHeader->numRows || column >= mHeader->numColumns) { in getFieldSlot() 260 row, column, mHeader->numRows, mHeader->numColumns); in getFieldSlot() 269 return &fieldDir[column]; in getFieldSlot() 272 status_t CursorWindow::putBlob(uint32_t row, uint32_t column, const void* value, size_t size) { in putBlob() argument 273 return putBlobOrString(row, column, value, size, FIELD_TYPE_BLOB); in putBlob() 276 status_t CursorWindow::putString(uint32_t row, uint32_t column, const char* value, in putString() argument 278 return putBlobOrString(row, column, value, sizeIncludingNull, FIELD_TYPE_STRING); in putString() 281 status_t CursorWindow::putBlobOrString(uint32_t row, uint32_t column, in putBlobOrString() argument 287 FieldSlot* fieldSlot = getFieldSlot(row, column); in putBlobOrString() [all …]
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | LockPatternView.java | 134 int column; field in LockPatternView.Cell 150 private Cell(int row, int column) { in Cell() argument 151 checkRange(row, column); in Cell() 153 this.column = column; in Cell() 161 return column; in getColumn() 168 public static synchronized Cell of(int row, int column) { in of() argument 169 checkRange(row, column); in of() 170 return sCells[row][column]; in of() 173 private static void checkRange(int row, int column) { in checkRange() argument 177 if (column < 0 || column > 2) { in checkRange() [all …]
|
/frameworks/base/include/androidfw/ |
D | CursorWindow.h | 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); 114 FieldSlot* getFieldSlot(uint32_t row, uint32_t column); 187 status_t putBlobOrString(uint32_t row, uint32_t column,
|
/frameworks/base/core/java/android/view/animation/ |
D | GridLayoutAnimationController.java | 305 final int column = getTransformedColumnIndex(params); in getDelayForView() local 324 viewDelay = (long) (row * rowDelay + column * rowsCount * rowDelay); in getDelayForView() 328 viewDelay = (long) (column * columnDelay + row * columnsCount * columnDelay); in getDelayForView() 333 viewDelay = (long) (column * columnDelay + row * rowDelay); in getDelayForView() 348 index = params.columnsCount - 1 - params.column; in getTransformedColumnIndex() 358 index = params.column; in getTransformedColumnIndex() 407 public int column; field in GridLayoutAnimationController.AnimationParameters
|
/frameworks/base/core/java/android/widget/ |
D | TableRow.java | 166 if (layoutParams.column >= virtualCount) { in mapIndexAndColumns() 167 virtualCount = layoutParams.column; in mapIndexAndColumns() 407 public int column; field in TableRow.LayoutParams 430 column = a.getInt(com.android.internal.R.styleable.TableRow_Cell_layout_column, -1); in LayoutParams() 447 column = -1; in LayoutParams() 460 column = -1; in LayoutParams() 471 column = -1; in LayoutParams() 484 public LayoutParams(int column) { in LayoutParams() argument 486 this.column = column; in LayoutParams()
|
D | TableLayout.java | 601 int column = columns.keyAt(i); in mutateColumnsWidth() local 603 if (column < length) { in mutateColumnsWidth() 604 maxWidths[column] += extraSpace; in mutateColumnsWidth() 623 int column = columns.keyAt(i); in mutateColumnsWidth() local 624 if (columns.valueAt(i) && column < length) { in mutateColumnsWidth() 625 if (extraSpace > maxWidths[column]) { in mutateColumnsWidth() 626 maxWidths[column] = 0; in mutateColumnsWidth() 628 maxWidths[column] += extraSpace; in mutateColumnsWidth()
|
/frameworks/ex/widget/java/com/android/ex/widget/ |
D | StaggeredGridView.java | 136 public int column; field in StaggeredGridView.LayoutRecord 182 String result = "LayoutRecord{c=" + column + ", id=" + id + " h=" + height + in toString() 519 final int colEnd = lp.column + Math.min(mColCount, lp.span); in recycleOffscreenViews() 520 for (int col = lp.column; col < colEnd; col++) { in recycleOffscreenViews() 521 final int colTop = top - rec.getMarginAbove(col - lp.column); in recycleOffscreenViews() 522 final int colBottom = bottom + rec.getMarginBelow(col - lp.column); in recycleOffscreenViews() 760 final int col = lp.column; in layoutChildren() 849 rec.column = lp.column; in layoutChildren() 911 nextCol = rec.column; in fillUp() 920 rec.column = nextCol; in fillUp() [all …]
|
/frameworks/base/docs/html/guide/topics/search/ |
D | adding-custom-suggestions.jd | 320 using the required column names and then add a row for each suggestion using {@link 348 <dd>A string. If your Cursor includes this column, then all suggestions are provided in a 349 two-line format. The string in this column is displayed as a second, smaller line of text below the 352 <dd>A drawable resource, content, or file URI string. If your Cursor includes this column, then 356 <dd>A drawable resource, content, or file URI string. If your Cursor includes this column, then 360 <dd>An intent action string. If this column exists and contains a value at the given row, the 365 android:searchSuggestIntentAction} and omit this column.</dd> 367 <dd>A data URI string. If this column exists and contains a value at the given row, this is the 373 android:searchSuggestIntentData} and omit this column. 376 <dd>A URI path string. If this column exists and contains a value at the given row, then "/" and [all …]
|
/frameworks/base/core/java/android/database/sqlite/ |
D | SQLiteQueryBuilder.java | 249 String column = columns[i]; in appendColumns() local 251 if (column != null) { in appendColumns() 255 s.append(column); in appendColumns() 618 String column = mProjectionMap.get(userColumn); in computeProjection() local 620 if (column != null) { in computeProjection() 621 projection[i] = column; in computeProjection()
|
/frameworks/base/cmds/content/src/com/android/commands/content/ |
D | Content.java | 272 String column = argument.substring(0, firstColonIndex); in parseBindValue() local 276 values.put(column, value); in parseBindValue() 278 values.put(column, Boolean.parseBoolean(value)); in parseBindValue() 280 values.put(column, Long.parseLong(value)); in parseBindValue() 282 values.put(column, Double.parseDouble(value)); in parseBindValue()
|
/frameworks/base/docs/html/guide/topics/providers/ |
D | content-provider-basics.jd | 146 of data the provider collects, and each row in the column represents an individual piece of 203 found in a standard dictionary. Each column represents some data for that word, such as the 204 locale in which it was first encountered. The column headers are column names that are stored in 205 the provider. To refer to a row's locale, you refer to its <code>locale</code> column. For 206 this provider, the <code>_ID</code> column serves as a "primary key" column that 211 to use <code>_ID</code> as the column name of a primary key if one is present. However, 213 column names has to be <code>_ID</code>. This requirement is explained in more detail in the 418 UserDictionary.Words._ID, // Contract class constant for the _ID column name 419 UserDictionary.Words.WORD, // Contract class constant for the word column name 420 UserDictionary.Words.LOCALE // Contract class constant for the locale column name [all …]
|