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

  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
SimpleElementTest.java 27 private SimpleElement e;
59 e = new SimpleElement("android.view.LinearLayout", // fqcn
95 SimpleElement e2 = new SimpleElement("android.view.Button",
100 SimpleElement e3 = new SimpleElement("android.view.CheckBox",
125 new SimpleElement[] { new SimpleElement("android.view.LinearLayout",
127 SimpleElement.parseString(
132 new SimpleElement[] { new SimpleElement("android.view.LinearLayout"
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
SimpleElement.java 34 public class SimpleElement implements IDragElement {
50 * Creates a new {@link SimpleElement} with the specified element name.
60 public SimpleElement(String fqcn, String parentFqcn, Rect bounds, Rect parentBounds) {
130 public void addInnerElement(SimpleElement e) {
164 static SimpleElement[] parseString(String value) {
165 ArrayList<SimpleElement> elements = new ArrayList<SimpleElement>();
168 SimpleElement element = null;
172 return elements.toArray(new SimpleElement[elements.size()]);
179 private static SimpleElement parseLines(String[] lines, int[] inOutIndex)
    [all...]
SimpleXmlTransfer.java 58 * Elements are represented by {@link SimpleElement}s and their attributes by
111 /** Transforms a array of {@link SimpleElement} into a native data transfer. */
114 if (object == null || !(object instanceof SimpleElement[])) {
120 for (SimpleElement e : (SimpleElement[]) object) {
135 * Recreates an array of {@link SimpleElement} from a native data transfer.
137 * @return An array of {@link SimpleElement} or null. The array may be empty.
146 return SimpleElement.parseString(s);
GlobalCanvasDragInfo.java 45 private SimpleElement[] mCurrentElements = null;
74 public void startDrag(SimpleElement[] elements, SelectionItem[] selection,
96 public SimpleElement[] getCurrentElements() {
108 * Returns the object that call {@link #startDrag(SimpleElement[], SelectionItem[], Object)}.
SelectionItem.java 155 static SimpleElement[] getAsElements(List<SelectionItem> items) {
156 ArrayList<SimpleElement> elements = new ArrayList<SimpleElement>();
161 SimpleElement e = vi.toSimpleElement();
165 return elements.toArray(new SimpleElement[elements.size()]);
MoveGesture.java 71 private SimpleElement[] mCurrentDragElements;
194 mCurrentDragElements = (SimpleElement[]) sxt.nativeToJava(event.currentDataType);
314 SimpleElement[] elements = null;
319 if (event.data instanceof SimpleElement[]) {
320 elements = (SimpleElement[]) event.data;
347 final SimpleElement[] elementsFinal = elements;
488 SimpleElement[] elements, int detail) {
    [all...]
OutlineDropListener.java 68 final SimpleElement[] elements;
71 if (data instanceof SimpleElement[]) {
72 elements = (SimpleElement[]) data;
OutlineDragListener.java 34 private SimpleElement[] mDragElements;
ClipboardSupport.java 86 * selection both as text and as {@link SimpleElement}s in the clipboard.
259 final SimpleElement[] pasted = (SimpleElement[]) mClipboard.getContents(sxt);
CanvasViewInfo.java 481 * Returns the info represented as a {@link SimpleElement}.
483 * @return A {@link SimpleElement} wrapping this info.
485 /* package */ SimpleElement toSimpleElement() {
502 SimpleElement e = new SimpleElement(fqcn, parentFqcn, bounds, parentBounds);
517 SimpleElement e2 = childVi.toSimpleElement();
    [all...]
PaletteControl.java 727 private SimpleElement[] mElements;
755 SimpleElement se = new SimpleElement(
764 mElements = new SimpleElement[] { se };
    [all...]
GestureManager.java 670 private SimpleElement[] mDragElements;
    [all...]
OutlinePage.java     [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gre/
PaletteMetadataDescriptor.java 24 import com.android.ide.eclipse.adt.internal.editors.layout.gle2.SimpleElement;
77 * Initializes a new {@link SimpleElement} with the palette initialization
82 public void initializeNew(SimpleElement element) {
95 private void initializeNew(SimpleElement simpleElement, Element domElement) {
108 if (simpleElement != null) {
110 simpleElement.addAttribute(attr);
RulesEngine.java 39 import com.android.ide.eclipse.adt.internal.editors.layout.gle2.SimpleElement;
437 SimpleElement[] pastedElements) {
    [all...]

Completed in 1304 milliseconds