/frameworks/base/core/jni/ |
D | android_database_SQLiteRawStatement.cpp | 76 static void throwIfInvalidColumn(JNIEnv *env, jlong stmtPtr, jint col) { in throwIfInvalidColumn() argument 77 if (col < 0 || col >= sqlite3_data_count(stmt(stmtPtr))) { in throwIfInvalidColumn() 80 "column index %d out of bounds [0,%d]", col, count - 1); in throwIfInvalidColumn() 218 static jint columnType(JNIEnv* env, jclass, jlong stmtPtr, jint col) { in columnType() argument 219 throwIfInvalidColumn(env, stmtPtr, col); in columnType() 220 return sqlite3_column_type(stmt(stmtPtr), col); in columnType() 223 static jstring columnName(JNIEnv* env, jclass, jlong stmtPtr, jint col) { in columnName() argument 224 throwIfInvalidColumn(env, stmtPtr, col); in columnName() 225 const jchar* name = static_cast<const jchar*>(sqlite3_column_name16(stmt(stmtPtr), col)); in columnName() 234 static jint columnBytes(JNIEnv* env, jclass, jlong stmtPtr, jint col) { in columnBytes() argument [all …]
|
/frameworks/native/libs/math/include/math/ |
D | TMatHelpers.h | 218 for (size_t col = 0; col < 3; ++col) { in fastInverse3() local 220 inverted[col][row] /= det; in fastInverse3() 256 for (size_t col = 0; col < MATRIX_R::NUM_COLS; ++col) { in multiply() local 257 res[col] = lhs * rhs[col]; in multiply() 268 for (size_t col = 0; col < MATRIX::NUM_COLS; ++col) { in transpose() local 270 result[col][row] = transpose(m[row][col]); in transpose() 281 for (size_t col = 0; col < MATRIX::NUM_COLS; ++col) { in trace() local 282 result += trace(m[col][col]); in trace() 292 for (size_t col = 0; col < MATRIX::NUM_COLS; ++col) { in diag() local 293 result[col] = m[col][col]; in diag() [all …]
|
D | mat2.h | 284 for (size_t col = 0; col < NUM_COLS; ++col) { in TMat22() local 285 m_value[col] = col_type(rhs[col]); in TMat22() 301 for (size_t col = 0; col < NUM_COLS; ++col) { in TMat22() local 303 m_value[col][row] = *rawArray++; in TMat22() 325 for (size_t col = 0; col < TMat22<T>::NUM_COLS; ++col) { variable 326 result += lhs[col] * rhs[col]; 335 for (size_t col = 0; col < TMat22<T>::NUM_COLS; ++col) { variable 336 result[col] = dot(lhs, rhs[col]);
|
D | mat3.h | 314 for (size_t col = 0; col < NUM_COLS; ++col) { in TMat33() local 315 m_value[col] = col_type(rhs[col]); in TMat33() 332 for (size_t col = 0; col < NUM_COLS; ++col) { in TMat33() local 334 m_value[col][row] = *rawArray++; in TMat33() 378 for (size_t col = 0; col < TMat33<T>::NUM_COLS; ++col) { variable 379 result += lhs[col] * rhs[col]; 388 for (size_t col = 0; col < TMat33<T>::NUM_COLS; ++col) { variable 389 result[col] = dot(lhs, rhs[col]);
|
D | mat4.h | 372 for (size_t col = 0; col < NUM_COLS; ++col) { in TMat44() local 373 m_value[col] = col_type(rhs[col]); in TMat44() 393 for (size_t col = 0; col < NUM_COLS; ++col) { in TMat44() local 395 m_value[col][row] = *rawArray++; in TMat44() 535 for (size_t col = 0; col < TMat44<T>::NUM_COLS; ++col) { variable 536 result += lhs[col] * rhs[col]; 552 for (size_t col = 0; col < TMat44<T>::NUM_COLS; ++col) { variable 553 result[col] = dot(lhs, rhs[col]);
|
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/ |
D | Matrix.java | 98 int col = i * 4; in mult4() local 101 sum += m[col + j] * src[j]; in mult4() 109 int col = i * 4; in mult3() local 110 double sum = m[col + 3]; in mult3() 112 sum += m[col + j] * src[j]; in mult3() 120 int col = i * 4; in mult3v() local 123 sum += m[col + j] * src[j]; in mult3v() 131 int col = i * 4; in mult4() local 134 sum += m[col + j] * src[j]; in mult4() 142 int col = i * 4; in mult3() local [all …]
|
/frameworks/base/libs/androidfw/tests/ |
D | CursorWindow_bench.cpp | 32 for (int col = 0; col < cols; col++) { in BM_CursorWindowWrite() local 33 w->putLong(row, col, 0xcafe); in BM_CursorWindowWrite() 64 for (int col = 0; col < cols; col++) { in BM_CursorWindowRead() local 65 w->getFieldSlot(row, col); in BM_CursorWindowRead()
|
/frameworks/av/media/codec2/sfplugin/tests/ |
D | CCodecBuffers_test.cpp | 222 for (int32_t col = 0; col < kWidth; ++col) { in TEST() local 223 *yPtr = ((row + col) & 0xFF); in TEST() 226 if (row < kHeight / 2 && col < kWidth / 2) { in TEST() 227 *uPtr = ((row + col + 1) & 0xFF); in TEST() 228 *vPtr = ((row + col + 2) & 0xFF); in TEST() 273 for (int32_t col = 0; col < kWidth; ++col) { in TEST() local 274 ASSERT_EQ((row + col) & 0xFF, *yPtr); in TEST() 276 if (row < kHeight / 2 && col < kWidth / 2) { in TEST() 277 ASSERT_EQ((row + col + 1) & 0xFF, *uPtr); in TEST() 278 ASSERT_EQ((row + col + 2) & 0xFF, *vPtr); in TEST() [all …]
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/animation/ |
D | AppearAnimationUtils.java | 116 for (int col = 0; col < columns.length; col++) { in startAnimations() 117 long delay = columns[col]; in startAnimations() 119 if (properties.maxDelayRowIndex == row && properties.maxDelayColIndex == col) { in startAnimations() 122 creator.createAnimation(objects[row][col], delay, mDuration, in startAnimations() 155 for (int col = 0; col < columns.length; col++) { in getDelays() 156 long delay = calculateDelay(row, col); in getDelays() 157 mProperties.delays[row][col] = delay; in getDelays() 158 if (items[row][col] != null && delay > maxDelay) { in getDelays() 160 mProperties.maxDelayColIndex = col; in getDelays() 168 protected long calculateDelay(int row, int col) { in calculateDelay() argument [all …]
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/ |
D | PrintOptionsLayout.java | 72 for (int col = 0; col < mColumnCount; col++) { in onMeasure() 73 final int childIndex = row * mColumnCount + col; in onMeasure() 138 for (int col = 0; col < mColumnCount; col++) { in onLayout() 142 childIndex = row * mColumnCount + (mColumnCount - col - 1); in onLayout() 144 childIndex = row * mColumnCount + col; in onLayout()
|
/frameworks/rs/ |
D | rsMatrix3x3.h | 28 inline float get(uint32_t col, uint32_t row) const { in get() 29 return m[col*3 + row]; in get() 32 inline void set(uint32_t col, uint32_t row, float v) { in set() 33 m[col*3 + row] = v; in set()
|
D | rsMatrix2x2.h | 28 inline float get(uint32_t col, uint32_t row) const { in get() 29 return m[col*2 + row]; in get() 32 inline void set(uint32_t col, uint32_t row, float v) { in set() 33 m[col*2 + row] = v; in set()
|
D | rsMatrix4x4.h | 28 float get(uint32_t col, uint32_t row) const { in get() 29 return m[col*4 + row]; in get() 32 void set(uint32_t col, uint32_t row, float v) { in set() 33 m[col*4 + row] = v; in set()
|
/frameworks/av/services/mediametrics/include/mediametricsservice/ |
D | StatsdLog.h | 46 size_t col = 0; variable 48 if (col == 8) { 49 col = 0; 55 ++col;
|
/frameworks/base/services/core/java/com/android/server/utils/ |
D | WatchedSparseBooleanMatrix.java | 198 public boolean get(int row, int col) { in get() argument 199 return get(row, col, false); in get() 206 public boolean get(int row, int col, boolean valueIfKeyNotFound) { in get() argument 208 int c = indexOfKey(col, false); in get() 220 public void put(int row, int col, boolean value) { in put() argument 222 int c = indexOfKey(col); in put() 231 c = indexOfKey(col, true); in put() 234 c = indexOfKey(col); in put() 337 private boolean valueAtInternal(int row, int col) { in valueAtInternal() argument 338 int element = row * mOrder + col; in valueAtInternal() [all …]
|
/frameworks/base/libs/androidfw/fuzz/cursorwindow_fuzzer/ |
D | cursorwindow_fuzzer.cpp | 52 for (auto col = 0; col < cols; col++) { in LLVMFuzzerTestOneInput() local 53 auto field = w->getFieldSlot(row, col); in LLVMFuzzerTestOneInput()
|
/frameworks/base/core/java/android/database/sqlite/ |
D | SQLiteRawStatement.java | 833 private static native int nativeColumnType(long stmt, int col); in nativeColumnType() argument 835 private static native String nativeColumnName(long stmt, int col); in nativeColumnName() argument 841 private static native int nativeColumnBytes(long stmt, int col); in nativeColumnBytes() argument 844 private static native byte[] nativeColumnBlob(long stmt, int col); in nativeColumnBlob() argument 846 private static native int nativeColumnBuffer(long stmt, int col, in nativeColumnBuffer() argument 849 private static native double nativeColumnDouble(long stmt, int col); in nativeColumnDouble() argument 851 private static native int nativeColumnInt(long stmt, int col); in nativeColumnInt() argument 853 private static native long nativeColumnLong(long stmt, int col); in nativeColumnLong() argument 855 private static native String nativeColumnText(long stmt, int col); in nativeColumnText() argument
|
/frameworks/base/location/java/android/location/ |
D | GnssAntennaInfo.java | 253 for (int col = 0; col < numColumns; col++) { in SphericalCorrections() 254 corrections[row][col] = in.readDouble(); in SphericalCorrections() 255 correctionUncertainties[row][col] = in.readDouble(); in SphericalCorrections() 340 for (int col = 0; col < mNumColumns; col++) { in writeToParcel() 341 dest.writeDouble(mCorrections[row][col]); in writeToParcel() 342 dest.writeDouble(mCorrectionUncertainties[row][col]); in writeToParcel()
|
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/ |
D | CSVFormatter.java | 30 for (String col : TrackerEntry.ATTRIBUTES) { in getHeader() 32 if (!TrackerEntry.ENTRY_TYPE.equals(col) && in getHeader() 33 !TrackerEntry.ID_COL.equals(col)) { in getHeader() 34 csvBuilder.append(col); in getHeader()
|
/frameworks/ex/widget/java/com/android/ex/widget/ |
D | StaggeredGridView.java | 150 public final int getMarginAbove(int col) { in getMarginAbove() argument 154 return mMargins[col * 2]; in getMarginAbove() 157 public final int getMarginBelow(int col) { in getMarginBelow() argument 161 return mMargins[col * 2 + 1]; in getMarginBelow() 164 public final void setMarginAbove(int col, int margin) { in setMarginAbove() argument 169 mMargins[col * 2] = margin; in setMarginAbove() 172 public final void setMarginBelow(int col, int margin) { in setMarginBelow() argument 177 mMargins[col * 2 + 1] = margin; in setMarginBelow() 520 for (int col = lp.column; col < colEnd; col++) { in recycleOffscreenViews() 521 final int colTop = top - rec.getMarginAbove(col - lp.column); in recycleOffscreenViews() [all …]
|
/frameworks/base/graphics/java/android/graphics/ |
D | Matrix44.java | 106 public float get(@IntRange(from = 0, to = 3) int row, @IntRange(from = 0, to = 3) int col) { in get() 107 if (row >= 0 && row < 4 && col >= 0 && col < 4) { in get() 108 return mBackingArray[row * 4 + col]; in get() 121 public void set(@IntRange(from = 0, to = 3) int row, @IntRange(from = 0, to = 3) int col, in set() 123 if (row >= 0 && row < 4 && col >= 0 && col < 4) { in set() 124 mBackingArray[row * 4 + col] = val; in set() 212 private static float dot(Matrix44 a, Matrix44 b, int row, int col) { in dot() argument 213 return (a.get(row, 0) * b.get(0, col)) in dot() 214 + (a.get(row, 1) * b.get(1, col)) in dot() 215 + (a.get(row, 2) * b.get(2, col)) in dot() [all …]
|
/frameworks/native/libs/vr/libdvrcommon/include/private/dvr/ |
D | numeric.h | 134 for (int col = 0; col < result.cols(); ++col) { in RandomInRange() local 135 result(row, col) = RandomInRange(lo(row, col), hi(row, col)); in RandomInRange()
|
/frameworks/base/libs/hwui/jni/ |
D | GIFMovie.cpp | 129 const GifColorType& col = cmap->Colors[*src]; in copyLine() local 130 *dst = SkPackARGB32(0xFF, col.Red, col.Green, col.Blue); in copyLine() 209 uint32_t col) in fillRect() argument 226 memset(dst, col, bytes); in fillRect() 400 const GifColorType& col = gif->SColorMap->Colors[gif->SBackGroundColor]; in onGetBitmap() local 401 bgColor = SkColorSetARGB(0xFF, col.Red, col.Green, col.Blue); in onGetBitmap()
|
/frameworks/av/cmds/stagefright/ |
D | jpeg.cpp | 76 for (int col = 0; col < width; col++) { in writeJpegFile() local
|
/frameworks/base/core/java/android/widget/ |
D | SimpleMonthView.java | 506 final int col = findClosestColumn(previouslyFocusedRect); in onFocusChanged() local 507 final int day = col - offset + 1; in onFocusChanged() 512 final int col = findClosestColumn(previouslyFocusedRect); in onFocusChanged() 514 final int day = col - offset + (DAYS_IN_WEEK * maxWeeks) + 1; in onFocusChanged() 657 for (int col = 0; col < DAYS_IN_WEEK; col++) { in drawDaysOfWeek() 658 final int colCenter = colWidth * col + colWidth / 2; in drawDaysOfWeek() 666 final String label = mDayOfWeekLabels[col]; in drawDaysOfWeek() 684 for (int day = 1, col = findDayOffset(); day <= mDaysInMonth; day++) { in drawDays() 685 final int colCenter = colWidth * col + colWidth / 2; in drawDays() 731 col++; in drawDays() [all …]
|