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.cpp48 , m_image(nullptr) in ImageResource()
58 , m_image(image) in ImageResource()
67 , m_image(image) in ImageResource()
89 if (m_data && !m_image && !errorOccurred()) { in didAddClient()
91 m_image->setData(m_data, true); in didAddClient()
95 if (m_image && !m_image->isNull()) in didAddClient()
136 return !m_image || (m_image->hasOneRef() && m_data->refCount() == 2); in isSafeToUnlock()
141 …if (!hasClients() && !isLoading() && (!m_image || (m_image->hasOneRef() && m_image->isBitmapImage(… in destroyDecodedDataIfPossible()
142 m_image = nullptr; in destroyDecodedDataIfPossible()
144 } else if (m_image && !errorOccurred()) { in destroyDecodedDataIfPossible()
[all …]
/external/chromium_org/third_party/WebKit/Source/core/rendering/style/
DStyleFetchedImage.cpp34 : m_image(image) in StyleFetchedImage()
37 m_image->addClient(this); in StyleFetchedImage()
42 m_image->removeClient(this); in ~StyleFetchedImage()
47 return CSSImageValue::create(m_image->url(), const_cast<StyleFetchedImage*>(this)); in cssValue()
52 return m_image->canRender(renderer, multiplier); in canRender()
57 return m_image->isLoaded(); in isLoaded()
62 return m_image->errorOccurred(); in errorOccurred()
67 return m_image->imageSizeForRenderer(renderer, multiplier); in imageSize()
72 return m_image->imageHasRelativeWidth(); in imageHasRelativeWidth()
77 return m_image->imageHasRelativeHeight(); in imageHasRelativeHeight()
[all …]
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
103 && m_image == o.m_image in visuallyEqual()
120 const NinePieceImage& image() const { return m_image; } in image()
133 NinePieceImage m_image; variable
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;
DFillLayer.cpp32 RefPtr<StyleImage> m_image; member
47 , m_image(FillLayer::initialFillImage(type)) in FillLayer()
81 , m_image(o.m_image) in FillLayer()
125 m_image = o.m_image; in operator =()
164 …return dataEquivalent(m_image, o.m_image) && m_xPosition == o.m_xPosition && m_yPosition == o.m_yP… in operator ==()
340 if (m_image && *s == *m_image) in containsImage()
351 if (curr->m_image && !curr->m_image->isLoaded()) in imagesAreLoaded()
360 if (!m_image) in hasOpaqueImage()
370 return m_image->knownToBeOpaque(renderer); in hasOpaqueImage()
DShapeValue.h68 StyleImage* image() const { return m_image.get(); } in image()
80 if (m_image != image) in setImage()
81 m_image = image; in setImage()
101 , m_image(image) in ShapeValue()
114 RefPtr<StyleImage> 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
DStyleFetchedImage.h41 virtual WrappedImagePtr data() const OVERRIDE { return m_image.get(); } in data()
58 virtual ImageResource* cachedImage() const OVERRIDE { return m_image.get(); } in cachedImage()
63 ResourcePtr<ImageResource> 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/svg/graphics/
DSVGImageChromeClient.cpp43 : m_image(image) in SVGImageChromeClient()
55 m_image = 0; in chromeDestroyed()
61 if (m_image && m_image->imageObserver() && m_image->m_page) in invalidateContentsAndRootView()
62 m_image->imageObserver()->changedInRect(m_image, r); in invalidateContentsAndRootView()
78 double fireTime = m_image->hasAnimations() ? animationFrameDelay : 0; in scheduleAnimation()
84 if (!m_image) in animationTimerFired()
89m_image->frameView()->page()->animator().serviceScriptedAnimations(monotonicallyIncreasingTime()); in animationTimerFired()
90 m_image->frameView()->updateLayoutAndStyleForPainting(); in animationTimerFired()
DSVGImageForContainer.h47 void setURL(const KURL& url) { m_image->setURL(url); } in setURL()
49 virtual bool usesContainerSize() const OVERRIDE { return m_image->usesContainerSize(); } in usesContainerSize()
50 virtual bool hasRelativeWidth() const OVERRIDE { return m_image->hasRelativeWidth(); } in hasRelativeWidth()
51 virtual bool hasRelativeHeight() const OVERRIDE { return m_image->hasRelativeHeight(); } in hasRelativeHeight()
54 m_image->computeIntrinsicDimensions(intrinsicWidth, intrinsicHeight, intrinsicRatio); in computeIntrinsicDimensions()
68 : m_image(image) in SVGImageForContainer()
76 SVGImage* m_image; variable
DSVGImage.h113 : m_image(image) in ImageObserverDisabler()
115 ASSERT(m_image->imageObserver()); in ImageObserverDisabler()
116 m_observer = m_image->imageObserver(); in ImageObserverDisabler()
117 m_image->setImageObserver(0); in ImageObserverDisabler()
122 m_image->setImageObserver(m_observer); in ~ImageObserverDisabler()
125 Image* m_image;
DSVGImageForContainer.cpp39m_image->drawForContainer(context, m_containerSize, m_zoom, dstRect, srcRect, compositeOp, blendMo… in draw()
45m_image->drawPatternForContainer(context, m_containerSize, m_zoom, srcRect, scale, phase, composit… in drawPattern()
50 return m_image->nativeImageForCurrentFrame(); in nativeImageForCurrentFrame()
DSVGImageChromeClient.h43 SVGImage* image() const { return m_image; } in image()
52 SVGImage* m_image; variable
/external/chromium_org/third_party/WebKit/Source/core/css/
DCSSImageValue.cpp40 , m_image(image) in CSSImageValue()
51 if (!m_image) in cachedOrPendingImage()
52 m_image = StylePendingImage::create(this); in cachedOrPendingImage()
54 return m_image.get(); in cachedOrPendingImage()
71 m_image = StyleFetchedImage::create(cachedImage.get()); in cachedImage()
74 return (m_image && m_image->isImageResource()) ? toStyleFetchedImage(m_image) : 0; in cachedImage()
79 if (!m_accessedImage || !m_image->isImageResource() || !document.fetcher()) in restoreCachedResourceIfNeeded()
84 ImageResource* resource = m_image->cachedImage(); in restoreCachedResourceIfNeeded()
94 if (!m_image || !m_image->isImageResource()) in hasFailedOrCanceledSubresources()
96 if (Resource* cachedResource = toStyleFetchedImage(m_image)->cachedImage()) in hasFailedOrCanceledSubresources()
[all …]
DCSSCursorImageValue.cpp142 m_image = cachedImage; in cachedImage()
148 m_image = toCSSImageValue(m_imageValue.get())->cachedImage(loader); in cachedImage()
151 if (m_image && m_image->isImageResource()) in cachedImage()
152 return toStyleFetchedImage(m_image); in cachedImage()
162 if (!m_image) in cachedOrPendingImage()
163 m_image = StylePendingImage::create(this); in cachedOrPendingImage()
165 return m_image.get(); in cachedOrPendingImage()
180 if (!m_image || !m_image->isImageResource()) in cachedImageURL()
182 return toStyleFetchedImage(m_image)->cachedImage()->url().string(); in cachedImageURL()
187 m_image = nullptr; in clearImageResource()
/external/chromium_org/third_party/WebKit/Source/platform/graphics/
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()
105 m_image->advanceAnimation(0); in advanceAnimation()
112 m_image = BitmapImage::create(&m_imageObserver); in SetUp()
[all …]
DCanvas2DLayerBridge.cpp313 if (mailboxInfo->m_image) { in freeReleasedMailbox()
315 …mailboxInfo->m_image->getTexture()->resetFlag(static_cast<GrTextureFlags>(GrTexture::kReturnToCach… in freeReleasedMailbox()
316 mailboxInfo->m_image->getTexture()->textureParamsModified(); in freeReleasedMailbox()
317 mailboxInfo->m_image.clear(); in freeReleasedMailbox()
416 mailboxInfo->m_image = image; in prepareMailbox()
419 ASSERT(mailboxInfo->m_image.get()); in prepareMailbox()
420 ASSERT(mailboxInfo->m_image->getTexture()); in prepareMailbox()
425 mailboxInfo->m_image->getTexture()->textureParamsModified(); in prepareMailbox()
427 webContext->bindTexture(GL_TEXTURE_2D, mailboxInfo->m_image->getTexture()->getTextureHandle()); in prepareMailbox()
436 mailboxInfo->m_image.clear(); in prepareMailbox()
[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/core/loader/
DImageLoader.cpp99 , m_image(0) in ImageLoader()
115 if (m_image) in ~ImageLoader()
116 m_image->removeClient(this); in ~ImageLoader()
144 ImageResource* oldImage = m_image.get(); in setImageWithoutConsideringPendingLoadEvent()
147 m_image = newImage; in setImageWithoutConsideringPendingLoadEvent()
221 ImageResource* oldImage = m_image.get(); in doUpdateFromElement()
239 m_image = newImage; in doUpdateFromElement()
340 ASSERT(resource == m_image.get()); in notifyFinished()
402 if (m_image != cachedImage && (m_imageComplete || !cachedImage)) in updateRenderer()
403 imageResource->setImageResource(m_image.get()); in updateRenderer()
[all …]
/external/chromium_org/third_party/WebKit/Source/core/svg/graphics/filters/
DSVGFEImage.cpp45 , m_image(image) in FEImage()
78 if (!m_image && !renderer) in determineAbsolutePaintRect()
104 srcRect = FloatRect(FloatPoint(), m_image->size()); in determineAbsolutePaintRect()
126 if (!m_image && !renderer) in applySoftware()
142 srcRect = FloatRect(FloatPoint(), m_image->size()); in applySoftware()
145 resultImage->context()->drawImage(m_image.get(), destRect, srcRect); in applySoftware()
171 if (m_image) in externalRepresentation()
172 imageSize = m_image->size(); in externalRepresentation()
219 if (!m_image && !renderer) in createImageFilter()
227 FloatRect srcRect = FloatRect(FloatPoint(), m_image->size()); in createImageFilter()
[all …]
/external/chromium_org/third_party/WebKit/Source/platform/graphics/skia/
DNativeImageSkia.h78 …return adoptRef(new NativeImageSkia(m_image, m_resizedImage, m_cachedImageInfo, m_resizeRequests)); in clone()
88 bool isDataComplete() const { return m_image.isImmutable(); } in isDataComplete()
91 const SkBitmap& bitmap() const { return m_image; } in bitmap()
160 SkBitmap m_image; variable
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderListMarker.cpp1068 if (m_image) in ~RenderListMarker()
1069 m_image->removeClient(this); in ~RenderListMarker()
1092 if (m_image != style()->listStyleImage()) { in styleDidChange()
1093 if (m_image) in styleDidChange()
1094 m_image->removeClient(this); in styleDidChange()
1095 m_image = style()->listStyleImage(); in styleDidChange()
1096 if (m_image) in styleDidChange()
1097 m_image->addClient(this); in styleDidChange()
1110 return m_image && !m_image->errorOccurred(); in isImage()
1150 context->drawImage(m_image->image(this, marker.size()).get(), marker); in paint()
[all …]
/external/chromium_org/third_party/WebKit/Source/platform/
DCursor.cpp147 , m_image(image) in Cursor()
155 , m_image(image) in Cursor()
169 , m_image(other.m_image) in Cursor()
178 m_image = other.m_image; in operator =()

12