Searched refs:cell (Results 76 - 100 of 270) sorted by relevance

1234567891011

/external/chromium_org/third_party/WebKit/PerformanceTests/resources/
H A Djquery.tablesorter.min.js4 var firstAvailCol;if(typeof(matrix[rowIndex])=="undefined"){matrix[rowIndex]=[];}for(var k=0;k<matrix[rowIndex].length+1;k++){if(typeof(matrix[rowIndex][k])=="undefined"){firstAvailCol=k;break;}}lookup[cellId]=firstAvailCol;for(var k=rowIndex;k<rowIndex+rowSpan;k++){if(typeof(matrix[k])=="undefined"){matrix[k]=[];}var matrixrow=matrix[k];for(var l=firstAvailCol;l<firstAvailCol+colSpan;l++){matrixrow[l]="x";}}}}return lookup;}function checkCellColSpan(table,rows,row){var arr=[],r=table.tHead.rows,c=r[row].cells;for(var i=0;i<c.length;i++){var cell=c[i];if(cell.colSpan>1){arr=arr.concat(checkCellColSpan(table,headerArr,row++));}else{if(table.tHead.length==1||(cell.rowSpan>1||!r[row+1])){arr.push(cell);}}}return arr;};function checkHeaderMetadata(cell){if(($.metadata)&&($(cell).metadata().sorter===false)){return true;};return false;}function checkHeaderOptions(table,i){if((table.config.headers[i])&&(table.config.headers[i].sorter===false)){return true;};return false;}function checkHeaderOptionsSortingLocked(table,i){if((table.config.headers[i])&&(table.config.headers[i].lockedOrder))return table.config.headers[i].lockedOrder;return false;}function applyWidget(table){var c=table.config.widgets;var l=c.length;for(var i=0;i<l;i++){getWidgetById(c[i]).format(table);}}function getWidgetById(name){var l=widgets.length;for(var i=0;i<l;i++){if(widgets[i].id.toLowerCase()==name.toLowerCase()){return widgets[i];}}};function formatSortingOrder(v){if(typeof(v)!="Number"){return(v.toLowerCase()=="desc")?1:0;}else{return(v==1)?1:0;}}function isValueInArray(v,a){var l=a.length;for(var i=0;i<l;i++){if(a[i][0]==v){return true;}}return false;}function setHeadersCss(table,$headers,list,css){$headers.removeClass(css[0]).removeClass(css[1]);var h=[];$headers.each(function(offset){if(!this.sortDisabled){h[this.column]=$(this);}});var l=list.length;for(var i=0;i<l;i++){h[list[i][0]].addClass(css[list[i][1]]);}}function fixColumnWidth(table,$headers){var c=table.config;if(c.widthFixed){var colgroup=$('<colgroup>');$("tr:first td",table.tBodies[0]).each(function(){colgroup.append($('<col>').css('width',$(this).width()));});$(table).prepend(colgroup);};}function updateHeaderSortCount(table,sortList){var c=table.config,l=sortList.length;for(var i=0;i<l;i++){var s=sortList[i],o=c.headerList[s[0]];o.count=s[1];o.count++;}}function multisort(table,sortList,cache){if(table.config.debug){var sortTime=new Date();}var dynamicExp="var sortWrapper = function(a,b) {",l=sortList.length;for(var i=0;i<l;i++){var c=sortList[i][0];var order=sortList[i][1];var s=(table.config.parsers[c].type=="text")?((order==0)?makeSortFunction("text","asc",c):makeSortFunction("text","desc",c)):((order==0)?makeSortFunction("numeric","asc",c):makeSortFunction("numeric","desc",c));var e="e"+i;dynamicExp+="var "+e+" = "+s;dynamicExp+="if("+e+") { return "+e+"; } ";dynamicExp+="else { ";}var orgOrderCol=cache.normalized[0].length-1;dynamicExp+="return a["+orgOrderCol+"]-b["+orgOrderCol+"];";for(var i=0;i<l;i++){dynamicExp+="}; ";}dynamicExp+="return 0; ";dynamicExp+="}; ";if(table.config.debug){benchmark("Evaling expression:"+dynamicExp,new Date());}eval(dynamicExp);cache.normalized.sort(sortWrapper);if(table.config.debug){benchmark("Sorting on "+sortList.toString()+" and dir "+order+" time:",sortTime);}return cache;};function makeSortFunction(type,direction,index){var a="a["+index+"]",b="b["+index+"]";if(type=='text'&&direction=='asc'){return"("+a+" == "+b+" ? 0 : ("+a+" === null ? Number.POSITIVE_INFINITY : ("+b+" === null ? Number.NEGATIVE_INFINITY : ("+a+" < "+b+") ? -1 : 1 )));";}else if(type=='text'&&direction=='desc'){return"("+a+" == "+b+" ? 0 : ("+a+" === null ? Number.POSITIVE_INFINITY : ("+b+" === null ? Number.NEGATIVE_INFINITY : ("+b+" < "+a+") ? -1 : 1 )));";}else if(type=='numeric'&&direction=='asc'){return"("+a+" === null && "+b+" === null) ? 0 :("+a+" === null ? Number.POSITIVE_INFINITY : ("+b+" === null ? Number.NEGATIVE_INFINITY : "+a+" - "+b+"));";}else if(type=='numeric'&&direction=='desc'){return"("+a+" === null && "+b+" === null) ? 0 :("+a+" === null ? Number.POSITIVE_INFINITY : ("+b+" === null ? Number.NEGATIVE_INFINITY : "+b+" - "+a+"));";}};function makeSortText(i){return"((a["+i+"] < b["+i+"]) ? -1 : ((a["+i+"] > b["+i+"]) ? 1 : 0));";};function makeSortTextDesc(i){return"((b["+i+"] < a["+i+"]) ? -1 : ((b["+i+"] > a["+i+"]) ? 1 : 0));";};function makeSortNumeric(i){return"a["+i+"]-b["+i+"];";};function makeSortNumericDesc(i){return"b["+i+"]-a["+i+"];";};function sortText(a,b){if(table.config.sortLocaleCompare)return a.localeCompare(b);return((a<b)?-1:((a>b)?1:0));};function sortTextDesc(a,b){if(table.config.sortLocaleCompare)return b.localeCompare(a);return((b<a)?-1:((b>a)?1:0));};function sortNumeric(a,b){return a-b;};function sortNumericDesc(a,b){return b-a;};function getCachedSortType(parsers,i){return parsers[i].type;};this.construct=function(settings){return this.each(function(){if(!this.tHead||!this.tBodies)return;var $this,$document,$headers,cache,config,shiftDown=0,sortOrder;this.config={};config=$.extend(this.config,$.tablesorter.defaults,settings);$this=$(this);$.data(this,"tablesorter",config);$headers=buildHeaders(this);this.config.parsers=buildParserCache(this,$headers);cache=buildCache(this);var sortCSS=[config.cssDesc,config.cssAsc];fixColumnWidth(this);$headers.click(function(e){var totalRows=($this[0].tBodies[0]&&$this[0].tBodies[0].rows.length)||0;if(!this.sortDisabled&&totalRows>0){$this.trigger("sortStart");var $cell=$(this);var i=this.column;this.order=this.count++%2;if(this.lockedOrder)this.order=this.lockedOrder;if(!e[config.sortMultiSortKey]){config.sortList=[];if(config.sortForce!=null){var a=config.sortForce;for(var j=0;j<a.length;j++){if(a[j][0]!=i){config.sortList.push(a[j]);}}}config.sortList.push([i,this.order]);}else{if(isValueInArray(i,config.sortList)){for(var j=0;j<config.sortList.length;j++){var s=config.sortList[j],o=config.headerList[s[0]];if(s[0]==i){o.count=s[1];o.count++;s[1]=o.count%2;}}}else{config.sortList.push([i,this.order]);}};setTimeout(function(){setHeadersCss($this[0],$headers,config.sortList,sortCSS);appendToTable($this[0],multisort($this[0],config.sortList,cache));},1);return false;}}).mousedown(function(){if(config.cancelSelection){this.onselectstart=function(){return false};return false;}});$this.bind("update",function(){var me=this;setTimeout(function(){me.config.parsers=buildParserCache(me,$headers);cache=buildCache(me);},1);}).bind("updateCell",function(e,cell){var config=this.config;var pos=[(cell.parentNode.rowIndex-1),cell
[all...]
/external/chromium_org/third_party/WebKit/Source/core/rendering/
H A DRenderThemeChromiumMac.mm597 void RenderThemeChromiumMac::updateCheckedState(NSCell* cell, const RenderObject* o)
599 bool oldIndeterminate = [cell state] == NSMixedState;
604 [cell setState:indeterminate ? NSMixedState : (checked ? NSOnState : NSOffState)];
608 bool oldChecked = [cell state] == NSOnState;
610 [cell setState:checked ? NSOnState : NSOffState];
613 void RenderThemeChromiumMac::updateEnabledState(NSCell* cell, const RenderObject* o)
615 bool oldEnabled = [cell isEnabled];
618 [cell setEnabled:enabled];
621 void RenderThemeChromiumMac::updateFocusedState(NSCell* cell, const RenderObject* o)
623 bool oldFocused = [cell showsFirstResponde
[all...]
/external/chromium/chrome/browser/chromeos/
H A Dwm_overview_controller.cc133 // Calculate the size of a cell based on the browser window's size.
136 // Configures a cell from the tab contents.
137 void ConfigureCell(WmOverviewSnapshot* cell, TabContents* contents);
139 // Configures a cell from the model.
140 void ConfigureCell(WmOverviewSnapshot* cell, int index) { argument
141 ConfigureCell(cell, GetTabContentsAt(index));
296 WmOverviewSnapshot* cell = snapshots_[i].snapshot; local
297 if (!cell->configured_snapshot()) {
298 ConfigureCell(cell, i);
338 // Make the page size and the cell siz
383 ConfigureCell(WmOverviewSnapshot* cell, TabContents* contents) argument
[all...]
/external/marisa-trie/lib/marisa/
H A Dtrie-search.cc615 Cell cell; local
616 cell.set_louds_pos(get_child(node));
617 if (!louds_[cell.louds_pos()]) {
620 cell.set_node(louds_pos_to_node(cell.louds_pos(), node));
621 cell.set_key_id(node_to_key_id(cell.node()));
623 stack.push_back(cell);
643 cell.set_louds_pos(get_child(cur.node()));
644 cell
[all...]
/external/chromium/chrome/browser/resources/options/
H A Dautofill_options_list.js108 var cell = this.createEditableTextCell(this.value);
109 this.contentElement.appendChild(cell);
110 this.input = cell.querySelector('input');
/external/chromium/chrome/common/extensions/docs/examples/extensions/benchmark/util/
H A Dsorttable.js131 forEach(theadrow.childNodes, function(cell) {
132 if (cell.nodeType == 1) { // an element
133 cell.className = cell.className.replace('sorttable_sorted_reverse','');
134 cell.className = cell.className.replace('sorttable_sorted','');
219 // gets the text we want to use for sorting for a cell.
222 // for example, you can override the cell text with a customkey attribute.
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/benchmark/util/
H A Dsorttable.js129 forEach(theadrow.childNodes, function(cell) {
130 if (cell.nodeType == 1) { // an element
131 cell.className = cell.className.replace('sorttable_sorted_reverse','');
132 cell.className = cell.className.replace('sorttable_sorted','');
217 // gets the text we want to use for sorting for a cell.
220 // for example, you can override the cell text with a customkey attribute.
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/net/buildbot/
H A Dbuildbot.py226 def _parse_last_build_cell(self, builder, cell):
227 status_link = cell.find('a')
239 builder['is_green'] = not re.search('fail', cell.renderContents()) or \
240 not not re.search('lost', cell.renderContents())
246 # We failed to find a link in the first cell, just give up. This
247 # can happen if a builder is just-added, the first cell will just
254 def _parse_current_build_cell(self, builder, cell):
255 activity_lines = cell.renderContents().split("<br />")
265 # First cell is the name
/external/chromium_org/tools/code_coverage/third_party/
H A Dsorttable.js123 forEach(theadrow.childNodes, function(cell) {
124 if (cell.nodeType == 1) { // an element
125 cell.className = cell.className.replace('sorttable_sorted_reverse','');
126 cell.className = cell.className.replace('sorttable_sorted','');
200 // gets the text we want to use for sorting for a cell.
203 // for example, you can override the cell text with a customkey attribute.
/external/clang/tools/scan-build/
H A Dsorttable.js123 forEach(theadrow.childNodes, function(cell) {
124 if (cell.nodeType == 1) { // an element
125 cell.className = cell.className.replace('sorttable_sorted_reverse','');
126 cell.className = cell.className.replace('sorttable_sorted','');
200 // gets the text we want to use for sorting for a cell.
203 // for example, you can override the cell text with a customkey attribute.
/external/iproute2/tc/
H A Dtc_util.c181 int cell; local
184 if (get_integer(&cell, slash+1, 0))
189 if ((1<<i) == cell) {
319 int cell; local
322 if (get_integer(&cell, slash+1, 0))
327 if ((1<<i) == cell) {
/external/chromium_org/third_party/WebKit/Source/web/resources/
H A DcalendarPicker.js1568 ListCell.ClassNameListCell = "list-cell";
1739 var cell = this._cells[row];
1740 if (cell)
1741 return cell;
1742 cell = this.prepareNewCell(row);
1743 cell.attachTo(this.scrollView.contentElement);
1744 cell.setWidth(this._width);
1745 cell.setPosition(this.scrollView.contentPositionForContentOffset(this.scrollOffsetForRow(row)));
1746 this._cells[row] = cell;
1747 return cell;
[all...]
/external/v8/src/
H A Dmark-compact.cc1031 JSGlobalPropertyCell* cell = local
1033 MarkBit mark = Marking::MarkBitFrom(cell);
1034 heap->mark_compact_collector()->MarkObject(cell, mark);
1188 JSGlobalPropertyCell* cell = type_feedback_cells->Cell(i); local
1189 cell->set_value(TypeFeedbackCells::RawUninitializedSentinel(heap));
2316 HeapObject* cell; local
2317 while ((cell = cell_iterator.Next()) != NULL) {
2318 ASSERT(cell->IsJSGlobalPropertyCell());
2319 if (IsMarked(cell)) {
2323 reinterpret_cast<Object**>(cell
[all...]
/external/ceres-solver/internal/ceres/
H A Dimplicit_schur_complement.cc153 const Cell& cell = block_diagonal_structure->rows[r].cells[0]; local
154 MatrixRef m(block_diagonal->mutable_values() + cell.position,
/external/chromium_org/chrome/browser/resources/chromeos/login/
H A Doobe_screen_eula.css29 display: table-cell;
/external/chromium_org/chrome/common/extensions/docs/examples/api/fontSettings/css/
H A Dchrome_shared.css76 html[dir='rtl'] .favicon-cell.weakrtl {
/external/chromium_org/chrome/third_party/chromevox/chromevox/background/
H A Dchrome_shared2.css78 html[dir='rtl'] .favicon-cell.weakrtl {
/external/chromium_org/ui/webui/resources/css/
H A Dchrome_shared.css82 html[dir='rtl'] .favicon-cell.weakrtl {
/external/clang/test/SemaCXX/
H A Dalias-template.cpp117 // FIXME: we recover as if cell is an undeclared variable. the diagnostics are terrible!
118 template<typename T> using cell = pair<T*, cell<T>*>; // expected-error {{use of undeclared identifier 'cell'}} \
/external/guava/guava/src/com/google/common/collect/
H A DArrayTable.java70 * access the same cell of an {@code ArrayTable} concurrently and one of the
75 * to one cell and a thread that reads from another.
386 for (Cell<? extends R, ? extends C, ? extends V> cell : table.cellSet()) {
387 put(cell.getRowKey(), cell.getColumnKey(), cell.getValue());
502 Cell<?, ?, ?> cell = (Cell<?, ?, ?>) obj;
503 Integer rowIndex = rowKeyToIndex.get(cell.getRowKey());
504 Integer columnIndex = columnKeyToIndex.get(cell.getColumnKey());
507 && Objects.equal(array[rowIndex][columnIndex], cell
[all...]
/external/guava/guava-tests/test/com/google/common/collect/
H A DTableCollectionTest.java430 Cell<String, Integer, Character> cell
432 columnKeys.add(cell.getColumnKey());
438 Cell<String, Integer, Character> cell
440 table.put(cell.getRowKey(), cell.getColumnKey(), cell.getValue());
497 Cell<String, Integer, Character> cell
499 table.put(cell.getRowKey(), cell.getColumnKey(), cell
[all...]
/external/chromium_org/chrome/browser/ui/cocoa/location_bar/
H A Dautocomplete_text_field.h133 // Convenience method to return the cell, casted appropriately.
134 - (AutocompleteTextFieldCell*)cell;
/external/jmonkeyengine/engine/src/test/jme3test/terrain/
H A DTerrainGridSerializationTest.java80 public Material tileLoaded(Material material, Vector3f cell) {
84 public void tileAttached(Vector3f cell, TerrainQuad quad) {
93 public void tileDetached(Vector3f cell, TerrainQuad quad) {
H A DTerrainGridTest.java141 public Material tileLoaded(Material material, Vector3f cell) {
145 public void tileAttached(Vector3f cell, TerrainQuad quad) {
153 public void tileDetached(Vector3f cell, TerrainQuad quad) {
H A DTerrainGridTileLoaderTest.java138 public Material tileLoaded(Material material, Vector3f cell) {
142 public void tileAttached(Vector3f cell, TerrainQuad quad) {
150 public void tileDetached(Vector3f cell, TerrainQuad quad) {

Completed in 893 milliseconds

1234567891011