/frameworks/rs/tests/java_api/HealingBrush/src/rs/example/android/com/healingbrush/ |
Healing.java | 113 int area = calcMaskArea(mask); local 115 int steps = (int) Math.sqrt(area);
|
/packages/apps/Camera2/src/com/android/camera/settings/ |
ResolutionUtil.java | 92 * This is the area of the largest size, used for sorting 108 // sort area greatest to least 128 * (sorted by maximum area), and sorted within aspect ratio by area) 161 * Get the area in pixels of a size. 164 * @return the area. 166 private static int area(Size size) { method in class:ResolutionUtil 188 double targetArea = Math.pow(.5, result.size()) * area(largest); 189 if (area(size) < targetArea) { 194 && (targetArea - area(lastSize) < area(size) - targetArea)) [all...] |
/packages/apps/DevCamera/src/com/android/devcamera/ |
CameraInfoCache.java | 217 int area = 0; local 219 if (sizes[j].getHeight() * sizes[j].getWidth() > area) { 220 area = sizes[j].getHeight() * sizes[j].getWidth();
|
/bionic/tools/relocation_packer/src/ |
elf_file.cc | 66 uint8_t* area = new uint8_t[size]; local 67 memcpy(area, section_data, size); 68 data->d_buf = area; [all...] |
/external/ImageMagick/MagickCore/ |
shear.c | 1196 area, local 1410 area, local [all...] |
quantize.c | 2189 area, local [all...] |
statistic.c | 1117 area; local 1245 area, local 1380 area; local 2139 area, local [all...] |
/external/adhd/cras/src/server/ |
cras_iodev.h | 141 * area - Information about how the samples are stored. 188 struct cras_audio_area **area, 207 struct cras_audio_area *area; member in struct:cras_iodev 289 /* Initializes the audio area for this iodev. 291 * iodev - the iodev to init audio area 297 /* Frees the audio area for this iodev. 299 * iodev - the iodev to free audio area 516 * area - Filled with a pointer to the audio to read/write. 520 struct cras_audio_area **area, 526 * area - Filled with a pointer to the audio to read/write [all...] |
cras_iodev.c | 552 if (iodev->area) 555 iodev->area = cras_audio_area_create(num_channels); 556 cras_audio_area_config_channels(iodev->area, iodev->format); 561 if (!iodev->area) 564 cras_audio_area_destroy(iodev->area); 565 iodev->area = NULL; 957 struct cras_audio_area **area, 966 rc = iodev->get_buffer(iodev, area, frames); 977 hw_buffer = (*area)->channels[0].buf; 988 struct cras_audio_area **area, 1087 struct cras_audio_area *area = NULL; local [all...] |
/external/adhd/cras/src/tests/ |
a2dp_iodev_unittest.cc | 241 struct cras_audio_area *area; local 255 iodev->get_buffer(iodev, &area, &frames); 257 ASSERT_EQ(256, area->frames); 310 struct cras_audio_area *area; local 326 iodev->get_buffer(iodev, &area, &frames); 328 ASSERT_EQ(700, area->frames); 546 iodev->area = dummy_audio_area; 552 void cras_audio_area_config_buf_pointers(struct cras_audio_area *area,
|
dev_stream_unittest.cc | 134 free(rstream_.shm.area); 141 shm->area = static_cast<struct cras_audio_shm_area *>( 147 buf = (int16_t *)shm->area->samples; 160 struct cras_audio_area *area; local 170 area = (struct cras_audio_area*)calloc(1, sizeof(*area) + 171 2 * sizeof(*area->channels)); 172 area->num_channels = 2; 173 channel_area_set_channel(&area->channels[0], CRAS_CH_FL); 174 channel_area_set_channel(&area->channels[1], CRAS_CH_FR) 204 struct cras_audio_area *area; local [all...] |
audio_thread_unittest.cc | 120 rstream->shm.area = static_cast<cras_audio_shm_area*>( 121 calloc(1, sizeof(rstream->shm.area))); 125 free(rstream->shm.area); 156 struct cras_audio_area** area, 173 *area = area_; 660 rstream.shm.area = &shm_area; 778 struct cras_audio_area **area, 785 struct cras_audio_area **area, 789 *area = cras_iodev_get_output_buffer_area; 869 const struct cras_audio_area *area, 1026 struct cras_audio_area *area; local [all...] |
audio_thread_unittest_obsolete.cc | 17 const struct cras_audio_area *area; member in struct:dev_stream_capture_call 122 free(shm_->area); 124 free(shm2_->area); 141 shm->area = (struct cras_audio_shm_area *)calloc(1, 142 sizeof(*shm->area) + cb_threshold_ * 8); 164 struct cras_audio_area** area, 181 *area = area_; 282 EXPECT_EQ(0, shm_->area->write_offset[0]); 314 EXPECT_EQ(&audio_buffer_[0], dev_stream_capture_call.area->channels[0].buf); 354 EXPECT_EQ(&audio_buffer_[0], dev_stream_capture_call.area->channels[0].buf) [all...] |
/external/libvpx/libvpx/third_party/libyuv/source/ |
planar_functions.cc | 1905 int area = radius * (bot_y - top_y); local [all...] |
/external/libxcam/modules/ocl/ |
cl_image_360_stitch.cpp | 591 Rect area; local 592 area.pos_y = left_lap.pos_y; 593 area.height = left_lap.height; 594 area.pos_x = left_img_mid; 595 area.width = left_lap.pos_x + left_lap.width - left_img_mid; 596 _blender[idx]->set_input_valid_area (area, 0); 598 area.pos_y = right_lap.pos_y; 599 area.height = right_lap.height; 600 area.pos_x = right_lap.pos_x; 601 area.width = right_img_mid - right_lap.pos_x 645 Rect area; local [all...] |
/external/libyuv/files/source/ |
planar_functions.cc | 2238 int area = radius * (bot_y - top_y); local [all...] |
/external/opencv/cv/src/ |
cvfloodfill.cpp | 101 int area = 0; local 156 area += R - L + 1; 211 region->area = area; 233 int area = 0; local 288 area += R - L + 1; 344 region->area = area; 381 int area = 0; local 467 area += (int)length + 1 687 int area = 0; local [all...] |
/external/pdfium/third_party/agg23/ |
agg_rasterizer_scanline_aa.h | 56 int area; member in struct:agg::cell_aa 281 AGG_INLINE unsigned calculate_alpha(int area, bool no_smooth) const 283 int cover = area >> (poly_base_shift * 2 + 1 - 8); 340 int area = cur_cell->area; local 348 area += cur_cell->area; 351 if(area) { 352 alpha = calculate_alpha((cover << (poly_base_shift + 1)) - area, no_smooth);
|
/external/selinux/libselinux/src/ |
label_file.c | 846 struct mmap_area *area, *last_area; local 884 area = data->mmap_areas; 885 while (area) { 886 munmap(area->addr, area->len); 887 last_area = area; 888 area = area->next;
|
/packages/apps/Launcher3/src/com/android/launcher3/graphics/ |
IconNormalizer.java | 47 // Ratio of icon visible area to full icon size for a square shaped icon 49 // Ratio of icon visible area to full icon size for a circular shaped icon 54 // Slope used to calculate icon visible area to full icon size for any generic shaped icon. 188 * This closeness is used to determine the ratio of hull area to the full icon size. 279 // Area of the convex hull 280 float area = 0; local 285 area += mRightBorder[y] - mLeftBorder[y] + 1; 288 // Area of the rectangle required to fit the convex hull 290 float hullByRect = area / rectArea; 313 float areaScale = area / (width * height) 382 float area = size * size * MAX_CIRCLE_AREA_FACTOR; local [all...] |
/prebuilts/tools/common/spantable/ |
spantable.jar | |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/ |
LintListDialog.java | 103 Composite area = (Composite) super.createDialogArea(parent); local 104 Composite container = new Composite(area, SWT.NONE); 170 return area;
|
/cts/tests/tests/media/src/android/media/cts/ |
ImageReaderDecoderTest.java | 645 Rect area = new Rect(pos - step, pos, crop.width() / 2, crop.height() + 2 * step - pos); local 646 if (area.isEmpty()) { 649 area.offset(crop.left, crop.top); 650 area.intersect(crop); 652 long[] oneStat = CodecUtils.getRawStats(image, area); 653 if (VERBOSE) Log.v(TAG, "area=" + area + ", layer=" + layer + ", last=" 668 area.offset(crop.centerX() - area.left, 2 * (crop.centerY() - area.centerY())) [all...] |
/art/test/530-checker-lse/src/ |
Main.java | 944 double area = 0d; local 946 area = new Circle(radius).getArea(); 948 return area; [all...] |
/external/libedit/src/ |
terminal.c | 862 char *area; local 871 area = buf; 917 &area)); 1468 char *area; local [all...] |