Home | History | Annotate | Download | only in nav

Lines Matching refs: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);
965 const CachedRoot* root = getFrameCache(DontAllowNewer);
966 if (!root)
968 SkPicture* picture = root->pictureAt(0, 0);
1004 const CachedRoot* root = getFrameCache(DontAllowNewer);
1005 if (!root)
1007 SkPicture* picture = root->pictureAt(x, y);
1111 CachedRoot* root = getFrameCache(DontAllowNewer);
1112 if (!root) {
1113 DBG_NAV_LOG("!root");
1116 const CachedNode* cursorNode = root->currentCursor();
1125 CachedRoot* root = getFrameCache(DontAllowNewer);
1126 if (!root) {
1127 DBG_NAV_LOG("!root");
1130 const CachedNode* focusNode = root->currentFocus();
1181 CachedRoot* root = getFrameCache(DontAllowNewer);
1182 if (!root)
1184 root->resetLayers();
1185 root->setRootLayer(m_rootLayer);
1258 CachedRoot* root = view->getFrameCache(WebView::DontAllowNewer);
1259 if (!root)
1262 (void) root->currentCursor(&frame);
1269 CachedRoot* root = view->getFrameCache(WebView::DontAllowNewer);
1270 return root ? root->currentCursor() : 0;
1277 CachedRoot* root = view->getFrameCache(WebView::DontAllowNewer);
1278 return root ? root->currentCursor(frame) : 0;
1285 CachedRoot* root = view->getFrameCache(WebView::DontAllowNewer);
1286 if (!root)
1288 const CachedNode* cursor = root->currentCursor(frame);
1291 return root->currentFocus();
1297 CachedRoot* root = view->getFrameCache(WebView::DontAllowNewer);
1298 if (!root)
1300 const CachedNode* cursor = root->currentCursor();
1302 cursor = root->currentFocus();
1304 return root->nextTextField(cursor, 0);
1310 CachedRoot* root = view->getFrameCache(WebView::DontAllowNewer);
1311 return root ? root->currentFocus() : 0;
1318 CachedRoot* root = view->getFrameCache(WebView::DontAllowNewer);
1319 return root ? root->currentFocus(frame) : 0;
1325 CachedRoot* root = view->getFrameCache(WebView::DontAllowNewer);
1326 if (!root)
1329 const CachedNode* cursor = root->currentCursor(&frame);
1331 cursor = root->currentFocus(&frame);
1364 const CachedRoot* root = view->getFrameCache(WebView::DontAllowNewer);
1366 if (root)
1367 root->getSimulatedMousePosition(&pos);
1429 const LayerAndroid* root = GET_NATIVE_VIEW(env, obj)->rootLayer();
1430 if (root)
1431 return root->evaluateAnimations();
1461 CachedRoot* root = view->getFrameCache(WebView::DontAllowNewer);
1462 if (!root)
1465 const CachedNode* cursor = root->currentCursor(&frame);
1467 (void) root->currentFocus(&frame);
1646 LayerAndroid* root = GET_NATIVE_VIEW(env, obj)->rootLayer();
1647 if (root) {
1650 rect = root->subtractLayers(rect);
1663 CachedRoot* root = view->getFrameCache(WebView::DontAllowNewer);
1664 return root ? root->textGeneration() : 0;
1770 CachedRoot* root = view->getFrameCache(WebView::AllowNewer);
1771 if (!root) {
1786 int width = root->documentWidth();
1787 int height = root->documentHeight();
1795 root->draw(canvas);
1824 CachedRoot* root = view->getFrameCache(WebView::DontAllowNewer);
1825 if (!root)
1827 const CachedNode* cachedFocusNode = root->currentFocus();
1832 root->setTextGeneration(generation);
1857 CachedRoot* root = view->getFrameCache(WebView::DontAllowNewer);
1858 if (!root)
1860 const CachedNode* current = root->currentCursor();
1862 current = root->currentFocus();
1866 const CachedNode* next = root->nextTextField(current, &frame);
1870 root->rootHistory()->setMouseBounds(bounds);
1871 view->getWebViewCore()->updateCursorBounds(root, frame, next);
1872 root->setCursor(const_cast<CachedFrame*>(frame),
1987 // We have to set the canvas' matrix on the root layer