/cts/tests/tests/widget/src/android/widget/cts/ |
SimpleCursorTreeAdapterTest.java | 175 * @param rowCount the row count 188 Object[] row = new Object[colCount + 1]; local 191 row[j] = prefix + i + "" + j; 193 row[colCount] = i; 194 cursor.addRow(row);
|
/cts/tools/dasm/src/java_cup/runtime/ |
lr_parser.java | 379 * Within each row, a list of index, value pairs are given (as sequential 381 * (denoted with a symbol index of -1). To find the proper entry in a row 382 * we do a linear or binary search (depending on the size of the row). 391 short[] row = action_tab[state]; local 394 if (row.length < 20) 395 for (probe = 0; probe < row.length; probe++) 398 tag = row[probe++]; 402 return row[probe]; 409 last = (row.length-1)/2 - 1; /* leave out trailing default entry */ 413 if (sym == row[probe*2] 445 short[] row = reduce_tab[state]; local [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/media/ |
AudioFxDemo.java | 121 LinearLayout row = new LinearLayout(this); local 122 row.setOrientation(LinearLayout.HORIZONTAL); 155 row.addView(minDbTextView); 156 row.addView(bar); 157 row.addView(maxDbTextView); 159 mLinearLayout.addView(row);
|
/external/ceres-solver/internal/ceres/ |
visibility_based_preconditioner.cc | 238 // Iterate over each row of the matrix. The block structure of the 240 // blocks. Thus all row blocks containing an e_block/point occur 242 // parameter block in each row block. These structural assumptions 261 const CompressedRow& row = bs.rows[r]; local 262 if (row.cells.front().block_id != e_block_id) { 266 // Iterate over the blocks in the row, ignoring the first block 269 for (int c = 1; c < row.cells.size(); ++c) { 270 const Cell& cell = row.cells[c]; 292 const CompressedRow& row = bs.rows[r]; local 293 CHECK_GE(row.cells.front().block_id, num_eliminate_blocks) [all...] |
/external/chromium/base/metrics/ |
stats_table.cc | 44 // If the first character of the counter_name is '\0', then that row is 133 int* row(int counter_id) const { function in class:base::StatsTable::Private 379 int* row = impl_->row(counter_id); local 380 return &(row[slot_id-1]); 399 int* row = impl_->row(index); local 402 rv += row[slot_id]; 415 int row = FindCounter(name); local 416 if (!row) [all...] |
/external/chromium/chrome/browser/history/ |
history_backend_unittest.cc | 122 URLRow row; 123 URLID id = backend_->db()->GetRowForURL(url, &row); 308 // The second row should be deleted. 422 // Unstar row 1. 460 // A row should have been added for the url. 461 URLRow row; local 462 URLID url_id = backend_->db()->GetRowForURL(url, &row); 466 ASSERT_EQ(1, row.typed_count()); 494 ASSERT_EQ(0, backend_->db()->GetRowForURL(url, &row)); 601 // Fetch the row information about stripped url from history db 685 URLRow row; local 718 URLRow row; local 758 URLRow row; local [all...] |
/external/chromium_org/ash/wm/ |
window_selector.cc | 474 // Find the minimum number of windows per row that will fit all of the 495 int row = i / columns; local 497 window_size.height() * row + y_offset,
|
/external/chromium_org/base/metrics/ |
stats_table.cc | 44 // If the first character of the counter_name is '\0', then that row is 133 int* row(int counter_id) const { function in class:base::StatsTable::Private 379 int* row = impl_->row(counter_id); local 380 return &(row[slot_id-1]); 399 int* row = impl_->row(index); local 402 rv += row[slot_id]; 415 int row = FindCounter(name); local 416 if (!row) [all...] |
/external/chromium_org/chrome/browser/history/android/ |
android_provider_backend.cc | 41 // Android framework assumes 'folder' column exist in the table, the row is 43 // has to be added and set as 0 when the row is bookmark. 73 bool IsHistoryAndBookmarkRowValid(const HistoryAndBookmarkRow& row) { 75 DCHECK(row.is_value_set_explicitly(HistoryAndBookmarkRow::RAW_URL) == 76 row.is_value_set_explicitly(HistoryAndBookmarkRow::URL)); 87 if (row.is_value_set_explicitly(HistoryAndBookmarkRow::LAST_VISIT_TIME) && 88 row.last_visit_time() > Time::Now()) 91 if (row.is_value_set_explicitly(HistoryAndBookmarkRow::CREATED) && 92 row.created() > Time::Now()) 95 if (row.is_value_set_explicitly(HistoryAndBookmarkRow::LAST_VISIT_TIME) & 378 HistoryAndBookmarkRow row = values; local 894 TableIDRow row; local [all...] |
/external/chromium_org/chrome/browser/history/ |
expire_history_backend.cc | 401 // Add the URL row to the affected URL list. 405 URLRow row; local 406 if (!main_db_->GetURLRow(visits[i].url_id, &row)) 408 dependencies->affected_urls[visits[i].url_id] = row; 459 // This row is not in the archived DB, add it. 502 continue; // URL row doesn't exist in the database. 548 URLRow row; // Row in the main DB. local 550 if (!main_db_->GetURLRow(visits[i].url_id, &row) || 551 !(archived_id = ArchiveOneURL(row))) { [all...] |
in_memory_url_index_unittest.cc | 112 bool UpdateURL(const URLRow& row); 177 bool InMemoryURLIndexTest::UpdateURL(const URLRow& row) { 179 history_service_, row, url_index_->languages_, 243 URLRow row; local 244 history_database_->FillURLRow(statement, &row); 246 for (int64 i = row.last_visit().ToInternalValue(); i > 0; --i) 248 row.set_last_visit(last_visit); 249 history_database_->UpdateURLRow(row.id(), row); 263 VisitRow row; local [all...] |
/external/chromium_org/skia/ext/ |
convolver.cc | 40 // by calling AdvanceRow. It will keep track of which row in the buffer it 44 // The number of pixels in each row is given in |source_row_pixel_width|. 60 // Moves to the next row in the buffer, returning a pointer to the beginning 63 unsigned char* row = &buffer_[next_row_ * row_byte_width_]; local 66 // Set the pointer to the next row to use, wrapping around if necessary. 70 return row; 81 // Row 0 Coord 8 82 // Row 1 Coord 9 83 // Row 2 Coord 6 <- next_row_ = 2, next_row_coordinate_ = 10. 84 // Row 3 Coord [all...] |
convolver_unittest.cc | 421 int row = i / src_row_stride; local 426 } else if (row == 0 || col == 0 || 427 col == kImgWidth - 1 || row == kImgHeight - 1) { 429 } else if (row == 1 || col == 1 || 430 col == kImgWidth - 2 || row == kImgHeight - 2) {
|
/external/chromium_org/third_party/WebKit/Source/core/accessibility/ |
AccessibilityTable.cpp | 168 for (int row = 0; row < numRows; ++row) { 172 RenderTableCell* cell = firstBody->primaryCellAt(row, col); 187 // If the first row is comprised of all <th> tags, assume it is a data table. 188 if (!row && isTHCell) 236 if (row < 5 && row == alternatingRowColorCount) { 249 if (!row && headersInFirstRowCount == numCols && numCols > 1) 273 // Check if there is an alternating row background color indicating a zebra striped style pattern 357 AccessibilityTableRow* row = static_cast<AccessibilityTableRow*>(rowObject); local [all...] |
/external/chromium_org/third_party/WebKit/Source/core/editing/ |
DeleteSelectionCommand.cpp | 58 static bool isTableRowEmpty(Node* row) 60 if (!isTableRow(row)) 63 for (Node* child = row->firstChild(); child; child = child->nextSibling()) 671 Node* row = m_endTableRow->previousSibling(); local 684 Node* row = m_startTableRow->nextSibling(); local [all...] |
/external/chromium_org/third_party/WebKit/Source/core/platform/image-decoders/png/ |
PNGImageDecoder.cpp | 91 // Called when a row is ready. 436 * this function is called for every row in the image. If the 438 * this function will be called for every row in every pass. 440 * When the row is not changed, the new_row variable will be NULL. 446 // Nothing to do if the row is unchanged, or the row is outside 458 * png_progressive_combine_row() passing in the row and the 459 * old row. You can call this function for NULL rows (it will 468 * the old row, so the rows do not have to be initialized. After 470 * to pass the current row, and the function will combine th 476 png_bytep row = rowBuffer; local [all...] |
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
RenderTableSection.h | 78 void addCell(RenderTableCell*, RenderTableRow* row); 110 typedef Vector<CellStruct> Row; 119 Row row; member in struct:WebCore::FINAL::RowStruct 162 CellStruct& cellAt(unsigned row, unsigned col) { return m_grid[row].row[col]; } 163 const CellStruct& cellAt(unsigned row, unsigned col) const { return m_grid[row].row[col]; [all...] |
/external/chromium_org/third_party/libpng/ |
png.c | 588 int row; local 589 for (row = 0; row < (int)info_ptr->height; row++) 591 png_free(png_ptr, info_ptr->row_pointers[row]); 592 info_ptr->row_pointers[row] = NULL;
|
pngread.c | 574 "Ignoring extra png_read_update_info() call; row buffer not reallocated"); 599 png_read_row(png_structp png_ptr, png_bytep row, png_bytep dsp_row) 610 png_debug2(1, "in png_read_row (row %lu, pass %d)", 650 /* If interlaced and we do not need a new row, combine row and return */ 727 png_error(png_ptr, "Invalid attempt to read row data"); 813 if (row != NULL) 814 png_combine_row(png_ptr, row, 820 if (row != NULL) 821 png_combine_row(png_ptr, row, 0xff) 1361 int row; local [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/ |
lp_rast.c | 248 uint16_t *row = (uint16_t *)dst; local 250 *row++ = (uint16_t) clear_value; 256 uint16_t *row = (uint16_t *)dst; local 258 uint16_t tmp = ~clear_mask & *row; 259 *row++ = clear_value | tmp; 268 uint32_t *row = (uint32_t *)dst; local 270 *row++ = clear_value; 276 uint32_t *row = (uint32_t *)dst; local 278 uint32_t tmp = ~clear_mask & *row; 279 *row++ = clear_value | tmp [all...] |
/external/chromium_org/third_party/skia/src/core/ |
SkBitmapProcState.cpp | 567 const SkPMColor* row = s.fBitmap->getAddr32(0, iy); local 572 sk_memset32(colors, row[0], n); 584 memcpy(colors, row + ix, n * sizeof(SkPMColor)); 593 sk_memset32(colors, row[maxX], count); 641 const SkPMColor* row = s.fBitmap->getAddr32(0, iy); local 646 memcpy(colors, row + ix, n * sizeof(SkPMColor)); [all...] |
/external/chromium_org/ui/views/controls/ |
scroll_view.cc | 540 // Align the bottom most row to the top of the view. 547 // Align the row on the previous page to to the top of the view. 562 RowInfo row = GetRowInfo(y); local 564 return row.height - (y - row.origin); 565 } else if (y == row.origin) { 566 row = GetRowInfo(std::max(0, row.origin - 1)); 567 return y - row.origin; 569 return y - row.origin [all...] |
/external/chromium_org/v8/benchmarks/spinning-balls/ |
v.js | 380 var row = document.createElement("tr"); 385 row.appendChild(time); 386 row.appendChild(count); 387 table.appendChild(row); 444 function row(a, b) { 454 table.appendChild(row(text("Time limit in seconds"), this.timelimit)); 459 table.appendChild(row(text("Autoscale pauses plot"), this.autoscale));
|
/external/eigen/Eigen/src/SparseCore/ |
SparseVector.h | 88 inline Scalar coeff(Index row, Index col) const 90 eigen_assert((IsColVector ? col : row)==0); 91 return coeff(IsColVector ? row : col); 95 inline Scalar& coeffRef(Index row, Index col) 97 eigen_assert((IsColVector ? col : row)==0); 98 return coeff(IsColVector ? row : col); 140 inline Scalar& insert(Index row, Index col) 142 Index inner = IsColVector ? row : col; 143 Index outer = IsColVector ? col : row; 353 inline Index row() const { return IsColVector ? index() : 0; function in class:Eigen::SparseVector::InnerIterator 385 inline Index row() const { return IsColVector ? index() : 0; } function in class:Eigen::SparseVector::ReverseInnerIterator [all...] |
/external/emma/core/java12/com/vladium/emma/report/lcov/ |
ReportGenerator.java | 165 row("SF:".concat(item.getFullVMName())); 171 row("end_of_record"); 244 row("FN:" + method.getFirstLine() + "," + className + "::" + mname); 245 row("FNDA:" + (covered ? 1 : 0) + "," + className + "::" + mname); 276 row("DA:" + l + ",0"); 281 row("DA:" + l + ",1"); 285 row("DA:" + l + ",1"); 317 private void row(final StringBuffer str) method in class:ReportGenerator 335 private void row(final String str) method in class:ReportGenerator
|