/cts/tests/tests/view/src/android/view/cts/util/ |
DrawingUtils.java | 68 // Compare bitmap pixels (row-wise) 72 for (int row = 0; row < viewHeight; row++) { 73 bitmap.getPixels(rowPixels, 0, viewWidth, 0, row, viewWidth, 1); 74 goldenBitmap.getPixels(rowGoldenPixels, 0, viewWidth, 0, row, viewWidth, 1); 85 + "] but at position (" + row + "," + column + ") found ["
|
/external/ceres-solver/internal/ceres/ |
block_random_access_dense_matrix_test.cc | 53 int row; local 58 m.GetCell(i, j, &row, &col, &row_stride, &col_stride); 61 EXPECT_EQ(row, row_idx); 83 int row; local 88 i, j, &row, &col, &row_stride, &col_stride); 90 row, col, blocks[i], blocks[j]) =
|
block_jacobian_writer.cc | 165 // Construct the cells in each row. 172 CompressedRow* row = &bs->rows[i]; local 174 row->block.size = residual_block->NumResiduals(); 175 row->block.position = row_block_position; 176 row_block_position += row->block.size; 178 // Size the row by the number of active parameters in this residual. 186 row->cells.resize(num_active_parameter_blocks); 188 // Add layout information for the active parameters in this row. 193 Cell& cell = row->cells[k]; 203 sort(row->cells.begin(), row->cells.end(), CellLessThan) [all...] |
block_random_access_dense_matrix.cc | 68 int* row, 72 *row = block_layout_[row_block_id];
|
/external/eigen/test/ |
jacobi.cpp | 43 VERIFY_IS_APPROX(b.row(p), c * a.row(p) + numext::conj(s) * a.row(q)); 44 VERIFY_IS_APPROX(b.row(q), -s * a.row(p) + numext::conj(c) * a.row(q));
|
product_syrk.cpp | 103 VERIFY_IS_APPROX((m2.template selfadjointView<Lower>().rankUpdate(m1.row(c),s1)._expression()), 104 ((s1 * m1.row(c).transpose() * m1.row(c).transpose().adjoint()).eval().template triangularView<Lower>().toDenseMatrix())); 106 VERIFY_IS_APPROX((rm2.template selfadjointView<Lower>().rankUpdate(m1.row(c),s1)._expression()), 107 ((s1 * m1.row(c).transpose() * m1.row(c).transpose().adjoint()).eval().template triangularView<Lower>().toDenseMatrix())); 109 VERIFY_IS_APPROX((m2.template triangularView<Lower>() += s1 * m3.row(c).transpose() * m1.row(c).transpose().adjoint()).nestedExpression(), 110 ((s1 * m3.row(c).transpose() * m1.row(c).transpose().adjoint()).eval().template triangularView<Lower>().toDenseMatrix())) [all...] |
vectorwiseop.cpp | 46 VERIFY_IS_APPROX(m2.row(r), m1.row(r) + rowvec); 64 VERIFY_IS_APPROX(m2.row(r), m1.row(r) - rowvec); 82 VERIFY_IS_APPROX(m2.row(r), m1.row(r) * rowvec); 100 VERIFY_IS_APPROX(m2.row(r), m1.row(r) / rowvec); 153 VERIFY_IS_APPROX(m2.row(r), m1.row(r) + rowvec) [all...] |
/external/libopus/silk/ |
macros.h | 94 /* Row based */ 95 #define matrix_ptr(Matrix_base_adr, row, column, N) \ 96 (*((Matrix_base_adr) + ((row)*(N)+(column)))) 97 #define matrix_adr(Matrix_base_adr, row, column, N) \ 98 ((Matrix_base_adr) + ((row)*(N)+(column))) 102 # define matrix_c_ptr(Matrix_base_adr, row, column, M) \ 103 (*((Matrix_base_adr) + ((row)+(M)*(column))))
|
/external/opencv3/3rdparty/libpng/ |
pngwtran.c | 2 /* pngwtran.c - transforms the data in a row for PNG writers 37 /* png_uint_32 width; width of row */ 38 /* png_size_t rowbytes; number of bytes in row */ 43 png_ptr->row_buf + 1); /* start of pixel data for row */ 101 png_do_pack(png_row_infop row_info, png_bytep row, png_uint_32 bit_depth) 117 sp = row; 118 dp = row; 154 sp = row; 155 dp = row; 193 sp = row; [all...] |
/external/opencv3/modules/imgproc/src/ |
connectedcomponents.cpp | 84 int *row = (int *) &statsv.at<int>(l, 0); local 85 row[CC_STAT_LEFT] = INT_MAX; 86 row[CC_STAT_TOP] = INT_MAX; 87 row[CC_STAT_WIDTH] = INT_MIN; 88 row[CC_STAT_HEIGHT] = INT_MIN; 89 row[CC_STAT_AREA] = 0; 94 int *row = &statsv.at<int>(l, 0); local 95 row[CC_STAT_LEFT] = MIN(row[CC_STAT_LEFT], c); 96 row[CC_STAT_WIDTH] = MAX(row[CC_STAT_WIDTH], c) 106 int *row = &statsv.at<int>(l, 0); local [all...] |
/external/pdfium/third_party/libtiff/ |
tif_next.c | 54 uint8* row; local 74 for (row = buf; cc > 0 && occ > 0; occ -= scanline, row += scanline) { 83 _TIFFmemcpy(row, bp, scanline); 99 _TIFFmemcpy(row+off, bp+4, n); 116 op = row;
|
/external/pdfium/third_party/lpng_v163/ |
pngwtran.c | 2 /* pngwtran.c - transforms the data in a row for PNG writers
36 /* png_uint_32 width; width of row */
37 /* png_size_t rowbytes; number of bytes in row */
42 png_ptr->row_buf + 1); /* start of pixel data for row */
100 png_do_pack(png_row_infop row_info, png_bytep row, png_uint_32 bit_depth)
116 sp = row;
117 dp = row;
153 sp = row;
154 dp = row;
192 sp = row;
[all...] |
/external/zxing/qr_scanner/src/com/google/zxing/client/android/ |
PlanarYUVLuminanceSource.java | 60 public byte[] getRow(int y, byte[] row) { 62 throw new IllegalArgumentException("Requested row is outside the image: " + y); 65 if (row == null || row.length < width) { 66 row = new byte[width]; 69 System.arraycopy(yuvData, offset, row, 0, width); 70 return row; 94 // Otherwise copy one cropped row at a time.
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
KeyboardBuilder.java | 60 * <Row row_attributes*> 61 * <!-- Row Content --> 66 * </Row> 84 * <Row row_attributes*> 86 * </Row> 128 private static final String TAG_ROW = "Row"; 305 final KeyboardRow row = parseRowAttributes(parser); local 308 startRow(row); 310 parseRowContent(parser, row, skip); 355 private void parseRowContent(final XmlPullParser parser, final KeyboardRow row, 422 final KeyboardRow row = new KeyboardRow(mResources, mParams, parser, mCurrentY); local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/uimodel/ |
UiSeparatorAttributeNode.java | 78 Composite row = toolkit.createComposite(parent); local 84 row.setLayoutData(twd); 85 row.setLayout(new GridLayout(3, false /* equal width */)); 87 Label sep = toolkit.createSeparator(row, SWT.HORIZONTAL); 92 Label label = toolkit.createLabel(row, getDescriptor().getXmlLocalName()); 95 sep = toolkit.createSeparator(row, SWT.HORIZONTAL);
|
/external/skia/src/core/ |
SkAAClip.cpp | 93 return segments * 2; // each segment is row[0] + row[1] (n + alpha) 104 uint8_t* row = head->data(); local 107 row[0] = n; 108 row[1] = 0xFF; 110 row += 2; 177 static size_t compute_row_length(const uint8_t row[], int width) { 178 const uint8_t* origRow = row; 180 int n = row[0]; 183 row += 2 213 const uint8_t* row = head->data() + yoff->fOffset; local 490 uint8_t* row = base + yoff->fOffset; local 741 const uint8_t* row = head->data() + yoff->fOffset; local 921 const uint8_t* row = this->findRow(top, &lastY); local 968 Row* row = fRows.begin(); local 986 Row* row = fCurrRow; local 1074 const Row* row = fRows.begin(); local 1128 const Row& row = fRows[y]; local 1149 const Row& row = fRows[i]; local 1917 const uint8_t* row = fAAClip->findRow(y); local 1985 const uint8_t* row = fAAClip->findRow(y); local 2003 const uint8_t* row = fAAClip->findRow(y, &lastY); local 2202 const uint8_t* row = fAAClip->findRow(y, &localStopY); local [all...] |
/external/opencv3/modules/core/src/ |
out.cpp | 64 int row; member in class:cv::FormattedImpl 73 void valueToStr8u() { sprintf(buf, "%3d", (int)mtx.ptr<uchar>(row, col)[cn]); } 74 void valueToStr8s() { sprintf(buf, "%3d", (int)mtx.ptr<schar>(row, col)[cn]); } 75 void valueToStr16u() { sprintf(buf, "%d", (int)mtx.ptr<ushort>(row, col)[cn]); } 76 void valueToStr16s() { sprintf(buf, "%d", (int)mtx.ptr<short>(row, col)[cn]); } 77 void valueToStr32s() { sprintf(buf, "%d", mtx.ptr<int>(row, col)[cn]); } 78 void valueToStr32f() { sprintf(buf, floatFormat, mtx.ptr<float>(row, col)[cn]); } 79 void valueToStr64f() { sprintf(buf, floatFormat, mtx.ptr<double>(row, col)[cn]); } 96 row = col = cn =0; 132 row = 0 [all...] |
/external/libmpeg2/common/ |
ideint.c | 120 * Start row 144 WORD32 i, row, col; local 169 /* Start row has to be multiple of 8 */ 259 for(row = comp_row_start; row < comp_row_end; row++) 262 pu1_out += (ps_out_frm->ai4_strd[i] * row << 3); 265 pu1_prv += (ps_prv_fld->ai4_strd[i] * row << 2); 277 pu1_top += (cur_strd * row << 2); 278 pu1_bot += (cur_strd * row << 2) [all...] |
/external/libvpx/libvpx/vp9/decoder/ |
vp9_dthread.c | 63 int row) { 71 if (ref_buf->row >= row && ref_buf->buf.corrupted != 1) return; 87 ref_buf->frame_worker_owner, row, ref_buf->row); 92 while (ref_buf->row < row && pbi->cur_buf == ref_buf && 110 (void)row; 115 void vp9_frameworker_broadcast(RefCntBuffer *const buf, int row) { 123 buf->frame_worker_owner, row); [all...] |
/external/libvterm/src/ |
screen.c | 65 /* buffer for a single screen row used in scrollback storage callbacks */ 71 static inline ScreenCell *getcell(const VTermScreen *screen, int row, int col) 73 if(row < 0 || row >= screen->rows) 77 return screen->buffer + (screen->cols * row) + col; 84 for(int row = 0; row < new_rows; row++) { 86 ScreenCell *new_cell = new_buffer + row*new_cols + col; 88 if(buffer && row < screen->rows && col < screen->cols [all...] |
/external/pdfium/xfa/src/fxbarcode/oned/ |
BC_OnedCode128Reader.cpp | 85 CFX_Int32Array* CBC_OnedCode128Reader::FindStartPattern(CBC_CommonBitArray* row,
87 int32_t width = row->GetSize();
90 if (row->Get(rowOffset)) {
102 FX_BOOL pixel = row->Get(i);
120 row->IsRange(std::max(0, patternStart - (i - patternStart) / 2),
149 int32_t CBC_OnedCode128Reader::DecodeCode(CBC_CommonBitArray* row,
153 RecordPattern(row, rowOffset, counters, e);
174 CBC_CommonBitArray* row,
177 CFX_Int32Array* startPatternInfo = FindStartPattern(row, e);
221 code = DecodeCode(row, &counters, nextStart, e); [all...] |
/cts/apps/CtsVerifier/include/colorchecker/ |
testingimage.h | 26 // Constructs a new instance with the inputImage's row and column counts. 40 int getPixelValue(int row, int column, int channel) const; 41 Vec3i getPixelValue(int row, int column) const;
|
/external/autotest/frontend/client/src/autotest/common/table/ |
SelectionManager.java | 41 public boolean isRowSelectable(JSONObject row); 55 JSONObject row = attachedTable.getRow(i); local 56 if (!isSelectable(row)) { 59 if (selectedObjects.contains(row)) { 68 private boolean isSelectable(JSONObject row) { 70 return selectableRowFilter.isRowSelectable(row); 175 public Widget createWidget(int row, int cell, JSONObject rowObject) { 184 return new TableClickWidget(checkBox, this, row, cell);
|
/external/autotest/tko/ |
query_history.cgi | 23 for row in reversed(rows): 24 (time_created, user_comment, tko_url) = row
|
/external/chromium-trace/catapult/tracing/tracing/ui/base/ |
list_and_associated_view.css | 7 -webkit-flex-direction: row;
|