/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gre/ |
H A D | MockNodeProxy.java | 36 * @param fqcn The fully qualified name of the class to wrap, e.g. "android.view.Button". 44 public MockNodeProxy(String fqcn, Rectangle bounds, NodeFactory factory) { argument 45 super(makeUiViewNode(fqcn), bounds, factory); 52 * @param fqcn The fully qualified name of the class to wrap, e.g. "android.view.Button" 56 private static UiViewElementNode makeUiViewNode(String fqcn) { argument 57 String xmlName = fqcn; 63 ViewElementDescriptor desc = new ViewElementDescriptor(xmlName, fqcn);
|
/sdk/lint/libs/lint_api/src/com/android/tools/lint/client/api/ |
H A D | SdkInfo.java | 61 * @param fqcn the fully qualified class name of the view 65 public abstract String getParentViewClass(@NonNull String fqcn); argument
|
H A D | DefaultSdkInfo.java | 89 public String getParentViewClass(@NonNull String fqcn) { argument 90 int index = fqcn.lastIndexOf('.'); 92 fqcn = fqcn.substring(index + 1); 95 String parent = PARENTS.get(fqcn); 112 // Do analysis just on non-fqcn paths
|
/sdk/lint/libs/lint_checks/src/com/android/tools/lint/checks/ |
H A D | Api.java | 80 ApiClass getClass(String fqcn) { argument 81 return mClasses.get(fqcn);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/ |
H A D | WrapInRefactoringTest.java | 45 private void checkRefactoring(String basename, String fqcn, String... ids) throws Exception { argument 55 refactoring.setType(fqcn);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/ |
H A D | ActivityMenuListener.java | 58 @Nullable String fqcn) { 61 mFqcn = fqcn; 69 String fqcn = configuration.getActivity(); 70 AdtPlugin.openJavaClass(mConfigChooser.getProject(), fqcn); 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_OPEN_ACTIVITY, fqcn)); 55 ActivityMenuListener( @onNull ConfigurationChooser configChooser, int action, @Nullable String fqcn) argument [all...] |
H A D | ConfigurationClient.java | 139 * @param fqcn the fully qualified class name for the associated activity context 141 void setActivity(@NonNull String fqcn); argument
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/descriptors/ |
H A D | ViewElementDescriptor.java | 234 * @param fqcn the fully qualified class name, such as android.widget.Button 238 public static boolean viewNeedsPackage(String fqcn) { argument 239 return !(fqcn.startsWith(ANDROID_WIDGET_PREFIX) 240 || fqcn.startsWith(ANDROID_VIEW_PKG) 241 || fqcn.startsWith(ANDROID_WEBKIT_PKG));
|
H A D | CustomViewDescriptorService.java | 155 * @param fqcn the fully qualified name of the class. 159 public ViewElementDescriptor getDescriptor(IProject project, String fqcn) { argument 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(); 300 ViewClassInfo classInfo = new ViewClassInfo(true, fqcn, className); 427 String fqcn 523 CustomViewDescriptor(String name, String fqcn, AttributeDescriptor[] attributes, AttributeDescriptor[] layoutAttributes, ElementDescriptor[] children, IProject project, Map<ResourceFile, Long> timestamps) argument [all...] |
H A D | LayoutDescriptors.java | 223 String fqcn = info.getFullClassName(); 224 if (ViewElementDescriptor.viewNeedsPackage(fqcn)) { 225 xmlName = fqcn; 255 attributeSources.add(fqcn); 295 fqcn, 519 * @param fqcn the fully qualified class name 522 public ViewElementDescriptor findDescriptorByClass(String fqcn) { argument 523 return mFqcnToDescriptor.get(fqcn);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/descriptors/ |
H A D | DescriptorsUtils.java | 679 * @param fqcn The fully qualified class name to convert 682 public static String getBasename(String fqcn) { argument 683 String name = fqcn;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
H A D | MoveGesture.java | 519 * @param fqcn The fqcn to reduce 520 * @return The base name of the fqcn 522 public static String getSimpleName(String fqcn) { argument 525 // fcqn.substring(0) = fqcn 526 return fqcn.substring(fqcn.lastIndexOf('.') + 1);
|
H A D | 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) { argument 65 mFqcn = fqcn; 238 String fqcn = null; 261 fqcn = value; 290 if (version != null && fqcn != null && fqcn.length() > 0) { 291 e = new SimpleElement(fqcn, parent, bounds, pbounds);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gre/ |
H A D | ClientRulesEngine.java | 122 public ClientRulesEngine(RulesEngine rulesEngine, String fqcn) { argument 124 mFqcn = fqcn; 141 public IViewRule loadRule(@NonNull String fqcn) { argument 142 return mRulesEngine.loadRule(fqcn, fqcn); 197 public @NonNull IViewMetadata getMetadata(final @NonNull String fqcn) { argument 202 return fqcn.substring(fqcn.lastIndexOf('.') + 1); 207 return ViewMetadataRepository.get().getFillPreference(fqcn); 212 return mRulesEngine.getEditor().getCanvasControl().getInsets(fqcn); 584 getUniqueId(@onNull String fqcn) argument [all...] |
H A D | NodeProxy.java | 480 private ViewElementDescriptor getFqcnViewDescriptor(String fqcn) { argument 483 return delegate.getFqcnViewDescriptor(fqcn);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/sdk/ |
H A D | WidgetClassLoader.java | 59 ClassDescriptor(String fqcn) { argument 60 mFqcn = fqcn; 61 mSimpleName = getSimpleName(fqcn); 131 private String getSimpleName(String fqcn) { argument 132 String[] segments = fqcn.split("\\."); 239 String fqcn = classes[index]; 241 if ("java.lang.Object".equals(fqcn)) { //$NON-NLS-1$ 246 if (mMap.containsKey(fqcn)) { 247 return mMap.get(fqcn); 251 ClassDescriptor clazz = new ClassDescriptor(fqcn); 293 getEnclosedName(String fqcn) argument [all...] |
/sdk/lint/libs/lint_api/src/com/android/tools/lint/detector/api/ |
H A D | ClassContext.java | 560 private static boolean isAnonymousClass(@NonNull String fqcn) { argument 561 int lastIndex = fqcn.lastIndexOf('$'); 562 if (lastIndex != -1 && lastIndex < fqcn.length() - 1) { 563 if (Character.isDigit(fqcn.charAt(lastIndex + 1))) { 641 * @param fqcn the fully qualified class name 645 public static String getInternalName(@NonNull String fqcn) { argument 646 String[] parts = fqcn.split("\\."); //$NON-NLS-1$
|
/sdk/rule_api/src/com/android/ide/common/api/ |
H A D | AbstractViewRule.java | 35 public boolean onInitialize(@NonNull String fqcn, @NonNull IClientRulesEngine engine) { argument
|
H A D | IClientRulesEngine.java | 66 * @param fqcn A non-null, non-empty FQCN for the rule to load. 72 IViewRule loadRule(@NonNull String fqcn); argument 81 * @param fqcn a fully qualified class name for an Android view class 85 IViewMetadata getMetadata(@NonNull String fqcn); argument 288 * @param fqcn The fully qualified class name of the view to generate a unique id for 293 public String getUniqueId(@NonNull String fqcn); argument
|
H A D | IViewRule.java | 50 * @param fqcn The fully qualified class name of the Layout or View that will be managed by 52 * instance. This may or may not match the script's filename as it may be the fqcn of a 60 boolean onInitialize(@NonNull String fqcn, @NonNull IClientRulesEngine engine); argument 72 * The class name is the <code>fqcn</code> argument that was given
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/ |
H A D | 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) { argument 411 String name = fqcn.substring(fqcn.lastIndexOf('.') + 1); 561 String fqcn = element.getFqcn(); 562 INode childNode = newNode.appendChild(fqcn); 593 String fqcn [all...] |
H A D | BaseViewRule.java | 97 public boolean onInitialize(@NonNull String fqcn, @NonNull IClientRulesEngine engine) { argument
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/ |
H A D | ProjectCallback.java | 237 private String getShortClassName(String fqcn) { argument 240 if (fqcn.startsWith("android.")) { //$NON-NLS-1$ 242 int first = fqcn.indexOf('.'); 243 int last = fqcn.lastIndexOf('.'); 245 return fqcn.substring(0, first) + ".." + fqcn.substring(last); //$NON-NLS-1$ 250 int first = fqcn.indexOf('.'); 251 first = fqcn.indexOf('.', first + 1); 252 int last = fqcn.lastIndexOf('.'); 254 return fqcn [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/ |
H A D | LayoutTestBase.java | 225 public @NonNull IViewMetadata getMetadata(final @NonNull String fqcn) { argument 230 return fqcn.substring(fqcn.lastIndexOf('.') + 1); 235 return ViewMetadataRepository.get().getFillPreference(fqcn); 245 return ViewMetadataRepository.get().getTopAttributes(fqcn); 256 public IViewRule loadRule(@NonNull String fqcn) { argument
|
H A D | TestNode.java | 74 public TestNode(String fqcn) { argument 75 this.mFqcn = fqcn; 296 String fqcn = ANDROID_WIDGET_PREFIX + element.getTagName(); 297 TestNode node = new TestXmlNode(fqcn, element); 328 private static String getTagName(String fqcn) { argument 329 return fqcn.substring(fqcn.lastIndexOf('.') + 1); 335 public TestXmlNode(String fqcn, Element element) { argument 336 super(fqcn);
|