/frameworks/ml/nn/runtime/test/specs/ |
H A D | embedding_lookup.mod.py | 18 rows = 3 variable 22 actual_values = [x for x in range(rows * columns * features)] 23 for i in range(rows): 30 value = Input("value", "TENSOR_FLOAT32", "{%d, %d, %d}" % (rows, columns, features))
|
H A D | hashtable_lookup_float.mod.py | 19 rows = 3 variable 22 table = [x for x in range(rows * features)] 23 for i in range(rows): 31 value = Input("value", "TENSOR_FLOAT32", "{%d, %d}" % (rows, features))
|
H A D | hashtable_lookup_quant8.mod.py | 19 rows = 3 variable 22 table = [x for x in range(rows * features)] 23 for i in range(rows): 31 value = Input("value", "TENSOR_QUANT8_ASYMM", "{%d, %d}, 0.5f, 0" % (rows, features))
|
/frameworks/base/core/tests/coretests/src/android/database/sqlite/ |
H A D | SQLiteCursorTest.java | 81 Set<Integer> rows = new HashSet<Integer>(); 86 rows.add(j); // store in a hashtable so we can verify the results from cursor later on 90 assertEquals(N, rows.size()); 102 assertTrue(rows.contains(val)); 103 assertTrue(rows.remove(val)); 105 // did I see all the rows in the table? 106 assertTrue(rows.isEmpty()); 109 rows = new HashSet<Integer>(); 113 rows.add(j); 122 assertEquals(M, rows [all...] |
/frameworks/base/tools/aapt/ |
H A D | Images.cpp | 39 image_info() : rows(NULL), is9Patch(false), 43 if (rows && rows != allocRows) { 44 free(rows); 65 png_bytepp rows; member in struct:image_info 143 outImageInfo->rows = (png_bytepp)malloc( 146 outImageInfo->allocRows = outImageInfo->rows; 148 png_set_rows(read_ptr, read_info, outImageInfo->rows); 152 outImageInfo->rows[i] = (png_bytep) 156 png_read_image(read_ptr, outImageInfo->rows); 286 get_vertical_ticks( png_bytepp rows, int offset, int height, bool transparent, bool required, int32_t* outTop, int32_t* outBottom, const char** outError, uint8_t* outDivs, bool multipleAllowed) argument 373 get_vertical_layout_bounds_ticks( png_bytepp rows, int offset, int height, bool transparent, bool , int32_t* outTop, int32_t* outBottom, const char** outError) argument 411 find_max_opacity(png_byte** rows, int startX, int startY, int endX, int endY, int dX, int dY, int* out_inset) argument 439 max_alpha_over_col(png_byte** rows, int offsetX, int startY, int endY) argument 511 get_color( png_bytepp rows, int left, int top, int right, int bottom) argument 822 dump_image(int w, int h, png_bytepp rows, int color_type) argument 1286 png_bytepp rows; local [all...] |
/frameworks/base/tools/aapt2/compile/ |
H A D | NinePatch.cpp | 136 explicit HorizontalImageLine(uint8_t** rows, int32_t xoffset, int32_t yoffset, argument 138 : rows_(rows), xoffset_(xoffset), yoffset_(yoffset), length_(length) {} 159 explicit VerticalImageLine(uint8_t** rows, int32_t xoffset, int32_t yoffset, argument 161 : rows_(rows), xoffset_(xoffset), yoffset_(yoffset), length_(length) {} 178 explicit DiagonalImageLine(uint8_t** rows, int32_t xoffset, int32_t yoffset, argument 180 : rows_(rows), 302 static uint32_t GetRegionColor(uint8_t** rows, const Bounds& region) { argument 305 NinePatch::PackRGBA(rows[region.top] + region.left * 4); 307 const uint8_t* row = rows[y]; 334 // Note that the rows contai 341 CalculateRegionColors( uint8_t** rows, const std::vector<Range>& horizontal_stretch_regions, const std::vector<Range>& vertical_stretch_regions, const int32_t width, const int32_t height, std::vector<uint32_t>* out_colors) argument 460 Create(uint8_t** rows, const int32_t width, const int32_t height, std::string* out_err) argument [all...] |
H A D | Png.cpp | 39 for (png_bytep row : rows) { 58 std::vector<png_bytep> rows; member in struct:aapt::PngInfo 149 outInfo->rows.resize(outInfo->height); 151 outInfo->rows[i] = new png_byte[rowBytes]; 154 png_read_image(readPtr, outInfo->rows.data()); 186 /*static void dump_image(int w, int h, const png_byte* const* rows, int 205 const png_byte* row = rows[j]; 270 // dump_image(w, h, imageInfo.rows.data(), PNG_COLOR_TYPE_RGB_ALPHA); 274 const png_byte* row = imageInfo.rows[j]; 412 const png_byte* row = imageInfo.rows[ 585 png_bytepp rows; local 727 getVerticalTicks(png_bytepp rows, int offset, int height, bool transparent, bool required, int32_t* outTop, int32_t* outBottom, const char** outError, uint8_t* outDivs, bool multipleAllowed) argument 811 getVerticalLayoutBoundsTicks(png_bytepp rows, int offset, int height, bool transparent, bool , int32_t* outTop, int32_t* outBottom, const char** outError) argument 850 findMaxOpacity(png_bytepp rows, int startX, int startY, int endX, int endY, int dX, int dY, int* outInset) argument 876 maxAlphaOverCol(png_bytepp rows, int offsetX, int startY, int endY) argument 947 getColor(png_bytepp rows, int left, int top, int right, int bottom) argument [all...] |
H A D | Image.h | 40 std::unique_ptr<uint8_t* []> rows; member in class:aapt::Image 58 * Use `rows` to access the data on a row-by-row basis. 117 static std::unique_ptr<NinePatch> Create(uint8_t** rows, const int32_t width,
|
H A D | PngCrunch.cpp | 269 // Create an array of rows that index into the data block. 270 output_image->rows = std::unique_ptr<uint8_t* []>(new uint8_t*[height]); 272 output_image->rows[h] = output_image->data.get() + (h * row_bytes); 276 png_read_image(read_ptr, output_image->rows.get()); 531 const uint8_t* row = image->rows[y]; 643 png_const_bytep in_row = image->rows[y]; 668 png_const_bytep in_row = image->rows[y]; 705 png_const_bytep in_row = image->rows[y]; 732 png_write_image(write_ptr, image->rows.get());
|
/frameworks/base/tools/preload/ |
H A D | sorttable.js | 47 the.appendChild(table.rows[0]); 53 if (table.tHead.rows.length != 1) return; // can't cope with two header rows 55 // Sorttable v1 put rows with a class of "sortbottom" at the bottom (as 56 // "total" rows, for example). This is B&R, since what you're supposed 57 // to do is put them in a tfoot. So, if there are sortbottom rows, 60 for (var i=0; i<table.rows.length; i++) { 61 if (table.rows[i].className.search(/\bsortbottom\b/) != -1) { 62 sortbottomrows[sortbottomrows.length] = table.rows[i]; 78 headrow = table.tHead.rows[ [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm_neon_asm/ |
H A D | h264bsdWriteMacroblock.s | 118 VLD1 {qRow0, qRow1}, [data]! ;cb rows 0,1,2,3 120 VLD1 {qRow2, qRow3}, [data]! ;cb rows 4,5,6,7 122 VLD1 {qRow4, qRow5}, [data]! ;cr rows 0,1,2,3 124 VLD1 {qRow6, qRow7}, [data]! ;cr rows 4,5,6,7
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
H A D | PseudoGridView.java | 78 int rows = (children + mNumColumns - 1) / mNumColumns; 79 for (int row = 0; row < rows; row++) { 108 int rows = (children + mNumColumns - 1) / mNumColumns; 110 for (int row = 0; row < rows; row++) {
|
H A D | TileLayout.java | 93 final int rows = (numTiles + mColumns - 1) / mColumns; 102 int height = (mCellHeight + mCellMargin) * rows + (mCellMarginTop - mCellMargin);
|
H A D | PagedTileLayout.java | 270 final int rows = getRows(); 271 boolean changed = rows != mMaxRows; 273 mMaxRows = rows;
|
/frameworks/base/tests/UiBench/src/com/android/test/uibench/leanback/ |
H A D | TestHelper.java | 145 public RowsAdapterBuilder configRows(int rows) { argument 146 mRows = rows; 207 int rows = activity.getIntent().getIntExtra(EXTRA_ROWS, DEFAULT_ROWS); 212 builder.configRows(rows)
|
/frameworks/support/frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/ |
H A D | RowsActivity.java | 32 setContentView(R.layout.rows);
|
/frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/ |
H A D | RowsActivity.java | 32 setContentView(R.layout.rows);
|
/frameworks/base/core/java/android/hardware/camera2/params/ |
H A D | LensShadingMap.java | 50 * {@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 63 mRows = checkArgumentPositive(rows, "rows must be positive"); 77 * Get the number of rows in this map. 103 * <p>The rows must be within the range [0, {@link #getRowCount}), 108 * {@code Geven} is the green channel for the even rows of a Bayer pattern, and 109 * {@code Godd} is the odd rows. 142 * <p>The rows mus [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | SmsBroadcastUndelivered.java | 202 int rows = mResolver.delete(InboundSmsHandler.sRawUriPermanentDelete, 204 if (rows == 0) { 205 Rlog.e(TAG, "No rows were deleted from raw table!"); 207 Rlog.d(TAG, "Deleted " + rows + " rows from raw table for incomplete "
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | Grid.java | 26 * A grid is representation of single or multiple rows layout data structure and algorithm. 141 * Creates a single or multiple rows (can be staggered or not staggered) grid 143 public static Grid createGrid(int rows) { argument 145 if (rows == 1) { 148 // TODO support non staggered multiple rows grid 150 grid.setNumRows(rows); 195 * Returns the number of rows in the grid. 202 * Sets number of rows to fill into. For views that represent a 203 * horizontal list, this will be the rows of the view. For views that 336 * Return array of int array for all rows, eac [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
H A D | Matrix.java | 30 * @param rows - number of rows (n) 33 public Matrix(int rows, int cols) { argument 34 n = rows; 36 mem = new double[rows * cols];
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
H A D | SimpleCursorAdapterTest.java | 70 private ArrayList<ArrayList> createTestList(int rows, int cols) { argument 74 for (int i = 0; i < rows; i++) { 94 // Now see if we can pull 2 rows from the adapter 105 // The adapter should report zero rows 116 // Now see if we can pull 2 rows from the adapter 119 // now put in a different cursor (5 rows) 124 // Now see if we can pull 5 rows from the adapter 135 // Now see if we can pull 2 rows from the adapter 141 // The adapter should report zero rows
|
/frameworks/support/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/ |
H A D | MainFragment.java | 72 CardRow[] rows = new Gson().fromJson(json, CardRow[].class); 73 for (CardRow row : rows) {
|
/frameworks/support/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/cards/ |
H A D | CardExampleFragment.java | 112 CardRow[] rows = new Gson().fromJson(json, CardRow[].class); 113 for (CardRow row : rows) {
|
/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/ |
H A D | MainFragment.java | 72 CardRow[] rows = new Gson().fromJson(json, CardRow[].class); 73 for (CardRow row : rows) {
|