Home
last modified time | relevance | path

Searched refs:rows (Results 1 – 25 of 48) 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.cpp38 image_info() : rows(NULL), is9Patch(false), in image_info()
42 if (rows && rows != allocRows) { in ~image_info()
43 free(rows); in ~image_info()
64 png_bytepp rows; member
142 outImageInfo->rows = (png_bytepp)malloc( in read_png()
145 outImageInfo->allocRows = outImageInfo->rows; in read_png()
147 png_set_rows(read_ptr, read_info, outImageInfo->rows); in read_png()
151 outImageInfo->rows[i] = (png_bytep) in read_png()
155 png_read_image(read_ptr, outImageInfo->rows); in read_png()
284 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/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.java389 int rows = 0; in onMeasure() local
404 rows = r + 1; in onMeasure()
414 int h = rows == 0 ? brightnessHeight : (getRowTop(rows) + mPanelPaddingBottom); in onMeasure()
/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()
DInboundSmsHandler.java817 int rows = mResolver.delete(sRawUri, deleteWhere, deleteWhereArgs); in deleteFromRawTable() local
818 if (rows == 0) { in deleteFromRawTable()
821 log("Deleted " + rows + " rows from raw table."); in deleteFromRawTable()
/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/core/java/android/hardware/camera2/params/
DLensShadingMap.java62 public LensShadingMap(final float[] elements, final int rows, final int columns) { in LensShadingMap() argument
64 mRows = checkArgumentPositive(rows, "rows must be positive"); in LensShadingMap()
/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/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()
845 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/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.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/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/minikin/libs/minikin/
DMinikinFontFreeType.cpp90 result->height = bitmap.rows; in Render()
/frameworks/base/docs/html/design/tv/
Dindex.jd56 <p>Apps and Games rows both have special areas on the Home Screen. Within their respective
59 <img src="{@docRoot}design/tv/images/apps-games-rows.jpg" alt="Apps and Games Rows" />
/frameworks/base/docs/html/training/wearables/ui/
D2d-picker.jd121 <p>The <code>getRowCount</code> method tells the picker how many rows of content are
123 of content are available for each of the rows.</p>
151 <p>Not all rows need to have the same number of pages. Notice that in this example the number of
/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)
/frameworks/base/docs/html/training/basics/data-storage/
Ddatabases.jd243 null, // don't group the rows
272 <p>To delete rows from a table, you need to provide selection criteria that
273 identify the rows. The database API provides a mechanism for creating selection
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsProvider.java537 int rows = 0; in fullyPopulateCache() local
539 rows++; in fullyPopulateCache()
544 if (rows > MAX_CACHE_ENTRIES) { in fullyPopulateCache()
551 + "' rows=" + rows + "; fullycached=" + cache.fullyMatchesDisk()); in fullyPopulateCache()
/frameworks/base/media/java/android/media/
DClosedCaptionRenderer.java675 ArrayList<SpannableStringBuilder> rows = in getStyledText() local
678 rows.add(mLines[i] != null ? in getStyledText()
681 return rows.toArray(new SpannableStringBuilder[MAX_ROWS]); in getStyledText()

12