Home
last modified time | relevance | path

Searched refs:cell (Results 1 – 25 of 304) sorted by relevance

12345678910>>...13

/external/chromium/chrome/browser/ui/cocoa/
Dgradient_button_cell_unittest.mm25 scoped_nsobject<GradientButtonCell> cell([[GradientButtonCell alloc]
27 [view_ setCell:cell.get()];
38 [[view_ cell] setHoverAlpha:0.0];
40 [[view_ cell] setHoverAlpha:0.5];
42 [[view_ cell] setHoverAlpha:1.0];
48 GradientButtonCell* cell = [view_ cell];
49 [cell setMouseInside:YES animate:NO];
50 EXPECT_EQ([[view_ cell] hoverAlpha], 1.0);
52 [cell setMouseInside:NO animate:YES];
53 CGFloat alpha1 = [cell hoverAlpha];
[all …]
Dclickhold_button_cell_unittest.mm21 scoped_nsobject<ClickHoldButtonCell> cell(
23 [view_ setCell:cell.get()];
34 ClickHoldButtonCell* cell = static_cast<ClickHoldButtonCell*>([view_ cell]);
35 ASSERT_TRUE([cell isKindOfClass:[ClickHoldButtonCell class]]);
37 EXPECT_FALSE([cell enableClickHold]);
39 NSTimeInterval clickHoldTimeout = [cell clickHoldTimeout];
43 EXPECT_FALSE([cell trackOnlyInRect]);
44 EXPECT_TRUE([cell activateOnDrag]);
Dhyperlink_button_cell_unittest.mm21 scoped_nsobject<HyperlinkButtonCell> cell(
23 cell_ = cell.get();
28 void TestCellCustomization(HyperlinkButtonCell* cell) {
29 EXPECT_FALSE([cell isBordered]);
31 EXPECT_TRUE([cell showsBorderOnlyWhileMouseInside]);
32 EXPECT_TRUE([cell textColor]);
44 scoped_nsobject<HyperlinkButtonCell> cell([[HyperlinkButtonCell alloc] init]);
45 TestCellCustomization(cell.get());
51 cell.reset([[HyperlinkButtonCell alloc] initWithCoder:coder]);
52 TestCellCustomization(cell);
Dmenu_button.mm54 - (void)setCell:(NSCell*)cell {
55 [super setCell:cell];
67 [[self cell] setEnableClickHold:(menu != nil)];
73 [[self cell] setClickHoldTimeout:0.0]; // Make menu trigger immediately.
74 [[self cell] setAction:@selector(clickShowMenu:)];
75 [[self cell] setTarget:self];
77 [[self cell] setClickHoldTimeout:0.25]; // Default value.
88 ClickHoldButtonCell* cell = [self cell];
89 DCHECK([cell isKindOfClass:[ClickHoldButtonCell class]]);
90 [cell setClickHoldAction:@selector(dragShowMenu:)];
[all …]
/external/webkit/Source/WebCore/rendering/
DRenderTableSection.cpp189 void RenderTableSection::addCell(RenderTableCell* cell, RenderTableRow* row) in addCell() argument
191 int rSpan = cell->rowSpan(); in addCell()
192 int cSpan = cell->colSpan(); in addCell()
207 Length logicalHeight = cell->style()->logicalHeight(); in addCell()
249 ASSERT(cell); in addCell()
250 c.cells.append(cell); in addCell()
261 cell->setRow(m_cRow); in addCell()
262 cell->setCol(table()->effColToCol(col)); in addCell()
286 RenderTableCell* cell = current.primaryCell(); in setCellLogicalWidths() local
287 if (!cell || current.inColSpan) in setCellLogicalWidths()
[all …]
DRenderTableRow.cpp106 … RenderTableCell* cell = new (renderArena()) RenderTableCell(document() /* anonymous object */); in addChild() local
110 cell->setStyle(newStyle.release()); in addChild()
111 addChild(cell, beforeChild); in addChild()
112 cell->addChild(child); in addChild()
120 RenderTableCell* cell = toRenderTableCell(child); in addChild() local
124 section()->addCell(cell, this); in addChild()
127 RenderBox::addChild(cell, beforeChild); in addChild()
144 RenderTableCell* cell = toRenderTableCell(child); in layout() local
145 …!cell->needsLayout() && paginated && view()->layoutState()->pageLogicalHeight() && view()->layoutS… in layout()
146 cell->setChildNeedsLayout(true, false); in layout()
[all …]
DAutoTableLayout.cpp60 RenderTableCell* cell = current.primaryCell(); in recalcColumn() local
62 …bool cellHasContent = cell && !current.inColSpan && (cell->firstChild() || cell->style()->hasBorde… in recalcColumn()
66 if (current.inColSpan || !cell) in recalcColumn()
69 if (cell->colSpan() == 1) { in recalcColumn()
74 if (cell->preferredLogicalWidthsDirty()) in recalcColumn()
75 cell->computePreferredLogicalWidths(); in recalcColumn()
76 …columnLayout.minLogicalWidth = max(cell->minPreferredLogicalWidth(), columnLayout.minLogicalWidth); in recalcColumn()
77 if (cell->maxPreferredLogicalWidth() > columnLayout.maxLogicalWidth) { in recalcColumn()
78 columnLayout.maxLogicalWidth = cell->maxPreferredLogicalWidth(); in recalcColumn()
79 maxContributor = cell; in recalcColumn()
[all …]
/external/chromium/chrome/browser/ui/cocoa/bookmarks/
Dbookmark_button_cell_unittest.mm48 scoped_nsobject<BookmarkButtonCell> cell(
50 [view setCell:cell.get()];
54 NSSize size = [cell.get() cellSizeForBounds:r];
63 scoped_nsobject<BookmarkButtonCell> cell(
65 [view setCell:cell.get()];
73 [cell setBookmarkCellText:@" " image:image];
74 CGFloat two_space_width = [cell.get() cellSizeForBounds:r].width;
75 [cell setBookmarkCellText:@" " image:image];
76 CGFloat one_space_width = [cell.get() cellSizeForBounds:r].width;
77 [cell setBookmarkCellText:@"" image:image];
[all …]
Dbookmark_tree_browser_cell_unittest.mm28 BookmarkTreeBrowserCell* cell = [[[BookmarkTreeBrowserCell alloc]
30 [cell setMatrix:matrixMock_.get()];
31 [cell setTarget:targetMock_.get()];
32 [cell setAction:@selector(mockAction:)];
33 [cell setBookmarkNode:bookmarkNodeMock_.get()];
35 NSMatrix* testMatrix = [cell matrix];
37 id testTarget = [cell target];
39 SEL testAction = [cell action];
41 const BookmarkNode* testBookmarkNode = [cell bookmarkNode];
/external/webkit/Source/JavaScriptCore/heap/
DMarkStack.cpp57 inline void MarkStack::markChildren(JSCell* cell) in markChildren() argument
59 ASSERT(Heap::isMarked(cell)); in markChildren()
60 if (cell->structure()->typeInfo().type() < CompoundType) { in markChildren()
61 cell->JSCell::markChildren(*this); in markChildren()
65 if (!cell->structure()->typeInfo().overridesMarkChildren()) { in markChildren()
66 ASSERT(cell->isObject()); in markChildren()
68 asObject(cell)->markChildrenDirect(*this); in markChildren()
72 cell->markChildren(*this); in markChildren()
78 if (cell->vptr() == m_jsArrayVPtr) { in markChildren()
79 asArray(cell)->markChildrenDirect(*this); in markChildren()
[all …]
DMarkedSpace.h120 inline Heap* MarkedSpace::heap(JSCell* cell) in heap() argument
122 return MarkedBlock::blockFor(cell)->heap(); in heap()
125 inline bool MarkedSpace::isMarked(const JSCell* cell) in isMarked() argument
127 return MarkedBlock::blockFor(cell)->isMarked(cell); in isMarked()
130 inline bool MarkedSpace::testAndSetMarked(const JSCell* cell) in testAndSetMarked() argument
132 return MarkedBlock::blockFor(cell)->testAndSetMarked(cell); in testAndSetMarked()
135 inline void MarkedSpace::setMarked(const JSCell* cell) in setMarked() argument
137 MarkedBlock::blockFor(cell)->setMarked(cell); in setMarked()
DMarkedBlock.cpp74 JSCell* cell = reinterpret_cast<JSCell*>(&atoms()[i]); in sweep() local
76 … if (cell->structure() && cell->structure() != dummyMarkableCellStructure && !cell->isZombie()) { in sweep()
77 const ClassInfo* info = cell->classInfo(); in sweep()
78 cell->~JSCell(); in sweep()
79 … new (cell) JSZombie(*m_heap->globalData(), info, m_heap->globalData()->zombieStructure.get()); in sweep()
83 cell->~JSCell(); in sweep()
84 new (cell) JSCell(*m_heap->globalData(), dummyMarkableCellStructure); in sweep()
DHandleHeap.cpp77 JSCell* cell = node->slot()->asCell(); in markWeakHandles() local
78 if (Heap::isMarked(cell)) in markWeakHandles()
99 JSCell* cell = node->slot()->asCell(); in finalizeWeakHandles() local
100 if (Heap::isMarked(cell)) in finalizeWeakHandles()
161 JSCell* cell = value.asCell(); in isValidWeakNode() local
162 if (!cell || !cell->structure()) in isValidWeakNode()
166 if (cell->isZombie()) in isValidWeakNode()
/external/chromium/chrome/browser/ui/cocoa/location_bar/
Dautocomplete_text_field_cell_unittest.mm49 // Make sure this is wide enough to play games with the cell
57 scoped_nsobject<AutocompleteTextFieldCell> cell(
59 [cell setEditable:YES];
60 [cell setBordered:YES];
62 [cell clearDecorations];
64 [cell addLeftDecoration:&mock_left_decoration_];
67 [cell addRightDecoration:&mock_right_decoration0_];
68 [cell addRightDecoration:&mock_right_decoration1_];
70 [view_ setCell:cell.get()];
94 // Test display of various cell configurations.
[all …]
/external/chromium/chrome/browser/resources/net_internals/
Dutil.js176 var cell = new TablePrinterCell(cellText);
177 r.push(cell);
178 return cell;
197 var cell = new TablePrinterCell(headerText);
198 this.rows_[0].push(cell);
199 return cell;
244 var cell = this.getCell_(0, c);
245 if (!cell)
247 var spacerStr = makeRepeatedString('-', cell.text.length);
256 var cell = this.getCell_(r, c);
[all …]
/external/webkit/Source/WebCore/accessibility/
DAccessibilityTable.cpp154 RenderTableCell* cell = firstBody->primaryCellAt(row, col); in isDataTable() local
155 if (!cell) in isDataTable()
157 Node* cellNode = cell->node(); in isDataTable()
161 if (cell->width() < 1 || cell->height() < 1) in isDataTable()
182 RenderStyle* renderStyle = cell->style(); in isDataTable()
187 if ((cell->borderTop() > 0 && cell->borderBottom() > 0) in isDataTable()
188 || (cell->borderLeft() > 0 && cell->borderRight() > 0)) in isDataTable()
204 RenderObject* renderRow = cell->parent(); in isDataTable()
320 RenderTableCell* cell = tableSection->primaryCellAt(rowIndex, colIndex); in addChildren() local
321 if (!cell) in addChildren()
[all …]
DAccessibilityTableColumn.cpp97 AccessibilityObject* cell = rowChildren[i].get(); in headerObject() local
98 if (cell->ariaRoleAttribute() == ColumnHeaderRole) in headerObject()
99 return cell; in headerObject()
136 RenderTableCell* cell = 0; in headerObjectForSection() local
155 cell = testCell; in headerObjectForSection()
158 if (!cell) in headerObjectForSection()
161 return m_parentTable->axObjectCache()->getOrCreate(cell); in headerObjectForSection()
187 AccessibilityTableCell* cell = m_parentTable->cellForColumnAndRow(m_columnIndex, i); in addChildren() local
188 if (!cell) in addChildren()
192 if (m_children.size() > 0 && m_children.last() == cell) in addChildren()
[all …]
/external/chromium/chrome/browser/ui/cocoa/extensions/
Dchevron_menu_button_unittest.mm29 // |ChevronMenuButton exists entirely to override the cell class.
31 EXPECT_TRUE([[button_ cell] isKindOfClass:[ChevronMenuButtonCell class]]);
36 ChevronMenuButtonCell* cell = [button_ cell];
37 EXPECT_FALSE([cell showsBorderOnlyWhileMouseInside]);
38 EXPECT_FALSE([cell isMouseInside]);
40 [cell setShowsBorderOnlyWhileMouseInside:YES];
41 [cell mouseEntered:nil];
42 EXPECT_TRUE([cell isMouseInside]);
45 [cell mouseExited:nil];
46 EXPECT_FALSE([cell isMouseInside]);
/external/chromium/chrome/browser/ui/cocoa/find_bar/
Dfind_bar_text_field_unittest.mm34 // Make sure this is wide enough to play games with the cell
51 // Test that we have the right cell class.
53 EXPECT_TRUE([[field_ cell] isKindOfClass:[FindBarTextFieldCell class]]);
56 // Test that we get the same cell from -cell and
59 FindBarTextFieldCell* cell = [field_ findBarTextFieldCell];
60 EXPECT_EQ(cell, [field_ cell]);
61 EXPECT_TRUE(cell != nil);
83 // Test display of various cell configurations.
84 FindBarTextFieldCell* cell = [field_ findBarTextFieldCell];
85 [cell setActiveMatch:4 of:5];
[all …]
/external/guava/guava/src/com/google/common/collect/
DImmutableTable.java91 for (Cell<? extends R, ? extends C, ? extends V> cell : in copyOf()
97 cellSetBuilder.add(cellOf((R) cell.getRowKey(), in copyOf()
98 (C) cell.getColumnKey(), (V) cell.getValue())); in copyOf()
192 Cell<? extends R, ? extends C, ? extends V> cell) { in put() argument
193 if (cell instanceof Tables.ImmutableCell) { in put()
194 checkNotNull(cell.getRowKey()); in put()
195 checkNotNull(cell.getColumnKey()); in put()
196 checkNotNull(cell.getValue()); in put()
198 Cell<R, C, V> immutableCell = (Cell<R, C, V>) cell; in put()
201 put(cell.getRowKey(), cell.getColumnKey(), cell.getValue()); in put()
[all …]
/external/webkit/LayoutTests/fast/dom/HTMLTableRowElement/
DinsertCell-expected.txt3 cell inside table inside cell 0 cell inside table inside cell 1
5 If there was no crash, and you can see text above mentioning cell 1 as well as cell 0, the test pas…
/external/webkit/Source/WebCore/inspector/front-end/
DShowMoreDataGridNode.js59 var cell = document.createElement("td");
61 cell.style.setProperty("padding-left", (this.depth * this.dataGrid.indentWidth) + "px");
62 cell.appendChild(this.showNext);
64 cell.appendChild(this.showAll);
65 this._element.appendChild(cell);
72 cell = document.createElement("td");
73 this._element.appendChild(cell);
/external/icu4c/tools/toolutil/
Ducmstate.c333 int32_t entry, sum, state, cell, count; in sumUpStates() local
353 for(cell=0; cell<256; ++cell) { in sumUpStates()
354 entry=states->stateTable[state][cell]; in sumUpStates()
358 states->stateTable[state][cell]=MBCS_ENTRY_FINAL_SET_VALUE(entry, sum); in sumUpStates()
362 states->stateTable[state][cell]=MBCS_ENTRY_FINAL_SET_VALUE(entry, sum); in sumUpStates()
373 for(cell=0; cell<256; ++cell) { in sumUpStates()
374 entry=states->stateTable[state][cell]; in sumUpStates()
377 … states->stateTable[state][cell]=MBCS_ENTRY_TRANSITION_SET_OFFSET(entry, sum); in sumUpStates()
410 for(cell=0; cell<256; ++cell) { in sumUpStates()
411 entry=states->stateTable[state][cell]; in sumUpStates()
[all …]
/external/valgrind/main/memcheck/tests/
Dleak-pool.c9 struct cell struct
11 struct cell *next; argument
92 struct cell *cells_static[N];
97 struct cell *cells_local[N]; in main()
101 struct cell **cells = static_roots ? cells_static : cells_local; in main()
114 cells[i] = allocate_from_pool(p, sizeof(struct cell)); in main()
119 p->buf+(10 * sizeof(struct cell)), in main()
120 20 * sizeof(struct cell) + 2); in main()
/external/emma/core/java12/com/vladium/emma/report/html/
DReportGenerator.java201 final HTMLTable.ICell cell = coverage.newCell (); in visit() local
202 cell.setText (buf.toString (), true); in visit()
203 if (fail) cell.setClass (CSS_DATA_HIGHLIGHT); in visit()
380 final HTMLTable.ICell cell = coverage.newCell (); in visit() local
381 cell.setText (buf.toString (), true); in visit()
382 if (fail) cell.setClass (CSS_DATA_HIGHLIGHT); in visit()
497 final HTMLTable.ICell cell = coverage.newCell (); in visit() local
498 cell.setText (buf.toString (), true); in visit()
499 if (fail) cell.setClass (CSS_DATA_HIGHLIGHT); in visit()
674 final HTMLTable.ICell cell = coverage.newCell (); in visit() local
[all …]

12345678910>>...13