Home
last modified time | relevance | path

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

1234

/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/common/layout/
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);
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gre/
DViewMetadataRepository.java250 String fqcn = child.getAttribute("class"); //$NON-NLS-1$ in createViewData() local
251 if (fqcn.length() == 0) { in createViewData()
252 fqcn = defaultFqcn; in createViewData()
276 ViewData view = new ViewData(fqcn, displayName, fillPreference, in createViewData()
297 fqcn, fillPreference, renderMode, resize); in createViewData()
332 String fqcn = view.getFullClassName(); in getPaletteEntries() local
333 if (fqcn == null) { in getPaletteEntries()
335 fqcn = view.getUiName(); in getPaletteEntries()
337 fqcnToDescriptor.put(fqcn, view); in getPaletteEntries()
355 String fqcn = view.getFcqn(); in getPaletteEntries() local
[all …]
DClientRulesEngine.java122 public ClientRulesEngine(RulesEngine rulesEngine, String fqcn) { in ClientRulesEngine() argument
124 mFqcn = fqcn; in ClientRulesEngine()
141 public IViewRule loadRule(@NonNull String fqcn) { in loadRule() argument
142 return mRulesEngine.loadRule(fqcn, fqcn); in loadRule()
197 public @NonNull IViewMetadata getMetadata(final @NonNull String fqcn) { in getMetadata() argument
202 return fqcn.substring(fqcn.lastIndexOf('.') + 1); in getMetadata()
207 return ViewMetadataRepository.get().getFillPreference(fqcn); in getMetadata()
212 return mRulesEngine.getEditor().getCanvasControl().getInsets(fqcn); in getMetadata()
217 return ViewMetadataRepository.get().getTopAttributes(fqcn); in getMetadata()
462 String fqcn = createNewFragmentClass(javaProject);
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/
DProjectCallback.java237 private String getShortClassName(String fqcn) { in getShortClassName() argument
240 if (fqcn.startsWith("android.")) { //$NON-NLS-1$ in getShortClassName()
242 int first = fqcn.indexOf('.'); in getShortClassName()
243 int last = fqcn.lastIndexOf('.'); in getShortClassName()
245 return fqcn.substring(0, first) + ".." + fqcn.substring(last); //$NON-NLS-1$ in getShortClassName()
250 int first = fqcn.indexOf('.'); in getShortClassName()
251 first = fqcn.indexOf('.', first + 1); in getShortClassName()
252 int last = fqcn.lastIndexOf('.'); in getShortClassName()
254 return fqcn.substring(0, first) + ".." + fqcn.substring(last); //$NON-NLS-1$ in getShortClassName()
258 return fqcn; in getShortClassName()
[all …]
/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_OPEN_ACTIVITY, fqcn)); in addActivities()
/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.java238 public static boolean viewNeedsPackage(String fqcn) { in viewNeedsPackage() argument
239 return !(fqcn.startsWith(ANDROID_WIDGET_PREFIX) in viewNeedsPackage()
240 || fqcn.startsWith(ANDROID_VIEW_PKG) in viewNeedsPackage()
241 || fqcn.startsWith(ANDROID_WEBKIT_PKG)); in viewNeedsPackage()
DLayoutDescriptors.java223 String fqcn = info.getFullClassName(); in convertView() local
224 if (ViewElementDescriptor.viewNeedsPackage(fqcn)) { in convertView()
225 xmlName = fqcn; in convertView()
255 attributeSources.add(fqcn); in convertView()
295 fqcn, in convertView()
522 public ViewElementDescriptor findDescriptorByClass(String fqcn) { in findDescriptorByClass() argument
523 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.java104 String fqcn = getFragmentClass(element); in addMenuItems() local
105 if (fqcn != null) { in addMenuItems()
113 IType type = javaProject.findType(fqcn); in addMenuItems()
193 String fqcn = element.getAttribute(ATTR_CLASS); in getFragmentClass() local
194 if (fqcn == null || fqcn.length() == 0) { in getFragmentClass()
195 fqcn = element.getAttributeNS(ANDROID_URI, ATTR_NAME); in getFragmentClass()
197 if (fqcn != null && fqcn.length() > 0) { in getFragmentClass()
198 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/lint/libs/lint_checks/src/com/android/tools/lint/checks/
DMissingClassDetector.java154 String fqcn; in visitElement() local
156 fqcn = pkg + className; in visitElement()
162 fqcn = pkg + '.' + className; in visitElement()
164 fqcn = className; in visitElement()
167 String signature = ClassContext.getInternalName(fqcn); in visitElement()
219 String fqcn = ClassContext.getFqcn(owner); in afterCheckProject() local
221 String signature = ClassContext.getInternalName(fqcn); in afterCheckProject()
236 "project or the libraries", fqcn); in afterCheckProject()
DApiDetector.java301 String fqcn = ClassContext.getFqcn(className); in checkClass() local
304 api, minSdk, fqcn); in checkClass()
325 String fqcn = ClassContext.getFqcn(type); in checkClass() local
328 api, minSdk, fqcn); in checkClass()
364 String fqcn; in checkClass() local
366 fqcn = "new " + ClassContext.getFqcn(owner); //$NON-NLS-1$ in checkClass()
368 fqcn = ClassContext.getFqcn(owner) + '#' + name; in checkClass()
372 api, minSdk, fqcn); in checkClass()
412 String fqcn = ClassContext.getFqcn(owner) + '#' + name; in checkClass() local
415 api, minSdk, fqcn); in checkClass()
[all …]
DApi.java80 ApiClass getClass(String fqcn) { in getClass() argument
81 return mClasses.get(fqcn); in getClass()
/sdk/rule_api/src/com/android/ide/common/api/
DIClientRulesEngine.java72 IViewRule loadRule(@NonNull String fqcn); in loadRule() argument
85 IViewMetadata getMetadata(@NonNull String fqcn); in getMetadata() argument
293 public String getUniqueId(@NonNull String fqcn); in getUniqueId() argument
/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.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.java74 public TestNode(String fqcn) { in TestNode() argument
75 this.mFqcn = fqcn; in TestNode()
296 String fqcn = ANDROID_WIDGET_PREFIX + element.getTagName(); in createFromNode() local
297 TestNode node = new TestXmlNode(fqcn, element); in createFromNode()
328 private static String getTagName(String fqcn) { in getTagName() argument
329 return fqcn.substring(fqcn.lastIndexOf('.') + 1); in getTagName()
335 public TestXmlNode(String fqcn, Element element) { in TestXmlNode() argument
336 super(fqcn); in TestXmlNode()
/sdk/lint/libs/lint_api/src/com/android/tools/lint/client/api/
DDefaultSdkInfo.java89 public String getParentViewClass(@NonNull String fqcn) { in getParentViewClass() argument
90 int index = fqcn.lastIndexOf('.'); in getParentViewClass()
92 fqcn = fqcn.substring(index + 1); in getParentViewClass()
95 String parent = PARENTS.get(fqcn); in getParentViewClass()
DSdkInfo.java65 public abstract String getParentViewClass(@NonNull String fqcn); in getParentViewClass() argument

1234