Searched refs:rows (Results 1 - 23 of 23) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/database/sqlite/
H A DSQLiteCursorTest.java81 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/docs/html/ndk/reference/
H A Ddynsections.js54 //All rows after the clicked row
55 var rows = currentRow.nextAll("tr");
58 var childRows = rows.filter(function() {
67 rows.filter("[id^=row_"+id+"]").hide();
86 var rows = $('tr.inherit.'+id);
89 if (rows.filter(':first').is(':visible')===true) {
90 rows.css('display','none');
93 rows.css('display','table-row'); // using show() causes jump in firefox
/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
1285 png_bytepp rows; local
[all...]
/frameworks/base/tools/preload/
H A Dsorttable.js47 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/base/tools/aapt2/compile/
H A DPng.cpp37 for (png_bytep row : rows) {
56 std::vector<png_bytep> rows; member in struct:aapt::PngInfo
143 outInfo->rows.resize(outInfo->height);
145 outInfo->rows[i] = new png_byte[rowBytes];
148 png_read_image(readPtr, outInfo->rows.data());
179 /*static void dump_image(int w, int h, const png_byte* const* rows, int color_type) {
195 const png_byte* row = rows[j];
252 //dump_image(w, h, imageInfo.rows.data(), PNG_COLOR_TYPE_RGB_ALPHA);
256 const png_byte* row = imageInfo.rows[j];
391 const png_byte* row = imageInfo.rows[
558 png_bytepp rows; local
705 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
783 getVerticalLayoutBoundsTicks(png_bytepp rows, int offset, int height, bool transparent, bool , int32_t* outTop, int32_t* outBottom, const char** outError) argument
816 findMaxOpacity(png_bytepp rows, int startX, int startY, int endX, int endY, int dX, int dY, int* outInset) argument
841 maxAlphaOverCol(png_bytepp rows, int offsetX, int startY, int endY) argument
912 getColor(png_bytepp rows, int left, int top, int right, int bottom) argument
[all...]
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DGrid.java22 * A grid is representation of single or multiple rows layout data structure and algorithm.
122 * Creates a single or multiple rows (can be staggered or not staggered) grid
124 public static Grid createGrid(int rows) { argument
126 if (rows == 1) {
129 // TODO support non staggered multiple rows grid
131 grid.setNumRows(rows);
176 * Returns the number of rows in the grid.
183 * Sets number of rows to fill into. For views that represent a
184 * horizontal list, this will be the rows of the view. For views that
312 * Return array of int array for all rows, eac
[all...]
H A DGridLayoutManager.java495 * the row height, equal for all rows. Grid items may have variable length
507 * be updating the secondary size of rows.
537 * The number of rows in the grid.
541 * Number of rows requested, can be 0 to be determined by parent size and
913 // padding on the current and previously selected rows).
1203 CircularIntArray[] rows = mGrid == null ? null : mGrid.getItemPositionsInRows();
1209 CircularIntArray row = rows == null ? null : rows[rowIndex];
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm_neon_asm/
H A Dh264bsdWriteMacroblock.s118 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 DPseudoGridView.java78 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 DTileLayout.java93 final int rows = (numTiles + mColumns - 1) / mColumns;
103 (mCellHeight + mCellMargin) * rows + (mCellMarginTop - mCellMargin));
H A DPagedTileLayout.java267 final int rows = getRows();
268 boolean changed = rows != mMaxRows;
270 mMaxRows = rows;
279 // Always have 3 rows in portrait.
/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/minikin/libs/minikin/
H A DMinikinFontFreeType.cpp90 result->height = bitmap.rows;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DSmsBroadcastUndelivered.java201 int rows = mResolver.delete(InboundSmsHandler.sRawUriPermanentDelete,
203 if (rows == 0) {
204 Rlog.e(TAG, "No rows were deleted from raw table!");
206 Rlog.d(TAG, "Deleted " + rows + " rows from raw table for incomplete "
H A DInboundSmsHandler.java1031 int rows = mResolver.delete(uri, deleteWhere, deleteWhereArgs);
1032 if (rows == 0) {
1033 loge("No rows were deleted from raw table!");
1035 log("Deleted " + rows + " rows from raw table.");
/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/rs/
H A DrsFont.cpp267 uint32_t endY = startY + bitmap->rows;
272 glyph->mBitmapHeight = bitmap->rows;
418 if ((uint32_t)bitmap->rows > mCacheLines[mCacheLines.size()-1]->mMaxHeight) {
419 ALOGE("Font size to large to fit in cache. width, height = %i, %i", (int)bitmap->width, (int)bitmap->rows);
449 ALOGE("Bitmap doesn't fit in cache. width, height = %i, %i", (int)bitmap->width, (int)bitmap->rows);
458 uint32_t endY = startY + bitmap->rows;
841 if ((uint32_t)bitmap->rows > mMaxHeight) {
/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/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/media/java/android/media/
H A DClosedCaptionRenderer.java856 ArrayList<SpannableStringBuilder> rows = new ArrayList<>(MAX_ROWS);
858 rows.add(mLines[i] != null ?
861 return rows.toArray(new SpannableStringBuilder[MAX_ROWS]);
905 // clear rest of the rows
/frameworks/support/v17/tests/src/android/support/v17/leanback/widget/
H A DGridWidgetTest.java222 final HashMap<Integer, ArrayList<View>> rows = new HashMap<Integer, ArrayList<View>>();
233 ArrayList<View> views = rows.get(rowLocation);
236 rows.put(rowLocation, views);
243 if (mNumRows != rows.size()) {
244 assertEquals("Dump Views by rows "+rows, mNumRows, rows.size());
246 View[][] sorted = new View[rows.size()][];
249 ArrayList<View> arr = rows.get(rowLocation);
/frameworks/rs/api/
H A Drs_matrix.spec24 We use a zero-based index for rows and columns. E.g. the last element of a
/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 726 milliseconds