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) {
137 public void addInnerElement(SimpleElement e) {
171 static SimpleElement[] parseString(String value) {
172 ArrayList<SimpleElement> elements = new ArrayList<SimpleElement>();
175 SimpleElement element = null;
179 return elements.toArray(new SimpleElement[elements.size()]);
186 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 172 static SimpleElement[] getAsElements(List<SelectionItem> items) {
173 ArrayList<SimpleElement> elements = new ArrayList<SimpleElement>();
178 SimpleElement e = vi.toSimpleElement();
182 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;
492 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 506 * Returns the info represented as a {@link SimpleElement}.
508 * @return A {@link SimpleElement} wrapping this info.
511 SimpleElement toSimpleElement() {
528 SimpleElement e = new SimpleElement(fqcn, parentFqcn, bounds, parentBounds);
543 SimpleElement e2 = childVi.toSimpleElement();
    [all...]
PaletteControl.java 742 private SimpleElement[] mElements;
771 SimpleElement se = new SimpleElement(
780 mElements = new SimpleElement[] { se };
    [all...]
GestureManager.java 683 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;
78 * Initializes a new {@link SimpleElement} with the palette initialization
83 public void initializeNew(SimpleElement element) {
96 private void initializeNew(SimpleElement simpleElement, Element domElement) {
109 if (simpleElement != null) {
111 simpleElement.addAttribute(attr);
RulesEngine.java 39 import com.android.ide.eclipse.adt.internal.editors.layout.gle2.SimpleElement;
374 SimpleElement[] pastedElements) {
    [all...]

Completed in 269 milliseconds