HomeSort by relevance Sort by last modified time
    Searched refs:targetNode (Results 26 - 50 of 96) sorted by null

12 3 4

  /external/chromium_org/chrome/browser/resources/chromeos/chromevox/common/
dom_util.js 1036 var targetNode = document.getElementById(targetId);
1037 if (targetNode &&
1038 cvox.DomUtil.isControl(targetNode) &
    [all...]
chromevox.js 200 * Synchronizes ChromeVox's internal cursor to the targetNode.
201 * @param {Node} targetNode The node that ChromeVox should be synced to.
206 targetNode, speakNode, opt_queueMode) {};
210 * @param {Node} targetNode The node that ChromeVox should be synced to.
214 cvox.ChromeVox.speakNode = function(targetNode, queueMode, properties) {};
  /external/chromium_org/third_party/WebKit/Source/core/page/
TouchAdjustment.cpp 447 bool findNodeWithLowestDistanceMetric(Node*& targetNode, IntPoint& targetPoint, IntRect& targetArea, const IntPoint& touchHotspot, const IntRect& touchArea, SubtargetGeometryList& subtargets, DistanceFunction distanceFunction)
449 targetNode = 0;
462 targetNode = node;
467 if (node->isDescendantOf(targetNode)) {
470 targetNode = node;
476 if (targetNode) {
477 targetArea = targetNode->document().view()->contentsToWindow(targetArea);
479 return (targetNode);
484 bool findBestClickableCandidate(Node*& targetNode, IntPoint& targetPoint, const IntPoint& touchHotspot, const IntRect& touchArea, const WillBeHeapVector<RefPtrWillBeMember<Node> >& nodes)
489 return TouchAdjustment::findNodeWithLowestDistanceMetric(targetNode, targetPoint, targetArea, touchHotspot, touchArea, subtargets, TouchAdjustment::hybridDistanceFunc (…)
    [all...]
EventHandler.cpp 195 Node* targetNode = mev.targetNode();
196 if (!targetNode || !targetNode->parentNode())
198 return targetNode->isShadowRoot() && isHTMLInputElement(*toShadowRoot(targetNode)->host());
338 static VisibleSelection expandSelectionToRespectUserSelectAll(Node* targetNode, const VisibleSelection& selection)
340 Node* rootUserSelectAll = Position::rootUserSelectAllForNode(targetNode);
351 bool EventHandler::updateSelectionForMouseDownDispatchingSelectStart(Node* targetNode, const VisibleSelection& selection, TextGranularity granularity)
353 if (Position::nodeIsUserSelectNone(targetNode))
    [all...]
EventHandler.h 150 bool bestClickableNodeForTouchPoint(const IntPoint& touchCenter, const IntSize& touchRadius, IntPoint& targetPoint, Node*& targetNode);
151 bool bestContextMenuNodeForTouchPoint(const IntPoint& touchCenter, const IntSize& touchRadius, IntPoint& targetPoint, Node*& targetNode);
152 bool bestZoomableAreaForTouchPoint(const IntPoint& touchCenter, const IntSize& touchRadius, IntRect& targetArea, Node*& targetNode);
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/relative/
ConstraintPainter.java 91 INode targetNode = target.node;
92 if (sourceNode == targetNode) {
98 Rect targetBounds = targetNode.getBounds();
99 paintConstraint(graphics, constraint.type, sourceNode, sourceBounds, targetNode,
184 Rect sourceBounds, INode targetNode, Rect targetBounds,
208 if (paintCornerConstraint(graphics, type, sourceNode, sourceBounds, targetNode,
216 paintVerticalConstraint(graphics, type, sourceNode, sourceBounds, targetNode,
223 paintHorizontalConstraint(graphics, type, sourceNode, sourceBounds, targetNode,
271 * @param targetNode the target node
278 INode sourceNode, Rect sourceBounds, INode targetNode, Rect targetBounds
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/editing/
MarkupAccumulator.cpp 112 String MarkupAccumulator::serializeNodes(Node& targetNode, EChildrenOnly childrenOnly, Vector<QualifiedName>* tagNamesToSkip)
116 if (!serializeAsHTMLDocument(targetNode)) {
122 serializeNodesWithNamespaces(targetNode, childrenOnly, namespaces, tagNamesToSkip);
126 void MarkupAccumulator::serializeNodesWithNamespaces(Node& targetNode, EChildrenOnly childrenOnly, const Namespaces* namespaces, Vector<QualifiedName>* tagNamesToSkip)
130 if (targetNode.hasTagName(tagNamesToSkip->at(i)))
140 appendStartTag(targetNode, &namespaceHash);
142 if (!(serializeAsHTMLDocument(targetNode) && elementCannotHaveEndTag(targetNode))) {
143 Node* current = isHTMLTemplateElement(targetNode) ? toHTMLTemplateElement(targetNode).content()->firstChild() : targetNode.firstChild()
    [all...]
MarkupAccumulator.h 72 String serializeNodes(Node& targetNode, EChildrenOnly, Vector<QualifiedName>* tagNamesToSkip = 0);
112 void serializeNodesWithNamespaces(Node& targetNode, EChildrenOnly, const Namespaces*, Vector<QualifiedName>* tagNamesToSkip);
VisibleSelection.h 112 VisiblePosition visiblePositionRespectingEditingBoundary(const LayoutPoint& localPoint, Node* targetNode) const;
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/
LinearLayoutRuleTest.java 51 INode targetNode = TestNode.create("android.widget.LinearLayout").id(
59 DropFeedback feedback = rule.onDropEnter(targetNode, null/*targetView*/, elements);
64 feedback = rule.onDropMove(targetNode, elements, feedback, dropPoint);
71 feedback.painter.paint(graphics, targetNode, feedback);
96 assertEquals(0, targetNode.getChildren().length);
97 rule.onDropped(targetNode, elements, feedback, dropPoint);
98 assertEquals(1, targetNode.getChildren().length);
99 assertEquals("@+id/Button01", targetNode.getChildren()[0].getStringAttr(
  /external/chromium_org/chrome/browser/resources/chromeos/chromevox/chromevox/injected/
api.js 231 * @param {Node} targetNode A DOM node to speak.
235 cvox.Api.speakNode = function(targetNode, queueMode, properties) {
241 implementation_.speak(cvox.DomUtil.getName(targetNode),
246 'args': [cvox.ApiUtils.makeNodeReference(targetNode), queueMode,
324 * Synchronizes ChromeVox's internal cursor to the targetNode.
330 * @param {Node} targetNode The node that ChromeVox should be synced to.
333 cvox.Api.syncToNode = function(targetNode, speakNode) {
334 if (!cvox.Api.isChromeVoxActive() || !targetNode) {
339 implementation_.syncToNode(targetNode, speakNode);
343 'args': [cvox.ApiUtils.makeNodeReference(targetNode), speakNode
    [all...]
api_implementation.js 248 * Synchronizes ChromeVox's internal cursor to the targetNode.
253 * @param {Node} targetNode The node that ChromeVox should be synced to.
258 targetNode, opt_speakNode, opt_queueMode) {
267 cvox.ChromeVox.navigationManager.updateSelToArbitraryNode(targetNode, true);
275 if (cvox.AriaUtil.isHiddenRecursive(targetNode)) {
281 cvox.ApiImplementation.getDesc_(targetNode),
290 cvox.ChromeVox.navigationManager.updatePosition(targetNode);
  /external/chromium_org/third_party/WebKit/Source/devtools/front_end/components/
DOMBreakpointsSidebarPane.js 133 var targetNodeObject = details.target().runtimeModel.createRemoteObject(auxData["targetNode"]);
140 * @param {?WebInspector.DOMNode} targetNode
143 function didPushNodeToFrontend(targetNode)
145 if (targetNode)
147 this._doCreateBreakpointHitStatusMessage(auxData, domModel.nodeForId(auxData.nodeId), targetNode, callback);
154 * @param {?WebInspector.DOMNode} targetNode
157 _doCreateBreakpointHitStatusMessage: function(auxData, node, targetNode, callback)
164 if (targetNode)
165 targetNodeLink = WebInspector.DOMPresentationUtils.linkifyNodeReference(targetNode);
169 if (targetNode !== node)
    [all...]
HandlerRegistry.js 168 var targetNode = /** @type {!Node} */ (target);
170 var anchorElement = targetNode.enclosingNodeOrSelfWithClass("webkit-html-resource-link") || targetNode.enclosingNodeOrSelfWithClass("webkit-html-external-link");
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
MoveGesture.java 340 if (DEBUG) AdtPlugin.printErrorToConsole("DEBUG", "dropped on null targetNode");
490 * @param targetNode The target of the drop
495 public static String computeUndoLabel(NodeProxy targetNode,
510 String where = getSimpleName(targetNode.getFqcn());
676 NodeProxy targetNode = null;
681 targetNode = mCanvas.getNodeFactory().create(targetVi);
682 df = mCanvas.getRulesEngine().callOnDropEnter(targetNode,
694 df = mCanvas.getRulesEngine().callOnDropMove(targetNode,
716 targetNode, mCurrentDragElements, df);
718 targetNode = null
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/html/forms/
RangeInputType.cpp 144 Node* targetNode = event->target()->toNode();
145 if (event->button() != LeftButton || !targetNode)
148 if (targetNode != element() && !targetNode->isDescendantOf(element().userAgentShadowRoot()))
151 if (targetNode == thumb)
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/
BaseLayoutRule.java 256 public void onPaste(@NonNull INode targetNode, @Nullable Object targetView,
258 DropFeedback feedback = onDropEnter(targetNode, targetView, elements);
260 Point p = targetNode.getBounds().getTopLeft();
261 feedback = onDropMove(targetNode, elements, feedback, p);
263 onDropLeave(targetNode, elements, feedback);
264 onDropped(targetNode, elements, feedback, p);
279 * @param targetNode the first selected node
282 public void onPasteBeforeChild(INode parentNode, Object parentView, INode targetNode,
287 Point targetP = targetNode.getBounds().getTopLeft();
328 * createNewIds to true to find the existing IDs under targetNode and creat
    [all...]
GridLayoutRule.java 283 public DropFeedback onDropEnter(@NonNull INode targetNode, @Nullable Object targetView,
285 GridDropHandler userData = new GridDropHandler(this, targetNode, targetView);
291 public DropFeedback onDropMove(@NonNull INode targetNode, @NonNull IDragElement[] elements,
305 public void onDropped(final @NonNull INode targetNode, final @NonNull IDragElement[] elements,
311 Rect b = targetNode.getBounds();
323 Map<String, Pair<String, String>> idMap = getDropIdMap(targetNode, elements,
329 newChild = dropHandler.handleFreeFormDrop(targetNode, element);
331 newChild = dropHandler.handleGridModeDrop(targetNode, element);
635 @NonNull INode targetNode,
638 DropFeedback feedback = onDropEnter(targetNode, targetView, elements)
    [all...]
RelativeLayoutRule.java 150 public DropFeedback onDropEnter(@NonNull INode targetNode, @Nullable Object targetView,
152 return new DropFeedback(new MoveHandler(targetNode, elements, mRulesEngine),
157 public DropFeedback onDropMove(@NonNull INode targetNode, @NonNull IDragElement[] elements,
175 public void onDropLeave(@NonNull INode targetNode, @NonNull IDragElement[] elements,
180 public void onDropped(final @NonNull INode targetNode, final @NonNull IDragElement[] elements,
188 final Map<String, Pair<String, String>> idMap = getDropIdMap(targetNode, elements,
191 targetNode.editXml("Dropped", new INodeHandler() {
210 INode newChild = targetNode.insertChildAt(fqcn, index);
LinearLayoutRule.java 278 public DropFeedback onDropEnter(final @NonNull INode targetNode, @Nullable Object targetView,
285 Rect bn = targetNode.getBounds();
290 boolean isVertical = isVertical(targetNode);
300 for (INode it : targetNode.getChildren()) {
353 int posCount = targetNode.getChildren().length + 1;
480 public DropFeedback onDropMove(@NonNull INode targetNode, @NonNull IDragElement[] elements,
482 Rect b = targetNode.getBounds();
546 public void onDropLeave(@NonNull INode targetNode, @NonNull IDragElement[] elements,
552 public void onDropped(final @NonNull INode targetNode, final @NonNull IDragElement[] elements,
557 insertAt(targetNode, elements, feedback.isCopy || !feedback.sameCanvas, initialInsertPos)
    [all...]
  /external/chromium_org/third_party/WebKit/Source/web/mac/
WebSubstringUtil.mm 116 if (!result.targetNode())
118 LocalFrame* frame = result.targetNode()->document().frame();
  /external/chromium_org/third_party/WebKit/Source/core/rendering/
HitTestResult.cpp 362 if (!targetNode() || !targetNode()->renderer())
364 VisiblePosition pos(targetNode()->renderer()->positionForPoint(localPoint()));
480 Node* HitTestResult::targetNode() const
HitTestResult.h 128 Node* targetNode() const;
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/grid/
GridDropHandler.java 463 * @param targetNode the GridLayout node
467 public INode handleFreeFormDrop(INode targetNode, IDragElement element) {
479 if (targetNode.getChildren().length == 0) {
535 mGrid.setGridAttribute(targetNode, ATTR_COLUMN_COUNT, 2);
536 //mGrid.setGridAttribute(targetNode, ATTR_COLUMN_COUNT, 3);
537 //INode scr0 = addSpacer(targetNode, -1, 0, 0, 1, 1);
538 //INode sc1 = addSpacer(targetNode, -1, 0, 1, 0, 0);
539 //INode sc2 = addSpacer(targetNode, -1, 0, 2, 1, 0);
540 //INode sr1 = addSpacer(targetNode, -1, 1, 0, 0, 0);
541 //INode sr2 = addSpacer(targetNode, -1, 2, 0, 0, 1)
    [all...]
  /external/apache-xml/src/main/java/org/apache/xalan/templates/
StylesheetRoot.java 748 * @param targetNode non-null reference of node that the template must match.
752 * @return reference to ElemTemplate that is the best match for targetNode, or
758 int targetNode,
764 return m_templateList.getTemplate(xctxt, targetNode, mode,
775 * @param targetNode non-null reference of node that the template must match.
783 * @return reference to ElemTemplate that is the best match for targetNode, or
789 int targetNode,
796 return m_templateList.getTemplate(xctxt, targetNode, mode,
    [all...]

Completed in 1454 milliseconds

12 3 4