/sdk/common/src/com/android/io/ |
H A D | FileWrapper.java | 44 * Creates a new File instance from a parent abstract pathname and a child pathname string. 46 * @param child the child name 50 public FileWrapper(File parent, String child) { argument 51 super(parent, child); 66 * Creates a new File instance from a parent abstract pathname and a child pathname string. 68 * @param child the child name 72 public FileWrapper(String parent, String child) { argument 73 super(parent, child); [all...] |
H A D | FolderWrapper.java | 32 * Creates a new File instance from a parent abstract pathname and a child pathname string. 34 * @param child the child name 38 public FolderWrapper(File parent, String child) { argument 39 super(parent, child); 54 * Creates a new File instance from a parent abstract pathname and a child pathname string. 56 * @param child the child name 60 public FolderWrapper(String parent, String child) { argument 61 super(parent, child); [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/ |
H A D | HorizontalScrollViewRule.java | 44 public void onChildInserted(@NonNull INode child, @NonNull INode parent, argument 46 super.onChildInserted(child, parent, insertType); 48 // The child of the ScrollView should fill in both directions 50 child.setAttribute(ANDROID_URI, ATTR_LAYOUT_WIDTH, fillParent); 51 child.setAttribute(ANDROID_URI, ATTR_LAYOUT_HEIGHT, fillParent); 73 // HorizontalScrollViews only allow a single child
|
H A D | ScrollViewRule.java | 42 public void onChildInserted(@NonNull INode child, @NonNull INode parent, argument 44 super.onChildInserted(child, parent, insertType); 46 // The child of the ScrollView should fill in both directions 48 child.setAttribute(ANDROID_URI, ATTR_LAYOUT_WIDTH, fillParent); 49 child.setAttribute(ANDROID_URI, ATTR_LAYOUT_HEIGHT, fillParent); 59 // a child of this node and the create child method above will set its 70 // ScrollViews only allow a single child
|
H A D | TableRowRule.java | 46 public void onChildInserted(@NonNull INode child, @NonNull INode parent, argument 73 public DropFeedback onResizeBegin(@NonNull INode child, @NonNull INode parent, argument
|
H A D | AbsoluteLayoutRule.java | 242 protected String getResizeUpdateMessage(ResizeState resizeState, INode child, INode parent, argument 246 return super.getResizeUpdateMessage(resizeState, child, parent, newBounds,
|
H A D | TableLayoutRule.java | 65 public void onChildInserted(@NonNull INode child, @NonNull INode parent, argument 127 for (INode child : children) { 128 // Find direct child of table layout 129 while (child != null && child.getParent() != parentNode) { 130 child = child.getParent(); 132 if (child != null) { 133 // Compute index of direct child of table layout 135 if (rows[i] == child) { 199 onResizeBegin(@onNull INode child, @NonNull INode parent, @Nullable SegmentType horizontalEdge, @Nullable SegmentType verticalEdge, @Nullable Object childView, @Nullable Object parentView) argument [all...] |
H A D | RelativeLayoutRule.java | 267 public DropFeedback onResizeBegin(@NonNull INode child, @NonNull INode parent, argument 270 ResizeHandler state = new ResizeHandler(parent, child, mRulesEngine, 276 public void onResizeUpdate(@Nullable DropFeedback feedback, @NonNull INode child, argument 284 state.updateResize(feedback, child, newBounds, modifierMask); 288 public void onResizeEnd(@Nullable DropFeedback feedback, @NonNull INode child, argument 295 child.editXml("Resize", new INodeHandler() { 330 for (INode child : children) { 331 centerVertically(child); 334 for (INode child : children) { 335 centerHorizontally(child); [all...] |
H A D | BaseLayoutRule.java | 136 for (INode child : targets) { 137 child.setAttribute(uri, ATTR_LAYOUT_MARGIN, margins[0]); 138 child.setAttribute(uri, ATTR_LAYOUT_MARGIN_LEFT, margins[1]); 139 child.setAttribute(uri, ATTR_LAYOUT_MARGIN_RIGHT, margins[2]); 140 child.setAttribute(uri, ATTR_LAYOUT_MARGIN_TOP, margins[3]); 141 child.setAttribute(uri, ATTR_LAYOUT_MARGIN_BOTTOM, margins[4]); 230 for (INode child : targets) { 231 child.setAttribute(ANDROID_URI, attribute, value); 270 * The default behavior for pasting in a layout with a specific child target 271 * is to simulate a drop right above the top left of the given child targe 619 onResizeBegin(@onNull INode child, @NonNull INode parent, @Nullable SegmentType horizontalEdge, @Nullable SegmentType verticalEdge, @Nullable Object childView, @Nullable Object parentView) argument 752 onResizeUpdate(@ullable DropFeedback feedback, @NonNull INode child, @NonNull INode parent, @NonNull Rect newBounds, int modifierMask) argument 814 onResizeEnd(@ullable DropFeedback feedback, @NonNull INode child, final @NonNull INode parent, final @NonNull Rect newBounds) argument 840 getResizeUpdateMessage(ResizeState resizeState, INode child, INode parent, Rect newBounds, SegmentType horizontalEdge, SegmentType verticalEdge) argument [all...] |
H A D | GridLayoutRule.java | 470 protected String getResizeUpdateMessage(ResizeState state, INode child, INode parent, argument
|
/sdk/layoutlib_api/src/com/android/ide/common/rendering/api/ |
H A D | DataBindingItem.java | 76 public void addChild(DataBindingItem child) { argument 81 mChildren.add(child);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
H A D | OutlineDropListener.java | 101 for (UiElementNode child : parentNode.getUiChildren()) { 102 if (child == node) { 185 // Targeting the middle of an item means to add it as a new child 193 // Check that the drop target position is not a child or identical to 207 /** Returns true if the given parent node is an ancestor of the given child node */ 208 private boolean isAncestor(UiElementNode parent, UiElementNode child) { argument 209 while (child != null) { 210 if (child == parent) { 213 child = child [all...] |
/sdk/emulator/opengl/shared/OpenglOsUtils/ |
H A D | osProcessUnix.cpp | 131 childProcess *child = new childProcess(); local 132 if (!child) { 136 child->m_pid = start_process(p_cmdLine, p_startdir); 137 if (child->m_pid < 0) { 138 delete child; 142 return child;
|
H A D | osProcessWin.cpp | 27 childProcess *child = new childProcess(); local 28 if (!child) { 35 ZeroMemory(&child->m_proc, sizeof(child->m_proc)); 46 &child->m_proc); 48 delete child; 55 CloseHandle(child->m_proc.hThread); 57 return child;
|
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/ui/model/ |
H A D | ViewsTreeModel.java | 44 public boolean isLeaf(Object child) { argument 45 ViewNode node = (ViewNode) child; 49 public void valueForPathChanged(TreePath treePath, Object child) { argument 52 public int getIndexOfChild(Object parent, Object child) { argument 54 return ((ViewNode) parent).children.indexOf(child);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/relative/ |
H A D | ResizeHandler.java | 94 for (INode child : layout.getChildren()) { 95 if (child != resized) { 96 String id = child.getStringAttr(ANDROID_URI, ATTR_ID); 97 addBounds(child, id, 98 !mHorizontalDeps.contains(child), 99 !mVerticalDeps.contains(child)); 177 * @param child the node being resized 181 public void updateResize(DropFeedback feedback, INode child, Rect newBounds, argument 190 String childId = child.getStringAttr(ANDROID_URI, ATTR_ID); 196 hEdge = new Segment(b.y, b.x, b.x2(), child, childI [all...] |
/sdk/emulator/opengl/tests/ut_renderer/ |
H A D | X11Windowing.cpp | 40 Window child; local 42 XTranslateCoordinates( disp, win, DefaultRootWindow(disp), 0, 0, px, py, &child );
|
/sdk/uiautomatorviewer/src/com/android/uiautomator/tree/ |
H A D | BasicTreeNode.java | 37 public void addChild(BasicTreeNode child) { argument 38 if (child == null) { 39 throw new NullPointerException("Cannot add null child"); 41 if (mChildren.contains(child)) { 42 throw new IllegalArgumentException("node already a child"); 44 mChildren.add(child); 45 child.mParent = this; 69 for (BasicTreeNode child : mChildren) { 70 child.clearAllChildren(); 92 // checked all children, if at least one child cover [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newxmlfile/ |
H A D | NewXmlFileWizard.java | 187 String child = type.getChild(mValues.project, root); 188 return createXmlFile(file, xmlns, root, attrs, child, type.getResFolderType()); 193 String root, String rootAttributes, String child, ResourceFolderType folderType) { 233 if (child != null) { 234 sb.append(child); 192 createXmlFile(IFile file, String xmlns, String root, String rootAttributes, String child, ResourceFolderType folderType) argument
|
/sdk/rule_api/src/com/android/ide/common/api/ |
H A D | AbstractViewRule.java | 117 public void onChildInserted(@NonNull INode child, @NonNull INode parent, argument 128 public DropFeedback onResizeBegin(@NonNull INode child, @NonNull INode parent, argument 136 public void onResizeUpdate(@Nullable DropFeedback feedback, @NonNull INode child, argument 142 public void onResizeEnd(@Nullable DropFeedback feedback, @NonNull INode child, argument
|
H A D | IViewRule.java | 135 * Returns a list of strings that will be displayed when a single child is being 137 * to describe the child's layout attributes or other relevant information. 143 * @param childNode The child node that was selected. Never null. 154 * @param childNodes the child nodes selected in the parent layout 289 * node in its child list) 296 * Called when a child for this view has been created and is being inserted into the 302 * @param child the newly created node 304 * newly created node in its child list) 308 void onChildInserted(@NonNull INode child, @NonNull INode parent, argument 320 * Note that when children are moved (such as when you drag a child withi 354 onResizeBegin( @onNull INode child, @NonNull INode parent, @Nullable SegmentType horizEdge, @Nullable SegmentType verticalEdge, @Nullable Object childView, @Nullable Object parentView) argument 377 onResizeUpdate( @ullable DropFeedback feedback, @NonNull INode child, @NonNull INode parent, @NonNull Rect newBounds, int modifierMask) argument 396 onResizeEnd( @ullable DropFeedback feedback, @NonNull INode child, @NonNull INode parent, @NonNull Rect newBounds) argument [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gre/ |
H A D | RulesEngine.java | 213 * initialize values of child layout controls, if applicable) 242 * @param childNode The child node that was selected. Never null. 406 // we will soon ask each child whether they are *willing* to accept the new child. 407 // A ScrollView for example, which only accepts one child, might also say no 442 public DropFeedback callOnResizeBegin(NodeProxy child, NodeProxy parent, Rect newBounds, argument 449 return rule.onResizeBegin(child, parent, horizontalEdge, verticalEdge, 460 public void callOnResizeUpdate(DropFeedback feedback, NodeProxy child, NodeProxy parent, argument 466 rule.onResizeUpdate(feedback, child, parent, newBounds, modifierMask); 474 public void callOnResizeEnd(DropFeedback feedback, NodeProxy child, NodeProx argument [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/ |
H A D | GridLayoutConverter.java | 279 Element child = view.mElement; 281 List<Attr> attributes = mRefactoring.findLayoutAttributes(child); 287 mRefactoring.removeAttribute(mRootEdit, child, attribute.getNamespaceURI(), 448 private void convert0dipToWrapContent(Element child) { argument 457 Attr height = child.getAttributeNodeNS(ANDROID_URI, ATTR_LAYOUT_HEIGHT); 462 Attr width = child.getAttributeNodeNS(ANDROID_URI, ATTR_LAYOUT_WIDTH); 481 for (CanvasViewInfo child : info.getChildren()) { 482 CanvasViewInfo result = findViewForElement(child, element); 806 for (CanvasViewInfo child : view.getChildren()) { 807 Element childElement = getElement(child); 960 isRemovableLayout(CanvasViewInfo child) argument [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/ |
H A D | TestNode.java | 94 public TestNode add(TestNode child) { argument 95 mChildren.add(child); 96 child.mParent = this; 102 for (TestNode child : children) { 103 mChildren.add(child); 104 child.mParent = this; 192 TestNode child = new TestNode(viewFqcn); 194 mChildren.add(child); 196 mChildren.add(index, child); 198 child [all...] |
/sdk/ddms/libs/ddmlib/src/com/android/ddmlib/ |
H A D | FileListingService.java | 305 * Returns the child {@link FileEntry} matching the name. 307 * @param name the name of the child to return. 326 void addChild(FileEntry child) { argument 327 mChildren.add(child); 721 for (FileEntry child : children) { 722 String path = child.getFullPath(); 723 map.put(path, child);
|