Home
last modified time | relevance | path

Searched refs:rows (Results 1 – 25 of 66) sorted by relevance

123

/frameworks/base/core/tests/coretests/src/android/database/sqlite/
DSQLiteCursorTest.java81 Set<Integer> rows = new HashSet<Integer>(); in testFillWindow() local
86 rows.add(j); // store in a hashtable so we can verify the results from cursor later on in testFillWindow()
90 assertEquals(N, rows.size()); in testFillWindow()
102 assertTrue(rows.contains(val)); in testFillWindow()
103 assertTrue(rows.remove(val)); in testFillWindow()
106 assertTrue(rows.isEmpty()); in testFillWindow()
109 rows = new HashSet<Integer>(); in testFillWindow()
113 rows.add(j); in testFillWindow()
122 assertEquals(M, rows.size()); in testFillWindow()
127 assertTrue(rows.contains(val)); in testFillWindow()
[all …]
/frameworks/base/tools/aapt/
DImages.cpp39 image_info() : rows(NULL), is9Patch(false), in image_info()
43 if (rows && rows != allocRows) { in ~image_info()
44 free(rows); in ~image_info()
65 png_bytepp rows; member
143 outImageInfo->rows = (png_bytepp)malloc( in read_png()
146 outImageInfo->allocRows = outImageInfo->rows; in read_png()
148 png_set_rows(read_ptr, read_info, outImageInfo->rows); in read_png()
152 outImageInfo->rows[i] = (png_bytep) in read_png()
156 png_read_image(read_ptr, outImageInfo->rows); in read_png()
287 png_bytepp rows, int offset, int height, bool transparent, bool required, in get_vertical_ticks() argument
[all …]
/frameworks/base/docs/html/ndk/reference/
Ddynsections.js55 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/aapt2/
DPng.cpp38 for (png_bytep row : rows) { in ~PngInfo()
57 std::vector<png_bytep> rows; member
145 outInfo->rows.resize(outInfo->height); in readPng()
147 outInfo->rows[i] = new png_byte[rowBytes]; in readPng()
150 png_read_image(readPtr, outInfo->rows.data()); in readPng()
258 const png_byte* row = imageInfo.rows[j]; in analyze_image()
393 const png_byte* row = imageInfo.rows[j]; in analyze_image()
560 png_bytepp rows; in writePng() local
565 rows = info->rows.data(); in writePng()
567 rows = outRows; in writePng()
[all …]
/frameworks/base/tools/preload/
Dsorttable.js47 the.appendChild(table.rows[0]);
53 if (table.tHead.rows.length != 1) return; // can't cope with two header 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[0].cells;
146 rows = this.sorttable_tbody.rows;
147 for (var j=0; j<rows.length; j++) {
148 row_array[row_array.length] = [sorttable.getInnerText(rows[j].cells[col]), rows[j]];
169 for (var i=0; i<table.tBodies[0].rows.length; i++) {
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DPseudoGridView.java78 int rows = (children + mNumColumns - 1) / mNumColumns; in onMeasure() local
79 for (int row = 0; row < rows; row++) { in onMeasure()
108 int rows = (children + mNumColumns - 1) / mNumColumns; in onLayout() local
110 for (int row = 0; row < rows; row++) { in onLayout()
DQSPanel.java460 int rows = 0; in onMeasure() local
475 rows = r + 1; in onMeasure()
489 int h = rows == 0 ? brightnessHeight : (getRowTop(rows) + mPanelPaddingBottom); in onMeasure()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DGrid.java124 public static Grid createGrid(int rows) { in createGrid() argument
126 if (rows == 1) { in createGrid()
131 grid.setNumRows(rows); in createGrid()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSmsBroadcastUndelivered.java150 int rows = mResolver.delete(sRawUri, InboundSmsHandler.SELECT_BY_REFERENCE, in scanRawTable() local
152 if (rows == 0) { in scanRawTable()
155 Rlog.d(TAG, "Deleted " + rows + " rows from raw table for incomplete " in scanRawTable()
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm_neon_asm/
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/docs/html/guide/topics/ui/layout/
Dgrid.jd21 displays child {@link android.view.View} elements in rows and columns.</p>
26 <p>{@link android.widget.TableLayout} positions its children into rows
27 and columns. TableLayout containers do not display border lines for their rows, columns,
35 <p>The following sample layout has two rows and two cells in each. The accompanying screenshot show…
164 {@link android.widget.TextView} is used for each cell. In between some of the rows, there is also a
/frameworks/base/core/java/android/hardware/camera2/params/
DLensShadingMap.java61 public LensShadingMap(final float[] elements, final int rows, final int columns) { in LensShadingMap() argument
63 mRows = checkArgumentPositive(rows, "rows must be positive"); in LensShadingMap()
/frameworks/base/docs/html/design/tv/
Dindex.jd4 page.image=design/tv/images/apps-games-rows.jpg
68 <p>Apps and Games rows both have special areas on the Home Screen. Within their respective
71 <img src="{@docRoot}design/tv/images/apps-games-rows.jpg" alt="Apps and Games Rows" />
/frameworks/rs/
DrsFont.cpp267 uint32_t endY = startY + bitmap->rows; in updateGlyphCache()
272 glyph->mBitmapHeight = bitmap->rows; in updateGlyphCache()
418 if ((uint32_t)bitmap->rows > mCacheLines[mCacheLines.size()-1]->mMaxHeight) { in cacheBitmap()
419 …ont size to large to fit in cache. width, height = %i, %i", (int)bitmap->width, (int)bitmap->rows); in cacheBitmap()
449 …LOGE("Bitmap doesn't fit in cache. width, height = %i, %i", (int)bitmap->width, (int)bitmap->rows); in cacheBitmap()
458 uint32_t endY = startY + bitmap->rows; in cacheBitmap()
841 if ((uint32_t)bitmap->rows > mMaxHeight) { in fitBitmap()
/frameworks/base/docs/html/guide/topics/providers/
Dcontent-provider-basics.jd252 mSortOrder); // The sort order for the returned rows
284 <td><code>selection</code> specifies the criteria for selecting rows.</td>
297 <code>sortOrder</code> specifies the order in which rows appear in the returned
344 You often use id values when you've retrieved a set of rows and then want to update or delete
441 The expression that specifies the rows to retrieve is split into a selection clause and
485 mSortOrder); // The sort order for the returned rows
572 projection for the rows that match the query's selection criteria. A
573 {@link android.database.Cursor} object provides random read access to the rows and columns it
574 contains. Using {@link android.database.Cursor} methods, you can iterate over the rows in the
586 If no rows match the selection criteria, the provider
[all …]
Dcontacts-provider.jd141 Rows representing different people, based on aggregations of raw contact rows.
172 rows in the {@link android.provider.ContactsContract.Data} table. Each data row has a column
258 ({@code becky.smart@dataservice.example.com}) before your app can add raw contact rows.
315 rows and links them both to the raw contact.
319 phone number, email, postal address, photo, and website detail rows are all found in the
431 <td>A raw contact has only one of these rows.</td>
436 <td>A raw contact has only one of these rows.</td>
459 The Contacts Provider combines the raw contact rows across all account types and account names
462 rows, and the aggregation of raw contacts with an existing contact row. Neither applications nor
480 The Contacts Provider links a contact row to its raw contact rows with the contact row's
[all …]
Dcontent-provider-creating.jd159 Store the data in a form that's compatible with tables of rows and columns. A row
242 rows in other tables (using it as a &quot;foreign key&quot;). Although you can use any name
320 The user then picks one of the displayed rows from the UI in order to look at or modify the
390 for single rows in <code>table3</code>, such as
400 <code>content://&lt;authority&gt;/&lt;path&gt;/&lt;id&gt;</code> for single rows.
420 * Sets the integer value for multiple rows in table 3 to 1. Notice that no wildcard is used
500 query, the rows and columns to return, and the sort order of the result.
516 Update existing rows in your provider. Use the arguments to select the table and rows
517 to update and to get the updated column values. Return the number of rows updated.
523 Delete rows from your provider. Use the arguments to select the table and the rows to
[all …]
/frameworks/base/core/java/android/inputmethodservice/
DKeyboard.java148 private ArrayList<Row> rows = new ArrayList<Row>(); field in Keyboard
623 rows.add(row); in Keyboard()
627 int numRows = rows.size(); in resize()
629 Row row = rows.get(rowIndex); in resize()
813 rows.add(currentRow); in loadKeyboard()
/frameworks/base/core/tests/coretests/src/android/widget/
DSimpleCursorAdapterTest.java68 private ArrayList<ArrayList> createTestList(int rows, int cols) { in createTestList() argument
72 for (int i = 0; i < rows; i++) { in createTestList()
/frameworks/base/docs/html/training/contacts-provider/
Dretrieve-details.jd57 {@link android.provider.ContactsContract.Data} table for any rows that contain the contact's
155 keep all rows for a particular data type together, sort by
157 groups all email rows together, all phone rows together, and so forth. For example:
168 determine the data type of the current row, and store data for rows that use a subtype. When
181 When you're ready to retrieve the rows, initialize the loader framework by
346 Define a search text expression that retrieves rows for a specific contact's
/frameworks/native/opengl/tests/hwc/
DhwcStress.cpp559 size_t rows = testRandMod(maxRows) + 1; in initFrames() local
562 frames.resize(rows); in initFrames()
564 for (unsigned int row = 0; row < rows; row++) { in initFrames()
/frameworks/minikin/libs/minikin/
DMinikinFontFreeType.cpp90 result->height = bitmap.rows; in Render()
/frameworks/base/docs/html/training/wearables/ui/
D2d-picker.jd154 method tells the adapter how many rows of content are
157 method tells the adapter how many columns of content are available for each of the rows.</p>
188 <p>Not all rows need to have the same number of pages. Notice that in this example the number of
/frameworks/support/v17/tests/src/android/support/v17/leanback/widget/
DGridWidgetTest.java203 final HashMap<Integer, ArrayList<View>> rows = new HashMap<Integer, ArrayList<View>>(); in sortByRows() local
214 ArrayList<View> views = rows.get(rowLocation); in sortByRows()
217 rows.put(rowLocation, views); in sortByRows()
224 if (mNumRows != rows.size()) { in sortByRows()
225 assertEquals("Dump Views by rows "+rows, mNumRows, rows.size()); in sortByRows()
227 View[][] sorted = new View[rows.size()][]; in sortByRows()
230 ArrayList<View> arr = rows.get(rowLocation); in sortByRows()
/frameworks/base/docs/html/training/sync-adapters/
Dcreating-stub-provider.jd115 * delete() always returns "no rows affected" (0)
122 * update() always returns "no rows affected" (0)

123