/external/junit/src/org/junit/runner/manipulation/ |
Sortable.java | 12 * Sorts the tests using <code>sorter</code> 13 * @param sorter the {@link Sorter} to use for sorting the tests 15 public void sort(Sorter sorter);
|
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/particles/batches/ |
BufferedParticleBatch.java | 13 protected ParticleSorter sorter; field in class:BufferedParticleBatch 17 this.sorter = new ParticleSorter.Distance(); 38 flush(sorter.sort(renderData)); 45 sorter.ensureCapacity(capacity); 58 sorter.setCamera(camera); 62 return sorter; 65 public void setSorter(ParticleSorter sorter){ 66 this.sorter = sorter; 67 sorter.setCamera(camera) [all...] |
/external/chromium-trace/catapult/third_party/closure_linter/closure_linter/ |
requireprovidesorter_test.py | 49 sorter = requireprovidesorter.RequireProvideSorter() 50 fixed_provide_string = sorter.GetFixedProvideString(token) 70 sorter = requireprovidesorter.RequireProvideSorter() 71 fixed_require_string = sorter.GetFixedRequireString(token) 92 sorter = requireprovidesorter.RequireProvideSorter() 93 sorter.FixRequires(token) 122 sorter = requireprovidesorter.RequireProvideSorter() 123 sorter.FixRequires(token)
|
error_fixer.py | 363 sorter = requireprovidesorter.RequireProvideSorter() 364 sorter.FixRequires(require_start_token) 370 sorter = requireprovidesorter.RequireProvideSorter() 371 sorter.FixProvides(provide_start_token)
|
javascriptlintrules.py | 721 sorter = requireprovidesorter.RequireProvideSorter() 722 first_provide_token = sorter.CheckProvides(token) 724 new_order = sorter.GetFixedProvideString(first_provide_token) 733 first_require_token = sorter.CheckRequires(token) 735 new_order = sorter.GetFixedRequireString(first_require_token)
|
/external/libgdx/extensions/gdx-tools/src/com/badlogic/gdx/tools/flame/ |
BillboardBatchPanel.java | 44 public ParticleSorter sorter; field in class:BillboardBatchPanel.SortMode 45 SortMode(String desc, ParticleSorter sorter){ 46 this.sorter = sorter; 95 editor.getBillboardBatch().setSorter(mode.sorter); 114 private Object getSortMode (ParticleSorter sorter) { 115 Class type = sorter.getClass(); 117 if(wrapper.sorter.getClass() == type)
|
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/ |
ModelBatch.java | 72 protected final RenderableSorter sorter;
field in class:ModelBatch 77 * @param sorter The {@link RenderableSorter} to use. */
78 public ModelBatch (final RenderContext context, final ShaderProvider shaderProvider, final RenderableSorter sorter) {
79 this.sorter = (sorter == null) ? new DefaultRenderableSorter() : sorter;
94 * @param sorter The {@link RenderableSorter} to use. */
95 public ModelBatch (final RenderContext context, final RenderableSorter sorter) {
96 this(context, null, sorter);
107 * @param sorter The {@link RenderableSorter} to use. */ [all...] |
ModelCache.java | 38 * as the default sorter of ModelBatch does). 143 public static class Sorter implements RenderableSorter, Comparator<Renderable> { 184 private RenderableSorter sorter; field in class:ModelCache 188 /** Create a ModelCache using the default {@link Sorter} and the {@link SimpleMeshPool} implementation. This might not be the 191 this(new Sorter(), new SimpleMeshPool()); 196 * will be null. The sorter is important for optimizing the cache. For the best result, make sure that renderables that can be 198 public ModelCache (RenderableSorter sorter, MeshPool meshPool) { 199 this.sorter = sorter; 255 sorter.sort(camera, items) [all...] |
/external/junit/src/junit/framework/ |
JUnit4TestAdapter.java | 14 import org.junit.runner.manipulation.Sorter; 82 public void sort(Sorter sorter) { 83 sorter.apply(fRunner);
|
/system/extras/iotop/ |
iotop.cpp | 55 using Sorter = std::function<void(std::vector<TaskStatistics>&)>; 56 static Sorter GetSorter(const std::string field) { 81 static const std::map<std::string, Sorter> sorters{ 106 Sorter sorter = GetSorter("total"); local 143 sorter = GetSorter(optarg); 144 if (sorter == nullptr) { 218 sorter(stats);
|
/external/junit/src/org/junit/internal/runners/ |
JUnit4ClassRunner.java | 17 import org.junit.runner.manipulation.Sorter; 134 public void sort(final Sorter sorter) { 137 return sorter.compare(methodDescription(o1), methodDescription(o2));
|
JUnit38ClassRunner.java | 17 import org.junit.runner.manipulation.Sorter; 144 public void sort(Sorter sorter) { 147 adapter.sort(sorter);
|
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/decals/ |
CameraGroupStrategy.java | 109 public CameraGroupStrategy (Camera camera, Comparator<Decal> sorter) {
111 this.cameraSorter = sorter;
|
/external/replicaisland/src/com/replica/replicaisland/ |
FixedSizeArray.java | 38 private Sorter<T> mSorter; 274 public void setSorter(Sorter<T> sorter) { 275 mSorter = sorter;
|
/external/apache-xml/src/main/java/org/apache/xalan/templates/ |
ElemForEach.java | 298 NodeSorter sorter = new NodeSorter(xctxt); local 305 sorter.sort(sourceNodes, keys, xctxt);
|
/external/chromium-trace/catapult/third_party/coverage/coverage/htmlfiles/ |
jquery.tablesorter.min.js | 2 (function($){$.extend({tablesorter:new function(){var parsers=[],widgets=[];this.defaults={cssHeader:"header",cssAsc:"headerSortUp",cssDesc:"headerSortDown",sortInitialOrder:"asc",sortMultiSortKey:"shiftKey",sortForce:null,sortAppend:null,textExtraction:"simple",parsers:{},widgets:[],widgetZebra:{css:["even","odd"]},headers:{},widthFixed:false,cancelSelection:true,sortList:[],headerList:[],dateFormat:"us",decimal:'.',debug:false};function benchmark(s,d){log(s+","+(new Date().getTime()-d.getTime())+"ms");}this.benchmark=benchmark;function log(s){if(typeof console!="undefined"&&typeof console.debug!="undefined"){console.log(s);}else{alert(s);}}function buildParserCache(table,$headers){if(table.config.debug){var parsersDebug="";}var rows=table.tBodies[0].rows;if(table.tBodies[0].rows[0]){var list=[],cells=rows[0].cells,l=cells.length;for(var i=0;i<l;i++){var p=false;if($.metadata&&($($headers[i]).metadata()&&$($headers[i]).metadata().sorter)){p=getParserById($($headers[i]).metadata().sorter);}else if((table.config.headers[i]&&table.config.headers[i].sorter)){p=getParserById(table.config.headers[i].sorter);}if(!p){p=detectParserForColumn(table,cells[i]);}if(table.config.debug){parsersDebug+="column:"+i+" parser:"+p.id+"\n";}list.push(p);}}if(table.config.debug){log(parsersDebug);}return list;};function detectParserForColumn(table,node){var l=parsers.length;for(var i=1;i<l;i++){if(parsers[i].is($.trim(getElementText(table.config,node)),table,node)){return parsers[i];}}return parsers[0];}function getParserById(name){var l=parsers.length;for(var i=0;i<l;i++){if(parsers[i].id.toLowerCase()==name.toLowerCase()){return parsers[i];}}return false;}function buildCache(table){if(table.config.debug){var cacheTime=new Date();}var totalRows=(table.tBodies[0]&&table.tBodies[0].rows.length)||0,totalCells=(table.tBodies[0].rows[0]&&table.tBodies[0].rows[0].cells.length)||0,parsers=table.config.parsers,cache={row:[],normalized:[]};for(var i=0;i<totalRows;++i){var c=table.tBodies[0].rows[i],cols=[];cache.row.push($(c));for(var j=0;j<totalCells;++j){cols.push(parsers[j].format(getElementText(table.config,c.cells[j]),table,c.cells[j]));}cols.push(i);cache.normalized.push(cols);cols=null;};if(table.config.debug){benchmark("Building cache for "+totalRows+" rows:",cacheTime);}return cache;};function getElementText(config,node){if(!node)return"";var t="";if(config.textExtraction=="simple"){if(node.childNodes[0]&&node.childNodes[0].hasChildNodes()){t=node.childNodes[0].innerHTML;}else{t=node.innerHTML;}}else{if(typeof(config.textExtraction)=="function"){t=config.textExtraction(node);}else{t=$(node).text();}}return t;}function appendToTable(table,cache){if(table.config.debug){var appendTime=new Date()}var c=cache,r=c.row,n=c.normalized,totalRows=n.length,checkCell=(n[0].length-1),tableBody=$(table.tBodies[0]),rows=[];for(var i=0;i<totalRows;i++){rows.push(r[n[i][checkCell]]);if(!table.config.appender){var o=r[n[i][checkCell]];var l=o.length;for(var j=0;j<l;j++){tableBody[0].appendChild(o[j]);}}}if(table.config.appender){table.config.appender(table,rows);}rows=null;if(table.config.debug){benchmark("Rebuilt table:",appendTime);}applyWidget(table);setTimeout(function(){$(table).trigger("sortEnd");},0);};function buildHeaders(table){if(table.config.debug){var time=new Date();}var meta=($.metadata)?true:false,tableHeadersRows=[];for(var i=0;i<table.tHead.rows.length;i++){tableHeadersRows[i]=0;};$tableHeaders=$("thead th",table);$tableHeaders.each(function(index){this.count=0;this.column=index;this.order=formatSortingOrder(table.config.sortInitialOrder);if(checkHeaderMetadata(this)||checkHeaderOptions(table,index))this.sortDisabled=true;if(!this.sortDisabled){$(this).addClass(table.config.cssHeader);}table.config.headerList[index]=this;});if(table.config.debug){benchmark("Built headers:",time);log($tableHeaders);}return $tableHeaders;};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 applyWidget(table){var c=table.config.widgets;var l (…)
|
coverage_html.js | 218 headers[0] = { sorter: 'text' }; property in class:headers 220 headers[i] = { sorter: 'digit' }; property in class:headers 222 headers[col_count-1] = { sorter: 'percent' }; property in class:headers 224 // Enable the table sorter:
|
/external/junit/src/org/junit/runners/ |
ParentRunner.java | 29 import org.junit.runner.manipulation.Sorter; 54 private Sorter fSorter= Sorter.NULL; 331 public void sort(Sorter sorter) { 332 fSorter= sorter;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/ |
LintList.java | 371 TableComparator sorter = getTableSorter(); local 373 sorter.sort(mTreeViewer, array); 830 TableComparator sorter = getTableSorter(); local 833 if (column.equals(sorter.getTopColumn())) { 834 sorter.reverseTopPriority(); 836 sorter.setTopPriority(column); [all...] |
/prebuilts/go/darwin-x86/src/sort/ |
example_keys_test.go | 51 // Less is part of sort.Interface. It is implemented by calling the "by" closure in the sorter.
|
/prebuilts/go/linux-x86/src/sort/ |
example_keys_test.go | 51 // Less is part of sort.Interface. It is implemented by calling the "by" closure in the sorter.
|
/prebuilts/go/darwin-x86/src/net/http/ |
header.go | 150 kvs, sorter := h.sortedKeyValues(exclude) 162 headerSorterPool.Put(sorter)
|
/prebuilts/go/linux-x86/src/net/http/ |
header.go | 150 kvs, sorter := h.sortedKeyValues(exclude) 162 headerSorterPool.Put(sorter)
|
/external/chromium-trace/catapult/third_party/py_vulcanize/third_party/rjsmin/bench/ |
bootstrap.js | 1651 , sorter: function (items) { method in class:Typeahead [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
org.eclipse.ui.views_3.5.0.I20100527-0800.jar | |