/external/toolchain-utils/crosperf/ |
column_chart.py | 2 """Module to draw column chart.""" 6 """class to draw column chart.""" 31 for column in self.columns: 32 res += "data.addColumn('%s', '%s');\n" % column 35 for column in range(len(self.columns)): 36 val = self.rows[row][column] 39 res += 'data.setValue(%s, %s, %s);\n' % (row, column, val)
|
/frameworks/base/media/java/android/mtp/ |
MtpPropertyGroup.java | 40 int column; field in class:MtpPropertyGroup.Property 42 Property(int code, int type, int column) { 45 this.column = column; 83 String column = null; local 112 column = Audio.AudioColumns.YEAR; 122 column = Audio.AudioColumns.DURATION; 126 column = Audio.AudioColumns.TRACK; 139 column = Audio.AudioColumns.ALBUM_ARTIST; 147 column = Audio.AudioColumns.COMPOSER [all...] |
/test/vti/dashboard/src/main/java/com/android/vts/util/ |
TestRunDetails.java | 81 ResultColumn column = columns[result]; local 82 column.add(testCase.name); 93 for (ResultColumn column : columns) { 94 if (column.size() > 0) { 95 jsonColumns.add(column.toJson());
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/linear/ |
OpenMapRealMatrix.java | 45 * Build a sparse matrix with the supplied row and column dimensions. 226 public double getEntry(int row, int column) throws MatrixIndexException { 228 MatrixUtils.checkColumnIndex(this, column); 229 return entries.get(computeKey(row, column)); 240 public void setEntry(int row, int column, double value) 243 MatrixUtils.checkColumnIndex(this, column); 245 entries.remove(computeKey(row, column)); 247 entries.put(computeKey(row, column), value); 253 public void addToEntry(int row, int column, double increment) 256 MatrixUtils.checkColumnIndex(this, column); [all...] |
/external/python/cpython2/Tools/pynche/ |
TypeinViewer.py | 31 self.__frame.grid(row=3, column=1, sticky='NSEW') 34 self.__xl.grid(row=0, column=0, sticky=E) 36 subframe.grid(row=0, column=1) 38 self.__xox.grid(row=0, column=0, sticky=E) 41 self.__x.grid(row=0, column=1) 47 self.__yl.grid(row=1, column=0, sticky=E) 49 subframe.grid(row=1, column=1) 51 self.__yox.grid(row=0, column=0, sticky=E) 54 self.__y.grid(row=0, column=1) 58 self.__zl.grid(row=2, column=0, sticky=E [all...] |
/external/python/cpython3/Tools/pynche/ |
TypeinViewer.py | 31 self.__frame.grid(row=3, column=1, sticky='NSEW') 34 self.__xl.grid(row=0, column=0, sticky=E) 36 subframe.grid(row=0, column=1) 38 self.__xox.grid(row=0, column=0, sticky=E) 41 self.__x.grid(row=0, column=1) 47 self.__yl.grid(row=1, column=0, sticky=E) 49 subframe.grid(row=1, column=1) 51 self.__yox.grid(row=0, column=0, sticky=E) 54 self.__y.grid(row=0, column=1) 58 self.__zl.grid(row=2, column=0, sticky=E [all...] |
/external/autotest/frontend/client/src/autotest/common/table/ |
DataTable.java | 25 * JSONObject. A header row with column titles is automatically generated, and 31 * <li>.data-row-header - the column title row 43 // for indexing into column subarrays (i.e. columns[1][COL_NAME]) 68 * @param columns An array specifying the name of each column and the field 70 * {{'field_name1', 'Column Title 1'}, 71 * {'field_name2', 'Column Title 2'}, ...}. 97 * Causes the last column of the data table to fill the remainder of the width left in the 161 * Add a row from an array of Strings, one String for each column. 162 * @param rowData Data for each column, in left-to-right column order [all...] |
/external/autotest/frontend/client/src/autotest/common/spreadsheet/ |
Spreadsheet.java | 82 public Header row, column; field in class:Spreadsheet.CellInfo 90 public CellInfo(Header row, Header column, String contents) { 92 this.column = column; 97 return !isEmpty() && (row == null || column == null); 101 return row == null && column == null; 263 public CellInfo getCellInfo(int row, int column) { 265 Header columnHeader = columnHeaderValues.get(column); 266 if (dataCells[row][column] == null) { 267 dataCells[row][column] = new CellInfo(rowHeader, columnHeader, "") 527 int column = tableCell.getCellIndex(); local [all...] |
/external/jacoco/org.jacoco.report.test/src/org/jacoco/report/internal/html/table/ |
LabelColumnTest.java | 50 private IColumnRenderer column; field in class:LabelColumnTest 61 column = new LabelColumn(); 72 assertTrue(column.init(null, null)); 78 column.footer(td, new CoverageNodeImpl(ElementType.GROUP, "Foo"), 88 column.item(td, createItem("Abc", null), resources, root); 99 column.item(td, createItem("Def", "def.html"), resources, root); 114 assertEquals(0, column.getComparator().compare(i1, i2)); 122 assertTrue(column.getComparator().compare(i1, i2) < 0); 123 assertTrue(column.getComparator().compare(i2, i1) > 0);
|
BarColumnTest.java | 55 private IColumnRenderer column; field in class:BarColumnTest 66 column = new BarColumn(CounterEntity.LINE, Locale.ENGLISH); 78 assertTrue(column.init(Arrays.asList(i), i.getNode())); 84 column.footer(td, createNode(15, 5), resources, root); 95 column.init(Arrays.asList(i1, i2), createNode(21, 29)); 96 column.item(td, i1, resources, root); 123 column.init(Arrays.asList(i1), createNode(20, 0)); 124 column.item(td, i1, resources, root); 143 column.init(Arrays.asList(i1), createNode(00, 20)); 144 column.item(td, i1, resources, root) [all...] |
/frameworks/opt/photoviewer/src/com/android/ex/photo/adapters/ |
PhotoPagerAdapter.java | 87 for(String column : PhotoQuery.PROJECTION) { 88 mColumnIndices.put(column, newCursor.getColumnIndexOrThrow(column)); 91 for(String column : PhotoQuery.OPTIONAL_COLUMNS) { 92 int index = newCursor.getColumnIndex(column); 94 mColumnIndices.put(column, index); 127 private String getString(Cursor cursor, String column) { 128 if (mColumnIndices.containsKey(column)) { 129 return cursor.getString(mColumnIndices.get(column));
|
/external/tensorflow/tensorflow/contrib/linear_optimizer/python/ |
sdca_optimizer.py | 138 for column in sorted(columns_to_variables.keys(), key=lambda x: x.key): 139 transformed_tensor = features[column] 140 if isinstance(column, layers.feature_column._RealValuedColumn): # pylint: disable=protected-access 141 # A real-valued column corresponds to a dense feature in SDCA. A 144 # exactly 2 (i.e., its shape should be [batch_size, column.dim]). 157 dense_feature_weights.append(columns_to_variables[column][0]) 158 elif isinstance(column, layers.feature_column._BucketizedColumn): # pylint: disable=protected-access 159 # A bucketized column corresponds to a sparse feature in SDCA. The 165 # bucketized feature column to a dense feature in SDCA. This will 167 dense_bucket_tensor = column._to_dnn_input_layer(transformed_tensor) # pylint: disable=protected-acces [all...] |
/external/tensorflow/tensorflow/core/lib/db/ |
sqlite.h | 278 /// \brief Returns type of 0-indexed column value in row data. 281 /// particular column can vary from row to row. 282 int ColumnType(int column) const TF_MUST_USE_RESULT { 283 return sqlite3_column_type(stmt_, column); 286 /// \brief Returns 0-indexed column from row result coerced as an integer. 287 int64 ColumnInt(int column) const TF_MUST_USE_RESULT { 288 return sqlite3_column_int64(stmt_, column); 291 /// \brief Returns 0-indexed column from row result coerced as a double. 292 double ColumnDouble(int column) const TF_MUST_USE_RESULT { 293 return sqlite3_column_double(stmt_, column); [all...] |
/external/python/cpython2/Demo/tkinter/ttk/ |
treeview_multicolumn.py | 26 """Sort tree contents when a column is clicked on.""" 53 "heading for a column will sort the data by that column. " 67 self.tree.grid(column=0, row=0, sticky='nsew', in_=container) 68 vsb.grid(column=1, row=0, sticky='ns', in_=container) 69 hsb.grid(column=0, row=1, sticky='ew', in_=container) 80 self.tree.column(col, width=tkFont.Font().measure(col.title())) 88 if self.tree.column(tree_columns[indx], width=None) < ilen: 89 self.tree.column(tree_columns[indx], width=ilen) 93 root.wm_title("Multi-Column List" [all...] |
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/error/ |
Mark.java | 28 private int column; field in class:Mark 32 public Mark(String name, int index, int line, int column, String buffer, int pointer) { 37 this.column = column; 98 where.append(", column "); 99 where.append(column + 1); 122 return column;
|
/external/trappy/trappy/plotter/ |
AbstractDataPlotter.py | 65 elif data_frame and "column" not in self._attr: 66 raise ValueError("Column not specified for DataFrame input") 71 """Parse a signal definition into a (template, column) tuple 73 :param signal_def: A signal definition. E.g. "trace_class:column" 77 match = re.match(r"(?P<event>[^:]+):(?P<column>[^:]+)(?P<color>:.+)?", 82 'Should have the form "trace_class:column" ' 85 column = match.group("column") 94 return self._event_map[event], column, color 100 return self._event_map[event], column, colo [all...] |
/libcore/luni/src/main/java/javax/xml/transform/ |
TransformerException.java | 219 int column = locator.getColumnNumber(); local 231 if (0 != column) { 232 sbuffer.append("; Column#: "); 233 sbuffer.append(column); 252 int column = locator.getColumnNumber(); local 264 if (0 != column) { 265 sbuffer.append("; Column#: "); 266 sbuffer.append(column);
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
EventFieldEditorView.java | 122 final String column = editField.column; local 123 String data = DateUtils.formatDate(getContext(), getEntry().getAsString(column), 139 final String column = editField.column; local 140 return TextUtils.isEmpty(getEntry().getAsString(column)); 162 final String column = getKind().fieldList.get(0).column; local 163 final String oldValue = getEntry().getAsString(column); 189 onFieldChanged(column, formattedDate) 198 final String column = getKind().fieldList.get(0).column; local 271 final String column = getKind().fieldList.get(0).column; local [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/swiftshader/third_party/LLVM/include/llvm/DebugInfo/ |
DIContext.h | 30 uint32_t Column; 32 DILineInfo() : FileName("<invalid>"), Line(0), Column(0) {} 33 DILineInfo(const char *fileName, uint32_t line, uint32_t column) 34 : FileName(fileName), Line(line), Column(column) {} 38 uint32_t getColumn() const { return Column; } 41 return Line == RHS.Line && Column == RHS.Column &&
|
/external/tensorflow/tensorflow/contrib/layers/python/layers/ |
feature_column_ops.py | 52 column_name: A string name of the feature column for the tensor. 66 raise ValueError('Error while processing column {}. Rank of input Tensor ' 70 raise ValueError('Error while processing column {}. Rank of input Tensor ' 116 for column in sorted(set(feature_columns), key=lambda x: x.key): 118 default_name=column.name, 120 transformed_tensor = transformer.transform(column) 125 column_name=column.name, 129 arguments = column._deep_embedding_lookup_arguments( 133 column, 142 output_tensors.append(column._to_dnn_input_layer [all...] |
/frameworks/base/core/java/android/hardware/camera2/params/ |
LensShadingMap.java | 101 * Get a single color channel gain factor from this lens shading map by its row and column. 104 * the column must be within the range [0, {@link #getColumnCount}), 113 * @param column within the range [0, {@link #getColumnCount}) 127 public float getGainFactor(final int colorChannel, final int column, final int row) { 130 } else if (column < 0 || column >= mColumns) { 131 throw new IllegalArgumentException("column out of range"); 136 return mElements[colorChannel + (row * mColumns + column) * COUNT ]; 140 * Get a gain factor vector from this lens shading map by its row and column. 143 * the column must be within the range [0, {@link #getColumnCount}).</p [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
TileLayout.java | 132 int column = 0; local 135 for (int i = 0; i < mRecords.size(); i++, column++) { 136 // If we reached the last column available to layout a tile, wrap back to the next row. 137 if (column == mColumns) { 138 column = 0; 144 final int left = getColumnStart(isRtl ? mColumns - column - 1 : column); 154 private int getColumnStart(int column) { 156 column * (mCellWidth + mCellMarginHorizontal);
|
/frameworks/support/navigation/safe-args-generator/src/main/kotlin/androidx/navigation/safe/args/generator/ |
GeneratorOutput.kt | 21 data class ErrorMessage(val path: String, val line: Int, val column: Int, val message: String) { 22 override fun toString() = "Error at $path:$line:$column $message"
|
NavLogger.kt | 23 messages.add(ErrorMessage(position.name, position.line, position.column, message))
|