/sdk/common/tests/src/com/android/utils/ |
H A D | SdkUtilsTest.java | 57 assertTrue(SdkUtils.endsWith("foo", "foo")); 58 assertTrue(SdkUtils.endsWith("foobar", "obar")); 59 assertTrue(SdkUtils.endsWith("foobar", "bar")); 60 assertTrue(SdkUtils.endsWith("foobar", "ar")); 61 assertTrue(SdkUtils.endsWith("foobar", "r")); 62 assertTrue(SdkUtils.endsWith("foobar", "")); 64 assertTrue(SdkUtils.endsWith(new StringBuilder("foobar"), "bar")); 65 assertTrue(SdkUtils.endsWith(new StringBuilder("foobar"), new StringBuffer("obar"))); 66 assertTrue(SdkUtils.endsWith("foobar", new StringBuffer("obar"))); 68 assertFalse(SdkUtils.endsWith("fo [all...] |
/sdk/draw9patch/src/com/android/draw9patch/ui/ |
H A D | PngFileFilter.java | 25 return f.isDirectory() || f.getName().toLowerCase().endsWith(".png");
|
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/ui/util/ |
H A D | PngFileFilter.java | 25 return f.isDirectory() || f.getName().toLowerCase().endsWith(".png");
|
H A D | PsdFileFilter.java | 25 return f.isDirectory() || f.getName().toLowerCase().endsWith(".psd");
|
/sdk/common/src/com/android/utils/ |
H A D | SdkUtils.java | 43 public static boolean endsWith(CharSequence sequence, CharSequence suffix) { method in class:SdkUtils 44 return endsWith(sequence, sequence.length(), suffix); 56 public static boolean endsWith(CharSequence sequence, int endOffset, CharSequence suffix) { method in class:SdkUtils
|
H A D | StdLogger.java | 164 !msg.endsWith("\r\n") && 165 msg.endsWith("\n")) { 172 if (!msg.endsWith("\n")) {
|
/sdk/lint/libs/lint_checks/src/com/android/tools/lint/checks/ |
H A D | ViewConstructorDetector.java | 102 && !((superName.endsWith("Adapter") //$NON-NLS-1$ 103 || superName.endsWith("Controller") //$NON-NLS-1$ 104 || superName.endsWith("Service") //$NON-NLS-1$ 105 || superName.endsWith("Provider") //$NON-NLS-1$ 106 || superName.endsWith("Filter")))) { //$NON-NLS-1$
|
H A D | PrivateKeyDetector.java | 60 (!LintUtils.endsWith(file.getPath(), "pem") && //NON-NLS-1$ 61 !LintUtils.endsWith(file.getPath(), "key"))) { //NON-NLS-1$
|
H A D | IconDetector.java | 35 import static com.android.tools.lint.detector.api.LintUtils.endsWith; 336 // endsWith(name, DOT_PNG) is also true for endsWith(name, DOT_9PNG) 337 return endsWith(name, DOT_PNG)|| endsWith(name, DOT_JPG) || endsWith(name, DOT_GIF) || 338 endsWith(name, DOT_XML); 947 if (name.endsWith(DOT_XML)) { 949 } else if (endsWith(name, DOT_PNG) 950 || endsWith(nam [all...] |
H A D | PxUsageDetector.java | 128 if (value.endsWith(UNIT_PX) && value.matches("\\d+px")) { //$NON-NLS-1$ 138 && (value.endsWith(UNIT_DP) || value.endsWith(UNIT_DIP))
|
H A D | OverdrawDetector.java | 36 import static com.android.tools.lint.detector.api.LintUtils.endsWith; 163 return LintUtils.isXmlFile(file) || LintUtils.endsWith(file.getName(), DOT_JAVA); 211 if (endsWith(layoutName, DOT_XML)) { 326 if (endsWith(context.file.getName(), DOT_XML)) { 360 if (endsWith(resource, DOT_XML)) { 486 if (mActivities != null && mActivities.contains(mClassFqn) || name.endsWith(ACTIVITY) 488 node.astExtending().getDescription().endsWith(ACTIVITY)) {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/ |
H A D | LintDeltaProcessor.java | 78 if (mActiveFile == null || !mActiveFile.getName().endsWith(DOT_JAVA)) { 98 if (mActiveFile == null || !mActiveFile.getName().endsWith(DOT_JAVA)) { 116 if (name.endsWith(DOT_JAVA)) { 120 } else if (name.endsWith(DOT_CLASS)) {
|
H A D | AddSuppressAttribute.java | 115 if (!fileName.endsWith(DOT_XML)) { 164 if (!fileName.endsWith(DOT_XML)) {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/manifest/ |
H A D | ManifestContentAssist.java | 54 if (attributeName.endsWith(ATTRIBUTE_MIN_SDK_VERSION) 55 || attributeName.endsWith(ATTRIBUTE_TARGET_SDK_VERSION)) {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/launch/ |
H A D | JUnitLaunchConfigDelegate.java | 85 if (bootpath[i][0].endsWith(SdkConstants.FN_FRAMEWORK_LIBRARY)) { 106 if (classpath[i].endsWith(JUNIT_JAR)) {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/tests/ |
H A D | AdtTestData.java | 96 if (!mOsRootDataPath.endsWith(File.separator) && !mOsRootDataPath.endsWith(DIR_SEP_STR)) {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/ |
H A D | FmActivityToLayoutMethod.java | 56 assert !activityName.endsWith(ACTIVITY_NAME_SUFFIX) : activityName;
|
H A D | FmClassNameToResourceMethod.java | 63 assert !name.endsWith(suffix) : name;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/launch/ |
H A D | JUnitLaunchConfigDelegateTest.java | 28 assertTrue(JUnitLaunchConfigDelegate.getJunitJarLocation().endsWith("junit.jar"));
|
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/repository/ |
H A D | AdbWrapper.java | 47 if (!osSdkPath.endsWith(File.separator)) {
|
/sdk/lint/libs/lint_checks/tests/src/com/android/tools/lint/detector/api/ |
H A D | LintUtilsTest.java | 59 assertTrue(LintUtils.endsWith("Foo", "")); 60 assertTrue(LintUtils.endsWith("Foo", "o")); 61 assertTrue(LintUtils.endsWith("Foo", "oo")); 62 assertTrue(LintUtils.endsWith("Foo", "Foo")); 63 assertTrue(LintUtils.endsWith("Foo", "FOO")); 64 assertTrue(LintUtils.endsWith("Foo", "fOO")); 66 assertFalse(LintUtils.endsWith("Foo", "f"));
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
H A D | ExportScreenshotAction.java | 54 if (!path.endsWith(DOT_PNG)) {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/animator/ |
H A D | AnimationContentAssist.java | 79 if (attributeName.endsWith(INTERPOLATOR_PROPERTY_NAME)) { 88 if (name.endsWith(INTERPOLATOR_NAME_SUFFIX)) { 101 && attributeName.endsWith(PROPERTY_NAME)) {
|
/sdk/lint/cli/src/com/android/tools/lint/ |
H A D | Reporter.java | 21 import static com.android.tools.lint.detector.api.LintUtils.endsWith; 202 if (!endsWith(name, DOT_PNG) || endsWith(name, DOT_9PNG)) {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/ |
H A D | DeviceMenuListener.java | 259 if (name.endsWith(" One")) { //$NON-NLS-1$ 262 if (name.endsWith(" S")) { //$NON-NLS-1$ 268 if (name.endsWith(" 7")) { //$NON-NLS-1$
|