Lines Matching refs:layer
226 // deallocated base layer.
316 Layer* layerContainingMatch = rootLayer->findById(m_findOnPage.currentMatchLayerId());
319 // If the match is in a fixed position layer, there's nothing to do.
323 // If the match is in a scrollable layer or a descendant of such a layer,
326 // the layer in which the match is found, we move up the layer tree,
334 for (Layer* layer = layerContainingMatch; layer; layer = layer->getParent()) {
335 ASSERT(layer->getParent() || layer == rootLayer);
337 if (layer->contentIsScrollable()) {
338 // Convert the match location to layer's local space and scroll it.
339 // Repeatedly calling Layer::localToAncestor() is inefficient as
343 // Layer::localToAncestor() and would complicate things.
345 layerContainingMatch->localToAncestor(layer, &transform);
351 didScrollLayer |= static_cast<ScrollableLayerAndroid*>(layer)->scrollRectIntoView(roundedTransformedMatchBounds);
419 LayerAndroid* layer = root->rootLayer();
420 layer->updateFixedLayersPositions(m_visibleRect);
421 layer->updatePositions();
537 // draw the content of the base layer first
582 // We have to set the canvas' matrix on the base layer
693 const LayerAndroid* cursorLayer = oldCursorFrame->layer(oldCursorNode)
694 ->layer(m_frameCacheUI->rootLayer());
699 // get id from old layer and use to find new layer
722 LayerAndroid* layer = const_cast<LayerAndroid*>(
724 if (layer) {
725 layer->updateFixedLayersPositions(m_visibleRect);
726 layer->updatePositions();
1049 // Check the parent bounds first; this will clip to within a masking layer's
1425 "base layer can't have more than one child %s", __FUNCTION__);
1456 void setBaseLayer(BaseLayerAndroid* layer
1461 m_glWebViewState->setBaseLayer(layer, inval, showVisualIndicator,
1467 if (layer) {
1469 LayerAndroid* newCompositeRoot = static_cast<LayerAndroid*>(layer->getChild(0));
1474 m_baseLayer = layer;
1927 static void nativeSetBaseLayer(JNIEnv *env, jobject obj, jint layer, jobject inval,
1932 BaseLayerAndroid* layerImpl = reinterpret_cast<BaseLayerAndroid*>(layer);
2115 const CachedLayer* layer = frame->layer(node);
2116 if (!layer)
2118 return layer->uniqueId();
2185 LayerAndroid* layer = (LayerAndroid*) jlayer;
2186 r = layer->bounds();
2690 LayerAndroid* layer = root->findById(layerId);
2691 if (!layer || !layer->contentIsScrollable())
2693 return static_cast<ScrollableLayerAndroid*>(layer)->scrollTo(x, y);