Home
last modified time | relevance | path

Searched refs:rootNode (Results 1 – 25 of 247) sorted by relevance

12345678910

/external/chromium_org/third_party/WebKit/Source/core/dom/
DSelectorQuery.cpp50 explicit SingleNodeList(Node* rootNode) : m_currentNode(rootNode) { } in SingleNodeList() argument
67 ClassRootNodeList(Node& rootNode, const AtomicString& className) in ClassRootNodeList() argument
69 , m_rootNode(rootNode) in ClassRootNodeList()
99 ClassElementList(Node& rootNode, const AtomicString& className) in ClassElementList() argument
101 , m_rootNode(rootNode) in ClassElementList()
102 , m_currentElement(nextInternal(ElementTraversal::firstWithin(rootNode))) { } in ClassElementList()
142 …st::selectorMatches(const SelectorData& selectorData, Element& element, const Node& rootNode) const in selectorMatches()
154 …selectorCheckingContext.scope = !rootNode.isDocumentNode() && rootNode.isContainerNode() ? &toCont… in selectorMatches()
169 PassRefPtr<NodeList> SelectorDataList::queryAll(Node& rootNode) const in queryAll()
172 executeQueryAll(rootNode, result); in queryAll()
[all …]
DSelectorQuery.h49 PassRefPtr<NodeList> queryAll(Node& rootNode) const;
50 PassRefPtr<Element> queryFirst(Node& rootNode) const;
59 bool canUseFastQuery(const Node& rootNode) const;
61 …void collectElementsByClassName(Node& rootNode, const AtomicString& className, Vector<RefPtr<Node>…
62 Element* findElementByClassName(Node& rootNode, const AtomicString& className) const;
63 …void collectElementsByTagName(Node& rootNode, const QualifiedName& tagName, Vector<RefPtr<Node> >&…
64 Element* findElementByTagName(Node& rootNode, const QualifiedName& tagName) const;
65 PassOwnPtr<SimpleNodeList> findTraverseRoots(Node& rootNode, bool& matchTraverseRoots) const;
66 void executeSlowQueryAll(Node& rootNode, Vector<RefPtr<Node> >& matchedElements) const;
67 void executeQueryAll(Node& rootNode, Vector<RefPtr<Node> >& matchedElements) const;
[all …]
DLiveNodeList.cpp31 Node& LiveNodeListBase::rootNode() const in rootNode() function in WebCore::LiveNodeListBase
40 Node& rootNode = this->rootNode(); in rootContainerNode() local
41 if (!rootNode.isContainerNode()) in rootContainerNode()
43 return toContainerNode(&rootNode); in rootContainerNode()
72 Node& rootNode = this->rootNode(); in namedItem() local
74 if (rootNode.inDocument()) { in namedItem()
75 Element* element = rootNode.treeScope().getElementById(elementId); in namedItem()
76 if (element && nodeMatches(element) && element->isDescendantOf(&rootNode)) in namedItem()
DTreeScope.cpp65 TreeScope::TreeScope(ContainerNode* rootNode, Document* document) in TreeScope() argument
66 : m_rootNode(rootNode) in TreeScope()
72 ASSERT(rootNode); in TreeScope()
74 ASSERT(rootNode != document); in TreeScope()
114 return rootNode()->hasTreeSharedParent(); in rootNodeHasTreeSharedParent()
126 ASSERT(rootNode()->isDocumentNode()); in clearDocumentScope()
133 ASSERT(!rootNode()->isDocumentNode()); in setParentTreeScope()
211 if (rootNode()->document().isHTMLDocument()) in getImageMap()
244 RenderObject* renderer = rendererFromPoint(&rootNode()->document(), x, y); in elementFromPoint()
279 ASSERT(rootNode()); in labelElementForId()
[all …]
DTagNodeList.h36 …static PassRefPtr<TagNodeList> create(PassRefPtr<Node> rootNode, const AtomicString& namespaceURI,… in create() argument
39 return adoptRef(new TagNodeList(rootNode, TagNodeListType, namespaceURI, localName)); in create()
42 …static PassRefPtr<TagNodeList> create(PassRefPtr<Node> rootNode, CollectionType type, const Atomic… in create() argument
45 return adoptRef(new TagNodeList(rootNode, TagNodeListType, starAtom, localName)); in create()
51 …TagNodeList(PassRefPtr<Node> rootNode, CollectionType, const AtomicString& namespaceURI, const Ato…
61 …static PassRefPtr<HTMLTagNodeList> create(PassRefPtr<Node> rootNode, CollectionType type, const At… in create() argument
64 return adoptRef(new HTMLTagNodeList(rootNode, localName)); in create()
70 HTMLTagNodeList(PassRefPtr<Node> rootNode, const AtomicString& localName);
DTagNodeList.cpp32 TagNodeList::TagNodeList(PassRefPtr<Node> rootNode, CollectionType type, const AtomicString& namesp… in TagNodeList() argument
33 : LiveNodeList(rootNode, type, DoNotInvalidateOnAttributeChanges) in TagNodeList()
57 HTMLTagNodeList::HTMLTagNodeList(PassRefPtr<Node> rootNode, const AtomicString& localName) in HTMLTagNodeList() argument
58 : TagNodeList(rootNode, HTMLTagNodeListType, starAtom, localName) in HTMLTagNodeList()
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/
DDOMStorageItemsView.js77 this._dataGrid.rootNode().removeChildren();
92 var rootNode = this._dataGrid.rootNode();
93 var children = rootNode.children;
100 rootNode.removeChild(childNode);
116 var rootNode = this._dataGrid.rootNode();
117 var children = rootNode.children;
127 rootNode.insertChild(childNode, children.length - 1);
139 var rootNode = this._dataGrid.rootNode();
140 var children = rootNode.children;
149 rootNode.removeChild(childNode);
[all …]
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowUriMatcher.java27 public MatchNode rootNode; field in ShadowUriMatcher
30 rootNode = new MatchNode(code); in __constructor__()
35 MatchNode authNode = rootNode.map.get(authority); in addURI()
37 authNode = new MatchNode(rootNode.code); in addURI()
38 rootNode.map.put(authority, authNode); in addURI()
50 if (!rootNode.map.containsKey(auth)) { in match()
51 return rootNode.code; in match()
54 return matchSegments(rootNode.map.get(auth), segments); in match()
79 return rootNode.code; in matchSegments()
89 nextNode = new MatchNode(rootNode.code); in addNodes()
[all …]
/external/chromium_org/third_party/WebKit/Source/core/events/
DEventPath.cpp61 Node* rootNode = referenceNode->treeScope().rootNode(); in eventTargetRespectingTargetRules() local
62 Element* shadowHostElement = rootNode->isShadowRoot() ? toShadowRoot(rootNode)->host() : 0; in eventTargetRespectingTargetRules()
75 return target->toNode() && target->toNode()->treeScope().rootNode() == shadowRoot; in inTheSameScope()
202 Node* rootNode = lastTreeScope.rootNode(); in movedFromOlderToYounger() local
203 …return rootNode->isShadowRoot() && toShadowRoot(rootNode)->youngerShadowRoot() == currentTreeScope… in movedFromOlderToYounger()
208 Node* rootNode = lastTreeScope.rootNode(); in movedFromYoungerToOlder() local
209 …return rootNode->isShadowRoot() && toShadowRoot(rootNode)->olderShadowRoot() == currentTreeScope.r… in movedFromYoungerToOlder()
/external/jmonkeyengine/engine/src/test/jme3test/model/anim/
DTestBlenderAnim.java65 rootNode.addLight(dl); in simpleInitApp()
70 rootNode.attachChild(scene); in simpleInitApp()
72 Spatial model = this.findNode(rootNode, "BaseMesh_01"); in simpleInitApp()
87 private Spatial findNode(Node rootNode, String name) { in findNode() argument
88 if (name.equals(rootNode.getName())) { in findNode()
89 return rootNode; in findNode()
91 return rootNode.getChild(name); in findNode()
DTestBlenderObjectAnim.java65 rootNode.addLight(dl); in simpleInitApp()
70 rootNode.attachChild(scene); in simpleInitApp()
72 Spatial model = this.findNode(rootNode, "TestAnim"); in simpleInitApp()
87 private Spatial findNode(Node rootNode, String name) { in findNode() argument
88 if (name.equals(rootNode.getName())) { in findNode()
89 return rootNode; in findNode()
91 return rootNode.getChild(name); in findNode()
/external/jmonkeyengine/engine/src/test/jme3test/bullet/
DPhysicsTestHelper.java40 …public static void createPhysicsTestWorld(Node rootNode, AssetManager assetManager, PhysicsSpace s… in createPhysicsTestWorld() argument
43 rootNode.addLight(light); in createPhysicsTestWorld()
56 rootNode.attachChild(floorGeometry); in createPhysicsTestWorld()
67 rootNode.attachChild(boxGeometry); in createPhysicsTestWorld()
77 rootNode.attachChild(sphereGeometry); in createPhysicsTestWorld()
82 …public static void createPhysicsTestWorldSoccer(Node rootNode, AssetManager assetManager, PhysicsS… in createPhysicsTestWorldSoccer() argument
85 rootNode.addLight(light); in createPhysicsTestWorldSoccer()
98 rootNode.attachChild(floorGeometry); in createPhysicsTestWorldSoccer()
110 rootNode.attachChild(ballGeometry); in createPhysicsTestWorldSoccer()
120 rootNode.attachChild(boxGeometry); in createPhysicsTestWorldSoccer()
[all …]
DTestLocalPhysics.java68 rootNode.attachChild(physicsSphere); in simpleInitApp()
75 rootNode.attachChild(physicsSphere2); in simpleInitApp()
83 rootNode.attachChild(physicsBox); in simpleInitApp()
90 rootNode.attachChild(physicsCylinder); in simpleInitApp()
97 rootNode.attachChild(node2); in simpleInitApp()
104 rootNode.attachChild(node3); in simpleInitApp()
116 rootNode.rotate(tpf, 0, 0); in simpleUpdate()
DTestPhysicsReadWrite.java74 rootNode.attachChild(physicsRootNode); in simpleInitApp()
79 rootNode.attachChild(physicsSphere); in simpleInitApp()
85 rootNode.attachChild(physicsSphere2); in simpleInitApp()
92 rootNode.attachChild(physicsBox); in simpleInitApp()
98 rootNode.attachChild(physicsCylinder); in simpleInitApp()
104 rootNode.attachChild(node2); in simpleInitApp()
110 rootNode.attachChild(node3); in simpleInitApp()
132 rootNode.attachChild(newPhysicsRootNode); in simpleInitApp()
DTestSimplePhysics.java67 rootNode.attachChild(physicsSphere); in simpleInitApp()
73 rootNode.attachChild(physicsSphere2); in simpleInitApp()
80 rootNode.attachChild(physicsBox); in simpleInitApp()
86 rootNode.attachChild(physicsCylinder); in simpleInitApp()
92 rootNode.attachChild(node2); in simpleInitApp()
98 rootNode.attachChild(node3); in simpleInitApp()
/external/jmonkeyengine/engine/src/test/jme3test/model/
DTestMonkeyHead.java61 rootNode.attachChild(bumpy); in simpleInitApp()
65 rootNode.attachChild(lightMdl); in simpleInitApp()
70 rootNode.addLight(pl); in simpleInitApp()
76 rootNode.addLight(dl); in simpleInitApp()
82 rootNode.addLight(dl); in simpleInitApp()
88 rootNode.addLight(dl); in simpleInitApp()
DTestOgreLoading.java68 rootNode.addLight(dl); in simpleInitApp()
73 rootNode.attachChild(lightMdl); in simpleInitApp()
77 rootNode.attachChild(lightMd2); in simpleInitApp()
83 rootNode.addLight(pl); in simpleInitApp()
88 rootNode.addLight(p2); in simpleInitApp()
95 rootNode.attachChild(elephant); in simpleInitApp()
/external/jmonkeyengine/engine/src/test/jme3test/app/state/
DRootNodeState.java40 private Node rootNode = new Node("Root Node"); field in RootNodeState
43 return rootNode; in getRootNode()
50 rootNode.updateLogicalState(tpf); in update()
51 rootNode.updateGeometricState(); in update()
/external/jmonkeyengine/engine/src/test/jme3test/blender/
DTestBlenderLoader.java54 rootNode.attachChild(ogre); in simpleInitApp()
58 rootNode.attachChild(track); in simpleInitApp()
64 rootNode.addLight(dl); in simpleInitApp()
70 rootNode.addLight(dl); in simpleInitApp()
76 rootNode.addLight(dl); in simpleInitApp()
/external/jmonkeyengine/engine/src/test/jme3test/material/
DTestBumpModel.java64 rootNode.attachChild(signpost); in simpleInitApp()
68 rootNode.attachChild(lightMdl); in simpleInitApp()
73 rootNode.addLight(pl); in simpleInitApp()
79 rootNode.addLight(dl); in simpleInitApp()
85 rootNode.addLight(dl); in simpleInitApp()
91 rootNode.addLight(dl); in simpleInitApp()
/external/jmonkeyengine/engine/src/test/jme3test/export/
DTestAssetLinkNode.java87 rootNode.attachChild(newLoaderNode); in simpleInitApp()
93 rootNode.attachChild(loaderNode); in simpleInitApp()
97 rootNode.attachChild(lightMdl); in simpleInitApp()
102 rootNode.addLight(pl); in simpleInitApp()
108 rootNode.addLight(dl); in simpleInitApp()
114 rootNode.addLight(dl); in simpleInitApp()
120 rootNode.addLight(dl); in simpleInitApp()
/external/jmonkeyengine/engine/src/android/jme3test/android/
DTestBumpModel.java65 rootNode.attachChild(signpost); in simpleInitApp()
69 rootNode.attachChild(lightMdl); in simpleInitApp()
74 rootNode.addLight(pl); in simpleInitApp()
78 rootNode.addLight(al); in simpleInitApp()
83 rootNode.addLight(dl); in simpleInitApp()
DTestNormalMapping.java69 rootNode.attachChild(sphere); in simpleInitApp()
73 rootNode.attachChild(lightMdl); in simpleInitApp()
78 rootNode.addLight(pl); in simpleInitApp()
82 rootNode.addLight(al); in simpleInitApp()
87 rootNode.addLight(dl); in simpleInitApp()
/external/jmonkeyengine/engine/src/bullet-common/com/jme3/bullet/util/
DCollisionShapeFactory.java81 Node rootNode, CompoundCollisionShape shape, boolean meshAccurate, boolean dynamic) { in createCompoundShape() argument
82 for (Spatial spatial : rootNode.getChildren()) { in createCompoundShape()
133 Node rootNode, CompoundCollisionShape shape, boolean meshAccurate) { in createCompoundShape() argument
134 return createCompoundShape(rootNode, rootNode, shape, meshAccurate, false); in createCompoundShape()
142 private static CompoundCollisionShape createMeshCompoundShape(Node rootNode) { in createMeshCompoundShape() argument
143 return createCompoundShape(rootNode, new CompoundCollisionShape(), true); in createMeshCompoundShape()
152 private static CompoundCollisionShape createBoxCompoundShape(Node rootNode) { in createBoxCompoundShape() argument
153 return createCompoundShape(rootNode, new CompoundCollisionShape(), false); in createBoxCompoundShape()
/external/jmonkeyengine/engine/src/test/jme3test/effect/
DTestEverything.java96rootNode.attachChild(SkyFactory.createSky(assetManager, envMap, new Vector3f(-1,-1,-1), true)); in setupSkyBox()
112 rootNode.addLight(dl); in setupLighting()
121 rootNode.addLight(dl); in setupLighting()
136 rootNode.attachChild(floorGeom); in setupFloor()
168 rootNode.attachChild(model); in setupRobotGuy()
179 rootNode.attachChild(signpost); in setupSignpost()
191 rootNode.setCullHint(CullHint.Never); in simpleInitApp()

12345678910