Home
last modified time | relevance | path

Searched refs:image_size (Results 1 – 25 of 98) sorted by relevance

1234

/external/mesa3d/src/glx/
Dindirect_texture_compression.c79 GLint border, GLsizei image_size, in CompressedTexImage1D2D() argument
95 compsize = image_size; in CompressedTexImage1D2D()
107 __GLX_PUT_LONG(28, image_size); in CompressedTexImage1D2D()
110 data, image_size); in CompressedTexImage1D2D()
124 __GLX_PUT_LONG(32, image_size); in CompressedTexImage1D2D()
127 data, image_size); in CompressedTexImage1D2D()
140 GLenum format, GLsizei image_size, in CompressedTexSubImage1D2D() argument
154 compsize = image_size; in CompressedTexSubImage1D2D()
167 __GLX_PUT_LONG(32, image_size); in CompressedTexSubImage1D2D()
170 data, image_size); in CompressedTexSubImage1D2D()
[all …]
/external/chromium_org/third_party/mesa/src/src/glx/
Dindirect_texture_compression.c79 GLint border, GLsizei image_size, in CompressedTexImage1D2D() argument
95 compsize = image_size; in CompressedTexImage1D2D()
107 __GLX_PUT_LONG(28, image_size); in CompressedTexImage1D2D()
110 data, image_size); in CompressedTexImage1D2D()
124 __GLX_PUT_LONG(32, image_size); in CompressedTexImage1D2D()
127 data, image_size); in CompressedTexImage1D2D()
140 GLenum format, GLsizei image_size, in CompressedTexSubImage1D2D() argument
154 compsize = image_size; in CompressedTexSubImage1D2D()
167 __GLX_PUT_LONG(32, image_size); in CompressedTexSubImage1D2D()
170 data, image_size); in CompressedTexSubImage1D2D()
[all …]
/external/chromium_org/ui/views/controls/
Dimage_view.cc67 void ImageView::SetImageSize(const gfx::Size& image_size) { in SetImageSize() argument
69 image_size_ = image_size; in SetImageSize()
73 bool ImageView::GetImageSize(gfx::Size* image_size) const { in GetImageSize()
74 DCHECK(image_size); in GetImageSize()
76 *image_size = image_size_; in GetImageSize()
81 gfx::Size image_size(image_size_set_ ? in GetImageBounds() local
83 return gfx::Rect(ComputeImageOrigin(image_size), image_size); in GetImageBounds()
97 gfx::Size image_size; in GetPreferredSize() local
98 GetImageSize(&image_size); in GetPreferredSize()
99 image_size.Enlarge(insets.width(), insets.height()); in GetPreferredSize()
[all …]
Dthrobber.cc83 int image_size = frames_->height(); in OnPaint() local
84 int image_offset = current_frame * image_size; in OnPaint()
86 image_offset, 0, image_size, image_size, in OnPaint()
87 0, 0, image_size, image_size, in OnPaint()
Dimage_view.h53 void SetImageSize(const gfx::Size& image_size);
58 bool GetImageSize(gfx::Size* image_size) const;
102 gfx::Point ComputeImageOrigin(const gfx::Size& image_size) const;
/external/pixman/test/
Dregion-test.c89 int image_size = 128; in main() local
96 prng_rand_n (image_size), in main()
97 prng_rand_n (image_size), in main()
102 pixman_region32_init_rect (&r2, 0, 0, image_size, image_size); in main()
107 image = pixman_image_create_bits (PIXMAN_a1, image_size, image_size, NULL, 0); in main()
112 image_size, image_size); in main()
/external/chromium_org/chrome/browser/thumbnails/
Dcontent_analysis_unittest.cc286 gfx::Size image_size(1000, 2000); in TEST_F() local
290 target_size, image_size, computed_size); in TEST_F()
292 EXPECT_LE(adjusted_size.width(), image_size.width()); in TEST_F()
293 EXPECT_LE(adjusted_size.height(), image_size.height()); in TEST_F()
304 target_size, image_size, computed_size); in TEST_F()
306 EXPECT_LE(adjusted_size.width(), image_size.width()); in TEST_F()
307 EXPECT_LE(adjusted_size.height(), image_size.height()); in TEST_F()
323 target_size, image_size, computed_size); in TEST_F()
325 EXPECT_LE(adjusted_size.width(), image_size.width()); in TEST_F()
326 EXPECT_LE(adjusted_size.height(), image_size.height()); in TEST_F()
[all …]
Dcontent_analysis.cc240 const SkISize image_size = SkISize::Make(input_bitmap->width(), in ApplyGaussianGradientMagnitudeFilter() local
243 intermediate.allocPixels(input_bitmap->info().makeWH(image_size.width(), in ApplyGaussianGradientMagnitudeFilter()
244 image_size.height())); in ApplyGaussianGradientMagnitudeFilter()
247 intermediate2.allocPixels(input_bitmap->info().makeWH(image_size.width(), in ApplyGaussianGradientMagnitudeFilter()
248 image_size.height())); in ApplyGaussianGradientMagnitudeFilter()
260 image_size, in ApplyGaussianGradientMagnitudeFilter()
269 image_size, in ApplyGaussianGradientMagnitudeFilter()
281 image_size, in ApplyGaussianGradientMagnitudeFilter()
290 image_size, in ApplyGaussianGradientMagnitudeFilter()
303 image_size, in ApplyGaussianGradientMagnitudeFilter()
[all …]
/external/chromium_org/ui/views/controls/button/
Dlabel_button_unittest.cc120 const int image_size = 50; in TEST_F() local
121 const gfx::ImageSkia image = CreateTestImage(image_size, image_size); in TEST_F()
122 ASSERT_LT(font_list.GetHeight(), image_size); in TEST_F()
126 EXPECT_LT(button.GetPreferredSize().width(), image_size); in TEST_F()
127 EXPECT_LT(button.GetPreferredSize().height(), image_size); in TEST_F()
131 EXPECT_LT(button.GetPreferredSize().width(), text_width + image_size); in TEST_F()
132 EXPECT_LT(button.GetPreferredSize().height(), image_size); in TEST_F()
134 EXPECT_GT(button.GetPreferredSize().width(), text_width + image_size); in TEST_F()
135 EXPECT_GT(button.GetPreferredSize().height(), image_size); in TEST_F()
153 EXPECT_GT(button.GetPreferredSize().width(), text_width + image_size); in TEST_F()
[all …]
Dlabel_button.cc240 const gfx::Size image_size(image_->GetPreferredSize()); in GetPreferredSize() local
242 if (image_size.width() > 0 && size.width() > 0) in GetPreferredSize()
244 size.SetToMax(gfx::Size(0, image_size.height())); in GetPreferredSize()
246 size.Enlarge(image_size.width() + insets.width(), insets.height()); in GetPreferredSize()
269 const gfx::Size image_size(image_->GetPreferredSize()); in GetHeightForWidth() local
270 w -= image_size.width(); in GetHeightForWidth()
271 if (image_size.width() > 0 && !GetText().empty()) in GetHeightForWidth()
274 int height = std::max(image_size.height(), label_->GetHeightForWidth(w)); in GetHeightForWidth()
293 gfx::Size image_size(image_->GetPreferredSize()); in Layout() local
294 image_size.SetToMin(child_area.size()); in Layout()
[all …]
/external/chromium_org/chrome/browser/ui/views/infobars/
Dextension_infobar.cc60 int image_size = extension_misc::EXTENSION_ICON_BITTY; in Draw() local
62 image_size, image_size, false); in Draw()
63 canvas->DrawImageInt(drop_image_, image_size + kDropArrowLeftMargin, in Draw()
64 image_size / 2); in Draw()
69 int image_size = extension_misc::EXTENSION_ICON_BITTY; in ComputeSize() local
70 return gfx::Size(image_size + kDropArrowLeftMargin + drop_image.width(), in ComputeSize()
71 image_size); in ComputeSize()
157 extension_misc::ExtensionIcons image_size = in ViewHierarchyChanged() local
161 extension, image_size, ExtensionIconSet::MATCH_EXACTLY); in ViewHierarchyChanged()
167 gfx::Size(image_size, image_size), in ViewHierarchyChanged()
/external/chromium_org/skia/ext/
Drecursive_gaussian_convolution_unittest.cc96 SkISize image_size = SkISize::Make(kImgWidth, kImgHeight); in TEST() local
118 filter, image_size, in TEST()
121 filter, image_size, in TEST()
128 recursive_filter, image_size, in TEST()
132 recursive_filter, image_size, in TEST()
161 SkISize image_size = SkISize::Make(kImgWidth, kImgHeight); in TEST() local
179 recursive_filter, image_size, in TEST()
183 recursive_filter, image_size, in TEST()
217 recursive_filter, image_size, in TEST()
221 recursive_filter, image_size, in TEST()
[all …]
Dconvolver.cc518 const SkISize& image_size, in SingleChannelConvolveX1D() argument
530 if (filter_values == NULL || image_size.width() < filter_size) { in SingleChannelConvolveX1D()
545 for (int r = 0; r < image_size.height(); ++r) { in SingleChannelConvolveX1D()
563 for (; c < image_size.width() - centrepoint; in SingleChannelConvolveX1D()
577 for (; c < image_size.width(); ++c, target_byte += output_channel_count) { in SingleChannelConvolveX1D()
579 int overlap_taps = image_size.width() - c + centrepoint; in SingleChannelConvolveX1D()
602 const SkISize& image_size, in SingleChannelConvolveY1D() argument
614 if (filter_values == NULL || image_size.height() < filter_size) { in SingleChannelConvolveY1D()
626 for (int c = 0; c < image_size.width(); ++c) { in SingleChannelConvolveY1D()
645 for (; r < image_size.height() - centrepoint; in SingleChannelConvolveY1D()
[all …]
Drecursive_gaussian_convolution.cc227 const SkISize& image_size, in SingleChannelRecursiveGaussianX() argument
236 image_size.width(), in SingleChannelRecursiveGaussianX()
237 image_size.height(), in SingleChannelRecursiveGaussianX()
251 const SkISize& image_size, in SingleChannelRecursiveGaussianY() argument
260 image_size.height(), in SingleChannelRecursiveGaussianY()
261 image_size.width(), in SingleChannelRecursiveGaussianY()
Drecursive_gaussian_convolution.h49 const SkISize& image_size,
63 const SkISize& image_size,
/external/chromium_org/chrome/renderer/
Dchrome_render_frame_observer.cc35 gfx::Size image_size = image.size(); in Downscale() local
37 if (image_size.GetArea() < thumbnail_min_area_pixels) in Downscale()
40 if (image_size.width() <= thumbnail_max_size_pixels.width() && in Downscale()
41 image_size.height() <= thumbnail_max_size_pixels.height()) in Downscale()
44 gfx::SizeF scaled_size = image_size; in Downscale()
/external/chromium_org/ui/message_center/views/
Dproportional_image_view.cc35 gfx::Size image_size(image_.size()); in OnPaint() local
37 if (image_size == draw_size) { in OnPaint()
46 0, 0, image_size.width(), image_size.height(), in OnPaint()
/external/chromium_org/ui/views/touchui/
Dtouch_selection_controller_impl.cc178 gfx::Size image_size = GetHandleImageSize(); in GetWidgetHitTestMask() local
180 SkIntToScalar(image_size.width()) + 2 * kSelectionHandleHorizPadding, in GetWidgetHitTestMask()
181 SkIntToScalar(selection_rect_.height() + image_size.height() + in GetWidgetHitTestMask()
193 gfx::Size image_size = GetHandleImageSize(); in OnPaint() local
194 int cursor_pos_x = image_size.width() / 2 - kSelectionHandleLineWidth + in OnPaint()
234 gfx::Size image_size = GetHandleImageSize(); in GetPreferredSize() local
235 return gfx::Size(image_size.width() + 2 * kSelectionHandleHorizPadding, in GetPreferredSize()
236 image_size.height() + selection_rect_.height() + in GetPreferredSize()
258 gfx::Size image_size = GetHandleImageSize(); in SetSelectionRectInScreen() local
261 rect.x() - image_size.width() / 2 - kSelectionHandleHorizPadding, in SetSelectionRectInScreen()
[all …]
/external/chromium_org/ash/accelerators/
Ddebug_commands.cc23 gfx::Size image_size(1366, 768); in CreateWallpaperImage() local
24 gfx::Canvas canvas(image_size, 1.0f, true); in CreateWallpaperImage()
31 canvas.DrawRoundRect(gfx::Rect(image_size), 100, paint); in CreateWallpaperImage()
/external/chromium_org/ui/message_center/
Dmessage_center_style.cc32 const gfx::Size& image_size) { in GetImageSizeForContainerSize() argument
33 if (container_size.IsEmpty() || image_size.IsEmpty()) in GetImageSizeForContainerSize()
36 gfx::Size scaled_size = image_size; in GetImageSizeForContainerSize()
/external/chromium_org/chrome/browser/ui/views/
Dtab_icon_view.cc98 int image_size = throbber.height(); in PaintThrobber() local
99 PaintIcon(canvas, throbber, throbber_frame_ * image_size, 0, image_size, in PaintThrobber()
100 image_size, false); in PaintThrobber()
/external/chromium_org/chrome/browser/ui/views/download/
Ddownload_shelf_view.cc222 gfx::Size image_size = arrow_image_->GetPreferredSize(); in Layout() local
228 kDownloadsTitlePadding - image_size.width() - in Layout()
234 CenterPosition(image_size.height(), height()), in Layout()
235 image_size.width(), image_size.height()); in Layout()
236 next_x += image_size.width() + kDownloadsTitlePadding; in Layout()
324 gfx::Size image_size = arrow_image_->GetPreferredSize(); in CanFitFirstDownloadItem() local
333 image_size.width() - kDownloadPadding - kLeftPadding; in CanFitFirstDownloadItem()
/external/qemu/hw/arm/
Darmv7m.c165 int image_size; in armv7m_init() local
211 image_size = load_elf(kernel_filename, 0, &entry, &lowaddr, NULL); in armv7m_init()
212 if (image_size < 0) { in armv7m_init()
213 image_size = load_image_targphys(kernel_filename, 0, flash_size); in armv7m_init()
216 if (image_size < 0) { in armv7m_init()
/external/chromium_org/content/renderer/
Drenderer_clipboard_client.cc159 uint32 image_size = 0; in ReadImage() local
161 new ClipboardHostMsg_ReadImage(type, &image_handle, &image_size)); in ReadImage()
164 buffer.Map(image_size); in ReadImage()
165 data->append(static_cast<char*>(buffer.memory()), image_size); in ReadImage()
/external/chromium_org/chrome/browser/download/
Ddownload_shelf.cc101 int image_size, in PaintCustomDownloadProgress() argument
133 SkIntToScalar(bounds.x() + image_size), in PaintCustomDownloadProgress()
134 SkIntToScalar(bounds.y() + image_size)); in PaintCustomDownloadProgress()
139 path.lineTo(SkIntToScalar(bounds.x() + image_size / 2), in PaintCustomDownloadProgress()
140 SkIntToScalar(bounds.y() + image_size / 2)); in PaintCustomDownloadProgress()

1234