/external/webkit/WebCore/dom/ |
MouseRelatedEvent.cpp | 153 // Adjust layerX/Y to be relative to the layer. 154 // FIXME: We're pretty sure this is the wrong definition of "layer." 162 RenderLayer* layer = n->renderer()->enclosingLayer(); local 163 layer->updateLayerPosition(); 164 for (; layer; layer = layer->parent()) { 165 m_layerX -= layer->x(); 166 m_layerY -= layer->y();
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/kube/ |
Kube.java | 138 mLayers[kUp] = new Layer(Layer.kAxisY); 139 mLayers[kDown] = new Layer(Layer.kAxisY); 140 mLayers[kLeft] = new Layer(Layer.kAxisX); 141 mLayers[kRight] = new Layer(Layer.kAxisX); 142 mLayers[kFront] = new Layer(Layer.kAxisZ) 150 Layer layer; local [all...] |
/frameworks/base/services/surfaceflinger/ |
SurfaceFlinger.cpp | 49 #include "Layer.h" 361 // call Layer's destructor 416 sp<Layer> bypassLayer(mBypassLayer.promote()); 505 const sp<LayerBase>& layer = currentLayers[i]; local 506 uint32_t trFlags = layer->getTransactionFlags(eTransactionNeeded); 509 const uint32_t flags = layer->doTransaction(0); 510 if (flags & Layer::eVisibleRegion) 561 const sp<LayerBase>& layer(previousLayers[i]); 562 if (currentLayers.indexOf( layer ) < 0) { 563 // this layer is not visible anymor 619 const sp<LayerBase>& layer = currentLayers[i]; local 1202 sp<LayerBaseClient> layer; local 1279 sp<Layer> layer = new Layer(this, display, client); local 1292 sp<LayerBlur> layer = new LayerBlur(this, display, client); local 1301 sp<LayerDim> layer = new LayerDim(this, display, client); local 1310 sp<LayerBuffer> layer = new LayerBuffer(this, display, client); local 1328 sp<LayerBaseClient> layer = client->getLayerUser(sid); local [all...] |
LayerBuffer.h | 42 Source(LayerBuffer& layer); 125 BufferSource(LayerBuffer& layer, const ISurface::BufferHeap& buffers); 151 OverlaySource(LayerBuffer& layer, 165 sp<LayerBuffer> layer(mLayer.promote()); 166 if (layer != 0) { 167 layer->serverDestroy(); 171 OverlayChannel(const sp<LayerBuffer>& layer) 172 : mLayer(layer) {
|
SurfaceFlinger.h | 39 #include "Layer.h" 50 class Layer; 69 size_t attachLayer(const sp<LayerBaseClient>& layer); 70 void detachLayer(const LayerBaseClient* layer); 109 void detachLayer(const Layer* layer); 218 status_t removeLayer(const sp<LayerBase>& layer); 219 status_t addLayer(const sp<LayerBase>& layer); 220 status_t invalidateLayerVisibility(const sp<LayerBase>& layer); 221 void destroyLayer(LayerBase const* layer); [all...] |
/external/webkit/WebCore/platform/graphics/mac/ |
WebTiledLayer.mm | 60 - (id)initWithLayer:(id)layer 62 if ((self = [super initWithLayer:layer])) 63 m_layerOwner = [(WebLayer*)layer layerOwner];
|
WebLayer.mm | 41 + (void)drawContents:(WebCore::GraphicsLayer*)layerContents ofLayer:(CALayer*)layer intoContext:(CGContextRef)context 48 CGRect layerBounds = [layer bounds]; 65 // smaller than the layer bounds (e.g. tiled layers) 76 // FIXME: ideally we'd avoid calling -setNeedsDisplay on a layer that is a plain color, 84 bool isTiledLayer = [layer isKindOfClass:[CATiledLayer class]]; 121 - (id)initWithLayer:(id)layer 123 if ((self = [super initWithLayer:layer])) 124 m_layerOwner = [(WebLayer*)layer layerOwner];
|
GraphicsLayerCA.mm | 62 // The threshold width or height above which a tiled layer will be used. This should be 67 // The width and height of a single tile in a tiled layer. Should be large enough to 291 static void setLayerBorderColor(PlatformLayer* layer, const Color& color) 294 [layer setBorderColor:borderColor]; 298 static void clearBorderColor(PlatformLayer* layer) 300 [layer setBorderColor:nil]; 303 static void setLayerBackgroundColor(PlatformLayer* layer, const Color& color) 306 [layer setBackgroundColor:bgColor]; 310 static void clearLayerBackgroundColor(PlatformLayer* layer) 312 [layer setBackgroundColor:0] [all...] |
/external/webkit/WebCore/page/animation/ |
KeyframeAnimation.cpp | 199 RenderLayer* layer = toRenderBoxModelObject(m_object)->layer(); local 200 if (layer->isComposited()) 201 return layer->backing()->startAnimation(timeOffset, m_animation.get(), m_keyframes); 216 RenderLayer* layer = toRenderBoxModelObject(m_object)->layer(); local 217 if (layer->isComposited()) 218 layer->backing()->animationPaused(timeOffset, m_keyframes.animationName()); 235 RenderLayer* layer = toRenderBoxModelObject(m_object)->layer(); local [all...] |
ImplicitAnimation.cpp | 113 RenderLayer* layer = toRenderBoxModelObject(m_object)->layer(); local 114 if (layer->isComposited()) 115 return layer->backing()->startTransition(timeOffset, m_animatingProperty, m_fromStyle.get(), m_toStyle.get()); 127 RenderLayer* layer = toRenderBoxModelObject(m_object)->layer(); local 128 if (layer->isComposited()) 129 layer->backing()->transitionFinished(m_animatingProperty);
|
/external/webkit/WebCore/platform/graphics/android/ |
AndroidAnimation.h | 46 virtual bool evaluate(LayerAndroid* layer, double time) = 0; 75 virtual bool evaluate(LayerAndroid* layer, double time); 99 virtual bool evaluate(LayerAndroid* layer, double time);
|
GraphicsLayerAndroid.h | 43 // for hosting this GraphicsLayer in a native layer hierarchy 49 virtual void addChildAbove(GraphicsLayer* layer, GraphicsLayer* sibling); 50 virtual void addChildBelow(GraphicsLayer* layer, GraphicsLayer* sibling);
|
AndroidAnimation.cpp | 153 bool AndroidOpacityAnimation::evaluate(LayerAndroid* layer, double time) 163 layer->setOpacity(value); 261 bool AndroidTransformAnimation::evaluate(LayerAndroid* layer, double time) 279 layer->setTranslation(x, y); 282 layer->setScale(sx, sy); 285 layer->setRotation(a);
|
GraphicsLayerAndroid.cpp | 230 // If we are a fixed position layer, just set it 238 // position -- we can't use the layer's size as it could possibly differs. 315 GraphicsLayer* layer = m_children[i]; local 316 layer->setTransform(t); 317 if (layer->children().size()) 318 layer->setChildrenTransform(t); 323 void GraphicsLayerAndroid::setMaskLayer(GraphicsLayer* layer) 325 if (layer == m_maskLayer) 328 GraphicsLayer::setMaskLayer(layer); 396 GraphicsLayerAndroid* layer = static_cast<GraphicsLayerAndroid*>(m_children[i]) local 491 GraphicsLayerAndroid* layer = static_cast<GraphicsLayerAndroid*>(m_children[i]); local 870 GraphicsLayerAndroid* layer = static_cast<GraphicsLayerAndroid*>(m_maskLayer); local 896 GraphicsLayerAndroid* layer = static_cast<GraphicsLayerAndroid*>(m_children[i]); local 911 GraphicsLayerAndroid* layer = static_cast<GraphicsLayerAndroid*>(m_children[i]); local [all...] |
android_graphics.cpp | 64 void CursorRing::draw(SkCanvas* canvas, LayerAndroid* layer) 67 int layerId = m_node->isInLayer() ? m_frame->layer(m_node)->uniqueId() : -1; 68 if (layer->uniqueId() != layerId)
|
/external/webkit/WebCore/platform/graphics/ |
GraphicsLayer.h | 175 // Layer name. Only used to identify layers in debug output 179 // For hosting this GraphicsLayer in a native layer hierarchy. 183 void setParent(GraphicsLayer* layer) { m_parent = layer; } // Internal use only. 185 // Returns true if the layer has the given layer as an ancestor (excluding self). 195 virtual void addChildAbove(GraphicsLayer* layer, GraphicsLayer* sibling); 196 virtual void addChildBelow(GraphicsLayer* layer, GraphicsLayer* sibling); 203 virtual void setMaskLayer(GraphicsLayer* layer) { m_maskLayer = layer; } [all...] |
/external/webkit/WebKitExamplePlugins/NetscapeCoreAnimationPlugin/ |
main.m | 52 QCCompositionLayer *layer; 147 [obj->layer release]; 197 [obj->layer setValue:[NSNumber numberWithBool:obj->gold] forInputKey:@"gold"]; 226 if (!obj->layer) { 230 obj->layer = [[QCCompositionLayer compositionLayerWithComposition:composition] retain]; 233 // Make sure to return a retained layer 234 *((CALayer **)value) = [obj->layer retain];
|
/external/webkit/WebCore/platform/android/ |
PlatformBridge.h | 91 // An interface to the embedding layer, which has the ability to answer 96 // The methods in this class all need to reach across a JNI layer to the Java VM 100 // similarly to how Chromium's IPC layer lives outside of WebKit. 128 static void setUIRootLayer(const FrameView* view, const LayerAndroid* layer);
|
/external/webkit/WebCore/platform/qt/ |
QWebPageClient.h | 50 virtual void setRootGraphicsLayer(QGraphicsItem* layer) {}
|
/external/webkit/WebKit/android/nav/ |
CachedLayer.h | 52 const LayerAndroid* layer(const LayerAndroid* root) const;
|
/external/webkit/WebKit/mac/WebView/ |
WebHTMLViewInternal.h | 67 - (void)attachRootLayer:(CALayer*)layer;
|
/external/skia/src/utils/ |
SkLayer.cpp | 152 const SkLayer* layer = this; local 153 while (layer->fParent != NULL) { 154 layer = layer->fParent; 157 layer->getLocalTransform(&tmp); 158 tmp.preConcat(layer->getChildrenMatrix());
|
/external/webkit/WebCore/platform/graphics/qt/ |
GraphicsLayerQt.cpp | 59 // (a) we don't need the QBrush abstraction - we always end up using QGraphicsItem::paint from the mask layer 100 // this set of flags help us defer which properties of the layer have been 159 // we need to notify the client (aka the layer compositor) when the animation actually starts 276 if (GraphicsLayerQtImpl* layer = qobject_cast<GraphicsLayerQtImpl*>(item->toGraphicsObject())) { 277 if (layer->m_layer->drawsContent() && layer->m_currentContent.contentType == HTMLContentType) 278 layer->setCacheMode(animationIsRunning ? QGraphicsItem::ItemCoordinateCache : QGraphicsItem::DeviceCoordinateCache); 405 // we can't paint here, because we don't know if the mask layer 406 // itself is ready... we'll have to wait till this layer tries to paint 546 if (GraphicsLayerQtImpl* layer = qobject_cast<GraphicsLayerQtImpl*>(item->toGraphicsObject()) [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/directfb/ |
SDL_DirectFB_video.c | 2 SDL - Simple DirectMedia Layer 159 static DFBSurfacePixelFormat GetFormatForBpp (int bpp, IDirectFBDisplayLayer *layer) 164 layer->GetConfiguration (layer, &dlc); 382 IDirectFBDisplayLayer *layer = NULL; local 403 ret = dfb->GetDisplayLayer (dfb, DLID_PRIMARY, &layer); 417 layer->EnableCursor (layer, 1); 419 /* Query layer configuration to determine the current mode and pixelformat */ 420 layer->GetConfiguration (layer, &dlc) [all...] |
/packages/apps/Gallery3D/src/com/cooliris/media/ |
RenderView.java | 67 private Layer mTouchEventTarget = null; 118 public final ArrayList<Layer> updateList = new ArrayList<Layer>(); 119 public final ArrayList<Layer> opaqueList = new ArrayList<Layer>(); 120 public final ArrayList<Layer> blendedList = new ArrayList<Layer>(); 121 public final ArrayList<Layer> hitTestList = new ArrayList<Layer>(); 122 public final ArrayList<Layer> systemList = new ArrayList<Layer>() 661 final Layer layer = opaqueList.get(i); local 671 final Layer layer = blendedList.get(i); local 764 final Layer layer = hitTestList.get(i); local [all...] |