/external/chromium_org/ui/gfx/geometry/ |
D | r_tree_base.cc | 358 low_bounds[start_index], high_bounds[start_index]).size().GetArea(); in ChooseSplitIndex() 359 int smallest_combined_area = low_bounds[start_index].size().GetArea() + in ChooseSplitIndex() 360 high_bounds[start_index].size().GetArea(); in ChooseSplitIndex() 364 UnionRects(low_bounds[p], high_bounds[p]).size().GetArea(); in ChooseSplitIndex() 366 low_bounds[p].size().GetArea() + high_bounds[p].size().GetArea(); in ChooseSplitIndex() 429 candidate_node->rect(), overlap_node->rect()).size().GetArea(); in OverlapIncreaseToAdd() 432 total_expanded_overlap += expanded_overlap_rect.size().GetArea(); in OverlapIncreaseToAdd() 504 expanded_rects[0].size().GetArea() - best_node->rect().size().GetArea(); in LeastAreaEnlargement() 507 int area_change = expanded_rects[i].size().GetArea() - in LeastAreaEnlargement() 508 candidate_node->rect().size().GetArea(); in LeastAreaEnlargement() [all …]
|
D | size_base.h | 19 Type GetArea() const { return width_ * height_; } in GetArea() function
|
/external/chromium_org/ui/gl/ |
D | gl_surface_osmesa.cc | 27 if (size_.GetArea() == 0) in GLSurfaceOSMesa() 54 buffer_.reset(new int32[new_size.GetArea()]); in Resize() 55 memset(buffer_.get(), 0, new_size.GetArea() * sizeof(buffer_[0])); in Resize()
|
/external/chromium_org/ui/views/ |
D | rect_based_targeting_utils.cc | 19 int intersect_area = intersection.size().GetArea(); in PercentCoveredBy() 20 int rect_1_area = rect_1.size().GetArea(); in PercentCoveredBy()
|
/external/chromium_org/content/common/gpu/client/ |
D | gpu_memory_buffer_impl_shared_memory.cc | 40 if (!shared_memory->CreateAnonymous(size.GetArea() * in Create() 59 if (!shared_memory.CreateAnonymous(size.GetArea() * in AllocateForChildProcess() 120 if (!shared_memory_->Map(size_.GetArea() * BytesPerPixel(internalformat_))) in Map()
|
/external/chromium_org/media/video/capture/ |
D | video_capture_types.cc | 26 (frame_size.GetArea() >= 0) && in IsValid() 27 (frame_size.GetArea() < media::limits::kMaxCanvas) && in IsValid()
|
/external/chromium_org/chrome/browser/favicon/ |
D | favicon_handler.cc | 150 int area = sizes[i].GetArea(); in GetLargestSizeIndex() 151 if ((ret == -1 || sizes[ret].GetArea() < area) && area <= max_area) in GetLargestSizeIndex() 174 area1 = b1.icon_sizes.front().GetArea(); in CompareIconSize() 178 area2 = b2.icon_sizes.front().GetArea(); in CompareIconSize() 271 image.Size().GetArea() > in UpdateFaviconCandidate() 272 best_favicon_candidate_.image.Size().GetArea(); in UpdateFaviconCandidate() 286 image_urls_[1].icon_sizes[0].GetArea() < largest.GetArea(); in UpdateFaviconCandidate()
|
/external/chromium_org/media/video/capture/win/ |
D | sink_input_pin_win.cc | 55 requested_format_.frame_size.GetArea() * 3 / 2; in GetValidMediaType() 64 pvi->bmiHeader.biSizeImage = requested_format_.frame_size.GetArea() * 2; in GetValidMediaType() 73 pvi->bmiHeader.biSizeImage = requested_format_.frame_size.GetArea() * 3; in GetValidMediaType()
|
/external/chromium_org/content/browser/media/capture/ |
D | video_capture_oracle.cc | 320 DCHECK_GT(i->damage_rect.size().GetArea(), 0); in ElectMajorityDamageRect() 323 votes = candidate->size().GetArea(); in ElectMajorityDamageRect() 325 votes += i->damage_rect.size().GetArea(); in ElectMajorityDamageRect() 327 votes -= i->damage_rect.size().GetArea(); in ElectMajorityDamageRect() 356 const int area = i->damage_rect.size().GetArea(); in AnalyzeObservations()
|
D | desktop_capture_device_unittest.cc | 188 EXPECT_EQ(format.frame_size.GetArea() * 4, frame_size); in TEST_F() 231 EXPECT_EQ(format.frame_size.GetArea() * 4, frame_size); in TEST_F()
|
/external/chromium_org/ash/display/ |
D | display_change_observer_chromeos.cc | 67 if (size_a_dip.GetArea() == size_b_dip.GetArea()) in operator ()() 69 return (size_a_dip.GetArea() < size_b_dip.GetArea()); in operator ()()
|
D | display_info.cc | 176 if (mode.size.GetArea() >= largest_area && in CreateFromSpecWithID() 179 largest_area = mode.size.GetArea(); in CreateFromSpecWithID()
|
/external/chromium_org/ppapi/tests/ |
D | test_browser_font.cc | 177 memset(image.data(), 0xFF, 4 * kSize.GetArea()); in TestDraw() 192 for (int i = 0; i < kSize.GetArea(); ++i) { in TestDraw() 199 ASSERT_EQ(opaque_pixels, kSize.GetArea()); in TestDraw()
|
/external/chromium_org/ppapi/cpp/ |
D | size.h | 114 int GetArea() const { in GetArea() function 248 float GetArea() const { in GetArea() function
|
/external/chromium_org/ppapi/utility/graphics/ |
D | paint_aggregator.cc | 229 int paint_area = rect.size().GetArea(); in ShouldInvalidateScrollRect() 233 paint_area += existing_rect.size().GetArea(); in ShouldInvalidateScrollRect() 235 int scroll_area = update_.scroll_rect.size().GetArea(); in ShouldInvalidateScrollRect()
|
/external/chromium_org/content/browser/renderer_host/media/ |
D | video_capture_manager.cc | 43 if (format1.frame_size.GetArea() == format2.frame_size.GetArea()) in IsCaptureFormatSmaller() 45 return format1.frame_size.GetArea() < format2.frame_size.GetArea(); in IsCaptureFormatSmaller() 50 return format1.frame_size.GetArea() == format2.frame_size.GetArea(); in IsCaptureFormatSizeEqual()
|
/external/chromium_org/chrome/utility/cloud_print/ |
D | bitmap_image.cc | 18 data_(new uint8[size.GetArea() * channels()]) { in BitmapImage()
|
/external/chromium_org/cc/test/ |
D | test_shared_bitmap_manager.cc | 25 memory->CreateAndMapAnonymous(size.GetArea() * 4); in AllocateSharedBitmap()
|
/external/chromium_org/media/base/ |
D | video_frame.cc | 118 if (coded_size.GetArea() > limits::kMaxCanvas || in IsValidConfig() 124 natural_size.GetArea() > limits::kMaxCanvas || in IsValidConfig() 228 frame->data_[kUPlane] = data + new_coded_size.GetArea(); in WrapExternalPackedMemory() 229 frame->data_[kVPlane] = data + (new_coded_size.GetArea() * 5 / 4); in WrapExternalPackedMemory() 578 return PlaneSize(format, plane, coded_size).GetArea(); in PlaneAllocationSize()
|
/external/chromium_org/components/favicon_base/ |
D | select_favicon_frames.cc | 25 int max_area = candidate_sizes[0].GetArea(); in BiggestCandidate() 27 int area = candidate_sizes[i].GetArea(); in BiggestCandidate()
|
/external/chromium_org/chrome/renderer/ |
D | chrome_render_frame_observer.cc | 37 if (image_size.GetArea() < thumbnail_min_area_pixels) in Downscale()
|
/external/chromium_org/printing/ |
D | emf_win.cc | 528 if (page_size.GetArea() <= 0) { in RasterizeMetafile() 533 float scale = sqrt(float(raster_area_in_pixels) / page_size.GetArea()); in RasterizeMetafile() 572 if (page_bounds.size().GetArea() <= 0) { in RasterizeAlphaBlend()
|
/external/chromium_org/mojo/aura/ |
D | context_factory_mojo.cc | 58 memory->CreateAndMapAnonymous(size.GetArea() * 4); in AllocateSharedBitmap()
|
/external/chromium_org/pdf/ |
D | button.cc | 28 DCHECK(face_normal.size().GetArea()); in CreateButton()
|
/external/chromium_org/native_client_sdk/src/examples/api/var_array_buffer/ |
D | var_array_buffer.cc | 69 for (int i = 0; i < size.GetArea(); ++i) in MakeBlankImageData()
|