/frameworks/base/core/java/android/database/ |
D | CursorWindow.java | 73 private static native byte[] nativeGetBlob(long windowPtr, int row, int column); in nativeGetBlob() argument 74 private static native String nativeGetString(long windowPtr, int row, int column); in nativeGetString() argument 75 private static native void nativeCopyStringToBuffer(long windowPtr, int row, int column, in nativeCopyStringToBuffer() argument 77 private static native boolean nativePutBlob(long windowPtr, byte[] value, int row, int column); in nativePutBlob() argument 79 int row, int column); in nativePutString() argument 96 private static native int nativeGetType(long windowPtr, int row, int column); in nativeGetType() argument 98 private static native long nativeGetLong(long windowPtr, int row, int column); in nativeGetLong() argument 100 private static native double nativeGetDouble(long windowPtr, int row, int column); in nativeGetDouble() argument 103 private static native boolean nativePutLong(long windowPtr, long value, int row, int column); in nativePutLong() argument 105 … private static native boolean nativePutDouble(long windowPtr, double value, int row, int column); in nativePutDouble() argument [all …]
|
D | MatrixCursor.java | 70 private Object get(int column) { in get() argument 71 if (column < 0 || column >= columnCount) { in get() 73 + column + ", # of columns: " + columnCount); in get() 81 return data[mPos * columnCount + column]; in get() 265 public String getString(int column) { in getString() argument 266 Object value = get(column); in getString() 272 public short getShort(int column) { in getShort() argument 273 Object value = get(column); in getShort() 280 public int getInt(int column) { in getInt() argument 281 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 | 99 abstract public String getString(int column); in getString() argument 101 abstract public short getShort(int column); in getShort() argument 103 abstract public int getInt(int column); in getInt() argument 105 abstract public long getLong(int column); in getLong() argument 107 abstract public float getFloat(int column); in getFloat() argument 109 abstract public double getDouble(int column); in getDouble() argument 111 abstract public boolean isNull(int column); in isNull() argument 114 public int getType(int column) { in getType() argument 123 public byte[] getBlob(int column) { in getBlob() argument
|
D | DatabaseUtils.java | 997 String column) { in cursorStringToContentValuesIfPresent() argument 998 final int index = cursor.getColumnIndex(column); in cursorStringToContentValuesIfPresent() 1000 values.put(column, cursor.getString(index)); in cursorStringToContentValuesIfPresent() 1013 String column) { in cursorLongToContentValuesIfPresent() argument 1014 final int index = cursor.getColumnIndex(column); in cursorLongToContentValuesIfPresent() 1016 values.put(column, cursor.getLong(index)); in cursorLongToContentValuesIfPresent() 1029 String column) { in cursorShortToContentValuesIfPresent() argument 1030 final int index = cursor.getColumnIndex(column); in cursorShortToContentValuesIfPresent() 1032 values.put(column, cursor.getShort(index)); in cursorShortToContentValuesIfPresent() 1045 String column) { in cursorIntToContentValuesIfPresent() argument [all …]
|
/frameworks/base/core/java/android/text/ |
D | PackedIntVector.java | 71 public int getValue(int row, int column) { in getValue() argument 74 if (((row | column) < 0) || (row >= size()) || (column >= columns)) { in getValue() 75 throw new IndexOutOfBoundsException(row + ", " + column); in getValue() 82 int value = mValues[row * columns + column]; in getValue() 85 if (row >= valuegap[column]) { in getValue() 86 value += valuegap[column + columns]; in getValue() 102 public void setValue(int row, int column, int value) { in setValue() argument 103 if (((row | column) < 0) || (row >= size()) || (column >= mColumns)) { in setValue() 104 throw new IndexOutOfBoundsException(row + ", " + column); in setValue() 112 if (row >= valuegap[column]) { in setValue() [all …]
|
D | PackedObjectVector.java | 46 getValue(int row, int column) in getValue() argument 51 Object value = mValues[row * mColumns + column]; in getValue() 57 setValue(int row, int column, E value) in setValue() argument 62 mValues[row * mColumns + column] = value; in setValue()
|
/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()
|
/frameworks/base/core/jni/ |
D | android_database_CursorWindow.cpp | 56 static void throwExceptionWithRowCol(JNIEnv* env, jint row, jint column) { in throwExceptionWithRowCol() argument 60 row, column); in throwExceptionWithRowCol() 183 jint row, jint column) { in nativeGetType() argument 185 LOG_WINDOW("returning column type affinity for %d,%d from %p", row, column, window); in nativeGetType() 187 CursorWindow::FieldSlot* fieldSlot = window->getFieldSlot(row, column); in nativeGetType() 198 jint row, jint column) { in nativeGetBlob() argument 200 LOG_WINDOW("Getting blob for %d,%d from %p", row, column, window); in nativeGetBlob() 202 CursorWindow::FieldSlot* fieldSlot = window->getFieldSlot(row, column); in nativeGetBlob() 204 throwExceptionWithRowCol(env, row, column); in nativeGetBlob() 237 jint row, jint column) { in nativeGetString() argument [all …]
|
/frameworks/base/core/java/com/android/internal/database/ |
D | SortCursor.java | 189 public String getString(int column) in getString() argument 191 return mCursor.getString(column); in getString() 195 public short getShort(int column) in getShort() argument 197 return mCursor.getShort(column); in getShort() 201 public int getInt(int column) in getInt() argument 203 return mCursor.getInt(column); in getInt() 207 public long getLong(int column) in getLong() argument 209 return mCursor.getLong(column); in getLong() 213 public float getFloat(int column) in getFloat() argument 215 return mCursor.getFloat(column); in getFloat() [all …]
|
/frameworks/base/media/java/android/mtp/ |
D | MtpPropertyGroup.java | 40 int column; field in MtpPropertyGroup.Property 42 Property(int code, int type, int column) { in Property() argument 45 this.column = column; in Property() 75 String column = null; in createProperty() local 104 column = Audio.AudioColumns.YEAR; in createProperty() 114 column = Audio.AudioColumns.DURATION; in createProperty() 118 column = Audio.AudioColumns.TRACK; in createProperty() 131 column = Audio.AudioColumns.ALBUM_ARTIST; in createProperty() 135 column = Audio.AudioColumns.COMPOSER; in createProperty() 139 column = Images.ImageColumns.DESCRIPTION; in createProperty() [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 | 40 public Button getButtonAt(int column, int row) { in getButtonAt() argument 44 if (column < 0 || column > 2) { in getButtonAt() 47 return (Button) getColumn(column).getChildAt(row); in getButtonAt() 52 private LinearLayout getColumn(int column) { in getColumn() argument 53 switch (column) { in getColumn()
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/adapters/ |
D | PhotoPagerAdapter.java | 87 for(String column : PhotoQuery.PROJECTION) { in swapCursor() 88 mColumnIndices.put(column, newCursor.getColumnIndexOrThrow(column)); in swapCursor() 91 for(String column : PhotoQuery.OPTIONAL_COLUMNS) { in swapCursor() 92 int index = newCursor.getColumnIndex(column); in swapCursor() 94 mColumnIndices.put(column, index); in swapCursor() 127 private String getString(Cursor cursor, String column) { in getString() argument 128 if (mColumnIndices.containsKey(column)) { in getString() 129 return cursor.getString(mColumnIndices.get(column)); in getString()
|
/frameworks/base/libs/androidfw/ |
D | CursorWindow.cpp | 276 CursorWindow::FieldSlot* CursorWindow::getFieldSlot(uint32_t row, uint32_t column) { in getFieldSlot() argument 277 if (row >= mHeader->numRows || column >= mHeader->numColumns) { in getFieldSlot() 280 row, column, mHeader->numRows, mHeader->numColumns); in getFieldSlot() 289 return &fieldDir[column]; in getFieldSlot() 292 status_t CursorWindow::putBlob(uint32_t row, uint32_t column, const void* value, size_t size) { in putBlob() argument 293 return putBlobOrString(row, column, value, size, FIELD_TYPE_BLOB); in putBlob() 296 status_t CursorWindow::putString(uint32_t row, uint32_t column, const char* value, in putString() argument 298 return putBlobOrString(row, column, value, sizeIncludingNull, FIELD_TYPE_STRING); in putString() 301 status_t CursorWindow::putBlobOrString(uint32_t row, uint32_t column, in putBlobOrString() argument 307 FieldSlot* fieldSlot = getFieldSlot(row, column); in putBlobOrString() [all …]
|
/frameworks/base/core/java/android/hardware/camera2/params/ |
D | LensShadingMap.java | 135 public float getGainFactor(final int colorChannel, final int column, final int row) { in getGainFactor() argument 138 } else if (column < 0 || column >= mColumns) { in getGainFactor() 144 return mElements[colorChannel + (row * mColumns + column) * COUNT ]; in getGainFactor() 163 public RggbChannelVector getGainFactorVector(final int column, final int row) { in getGainFactorVector() argument 164 if (column < 0 || column >= mColumns) { in getGainFactorVector() 170 final int offset = (row * mColumns + column) * COUNT; in getGainFactorVector()
|
D | ColorSpaceTransform.java | 135 public Rational getElement(int column, int row) { in getElement() argument 136 if (column < 0 || column >= COLUMNS) { in getElement() 142 int numerator = mElements[(row * COLUMNS + column) * RATIONAL_SIZE + OFFSET_NUMERATOR]; in getElement() 143 int denominator = mElements[(row * COLUMNS + column) * RATIONAL_SIZE + OFFSET_DENOMINATOR]; in getElement()
|
D | BlackLevelPattern.java | 70 public int getOffsetForIndex(int column, int row) { in getOffsetForIndex() argument 71 if (row < 0 || column < 0) { in getOffsetForIndex() 74 return mCfaOffsets[((row & 1) << 1) | (column & 1)]; in getOffsetForIndex()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | TileLayout.java | 168 int column = 0; in layoutTileRecords() local 172 for (int i = 0; i < tilesToLayout; i++, column++) { in layoutTileRecords() 174 if (column == mColumns) { in layoutTileRecords() 175 column = 0; in layoutTileRecords() 181 final int left = getColumnStart(isRtl ? mColumns - column - 1 : column); in layoutTileRecords() 196 protected int getColumnStart(int column) { in getColumnStart() argument 198 column * (mCellWidth + mCellMarginHorizontal); in getColumnStart()
|
/frameworks/base/libs/androidfw/include/androidfw/ |
D | CursorWindow.h | 105 status_t putBlob(uint32_t row, uint32_t column, const void* value, size_t size); 106 status_t putString(uint32_t row, uint32_t column, const char* value, size_t sizeIncludingNull); 107 status_t putLong(uint32_t row, uint32_t column, int64_t value); 108 status_t putDouble(uint32_t row, uint32_t column, double value); 109 status_t putNull(uint32_t row, uint32_t column); 115 FieldSlot* getFieldSlot(uint32_t row, uint32_t column); 198 status_t putBlobOrString(uint32_t row, uint32_t column,
|
/frameworks/base/core/java/android/widget/ |
D | TableRow.java | 166 if (layoutParams.column >= virtualCount) { in mapIndexAndColumns() 167 virtualCount = layoutParams.column; in mapIndexAndColumns() 403 public int column; field in TableRow.LayoutParams 427 column = a.getInt(com.android.internal.R.styleable.TableRow_Cell_layout_column, -1); in LayoutParams() 444 column = -1; in LayoutParams() 457 column = -1; in LayoutParams() 468 column = -1; in LayoutParams() 481 public LayoutParams(int column) { in LayoutParams() argument 483 this.column = column; in LayoutParams() 521 encoder.addProperty("layout:column", column); in encodeProperties()
|
/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/com/android/internal/widget/ |
D | LockPatternView.java | 168 final int column; field in LockPatternView.Cell 187 private Cell(int row, int column) { in Cell() argument 188 checkRange(row, column); in Cell() 190 this.column = column; in Cell() 198 return column; in getColumn() 201 public static Cell of(int row, int column) { in of() argument 202 checkRange(row, column); in of() 203 return sCells[row][column]; in of() 206 private static void checkRange(int row, int column) { in checkRange() argument 210 if (column < 0 || column > 2) { in checkRange() [all …]
|
/frameworks/base/core/java/android/database/sqlite/ |
D | SQLiteQueryBuilder.java | 430 String column = columns[i]; in appendColumns() local 432 if (column != null) { in appendColumns() 436 s.append(column); in appendColumns() 793 final String column = rawValues.keyAt(i); in enforceStrictColumns() local 794 if (!mProjectionMap.containsKey(column)) { in enforceStrictColumns() 795 throw new IllegalArgumentException("Invalid column " + column); in enforceStrictColumns() 1099 @NonNull String column) { in maybeWithOperator() argument 1101 return operator + "(" + column + ")"; in maybeWithOperator() 1103 return column; in maybeWithOperator() 1138 final String column = computeSingleProjection(userColumn); in computeSingleProjectionOrThrow() local [all …]
|
/frameworks/base/packages/EasterEgg/src/com/android/egg/quares/ |
D | QuaresActivity.kt | 255 var column: Int = -1 variable 277 this.column = -1 in setRow() 282 fun setColumn(q: Quare, column: Int): Boolean { in setColumn() 283 this.column = column in setColumn() 286 text = q.getColumnClue(column).joinToString("-") in setColumn() 290 val correct = q.check(column, row) in check()
|