HomeSort by relevance Sort by last modified time
    Searched refs:targetNode (Results 1 - 25 of 74) sorted by null

1 2 3

  /external/chromium_org/third_party/WebKit/Source/core/page/
TouchAdjustment.h 32 bool findBestClickableCandidate(Node*& targetNode, IntPoint& targetPoint, const IntPoint& touchHotspot, const IntRect& touchArea, const Vector<RefPtr<Node> >&);
33 bool findBestContextMenuCandidate(Node*& targetNode, IntPoint& targetPoint, const IntPoint& touchHotspot, const IntRect& touchArea, const Vector<RefPtr<Node> >&);
34 bool findBestZoomableArea(Node*& targetNode, IntRect& targetArea, const IntPoint& touchHotspot, const IntRect& touchArea, const Vector<RefPtr<Node> >&);
MouseEventWithHitTestResults.h 41 Node* targetNode() const { return m_hitTestResult.targetNode(); }
AutoscrollController.h 66 void updateDragAndDrop(Node* targetNode, const IntPoint& eventPosition, double eventTime);
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/grid/
GridModelTest.java 47 TestNode targetNode = TestNode.create("android.widget.GridLayout").id("@+id/GridLayout1")
50 GridModel model = GridModel.get(null, targetNode, null);
55 targetNode.add(TestNode.create(FQCN_BUTTON).id("@+id/Button1"));
56 targetNode.add(TestNode.create(FQCN_BUTTON).id("@+id/Button2"));
57 targetNode.add(TestNode.create(FQCN_BUTTON).id("@+id/Button3"));
58 targetNode.add(TestNode.create(FQCN_BUTTON).id("@+id/Button4"));
60 model = GridModel.get(null, targetNode, null);
67 TestNode targetNode = TestNode.create("android.widget.GridLayout").id("@+id/GridLayout1")
73 targetNode.add(b1);
74 targetNode.add(b2)
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/relative/
DeletionHandlerTest.java 67 TestNode targetNode = TestNode.createFromXml(xml);
68 assertNotNull(targetNode);
70 TestNode button2 = TestNode.findById(targetNode, "@+id/button2");
75 assertSame(layout, targetNode);
81 String updated = TestNode.toXml(targetNode);
199 TestNode targetNode = TestNode.createFromXml(xml);
200 assertNotNull(targetNode);
201 TestNode button7 = TestNode.findById(targetNode, "@+id/button7");
202 TestNode checkBox = TestNode.findById(targetNode, "@+id/checkBox1");
207 assertSame(layout, targetNode);
    [all...]
  /external/chromium_org/chrome/third_party/chromevox/extensions/searchvox/
util.js 62 * @param {Node} targetNode The node.
66 var getActiveDescendantId_ = function(targetNode) {
67 if (!targetNode.getAttribute) {
71 var activeId = targetNode.getAttribute('aria-activedescendant');
85 * @param {Node} targetNode The node to get descendant information for.
88 var getActiveDescendant = function(targetNode) {
90 var node = targetNode;
105 if (node == targetNode) {
112 * Dispatches a left click event on the element that is the targetNode.
114 * @param {Node} targetNode The target node of this operation
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/
HorizontalScrollViewRule.java 69 public DropFeedback onDropMove(@NonNull INode targetNode, @NonNull IDragElement[] elements,
71 DropFeedback f = super.onDropMove(targetNode, elements, feedback, p);
74 if (targetNode.getChildren().length > 0) {
83 INode targetNode,
86 if (targetNode.getChildren().length > 0) {
87 Rect b = targetNode.getBounds();
93 super.drawFeedback(gc, targetNode, elements, feedback);
ScrollViewRule.java 69 public DropFeedback onDropMove(@NonNull INode targetNode, @NonNull IDragElement[] elements,
71 DropFeedback f = super.onDropMove(targetNode, elements, feedback, p);
74 if (targetNode.getChildren().length > 0) {
83 INode targetNode,
86 if (targetNode.getChildren().length > 0) {
87 Rect b = targetNode.getBounds();
93 super.drawFeedback(gc, targetNode, elements, feedback);
PropertyCallback.java 71 for (INode targetNode : nodes) {
73 targetNode.setAttribute(mUri, mAttribute, valueId);
76 targetNode.setAttribute(mUri, mAttribute, Boolean.toString(newValue));
FrameLayoutRule.java 55 public DropFeedback onDropEnter(@NonNull INode targetNode, @Nullable Object targetView,
72 INode targetNode,
75 Rect b = targetNode.getBounds();
119 public DropFeedback onDropMove(@NonNull INode targetNode, @NonNull IDragElement[] elements,
127 public void onDropLeave(@NonNull INode targetNode, @NonNull IDragElement[] elements,
133 public void onDropped(final @NonNull INode targetNode, final @NonNull IDragElement[] elements,
135 Rect b = targetNode.getBounds();
142 final Map<String, Pair<String, String>> idMap = getDropIdMap(targetNode, elements,
145 targetNode.editXml("Add elements to FrameLayout", new INodeHandler() {
154 INode newChild = targetNode.appendChild(fqcn)
    [all...]
AdapterViewRule.java 32 public DropFeedback onDropEnter(@NonNull INode targetNode, @Nullable Object targetView,
47 String fqcn = targetNode.getFqcn();
57 public DropFeedback onDropMove(@NonNull INode targetNode, @NonNull IDragElement[] elements,
IgnoredLayoutRule.java 37 public DropFeedback onDropEnter(@NonNull INode targetNode, @Nullable Object targetView,
AbsoluteLayoutRule.java 61 public DropFeedback onDropEnter(@NonNull INode targetNode, @Nullable Object targetView,
83 INode targetNode,
86 Rect b = targetNode.getBounds();
134 public DropFeedback onDropMove(@NonNull INode targetNode, @NonNull IDragElement[] elements,
144 public void onDropLeave(@NonNull INode targetNode, @NonNull IDragElement[] elements,
150 public void onDropped(final @NonNull INode targetNode, final @NonNull IDragElement[] elements,
153 final Rect b = targetNode.getBounds();
160 final Map<String, Pair<String, String>> idMap = getDropIdMap(targetNode, elements,
163 targetNode.editXml("Add elements to AbsoluteLayout", new INodeHandler() {
174 INode newChild = targetNode.appendChild(fqcn)
    [all...]
  /external/chromium_org/chrome/third_party/chromevox/chromevox/injected/
api_util.js 50 * @param {Node} targetNode The node to reference.
53 cvox.ApiUtils.makeNodeReference = function(targetNode) {
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
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/
LayoutTestBase.java 54 * @param targetNode The target layout node to drag into
68 protected INode dragInto(IViewRule rule, INode targetNode, Rect dragBounds, Point dropPoint,
72 String draggedButtonId = (currentIndex == -1) ? "@+id/DraggedButton" : targetNode
79 DropFeedback feedback = rule.onDropEnter(targetNode, null/*targetView*/, elements);
89 feedback = rule.onDropMove(targetNode, elements, feedback, dropPoint);
93 feedback = rule.onDropMove(targetNode, elements, feedback, secondDropPoint);
106 feedback.painter.paint(graphics, targetNode, feedback);
126 int childrenCountBefore = targetNode.getChildren().length;
127 rule.onDropped(targetNode, elements, feedback, dropPoint);
131 assertEquals(childrenCountBefore+1, targetNode.getChildren().length)
    [all...]
  /external/apache-xml/src/main/java/org/apache/xalan/templates/
TemplateList.java 421 * the name and type of the targetNode argument.
424 * @param targetNode The target node that will be checked for a match.
431 int targetNode, DTM dtm)
433 short targetNodeType = dtm.getNodeType(targetNode);
441 dtm.getLocalName(targetNode));
450 dtm.getNodeName(targetNode)); // %REVIEW% I think this is right
454 dtm.getLocalName(targetNode));
466 dtm.getNodeName(targetNode)); // %REVIEW% I think this is right
480 * @param targetNode
493 int targetNode,
    [all...]
TemplateSubPatternAssociation.java 145 * @param targetNode Target node
151 public boolean matches(XPathContext xctxt, int targetNode, QName mode)
155 double score = m_stepPattern.getMatchScore(xctxt, targetNode);
  /external/chromium_org/third_party/WebKit/Source/core/events/
MouseRelatedEvent.cpp 135 Node* targetNode = target() ? target()->toNode() : 0;
136 if (!targetNode)
144 targetNode->document().updateLayoutIgnorePendingStylesheets();
147 if (RenderObject* r = targetNode->renderer()) {
159 Node* n = targetNode;
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gre/
RulesEngine.java 287 public DropFeedback callOnDropEnter(NodeProxy targetNode,
290 IViewRule rule = loadRule(targetNode.getNode());
294 return rule.onDropEnter(targetNode, targetView, elements);
311 public DropFeedback callOnDropMove(NodeProxy targetNode,
316 IViewRule rule = loadRule(targetNode.getNode());
320 return rule.onDropMove(targetNode, elements, feedback, where);
335 public void callOnDropLeave(NodeProxy targetNode,
339 IViewRule rule = loadRule(targetNode.getNode());
343 rule.onDropLeave(targetNode, elements, feedback);
356 public void callOnDropped(NodeProxy targetNode,
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/editing/
MarkupAccumulator.cpp 114 String MarkupAccumulator::serializeNodes(Node* targetNode, EChildrenOnly childrenOnly)
116 return serializeNodes(targetNode, childrenOnly, 0);
119 String MarkupAccumulator::serializeNodes(Node* targetNode, EChildrenOnly childrenOnly, Vector<QualifiedName>* tagNamesToSkip)
121 serializeNodesWithNamespaces(targetNode, childrenOnly, 0, tagNamesToSkip);
125 void MarkupAccumulator::serializeNodesWithNamespaces(Node* targetNode, EChildrenOnly childrenOnly, const Namespaces* namespaces, Vector<QualifiedName>* tagNamesToSkip)
129 if (targetNode->hasTagName(tagNamesToSkip->at(i)))
139 appendStartTag(targetNode, &namespaceHash);
141 if (!(targetNode->document().isHTMLDocument() && elementCannotHaveEndTag(targetNode))) {
142 Node* current = targetNode->hasTagName(templateTag) ? toHTMLTemplateElement(targetNode)->content()->firstChild() : targetNode (…)
    [all...]
MarkupAccumulator.h 72 String serializeNodes(Node* targetNode, EChildrenOnly);
73 String serializeNodes(Node* targetNode, EChildrenOnly, Vector<QualifiedName>* tagNamesToSkip);
113 void serializeNodesWithNamespaces(Node* targetNode, EChildrenOnly, const Namespaces*, Vector<QualifiedName>* tagNamesToSkip);
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
OutlineDropListener.java 114 final NodeProxy targetNode = canvas.getNodeFactory().create(parentNode);
119 for (INode node : targetNode.getChildren()) {
123 String label = MoveGesture.computeUndoLabel(targetNode, elements, event.detail);
128 InsertType insertType = MoveGesture.getInsertType(event, targetNode);
133 BaseLayoutRule.insertAt(targetNode, elements, createNew, indexFinal);
134 targetNode.applyPendingChanges();
146 for (INode node : targetNode.getChildren()) {
  /external/chromium_org/third_party/WebKit/Source/core/html/
MediaDocument.cpp 146 Node* targetNode = event->target()->toNode();
147 if (!targetNode)
151 HTMLVideoElement* video = descendentVideoElement(targetNode);
  /external/chromium_org/third_party/skia/src/core/
SkPictureStateTree.cpp 118 Node* targetNode = draw->fNode;
125 if (fCurrentNode != targetNode) {
135 Node* ancestor = targetNode;
152 if (targetNode != ancestor) { fCanvas->save(SkCanvas::kClip_SaveFlag); }
159 if (fCurrentNode != targetNode) {
168 fSave = fCurrentNode != targetNode && fCurrentNode->fFlags & Node::kSave_Flag;
  /external/skia/src/core/
SkPictureStateTree.cpp 118 Node* targetNode = draw->fNode;
125 if (fCurrentNode != targetNode) {
135 Node* ancestor = targetNode;
152 if (targetNode != ancestor) { fCanvas->save(SkCanvas::kClip_SaveFlag); }
159 if (fCurrentNode != targetNode) {
168 fSave = fCurrentNode != targetNode && fCurrentNode->fFlags & Node::kSave_Flag;

Completed in 315 milliseconds

1 2 3