Home | History | Annotate | Download | only in nav

Lines Matching defs:layer

101         // Restore the scroll position of the layer.  Does not affect layers
102 // without overflow scroll as the layer will not be scrolled.
246 RenderLayer* layer = renderer->enclosingLayer();
247 if (layer != NULL) {
350 RenderLayer* layer = renderer->enclosingLayer();
351 if (layer == NULL) {
448 RenderLayer* layer = 0;
452 layer = hasLayer ? toRenderBoxModelObject(renderer)->layer() : 0;
458 hasLayer && layer->isComposited() ? "true" : "false");
509 RenderLayer* layer = toRenderBoxModelObject(renderer)->layer();
510 RenderLayerBacking* back = layer->backing();
515 snprintf(scratch, sizeof(scratch), "// layer:%p back:%p"
517 layer, back, grLayer, aLayer, pict, r.x(), r.y(),
610 int contentsWidth = layer->width();
611 int contentsHeight = layer->height();
1029 // The frame itself might be composited so we need to track the layer. Do
1030 // not track the base frame's layer as the main content is draw as part of
1117 // If this renderer has its own layer and the layer is composited,
1119 if (lastChild && nodeRenderer->hasLayer() && toRenderBoxModelObject(nodeRenderer)->layer()->backing())
1382 // If this renderer has a composited parent layer (including itself),
1383 // add the node to the cached layer.
1387 LayerAndroid* layer = layerTracker.last().mLayer;
1388 if (layer) {
1391 DBG_NAV_LOGD("skipped on layer clip %d", cacheIndex);
1398 layer->uniqueId());
2881 RenderLayer* layer = renderer->enclosingLayer();
2882 if (layer == NULL)
2892 cachedFrame->setContentsSize(layer->scrollWidth(), layer->scrollHeight());
2908 RenderLayer* layer = nodeRenderer->enclosingLayer();
2909 RenderLayerBacking* back = layer->backing();
2920 IntPoint scroll(layer->scrollXOffset(), layer->scrollYOffset());
2922 // If this is an overflow element, track the content layer.
2923 if (layer->hasOverflowScroll() && aLayer->getChild(0))
2927 // Prevent a crash when scrolling a layer that does not have a parent.
2928 if (layer->stackingContext())
2929 layer->scrollToOffset(0, 0);
2934 indexTracker.mRenderLayer = layer;
2936 // Use the absolute location of the layer as the bounds location. This
2937 // provides the original offset of nodes in the layer so that we can
2938 // translate nodes between their original location and the layer's new
2940 indexTracker.mBounds.setLocation(layer->absoluteBoundingBox().location());
2944 DBG_NAV_LOGD("layer=%p [%d] bounds=(%d,%d,w=%d,h=%d)", aLayer,