Home
last modified time | relevance | path

Searched refs:Node (Results 1 – 21 of 21) sorted by relevance

/development/samples/IntentPlayground/src/com/example/android/intentplayground/
DNode.java32 public class Node implements Parcelable, Comparable<Node> { class
36 public List<Node> mChildren = new LinkedList<>();
45 Node(ComponentName data) { in Node() method in Node
54 Node(int taskId) { in Node() method in Node
63 Node(Node other) { in Node() method in Node
73 other.mChildren.forEach(child -> addChild(new Node(child))); in Node()
81 Node addChild(Node child) { in addChild()
91 Node addFirstChild(Node child) { in addFirstChild()
100 Node clearChildren() { in clearChildren()
105 static Node newTaskNode() { in newTaskNode()
[all …]
DBaseActivity.java19 import static com.example.android.intentplayground.Node.newTaskNode;
213 Node mRoot = Node.newRootNode(); in setupTaskPreset()
216 Node singleTask = newTaskNode() in setupTaskPreset()
217 .addChild(new Node(new ComponentName(this, SingleTaskActivity.class))); in setupTaskPreset()
218 Node docLaunchAlways = newTaskNode() in setupTaskPreset()
219 .addChild(new Node(new ComponentName(this, DocumentLaunchAlwaysActivity.class))); in setupTaskPreset()
220 Node docLaunchInto = newTaskNode() in setupTaskPreset()
221 .addChild(new Node(new ComponentName(this, DocumentLaunchIntoActivity.class))); in setupTaskPreset()
223 Node taskAffinity1 = newTaskNode() in setupTaskPreset()
224 .addChild(new Node(new ComponentName(this, TaskAffinity1Activity.class))) in setupTaskPreset()
[all …]
DTestBase.java39 TestBase(Context context, Node hierarchy) { in TestBase()
95 void setActivities(Node hierarchy) { in setActivities()
DInlineAdapter.java103 mTaskIdTextView.setText(task.id == Node.NEW_TASK_ID in setTask()
/development/tools/line_endings/
Dline_endings.c20 typedef struct Node { struct
21 struct Node *next; argument
23 } Node; typedef
62 Node* root = malloc(sizeof(Node)); in main()
63 Node* node = root; in main()
67 node->next = malloc(sizeof(Node)); in main()
/development/samples/browseable/DelayedConfirmation/Wearable/src/com.example.android.wearable.delayedconfirmation/
DMainActivity.java34 import com.google.android.gms.wearable.Node;
57 private Node mConfirmationHandlerNode;
142 final Node node) { in getSendMessageResultCallback()
177 Set<Node> connectedNodes = capabilityInfo.getNodes();
191 private Node pickBestNode(Set<Node> connectedNodes) {
192 Node best = null;
194 for (Node node : connectedNodes) {
/development/samples/browseable/FindMyPhone/Wearable/src/com.example.android.wearable.findphone/
DDisconnectListenerService.java28 import com.google.android.gms.wearable.Node;
67 public void onConnectedNodes(List<Node> connectedNodes) { in onConnectedNodes()
97 Set<Node> connectedNodes = capabilityInfo.getNodes(); in updateFindMeCapability()
101 for (Node node : connectedNodes) { in updateFindMeCapability()
/development/samples/browseable/Quiz/Wearable/src/com.example.android.wearable.quiz/
DQuizReportActionService.java31 import com.google.android.gms.wearable.Node;
79 Set<Node> connectedNodes = capabilityInfo.getNodes(); in sendResetMessage()
83 for (Node node : connectedNodes) { in sendResetMessage()
/development/samples/browseable/WearVerifyRemoteApp/Wearable/src/com.example.android.wearable.wear.wearverifyremoteapp/
DMainWearActivity.java38 import com.google.android.gms.wearable.Node;
106 private Node mAndroidPhoneNodeWithApp;
292 private Node pickBestNodeId(Set<Node> nodes) { in pickBestNodeId()
295 Node bestNodeId = null; in pickBestNodeId()
297 for (Node node : nodes) { in pickBestNodeId()
/development/samples/browseable/WearVerifyRemoteApp/Application/src/com.example.android.wearable.wear.wearverifyremoteapp/
DMainMobileActivity.java38 import com.google.android.gms.wearable.Node;
123 private Set<Node> mWearNodesWithApp;
124 private List<Node> mAllConnectedNodes;
316 ArrayList<Node> nodesWithoutApp = new ArrayList<>(); in openPlayStoreOnWearDevicesWithoutApp()
318 for (Node node : mAllConnectedNodes) { in openPlayStoreOnWearDevicesWithoutApp()
332 for (Node node : nodesWithoutApp) { in openPlayStoreOnWearDevicesWithoutApp()
/development/tools/checkcolor/src/main/java/com/google/checkcolor/lint/
DHardcodedColorDetector.java40 import org.w3c.dom.Node;
149 if (childElement.getNodeType() == Node.ELEMENT_NODE && in visitElement()
153 final Node child = childNodes.item(i); in visitElement()
154 if (child.getNodeType() != Node.TEXT_NODE) { in visitElement()
223 private void addIndirectColor(XmlContext context, String color, Node node) { in addIndirectColor()
/development/samples/browseable/XYZTouristAttractions/Wearable/src/com.example.android.xyztouristattractions/service/
DUtilityService.java31 import com.google.android.gms.wearable.Node;
162 Set<Node> nodes = result.getCapability().getNodes(); in startDeviceActivityInternal()
163 for (Node node : nodes) { in startDeviceActivityInternal()
/development/samples/browseable/DelayedConfirmation/Application/src/com.example.android.wearable.delayedconfirmation/
DMainActivity.java30 import com.google.android.gms.wearable.Node;
114 for (final Node node : getConnectedNodesResult.getNodes()) { in onStartWearableActivityClick()
/development/samples/browseable/RuntimePermissionsWear/Wearable/src/com.example.android.wearable.runtimepermissions/
DIncomingRequestWearService.java37 import com.google.android.gms.wearable.Node;
192 private String pickBestNodeId(Set<Node> nodes) { in pickBestNodeId()
201 for (Node node : nodes) { in pickBestNodeId()
DMainWearActivity.java46 import com.google.android.gms.wearable.Node;
471 private String pickBestNodeId(Set<Node> nodes) { in pickBestNodeId()
475 for (Node node : nodes) { in pickBestNodeId()
/development/samples/browseable/DataLayer/Wearable/src/com.example.android.wearable.datalayer/
DMainActivity.java56 import com.google.android.gms.wearable.Node;
211 Set<Node> nodes = new HashSet<>(); in showNodes()
226 private void showDiscoveredNodes(Set<Node> nodes) { in showNodes()
228 for (Node node : nodes) { in showNodes()
/development/samples/browseable/RuntimePermissionsWear/Application/src/com.example.android.wearable.runtimepermissions/
DMainPhoneActivity.java44 import com.google.android.gms.wearable.Node;
89 private Set<Node> mWearNodeIds;
331 for (Node node : mWearNodeIds) { in sendMessage()
/development/samples/browseable/XYZTouristAttractions/Shared/src/com.example.android.xyztouristattractions.common/
DUtils.java35 import com.google.android.gms.wearable.Node;
180 for (Node node : nodes.getNodes()) { in getNodes()
/development/testrunner/test_defs/
Dtest_defs.py77 if element.nodeType != xml.dom.Node.ELEMENT_NODE:
/development/samples/browseable/DataLayer/Application/src/com.example.android.wearable.datalayer/
DMainActivity.java54 import com.google.android.gms.wearable.Node;
351 for (Node node : nodes.getNodes()) { in getNodes()
/development/samples/browseable/Quiz/Application/src/com.example.android.wearable.quiz/
DMainActivity.java60 import com.google.android.gms.wearable.Node;
420 for (Node node : nodes.getNodes()) { in sendMessageToWearable()