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

1 2 3 4

  /external/chromium_org/third_party/WebKit/Source/core/page/
TouchAdjustment.h 33 bool findBestClickableCandidate(Node*& targetNode, IntPoint& targetPoint, const IntPoint& touchHotspot, const IntRect& touchArea, const WillBeHeapVector<RefPtrWillBeMember<Node> >&);
34 bool findBestContextMenuCandidate(Node*& targetNode, IntPoint& targetPoint, const IntPoint& touchHotspot, const IntRect& touchArea, const WillBeHeapVector<RefPtrWillBeMember<Node> >&);
35 bool findBestZoomableArea(Node*& targetNode, IntRect& targetArea, const IntPoint& touchHotspot, const IntRect& touchArea, const WillBeHeapVector<RefPtrWillBeMember<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/browser/resources/chromeos/chromevox/common/
focuser.js 16 * Sets the browser focus to the targetNode or its closest ancestor that is
19 * @param {Node} targetNode The node to move the browser focus to.
22 * first focusable descendant. If false, only sets focus on the targetNode or
25 cvox.Focuser.setFocus = function(targetNode, opt_focusDescendants) {
34 !cvox.DomUtil.isDescendantOfNode(targetNode, document.activeElement)) {
39 if (targetNode && (targetNode.constructor == HTMLVideoElement)) {
40 if (!cvox.DomUtil.isFocusable(targetNode)) {
41 targetNode.setAttribute('tabIndex', 0);
45 if (opt_focusDescendants && !cvox.DomUtil.isFocusable(targetNode)) {
    [all...]
aria_util.js 154 * @param {Node} targetNode The node to check.
155 * @return {boolean} True if the targetNode should be treated as hidden.
157 cvox.AriaUtil.isHiddenRecursive = function(targetNode) {
158 if (cvox.AriaUtil.isHidden(targetNode)) {
161 var parent = targetNode.parentElement;
178 * @param {Node} targetNode The node to check.
179 * @return {boolean} True if the targetNode should be treated as hidden.
181 cvox.AriaUtil.isHidden = function(targetNode) {
182 if (!targetNode) {
185 if (targetNode.getAttribute)
    [all...]
  /external/chromium_org/chrome/browser/resources/chromeos/chromevox/chromevox/injected/
api_util.js 38 * @param {Node} targetNode The node to reference.
41 cvox.ApiUtils.makeNodeReference = function(targetNode) {
42 if (targetNode.id && document.getElementById(targetNode.id) == targetNode) {
43 return {'id': targetNode.id};
44 } else if (targetNode instanceof HTMLElement) {
46 targetNode.setAttribute('cvoxid', cvoxid);
49 } else if (targetNode.parentElement) {
50 var parent = targetNode.parentElement
    [all...]
  /external/chromium_org/chrome/browser/resources/chromeos/chromevox/extensions/searchvox/
util.js 65 * @param {Node} targetNode The node.
69 var getActiveDescendantId_ = function(targetNode) {
70 if (!targetNode.getAttribute) {
74 var activeId = targetNode.getAttribute('aria-activedescendant');
88 * @param {Node} targetNode The node to get descendant information for.
91 var getActiveDescendant = function(targetNode) {
93 var node = targetNode;
108 if (node == targetNode) {
115 * Dispatches a left click event on the element that is the targetNode.
117 * @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...]
  /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...]
  /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 133 Node* targetNode = event->target()->toNode();
134 if (!targetNode)
138 HTMLVideoElement* video = Traversal<HTMLVideoElement>::firstWithin(*targetNode);
  /external/chromium_org/third_party/skia/src/core/
SkPictureStateTree.cpp 145 Node* targetNode = draw->fNode;
152 if (fCurrentNode != targetNode) {
162 Node* ancestor = targetNode;
191 if (targetNode != ancestor) {
200 if (fCurrentNode != targetNode) {
203 fSave = fCurrentNode != targetNode && fCurrentNode->fFlags & Node::kSave_Flag;
  /external/skia/src/core/
SkPictureStateTree.cpp 145 Node* targetNode = draw->fNode;
152 if (fCurrentNode != targetNode) {
162 Node* ancestor = targetNode;
191 if (targetNode != ancestor) {
200 if (fCurrentNode != targetNode) {
203 fSave = fCurrentNode != targetNode && fCurrentNode->fFlags & Node::kSave_Flag;

Completed in 637 milliseconds

1 2 3 4