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

12 3 4

  /external/chromium_org/chrome/browser/resources/chromeos/chromevox/common/
dom_util.js     [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/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)
128 if (tagNamesToSkip && targetNode.isElementNode()) {
130 if (toElement(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 116 VisiblePosition visiblePositionRespectingEditingBoundary(const LayoutPoint& localPoint, Node* targetNode) const;
  /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...]
  /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 115 var targetNodeObject = details.target().runtimeModel.createRemoteObject(auxData["targetNode"]);
122 * @param {?WebInspector.DOMNode} targetNode
125 function didPushNodeToFrontend(targetNode)
127 if (targetNode)
129 this._doCreateBreakpointHitStatusMessage(auxData, domModel.nodeForId(auxData.nodeId), targetNode, callback);
136 * @param {?WebInspector.DOMNode} targetNode
139 _doCreateBreakpointHitStatusMessage: function(auxData, node, targetNode, callback)
146 if (targetNode)
147 targetNodeLink = WebInspector.DOMPresentationUtils.linkifyNodeReference(targetNode);
151 if (targetNode !== node)
    [all...]
HandlerRegistry.js 173 var targetNode = /** @type {!Node} */ (target);
175 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...]
ClipboardSupport.java 289 final NodeProxy targetNode = mCanvas.getNodeFactory().create(target);
294 NodeProxy node = engine.callOnPaste(targetNode, target.getViewObject(), pasted);
  /external/chromium_org/third_party/WebKit/Source/core/html/forms/
RangeInputType.cpp 140 Node* targetNode = event->target()->toNode();
141 if (event->button() != LeftButton || !targetNode)
144 if (targetNode != element() && !targetNode->isDescendantOf(element().userAgentShadowRoot()))
147 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/core/page/
EventHandler.h 164 bool bestClickableNodeForHitTestResult(const HitTestResult&, IntPoint& targetPoint, Node*& targetNode);
165 bool bestContextMenuNodeForHitTestResult(const HitTestResult&, IntPoint& targetPoint, Node*& targetNode);
167 bool bestZoomableAreaForTouchPoint(const IntPoint& touchCenter, const IntSize& touchRadius, IntRect& targetArea, Node*& targetNode);
EventHandler.cpp 196 Node* targetNode = mev.innerNode();
197 if (!targetNode || !targetNode->parentNode())
199 return targetNode->isShadowRoot() && isHTMLInputElement(*toShadowRoot(targetNode)->host());
335 static VisibleSelection expandSelectionToRespectUserSelectAll(Node* targetNode, const VisibleSelection& selection)
337 Node* rootUserSelectAll = Position::rootUserSelectAllForNode(targetNode);
348 bool EventHandler::updateSelectionForMouseDownDispatchingSelectStart(Node* targetNode, const VisibleSelection& selection, TextGranularity granularity)
350 if (Position::nodeIsUserSelectNone(targetNode))
353 if (!dispatchSelectStart(targetNode))
    [all...]
  /external/chromium_org/third_party/WebKit/Source/devtools/front_end/elements/
ElementsTreeOutline.js 233 var targetNode = this.selectedDOMNode();
234 if (!targetNode)
240 this._performCopyOrCut(isCut, targetNode);
257 * @param {!WebInspector.DOMNode} targetNode
260 _canPaste: function(targetNode)
262 if (targetNode.isShadowRoot() || targetNode.ancestorUserAgentShadowRoot())
269 if (this._clipboardNodeData.isCut && (node === targetNode || node.isAncestor(targetNode)))
272 if (targetNode.target() !== node.target()
    [all...]
  /external/chromium_org/ui/accessibility/extensions/caretbrowsing/
caretbrowsing.js 70 * @param {Object} targetNode The node to check if it's focusable.
73 function isFocusable(targetNode) {
74 if (!targetNode || typeof(targetNode.tabIndex) != 'number') {
78 if (targetNode.tabIndex >= 0) {
82 if (targetNode.hasAttribute &&
83 targetNode.hasAttribute('tabindex') &&
84 targetNode.getAttribute('tabindex') == '-1') {
    [all...]
  /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...]
  /sdk/hierarchyviewer/src/com/android/hierarchyviewer/scene/
ViewHierarchyScene.java 136 protected void attachEdgeTargetAnchor(String edge, ViewNode oldTargetNode, ViewNode targetNode) {
138 final Widget target = findWidget(targetNode);

Completed in 2049 milliseconds

12 3 4