Searched defs:columns (Results 1 - 25 of 25) sorted by relevance

/frameworks/ml/nn/runtime/test/specs/V1_0/
H A Dembedding_lookup.mod.py19 columns = 2 variable
22 actual_values = [x for x in range(rows * columns * features)]
24 for j in range(columns):
26 actual_values[(i * columns + j) * features + k] = i + j / 10. + k / 100.
30 value = Input("value", "TENSOR_FLOAT32", "{%d, %d, %d}" % (rows, columns, features))
31 output = Output("output", "TENSOR_FLOAT32", "{%d, %d, %d}" % (lookups, columns, features))
/frameworks/ml/nn/runtime/test/specs/V1_1/
H A Dembedding_lookup_relaxed.mod.py19 columns = 2 variable
22 actual_values = [x for x in range(rows * columns * features)]
24 for j in range(columns):
26 actual_values[(i * columns + j) * features + k] = i + j / 10. + k / 100.
30 value = Input("value", "TENSOR_FLOAT32", "{%d, %d, %d}" % (rows, columns, features))
31 output = Output("output", "TENSOR_FLOAT32", "{%d, %d, %d}" % (lookups, columns, features))
/frameworks/base/core/java/android/hardware/camera2/params/
H A DLensShadingMap.java50 * {@code RggbChannelVector.COUNT * rows * columns}
55 * or if rows or columns is not positive
61 public LensShadingMap(final float[] elements, final int rows, final int columns) { argument
64 mColumns = checkArgumentPositive(columns, "columns must be positive");
84 * Get the number of columns in this map.
209 * <p>Two lens shading maps are equal if and only if they have the same rows/columns,
/frameworks/base/core/java/android/text/
H A DPackedObjectVector.java35 PackedObjectVector(int columns) argument
37 mColumns = columns;
H A DPackedIntVector.java46 * @param columns the width of the PackedIntVector.
48 public PackedIntVector(int columns) { argument
49 mColumns = columns;
56 mValueGap = new int[2 * columns];
72 final int columns = mColumns;
74 if (((row | column) < 0) || (row >= size()) || (column >= columns)) {
82 int value = mValues[row * columns + column];
86 value += valuegap[column + columns];
248 * @return the number of columns.
259 final int columns
[all...]
/frameworks/base/core/java/com/android/internal/content/
H A DSelectionBuilder.java99 public Cursor query(SQLiteDatabase db, String table, String[] columns, String orderBy) { argument
100 return query(db, table, columns, null, null, orderBy, null);
106 public Cursor query(SQLiteDatabase db, String table, String[] columns, String groupBy, argument
108 return db.query(table, columns, getSelection(), getSelectionArgs(), groupBy, having,
/frameworks/base/media/java/android/mtp/
H A DMtpPropertyGroup.java56 // list of columns for database query
68 ArrayList<String> columns = new ArrayList<>(count);
69 columns.add(Files.FileColumns._ID);
73 mProperties[i] = createProperty(properties[i], columns);
75 count = columns.size();
78 mColumns[i] = columns.get(i);
82 private Property createProperty(int code, ArrayList<String> columns) { argument
172 columns.add(column);
173 return new Property(code, type, columns.size() - 1);
/frameworks/ex/common/java/com/android/common/content/
H A DProjectionMap.java42 public Builder addAll(String[] columns) { argument
43 for (String column : columns) {
57 String[] columns = new String[mMap.size()];
58 mMap.keySet().toArray(columns);
59 Arrays.sort(columns);
60 mMap.mColumns = columns;
/frameworks/support/room/migration/src/main/java/androidx/room/migration/bundle/
H A DForeignKeyBundle.java38 @SerializedName("columns")
49 * @param columns The list of columns in the current table
50 * @param referencedColumns The list of columns in the referenced table
53 List<String> columns, List<String> referencedColumns) {
57 mColumns = columns;
89 * Returns the ordered list of columns in the current table.
91 * @return The list of columns in the current entity.
98 * Returns the ordered list of columns in the referenced table.
100 * @return The list of columns i
52 ForeignKeyBundle(String table, String onDelete, String onUpdate, List<String> columns, List<String> referencedColumns) argument
[all...]
/frameworks/support/room/runtime/src/androidTest/java/androidx/room/migration/
H A DTableInfoTest.java169 asList("barName", "barLastName"), // my columns
170 asList("name", "lastName") // ref columns
237 private static Map<String, TableInfo.Column> toMap(TableInfo.Column... columns) { argument
239 for (TableInfo.Column column : columns) {
/frameworks/base/core/tests/coretests/src/android/widget/
H A DSimpleCursorAdapterTest.java50 * Set up basic columns and cursor for the tests
148 * array) but it's OK if the physical structure of the cursor changes (columns rearranged).
155 // check columns of original - mFrom and mTo should line up
156 int[] columns = ca.getConvertedFrom();
157 assertEquals(columns[0], 0);
158 assertEquals(columns[1], 1);
160 // Now make a new cursor with similar data but rearrange the columns
166 // check columns to see if rearrangement tracked (should be swapped now)
167 columns = ca.getConvertedFrom();
168 assertEquals(columns[
242 createCursor(String[] columns, ArrayList<ArrayList> list) argument
[all...]
/frameworks/opt/colorpicker/src/com/android/colorpicker/
H A DColorPickerPalette.java54 * Initialize the size, columns, and listener. Size should be a pre-defined size (SIZE_LARGE
57 public void init(int size, int columns, OnColorSelectedListener listener) { argument
58 mNumColumns = columns;
H A DColorPickerDialog.java45 protected static final String KEY_COLUMNS = "columns";
65 int columns, int size) {
67 ret.initialize(titleResId, colors, selectedColor, columns, size);
71 public void initialize(int titleResId, int[] colors, int selectedColor, int columns, int size) { argument
72 setArguments(titleResId, columns, size);
76 public void setArguments(int titleResId, int columns, int size) { argument
79 bundle.putInt(KEY_COLUMNS, columns);
64 newInstance(int titleResId, int[] colors, int selectedColor, int columns, int size) argument
/frameworks/support/persistence/db/src/main/java/androidx/sqlite/db/
H A DSupportSQLiteQueryBuilder.java65 * Sets the given list of columns as the columns that will be returned.
67 * @param columns The list of column names that should be returned.
71 public SupportSQLiteQueryBuilder columns(String[] columns) { argument
72 mColumns = columns;
79 * @param selection The list of selection columns
80 * @param bindArgs The list of bind arguments to match against these columns
183 * Add the names that are non-null in columns to s, separating
186 private static void appendColumns(StringBuilder s, String[] columns) { argument
[all...]
/frameworks/av/media/libnblog/
H A DPerformanceAnalysis.cpp327 const int columns = static_cast<int>(buckets.size()); local
329 body->appendFormat("%.*s", (columns + 1) * bucketWidth, underscores.c_str());
/frameworks/base/core/java/android/database/sqlite/
H A DSQLiteQueryBuilder.java127 * column names. This is useful for renaming columns as well as
180 * @param columns A list of which columns to return. Passing null will
181 * return all columns, which is discouraged to prevent reading
202 boolean distinct, String tables, String[] columns, String where,
218 if (columns != null && columns.length != 0) {
219 appendColumns(query, columns);
242 * Add the names that are non-null in columns to s, separating
245 public static void appendColumns(StringBuilder s, String[] columns) { argument
201 buildQueryString( boolean distinct, String tables, String[] columns, String where, String groupBy, String having, String orderBy, String limit) argument
[all...]
H A DSQLiteDatabase.java1097 * @param columns A list of which columns to return. Passing null will
1098 * return all columns, which is discouraged to prevent reading
1123 public Cursor query(boolean distinct, String table, String[] columns, argument
1126 return queryWithFactory(null, distinct, table, columns, selection, selectionArgs,
1135 * @param columns A list of which columns to return. Passing null will
1136 * return all columns, which is discouraged to prevent reading
1164 public Cursor query(boolean distinct, String table, String[] columns, argument
1167 return queryWithFactory(null, distinct, table, columns, selectio
1203 queryWithFactory(CursorFactory cursorFactory, boolean distinct, String table, String[] columns, String selection, String[] selectionArgs, String groupBy, String having, String orderBy, String limit) argument
1246 queryWithFactory(CursorFactory cursorFactory, boolean distinct, String table, String[] columns, String selection, String[] selectionArgs, String groupBy, String having, String orderBy, String limit, CancellationSignal cancellationSignal) argument
1290 query(String table, String[] columns, String selection, String[] selectionArgs, String groupBy, String having, String orderBy) argument
1328 query(String table, String[] columns, String selection, String[] selectionArgs, String groupBy, String having, String orderBy, String limit) argument
[all...]
/frameworks/support/room/runtime/src/main/java/androidx/room/util/
H A DTableInfo.java59 * Unmodifiable map of columns keyed by column name.
61 public final Map<String, Column> columns; field in class:TableInfo
73 public TableInfo(String name, Map<String, Column> columns, Set<ForeignKey> foreignKeys, argument
76 this.columns = Collections.unmodifiableMap(columns);
85 public TableInfo(String name, Map<String, Column> columns, Set<ForeignKey> foreignKeys) { argument
86 this(name, columns, foreignKeys, Collections.<Index>emptySet());
97 if (columns != null ? !columns.equals(tableInfo.columns)
543 public final List<String> columns; field in class:TableInfo.Index
545 Index(String name, boolean unique, List<String> columns) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DTableLayout.java31 * <p>A layout that arranges its children into rows and columns.
35 * their rows, columns, or cells. Each row has zero or more cells; each cell can
36 * hold one {@link android.view.View View} object. The table has as many columns
38 * columns, as they can in HTML.</p>
41 * column. However, a TableLayout can specify certain columns as shrinkable or
69 * will be displayed as a single row that spans all the table columns.</p>
135 * <p>Parses a sequence of columns ids defined in a CharSequence with the
145 * @return a sparse array of boolean mapping column indexes to the columns
149 SparseBooleanArray columns = new SparseBooleanArray();
156 // only valid, i.e. positive, columns indexe
578 mutateColumnsWidth(SparseBooleanArray columns, boolean allColumns, int size, int totalWidth) argument
[all...]
/frameworks/base/media/java/android/media/
H A DRingtoneManager.java327 "Setting filter columns should be done before querying for ringtones.");
636 List<String> columns = mFilterColumns;
637 columns.clear();
640 columns.add(MediaStore.Audio.AudioColumns.IS_RINGTONE);
644 columns.add(MediaStore.Audio.AudioColumns.IS_NOTIFICATION);
648 columns.add(MediaStore.Audio.AudioColumns.IS_ALARM);
657 * @param columns The columns that must be true.
660 private static String constructBooleanTrueWhereClause(List<String> columns) { argument
662 if (columns
[all...]
/frameworks/ml/nn/common/
H A DOperationsUtils.cpp526 const uint32_t columns = getSizeOfDimension(valueShape, 1); local
531 outputShape->dimensions = { lookups, columns };
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/picker/
H A DPicker.java51 * so it always show three items on all columns. On a non-touch device (a TV), the Picker will show
55 * {@link #getVisibleItemCount()}) on all columns. The size of Picker shrinks.
85 * Gets separator string between columns.
87 * @return The separator that will be populated between all the Picker columns.
95 * Sets separator String between Picker columns.
97 * @param separator Separator String between Picker columns.
113 * Sets the list of separators that will be populated between the Picker columns. The
115 * the columns fields (and nothing will be placed before the first and after the last column),
116 * or must be one unit larger than the number of columns passed to {@link #setColumns(List)}.
122 * @param separators The list of separators to be populated between the Picker columns
217 setColumns(List<PickerColumn> columns) argument
[all...]
/frameworks/base/core/java/android/inputmethodservice/
H A DKeyboard.java574 * characters in left-to-right, top-to-bottom fashion, using the specified number of columns.
576 * <p>If the specified number of columns is -1, then the keyboard will fit as many keys as
582 * @param columns the number of columns of keys to display. If this number is greater than the
587 CharSequence characters, int columns, int horizontalPadding) {
600 final int maxColumns = columns == -1 ? Integer.MAX_VALUE : columns;
586 Keyboard(Context context, int layoutTemplateResId, CharSequence characters, int columns, int horizontalPadding) argument
/frameworks/av/media/extractors/mp4/
H A DItemTable.cpp46 rows(0), columns(0), width(0), height(0), rotation(0),
68 int32_t columns; member in struct:android::heif::ImageItem
1410 image.columns = buf[3] + 1;
1412 ALOGV("rows %d, columans %d", image.rows, image.columns);
1545 meta->setInt32(kKeyGridCols, image->columns);
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...

Completed in 439 milliseconds