/frameworks/base/core/tests/coretests/src/android/database/sqlite/ |
D | SQLiteCursorTest.java | 88 Set<Integer> rows = new HashSet<Integer>(); in testFillWindow() local 93 rows.add(j); // store in a hashtable so we can verify the results from cursor later on in testFillWindow() 97 assertEquals(N, rows.size()); in testFillWindow() 109 assertTrue(rows.contains(val)); in testFillWindow() 110 assertTrue(rows.remove(val)); in testFillWindow() 113 assertTrue(rows.isEmpty()); in testFillWindow() 116 rows = new HashSet<Integer>(); in testFillWindow() 120 rows.add(j); in testFillWindow() 129 assertEquals(M, rows.size()); in testFillWindow() 134 assertTrue(rows.contains(val)); in testFillWindow() [all …]
|
/frameworks/base/tools/aapt/ |
D | Images.cpp | 39 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/tools/aapt2/compile/ |
D | Png.cpp | 40 for (png_bytep row : rows) { in ~PngInfo() 59 std::vector<png_bytep> rows; member 150 outInfo->rows.resize(outInfo->height); in readPng() 152 outInfo->rows[i] = new png_byte[rowBytes]; in readPng() 155 png_read_image(readPtr, outInfo->rows.data()); in readPng() 275 const png_byte* row = imageInfo.rows[j]; in analyze_image() 413 const png_byte* row = imageInfo.rows[j]; in analyze_image() 586 png_bytepp rows; in writePng() local 592 rows = info->rows.data(); in writePng() 594 rows = outRows; in writePng() [all …]
|
D | NinePatch.cpp | 136 explicit HorizontalImageLine(uint8_t** rows, int32_t xoffset, int32_t yoffset, in HorizontalImageLine() argument 138 : rows_(rows), xoffset_(xoffset), yoffset_(yoffset), length_(length) {} in HorizontalImageLine() 159 explicit VerticalImageLine(uint8_t** rows, int32_t xoffset, int32_t yoffset, in VerticalImageLine() argument 161 : rows_(rows), xoffset_(xoffset), yoffset_(yoffset), length_(length) {} in VerticalImageLine() 178 explicit DiagonalImageLine(uint8_t** rows, int32_t xoffset, int32_t yoffset, in DiagonalImageLine() argument 180 : rows_(rows), in DiagonalImageLine() 302 static uint32_t GetRegionColor(uint8_t** rows, const Bounds& region) { in GetRegionColor() argument 305 NinePatch::PackRGBA(rows[region.top] + region.left * 4); in GetRegionColor() 307 const uint8_t* row = rows[y]; in GetRegionColor() 342 uint8_t** rows, const std::vector<Range>& horizontal_stretch_regions, in CalculateRegionColors() argument [all …]
|
D | PngCrunch.cpp | 273 output_image->rows = std::unique_ptr<uint8_t* []>(new uint8_t*[height]); in ReadPng() 275 output_image->rows[h] = output_image->data.get() + (h * row_bytes); in ReadPng() 279 png_read_image(read_ptr, output_image->rows.get()); in ReadPng() 535 const uint8_t* row = image->rows[y]; in WritePng() 647 png_const_bytep in_row = image->rows[y]; in WritePng() 672 png_const_bytep in_row = image->rows[y]; in WritePng() 709 png_const_bytep in_row = image->rows[y]; in WritePng() 736 png_write_image(write_ptr, image->rows.get()); in WritePng()
|
D | Image.h | 40 std::unique_ptr<uint8_t* []> rows; variable 117 static std::unique_ptr<NinePatch> Create(uint8_t** rows, const int32_t width,
|
/frameworks/base/libs/androidfw/tests/ |
D | CursorWindow_bench.cpp | 23 static void BM_CursorWindowWrite(benchmark::State& state, size_t rows, size_t cols) { in BM_CursorWindowWrite() argument 30 for (int row = 0; row < rows; row++) { in BM_CursorWindowWrite() 54 static void BM_CursorWindowRead(benchmark::State& state, size_t rows, size_t cols) { in BM_CursorWindowRead() argument 58 for (int row = 0; row < rows; row++) { in BM_CursorWindowRead() 63 for (int row = 0; row < rows; row++) { in BM_CursorWindowRead()
|
/frameworks/base/tools/preload/ |
D | sorttable.js | 47 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/libs/androidfw/fuzz/cursorwindow_fuzzer/ |
D | cursorwindow_fuzzer.cpp | 49 auto rows = std::min(w->getNumRows(), static_cast<uint32_t>(128)); in LLVMFuzzerTestOneInput() local 51 for (auto row = 0; row < rows; row++) { in LLVMFuzzerTestOneInput() 71 if (rows > 0 && cols > 0) { in LLVMFuzzerTestOneInput()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/ |
D | ListGridLayout.java | 158 int rows = getRowCount(); in getParentViewIndex() local 160 sublistIndex = (int) Math.floor(index / rows); in getParentViewIndex() 162 sublistIndex = index % rows; in getParentViewIndex()
|
D | GlobalActionsGridLayout.java | 149 int rows = getListView().getRowCount(); in getAnimationDistance() local 152 return rows * gridItemSize / 2; in getAnimationDistance()
|
/frameworks/opt/telephony/testing/src/com/android/internal/telephony/testing/ |
D | CursorSubject.java | 128 public void hasData(Object[][] rows) { in hasData() argument 129 hasCount(rows.length); in hasData() 130 for (int i = 0; i < rows.length; i++) { in hasData() 131 atRow(i).hasRowValues(rows[i]); in hasData()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | SmsBroadcastUndelivered.java | 227 int rows = contentResolver.delete(InboundSmsHandler.sRawUriPermanentDelete, in scanRawTable() local 229 if (rows == 0) { in scanRawTable() 232 Rlog.d(TAG, "Deleted " + rows + " rows from raw table for incomplete " in scanRawTable() 236 if (rows > 0) { in scanRawTable() 238 metrics.writeDroppedIncomingMultipartSms(phoneId, message.mFormat, rows, in scanRawTable() 241 phone.getSmsStats().onDroppedIncomingMultipartSms(message.mIs3gpp2, rows, in scanRawTable()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | PseudoGridView.java | 74 int rows = (children + mNumColumns - 1) / mNumColumns; in onMeasure() local 75 for (int row = 0; row < rows; row++) { in onMeasure() 104 int rows = (children + mNumColumns - 1) / mNumColumns; in onLayout() local 106 for (int row = 0; row < rows; row++) { in onLayout()
|
/frameworks/base/tests/UiBench/src/com/android/test/uibench/leanback/ |
D | TestHelper.java | 147 public RowsAdapterBuilder configRows(int rows) { in configRows() argument 148 mRows = rows; in configRows() 209 int rows = activity.getIntent().getIntExtra(EXTRA_ROWS, DEFAULT_ROWS); in initRowsAdapterBuilder() local 214 builder.configRows(rows) in initRowsAdapterBuilder()
|
/frameworks/base/startop/scripts/app_startup/lib/ |
D | data_frame.py | 126 rows = [] 129 rows.append(row.copy()) 131 df._rows = rows
|
/frameworks/base/core/java/android/hardware/camera2/params/ |
D | LensShadingMap.java | 69 public LensShadingMap(final float[] elements, final int rows, final int columns) { in LensShadingMap() argument 71 mRows = checkArgumentPositive(rows, "rows must be positive"); in LensShadingMap()
|
/frameworks/base/tests/JankBench/scripts/ |
D | itr_collect.py | 29 rows = db.execute(QUERY_BAD_FRAME) 32 for row in rows:
|
D | collect.py | 51 rows = db.execute(QUERY_BAD_FRAME) 54 for row in rows:
|
/frameworks/rs/ |
D | rsFont.cpp | 266 uint32_t endY = startY + bitmap->rows; in updateGlyphCache() 271 glyph->mBitmapHeight = bitmap->rows; in updateGlyphCache() 417 if ((uint32_t)bitmap->rows > mCacheLines[mCacheLines.size()-1]->mMaxHeight) { in cacheBitmap() 418 …ont size to large to fit in cache. width, height = %i, %i", (int)bitmap->width, (int)bitmap->rows); in cacheBitmap() 448 …LOGE("Bitmap doesn't fit in cache. width, height = %i, %i", (int)bitmap->width, (int)bitmap->rows); in cacheBitmap() 457 uint32_t endY = startY + bitmap->rows; in cacheBitmap() 841 if ((uint32_t)bitmap->rows > mMaxHeight) { in fitBitmap()
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
D | SimpleCursorAdapterTest.java | 71 private ArrayList<ArrayList> createTestList(int rows, int cols) { in createTestList() argument 75 for (int i = 0; i < rows; i++) { in createTestList()
|
/frameworks/base/core/java/android/inputmethodservice/ |
D | Keyboard.java | 158 private ArrayList<Row> rows = new ArrayList<Row>(); field in Keyboard 633 rows.add(row); in Keyboard() 638 int numRows = rows.size(); in resize() 640 Row row = rows.get(rowIndex); in resize() 824 rows.add(currentRow); in loadKeyboard()
|
/frameworks/native/opengl/tests/hwc/ |
D | hwcStress.cpp | 560 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/tools/aapt2/cmd/ |
D | Compile.cpp | 488 nine_patch = NinePatch::Create(image->rows.get(), image->width, image->height, &err); in CompilePng() 501 memmove(image->rows.get(), image->rows.get() + 1, image->height * sizeof(uint8_t**)); in CompilePng() 503 memmove(image->rows[h], image->rows[h] + 4, image->width * 4); in CompilePng()
|
/frameworks/hardware/interfaces/vr/composer/1.0/ |
D | IVrComposerClient.hal | 30 * rows may be padded. 35 * Specifies how many rows of pixels are allocated in the buffer.
|