Home
last modified time | relevance | path

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

1234

/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/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/ui/views/controls/
Dimage_view.cc55 void ImageView::SetImageSize(const gfx::Size& image_size) { in SetImageSize() argument
57 image_size_ = image_size; in SetImageSize()
61 bool ImageView::GetImageSize(gfx::Size* image_size) { in GetImageSize() argument
62 DCHECK(image_size); in GetImageSize()
64 *image_size = image_size_; in GetImageSize()
69 gfx::Size image_size(image_size_set_ ? in GetImageBounds() local
71 return gfx::Rect(ComputeImageOrigin(image_size), image_size); in GetImageBounds()
85 gfx::Size image_size; in GetPreferredSize() local
86 GetImageSize(&image_size); in GetPreferredSize()
87 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);
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/ui/views/controls/button/
Dlabel_button_unittest.cc117 const int image_size = 50; in TEST_F() local
118 const gfx::ImageSkia image = CreateTestImage(image_size, image_size); in TEST_F()
119 ASSERT_LT(font.GetHeight(), image_size); in TEST_F()
123 EXPECT_LT(button.GetPreferredSize().width(), image_size); in TEST_F()
124 EXPECT_LT(button.GetPreferredSize().height(), image_size); in TEST_F()
128 EXPECT_LT(button.GetPreferredSize().width(), text_width + image_size); in TEST_F()
129 EXPECT_LT(button.GetPreferredSize().height(), image_size); in TEST_F()
131 EXPECT_GT(button.GetPreferredSize().width(), text_width + image_size); in TEST_F()
132 EXPECT_GT(button.GetPreferredSize().height(), image_size); in TEST_F()
150 EXPECT_GT(button.GetPreferredSize().width(), text_width + image_size); in TEST_F()
[all …]
Dlabel_button.cc186 const gfx::Size image_size(image_->GetPreferredSize()); in GetPreferredSize() local
187 const int image_width = image_size.width(); in GetPreferredSize()
195 size.SetToMax(gfx::Size(0, image_size.height())); in GetPreferredSize()
197 size.Enlarge(image_size.width() + insets.width(), insets.height()); in GetPreferredSize()
223 gfx::Size image_size(image_->GetPreferredSize()); in Layout() local
224 image_size.set_width(std::min(image_size.width(), child_area.width())); in Layout()
225 image_size.set_height(std::min(image_size.height(), child_area.height())); in Layout()
231 if (!image_size.IsEmpty() && !label_size.IsEmpty()) { in Layout()
233 std::max(child_area.width() - image_size.width() - kSpacing, 0)); in Layout()
244 image_origin.Offset(0, (child_area.height() - image_size.height()) / 2); in Layout()
[all …]
/external/chromium_org/chrome/browser/ui/views/infobars/
Dextension_infobar.cc59 int image_size = extension_misc::EXTENSION_ICON_BITTY; in Draw() local
61 image_size, image_size, false); in Draw()
62 canvas->DrawImageInt(drop_image_, image_size + kDropArrowLeftMargin, in Draw()
63 image_size / 2); in Draw()
68 int image_size = extension_misc::EXTENSION_ICON_BITTY; in ComputeSize() local
69 return gfx::Size(image_size + kDropArrowLeftMargin + drop_image.width(), in ComputeSize()
70 image_size); in ComputeSize()
147 extension_misc::ExtensionIcons image_size = in ViewHierarchyChanged() local
151 extension, image_size, ExtensionIconSet::MATCH_EXACTLY); in ViewHierarchyChanged()
157 gfx::Size(image_size, image_size), in ViewHierarchyChanged()
/external/chromium_org/chrome/browser/thumbnails/
Dcontent_analysis_unittest.cc290 gfx::Size image_size(1000, 2000); in TEST_F() local
294 target_size, image_size, computed_size); in TEST_F()
296 EXPECT_LE(adjusted_size.width(), image_size.width()); in TEST_F()
297 EXPECT_LE(adjusted_size.height(), image_size.height()); in TEST_F()
308 target_size, image_size, computed_size); in TEST_F()
310 EXPECT_LE(adjusted_size.width(), image_size.width()); in TEST_F()
311 EXPECT_LE(adjusted_size.height(), image_size.height()); in TEST_F()
327 target_size, image_size, computed_size); in TEST_F()
329 EXPECT_LE(adjusted_size.width(), image_size.width()); in TEST_F()
330 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
244 input_bitmap->config(), image_size.width(), image_size.height()); in ApplyGaussianGradientMagnitudeFilter()
249 input_bitmap->config(), image_size.width(), image_size.height()); in ApplyGaussianGradientMagnitudeFilter()
263 image_size, in ApplyGaussianGradientMagnitudeFilter()
272 image_size, in ApplyGaussianGradientMagnitudeFilter()
284 image_size, in ApplyGaussianGradientMagnitudeFilter()
293 image_size, in ApplyGaussianGradientMagnitudeFilter()
306 image_size, in ApplyGaussianGradientMagnitudeFilter()
315 image_size, in ApplyGaussianGradientMagnitudeFilter()
322 for (int r = 0; r < image_size.height(); ++r) { in ApplyGaussianGradientMagnitudeFilter()
[all …]
/external/chromium/chrome/browser/ui/views/infobars/
Dextension_infobar.cc94 int image_size = Extension::EXTENSION_ICON_BITTY; in ViewHierarchyChanged() local
96 image_size, ExtensionIconSet::MATCH_EXACTLY); in ViewHierarchyChanged()
99 gfx::Size(image_size, image_size), ImageLoadingTracker::DONT_CACHE); in ViewHierarchyChanged()
152 int image_size = Extension::EXTENSION_ICON_BITTY; in OnImageLoaded() local
156 image_size + kDropArrowLeftMargin + drop_image->width(), image_size, in OnImageLoaded()
159 image_size, image_size, false); in OnImageLoaded()
160 canvas->DrawBitmapInt(*drop_image, image_size + kDropArrowLeftMargin, in OnImageLoaded()
161 image_size / 2); in OnImageLoaded()
/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.cc521 const SkISize& image_size, in SingleChannelConvolveX1D() argument
533 if (filter_values == NULL || image_size.width() < filter_size) { in SingleChannelConvolveX1D()
548 for (int r = 0; r < image_size.height(); ++r) { in SingleChannelConvolveX1D()
566 for (; c < image_size.width() - centrepoint; in SingleChannelConvolveX1D()
580 for (; c < image_size.width(); ++c, target_byte += output_channel_count) { in SingleChannelConvolveX1D()
582 int overlap_taps = image_size.width() - c + centrepoint; in SingleChannelConvolveX1D()
605 const SkISize& image_size, in SingleChannelConvolveY1D() argument
617 if (filter_values == NULL || image_size.height() < filter_size) { in SingleChannelConvolveY1D()
629 for (int c = 0; c < image_size.width(); ++c) { in SingleChannelConvolveY1D()
648 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()
/external/chromium_org/chrome/browser/extensions/api/image_writer_private/
Doperation_linux.cc76 int64 image_size = reader->GetSize(); in WriteChunk() local
81 int percent_prev = kProgressComplete * bytes_written / image_size; in WriteChunk()
82 int percent_curr = kProgressComplete * (bytes_written + len) / image_size; in WriteChunk()
101 if (bytes_written == image_size) { in WriteChunk()
173 int64 image_size; in VerifyWriteStage2() local
176 if (!base::GetFileSize(image_path_, &image_size)){ in VerifyWriteStage2()
183 image_size, in VerifyWriteStage2()
/external/chromium_org/ui/message_center/views/
Dproportional_image_view.cc42 gfx::Size image_size(image_.size()); in OnPaint() local
43 if (image_size == draw_size) { in OnPaint()
50 image_size.width(), image_size.height(), in OnPaint()
/external/chromium_org/chrome/browser/ui/gtk/infobars/
Dextension_infobar_gtk.cc163 int image_size = extension_misc::EXTENSION_ICON_BITTY; in OnImageLoaded() local
167 gfx::Size(image_size + kDropArrowLeftMargin + drop_image->width(), in OnImageLoaded()
168 image_size), 1.0f, false)); in OnImageLoaded()
170 image_size, image_size, false); in OnImageLoaded()
171 canvas->DrawImageInt(*drop_image, image_size + kDropArrowLeftMargin, in OnImageLoaded()
172 image_size / 2); in OnImageLoaded()
/external/chromium_org/ui/views/touchui/
Dtouch_selection_controller_impl.cc141 gfx::Size image_size = GetHandleImageSize(); in GetWidgetHitTestMask() local
143 SkIntToScalar(image_size.width()) + 2 * kSelectionHandleHorizPadding, in GetWidgetHitTestMask()
144 SkIntToScalar(selection_rect_.height() + image_size.height() + in GetWidgetHitTestMask()
156 gfx::Size image_size = GetHandleImageSize(); in OnPaint() local
157 int cursor_pos_x = image_size.width() / 2 - kSelectionHandleLineWidth + in OnPaint()
197 gfx::Size image_size = GetHandleImageSize(); in GetPreferredSize() local
198 return gfx::Size(image_size.width() + 2 * kSelectionHandleHorizPadding, in GetPreferredSize()
199 image_size.height() + selection_rect_.height() + in GetPreferredSize()
217 gfx::Size image_size = GetHandleImageSize(); in SetSelectionRectInScreen() local
220 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/chrome/browser/ui/gtk/
Dthrobber_gtk.cc69 const int image_size = cairo_frames->Height(); in OnExpose() local
70 const int image_offset = frame * image_size; in OnExpose()
73 cairo_rectangle(cairo_context, 0, 0, image_size, image_size); in OnExpose()
/external/chromium/chrome/browser/ui/views/
Dtab_icon_view.cc94 int image_size = throbber.height(); in PaintThrobber() local
95 PaintIcon(canvas, throbber, throbber_frame_ * image_size, 0, image_size, in PaintThrobber()
96 image_size, false); in PaintThrobber()
/external/chromium_org/chrome/browser/ui/views/
Dtab_icon_view.cc96 int image_size = throbber.height(); in PaintThrobber() local
97 PaintIcon(canvas, throbber, throbber_frame_ * image_size, 0, image_size, in PaintThrobber()
98 image_size, false); in PaintThrobber()
/external/chromium_org/chrome/browser/ui/views/download/
Ddownload_shelf_view.cc218 gfx::Size image_size = arrow_image_->GetPreferredSize(); in Layout() local
224 kDownloadsTitlePadding - image_size.width() - in Layout()
230 CenterPosition(image_size.height(), height()), in Layout()
231 image_size.width(), image_size.height()); in Layout()
232 next_x += image_size.width() + kDownloadsTitlePadding; in Layout()
320 gfx::Size image_size = arrow_image_->GetPreferredSize(); in CanFitFirstDownloadItem() local
329 image_size.width() - kDownloadPadding - kLeftPadding; in CanFitFirstDownloadItem()
/external/qemu/hw/
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()

1234