Home
last modified time | relevance | path

Searched refs:stripSuffix (Results 1 – 5 of 5) sorted by relevance

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/
DFmClassNameToResourceMethod.java46 name = stripSuffix(name, ACTIVITY_NAME_SUFFIX); in exec()
47 name = stripSuffix(name, "Fragment"); //$NON-NLS-1$ in exec()
48 name = stripSuffix(name, "Service"); //$NON-NLS-1$ in exec()
49 name = stripSuffix(name, "Provider"); //$NON-NLS-1$ in exec()
57 private static String stripSuffix(String name, String suffix) { in stripSuffix() method in FmClassNameToResourceMethod
DTemplateHandler.java612 toPath = AdtUtils.stripSuffix(toPath, DOT_FTL); in execute()
625 toPath = AdtUtils.stripSuffix(toPath, DOT_FTL); in execute()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/
DAdtUtilsTest.java76 assertEquals("Foo", AdtUtils.stripSuffix("Foo", "")); in testStripSuffix()
77 assertEquals("Fo", AdtUtils.stripSuffix("Foo", "o")); in testStripSuffix()
78 assertEquals("F", AdtUtils.stripSuffix("Fo", "o")); in testStripSuffix()
79 assertEquals("", AdtUtils.stripSuffix("Foo", "Foo")); in testStripSuffix()
81 AdtUtils.stripSuffix("LinearLayout_LayoutParams", "Params")); in testStripSuffix()
82 assertEquals("Foo", AdtUtils.stripSuffix("Foo", "Bar")); in testStripSuffix()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/resources/platform/
DAttrsXmlParser.java214 xmlName = AdtUtils.stripSuffix(xmlName, "Params"); //$NON-NLS-1$ in loadLayoutParamsAttributes()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/
DAdtUtils.java189 public static String stripSuffix(@NonNull String string, @NonNull String suffix) { in stripSuffix() method in AdtUtils