Home
last modified time | relevance | path

Searched refs:m_image (Results 1 – 25 of 47) sorted by relevance

12

/external/chromium_org/third_party/WebKit/Source/core/fetch/
DImageResource.cpp49 , m_image(0) in ImageResource()
59 , m_image(image) in ImageResource()
81 if (m_data && !m_image && !errorOccurred()) { in didAddClient()
83 m_image->setData(m_data, true); in didAddClient()
87 if (m_image && !m_image->isNull()) in didAddClient()
128 if (m_image && !errorOccurred()) in allClientsRemoved()
129 m_image->resetAnimation(); in allClientsRemoved()
160 if (m_image) in image()
161 return m_image.get(); in image()
177 if (!m_image) in imageForRenderer()
[all …]
/external/chromium_org/third_party/WebKit/Source/core/rendering/style/
DStyleFetchedImage.cpp33 : m_image(image) in StyleFetchedImage()
36 m_image->addClient(this); in StyleFetchedImage()
41 m_image->removeClient(this); in ~StyleFetchedImage()
46 return CSSPrimitiveValue::create(m_image->url().string(), CSSPrimitiveValue::CSS_URI); in cssValue()
51 return m_image->canRender(renderer, multiplier); in canRender()
56 return m_image->isLoaded(); in isLoaded()
61 return m_image->errorOccurred(); in errorOccurred()
66 return m_image->imageSizeForRenderer(renderer, multiplier); in imageSize()
71 return m_image->imageHasRelativeWidth(); in imageHasRelativeWidth()
76 return m_image->imageHasRelativeHeight(); in imageHasRelativeHeight()
[all …]
DCursorData.h36 : m_image(image) in CursorData()
43 return m_hotSpot == o.m_hotSpot && m_image == o.m_image;
51 StyleImage* image() const { return m_image.get(); } in image()
52 void setImage(PassRefPtr<StyleImage> image) { m_image = image; } in setImage()
58 RefPtr<StyleImage> m_image;
DBorderData.h46 bool haveImage = m_image.hasImage(); in hasBorder()
65 if (!m_image.hasImage() && (m_left.style() == BNONE || m_left.style() == BHIDDEN)) in borderLeftWidth()
72 if (!m_image.hasImage() && (m_right.style() == BNONE || m_right.style() == BHIDDEN)) in borderRightWidth()
79 if (!m_image.hasImage() && (m_top.style() == BNONE || m_top.style() == BHIDDEN)) in borderTopWidth()
86 if (!m_image.hasImage() && (m_bottom.style() == BNONE || m_bottom.style() == BHIDDEN)) in borderBottomWidth()
93 …_left && m_right == o.m_right && m_top == o.m_top && m_bottom == o.m_bottom && m_image == o.m_image
107 const NinePieceImage& image() const { return m_image; } in image()
120 NinePieceImage m_image; variable
DFillLayer.cpp30 RefPtr<StyleImage> m_image; member
45 , m_image(FillLayer::initialFillImage(type)) in FillLayer()
79 , m_image(o.m_image) in FillLayer()
123 m_image = o.m_image; in operator =()
162 …return StyleImage::imagesEquivalent(m_image.get(), o.m_image.get()) && m_xPosition == o.m_xPositio… in operator ==()
338 if (m_image && *s == *m_image) in containsImage()
349 if (curr->m_image && !curr->m_image->isLoaded()) in imagesAreLoaded()
358 if (!m_image) in hasOpaqueImage()
368 return m_image->knownToBeOpaque(renderer); in hasOpaqueImage()
DShapeValue.h74 StyleImage* image() const { return m_image.get(); } in image()
79 if (m_image != image) in setImage()
80 m_image = image; in setImage()
101 , m_image(image) in ShapeValue()
114 RefPtr<StyleImage> m_image; variable
DStyleFetchedImage.h41 virtual WrappedImagePtr data() const { return m_image.get(); } in data()
58 virtual ImageResource* cachedImage() const OVERRIDE { return m_image.get(); } in cachedImage()
63 ResourcePtr<ImageResource> m_image; variable
DContentData.h72 const StyleImage* image() const { return m_image.get(); } in image()
73 StyleImage* image() { return m_image.get(); } in image()
74 void setImage(PassRefPtr<StyleImage> image) { m_image = image; } in setImage()
88 : m_image(image) in ImageContentData()
98 RefPtr<StyleImage> m_image; variable
DFillLayer.h68 StyleImage* image() const { return m_image.get(); } in image()
103 void setImage(PassRefPtr<StyleImage> i) { m_image = i; m_imageSet = true; } in setImage()
120 void clearImage() { m_image.clear(); m_imageSet = false; } in clearImage()
158 if (m_image) in hasImage()
165 if (m_image && m_attachment == FixedBackgroundAttachment) in hasFixedImage()
203 RefPtr<StyleImage> m_image; variable
/external/opencv/otherlibs/highgui/
Dgrfmt_jpeg2000.cpp81 m_image = 0; in GrFmtJpeg2000Reader()
98 if( m_image ) in Close()
100 jas_image_destroy( m_image ); in Close()
101 m_image = 0; in Close()
116 m_image = jas_image_decode( m_stream, -1, 0 ); in ReadHeader()
117 if( m_image ) { in ReadHeader()
118 m_width = jas_image_width( m_image ); in ReadHeader()
119 m_height = jas_image_height( m_image ); in ReadHeader()
122 int numcmpts = jas_image_numcmpts( m_image ); in ReadHeader()
125 int depth = jas_image_cmptprec( m_image, i ); in ReadHeader()
[all …]
/external/chromium_org/third_party/WebKit/Source/core/css/
DCSSImageValue.cpp45 , m_image(image) in CSSImageValue()
56 if (!m_image) in cachedOrPendingImage()
57 m_image = StylePendingImage::create(this); in cachedOrPendingImage()
59 return m_image.get(); in cachedOrPendingImage()
75 m_image = StyleFetchedImage::create(cachedImage.get()); in cachedImage()
78 return (m_image && m_image->isImageResource()) ? toStyleFetchedImage(m_image) : 0; in cachedImage()
83 if (!m_image || !m_image->isImageResource()) in hasFailedOrCanceledSubresources()
85 if (Resource* cachedResource = toStyleFetchedImage(m_image)->cachedImage()) in hasFailedOrCanceledSubresources()
110 return m_image ? m_image->knownToBeOpaque(renderer) : false; in knownToBeOpaque()
DCSSCursorImageValue.cpp138 m_image = cachedImage; in cachedImage()
144 m_image = toCSSImageValue(m_imageValue.get())->cachedImage(loader); in cachedImage()
147 if (m_image && m_image->isImageResource()) in cachedImage()
148 return toStyleFetchedImage(m_image); in cachedImage()
158 if (!m_image) in cachedOrPendingImage()
159 m_image = StylePendingImage::create(this); in cachedOrPendingImage()
161 return m_image.get(); in cachedOrPendingImage()
176 if (!m_image || !m_image->isImageResource()) in cachedImageURL()
178 return toStyleFetchedImage(m_image)->cachedImage()->url().string(); in cachedImageURL()
183 m_image = 0; in clearImageResource()
/external/chromium_org/third_party/WebKit/Source/core/svg/graphics/
DSVGImageChromeClient.h41 : m_image(image) in SVGImageChromeClient()
46 SVGImage* image() const { return m_image; } in image()
51 m_image = 0; in chromeDestroyed()
57 if (m_image && m_image->imageObserver() && m_image->m_page) in invalidateContentsAndRootView()
58 m_image->imageObserver()->changedInRect(m_image, r); in invalidateContentsAndRootView()
61 SVGImage* m_image; variable
DSVGImageForContainer.h47 virtual bool usesContainerSize() const OVERRIDE { return m_image->usesContainerSize(); } in usesContainerSize()
48 virtual bool hasRelativeWidth() const OVERRIDE { return m_image->hasRelativeWidth(); } in hasRelativeWidth()
49 virtual bool hasRelativeHeight() const OVERRIDE { return m_image->hasRelativeHeight(); } in hasRelativeHeight()
52 m_image->computeIntrinsicDimensions(intrinsicWidth, intrinsicHeight, intrinsicRatio); in computeIntrinsicDimensions()
66 : m_image(image) in SVGImageForContainer()
74 SVGImage* m_image; variable
DSVGImage.h110 : m_image(image) in ImageObserverDisabler()
112 ASSERT(m_image->imageObserver()); in ImageObserverDisabler()
113 m_observer = m_image->imageObserver(); in ImageObserverDisabler()
114 m_image->setImageObserver(0); in ImageObserverDisabler()
119 m_image->setImageObserver(m_observer); in ~ImageObserverDisabler()
122 Image* m_image;
DSVGImageForContainer.cpp40m_image->drawForContainer(context, m_containerSize, m_zoom, dstRect, srcRect, compositeOp, blendMo… in draw()
46m_image->drawPatternForContainer(context, m_containerSize, m_zoom, srcRect, scale, phase, composit… in drawPattern()
51 return m_image->nativeImageForCurrentFrame(); in nativeImageForCurrentFrame()
/external/chromium_org/third_party/WebKit/Source/core/loader/
DImageLoader.cpp67 , m_image(0) in ImageLoader()
81 if (m_image) in ~ImageLoader()
82 m_image->removeClient(this); in ~ImageLoader()
114 ImageResource* oldImage = m_image.get(); in setImageWithoutConsideringPendingLoadEvent()
117 m_image = newImage; in setImageWithoutConsideringPendingLoadEvent()
193 ImageResource* oldImage = m_image.get(); in updateFromElement()
215 m_image = newImage; in updateFromElement()
258 ASSERT(resource == m_image.get()); in notifyFinished()
330 if (m_image != cachedImage && (m_imageComplete || !cachedImage)) in updateRenderer()
331 imageResource->setImageResource(m_image.get()); in updateRenderer()
[all …]
/external/chromium_org/third_party/WebKit/Source/web/tests/
DBitmapImageTest.cpp70 void destroyDecodedData(bool destroyAll) { m_image->destroyDecodedData(destroyAll); } in destroyDecodedData()
71 size_t frameCount() { return m_image->frameCount(); } in frameCount()
72 void setCurrentFrame(size_t frame) { m_image->m_currentFrame = frame; } in setCurrentFrame()
73 size_t frameDecodedSize(size_t frame) { return m_image->m_frames[frame].m_frameBytes; } in frameDecodedSize()
74 size_t decodedFramesCount() const { return m_image->m_frames.size(); } in decodedFramesCount()
81 m_image->setData(imageData, true); in loadImage()
84 size_t frameCount = m_image->frameCount(); in loadImage()
86 m_image->frameAtIndex(i); in loadImage()
107 m_image = BitmapImage::create(&m_imageObserver); in SetUp()
111 RefPtr<BitmapImage> m_image; member in WebCore::BitmapImageTest
/external/chromium_org/third_party/WebKit/Source/core/animation/
DAnimatableImage.cpp49 if (!m_image->isImageResource()) in interpolateTo()
51 ImageResource* resource = static_cast<ImageResource*>(m_image->data()); in interpolateTo()
52 fromValue = CSSImageValue::create(resource->url(), m_image.get()); in interpolateTo()
60 if (!image->m_image->isImageResource()) in interpolateTo()
62 ImageResource* resource = static_cast<ImageResource*>(image->m_image->data()); in interpolateTo()
63 toValue = CSSImageValue::create(resource->url(), image->m_image.get()); in interpolateTo()
78 return StyleImage::imagesEquivalent(m_image.get(), toAnimatableImage(value)->m_image.get()); in equalTo()
DAnimatableImage.h47 PassRefPtr<CSSValue> toCSSValue() const { return m_image->cssValue(); } in toCSSValue()
48 StyleImage* toStyleImage() const { return m_image.get(); } in toStyleImage()
56 : m_image(image) in AnimatableImage()
58 ASSERT(m_image); in AnimatableImage()
63 const RefPtr<StyleImage> m_image; variable
/external/chromium_org/third_party/WebKit/Source/core/svg/graphics/filters/
DSVGFEImage.cpp42 , m_image(image) in FEImage()
70 if (m_image) { in determineAbsolutePaintRect()
71 srcRect.setSize(m_image->size()); in determineAbsolutePaintRect()
96 if (!m_image && !renderer) in applySoftware()
109 srcRect = FloatRect(FloatPoint(), m_image->size()); in applySoftware()
139 resultImage->context()->drawImage(m_image.get(), destRect, srcRect); in applySoftware()
145 if (m_image) in externalRepresentation()
146 imageSize = m_image->size(); in externalRepresentation()
159 if (!m_image) in createImageFilter()
162 if (!m_image->nativeImageForCurrentFrame()) in createImageFilter()
[all …]
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/core/controls/
DCImageLabel.java34 private Image m_image; field in CImageLabel
65 return m_image; in getImage()
69 m_image = image; in setImage()
108 Rectangle imageBounds = m_image == null ? new Rectangle(0, 0, 0, 0) : m_image.getBounds(); in doPaint()
110 if (m_image != null) { in doPaint()
113 gc.drawImage(m_image, x, y); in doPaint()
134 Rectangle imageBounds = m_image == null ? new Rectangle(0, 0, 0, 0) : m_image.getBounds(); in computeSize()
/external/chromium_org/third_party/WebKit/Source/platform/graphics/skia/
DNativeImageSkia.h92 …return adoptRef(new NativeImageSkia(m_image, m_resizedImage, m_cachedImageInfo, m_resizeRequests)); in clone()
105 void setDataComplete() { m_image.setImmutable(); } in setDataComplete()
108 bool isDataComplete() const { return m_image.isImmutable(); } in isDataComplete()
111 const SkBitmap& bitmap() const { return m_image; } in bitmap()
112 SkBitmap& bitmap() { return m_image; } in bitmap()
181 SkBitmap m_image; variable
/external/chromium_org/third_party/WebKit/Source/platform/graphics/
DCanvas2DLayerBridge.cpp112 mailboxInfo->m_image->getTexture()->invalidateCachedState(); in ~Canvas2DLayerBridge()
290 mailboxInfo->m_image->getTexture()->invalidateCachedState(); in prepareMailbox()
291 mailboxInfo->m_image.reset(0); in prepareMailbox()
303 mailboxInfo->m_image.swap(&image); in prepareMailbox()
307 mailboxInfo->m_image->getTexture()->invalidateCachedState(); in prepareMailbox()
310 ASSERT(mailboxInfo->m_image.get()); in prepareMailbox()
311 ASSERT(mailboxInfo->m_image->getTexture()); in prepareMailbox()
313 m_context->bindTexture(GL_TEXTURE_2D, mailboxInfo->m_image->getTexture()->getTextureHandle()); in prepareMailbox()
409 m_image.swap(const_cast<SkAutoTUnref<SkImage>*>(&other.m_image)); in MailboxInfo()
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderListMarker.cpp1069 if (m_image) in ~RenderListMarker()
1070 m_image->removeClient(this); in ~RenderListMarker()
1093 if (m_image != style()->listStyleImage()) { in styleDidChange()
1094 if (m_image) in styleDidChange()
1095 m_image->removeClient(this); in styleDidChange()
1096 m_image = style()->listStyleImage(); in styleDidChange()
1097 if (m_image) in styleDidChange()
1098 m_image->addClient(this); in styleDidChange()
1111 return m_image && !m_image->errorOccurred(); in isImage()
1152 context->drawImage(m_image->image(this, marker.size()).get(), marker); in paint()
[all …]

12