Home
last modified time | relevance | path

Searched refs:SimpleElement (Results 1 – 16 of 16) sorted by relevance

/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DSimpleElementTest.java27 private SimpleElement e;
59 e = new SimpleElement("android.view.LinearLayout", // fqcn in setUp()
95 SimpleElement e2 = new SimpleElement("android.view.Button", in testToString()
100 SimpleElement e3 = new SimpleElement("android.view.CheckBox", in testToString()
125 new SimpleElement[] { new SimpleElement("android.view.LinearLayout", in testParseString()
127 SimpleElement.parseString( in testParseString()
132 new SimpleElement[] { new SimpleElement("android.view.LinearLayout", in testParseString()
135 SimpleElement.parseString( in testParseString()
140 new SimpleElement[] { new SimpleElement("android.view.LinearLayout", in testParseString()
144 SimpleElement.parseString( in testParseString()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DSimpleElement.java37 public class SimpleElement implements IDragElement { class
64 public SimpleElement(String fqcn, String parentFqcn, Rect bounds, Rect parentBounds) { in SimpleElement() method in SimpleElement
141 public void addInnerElement(SimpleElement e) { in addInnerElement()
165 static SimpleElement findPrimary(SimpleElement[] elements, SelectionItem primary) { in findPrimary()
174 for (SimpleElement element : elements) { in findPrimary()
212 static SimpleElement[] parseString(String value) { in parseString()
213 ArrayList<SimpleElement> elements = new ArrayList<SimpleElement>(); in parseString()
216 SimpleElement element = null; in parseString()
220 return elements.toArray(new SimpleElement[elements.size()]); in parseString()
227 private static SimpleElement parseLines(String[] lines, int[] inOutIndex) { in parseLines()
[all …]
DSelectionItem.java172 static SimpleElement[] getAsElements(@NonNull List<SelectionItem> items) { in getAsElements()
184 static SimpleElement[] getAsElements( in getAsElements()
187 List<SimpleElement> elements = new ArrayList<SimpleElement>(); in getAsElements()
191 SimpleElement e = vi.toSimpleElement(); in getAsElements()
203 SimpleElement e = vi.toSimpleElement(); in getAsElements()
208 return elements.toArray(new SimpleElement[elements.size()]); in getAsElements()
DSimpleXmlTransfer.java113 if (object == null || !(object instanceof SimpleElement[])) { in javaToNative()
119 for (SimpleElement e : (SimpleElement[]) object) { in javaToNative()
145 return SimpleElement.parseString(s); in nativeToJava()
DGlobalCanvasDragInfo.java47 private SimpleElement[] mCurrentElements = null;
81 @NonNull SimpleElement[] elements, in startDrag()
106 public SimpleElement[] getCurrentElements() { in getCurrentElements()
DMoveGesture.java71 private SimpleElement[] mCurrentDragElements;
194 mCurrentDragElements = (SimpleElement[]) sxt.nativeToJava(event.currentDataType); in dragEnter()
314 SimpleElement[] elements = null; in drop()
319 if (event.data instanceof SimpleElement[]) { in drop()
320 elements = (SimpleElement[]) event.data; in drop()
347 final SimpleElement[] elementsFinal = elements; in drop()
496 SimpleElement[] elements, int detail) { in computeUndoLabel()
830 private void createDocumentRoot(SimpleElement[] elements) { in createDocumentRoot()
DOutlineDropListener.java68 final SimpleElement[] elements; in performDrop()
71 if (data instanceof SimpleElement[]) { in performDrop()
72 elements = (SimpleElement[]) data; in performDrop()
DOutlineDragListener.java34 private SimpleElement[] mDragElements;
DClipboardSupport.java264 final SimpleElement[] pasted = (SimpleElement[]) mClipboard.getContents(sxt); in pasteSelection()
DCanvasViewInfo.java511 SimpleElement toSimpleElement() { in toSimpleElement()
528 SimpleElement e = new SimpleElement(fqcn, parentFqcn, bounds, parentBounds); in toSimpleElement()
543 SimpleElement e2 = childVi.toSimpleElement(); in toSimpleElement()
DPaletteControl.java747 private SimpleElement[] mElements;
776 SimpleElement se = new SimpleElement( in dragStart()
785 mElements = new SimpleElement[] { se }; in dragStart()
DGestureManager.java710 private SimpleElement[] mDragElements;
DOutlinePage.java1151 final SimpleElement[] elements = SelectionItem.getAsElements(dragSelection); in move()
DLayoutCanvas.java1588 void createDocumentRoot(final @NonNull SimpleElement root) { in createDocumentRoot()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gre/
DPaletteMetadataDescriptor.java24 import com.android.ide.eclipse.adt.internal.editors.layout.gle2.SimpleElement;
83 public void initializeNew(SimpleElement element) { in initializeNew()
96 private void initializeNew(SimpleElement simpleElement, Element domElement) { in initializeNew()
DRulesEngine.java42 import com.android.ide.eclipse.adt.internal.editors.layout.gle2.SimpleElement;
402 SimpleElement[] pastedElements) { in callOnPaste()