Home
last modified time | relevance | path

Searched refs:targetNode (Results 1 – 25 of 39) sorted by relevance

12

/external/chromium_org/chrome/third_party/chromevox/extensions/searchvox/
Dutil.js66 var getActiveDescendantId_ = function(targetNode) { argument
67 if (!targetNode.getAttribute) {
71 var activeId = targetNode.getAttribute('aria-activedescendant');
88 var getActiveDescendant = function(targetNode) { argument
90 var node = targetNode;
105 if (node == targetNode) {
121 targetNode, shiftKey, callOnClickDirectly, opt_double) { argument
124 var activeDescendant = getActiveDescendant(targetNode);
126 targetNode = activeDescendant;
130 if (targetNode.onclick) {
[all …]
/external/chromium_org/chrome/third_party/chromevox/chromevox/injected/
Dapi_util.js53 cvox.ApiUtils.makeNodeReference = function(targetNode) { argument
54 if (targetNode.id && document.getElementById(targetNode.id) == targetNode) {
55 return {'id': targetNode.id};
56 } else if (targetNode instanceof HTMLElement) {
58 targetNode.setAttribute('cvoxid', cvoxid);
61 } else if (targetNode.parentElement) {
62 var parent = targetNode.parentElement;
65 if (parent.childNodes[i] == targetNode) {
77 throw 'Cannot reference node: ' + targetNode;
Dapi.js247 cvox.Api.speakNode = function(targetNode, queueMode, properties) { argument
253 implementation_.speak(cvox.DomUtil.getName(targetNode),
258 'args': [cvox.ApiUtils.makeNodeReference(targetNode), queueMode,
345 cvox.Api.syncToNode = function(targetNode, speakNode) { argument
346 if (!cvox.Api.isChromeVoxActive() || !targetNode) {
351 implementation_.syncToNode(targetNode, speakNode);
355 'args': [cvox.ApiUtils.makeNodeReference(targetNode), speakNode]
389 cvox.Api.setSpeechForNode = function(targetNode, nodeDescriptions) { argument
390 if (!cvox.Api.isChromeVoxActive() || !targetNode || !nodeDescriptions) {
393 targetNode.setAttribute('cvoxnodedesc', JSON.stringify(nodeDescriptions));
/external/apache-xml/src/main/java/org/apache/xalan/templates/
DTemplateList.java431 int targetNode, DTM dtm) in getHead() argument
433 short targetNodeType = dtm.getNodeType(targetNode); in getHead()
441 dtm.getLocalName(targetNode)); in getHead()
450 dtm.getNodeName(targetNode)); // %REVIEW% I think this is right in getHead()
454 dtm.getLocalName(targetNode)); in getHead()
466 dtm.getNodeName(targetNode)); // %REVIEW% I think this is right in getHead()
493 int targetNode, in getTemplateFast() argument
504 switch (dtm.getNodeType(targetNode)) in getTemplateFast()
518 dtm.getNodeName(targetNode)); // %REVIEW% I think this is right in getTemplateFast()
522 dtm.getLocalName(targetNode)); in getTemplateFast()
[all …]
DTemplateSubPatternAssociation.java151 public boolean matches(XPathContext xctxt, int targetNode, QName mode) in matches() argument
155 double score = m_stepPattern.getMatchScore(xctxt, targetNode); in matches()
DStylesheetRoot.java758 int targetNode, in getTemplateComposed() argument
764 return m_templateList.getTemplate(xctxt, targetNode, mode, in getTemplateComposed()
789 int targetNode, in getTemplateComposed() argument
796 return m_templateList.getTemplate(xctxt, targetNode, mode, in getTemplateComposed()
/external/chromium_org/third_party/WebKit/Source/core/page/
DTouchAdjustment.cpp435 bool findNodeWithLowestDistanceMetric(Node*& targetNode, IntPoint& targetPoint, IntRect& targetArea… in findNodeWithLowestDistanceMetric() argument
437 targetNode = 0; in findNodeWithLowestDistanceMetric()
450 targetNode = node; in findNodeWithLowestDistanceMetric()
455 if (node->isDescendantOf(targetNode)) { in findNodeWithLowestDistanceMetric()
458 targetNode = node; in findNodeWithLowestDistanceMetric()
464 if (targetNode) { in findNodeWithLowestDistanceMetric()
465 targetArea = targetNode->document().view()->contentsToWindow(targetArea); in findNodeWithLowestDistanceMetric()
467 return (targetNode); in findNodeWithLowestDistanceMetric()
472 bool findBestClickableCandidate(Node*& targetNode, IntPoint &targetPoint, const IntPoint &touchHots… in findBestClickableCandidate() argument
477 …return TouchAdjustment::findNodeWithLowestDistanceMetric(targetNode, targetPoint, targetArea, touc… in findBestClickableCandidate()
[all …]
DTouchAdjustment.h32 bool findBestClickableCandidate(Node*& targetNode, IntPoint& targetPoint, const IntPoint& touchHots…
33 bool findBestContextMenuCandidate(Node*& targetNode, IntPoint& targetPoint, const IntPoint& touchHo…
34 bool findBestZoomableArea(Node*& targetNode, IntRect& targetArea, const IntPoint& touchHotspot, con…
DEventHandler.cpp301 Node* targetNode = mev.targetNode(); in shouldRefetchEventTarget() local
302 if (!targetNode || !targetNode->parentNode()) in shouldRefetchEventTarget()
304 return targetNode->isShadowRoot() && toShadowRoot(targetNode)->host()->hasTagName(inputTag); in shouldRefetchEventTarget()
426 static VisibleSelection expandSelectionToRespectUserSelectAll(Node* targetNode, const VisibleSelect… in expandSelectionToRespectUserSelectAll() argument
428 Node* rootUserSelectAll = Position::rootUserSelectAllForNode(targetNode); in expandSelectionToRespectUserSelectAll()
439 bool EventHandler::updateSelectionForMouseDownDispatchingSelectStart(Node* targetNode, const Visibl… in updateSelectionForMouseDownDispatchingSelectStart() argument
441 if (Position::nodeIsUserSelectNone(targetNode)) in updateSelectionForMouseDownDispatchingSelectStart()
444 if (!dispatchSelectStart(targetNode)) in updateSelectionForMouseDownDispatchingSelectStart()
461 Node* innerNode = result.targetNode(); in selectClosestWordFromHitTestResult()
480 Node* innerNode = result.targetNode(); in selectClosestMisspellingFromHitTestResult()
[all …]
DMouseEventWithHitTestResults.h41 Node* targetNode() const { return m_hitTestResult.targetNode(); } in targetNode() function
DEventHandler.h147 …const IntPoint& touchCenter, const IntSize& touchRadius, IntPoint& targetPoint, Node*& targetNode);
148 …const IntPoint& touchCenter, const IntSize& touchRadius, IntPoint& targetPoint, Node*& targetNode);
149 …t(const IntPoint& touchCenter, const IntSize& touchRadius, IntRect& targetArea, Node*& targetNode);
DAutoscrollController.h66 void updateDragAndDrop(Node* targetNode, const IntPoint& eventPosition, double eventTime);
/external/skia/src/core/
DSkPictureStateTree.cpp118 Node* targetNode = draw->fNode; in draw() local
125 if (fCurrentNode != targetNode) { in draw()
135 Node* ancestor = targetNode; in draw()
152 if (targetNode != ancestor) { fCanvas->save(SkCanvas::kClip_SaveFlag); } in draw()
159 if (fCurrentNode != targetNode) { in draw()
168 fSave = fCurrentNode != targetNode && fCurrentNode->fFlags & Node::kSave_Flag; in draw()
/external/chromium_org/third_party/skia/src/core/
DSkPictureStateTree.cpp118 Node* targetNode = draw->fNode; in draw() local
125 if (fCurrentNode != targetNode) { in draw()
135 Node* ancestor = targetNode; in draw()
152 if (targetNode != ancestor) { fCanvas->save(SkCanvas::kClip_SaveFlag); } in draw()
159 if (fCurrentNode != targetNode) { in draw()
168 fSave = fCurrentNode != targetNode && fCurrentNode->fFlags & Node::kSave_Flag; in draw()
/external/chromium_org/third_party/WebKit/Source/core/editing/
DMarkupAccumulator.cpp114 String MarkupAccumulator::serializeNodes(Node* targetNode, EChildrenOnly childrenOnly) in serializeNodes() argument
116 return serializeNodes(targetNode, childrenOnly, 0); in serializeNodes()
119 String MarkupAccumulator::serializeNodes(Node* targetNode, EChildrenOnly childrenOnly, Vector<Quali… in serializeNodes() argument
121 serializeNodesWithNamespaces(targetNode, childrenOnly, 0, tagNamesToSkip); in serializeNodes()
125 void MarkupAccumulator::serializeNodesWithNamespaces(Node* targetNode, EChildrenOnly childrenOnly, … in serializeNodesWithNamespaces() argument
129 if (targetNode->hasTagName(tagNamesToSkip->at(i))) in serializeNodesWithNamespaces()
139 appendStartTag(targetNode, &namespaceHash); in serializeNodesWithNamespaces()
141 if (!(targetNode->document().isHTMLDocument() && elementCannotHaveEndTag(targetNode))) { in serializeNodesWithNamespaces()
142 …Node* current = targetNode->hasTagName(templateTag) ? toHTMLTemplateElement(targetNode)->content()… in serializeNodesWithNamespaces()
148 appendEndTag(targetNode); in serializeNodesWithNamespaces()
DMarkupAccumulator.h72 String serializeNodes(Node* targetNode, EChildrenOnly);
73 String serializeNodes(Node* targetNode, EChildrenOnly, Vector<QualifiedName>* tagNamesToSkip);
113 …void serializeNodesWithNamespaces(Node* targetNode, EChildrenOnly, const Namespaces*, Vector<Quali…
DVisibleSelection.cpp632 …on::visiblePositionRespectingEditingBoundary(const LayoutPoint& localPoint, Node* targetNode) const in visiblePositionRespectingEditingBoundary()
634 if (!targetNode->renderer()) in visiblePositionRespectingEditingBoundary()
640 if (editableElement && !editableElement->contains(targetNode)) { in visiblePositionRespectingEditingBoundary()
644 … FloatPoint absolutePoint = targetNode->renderer()->localToAbsolute(FloatPoint(selectionEndPoint)); in visiblePositionRespectingEditingBoundary()
646 targetNode = editableElement; in visiblePositionRespectingEditingBoundary()
649 return VisiblePosition(targetNode->renderer()->positionForPoint(selectionEndPoint)); in visiblePositionRespectingEditingBoundary()
/external/chromium_org/third_party/WebKit/Source/core/events/
DMouseRelatedEvent.cpp135 Node* targetNode = target() ? target()->toNode() : 0; in computeRelativePosition() local
136 if (!targetNode) in computeRelativePosition()
144 targetNode->document().updateLayoutIgnorePendingStylesheets(); in computeRelativePosition()
147 if (RenderObject* r = targetNode->renderer()) { in computeRelativePosition()
159 Node* n = targetNode; in computeRelativePosition()
/external/chromium_org/third_party/WebKit/Source/core/html/
DMediaDocument.cpp146 Node* targetNode = event->target()->toNode(); in defaultEventHandler() local
147 if (!targetNode) in defaultEventHandler()
151 HTMLVideoElement* video = descendentVideoElement(targetNode); in defaultEventHandler()
/external/chromium_org/third_party/WebKit/Source/core/html/forms/
DRangeInputType.cpp150 Node* targetNode = event->target()->toNode(); in handleMouseDownEvent() local
151 if (event->button() != LeftButton || !targetNode) in handleMouseDownEvent()
154 if (targetNode != element() && !targetNode->isDescendantOf(element().userAgentShadowRoot())) in handleMouseDownEvent()
157 if (targetNode == thumb) in handleMouseDownEvent()
/external/llvm/lib/Transforms/Instrumentation/
DPathProfiling.cpp484 BallLarusNode* targetNode = getTarget(); in getSuccessorNumber() local
486 BasicBlock* target = targetNode->getBlock(); in getSuccessorNumber()
1088 BLInstrumentationNode* targetNode = (BLInstrumentationNode*)edge->getTarget(); in insertInstrumentationStartingAt() local
1100 nextSourceNode = targetNode; // ... since we never made any new nodes in insertInstrumentationStartingAt()
1106 else if( targetNode->getNumberPredEdges() == 1 ) { in insertInstrumentationStartingAt()
1108 << targetNode->getName() << " (at beginning)\n"); in insertInstrumentationStartingAt()
1109 pushValueIntoNode(sourceNode, targetNode); in insertInstrumentationStartingAt()
1110 instrumentNode = targetNode; in insertInstrumentationStartingAt()
1204 for( BLEdgeIterator next = targetNode->succBegin(), in insertInstrumentationStartingAt()
1205 end = targetNode->succEnd(); next != end; next++ ) { in insertInstrumentationStartingAt()
[all …]
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/
DHandlerRegistry.js171 var targetNode = /** @type {!Node} */ (target);
173 …var anchorElement = targetNode.enclosingNodeOrSelfWithClass("webkit-html-resource-link") || target…
DDOMBreakpointsSidebarPane.js132 var targetNode = "";
134 targetNode = WebInspector.DOMPresentationUtils.linkifyNodeById(targetNodeId);
140 substitutions.push(targetNode);
145 substitutions.push(targetNode);
/external/chromium_org/third_party/WebKit/Source/core/dom/
DContainerNodeAlgorithms.h228 Node* targetNode = m_postInsertionNotificationTargets[i].get();
229 if (targetNode->inDocument())
230 targetNode->didNotifySubtreeInsertionsToDocument();
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DHitTestResult.cpp365 if (!targetNode()) in isMisspelled()
367 VisiblePosition pos(targetNode()->renderer()->positionForPoint(localPoint())); in isMisspelled()
491 Node* HitTestResult::targetNode() const in targetNode() function in WebCore::HitTestResult

12