/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/descriptors/ |
D | 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() { in getLayoutDescriptors() 96 public List<ViewElementDescriptor> getViewDescriptors() { in getViewDescriptors() 109 public ViewElementDescriptor getBaseViewDescriptor() { in getBaseViewDescriptor() [all …]
|
D | CustomViewDescriptorService.java | 97 private HashMap<IProject, HashMap<String, ViewElementDescriptor>> mCustomDescriptorMap = 98 new HashMap<IProject, HashMap<String, ViewElementDescriptor>>(); 122 ViewElementDescriptor descriptor); in updatedClassInfo() 159 public ViewElementDescriptor getDescriptor(IProject project, String fqcn) { in getDescriptor() 162 HashMap<String, ViewElementDescriptor> map = mCustomDescriptorMap.get(project); in getDescriptor() 165 ViewElementDescriptor descriptor = map.get(fqcn); in getDescriptor() 191 ViewElementDescriptor parentDescriptor = createViewDescriptor( in getDescriptor() 212 ViewElementDescriptor descriptor = new CustomViewDescriptor(name, fqcn, in getDescriptor() 222 map = new HashMap<String, ViewElementDescriptor>(); in getDescriptor() 417 private ViewElementDescriptor createViewDescriptor(IType type, IProject project, in createViewDescriptor() [all …]
|
D | ViewElementDescriptor.java | 60 public class ViewElementDescriptor extends ElementDescriptor { class 69 private ViewElementDescriptor mSuperClassDesc; 93 public ViewElementDescriptor(String xml_name, String ui_name, in ViewElementDescriptor() method in ViewElementDescriptor 113 public ViewElementDescriptor(String xml_name, String fullClassName) { in ViewElementDescriptor() method in ViewElementDescriptor 161 public ViewElementDescriptor getSuperClassDesc() { in getSuperClassDesc() 171 public void setSuperClass(ViewElementDescriptor superClassDesc) { in setSuperClass()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/ |
D | 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(); in validatePage() 165 static List<Pair<String, ViewElementDescriptor>> addLayouts(IProject project, in addLayouts() 168 List<Pair<String, ViewElementDescriptor>> classNames = in addLayouts() 169 new ArrayList<Pair<String, ViewElementDescriptor>>(); in addLayouts() 174 classNames.add(Pair.of(RADIO_GROUP, (ViewElementDescriptor) null)); in addLayouts() 177 classNames.add(Pair.<String,ViewElementDescriptor>of(null, null)); in addLayouts() 186 classNames.add(Pair.of(view, (ViewElementDescriptor) null)); in addLayouts() 189 classNames.add(Pair.<String,ViewElementDescriptor>of(null, null)); in addLayouts() [all …]
|
D | ChangeViewWizard.java | 24 import com.android.ide.eclipse.adt.internal.editors.layout.descriptors.ViewElementDescriptor; 155 List<ViewElementDescriptor> descriptors = in getWidgetTypes() 157 for (ViewElementDescriptor d : descriptors) { in getWidgetTypes()
|
D | 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(); in validatePage()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gre/ |
D | NodeFactoryTest.java | 22 import com.android.ide.eclipse.adt.internal.editors.layout.descriptors.ViewElementDescriptor; 48 ViewElementDescriptor ved = new ViewElementDescriptor("xml", "com.example.MyJavaClass"); in testCreateCanvasViewInfo() 71 ViewElementDescriptor ved = new ViewElementDescriptor("xml", "com.example.MyJavaClass"); in testCreateUiViewElementNode() 95 ViewElementDescriptor ved = new ViewElementDescriptor("xml", "com.example.MyJavaClass"); in testCreateDup() 107 ViewElementDescriptor ved = new ViewElementDescriptor("xml", "com.example.MyJavaClass"); in testClear()
|
D | MockNodeProxy.java | 19 import com.android.ide.eclipse.adt.internal.editors.layout.descriptors.ViewElementDescriptor; 63 ViewElementDescriptor desc = new ViewElementDescriptor(xmlName, fqcn); in makeUiViewNode()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gre/ |
D | ViewMetadataRepository.java | 36 import com.android.ide.eclipse.adt.internal.editors.layout.descriptors.ViewElementDescriptor; 321 public List<Pair<String, List<ViewElementDescriptor>>> getPaletteEntries( in getPaletteEntries() 323 List<Pair<String, List<ViewElementDescriptor>>> result = in getPaletteEntries() 324 new ArrayList<Pair<String, List<ViewElementDescriptor>>>(); in getPaletteEntries() 326 List<List<ViewElementDescriptor>> lists = new ArrayList<List<ViewElementDescriptor>>(2); in getPaletteEntries() 333 Map<String, ViewElementDescriptor> fqcnToDescriptor = in getPaletteEntries() 334 new HashMap<String, ViewElementDescriptor>(); in getPaletteEntries() 335 for (List<ViewElementDescriptor> list : lists) { in getPaletteEntries() 336 for (ViewElementDescriptor view : list) { in getPaletteEntries() 346 Set<ViewElementDescriptor> remaining = new HashSet<ViewElementDescriptor>( in getPaletteEntries() [all …]
|
D | PaletteMetadataDescriptor.java | 22 import com.android.ide.eclipse.adt.internal.editors.layout.descriptors.ViewElementDescriptor; 34 public class PaletteMetadataDescriptor extends ViewElementDescriptor { 38 public PaletteMetadataDescriptor(ViewElementDescriptor descriptor, String displayName, in PaletteMetadataDescriptor()
|
D | NodeProxy.java | 33 import com.android.ide.eclipse.adt.internal.editors.layout.descriptors.ViewElementDescriptor; 145 if (desc instanceof ViewElementDescriptor) { in getFqcn() 146 return ((ViewElementDescriptor) desc).getFullClassName(); in getFqcn() 278 ViewElementDescriptor vd = getFqcnViewDescriptor(viewFqcn); in insertOrAppend() 431 if (descriptor instanceof ViewElementDescriptor) { in getAttributeSources() 432 return ((ViewElementDescriptor) descriptor).getAttributeSources(); in getAttributeSources() 480 private ViewElementDescriptor getFqcnViewDescriptor(String fqcn) { in getFqcnViewDescriptor()
|
D | RulesEngine.java | 39 import com.android.ide.eclipse.adt.internal.editors.layout.descriptors.ViewElementDescriptor; 606 private ViewElementDescriptor getBaseViewDescriptor() { in getBaseViewDescriptor() 678 ViewElementDescriptor targetDesc = null; in loadRule() 681 if (d instanceof ViewElementDescriptor) { in loadRule() 682 targetDesc = (ViewElementDescriptor) d; in loadRule() 684 if (d == null || !(d instanceof ViewElementDescriptor)) { in loadRule() 703 for (ViewElementDescriptor desc = targetDesc; in loadRule()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
D | SimpleXmlTransfer.java | 20 import com.android.ide.eclipse.adt.internal.editors.layout.descriptors.ViewElementDescriptor; 91 if (desc instanceof ViewElementDescriptor) { in getFqcn() 92 return ((ViewElementDescriptor) desc).getFullClassName(); in getFqcn()
|
D | PaletteControl.java | 43 import com.android.ide.eclipse.adt.internal.editors.layout.descriptors.ViewElementDescriptor; 448 final Map<String, List<ViewElementDescriptor>> categoryToItems; in reloadPalette() 449 categoryToItems = new HashMap<String, List<ViewElementDescriptor>>(); in reloadPalette() 451 List<Pair<String,List<ViewElementDescriptor>>> paletteEntries = in reloadPalette() 454 for (Pair<String,List<ViewElementDescriptor>> pair : paletteEntries) { in reloadPalette() 456 List<ViewElementDescriptor> categoryItems = pair.getSecond(); in reloadPalette() 486 List<ViewElementDescriptor> list = categoryToItems.get(header); in reloadPalette() 532 List<ViewElementDescriptor> list = categoryToItems.get(header); in reloadPalette() 538 for (ViewElementDescriptor desc : list) { in reloadPalette() 578 ViewElementDescriptor desc = service.getDescriptor(mEditor.getProject(), fqcn); in addCustomItems() [all …]
|
D | ClipboardSupport.java | 28 import com.android.ide.eclipse.adt.internal.editors.layout.descriptors.ViewElementDescriptor; 322 final ViewElementDescriptor viewDesc = delegate.getFqcnViewDescriptor(rootFqcn); in pasteInEmptyDocument() 370 final ViewElementDescriptor childDesc = in pasteInEmptyDocument()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/ |
D | WidgetPullParser.java | 22 import com.android.ide.eclipse.adt.internal.editors.layout.descriptors.ViewElementDescriptor; 37 private final ViewElementDescriptor mDescriptor; 44 public WidgetPullParser(ViewElementDescriptor descriptor) { in WidgetPullParser()
|
D | LayoutEditorDelegate.java | 34 import com.android.ide.eclipse.adt.internal.editors.layout.descriptors.ViewElementDescriptor; 849 private ViewElementDescriptor createUnknownDescriptor(String xmlLocalName) { in createUnknownDescriptor() 850 ViewElementDescriptor desc = null; in createUnknownDescriptor() 876 ViewElementDescriptor viewDesc = in createUnknownDescriptor() 879 desc = new ViewElementDescriptor( in createUnknownDescriptor() 900 desc = new ViewElementDescriptor(xmlLocalName, xmlLocalName); in createUnknownDescriptor() 938 public ViewElementDescriptor getFqcnViewDescriptor(String fqcn) { in getFqcnViewDescriptor() 939 ViewElementDescriptor desc = null; in getFqcnViewDescriptor() 971 private ViewElementDescriptor internalFindFqcnViewDescriptor(String fqcn, in internalFindFqcnViewDescriptor() 984 if (desc instanceof ViewElementDescriptor && in internalFindFqcnViewDescriptor() [all …]
|
D | ExplodedRenderingHelper.java | 21 import com.android.ide.eclipse.adt.internal.editors.layout.descriptors.ViewElementDescriptor; 72 List<ViewElementDescriptor> layoutDescriptors = descriptors.getLayoutDescriptors(); in ExplodedRenderingHelper() 73 for (ViewElementDescriptor desc : layoutDescriptors) { in ExplodedRenderingHelper()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/ |
D | ViewTagRule.java | 24 import com.android.ide.eclipse.adt.internal.editors.layout.descriptors.ViewElementDescriptor; 37 if (!ViewElementDescriptor.viewNeedsPackage(fqcn)) { in onCreate()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/descriptors/ |
D | 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) { in createDesc() 191 return new ViewElementDescriptor(name, name, fqn, "", "", new AttributeDescriptor[0], in createDesc() 194 return new ViewElementDescriptor(name, fqn); in createDesc()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/uimodel/ |
D | UiViewElementNode.java | 36 import com.android.ide.eclipse.adt.internal.editors.layout.descriptors.ViewElementDescriptor; 57 public UiViewElementNode(ViewElementDescriptor elementDescriptor) { in UiViewElementNode() 98 ViewElementDescriptor desc = in getAttributeDescriptors() 110 ((ViewElementDescriptor) ui_parent.getDescriptor()).getLayoutAttributes(); in getAttributeDescriptors()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/ |
D | AdtProjectTest.java | 30 import com.android.ide.eclipse.adt.internal.editors.layout.descriptors.ViewElementDescriptor; 137 List<ViewElementDescriptor> viewDescriptors = layoutDescriptors.getViewDescriptors(); in setUp() 140 List<ViewElementDescriptor> layoutParamDescriptors = in setUp() 401 public static ViewElementDescriptor createDesc(String name, String fqn, boolean hasChildren) { in createDesc() 403 return new ViewElementDescriptor(name, name, fqn, "", "", new AttributeDescriptor[0], in createDesc() 406 return new ViewElementDescriptor(name, fqn); in createDesc() 413 ViewElementDescriptor descriptor = createDesc(name, fqn, hasChildren); in createNode()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ui/tree/ |
D | NewItemSelectionDialog.java | 22 import com.android.ide.eclipse.adt.internal.editors.layout.descriptors.ViewElementDescriptor; 113 if (selection.length == 1 && selection[0] instanceof ViewElementDescriptor) { in NewItemSelectionDialog() 117 ((ViewElementDescriptor) selection[0]).getFullClassName(), //msg in NewItemSelectionDialog()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/ |
D | AndroidContentAssistTest.java | 34 import com.android.ide.eclipse.adt.internal.editors.layout.descriptors.ViewElementDescriptor; 901 if (descriptor instanceof ViewElementDescriptor) { in complete() 902 ViewElementDescriptor vd = (ViewElementDescriptor) descriptor; in complete()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/properties/ |
D | PropertyFactory.java | 29 import com.android.ide.eclipse.adt.internal.editors.layout.descriptors.ViewElementDescriptor; 177 ViewElementDescriptor viewDescriptor = (ViewElementDescriptor) node.getDescriptor(); in getProperties() 275 ViewElementDescriptor parent = (ViewElementDescriptor) properties.get(0).getDescriptor() in sortByOrigin()
|