/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/descriptors/ |
LayoutDescriptors.java | 65 private List<ViewElementDescriptor> mLayoutDescriptors = Collections.emptyList(); 68 private List<ViewElementDescriptor> mROLayoutDescriptors; 71 private List<ViewElementDescriptor> mViewDescriptors = Collections.emptyList(); 74 private List<ViewElementDescriptor> mROViewDescriptors; 77 private ViewElementDescriptor mBaseViewDescriptor; 80 private Map<String, ViewElementDescriptor> mFqcnToDescriptor = 82 new HashMap<String, ViewElementDescriptor>(80); 91 public List<ViewElementDescriptor> getLayoutDescriptors() { 96 public List<ViewElementDescriptor> getViewDescriptors() { 107 * to be a {@link ViewElementDescriptor} [all...] |
ViewElementDescriptor.java | 39 * {@link ViewElementDescriptor} describes the properties expected for a given XML element node 60 public class ViewElementDescriptor extends ElementDescriptor { 69 private ViewElementDescriptor mSuperClassDesc; 75 * Constructs a new {@link ViewElementDescriptor} based on its XML name, UI name, 81 * @param fullClassName The fully qualified class name the {@link ViewElementDescriptor} is 93 public ViewElementDescriptor(String xml_name, String ui_name, 110 * @param fullClassName The fully qualified class name the {@link ViewElementDescriptor} is 113 public ViewElementDescriptor(String xml_name, String fullClassName) { 156 * Returns the {@link ViewElementDescriptor} of the super-class of this View descriptor 161 public ViewElementDescriptor getSuperClassDesc() [all...] |
CustomViewDescriptorService.java | 74 * Service responsible for creating/managing {@link ViewElementDescriptor} objects for custom 78 * starts once a request for an {@link ViewElementDescriptor} object has been done for a specific 82 * associated {@link ViewElementDescriptor} object. 95 * {@link ViewElementDescriptor}. 97 private HashMap<IProject, HashMap<String, ViewElementDescriptor>> mCustomDescriptorMap = 98 new HashMap<IProject, HashMap<String, ViewElementDescriptor>>(); 101 * TODO will be used to update the ViewElementDescriptor of the custom view when it 114 * its {@link ViewElementDescriptor} was modified. 122 ViewElementDescriptor descriptor); 136 * TODO will be used to update the ViewElementDescriptor of the custom view when i [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gre/ |
MockNodeProxy.java | 19 import com.android.ide.eclipse.adt.internal.editors.layout.descriptors.ViewElementDescriptor; 49 * Generates a {@link ViewElementDescriptor} using an FQCN (e.g. android.view.View) 63 ViewElementDescriptor desc = new ViewElementDescriptor(xmlName, fqcn);
|
NodeFactoryTest.java | 22 import com.android.ide.eclipse.adt.internal.editors.layout.descriptors.ViewElementDescriptor; 48 ViewElementDescriptor ved = new ViewElementDescriptor("xml", "com.example.MyJavaClass"); 71 ViewElementDescriptor ved = new ViewElementDescriptor("xml", "com.example.MyJavaClass"); 95 ViewElementDescriptor ved = new ViewElementDescriptor("xml", "com.example.MyJavaClass"); 107 ViewElementDescriptor ved = new ViewElementDescriptor("xml", "com.example.MyJavaClass");
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/ |
WrapInWizard.java | 27 import com.android.ide.eclipse.adt.internal.editors.layout.descriptors.ViewElementDescriptor; 74 private List<Pair<String, ViewElementDescriptor>> mClassNames; 149 ViewElementDescriptor descriptor = mClassNames.get(selectionIndex).getSecond(); 165 static List<Pair<String, ViewElementDescriptor>> addLayouts(IProject project, 168 List<Pair<String, ViewElementDescriptor>> classNames = 169 new ArrayList<Pair<String, ViewElementDescriptor>>(); 174 classNames.add(Pair.of(RADIO_GROUP, (ViewElementDescriptor) null)); 177 classNames.add(Pair.<String,ViewElementDescriptor>of(null, null)); 186 classNames.add(Pair.of(view, (ViewElementDescriptor) null)); 189 classNames.add(Pair.<String,ViewElementDescriptor>of(null, null)) [all...] |
ChangeLayoutWizard.java | 28 import com.android.ide.eclipse.adt.internal.editors.layout.descriptors.ViewElementDescriptor; 67 private List<Pair<String, ViewElementDescriptor>> mClassNames; 178 ViewElementDescriptor descriptor = mClassNames.get(selectionIndex).getSecond();
|
ChangeViewWizard.java | 24 import com.android.ide.eclipse.adt.internal.editors.layout.descriptors.ViewElementDescriptor; 155 List<ViewElementDescriptor> descriptors = 157 for (ViewElementDescriptor d : descriptors) {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
SimpleXmlTransfer.java | 20 import com.android.ide.eclipse.adt.internal.editors.layout.descriptors.ViewElementDescriptor; 82 * If the descriptor is a {@link ViewElementDescriptor}, the transfered data is the FQCN 91 if (desc instanceof ViewElementDescriptor) { 92 return ((ViewElementDescriptor) desc).getFullClassName();
|
PaletteControl.java | 43 import com.android.ide.eclipse.adt.internal.editors.layout.descriptors.ViewElementDescriptor; 448 final Map<String, List<ViewElementDescriptor>> categoryToItems; 449 categoryToItems = new HashMap<String, List<ViewElementDescriptor>>(); 451 List<Pair<String,List<ViewElementDescriptor>>> paletteEntries = 454 for (Pair<String,List<ViewElementDescriptor>> pair : paletteEntries) { 456 List<ViewElementDescriptor> categoryItems = pair.getSecond(); 486 List<ViewElementDescriptor> list = categoryToItems.get(header); 532 List<ViewElementDescriptor> list = categoryToItems.get(header); 538 for (ViewElementDescriptor desc : list) { 578 ViewElementDescriptor desc = service.getDescriptor(mEditor.getProject(), fqcn) [all...] |
ClipboardSupport.java | 28 import com.android.ide.eclipse.adt.internal.editors.layout.descriptors.ViewElementDescriptor; 322 final ViewElementDescriptor viewDesc = delegate.getFqcnViewDescriptor(rootFqcn); 370 final ViewElementDescriptor childDesc =
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/ |
ViewTagRule.java | 24 import com.android.ide.eclipse.adt.internal.editors.layout.descriptors.ViewElementDescriptor; 37 if (!ViewElementDescriptor.viewNeedsPackage(fqcn)) {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/ |
WidgetPullParser.java | 22 import com.android.ide.eclipse.adt.internal.editors.layout.descriptors.ViewElementDescriptor; 31 * {@link ViewElementDescriptor} passed in the constructor. 33 * This pull parser generates {@link ILayoutViewInfo}s which key is a {@link ViewElementDescriptor}. 37 private final ViewElementDescriptor mDescriptor; 44 public WidgetPullParser(ViewElementDescriptor descriptor) {
|
LayoutEditorDelegate.java | 34 import com.android.ide.eclipse.adt.internal.editors.layout.descriptors.ViewElementDescriptor; 840 * Creates a new {@link ViewElementDescriptor} for an unknown XML local name [all...] |
ExplodedRenderingHelper.java | 21 import com.android.ide.eclipse.adt.internal.editors.layout.descriptors.ViewElementDescriptor; 72 List<ViewElementDescriptor> layoutDescriptors = descriptors.getLayoutDescriptors(); 73 for (ViewElementDescriptor desc : layoutDescriptors) {
|
LayoutContentAssist.java | 36 import com.android.ide.eclipse.adt.internal.editors.layout.descriptors.ViewElementDescriptor; 142 ViewElementDescriptor descriptor = customViews.getDescriptor(project, fqcn);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gre/ |
PaletteMetadataDescriptor.java | 22 import com.android.ide.eclipse.adt.internal.editors.layout.descriptors.ViewElementDescriptor; 30 * Special version of {@link ViewElementDescriptor} which is initialized by the palette 32 * {@link ViewElementDescriptor} with initial values. 34 public class PaletteMetadataDescriptor extends ViewElementDescriptor { 38 public PaletteMetadataDescriptor(ViewElementDescriptor descriptor, String displayName,
|
ViewMetadataRepository.java | 36 import com.android.ide.eclipse.adt.internal.editors.layout.descriptors.ViewElementDescriptor; 321 public List<Pair<String, List<ViewElementDescriptor>>> getPaletteEntries( 323 List<Pair<String, List<ViewElementDescriptor>>> result = 324 new ArrayList<Pair<String, List<ViewElementDescriptor>>>(); 326 List<List<ViewElementDescriptor>> lists = new ArrayList<List<ViewElementDescriptor>>(2); 331 // First record map of FQCN to ViewElementDescriptor such that we can quickly 333 Map<String, ViewElementDescriptor> fqcnToDescriptor = 334 new HashMap<String, ViewElementDescriptor>(); 335 for (List<ViewElementDescriptor> list : lists) [all...] |
NodeProxy.java | 33 import com.android.ide.eclipse.adt.internal.editors.layout.descriptors.ViewElementDescriptor; 145 if (desc instanceof ViewElementDescriptor) { 146 return ((ViewElementDescriptor) desc).getFullClassName(); 278 ViewElementDescriptor vd = getFqcnViewDescriptor(viewFqcn); 431 if (descriptor instanceof ViewElementDescriptor) { 432 return ((ViewElementDescriptor) descriptor).getAttributeSources(); 475 * Helper methods that returns a {@link ViewElementDescriptor} for the requested FQCN. 480 private ViewElementDescriptor getFqcnViewDescriptor(String fqcn) {
|
RulesEngine.java | 39 import com.android.ide.eclipse.adt.internal.editors.layout.descriptors.ViewElementDescriptor; 606 private ViewElementDescriptor getBaseViewDescriptor() { 678 ViewElementDescriptor targetDesc = null; 681 if (d instanceof ViewElementDescriptor) { 682 targetDesc = (ViewElementDescriptor) d; 684 if (d == null || !(d instanceof ViewElementDescriptor)) { 703 for (ViewElementDescriptor desc = targetDesc; [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/uimodel/ |
UiViewElementNode.java | 36 import com.android.ide.eclipse.adt.internal.editors.layout.descriptors.ViewElementDescriptor; 50 * Specialized version of {@link UiElementNode} for the {@link ViewElementDescriptor}s. 57 public UiViewElementNode(ViewElementDescriptor elementDescriptor) { 98 ViewElementDescriptor desc = 110 ((ViewElementDescriptor) ui_parent.getDescriptor()).getLayoutAttributes();
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/descriptors/ |
DescriptorsUtilsTest.java | 20 import com.android.ide.eclipse.adt.internal.editors.layout.descriptors.ViewElementDescriptor; 189 private static ViewElementDescriptor createDesc(String name, String fqn, boolean hasChildren) { 191 return new ViewElementDescriptor(name, name, fqn, "", "", new AttributeDescriptor[0], 194 return new ViewElementDescriptor(name, fqn);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/ |
AdtProjectTest.java | 30 import com.android.ide.eclipse.adt.internal.editors.layout.descriptors.ViewElementDescriptor; 137 List<ViewElementDescriptor> viewDescriptors = layoutDescriptors.getViewDescriptors(); 140 List<ViewElementDescriptor> layoutParamDescriptors = 401 public static ViewElementDescriptor createDesc(String name, String fqn, boolean hasChildren) { 403 return new ViewElementDescriptor(name, name, fqn, "", "", new AttributeDescriptor[0], 406 return new ViewElementDescriptor(name, fqn); 413 ViewElementDescriptor descriptor = createDesc(name, fqn, hasChildren);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ui/tree/ |
NewItemSelectionDialog.java | 22 import com.android.ide.eclipse.adt.internal.editors.layout.descriptors.ViewElementDescriptor; 113 if (selection.length == 1 && selection[0] instanceof ViewElementDescriptor) { 117 ((ViewElementDescriptor) selection[0]).getFullClassName(), //msg
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/ |
AndroidContentAssistTest.java | 34 import com.android.ide.eclipse.adt.internal.editors.layout.descriptors.ViewElementDescriptor; [all...] |