/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 | 364 for (size_t col = 0; col < NUM_COLS; ++col) { in TMat44() local 365 m_value[col] = col_type(rhs[col]); in TMat44() 385 for (size_t col = 0; col < NUM_COLS; ++col) { in TMat44() local 387 m_value[col][row] = *rawArray++; in TMat44() 527 for (size_t col = 0; col < TMat44<T>::NUM_COLS; ++col) { variable 528 result += lhs[col] * rhs[col]; 544 for (size_t col = 0; col < TMat44<T>::NUM_COLS; ++col) { variable 545 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/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/av/services/mediametrics/include/mediametricsservice/ |
D | StatsdLog.h | 44 size_t col = 0; variable 46 if (col == 8) { 47 col = 0; 53 ++col;
|
/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/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/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 | 127 const GifColorType& col = cmap->Colors[*src]; in copyLine() local 128 *dst = SkPackARGB32(0xFF, col.Red, col.Green, col.Blue); in copyLine() 207 uint32_t col) in fillRect() argument 224 memset(dst, col, bytes); in fillRect() 398 const GifColorType& col = gif->SColorMap->Colors[gif->SBackGroundColor]; in onGetBitmap() local 399 bgColor = SkColorSetARGB(0xFF, col.Red, col.Green, col.Blue); in onGetBitmap()
|
/frameworks/base/core/java/android/widget/ |
D | SimpleMonthView.java | 497 final int col = findClosestColumn(previouslyFocusedRect); in onFocusChanged() local 498 final int day = col - offset + 1; in onFocusChanged() 503 final int col = findClosestColumn(previouslyFocusedRect); in onFocusChanged() 505 final int day = col - offset + (DAYS_IN_WEEK * maxWeeks) + 1; in onFocusChanged() 648 for (int col = 0; col < DAYS_IN_WEEK; col++) { in drawDaysOfWeek() 649 final int colCenter = colWidth * col + colWidth / 2; in drawDaysOfWeek() 657 final String label = mDayOfWeekLabels[col]; in drawDaysOfWeek() 675 for (int day = 1, col = findDayOffset(); day <= mDaysInMonth; day++) { in drawDays() 676 final int colCenter = colWidth * col + colWidth / 2; in drawDays() 722 col++; in drawDays() [all …]
|
/frameworks/av/cmds/stagefright/ |
D | jpeg.cpp | 76 for (int col = 0; col < width; col++) { in writeJpegFile() local
|
/frameworks/rs/driver/runtime/ |
D | rs_matrix.c | 173 rsMatrixSet(rs_matrix4x4 *m, uint32_t col, uint32_t row, float v) { in rsMatrixSet() argument 174 m->m[col * 4 + row] = v; in rsMatrixSet() 178 rsMatrixGet(const rs_matrix4x4 *m, uint32_t col, uint32_t row) { in rsMatrixGet() argument 179 return m->m[col * 4 + row]; in rsMatrixGet() 183 rsMatrixSet(rs_matrix3x3 *m, uint32_t col, uint32_t row, float v) { in rsMatrixSet() argument 184 m->m[col * 3 + row] = v; in rsMatrixSet() 188 rsMatrixGet(const rs_matrix3x3 *m, uint32_t col, uint32_t row) { in rsMatrixGet() argument 189 return m->m[col * 3 + row]; in rsMatrixGet() 193 rsMatrixSet(rs_matrix2x2 *m, uint32_t col, uint32_t row, float v) { in rsMatrixSet() argument 194 m->m[col * 2 + row] = v; in rsMatrixSet() [all …]
|
/frameworks/native/opengl/tests/hwc/ |
D | hwcStress.cpp | 592 for (unsigned int col = 0; col < cols; col++) { in initFrames() local 596 frames[row][col] = new GraphicBuffer(w, h, format, texUsage); in initFrames() 597 if ((rv = frames[row][col]->initCheck()) != NO_ERROR) { in initFrames() 604 hwcTestFillColor(frames[row][col].get(), color, alpha); in initFrames() 607 frames[row][col].get(), frames[row][col]->handle, in initFrames()
|
/frameworks/base/core/java/android/hardware/camera2/params/ |
D | ColorSpaceTransform.java | 279 for (int col = 0; col < COLUMNS; col++, i += RATIONAL_SIZE) { in toShortString() 285 if (col < COLUMNS - 1) { in toShortString()
|