/development/tools/winscope/spec/ |
D | DiffSpec.js | 2 import { Node, DiffNode, toPlainObject } from "./utils/tree.js"; 4 const treeOne = new Node({ id: 1 }, [ 5 new Node({ id: 2 }, []), 6 new Node({ id: 3 }, []), 7 new Node({ id: 4 }, []), 9 const treeTwo = new Node({ id: 1 }, [ 10 new Node({ id: 2 }, []), 11 new Node({ id: 3 }, [ 12 new Node({ id: 5 }, []), 14 new Node({ id: 4 }, []), [all …]
|
/development/samples/IntentPlayground/src/com/example/android/intentplayground/ |
D | Node.java | 32 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 …]
|
D | BaseActivity.java | 19 import static com.example.android.intentplayground.Node.newTaskNode; 215 Node mRoot = Node.newRootNode(); in setupTaskPreset() 218 Node singleTask = newTaskNode() in setupTaskPreset() 219 .addChild(new Node(new ComponentName(this, SingleTaskActivity.class))); in setupTaskPreset() 220 Node docLaunchAlways = newTaskNode() in setupTaskPreset() 221 .addChild(new Node(new ComponentName(this, DocumentLaunchAlwaysActivity.class))); in setupTaskPreset() 222 Node docLaunchInto = newTaskNode() in setupTaskPreset() 223 .addChild(new Node(new ComponentName(this, DocumentLaunchIntoActivity.class))); in setupTaskPreset() 225 Node taskAffinity1 = newTaskNode() in setupTaskPreset() 226 .addChild(new Node(new ComponentName(this, TaskAffinity1Activity.class))) in setupTaskPreset() [all …]
|
D | TestBase.java | 39 TestBase(Context context, Node hierarchy) { in TestBase() 95 void setActivities(Node hierarchy) { in setActivities()
|
D | InlineAdapter.java | 103 mTaskIdTextView.setText(task.id == Node.NEW_TASK_ID in setTask()
|
/development/tools/line_endings/ |
D | line_endings.c | 20 typedef struct Node { struct 21 struct Node *next; argument 23 } Node; argument 62 Node* root = malloc(sizeof(Node)); in main() 63 Node* node = root; in main() 67 node->next = malloc(sizeof(Node)); in main()
|
/development/tools/winscope/spec/utils/ |
D | tree.js | 1 class Node { class 8 class DiffNode extends Node { 19 class ObjNode extends Node { 58 export { Node, DiffNode, ObjNode, ObjDiffNode, toPlainObject };
|
/development/samples/browseable/DelayedConfirmation/Wearable/src/com.example.android.wearable.delayedconfirmation/ |
D | MainActivity.java | 34 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/ |
D | DisconnectListenerService.java | 28 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/ |
D | QuizReportActionService.java | 31 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/ |
D | MainWearActivity.java | 38 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/ |
D | MainMobileActivity.java | 38 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/ |
D | HardcodedColorDetector.java | 40 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/ |
D | UtilityService.java | 31 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/ |
D | MainActivity.java | 30 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/ |
D | IncomingRequestWearService.java | 37 import com.google.android.gms.wearable.Node; 192 private String pickBestNodeId(Set<Node> nodes) { in pickBestNodeId() 201 for (Node node : nodes) { in pickBestNodeId()
|
D | MainWearActivity.java | 46 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/ |
D | MainActivity.java | 56 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/ |
D | MainPhoneActivity.java | 44 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/ |
D | Utils.java | 35 import com.google.android.gms.wearable.Node; 180 for (Node node : nodes.getNodes()) { in getNodes()
|
/development/testrunner/test_defs/ |
D | test_defs.py | 77 if element.nodeType != xml.dom.Node.ELEMENT_NODE:
|
/development/samples/browseable/DataLayer/Application/src/com.example.android.wearable.datalayer/ |
D | MainActivity.java | 54 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/ |
D | MainActivity.java | 60 import com.google.android.gms.wearable.Node; 420 for (Node node : nodes.getNodes()) { in sendMessageToWearable()
|