Searched defs:rows (Results 1 - 10 of 10) sorted by relevance

/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
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/base/core/tests/coretests/src/android/widget/
H A DSimpleCursorAdapterTest.java70 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/base/tools/aapt2/compile/
H A DImage.h40 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 DNinePatch.cpp136 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 DPng.cpp39 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...]
/frameworks/native/opengl/tests/hwc/
H A DhwcStress.cpp224 * c. Select a subset of the rows from the graphic buffer array,
560 size_t rows = testRandMod(maxRows) + 1; local
563 frames.resize(rows);
565 for (unsigned int row = 0; row < rows; row++) {
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DGrid.java26 * 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/base/core/java/android/inputmethodservice/
H A DKeyboard.java41 * consists of rows of keys.
85 /** Horizontal gap default for all rows */
94 /** Default gap between rows */
148 private ArrayList<Row> rows = new ArrayList<Row>(); field in class:Keyboard
526 * Creates a keyboard from the given xml key layout file. Weeds out rows
550 * Creates a keyboard from the given xml key layout file. Weeds out rows
623 rows.add(row);
627 int numRows = rows.size();
629 Row row = rows.get(rowIndex);
813 rows
[all...]
/frameworks/base/tools/aapt/
H A DImages.cpp39 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/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 868 milliseconds