Searched defs:image (Results 251 - 275 of 902) sorted by relevance

<<11121314151617181920>>

/external/chromium_org/ppapi/examples/2d/
H A Dscroll.cc24 void FillRect(pp::ImageData* image, const pp::Rect& rect, uint32_t color) { argument
26 y < std::min(image->size().height(), rect.bottom());
29 x < std::min(image->size().width(), rect.right());
31 *image->GetAddr32(pp::Point(x, y)) = color;
/external/chromium_org/ppapi/examples/input/
H A Dpointer_event_input.cc27 static void FillRect(pp::ImageData* image, argument
31 y < std::min(image->size().height() - 1, top + height);
34 x < std::min(image->size().width() - 1, left + width);
36 *image->GetAddr32(pp::Point(x, y)) = color;
102 // Make an image just large enough to hold all dirty rects. We won't
104 // ones. Since image allocation can be somewhat heavyweight, we wouldn't
109 // We could repaint everything inside the image we made above. For this
120 // Since our image is just the invalid region, we need to offset the
/external/chromium_org/ppapi/examples/video_effects/
H A Dvideo_effects.cc144 uint8_t* image = static_cast<uint8_t*>(image_data.data()); local
146 uint8_t* top = image + i * image_data.stride();
147 uint8_t* bottom = image + (size.height() - 1 - i) * image_data.stride();
/external/chromium_org/ppapi/proxy/
H A Dgraphics_2d_resource.cc64 "Graphics2DResource.PaintImageData: Bad image resource.");
94 "Graphics2DResource.PaintImageData: Bad image resource.");
135 bool Graphics2DResource::ReadImageData(PP_Resource image, argument
141 PpapiHostMsg_Graphics2D_ReadImageData(image, *top_left));
/external/chromium_org/ppapi/shared_impl/
H A Dcompositor_layer_data.h100 return !(color || texture || image);
107 if (image) ++i;
116 scoped_ptr<ImageLayer> image; member in struct:ppapi::CompositorLayerData
/external/chromium_org/ppapi/tests/
H A Dtest_compositor.cc129 pp::ImageData image; local
130 VERIFY(CreateImage(&image));
135 image_layer.SetImage(image, pp::Size(100, 100),
209 pp::ImageData image; local
210 VERIFY(CreateImage(&image));
215 image_layer.SetImage(image, pp::Size(100, 100),
274 pp::ImageData image; local
275 VERIFY(CreateImage(&image));
280 image_layer.SetImage(image, pp::Size(100, 100),
357 pp::ImageData image; local
416 CreateImage(pp::ImageData* image) argument
[all...]
/external/chromium_org/remoting/client/plugin/
H A Dpepper_input_handler.cc209 void PepperInputHandler::SetMouseCursor(scoped_ptr<pp::ImageData> image, argument
211 cursor_image_ = image.Pass();
/external/chromium_org/third_party/WebKit/Source/core/css/
H A DCSSCrossfadeValue.cpp167 PassRefPtr<Image> CSSCrossfadeValue::image(RenderObject* renderer, const IntSize& size) function in class:blink::CSSCrossfadeValue
/external/chromium_org/third_party/WebKit/Source/core/frame/
H A DImageBitmap.cpp27 static inline PassRefPtr<Image> cropImage(Image* image, const IntRect& cropRect) argument
29 IntRect intersectRect = intersection(IntRect(IntPoint(), image->size()), cropRect);
34 image->nativeImageForCurrentFrame()->bitmap().extractSubset(&cropped, intersectRect);
38 ImageBitmap::ImageBitmap(HTMLImageElement* image, const IntRect& cropRect) argument
39 : m_imageElement(image)
43 IntRect srcRect = intersection(cropRect, IntRect(0, 0, image->width(), image->height()));
128 ImageBitmap::ImageBitmap(Image* image, const IntRect& cropRect) argument
132 IntRect srcRect = intersection(cropRect, IntRect(IntPoint(), image->size()));
133 m_bitmap = cropImage(image, cropRec
145 create(HTMLImageElement* image, const IntRect& cropRect) argument
175 create(Image* image, const IntRect& cropRect) argument
[all...]
H A DImageBitmapTest.cpp69 // test's memory cache; image resources are released, evicting
80 // Verifies that the image resource held by an ImageBitmap is the same as the
92 ASSERT_EQ(imageBitmapNoCrop->bitmapImage().get(), imageElement->cachedImage()->image());
93 ASSERT_EQ(imageBitmapInteriorCrop->bitmapImage().get(), imageElement->cachedImage()->image());
94 ASSERT_EQ(imageBitmapExteriorCrop->bitmapImage().get(), imageElement->cachedImage()->image());
97 ASSERT_NE(emptyImage.get(), imageElement->cachedImage()->image());
153 // ImageBitmaps that do not contain any of the source image do not elevate CacheLiveResourcePriority.
159 // CacheLiveResourcePriroity should return to CacheLiveResourcePriorityLow when no ImageBitmaps reference the image.
164 // There is still an ImageBitmap that references this image.
177 RefPtrWillBeRawPtr<HTMLImageElement> image local
[all...]
/external/chromium_org/third_party/WebKit/Source/core/html/
H A DHTMLAreaElement.cpp194 HTMLImageElement* image = imageElement(); local
195 if (!image || !image->renderer() || image->renderer()->style()->visibility() != VISIBLE)
/external/chromium_org/third_party/WebKit/Source/core/html/forms/
H A DImageInputType.cpp55 return InputTypeNames::image;
122 RenderImage* image = new RenderImage(&element()); local
123 image->setImageResource(RenderImageResource::create());
124 return image;
129 RenderImage* image = toRenderImage(element().renderer()); local
130 if (!image)
132 image->updateAltText();
154 imageResource->setImageResource(imageLoader->image());
156 // If we have no image at all because we have no src attribute, set
157 // image heigh
[all...]
/external/chromium_org/third_party/WebKit/Source/core/loader/
H A DImageLoader.h79 // This forces the image to update its intrinsic size, even if the image source has not changed.
98 ImageResource* image() const { return m_image.get(); } function in class:blink::ImageLoader
/external/chromium_org/third_party/WebKit/Source/core/rendering/
H A DImageQualityController.cpp68 InterpolationQuality ImageQualityController::chooseInterpolationQuality(GraphicsContext* context, RenderObject* object, Image* image, const void* layer, const LayoutSize& layoutSize) argument
71 && image
72 && (layoutSize.width() > image->width() || layoutSize.height() > image->height() || layoutSize == image->size())) {
79 if (shouldPaintAtLowQuality(context, object, image, layer, layoutSize))
83 if (image && image->maybeAnimated())
156 bool ImageQualityController::shouldPaintAtLowQuality(GraphicsContext* context, RenderObject* object, Image* image, const void *layer, const LayoutSize& layoutSize) argument
158 // If the image i
[all...]
H A DRenderScrollbarPart.cpp156 void RenderScrollbarPart::imageChanged(WrappedImagePtr image, const IntRect* rect) argument
168 RenderBlock::imageChanged(image, rect);
/external/chromium_org/third_party/WebKit/Source/core/rendering/style/
H A DBorderData.h120 const NinePieceImage& image() const { return m_image; } function in class:blink::BorderData
H A DContentData.h75 const StyleImage* image() const { return m_image.get(); } function in class:blink::FINAL
76 StyleImage* image() { return m_image.get(); } function in class:blink::FINAL
77 void setImage(PassRefPtr<StyleImage> image) { m_image = image; } argument
86 return *static_cast<const ImageContentData&>(data).image() == *image();
90 ImageContentData(PassRefPtr<StyleImage> image) argument
91 : m_image(image)
97 RefPtr<StyleImage> image = const_cast<StyleImage*>(this->image()); variable
[all...]
H A DStyleFetchedImageSet.cpp35 StyleFetchedImageSet::StyleFetchedImageSet(ImageResource* image, float imageScaleFactor, CSSImageSetValue* value) argument
36 : m_bestFitImage(image)
112 PassRefPtr<Image> StyleFetchedImageSet::image(RenderObject* renderer, const IntSize&) const function in class:blink::StyleFetchedImageSet
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
H A DRenderSVGImage.cpp63 bool RenderSVGImage::forceNonUniformScaling(SVGImageElement* image) const
66 // scaling. This can be achieved by setting the image's container size to
67 // its intrinsic size. If the image does not have an intrinsic size - or
71 if (image->preserveAspectRatio()->currentValue()->align() != SVGPreserveAspectRatio::SVG_PRESERVEASPECTRATIO_NONE)
82 // If the viewport defined by the referenced image is zero in either
91 SVGImageElement* image = toSVGImageElement(element()); local
95 SVGLengthContext lengthContext(image);
96 m_objectBoundingBox = FloatRect(image->x()->currentValue()->value(lengthContext), image->y()->currentValue()->value(lengthContext), image
[all...]
/external/chromium_org/third_party/WebKit/Source/core/svg/graphics/filters/
H A DSVGFEImage.cpp43 FEImage::FEImage(Filter* filter, PassRefPtr<Image> image, PassRefPtr<SVGPreserveAspectRatio> preserveAspectRatio) argument
45 , m_image(image)
59 PassRefPtr<FEImage> FEImage::createWithImage(Filter* filter, PassRefPtr<Image> image, PassRefPtr<SVGPreserveAspectRatio> preserveAspectRatio) argument
61 return adoptRef(new FEImage(filter, image, preserveAspectRatio));
186 ts << " image-size=\"" << imageSize.width() << "x" << imageSize.height() << "\"]\n";
187 // FIXME: should this dump also object returned by SVGFEImage::image() ?
239 // FIXME: CSS image filters currently do not seem to set filter primitive
/external/chromium_org/third_party/WebKit/Source/platform/graphics/
H A DBitmapImageTest.cpp172 RefPtr<BitmapImage> image = BitmapImage::create(); local
173 EXPECT_FALSE(image->isAllDataReceived());
175 image->setData(imageData, false);
176 EXPECT_FALSE(image->isAllDataReceived());
178 image->setData(imageData, true);
179 EXPECT_TRUE(image->isAllDataReceived());
181 image->setData(SharedBuffer::create("data", sizeof("data")), false);
182 EXPECT_FALSE(image->isAllDataReceived());
184 image->setData(imageData, true);
185 EXPECT_TRUE(image
[all...]
H A DDeferredImageDecoderTest.cpp153 RefPtr<NativeImageSkia> image = m_lazyDecoder->frameBufferAtIndex(0)->asNewNativeImage(); local
154 EXPECT_EQ(1, image->bitmap().width());
155 EXPECT_EQ(1, image->bitmap().height());
156 EXPECT_FALSE(image->bitmap().isNull());
157 EXPECT_TRUE(image->bitmap().isImmutable());
161 tempCanvas->drawBitmap(image->bitmap(), 0, 0);
181 RefPtr<NativeImageSkia> image = m_lazyDecoder->frameBufferAtIndex(0)->asNewNativeImage(); local
184 tempCanvas->drawBitmap(image->bitmap(), 0, 0);
190 image = m_lazyDecoder->frameBufferAtIndex(0)->asNewNativeImage();
192 tempCanvas->drawBitmap(image
211 RefPtr<NativeImageSkia> image = m_lazyDecoder->frameBufferAtIndex(0)->asNewNativeImage(); local
314 RefPtr<NativeImageSkia> image = m_lazyDecoder->frameBufferAtIndex(0)->asNewNativeImage(); local
[all...]
/external/chromium_org/third_party/WebKit/Source/platform/graphics/filters/
H A DFEColorMatrix.cpp164 RefPtr<Image> image = in->asImageBuffer()->copyImage(DontCopyBackingStore); local
165 RefPtr<NativeImageSkia> nativeImage = image->nativeImageForCurrentFrame();
H A DFEDropShadow.cpp94 RefPtr<Image> image = in->asImageBuffer()->copyImage(DontCopyBackingStore); local
96 RefPtr<NativeImageSkia> nativeImage = image->nativeImageForCurrentFrame();
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/tool/servers/data/rebaselineserver/
H A Dmain.js307 $('image-outputs').style.display = '';
310 $('image-outputs').style.display = 'none';
372 new Image().src = getTestResultUrl(nextTest, 'expected-image');
373 new Image().src = getTestResultUrl(nextTest, 'actual-image');
413 var image = $(mode);
414 image.className = 'loading';
415 image.src = getTestResultUrl(testName, mode);
416 image.onload = function() {
417 image.className = '';
424 'expected-image',
[all...]

Completed in 3472 milliseconds

<<11121314151617181920>>