Home
last modified time | relevance | path

Searched refs:fqcn (Results 1 – 25 of 92) sorted by relevance

1234

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/
DViewTagRule.java35 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()
DFragmentRule.java35 String fqcn = mRulesEngine.displayFragmentSourceInput(); in onCreate() local
36 if (fqcn != null) { in onCreate()
39 fqcn.length() > 0 ? fqcn : null)); in onCreate()
DAdapterViewRule.java47 String fqcn = targetNode.getFqcn(); in onDropEnter() local
48 String name = fqcn.substring(fqcn.lastIndexOf('.') +1); in onDropEnter()
DFrameLayoutRule.java152 String fqcn = element.getFqcn();
154 INode newChild = targetNode.appendChild(fqcn);
182 String fqcn = node.getFqcn();
183 IViewMetadata metadata = mRulesEngine.getMetadata(fqcn);
DGridLayoutRule.java355 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/
DWidgetClassLoader.java59 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 …]
DLayoutParamsParser.java221 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/
DMockNodeProxy.java44 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()
DViewMetadataRepositoryTest.java48 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/
DViewMetadataRepository.java255 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 …]
DClientRulesEngine.java129 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 …]
DRulesEngine.java708 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/
DActivityMenuListener.java58 @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/
DProjectCallback.java264 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/
DCustomViewDescriptorService.java159 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 …]
DViewElementDescriptor.java244 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()
DLayoutDescriptors.java229 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/
DFragmentMenu.java98 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()
DSimpleElement.java64 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/
DAndroidPackageRenameParticipant.java336 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 …]
DRenameResourceXmlTextAction.java322 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/
DLayoutTestBase.java225 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
DTestNode.java73 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/
DWrapInRefactoringTest.java45 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/
DParameter.java367 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()

1234