/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/ |
FragmentRule.java | 35 String fqcn = mRulesEngine.displayFragmentSourceInput(); local 36 if (fqcn != null) { 39 fqcn.length() > 0 ? fqcn : null));
|
ViewTagRule.java | 35 String fqcn = mRulesEngine.displayCustomViewClassInput(); local 36 if (fqcn != null) { 37 if (!ViewElementDescriptor.viewNeedsPackage(fqcn)) { 38 fqcn = fqcn.substring(fqcn.lastIndexOf('.') + 1); 42 fqcn.length() > 0 ? fqcn : null));
|
AdapterViewRule.java | 47 String fqcn = targetNode.getFqcn(); local 48 String name = fqcn.substring(fqcn.lastIndexOf('.') +1);
|
BaseLayoutRule.java | 330 * old-id => tuple (String new-id, String fqcn) where fqcn is the FQCN of 347 * Fills idMap with a map String id => tuple (String id, String fqcn) where 348 * fqcn is the FQCN of the element (in case we want to generate new IDs 408 protected static String findNewId(String fqcn, Set<String> existingIdSet) { 409 // Get the last component of the FQCN (e.g. "android.view.Button" => 411 String name = fqcn.substring(fqcn.lastIndexOf('.') + 1) 561 String fqcn = element.getFqcn(); local [all...] |
GridLayoutRule.java | 355 String fqcn = node.getFqcn(); local 356 IViewMetadata metadata = mRulesEngine.getMetadata(fqcn); 374 String fqcn = layout.getFqcn(); local 375 if (!fqcn.equals(GRID_LAYOUT) && !fqcn.equals(FQCN_GRID_LAYOUT)) { 656 String fqcn = element.getFqcn(); local 657 INode newChild = targetNode.appendChild(fqcn);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/ |
ActivityMenuListener.java | 58 @Nullable String fqcn) { 61 mFqcn = fqcn; 69 String fqcn = configuration.getActivity(); local 70 AdtPlugin.openJavaClass(mConfigChooser.getProject(), fqcn); local 117 for (String fqcn : activities) { 118 if (!remove.contains(fqcn)) { 119 filtered.add(fqcn); 143 for (final String fqcn : activities) { 144 String title = ConfigurationChooser.getActivityLabel(fqcn, false); 157 ACTION_SELECT_ACTIVITY, fqcn)); [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
FragmentMenu.java | 98 String fqcn = getFragmentClass(element); local 99 if (fqcn != null) { 107 IType type = javaProject.findType(fqcn); 187 String fqcn = element.getAttribute(ATTR_CLASS); local 188 if (fqcn == null || fqcn.length() == 0) { 189 fqcn = element.getAttributeNS(ANDROID_URI, ATTR_NAME); 191 if (fqcn != null && fqcn.length() > 0) { 192 return fqcn; [all...] |
SimpleElement.java | 56 * @param fqcn A fully qualified class name of a View to inflate, e.g. 64 public SimpleElement(String fqcn, String parentFqcn, Rect bounds, Rect parentBounds) { 65 mFqcn = fqcn; 238 String fqcn = null; local 261 fqcn = value; 290 if (version != null && fqcn != null && fqcn.length() > 0) { 291 e = new SimpleElement(fqcn, parent, bounds, pbounds);
|
CanvasViewInfo.java | 515 String fqcn = SimpleXmlTransfer.getFqcn(uiNode.getDescriptor()); local 528 SimpleElement e = new SimpleElement(fqcn, parentFqcn, bounds, parentBounds); [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/core/ |
RenameResourceXmlTextAction.java | 323 String fqcn = document.get(start, end - start); local 324 int dot = fqcn.indexOf('.'); 331 return info.getPackage() + fqcn; 336 return fqcn;
|
AndroidTypeMoveParticipant.java | 343 String fqcn = mAppPackage + value; local 344 if (fqcn.equals(mOldFqcn)) {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/sdk/ |
LayoutParamsParser.java | 89 /** Output map of FQCN => info on View classes */ 91 /** Output map of FQCN => info on ViewGroup classes */ 93 /** Output map of FQCN => info on LayoutParams classes */ 113 /** Returns the map of FQCN => info on View classes */ 118 /** Returns the map of FQCN => info on ViewGroup classes */ 129 * Note on Vocabulary: FQCN=Fully Qualified Class Name (e.g. "my.package.class$innerClass") 221 String fqcn = viewClass.getFullClassName(); local 222 if (mViewMap.containsKey(fqcn)) { 223 return mViewMap.get(fqcn); 224 } else if (mGroupMap.containsKey(fqcn)) { 249 String fqcn = groupClass.getFullClassName(); local 317 String fqcn = layoutParamsClass.getFullClassName(); local [all...] |
WidgetClassLoader.java | 59 ClassDescriptor(String fqcn) { 60 mFqcn = fqcn; 61 mSimpleName = getSimpleName(fqcn); 131 private String getSimpleName(String fqcn) { 132 String[] segments = fqcn.split("\\."); 139 /** Output map of FQCN => descriptor on all classes */ 141 /** Output map of FQCN => descriptor on View classes */ 143 /** Output map of FQCN => descriptor on ViewGroup classes */ 145 /** Output map of FQCN => descriptor on LayoutParams classes */ 239 String fqcn = classes[index] local 274 String fqcn = param.getFullClassName(); local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/descriptors/ |
LayoutDescriptors.java | 229 String fqcn = info.getFullClassName(); local 230 if (ViewElementDescriptor.viewNeedsPackage(fqcn)) { 231 xmlName = fqcn; 261 attributeSources.add(fqcn); 301 fqcn, 561 * @param fqcn the fully qualified class name 564 public ViewElementDescriptor findDescriptorByClass(String fqcn) { 565 return mFqcnToDescriptor.get(fqcn);
|
CustomViewDescriptorService.java | 155 * @param fqcn the fully qualified name of the class. 159 public ViewElementDescriptor getDescriptor(IProject project, String fqcn) { 165 ViewElementDescriptor descriptor = map.get(fqcn); 180 String javaClassName = fqcn.replaceAll("\\$", "\\."); //$NON-NLS-1$ //$NON-NLS-2$ 211 String name = DescriptorsUtils.getBasename(fqcn); 212 ViewElementDescriptor descriptor = new CustomViewDescriptor(name, fqcn, 226 map.put(fqcn, descriptor); 297 String fqcn = type.getFullyQualifiedName(); local 300 ViewClassInfo classInfo = new ViewClassInfo(true, fqcn, className); 427 String fqcn = type.getFullyQualifiedName() local 585 String fqcn = getFullClassName(); local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/grid/ |
GridDropHandler.java | 471 String fqcn = element.getFqcn(); local 621 IViewMetadata metadata = mRule.getRulesEngine().getMetadata(fqcn); 686 newChild = targetNode.appendChild(fqcn); 690 newChild = targetNode.insertChildAt(fqcn, index); 767 String fqcn = element.getFqcn(); local [all...] |
GridModel.java | 364 String fqcn = layout.getFqcn(); local 365 if (!fqcn.equals(GRID_LAYOUT) && !fqcn.equals(FQCN_GRID_LAYOUT)) { 1956 String fqcn = child.getFqcn(); local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/ |
ProjectCallback.java | 248 private String getShortClassName(String fqcn) { 251 if (fqcn.startsWith("android.")) { //$NON-NLS-1$ 253 int first = fqcn.indexOf('.'); 254 int last = fqcn.lastIndexOf('.'); 256 return fqcn.substring(0, first) + ".." + fqcn.substring(last); //$NON-NLS-1$ 261 int first = fqcn.indexOf('.'); 262 first = fqcn.indexOf('.', first + 1); 263 int last = fqcn.lastIndexOf('.'); 265 return fqcn.substring(0, first) + ".." + fqcn.substring(last); //$NON-NLS-1 530 String fqcn = clz.getName(); local 558 String fqcn = viewObject.getClass().getName(); local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gre/ |
RulesEngine.java | 136 // try to find a rule for this element's FQCN 162 // try to find a rule for this element's FQCN 190 // try to find a rule for this element's FQCN 221 // try to find a rule for this element's FQCN 247 // try to find a rule for this element's FQCN 266 // try to find a rule for this element's FQCN 289 // try to find a rule for this element's FQCN 315 // try to find a rule for this element's FQCN 338 // try to find a rule for this element's FQCN 361 // try to find a rule for this element's FQCN 708 String fqcn = desc.getFullClassName(); local [all...] |
ViewMetadataRepository.java | 154 * @param element the element to look up the fqcn for 155 * @return the fqcn of the view the element represents a preview for 255 String fqcn = child.getAttribute("class"); //$NON-NLS-1$ local 256 if (fqcn.length() == 0) { 257 fqcn = defaultFqcn; 281 ViewData view = new ViewData(fqcn, displayName, fillPreference, 302 fqcn, fillPreference, renderMode, resize); 331 // First record map of FQCN to ViewElementDescriptor such that we can quickly 337 String fqcn = view.getFullClassName(); local 338 if (fqcn == null) 360 String fqcn = view.getFcqn(); local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/ |
RefactoringTest.java | 199 String fqcn = ANDROID_WIDGET_PREFIX + element.getTagName(); local 201 UiViewElementNode node = createNode(parent, fqcn, hasChildren); 244 //String fqcn = matcher.group(2);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/ |
TestNode.java | 73 public TestNode(String fqcn) { 74 this.mFqcn = fqcn; 295 String fqcn = ANDROID_WIDGET_PREFIX + element.getTagName(); local 296 TestNode node = new TestXmlNode(fqcn, element); 327 private static String getTagName(String fqcn) { 328 return fqcn.substring(fqcn.lastIndexOf('.') + 1); 334 public TestXmlNode(String fqcn, Element element) { 335 super(fqcn);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/properties/ |
PropertyFactory.java | 178 String fqcn = viewDescriptor.getFullClassName(); local 179 Set<String> top = new HashSet<String>(repository.getTopAttributes(fqcn)); 229 if (attributeInfo != null && fqcn.equals(attributeInfo.getDefinedBy())) { [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/ |
GridLayoutConverter.java | 431 String fqcn = viewDescriptor.getFullClassName(); local 432 FillPreference fill = ViewMetadataRepository.get().getFillPreference(fqcn); [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ |
Hyperlinks.java | 187 /** Regular expression matching a FQCN for a view class */ 287 String fqcn = getActivityClassFqcn(context); local 288 return AdtPlugin.openJavaClass(project, fqcn); 290 String fqcn = getServiceClassFqcn(context); local 291 return AdtPlugin.openJavaClass(project, fqcn); 377 /** Returns the FQCN for a class declaration at the given context */ [all...] |