/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/sdk/ |
D | AndroidJarLoader.java | 175 String className = entryPathToClassName(entryPath); in preLoadClasses() local 177 if (!mEntryCache.containsKey(className)) { in preLoadClasses() 183 mEntryCache.put(className, data); in preLoadClasses() 189 progress.subTask(String.format("Preload %1$s", className)); in preLoadClasses() 221 for (String className : superClasses) { in findClassesDerivingFrom() 222 mClassesFound.put(className, new ArrayList<IClassDescriptor>()); in findClassesDerivingFrom() 241 String className = entryPathToClassName(entryPath); in findClassesDerivingFrom() local 243 Class<?> loaded_class = mClassCache.get(className); in findClassesDerivingFrom() 245 byte[] data = mEntryCache.get(className); in findClassesDerivingFrom() 254 loaded_class = defineAndCacheClass(className, data); in findClassesDerivingFrom() [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/ |
D | FmLayoutToActivityMethod.java | 53 String className = extractClassName(name); in exec() local 54 if (className == null) { in exec() 55 className = "My"; in exec() 57 String activityName = className + ACTIVITY_NAME_SUFFIX; in exec()
|
/sdk/templates/other/AppWidget/root/src/app_package/ |
D | AppWidgetConfigureActivity.java.ftl | 13 * The configuration screen for the {@link ${className} ${className}} AppWidget. 15 public class ${className}ConfigureActivity extends Activity { 19 private static final String PREFS_NAME = "${packageName}.${className}"; 22 public ${className}ConfigureActivity() { 52 mAppWidgetText.setText(loadTitlePref(${className}ConfigureActivity.this, mAppWidgetId)); 57 final Context context = ${className}ConfigureActivity.this; 65 ${className}.updateAppWidget(context, appWidgetManager, mAppWidgetId);
|
D | AppWidget.java.ftl | 11 …* App Widget Configuration implemented in {@link ${className}ConfigureActivity ${className}Configu… 14 public class ${className} extends AppWidgetProvider { 31 ${className}ConfigureActivity.deleteTitlePref(context, appWidgetIds[i]); 50 CharSequence widgetText = ${className}ConfigureActivity.loadTitlePref(context, appWidgetId);
|
/sdk/templates/other/BlankFragment/root/src/app_package/ |
D | BlankFragment.java.ftl | 16 * {@link ${className}.OnFragmentInteractionListener} interface 20 * Use the {@link ${className}#newInstance} factory method to 25 public class ${className} extends Fragment { 48 * @return A new instance of fragment ${className}. 51 public static ${className} newInstance(String param1, String param2) { 52 ${className} fragment = new ${className}(); 60 public ${className}() { 80 return inflater.inflate(R.layout.fragment_${classToResource(className)}, container, false);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/ |
D | ChangeViewWizard.java | 119 for (String className : relatedTo) { in getWidgetTypes() 120 String base = className.substring(className.lastIndexOf('.') + 1); in getWidgetTypes() 122 classNames.add(className); in getWidgetTypes() 158 String className = d.getFullClassName(); in getWidgetTypes() local 159 if (className.equals(VIEW_INCLUDE) in getWidgetTypes() 160 || className.equals(VIEW_FRAGMENT) in getWidgetTypes() 161 || className.equals(REQUEST_FOCUS)) { in getWidgetTypes() 165 classNames.add(className); in getWidgetTypes()
|
D | WrapInWizard.java | 217 String className = d.getFullClassName(); in addLayouts() local 218 if (exclude == null || !exclude.contains(className)) { in addLayouts() 220 classNames.add(Pair.of(className, d)); in addLayouts() 253 String className = d.getFullClassName(); in addLayouts() local 254 if (exclude == null || !exclude.contains(className)) { in addLayouts() 256 classNames.add(Pair.of(className, d)); in addLayouts()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/resources/manager/ |
D | CompiledResourcesMonitor.java | 97 String className = getRClassName(project); in fileChanged() local 98 if (className == null) { in fileChanged() 107 if (packagePathMatches(relativeClassPath.toString(), className)) { in fileChanged() 108 loadAndParseRClass(project, className); in fileChanged() 183 String className = getRClassName(project); in projectOpenedWithWorkspace() local 185 if (className == null) { in projectOpenedWithWorkspace() 192 loadAndParseRClass(project, className); in projectOpenedWithWorkspace() 205 private void loadAndParseRClass(IProject project, String className) { in loadAndParseRClass() argument 217 Class<?> clazz = loader.loadClass(className); in loadAndParseRClass() 238 … AdtPlugin.log(e, "loadAndParseRClass failed to find class %1$s", className); //$NON-NLS-1$ in loadAndParseRClass()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/ |
D | BaseProjectHelper.java | 235 public final static String testClassForManifest(IJavaProject javaProject, String className, in testClassForManifest() argument 239 String javaClassName = className.replaceAll("\\$", "\\."); //$NON-NLS-1$ //$NON-NLS-2$ in testClassForManifest() 247 return String.format("%1$s is abstract", className); in testClassForManifest() 260 className); in testClassForManifest() 265 className); in testClassForManifest() 313 return String.format("%1$s does not extend %2$s", className, superClassName); in testClassForManifest() 318 return String.format("Class %1$s does not exist", className); in testClassForManifest() 321 return String.format("%1$s: %2$s", className, e.getMessage()); in testClassForManifest() 350 public static boolean revealSource(IProject project, String className, int line) { in revealSource() argument 355 int pos = className.indexOf('$'); in revealSource() [all …]
|
D | XmlErrorHandler.java | 148 public void checkClass(Locator locator, String className, String superClassName, in checkClass() argument 155 className, superClassName, testVisibility); in checkClass() 169 marker.setAttribute(AdtConstants.MARKER_ATTR_CLASS, className); in checkClass()
|
/sdk/templates/other/Service/root/src/app_package/ |
D | Service.java.ftl | 7 public class ${className} extends Service { 8 public ${className}() {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/ |
D | LintDeltaProcessor.java | 128 String className = mActiveFile.getName(); in gatherFiles() local 129 if (name.regionMatches(0, className, 0, className.length() - DOT_JAVA.length())) { in gatherFiles() 130 if (name.length() == className.length() - DOT_JAVA.length() + DOT_CLASS.length() in gatherFiles() 131 || name.charAt(className.length() - DOT_JAVA.length()) == '$') { in gatherFiles()
|
/sdk/templates/other/BroadcastReceiver/root/src/app_package/ |
D | BroadcastReceiver.java.ftl | 7 public class ${className} extends BroadcastReceiver { 8 public ${className}() {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/ |
D | ProjectCallback.java | 144 public Object loadView(String className, Class[] constructorSignature, in loadView() argument 149 if (className == null) { in loadView() 151 className = CLASS_VIEW; in loadView() 155 Class<?> clazz = mLoadedClasses.get(className); in loadView() 166 clazz = mLoader.loadClass(className); in loadView() 170 if (!className.equals(VIEW_FRAGMENT) && !className.equals(VIEW_INCLUDE)) { in loadView() 171 mMissingClasses.add(className); in loadView() 180 mLoadedClasses.put(className, clazz); in loadView() 190 AdtPlugin.log(e, "%1$s failed to instantiate.", className); //$NON-NLS-1$ in loadView() 198 mBrokenClasses.add(className); in loadView() [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/uimodel/ |
D | UiViewElementNode.java | 152 String className = ((Element) xmlNode).getAttribute(ATTR_CLASS); in getIcon() local 153 if (className != null && className.length() > 0) { in getIcon() 154 int index = className.lastIndexOf('.'); in getIcon() 156 className = "customView"; //$NON-NLS-1$ in getIcon() 158 img = icons.getIcon(className); in getIcon()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.pdt/src/com/android/ide/eclipse/pdt/internal/ |
D | SourceRevealer.java | 59 public boolean reveal(String applicationName, String className, int line) { in reveal() argument 67 int pos = className.indexOf('$'); in reveal() 69 className = className.substring(0, pos); in reveal() 77 IType result = javaProject.findType(className); in reveal()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/manifest/model/ |
D | UiClassAttributeNode.java | 137 String className = sb.toString(); in getFilterExtension() local 140 IType type = mJavaProject.findType(className); in getFilterExtension() 315 String className = AndroidManifest.combinePackageAndClassName( 324 BaseProjectHelper.getJavaProject(getProject()), className, 391 String className = getTextWidget().getText().trim(); 396 if (className.length() == 0) { 400 String fullClassName = className; 401 if (className.startsWith(".")) { //$NON-NLS-1$ 402 fullClassName = packageName + className; 404 String[] segments = className.split(AdtConstants.RE_DOT); [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/launch/junit/runtime/ |
D | TestSuiteReference.java | 38 TestSuiteReference(String className) { in TestSuiteReference() argument 39 mClassName = className; in TestSuiteReference()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.ddms/src/com/android/ide/eclipse/ddms/ |
D | JavaSourceRevealer.java | 55 public static boolean reveal(String applicationName, String className, int line) { in reveal() argument 58 if (revealer.reveal(applicationName, className, line)) { in reveal()
|
D | ISourceRevealer.java | 31 boolean reveal(String applicationName, String className, int line); in reveal() argument
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/manifest/descriptors/ |
D | AndroidManifestDescriptors.java | 263 final String className) { in overrideClassName() argument 264 overrideClassName(overrides, elementName, className, true); in overrideClassName() 282 final String className, in overrideClassName() argument 296 if (SdkConstants.CLASS_ACTIVITY.equals(className)) { in overrideClassName() 298 className, in overrideClassName() 305 } else if (SdkConstants.CLASS_BROADCASTRECEIVER.equals(className)) { in overrideClassName() 307 className, in overrideClassName() 314 } else if (SdkConstants.CLASS_INSTRUMENTATION.equals(className)) { in overrideClassName() 316 className, in overrideClassName() 325 className, in overrideClassName()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/core/ |
D | RenameResourceXmlTextAction.java | 127 String className = findClassName(document, file, selection.getOffset()); in run() local 128 if (className != null) { in run() 129 assert className.equals(className.trim()); in run() 130 IType type = findType(className, project); in run() 346 private IType findType(@NonNull String className, @NonNull IProject project) { in findType() argument 350 type = javaProject.findType(className); in findType() 364 type = javaProject.findType(className); in findType()
|
/sdk/templates/other/ListFragment/root/src/app_package/ |
D | ListFragment.java.ftl | 39 public class ${className} extends Fragment implements AbsListView.OnItemClickListener { 41 public class ${className} extends ListFragment { 72 public static ${className} newInstance(String param1, String param2) { 73 ${className} fragment = new ${className}(); 86 public ${className}() {
|
/sdk/templates/other/ContentProvider/root/src/app_package/ |
D | ContentProvider.java.ftl | 8 public class ${className} extends ContentProvider { 9 public ${className}() {
|
/sdk/templates/other/Service/root/ |
D | AndroidManifest.xml.ftl | 4 <service android:name=".${className}"
|