Searched refs:Node (Results 1 – 5 of 5) sorted by relevance
/packages/apps/Gallery2/src/com/android/photos/data/ |
D | SparseArrayBitmapPool.java | 33 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 …]
|
D | GalleryBitmapPool.java | 24 import com.android.photos.data.SparseArrayBitmapPool.Node; 55 private Pool<Node> mSharedNodePool = new SynchronizedPool<Node>(128);
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
D | PathMatcher.java | 26 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/gallery3d/util/ |
D | ProfileData.java | 37 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/ |
D | ContactTernarySearchTree.java | 26 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;
|