/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/database/ |
D | CursorWindow.java | 75 private static native byte[] nativeGetBlob(long windowPtr, int row, int column); in nativeGetBlob() argument 76 private static native String nativeGetString(long windowPtr, int row, int column); in nativeGetString() argument 77 private static native void nativeCopyStringToBuffer(long windowPtr, int row, int column, in nativeCopyStringToBuffer() argument 79 private static native boolean nativePutBlob(long windowPtr, byte[] value, int row, int column); in nativePutBlob() argument 81 int row, int column); in nativePutString() argument 98 private static native int nativeGetType(long windowPtr, int row, int column); in nativeGetType() argument 100 private static native long nativeGetLong(long windowPtr, int row, int column); in nativeGetLong() argument 102 private static native double nativeGetDouble(long windowPtr, int row, int column); in nativeGetDouble() argument 105 private static native boolean nativePutLong(long windowPtr, long value, int row, int column); in nativePutLong() argument 107 … 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 | 103 abstract public String getString(int column); in getString() argument 105 abstract public short getShort(int column); in getShort() argument 107 abstract public int getInt(int column); in getInt() argument 109 abstract public long getLong(int column); in getLong() argument 111 abstract public float getFloat(int column); in getFloat() argument 113 abstract public double getDouble(int column); in getDouble() argument 115 abstract public boolean isNull(int column); in isNull() argument 118 public int getType(int column) { in getType() argument 127 public byte[] getBlob(int column) { in getBlob() argument
|
/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() 191 jint row, jint column) { in nativeGetType() argument 193 LOG_WINDOW("returning column type affinity for %d,%d from %p", row, column, window); in nativeGetType() 195 CursorWindow::FieldSlot* fieldSlot = window->getFieldSlot(row, column); in nativeGetType() 206 jint row, jint column) { in nativeGetBlob() argument 208 LOG_WINDOW("Getting blob for %d,%d from %p", row, column, window); in nativeGetBlob() 210 CursorWindow::FieldSlot* fieldSlot = window->getFieldSlot(row, column); in nativeGetBlob() 212 throwExceptionWithRowCol(env, row, column); in nativeGetBlob() 245 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() 125 column = Audio.AudioColumns.ARTIST; in createProperty() 129 column = Audio.AudioColumns.ALBUM; in createProperty() 133 column = Audio.AudioColumns.ALBUM_ARTIST; 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 | 341 CursorWindow::FieldSlot* CursorWindow::getFieldSlot(uint32_t row, uint32_t column) { in getFieldSlot() argument 346 - (((row * mNumColumns) + column) << kSlotShift); in getFieldSlot() 347 if (result < mSlotsEnd || result > mSlotsStart || column >= mNumColumns) { in getFieldSlot() 348 LOG(ERROR) << "Failed to read row " << row << ", column " << column in getFieldSlot() 356 status_t CursorWindow::putBlob(uint32_t row, uint32_t column, const void* value, size_t size) { in putBlob() argument 357 return putBlobOrString(row, column, value, size, FIELD_TYPE_BLOB); in putBlob() 360 status_t CursorWindow::putString(uint32_t row, uint32_t column, const char* value, in putString() argument 362 return putBlobOrString(row, column, value, sizeIncludingNull, FIELD_TYPE_STRING); in putString() 365 status_t CursorWindow::putBlobOrString(uint32_t row, uint32_t column, in putBlobOrString() argument 371 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 | BlackLevelPattern.java | 71 public int getOffsetForIndex(int column, int row) { in getOffsetForIndex() argument 72 if (row < 0 || column < 0) { in getOffsetForIndex() 75 return mCfaOffsets[((row & 1) << 1) | (column & 1)]; in getOffsetForIndex()
|
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()
|
/frameworks/base/libs/androidfw/include/androidfw/ |
D | CursorWindow.h | 103 status_t putBlob(uint32_t row, uint32_t column, const void* value, size_t size); 104 status_t putString(uint32_t row, uint32_t column, const char* value, size_t sizeIncludingNull); 105 status_t putLong(uint32_t row, uint32_t column, int64_t value); 106 status_t putDouble(uint32_t row, uint32_t column, double value); 107 status_t putNull(uint32_t row, uint32_t column); 113 FieldSlot* getFieldSlot(uint32_t row, uint32_t column); 191 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() 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/packages/SystemUI/src/com/android/systemui/qs/ |
D | TileLayout.java | 216 int column = 0; in layoutTileRecords() local 220 for (int i = 0; i < tilesToLayout; i++, column++) { in layoutTileRecords() 222 if (column == mColumns) { in layoutTileRecords() 223 column = 0; in layoutTileRecords() 229 final int left = getColumnStart(isRtl ? mColumns - column - 1 : column); in layoutTileRecords() 244 protected int getColumnStart(int column) { in getColumnStart() argument 246 + column * (mCellWidth + mCellMarginHorizontal); in getColumnStart()
|
/frameworks/base/core/java/android/database/sqlite/ |
D | SQLiteQueryBuilder.java | 418 String column = columns[i]; in appendColumns() local 420 if (column != null) { in appendColumns() 424 s.append(column); in appendColumns() 779 final String column = rawValues.keyAt(i); in enforceStrictColumns() local 780 if (!mProjectionMap.containsKey(column)) { in enforceStrictColumns() 781 throw new IllegalArgumentException("Invalid column " + column); in enforceStrictColumns() 1070 @NonNull String column) { in maybeWithOperator() argument 1072 return operator + "(" + column + ")"; in maybeWithOperator() 1074 return column; in maybeWithOperator() 1109 final String column = computeSingleProjection(userColumn); in computeSingleProjectionOrThrow() local [all …]
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | LockPatternView.java | 169 final int column; field in LockPatternView.Cell 188 private Cell(int row, int column) { in Cell() argument 189 checkRange(row, column); in Cell() 191 this.column = column; in Cell() 199 return column; in getColumn() 202 public static Cell of(int row, int column) { in of() argument 203 checkRange(row, column); in of() 204 return sCells[row][column]; in of() 207 private static void checkRange(int row, int column) { in checkRange() argument 211 if (column < 0 || column > 2) { in checkRange() [all …]
|
/frameworks/base/core/res/res/raw/ |
D | fallback_categories.csv | 2 # First column is package name, second column is raw ApplicationInfo.CATEGORY value
|
/frameworks/native/services/surfaceflinger/tests/utils/ |
D | TransactionUtils.h | 64 for (int32_t column = 0; column < width; column++) { in fillANativeWindowBufferColor() local 91 for (int32_t column = 0; column < width; column++) { in fillGraphicBufferColor() local
|