Lines Matching full:root
203 CachedRoot* root = getFrameCache(AllowNewer);
204 if (!root)
208 root->clearCursor();
215 CachedRoot* root = getFrameCache(AllowNewer);
216 if (!root)
220 root->hideCursor();
236 CachedRoot* root = getFrameCache(DontAllowNewer);
237 if (root)
238 root->mDebug.print();
260 CachedRoot* root = getFrameCache(DontAllowNewer);
261 if (root) {
262 cachedCursor = root->currentCursor(&cachedFrame);
357 bool drawCursorPreamble(CachedRoot* root)
360 const CachedNode* node = root->currentCursor(&frame);
371 setVisibleRect(root);
372 m_ring.m_root = root;
399 CachedRoot* root = getFrameCache(AllowNewer);
400 if (!root) {
401 DBG_NAV_LOG("!root");
416 if (drawCursorPreamble(root) && m_ring.setup()) {
437 // We have to set the canvas' matrix on the root layer
449 CachedRoot* root = getFrameCache(allowNewer);
450 if (!root) {
451 DBG_NAV_LOG("!root");
454 const CachedNode* cursor = root->currentCursor();
466 CachedRoot* root = getFrameCache(DontAllowNewer);
467 if (root) {
469 const CachedNode* cachedNode = root->currentCursor(&cachedFrame);
663 const CachedRoot* root = getFrameCache(DontAllowNewer);
664 return root ? root->imageURI(x, y) : WebCore::String();
669 const CachedRoot* root = getFrameCache(DontAllowNewer);
670 if (root) {
671 const CachedNode* focus = root->currentCursor();
682 CachedRoot* root = getFrameCache(AllowNewer);
683 if (!root) {
684 DBG_NAV_LOG("!root");
691 const CachedNode* cursor = root->currentCursor(&oldFrame);
692 WebCore::IntPoint cursorLocation = root->cursorLocation();
696 WebCore::IntRect visibleRect = setVisibleRect(root);
699 root->setMaxScroll(xMax, yMax);
705 root->setScrollOnly(m_ring.m_followedLink);
708 cachedNode = root->moveCursor(direction, &cachedFrame, &scroll);
715 root->cursorLocation().x(), root->cursorLocation().y(),
728 root->checkForJiggle(&dx);
737 m_viewImpl->updateCursorBounds(root, cachedFrame, cachedNode);
738 root->setCursor(const_cast<CachedFrame*>(cachedFrame),
740 bool disableFocusController = cachedNode != root->currentFocus()
745 int docHeight = root->documentHeight();
746 int docWidth = root->documentWidth();
776 const CachedNode* findAt(CachedRoot* root, const WebCore::IntRect& rect,
782 if (!root)
784 setVisibleRect(root);
785 return root->findAt(rect, framePtr, rxPtr, ryPtr, true);
788 IntRect setVisibleRect(CachedRoot* root)
794 root->setVisibleRect(visibleRect);
802 CachedRoot* root = getFrameCache(DontAllowNewer);
803 const CachedNode* node = findAt(root, rect, &frame, &rx, &ry);
806 DBG_NAV_LOGD("no nodes found root=%p", root);
808 if (root)
809 root->setCursor(0, 0);
812 root->rootHistory()->setMouseBounds(node->bounds(frame));
813 m_viewImpl->updateCursorBounds(root, frame, node);
814 root->setCursor(const_cast<CachedFrame*>(frame),
823 CachedRoot* root = getFrameCache(DontAllowNewer);
824 return root ? root->rootHistory()->navBounds() :
830 CachedRoot* root = getFrameCache(DontAllowNewer);
831 if (!root)
833 root->rootHistory()->setNavBounds(rect);
843 CachedRoot* root = getFrameCache(AllowNewer);
844 if (!root)
848 return (m_cacheHitNode = findAt(root, rect, &m_cacheHitFrame, &rx, &ry));
857 CachedRoot* root = getFrameCache(AllowNewer);
858 if (!root)
861 const CachedNode* result = findAt(root, rect, &frame, &rx, &ry);
863 DBG_NAV_LOGD("no nodes found root=%p", root);
866 root->hideCursor();
867 int dx = root->checkForCenter(x, y);
882 root->rootHistory()->setMouseBounds(navBounds);
883 m_viewImpl->updateCursorBounds(root, frame, result);
884 root->setCursor(const_cast<CachedFrame*>(frame),
904 CachedRoot* root = getFrameCache(AllowNewer);
905 if (root)
906 return root->getBlockLeftEdge(x, y, scale);
951 const CachedRoot* root = getFrameCache(DontAllowNewer);
952 if (!root)
954 SkPicture* picture = root->pictureAt(x, y);
1051 CachedRoot* root = getFrameCache(DontAllowNewer);
1052 if (!root) {
1053 DBG_NAV_LOG("!root");
1056 const CachedNode* cursorNode = root->currentCursor();
1065 CachedRoot* root = getFrameCache(DontAllowNewer);
1066 if (!root) {
1067 DBG_NAV_LOG("!root");
1070 const CachedNode* focusNode = root->currentFocus();
1121 CachedRoot* root = getFrameCache(DontAllowNewer);
1122 if (!root)
1124 root->resetLayers();
1125 root->setRootLayer(m_rootLayer);
1198 CachedRoot* root = view->getFrameCache(WebView::DontAllowNewer);
1199 if (!root)
1202 (void) root->currentCursor(&frame);
1209 CachedRoot* root = view->getFrameCache(WebView::DontAllowNewer);
1210 return root ? root->currentCursor() : 0;
1217 CachedRoot* root = view->getFrameCache(WebView::DontAllowNewer);
1218 return root ? root->currentCursor(frame) : 0;
1225 CachedRoot* root = view->getFrameCache(WebView::DontAllowNewer);
1226 if (!root)
1228 const CachedNode* cursor = root->currentCursor(frame);
1231 return root->currentFocus();
1237 CachedRoot* root = view->getFrameCache(WebView::DontAllowNewer);
1238 if (!root)
1240 const CachedNode* cursor = root->currentCursor();
1242 cursor = root->currentFocus();
1244 return root->nextTextField(cursor, 0);
1250 CachedRoot* root = view->getFrameCache(WebView::DontAllowNewer);
1251 return root ? root->currentFocus() : 0;
1258 CachedRoot* root = view->getFrameCache(WebView::DontAllowNewer);
1259 return root ? root->currentFocus(frame) : 0;
1265 CachedRoot* root = view->getFrameCache(WebView::DontAllowNewer);
1266 if (!root)
1269 const CachedNode* cursor = root->currentCursor(&frame);
1271 cursor = root->currentFocus(&frame);
1304 const CachedRoot* root = view->getFrameCache(WebView::DontAllowNewer);
1306 if (root)
1307 root->getSimulatedMousePosition(&pos);
1369 const LayerAndroid* root = GET_NATIVE_VIEW(env, obj)->rootLayer();
1370 if (root)
1371 return root->evaluateAnimations();
1401 CachedRoot* root = view->getFrameCache(WebView::DontAllowNewer);
1402 if (!root)
1405 const CachedNode* cursor = root->currentCursor(&frame);
1407 (void) root->currentFocus(&frame);
1571 LayerAndroid* root = GET_NATIVE_VIEW(env, obj)->rootLayer();
1572 if (root) {
1575 rect = root->subtractLayers(rect);
1588 CachedRoot* root = view->getFrameCache(WebView::DontAllowNewer);
1589 return root ? root->textGeneration() : 0;
1695 CachedRoot* root = view->getFrameCache(WebView::AllowNewer);
1696 if (!root) {
1711 int width = root->documentWidth();
1712 int height = root->documentHeight();
1720 root->draw(canvas);
1742 CachedRoot* root = view->getFrameCache(WebView::DontAllowNewer);
1743 if (!root)
1745 const CachedNode* cachedFocusNode = root->currentFocus();
1750 root->setTextGeneration(generation);
1775 CachedRoot* root = view->getFrameCache(WebView::DontAllowNewer);
1776 if (!root)
1778 const CachedNode* current = root->currentCursor();
1780 current = root->currentFocus();
1784 const CachedNode* next = root->nextTextField(current, &frame);
1788 root->rootHistory()->setMouseBounds(bounds);
1789 view->getWebViewCore()->updateCursorBounds(root, frame, next);
1790 root->setCursor(const_cast<CachedFrame*>(frame),
1867 // We have to set the canvas' matrix on the root layer