Home
last modified time | relevance | path

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

12

/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.cpp36 image_info() : rows(NULL), is9Patch(false), allocRows(NULL) { } in image_info()
38 if (rows && rows != allocRows) { in ~image_info()
39 free(rows); in ~image_info()
54 png_bytepp rows; member
111 outImageInfo->rows = (png_bytepp)malloc( in read_png()
114 outImageInfo->allocRows = outImageInfo->rows; in read_png()
116 png_set_rows(read_ptr, read_info, outImageInfo->rows); in read_png()
120 outImageInfo->rows[i] = (png_bytep) in read_png()
124 png_read_image(read_ptr, outImageInfo->rows); in read_png()
253 png_bytepp rows, int offset, int height, bool transparent, bool required, in get_vertical_ticks() argument
[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/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
Dlistview.jd78 // These are the Contacts rows that we will retrieve
/frameworks/rs/
DrsFont.cpp265 uint32_t endY = startY + bitmap->rows; in updateGlyphCache()
270 glyph->mBitmapHeight = bitmap->rows; in updateGlyphCache()
412 if ((uint32_t)bitmap->rows > mCacheLines[mCacheLines.size()-1]->mMaxHeight) { in cacheBitmap()
413 …ont size to large to fit in cache. width, height = %i, %i", (int)bitmap->width, (int)bitmap->rows); in cacheBitmap()
443 …LOGE("Bitmap doesn't fit in cache. width, height = %i, %i", (int)bitmap->width, (int)bitmap->rows); in cacheBitmap()
452 uint32_t endY = startY + bitmap->rows; in cacheBitmap()
840 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 …]
Dcalendar-provider.jd139 of instances to events. For recurring events, multiple rows are automatically
236 be shown. This value affects the generation of rows in the {@link
366 int rows = getContentResolver().update(updateUri, values, null, null);
367 Log.i(DEBUG_TAG, &quot;Rows updated: &quot; + rows);</pre>
609 int rows = getContentResolver().update(updateUri, values, null, null);
610 Log.i(DEBUG_TAG, &quot;Rows updated: &quot; + rows); </pre>
633 int rows = getContentResolver().delete(deleteUri, null, null);
634 Log.i(DEBUG_TAG, &quot;Rows deleted: &quot; + rows);
/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/core/java/android/inputmethodservice/
DKeyboard.java147 private ArrayList<Row> rows = new ArrayList<Row>(); field in Keyboard
610 rows.add(row); in Keyboard()
614 int numRows = rows.size(); in resize()
616 Row row = rows.get(rowIndex); in resize()
800 rows.add(currentRow); in loadKeyboard()
/frameworks/native/opengl/tests/hwc/
DhwcStress.cpp560 size_t rows = testRandMod(maxRows) + 1; in initFrames() local
563 frames.resize(rows); in initFrames()
565 for (unsigned int row = 0; row < rows; row++) { in initFrames()
/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
Ddisplay-contact-badge.jd150 // The Cursor that contains contact rows
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsProvider.java451 int rows = 0; in fullyPopulateCache() local
453 rows++; in fullyPopulateCache()
458 if (rows > MAX_CACHE_ENTRIES) { in fullyPopulateCache()
465 + "' rows=" + rows + "; fullycached=" + cache.fullyMatchesDisk()); in fullyPopulateCache()
/frameworks/base/docs/html/training/basics/data-storage/
Ddatabases.jd245 null, // don't group the rows
274 <p>To delete rows from a table, you need to provide selection criteria that
275 identify the rows. The database API provides a mechanism for creating selection
/frameworks/base/docs/html/guide/components/
Dloaders.jd280 <li><em>selection</em> &#8212; A filter declaring which rows to return,
282 <code>null</code> will return all rows for the given URI. </li>
286 <li><em>sortOrder</em> &#8212; How to order the rows, formatted as an SQL
439     // These are the Contacts rows that we will retrieve.
/frameworks/base/docs/html/guide/topics/ui/
Ddeclaring-layout.jd374 <p>A tabular layout with an arbitrary number of rows and columns, each cell holding the
375 widget of your choice. The rows resize to fit the largest column. The cell borders are not
411 <p>Displays a scrolling grid of columns and rows.</p>
/frameworks/base/docs/html/training/notepad/
Dnotepad-ex1.jd121 <p class="note"><b>Note:</b> A Cursor is returned rather than a collection of rows. This allows
124 tables with lots of rows.</p>
286 example: displaying an arbitrary number of list items in rows on the screen,
/frameworks/base/docs/html/training/design-navigation/
Dwireframing.jd71 …use visual clutter or interactional issues (for example, if there are two rows of tabs on the scre…
Ddescendant-lateral.jd75 …rety, or most of, the parent screen. The grid generally has either 2 or 3 rows and columns, depend…
/frameworks/base/docs/html/guide/topics/data/
Ddata-storage.jd431 <p>Every SQLite query will return a {@link android.database.Cursor} that points to all the rows
433 you can navigate results from a database query and read rows and columns.</p>
/frameworks/base/docs/html/distribute/googleplay/promote/
Dbadges.jd351 <textarea id="snippet" cols="100" rows="5" onclick="this.select()"

12