/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/ |
D | ViewTagRule.java | 35 String fqcn = mRulesEngine.displayCustomViewClassInput(); in onCreate() local 36 if (fqcn != null) { in onCreate() 37 if (!ViewElementDescriptor.viewNeedsPackage(fqcn)) { in onCreate() 38 fqcn = fqcn.substring(fqcn.lastIndexOf('.') + 1); in onCreate() 42 fqcn.length() > 0 ? fqcn : null)); in onCreate()
|
D | FragmentRule.java | 35 String fqcn = mRulesEngine.displayFragmentSourceInput(); in onCreate() local 36 if (fqcn != null) { in onCreate() 39 fqcn.length() > 0 ? fqcn : null)); in onCreate()
|
D | AdapterViewRule.java | 47 String fqcn = targetNode.getFqcn(); in onDropEnter() local 48 String name = fqcn.substring(fqcn.lastIndexOf('.') +1); in onDropEnter()
|
D | FrameLayoutRule.java | 152 String fqcn = element.getFqcn(); 154 INode newChild = targetNode.appendChild(fqcn); 182 String fqcn = node.getFqcn(); 183 IViewMetadata metadata = mRulesEngine.getMetadata(fqcn);
|
D | GridLayoutRule.java | 355 String fqcn = node.getFqcn(); in onChildInserted() local 356 IViewMetadata metadata = mRulesEngine.getMetadata(fqcn); in onChildInserted() 374 String fqcn = layout.getFqcn(); in getNamespace() local 375 if (!fqcn.equals(GRID_LAYOUT) && !fqcn.equals(FQCN_GRID_LAYOUT)) { in getNamespace() 656 String fqcn = element.getFqcn(); in onPaste() local 657 INode newChild = targetNode.appendChild(fqcn); in onPaste()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/sdk/ |
D | WidgetClassLoader.java | 59 ClassDescriptor(String fqcn) { in ClassDescriptor() argument 60 mFqcn = fqcn; in ClassDescriptor() 61 mSimpleName = getSimpleName(fqcn); in ClassDescriptor() 131 private String getSimpleName(String fqcn) { in getSimpleName() argument 132 String[] segments = fqcn.split("\\."); in getSimpleName() 239 String fqcn = classes[index]; in processClass() local 241 if ("java.lang.Object".equals(fqcn)) { //$NON-NLS-1$ in processClass() 246 if (mMap.containsKey(fqcn)) { in processClass() 247 return mMap.get(fqcn); in processClass() 251 ClassDescriptor clazz = new ClassDescriptor(fqcn); in processClass() [all …]
|
D | LayoutParamsParser.java | 221 String fqcn = viewClass.getFullClassName(); in addView() local 222 if (mViewMap.containsKey(fqcn)) { in addView() 223 return mViewMap.get(fqcn); in addView() 224 } else if (mGroupMap.containsKey(fqcn)) { in addView() 225 return mGroupMap.get(fqcn); in addView() 229 false /* layout */, fqcn, viewClass.getSimpleName()); in addView() 230 mViewMap.put(fqcn, info); in addView() 249 String fqcn = groupClass.getFullClassName(); in addGroup() local 250 if (mGroupMap.containsKey(fqcn)) { in addGroup() 251 return mGroupMap.get(fqcn); in addGroup() [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gre/ |
D | MockNodeProxy.java | 44 public MockNodeProxy(String fqcn, Rectangle bounds, NodeFactory factory) { in MockNodeProxy() argument 45 super(makeUiViewNode(fqcn), bounds, factory); in MockNodeProxy() 56 private static UiViewElementNode makeUiViewNode(String fqcn) { in makeUiViewNode() argument 57 String xmlName = fqcn; in makeUiViewNode() 63 ViewElementDescriptor desc = new ViewElementDescriptor(xmlName, fqcn); in makeUiViewNode()
|
D | ViewMetadataRepositoryTest.java | 48 for (String fqcn : repository.getAllFqcns()) { in testRelatedTo() 49 repository.getRelatedTo(fqcn); in testRelatedTo()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gre/ |
D | ViewMetadataRepository.java | 255 String fqcn = child.getAttribute("class"); //$NON-NLS-1$ in createViewData() local 256 if (fqcn.length() == 0) { in createViewData() 257 fqcn = defaultFqcn; in createViewData() 281 ViewData view = new ViewData(fqcn, displayName, fillPreference, in createViewData() 302 fqcn, fillPreference, renderMode, resize); in createViewData() 337 String fqcn = view.getFullClassName(); in getPaletteEntries() local 338 if (fqcn == null) { in getPaletteEntries() 340 fqcn = view.getUiName(); in getPaletteEntries() 342 fqcnToDescriptor.put(fqcn, view); in getPaletteEntries() 360 String fqcn = view.getFcqn(); in getPaletteEntries() local [all …]
|
D | ClientRulesEngine.java | 129 public ClientRulesEngine(RulesEngine rulesEngine, String fqcn) { in ClientRulesEngine() argument 131 mFqcn = fqcn; in ClientRulesEngine() 148 public IViewRule loadRule(@NonNull String fqcn) { in loadRule() argument 149 return mRulesEngine.loadRule(fqcn, fqcn); in loadRule() 233 public @NonNull IViewMetadata getMetadata(final @NonNull String fqcn) { in getMetadata() argument 238 return fqcn.substring(fqcn.lastIndexOf('.') + 1); in getMetadata() 243 return ViewMetadataRepository.get().getFillPreference(fqcn); in getMetadata() 248 return mRulesEngine.getEditor().getCanvasControl().getInsets(fqcn); in getMetadata() 253 return ViewMetadataRepository.get().getTopAttributes(fqcn); in getMetadata() 498 String fqcn = createNewFragmentClass(javaProject); [all …]
|
D | RulesEngine.java | 708 String fqcn = desc.getFullClassName(); in loadRule() local 709 if (fqcn == null) { in loadRule() 718 targetFqcn = fqcn; in loadRule() 721 if (fqcn.indexOf('.') == -1) { in loadRule() 725 fqcn = ANDROID_WIDGET_PREFIX + fqcn; in loadRule() 730 rule = loadRule(fqcn, targetFqcn); in loadRule()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/ |
D | ActivityMenuListener.java | 58 @Nullable String fqcn) { in ActivityMenuListener() argument 61 mFqcn = fqcn; in ActivityMenuListener() 69 String fqcn = configuration.getActivity(); in widgetSelected() local 70 AdtPlugin.openJavaClass(mConfigChooser.getProject(), fqcn); in widgetSelected() local 117 for (String fqcn : activities) { in show() 118 if (!remove.contains(fqcn)) { in show() 119 filtered.add(fqcn); in show() 143 for (final String fqcn : activities) { in addActivities() 144 String title = ConfigurationChooser.getActivityLabel(fqcn, false); in addActivities() 157 ACTION_SELECT_ACTIVITY, fqcn)); in addActivities()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/ |
D | ProjectCallback.java | 264 private String getShortClassName(String fqcn) { in getShortClassName() argument 267 if (fqcn.startsWith("android.")) { //$NON-NLS-1$ in getShortClassName() 269 int first = fqcn.indexOf('.'); in getShortClassName() 270 int last = fqcn.lastIndexOf('.'); in getShortClassName() 272 return fqcn.substring(0, first) + ".." + fqcn.substring(last); //$NON-NLS-1$ in getShortClassName() 277 int first = fqcn.indexOf('.'); in getShortClassName() 278 first = fqcn.indexOf('.', first + 1); in getShortClassName() 279 int last = fqcn.lastIndexOf('.'); in getShortClassName() 281 return fqcn.substring(0, first) + ".." + fqcn.substring(last); //$NON-NLS-1$ in getShortClassName() 285 return fqcn; in getShortClassName() [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/descriptors/ |
D | CustomViewDescriptorService.java | 159 public ViewElementDescriptor getDescriptor(IProject project, String fqcn) { in getDescriptor() argument 165 ViewElementDescriptor descriptor = map.get(fqcn); in getDescriptor() 180 String javaClassName = fqcn.replaceAll("\\$", "\\."); //$NON-NLS-1$ //$NON-NLS-2$ in getDescriptor() 211 String name = DescriptorsUtils.getBasename(fqcn); in getDescriptor() 212 ViewElementDescriptor descriptor = new CustomViewDescriptor(name, fqcn, in getDescriptor() 226 map.put(fqcn, descriptor); in getDescriptor() 297 String fqcn = type.getFullyQualifiedName(); in findCustomDescriptors() local 300 ViewClassInfo classInfo = new ViewClassInfo(true, fqcn, className); in findCustomDescriptors() 427 String fqcn = type.getFullyQualifiedName(); in createViewDescriptor() local 436 ViewElementDescriptor d = descriptors.findDescriptorByClass(fqcn); in createViewDescriptor() [all …]
|
D | ViewElementDescriptor.java | 244 public static boolean viewNeedsPackage(String fqcn) { in viewNeedsPackage() argument 245 return !(fqcn.startsWith(ANDROID_WIDGET_PREFIX) in viewNeedsPackage() 246 || fqcn.startsWith(ANDROID_VIEW_PKG) in viewNeedsPackage() 247 || fqcn.startsWith(ANDROID_WEBKIT_PKG)); in viewNeedsPackage()
|
D | LayoutDescriptors.java | 229 String fqcn = info.getFullClassName(); in convertView() local 230 if (ViewElementDescriptor.viewNeedsPackage(fqcn)) { in convertView() 231 xmlName = fqcn; in convertView() 261 attributeSources.add(fqcn); in convertView() 301 fqcn, in convertView() 564 public ViewElementDescriptor findDescriptorByClass(String fqcn) { in findDescriptorByClass() argument 565 return mFqcnToDescriptor.get(fqcn); in findDescriptorByClass()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
D | FragmentMenu.java | 98 String fqcn = getFragmentClass(element); in addMenuItems() local 99 if (fqcn != null) { in addMenuItems() 107 IType type = javaProject.findType(fqcn); in addMenuItems() 187 String fqcn = element.getAttribute(ATTR_CLASS); in getFragmentClass() local 188 if (fqcn == null || fqcn.length() == 0) { in getFragmentClass() 189 fqcn = element.getAttributeNS(ANDROID_URI, ATTR_NAME); in getFragmentClass() 191 if (fqcn != null && fqcn.length() > 0) { in getFragmentClass() 192 return fqcn; in getFragmentClass()
|
D | SimpleElement.java | 64 public SimpleElement(String fqcn, String parentFqcn, Rect bounds, Rect parentBounds) { in SimpleElement() argument 65 mFqcn = fqcn; in SimpleElement() 238 String fqcn = null; in parseLines() local 261 fqcn = value; in parseLines() 290 if (version != null && fqcn != null && fqcn.length() > 0) { in parseLines() 291 e = new SimpleElement(fqcn, parent, bounds, pbounds); in parseLines()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/core/ |
D | AndroidPackageRenameParticipant.java | 336 private String getNewClassName(String fqcn) { 337 assert isInRenamedPackage(fqcn) : fqcn; 338 int lastDot = fqcn.lastIndexOf('.'); 342 String name = fqcn.substring(lastDot, fqcn.length()); 432 private boolean isInRenamedPackage(String fqcn) { 433 return fqcn.startsWith(mOldPackage) 434 && fqcn.length() > mOldPackage.length() 435 && fqcn.indexOf('.', mOldPackage.length() + 1) == -1; 465 String fqcn = classNode.getValue(); 466 if (isInRenamedPackage(fqcn)) { [all …]
|
D | RenameResourceXmlTextAction.java | 322 String fqcn = document.get(start, end - start); in findClassName() local 323 int dot = fqcn.indexOf('.'); in findClassName() 330 return info.getPackage() + fqcn; in findClassName() 335 return fqcn; in findClassName()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/ |
D | LayoutTestBase.java | 225 public @NonNull IViewMetadata getMetadata(final @NonNull String fqcn) { in getMetadata() argument 230 return fqcn.substring(fqcn.lastIndexOf('.') + 1); in getMetadata() 235 return ViewMetadataRepository.get().getFillPreference(fqcn); in getMetadata() 245 return ViewMetadataRepository.get().getTopAttributes(fqcn); in getMetadata() 256 public IViewRule loadRule(@NonNull String fqcn) { in loadRule() argument
|
D | TestNode.java | 73 public TestNode(String fqcn) { in TestNode() argument 74 this.mFqcn = fqcn; in TestNode() 295 String fqcn = ANDROID_WIDGET_PREFIX + element.getTagName(); in createFromNode() local 296 TestNode node = new TestXmlNode(fqcn, element); in createFromNode() 327 private static String getTagName(String fqcn) { in getTagName() argument 328 return fqcn.substring(fqcn.lastIndexOf('.') + 1); in getTagName() 334 public TestXmlNode(String fqcn, Element element) { in TestXmlNode() argument 335 super(fqcn); in TestXmlNode()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/ |
D | WrapInRefactoringTest.java | 45 private void checkRefactoring(String basename, String fqcn, String... ids) throws Exception { in checkRefactoring() argument 55 refactoring.setType(fqcn); in checkRefactoring()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/ |
D | Parameter.java | 367 String fqcn = newText; in getValidator() 368 if (fqcn.indexOf('.') == -1) { in getValidator() 377 fqcn = pkg.isEmpty() ? newText : pkg + '.' + newText; in getValidator() 380 IType t = p.findType(fqcn); in getValidator()
|