/sdk/hierarchyviewer/src/com/android/hierarchyviewer/ui/model/ |
PropertiesTableModel.java | 19 import com.android.hierarchyviewer.scene.ViewNode; 26 private List<ViewNode.Property> properties; 27 private List<ViewNode.Property> privateProperties = new ArrayList<ViewNode.Property>(); 29 public PropertiesTableModel(ViewNode node) { 34 private void loadPrivateProperties(ViewNode node) { 37 ViewNode p = node.parent; 44 ViewNode.Property property = new ViewNode.Property(); 49 property = new ViewNode.Property() [all...] |
ViewsTreeModel.java | 19 import com.android.hierarchyviewer.scene.ViewNode; 26 private final ViewNode root; 28 public ViewsTreeModel(ViewNode root) { 37 return ((ViewNode) o).children.get(i); 41 return ((ViewNode) o).children.size(); 45 ViewNode node = (ViewNode) child; 54 return ((ViewNode) parent).children.indexOf(child);
|
/sdk/chimpchat/src/com/android/chimpchat/hierarchyviewer/ |
HierarchyViewer.java | 22 import com.android.hierarchyviewerlib.device.ViewNode; 71 public ViewNode findViewById(String id) { 72 ViewNode rootNode = DeviceBridge.loadWindowData( 83 * @param rootNode the ViewNode at which to begin the traversal 87 public ViewNode findViewById(String id, ViewNode rootNode) { 92 for (ViewNode child : rootNode.children) { 93 ViewNode found = findViewById(id,child); 122 public static Point getAbsolutePositionOfView(ViewNode node) { 125 ViewNode p = node.parent [all...] |
/sdk/hierarchyviewer2/libs/hierarchyviewerlib/src/com/android/hierarchyviewerlib/ui/ |
PixelPerfectTree.java | 20 import com.android.hierarchyviewerlib.device.ViewNode; 57 if (element instanceof ViewNode) { 58 List<ViewNode> children = ((ViewNode) element).children; 59 return children.toArray(new ViewNode[children.size()]); 65 if (element instanceof ViewNode) { 66 return ((ViewNode) element).parent; 72 if (element instanceof ViewNode) { 73 return ((ViewNode) element).children.size() != 0; 80 ViewNode viewNode = ((PixelPerfectModel) element).getViewNode() [all...] |
PropertyViewer.java | 19 import com.android.hierarchyviewerlib.device.ViewNode; 20 import com.android.hierarchyviewerlib.device.ViewNode.Property; 66 for (Property property : mSelectedNode.viewNode.properties) { 67 if (category.equals(ViewNode.MISCELLANIOUS)) { 86 if (mSelectedNode.viewNode.categories.size() == 0) { 92 return ViewNode.MISCELLANIOUS; 104 for (String name : mSelectedNode.viewNode.namedProperties.keySet()) { 105 if (category.equals(ViewNode.MISCELLANIOUS)) { 123 if (mSelectedNode.viewNode.categories.size() == 0) { 124 return mSelectedNode.viewNode.propertie [all...] |
CaptureDisplay.java | 21 import com.android.hierarchyviewerlib.device.ViewNode; 49 private static ViewNode sViewNode; 59 public static void show(Shell parentShell, ViewNode viewNode, Image image) { 67 CaptureDisplay.sViewNode = viewNode; 68 viewNode.referenceImage(); 69 sShell.setText(viewNode.name);
|
PixelPerfect.java | 19 import com.android.hierarchyviewerlib.device.ViewNode; 63 private ViewNode mSelectedNode; 229 ViewNode cur = mSelectedNode;
|
TreeView.java | 21 import com.android.hierarchyviewerlib.device.ViewNode.ProfileRating; 241 while (currentNode.parent != null && currentNode.viewNode.index == 0) { 248 .get(currentNode.viewNode.index - 1); 262 && currentNode.viewNode.index + 1 == currentNode.parent.children 270 .get(currentNode.viewNode.index + 1); 317 HierarchyViewerDirector.getDirector().showCapture(getShell(), clickedNode.viewNode); 336 HierarchyViewerDirector.getDirector().showCapture(getShell(), clickedNode.viewNode); 429 mSelectedNode.viewNode); 617 if (mSelectedNode.viewNode.image != null 618 && mSelectedNode.viewNode.image.getBounds().height != [all...] |
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/ui/ |
LayoutRenderer.java | 20 import com.android.hierarchyviewer.scene.ViewNode; 78 ViewNode root = scene.getRoot(); 94 ViewNode node = (ViewNode) selection.iterator().next(); 97 ViewNode p = node.parent; 112 private void drawChildren(Graphics g, ViewNode root, int x, int y) { 114 for (ViewNode node : root.children) { 139 ViewNode root = scene.getRoot(); 152 ViewNode hit = findChild(root, root, x, y); 158 private ViewNode findChild(ViewNode root, ViewNode besthit, int x, int y) [all...] |
CaptureRenderer.java | 19 import com.android.hierarchyviewer.scene.ViewNode; 25 private ViewNode node; 28 CaptureRenderer(ImageIcon icon, ViewNode node) {
|
Workspace.java | 29 import com.android.hierarchyviewer.scene.ViewNode; 590 ViewNode node = (ViewNode) event.getPath().getLastPathComponent(); 661 private void showProperties(ViewNode node) { 692 ViewNode root = (ViewNode) tree.getModel().getRoot(); 698 ViewNode node = (ViewNode)parent.getLastPathComponent(); 700 for (ViewNode n : node.children) { 750 TreeGraphLayout<ViewNode, String> layout [all...] |
ScreenViewer.java | 6 import com.android.hierarchyviewer.scene.ViewNode; 73 private ViewNode node; 242 void select(ViewNode node) { 584 ViewNode p = node.parent;
|
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/scene/ |
ViewHierarchyLoader.java | 64 Stack<ViewNode> stack = new Stack<ViewNode>(); 67 ViewNode lastNode = null; 89 lastNode = new ViewNode(); 103 final ViewNode parent = stack.peek(); 136 private static void updateIndices(ViewNode root) { 141 for (ViewNode node : root.children) { 154 private static void loadProperties(ViewNode node, String data) { 160 ViewNode.Property property = new ViewNode.Property() [all...] |
ViewNode.java | 26 public class ViewNode { 33 public ViewNode parent; 34 public List<ViewNode> children = new ArrayList<ViewNode>(); 149 final ViewNode other = (ViewNode) obj; 200 void nodeStateChanged(ViewNode node); 201 void nodeIndexChanged(ViewNode node);
|
ViewHierarchyScene.java | 38 public class ViewHierarchyScene extends GraphScene<ViewNode, String> { 39 private ViewNode root; 53 public ViewNode getRoot() { 57 void setRoot(ViewNode root) { 62 protected Widget attachNodeWidget(ViewNode node) { 70 private Widget createBox(ViewNode node, String nodeName, String id) { 127 protected void attachEdgeSourceAnchor(String edge, ViewNode oldSourceNode, ViewNode sourceNode) { 136 protected void attachEdgeTargetAnchor(String edge, ViewNode oldTargetNode, ViewNode targetNode) [all...] |
/sdk/hierarchyviewer2/libs/hierarchyviewerlib/src/com/android/hierarchyviewerlib/device/ |
ViewNode.java | 30 public class ViewNode { 52 public ViewNode parent; 54 public List<ViewNode> children = new ArrayList<ViewNode>(); 120 public ViewNode(Window window, ViewNode parent, String data) { 163 ViewNode.Property property = new ViewNode.Property(); 180 Collections.sort(properties, new Comparator<ViewNode.Property>() { 181 public int compare(ViewNode.Property source, ViewNode.Property destination) [all...] |
DeviceBridge.java | 432 public static ViewNode loadWindowData(Window window) { 438 ViewNode currentNode = null; 453 currentNode = new ViewNode(window, currentNode, line.substring(depth)); 478 public static boolean loadProfileData(Window window, ViewNode viewNode) { 482 connection.sendCommand("PROFILE " + window.encode() + " " + viewNode.toString()); //$NON-NLS-1$ 489 return loadProfileData(viewNode, in); 491 boolean ret = loadProfileDataRecursive(viewNode, in); 493 viewNode.setProfileRatings(); 508 private static boolean loadProfileData(ViewNode node, BufferedReader in) throws IOException [all...] |
/sdk/hierarchyviewer2/libs/hierarchyviewerlib/src/com/android/hierarchyviewerlib/models/ |
PixelPerfectModel.java | 20 import com.android.hierarchyviewerlib.device.ViewNode; 44 private ViewNode mViewNode; 46 private ViewNode mSelectedNode; 66 public void setData(final IDevice device, final Image image, final ViewNode viewNode) { 74 PixelPerfectModel.this.mViewNode = viewNode; 112 public void setSelected(ViewNode selected) { 119 public void setTree(final ViewNode viewNode) { 123 PixelPerfectModel.this.mViewNode = viewNode; [all...] |
TreeViewModel.java | 19 import com.android.hierarchyviewerlib.device.ViewNode; 54 public void setData(Window window, ViewNode viewNode) { 57 mTree.viewNode.dispose(); 60 if (viewNode == null) { 63 mTree = new DrawableViewNode(viewNode);
|
/sdk/monkeyrunner/src/com/android/monkeyrunner/easy/ |
By.java | 22 import com.android.hierarchyviewerlib.device.ViewNode; 71 public ViewNode findView(HierarchyViewer viewer) {
|
EasyMonkeyDevice.java | 23 import com.android.hierarchyviewerlib.device.ViewNode; 119 ViewNode node = selector.findView(mHierarchyViewer); 142 ViewNode node = selector.findView(mHierarchyViewer); 159 ViewNode node = selector.findView(mHierarchyViewer); 176 ViewNode node = selector.findView(mHierarchyViewer); 219 ViewNode node = selector.findView(mHierarchyViewer);
|
/sdk/hierarchyviewer2/libs/hierarchyviewerlib/src/com/android/hierarchyviewerlib/ |
HierarchyViewerDirector.java | 27 import com.android.hierarchyviewerlib.device.ViewNode; 265 ViewNode viewNode = 267 if (viewNode != null) { 268 PixelPerfectModel.getModel().setTree(viewNode); 281 ViewNode viewNode = 283 if (viewNode != null) { 284 PixelPerfectModel.getModel().setData(device, screenshotImage, viewNode); 328 ViewNode viewNode = DeviceBridge.loadWindowData(window) [all...] |
/sdk/hierarchyviewer2/libs/hierarchyviewerlib/src/com/android/hierarchyviewerlib/ui/util/ |
DrawableViewNode.java | 19 import com.android.hierarchyviewerlib.device.ViewNode; 24 public ViewNode viewNode; 113 public DrawableViewNode(ViewNode viewNode) { 114 this.viewNode = viewNode; 115 treeDrawn = !viewNode.willNotDraw; 116 if (viewNode.children.size() == 0) { 122 int N = viewNode.children.size() [all...] |
/external/srec/tools/grxmlcompile/ |
sub_grph.h | 265 void ViewNode (int currId);
|
sub_min.cpp | 47 void SubGraph::ViewNode (int currId) 449 // ViewNode (newId);
|