HomeSort by relevance Sort by last modified time
    Searched refs:viewNode (Results 1 - 12 of 12) sorted by null

  /sdk/hierarchyviewer2/libs/hierarchyviewerlib/src/com/android/hierarchyviewerlib/ui/
LayoutViewer.java 98 mSelectedNode.viewNode.dereferenceImage();
118 .showCapture(getShell(), mSelectedNode.viewNode);
133 updateSelection(mTree, pt[0], pt[1], 0, 0, 0, 0, mTree.viewNode.width,
134 mTree.viewNode.height);
158 int x2 = Math.min(left + node.viewNode.width, clipX + clipWidth);
160 int y2 = Math.min(top + node.viewNode.height, clipY + clipHeight);
173 left + child.viewNode.left - node.viewNode.scrollX, top
174 + child.viewNode.top - node.viewNode.scrollY, clipX, clipY
    [all...]
PropertyViewer.java 19 import com.android.hierarchyviewerlib.device.ViewNode;
20 import com.android.hierarchyviewerlib.device.ViewNode.Property;
63 for (Property property : mSelectedNode.viewNode.properties) {
64 if (category.equals(ViewNode.MISCELLANIOUS)) {
84 if (mSelectedNode.viewNode.categories.size() == 0) {
90 return ViewNode.MISCELLANIOUS;
103 for (String name : mSelectedNode.viewNode.namedProperties.keySet()) {
104 if (category.equals(ViewNode.MISCELLANIOUS)) {
123 if (mSelectedNode.viewNode.categories.size() == 0) {
124 return mSelectedNode.viewNode.propertie
    [all...]
TreeView.java 21 import com.android.hierarchyviewerlib.device.ViewNode.ProfileRating;
244 while (currentNode.parent != null && currentNode.viewNode.index == 0) {
251 .get(currentNode.viewNode.index - 1);
265 && currentNode.viewNode.index + 1 == currentNode.parent.children
273 .get(currentNode.viewNode.index + 1);
320 HierarchyViewerDirector.getDirector().showCapture(getShell(), clickedNode.viewNode);
341 HierarchyViewerDirector.getDirector().showCapture(getShell(), clickedNode.viewNode);
436 mSelectedNode.viewNode);
627 if (mSelectedNode.viewNode.image != null
628 && mSelectedNode.viewNode.image.getBounds().height !=
    [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);
PixelPerfectTree.java 20 import com.android.hierarchyviewerlib.device.ViewNode;
58 if (element instanceof ViewNode) {
59 List<ViewNode> children = ((ViewNode) element).children;
60 return children.toArray(new ViewNode[children.size()]);
67 if (element instanceof ViewNode) {
68 return ((ViewNode) element).parent;
75 if (element instanceof ViewNode) {
76 return ((ViewNode) element).children.size() != 0;
84 ViewNode viewNode = ((PixelPerfectModel) element).getViewNode()
    [all...]
TreeViewOverview.java 250 if (mSelectedNode == node && node.viewNode.filtered) {
254 } else if (node.viewNode.filtered) {
  /sdk/hierarchyviewer2/libs/hierarchyviewerlib/src/com/android/hierarchyviewerlib/
HierarchyViewerDirector.java 28 import com.android.hierarchyviewerlib.device.ViewNode;
276 ViewNode viewNode =
278 if (viewNode != null) {
279 PixelPerfectModel.getModel().setTree(viewNode);
293 ViewNode viewNode =
295 if (viewNode != null) {
296 PixelPerfectModel.getModel().setData(device, screenshotImage, viewNode);
342 ViewNode viewNode = DeviceBridge.loadWindowData(window)
    [all...]
  /sdk/hierarchyviewer2/libs/hierarchyviewerlib/src/com/android/hierarchyviewerlib/device/
DeviceBridge.java 433 public static ViewNode loadWindowData(Window window) {
439 ViewNode currentNode = null;
454 currentNode = new ViewNode(window, currentNode, line.substring(depth));
479 public static boolean loadProfileData(Window window, ViewNode viewNode) {
483 connection.sendCommand("PROFILE " + window.encode() + " " + viewNode.toString()); //$NON-NLS-1$
490 return loadProfileData(viewNode, in);
492 boolean ret = loadProfileDataRecursive(viewNode, in);
494 viewNode.setProfileRatings();
509 private static boolean loadProfileData(ViewNode node, BufferedReader in) throws IOException
    [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...]
  /sdk/hierarchyviewer2/libs/hierarchyviewerlib/src/com/android/hierarchyviewerlib/models/
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);
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) {
75 PixelPerfectModel.this.mViewNode = viewNode;
115 public void setSelected(ViewNode selected) {
122 public void setTree(final ViewNode viewNode) {
127 PixelPerfectModel.this.mViewNode = viewNode;
    [all...]
  /external/v8/tools/
profile_view.js 62 var viewNode = createViewNode(node.label, totalWeight, selfWeight, head);
64 viewParent.addChild(viewNode);
66 head = viewNode;
68 return viewNode;

Completed in 2943 milliseconds