Home
last modified time | relevance | path

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

/packages/apps/Gallery2/src/com/android/gallery3d/data/
DPathMatcher.java26 private Node mRoot = new Node();
29 mRoot = new Node(); in PathMatcher()
34 Node current = mRoot; in add()
44 Node current = mRoot; in match()
46 Node next = current.getChild(segments[i]); in match()
72 private static class Node { class in PathMatcher
73 private HashMap<String, Node> mMap;
76 Node addChild(String segment) { in addChild()
78 mMap = new HashMap<String, Node>(); in addChild()
80 Node node = mMap.get(segment); in addChild()
[all …]
/packages/apps/Gallery2/src/com/android/photos/data/
DSparseArrayBitmapPool.java33 private SparseArray<Node> mStore = new SparseArray<Node>();
36 private Pool<Node> mNodePool;
37 private Node mPoolNodesHead = null;
38 private Node mPoolNodesTail = null;
40 protected static class Node { class in SparseArrayBitmapPool
48 Node prevInBucket;
49 Node nextInBucket;
50 Node nextInPool;
51 Node prevInPool;
58 public SparseArrayBitmapPool(int capacityBytes, Pool<Node> nodePool) { in SparseArrayBitmapPool()
[all …]
DGalleryBitmapPool.java24 import com.android.photos.data.SparseArrayBitmapPool.Node;
55 private Pool<Node> mSharedNodePool = new SynchronizedPool<Node>(128);
/packages/apps/Gallery2/src/com/android/gallery3d/util/
DProfileData.java37 private static class Node { class in ProfileData
39 public Node parent;
41 public ArrayList<Node> children;
42 public Node(Node parent, int id) { in Node() method in ProfileData.Node
48 private Node mRoot;
55 mRoot = new Node(null, -1); // The id of the root node is unused. in ProfileData()
60 mRoot = new Node(null, -1); in reset()
80 Node node = mRoot; in addSample()
83 node.children = new ArrayList<Node>(); in addSample()
87 ArrayList<Node> children = node.children; in addSample()
[all …]
/packages/apps/Dialer/java/com/android/dialer/searchfragment/cp2/
DContactTernarySearchTree.java26 private Node root;
42 private Node put(Node node, String key, int value, int position) { in put()
45 node = new Node(); in put()
68 Node x = get(root, key, 0); in get()
72 private Node get(Node node, String key, int position) { in get()
89 private static class Node { class in ContactTernarySearchTree
93 private Node left;
94 private Node mid;
95 private Node right;
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/omadm/
DMoSerializerTest.java31 import org.w3c.dom.Node;
76 Node childNode = element.getFirstChild(); in testShouldReturnValidElementForWriteVersion()
92 Node childNode = element.getFirstChild(); in testShouldReturnValidElementForCreateNodeForUrn()
96 Node childNode2 = childNode.getFirstChild(); in testShouldReturnValidElementForCreateNodeForUrn()
99 Node textNode = childNode2.getFirstChild(); in testShouldReturnValidElementForCreateNodeForUrn()
115 Node childNode = element.getFirstChild(); in testShouldReturnValidElementForCreateNode()
117 Node textNode = childNode.getFirstChild(); in testShouldReturnValidElementForCreateNode()
135 Node childNode; in testShouldReturnValidElementForCreateNodeForValue()
136 Node textNode; in testShouldReturnValidElementForCreateNodeForValue()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DLauncherLayoutBuilder.kt47 private val nodes = ArrayList<Node>() in <lambda>()
130 children: List<Node>? = null in <lambda>()
133 Node( in <lambda>()
154 val children = ArrayList<Node>() in <lambda>()
170 childrenIgnored: List<Node>? in <lambda>()
173 Node(tag, HashMap(props).apply { userType?.let { put(ATTR_USER_TYPE, it) } }) in <lambda>()
186 private fun XmlSerializer.writeNodes(nodes: List<Node>) { in <lambda>()
195 data class Node( in <lambda>() class in com.android.launcher3.util.LauncherLayoutBuilder
198 val children: List<Node>? = null in <lambda>()
/packages/modules/Bluetooth/system/common/
Dlru.h38 using Node = std::pair<K, V>;
126 std::optional<Node> Put(const K& key, V value) { in Put()
136 std::optional<Node> ret = std::nullopt; in Put()
181 std::list<Node> node_list_;
183 std::unordered_map<K, typename std::list<Node>::iterator> lru_map_;
/packages/modules/Bluetooth/android/ChannelSoundingTestApp/app/src/main/java/com/android/bluetooth/channelsoundingtestapp/
DCanvasView.java40 private final ArrayList<Node> mDataList;
53 mDataList = new ArrayList<Node>(); in CanvasView()
145 mDataList.add(new Node(distance, mNodeCount++, abort)); in addNode()
159 static class Node { class in CanvasView
164 Node(double value, int number, boolean abort) { in Node() method in CanvasView.Node
/packages/apps/ManagedProvisioning/studio-dev/ManagedProvisioningGradleProject/buildSrc/src/main/groovy/
DSdkSourceUpdaterTask.groovy7 import org.w3c.dom.Node
58 Node node = list.item(i);
59 if (node.getNodeType() == Node.ELEMENT_NODE) {
121 Node n = paths.item(0);
122 if (n.getNodeType() != Node.ELEMENT_NODE) {
/packages/services/Car/tests/BugReportApp/libs/
Dgrpc-context-1.19.0.jarMETA-INF/ META-INF/MANIFEST.MF io/ io/grpc/ io/ ...
/packages/modules/Telephony/services/QualifiedNetworksService/tests/src/com/android/telephony/qns/
DConfigXmlTest.java34 import org.w3c.dom.Node;
105 Node node = nodeList.item(i); in verifyWithXmlQuery()
/packages/modules/Permission/SafetyCenter/ConfigLintChecker/java/android/safetycenter/lint/
DParserExceptionDetector.kt40 import org.w3c.dom.Node
104 if (child.nodeType == Node.TEXT_NODE) { in visitElement()
/packages/apps/ImsServiceEntitlement/src/com/android/imsserviceentitlement/utils/
DXmlDoc.java42 import org.w3c.dom.Node;
178 Node node = nodeList.item(i); in parseParams()
/packages/apps/TV/libs/m2/
Ddagger-spi-2.23.jardagger/spi/package-info.class package-info.java package dagger.spi abstract ...
Dauto-value-1.5.3.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Djavac-shaded-9-dev-r4023-3.jarorg/openjdk/tools/sjavac/server/log/LoggingOutputStream.class LoggingOutputStream.java package ...
Dguava-28.0-android.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
Dguava-28.0-jre.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
/packages/modules/RuntimeI18n/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt1055 Landroid/icu/impl/TextTrieMap$Node$StepResult;->node:Landroid/icu/impl/TextTrieMap$Node;
1056 Landroid/icu/impl/TextTrieMap$Node$StepResult;->offset:I
1057 Landroid/icu/impl/TextTrieMap$Node;->add(Landroid/icu/impl/TextTrieMap$CharIterator;Ljava/lang/Obje…
1058 Landroid/icu/impl/TextTrieMap$Node;->add([CILjava/lang/Object;)V
1059 Landroid/icu/impl/TextTrieMap$Node;->addValue(Ljava/util/List;Ljava/lang/Object;)Ljava/util/List;
1060 Landroid/icu/impl/TextTrieMap$Node;->charCount()I
1061 …android/icu/impl/TextTrieMap$Node;->findMatch(Landroid/icu/impl/TextTrieMap$CharIterator;)Landroid…
1062 Landroid/icu/impl/TextTrieMap$Node;->hasChildFor(C)Z
1063 Landroid/icu/impl/TextTrieMap$Node;->lenMatches([CI)I
1064 Landroid/icu/impl/TextTrieMap$Node;->matchFollowing(Landroid/icu/impl/TextTrieMap$CharIterator;)Z
[all …]
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/wear/elements/rotaryinput/
DRotary.kt1191 ) : RotaryInputModifierNode, Modifier.Node() {
/packages/apps/Car/DebuggingRestrictionController/libs/
Dokhttp-3.12.1.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/proguard/ okhttp3/ ...
/packages/apps/TV/libs/
Dgoogle-java-format-1.7-all-deps.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/packages/services/Telecomm/libs/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/packages/apps/ManagedProvisioning/studio-dev/StubGenerator/
DStubGenerator.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/jf/ org/ ...