/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/refactorings/extractstring/ |
ExtractStringRefactoringTest.java | 24 assertEquals("<", escape("<")); //$NON-NLS-1$ //$NON-NLS-2$ 25 assertEquals("&", escape("&")); //$NON-NLS-1$ //$NON-NLS-2$ 29 assertEquals("\\'", escape("'")); //$NON-NLS-1$ //$NON-NLS-2$ 30 assertEquals("\\\"", escape("\"")); //$NON-NLS-1$ //$NON-NLS-2$ 31 assertEquals("\" ' \"", escape(" ' ")); //$NON-NLS-1$ //$NON-NLS-2 [all...] |
/sdk/common/src/com/android/resources/ |
ResourceType.java | 24 ANIM("anim", "Animation"), //$NON-NLS-1$ 25 ANIMATOR("animator", "Animator"), //$NON-NLS-1$ 26 ARRAY("array", "Array", "string-array", "integer-array"), //$NON-NLS-1$ //$NON-NLS-3$ //$NON-NLS-4$ 27 ATTR("attr", "Attr"), //$NON-NLS-1$ 28 BOOL("bool", "Boolean"), //$NON-NLS-1$ 29 COLOR("color", "Color"), //$NON-NLS-1$ 30 DECLARE_STYLEABLE("declare-styleable", "Declare Stylable"), //$NON-NLS-1$ 31 DIMEN("dimen", "Dimension"), //$NON-NLS-1 [all...] |
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/repository/ |
PkgProps.java | 33 public static final String PKG_REVISION = "Pkg.Revision"; //$NON-NLS-1$
34 public static final String PKG_LICENSE = "Pkg.License"; //$NON-NLS-1$
35 public static final String PKG_DESC = "Pkg.Desc"; //$NON-NLS-1$
36 public static final String PKG_DESC_URL = "Pkg.DescUrl"; //$NON-NLS-1$
37 public static final String PKG_RELEASE_NOTE = "Pkg.RelNote"; //$NON-NLS-1$
38 public static final String PKG_RELEASE_URL = "Pkg.RelNoteUrl"; //$NON-NLS-1$
39 public static final String PKG_SOURCE_URL = "Pkg.SourceUrl"; //$NON-NLS-1$
40 public static final String PKG_OBSOLETE = "Pkg.Obsolete"; //$NON-NLS-1$
44 public static final String VERSION_API_LEVEL = "AndroidVersion.ApiLevel";//$NON-NLS-1$
45 public static final String VERSION_CODENAME = "AndroidVersion.CodeName";//$NON-NLS-1$ [all...] |
RepoConstants.java | 29 public static final String NODE_EXTRA = "extra"; //$NON-NLS-1$
32 public static final String NODE_LICENSE = "license"; //$NON-NLS-1$
34 public static final String NODE_USES_LICENSE = "uses-license"; //$NON-NLS-1$
36 public static final String NODE_REVISION = "revision"; //$NON-NLS-1$
38 public static final String NODE_DESCRIPTION = "description"; //$NON-NLS-1$
40 public static final String NODE_DESC_URL = "desc-url"; //$NON-NLS-1$
42 public static final String NODE_RELEASE_NOTE = "release-note"; //$NON-NLS-1$
44 public static final String NODE_RELEASE_URL = "release-url"; //$NON-NLS-1$
46 public static final String NODE_OBSOLETE = "obsolete"; //$NON-NLS-1$
48 public static final String NODE_PROJECT_FILES = "project-files"; //$NON-NLS-1$ [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/ |
LayoutConstants.java | 33 public static final String VIEW = "view"; //$NON-NLS-1$ 36 public static final String ATTR_CLASS = "class"; //$NON-NLS-1$ 37 public static final String ATTR_ON_CLICK = "onClick"; //$NON-NLS-1$ 38 public static final String ATTR_TAG = "tag"; //$NON-NLS-1$ 39 public static final String ATTR_NUM_COLUMNS = "numColumns"; //$NON-NLS-1$ 40 public static final String ATTR_PADDING = "padding"; //$NON-NLS-1$ 43 public static final String RELATIVE_LAYOUT = "RelativeLayout"; //$NON-NLS-1$ 44 public static final String LINEAR_LAYOUT = "LinearLayout"; //$NON-NLS-1$ 45 public static final String ABSOLUTE_LAYOUT = "AbsoluteLayout"; //$NON-NLS-1$ 46 public static final String TABLE_LAYOUT = "TableLayout"; //$NON-NLS-1 [all...] |
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/ |
SdkConstants.java | 49 public final static String INI_CHARSET = "UTF-8"; //$NON-NLS-1$ 52 public static final String FN_ANDROID_MANIFEST_XML= "AndroidManifest.xml"; //$NON-NLS-1$ 54 public final static String FN_CLASSES_JAR = "classes.jar"; //$NON-NLS-1$ 56 public final static String FN_APK_CLASSES_DEX = "classes.dex"; //$NON-NLS-1$ 59 public final static String FN_BUILD_XML = "build.xml"; //$NON-NLS-1$ 62 public static final String FN_FRAMEWORK_LIBRARY = "android.jar"; //$NON-NLS-1$ 64 public static final String FN_ATTRS_XML = "attrs.xml"; //$NON-NLS-1$ 66 public static final String FN_ATTRS_MANIFEST_XML = "attrs_manifest.xml"; //$NON-NLS-1$ 68 public static final String FN_FRAMEWORK_AIDL = "framework.aidl"; //$NON-NLS-1$ 70 public static final String FN_FRAMEWORK_RENDERSCRIPT = "renderscript"; //$NON-NLS-1 [all...] |
/sdk/hierarchyviewer2/libs/hierarchyviewerlib/src/com/android/hierarchyviewerlib/device/ |
ViewNode.java | 186 id = namedProperties.get("mID").value; //$NON-NLS-1$ 189 namedProperties.containsKey("mLeft") ? getInt("mLeft", 0) : getInt("layout:mLeft", //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ 191 top = namedProperties.containsKey("mTop") ? getInt("mTop", 0) : getInt("layout:mTop", 0); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ 193 namedProperties.containsKey("getWidth()") ? getInt("getWidth()", 0) : getInt( //$NON-NLS-1$ //$NON-NLS-2$ 194 "layout:getWidth()", 0); //$NON-NLS-1 [all...] |
/sdk/ide_common/tests/src/com/android/ide/common/resources/configuration/ |
ScreenDimensionQualifierTest.java | 41 assertEquals(true, sdq.checkAndSet("400x200", config));//$NON-NLS-1$ 45 assertEquals("400x200", config.getScreenDimensionQualifier().toString()); //$NON-NLS-1$ 49 assertEquals(false, sdq.checkAndSet("", config));//$NON-NLS-1$ 50 assertEquals(false, sdq.checkAndSet("400X200", config));//$NON-NLS-1$ 51 assertEquals(false, sdq.checkAndSet("x200", config));//$NON-NLS-1$ 52 assertEquals(false, sdq.checkAndSet("ax200", config));//$NON-NLS-1$ 53 assertEquals(false, sdq.checkAndSet("400x", config));//$NON-NLS-1$ 54 assertEquals(false, sdq.checkAndSet("400xa", config));//$NON-NLS-1$ 55 assertEquals(false, sdq.checkAndSet("other", config));//$NON-NLS-1$
|
ScreenOrientationQualifierTest.java | 43 assertEquals(true, soq.checkAndSet("port", config)); //$NON-NLS-1$ 46 assertEquals("port", config.getScreenOrientationQualifier().toString()); //$NON-NLS-1$ 50 assertEquals(true, soq.checkAndSet("land", config)); //$NON-NLS-1$ 54 assertEquals("land", config.getScreenOrientationQualifier().toString()); //$NON-NLS-1$ 58 assertEquals(true, soq.checkAndSet("square", config)); //$NON-NLS-1$ 62 assertEquals("square", config.getScreenOrientationQualifier().toString()); //$NON-NLS-1$ 66 assertEquals(false, soq.checkAndSet("", config));//$NON-NLS-1$ 67 assertEquals(false, soq.checkAndSet("PORT", config));//$NON-NLS-1$ 68 assertEquals(false, soq.checkAndSet("landscape", config));//$NON-NLS-1$ 69 assertEquals(false, soq.checkAndSet("portrait", config));//$NON-NLS-1 [all...] |
TextInputMethodQualifierTest.java | 43 assertEquals(true, timq.checkAndSet("qwerty", config)); //$NON-NLS-1$ 46 assertEquals("qwerty", config.getTextInputMethodQualifier().toString()); //$NON-NLS-1$ 50 assertEquals(true, timq.checkAndSet("12key", config)); //$NON-NLS-1$ 53 assertEquals("12key", config.getTextInputMethodQualifier().toString()); //$NON-NLS-1$ 57 assertEquals(true, timq.checkAndSet("nokeys", config)); //$NON-NLS-1$ 60 assertEquals("nokeys", config.getTextInputMethodQualifier().toString()); //$NON-NLS-1$ 64 assertEquals(false, timq.checkAndSet("", config));//$NON-NLS-1$ 65 assertEquals(false, timq.checkAndSet("QWERTY", config));//$NON-NLS-1$ 66 assertEquals(false, timq.checkAndSet("12keys", config));//$NON-NLS-1$ 67 assertEquals(false, timq.checkAndSet("*12key", config));//$NON-NLS-1 [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
EnumMapTest.java | 83 fail("Expected NullPointerException"); //$NON-NLS-1$ 91 fail("Expected NullPointerException"); //$NON-NLS-1$ 98 fail("Expected NullPointerException"); //$NON-NLS-1$ 104 assertNull("Return non-null for non mapped key", enumColorMap.put( //$NON-NLS-1$ 106 assertEquals("Get returned incorrect value for given key", 2, //$NON-NLS-1$ 112 fail("Expected ClassCastException"); //$NON-NLS-1$ 118 assertNull("Return non-null for non mapped key", enumSizeMap.put( //$NON-NLS-1$ 120 assertEquals("Get returned incorrect value for given key", 2, //$NON-NLS-1$ 124 fail("Expected ClassCastException"); //$NON-NLS-1$ 130 assertNull("Return non-null for non mapped key", enumSizeMap.put( //$NON-NLS-1 [all...] |
EnumSetTest.java | 76 fail("Should throw NullPointerException"); //$NON-NLS-1$ 83 fail("Should throw ClassCastException"); //$NON-NLS-1$ 92 fail("Should throw ClassCastException"); //$NON-NLS-1$ 106 fail("Should throw ClassCastException"); //$NON-NLS-1$ 166 fail("Should throw NullPointerException"); //$NON-NLS-1$ 173 fail("Should throw ClassCastException"); //$NON-NLS-1$ 179 assertEquals("Size of enumSet should be 64", 64, enumSet.size()); //$NON-NLS-1$ 182 "enumSet should not contain null value", enumSet.contains(null)); //$NON-NLS-1$ 184 "enumSet should contain EnumFoo.a", enumSet.contains(EnumFoo.a)); //$NON-NLS-1$ 186 "enumSet should contain EnumFoo.b", enumSet.contains(EnumFoo.b)); //$NON-NLS-1 [all...] |
/sdk/common/src/com/android/ |
AndroidConstants.java | 25 public final static String FD_RES_ANIM = "anim"; //$NON-NLS-1$ 27 public final static String FD_RES_ANIMATOR = "animator"; //$NON-NLS-1$ 29 public final static String FD_RES_COLOR = "color"; //$NON-NLS-1$ 31 public final static String FD_RES_DRAWABLE = "drawable"; //$NON-NLS-1$ 33 public final static String FD_RES_INTERPOLATOR = "interpolator"; //$NON-NLS-1$ 35 public final static String FD_RES_LAYOUT = "layout"; //$NON-NLS-1$ 37 public final static String FD_RES_MENU = "menu"; //$NON-NLS-1$ 39 public final static String FD_RES_MIPMAP = "mipmap"; //$NON-NLS-1$ 41 public final static String FD_RES_VALUES = "values"; //$NON-NLS-1$ 43 public final static String FD_RES_XML = "xml"; //$NON-NLS-1 [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/ |
AdtConstants.java | 52 public static final String EDITORS_NAMESPACE = "com.android.ide.eclipse.editors"; //$NON-NLS-1$ 55 public final static String NATURE_DEFAULT = "com.android.ide.eclipse.adt.AndroidNature"; //$NON-NLS-1$ 59 "com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"; //$NON-NLS-1$ 62 public final static String CONTAINER_LIBRARIES = "com.android.ide.eclipse.adt.LIBRARIES"; //$NON-NLS-1$ 66 public final static String WS_SEP = "/"; //$NON-NLS-1$ 71 public final static String EXT_ANDROID_PACKAGE = "apk"; //$NON-NLS-1$ 73 public final static String EXT_JAVA = "java"; //$NON-NLS-1$ 75 public final static String EXT_CLASS = "class"; //$NON-NLS-1$ 77 public final static String EXT_XML = "xml"; //$NON-NLS-1$ 79 public final static String EXT_JAR = "jar"; //$NON-NLS-1 [all...] |
Messages.java | 4 import org.eclipse.osgi.util.NLS; 6 public class Messages extends NLS { 7 private static final String BUNDLE_NAME = "com.android.ide.eclipse.adt.messages"; //$NON-NLS-1$ 39 NLS.initializeMessages(BUNDLE_NAME, Messages.class);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/manifest/pages/ |
OverviewLinksPart.java | 51 buf.append(String.format("<form><li style=\"image\" value=\"app_img\"><a href=\"page:%1$s\">", //$NON-NLS-1$ 54 buf.append("</a>"); //$NON-NLS-1$ 56 buf.append("</li>"); //$NON-NLS-1$ 58 buf.append(String.format("<li style=\"image\" value=\"perm_img\"><a href=\"page:%1$s\">", //$NON-NLS-1$ 61 buf.append("</a>"); //$NON-NLS-1$ 63 buf.append("</li>"); //$NON-NLS-1$ 65 buf.append(String.format("<li style=\"image\" value=\"inst_img\"><a href=\"page:%1$s\">", //$NON-NLS-1$ 68 buf.append("</a>"); //$NON-NLS-1$ 70 buf.append("</li>"); //$NON-NLS-1$ 72 buf.append(String.format("<li style=\"image\" value=\"srce_img\"><a href=\"page:%1$s\">", //$NON-NLS-1 [all...] |
/sdk/sdkmanager/app/src/com/android/sdkmanager/ |
SdkCommandLine.java | 41 public final static String VERB_LIST = "list"; //$NON-NLS-1$ 42 public final static String VERB_CREATE = "create"; //$NON-NLS-1$ 43 public final static String VERB_MOVE = "move"; //$NON-NLS-1$ 44 public final static String VERB_DELETE = "delete"; //$NON-NLS-1$ 45 public final static String VERB_UPDATE = "update"; //$NON-NLS-1$ 46 public final static String VERB_SDK = "sdk"; //$NON-NLS-1$ 47 public final static String VERB_AVD = "avd"; //$NON-NLS-1$ 49 public static final String OBJECT_SDK = "sdk"; //$NON-NLS-1$ 50 public static final String OBJECT_AVD = "avd"; //$NON-NLS-1$ 51 public static final String OBJECT_AVDS = "avds"; //$NON-NLS-1 [all...] |
/sdk/ddms/libs/ddmuilib/tests/src/com/android/ddmuilib/logcat/ |
LogCatFilterTest.java | 100 "", "", "", "", //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ 101 "message with word1 and word2"); //$NON-NLS-1$ 102 assertEquals(true, search("word1 with", msg)); //$NON-NLS-1$ 103 assertEquals(true, search("text:w.* ", msg)); //$NON-NLS-1$ 104 assertEquals(false, search("absent", msg)); //$NON-NLS-1$ 109 "", "", "tag", "", //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3 [all...] |
LogCatMessageParserTest.java | 47 "[ 08-11 19:11:07.132 495:0x1ef D/dtag ]", //$NON-NLS-1$ 48 "debug message", //$NON-NLS-1$ 49 "[ 08-11 19:11:07.132 495:0x1ef E/etag ]", //$NON-NLS-1$ 50 "error message", //$NON-NLS-1$ 51 "[ 08-11 19:11:07.132 495:0x1ef I/itag ]", //$NON-NLS-1$ 52 "info message", //$NON-NLS-1$ 53 "[ 08-11 19:11:07.132 495:0x1ef V/vtag ]", //$NON-NLS-1$ 54 "verbose message", //$NON-NLS-1$ 55 "[ 08-11 19:11:07.132 495:0x1ef W/wtag ]", //$NON-NLS-1$ 56 "warning message", //$NON-NLS-1 [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/drawable/ |
DrawableDescriptors.java | 41 "http://d.android.com/guide/topics/resources/"; //$NON-NLS-1$ 52 mDescriptor = new ElementDescriptor("", getRootElementDescriptors()); //$NON-NLS-1$ 91 "animation-list", "Animation List", "AnimationDrawable", null, //$NON-NLS-1$ //$NON-NLS-3$ 98 "animated-rotate", "Animated Rotate", "AnimatedRotateDrawable", null, //$NON-NLS-1$ //$NON-NLS-3$ 105 "bitmap", "BitMap", "BitmapDrawable", null, //$NON-NLS-1$ //$NON-NLS-3$ 110 SDK_URL_BASE + "drawable-resource.html#Bitmap", //$NON-NLS-1$ 114 "clip", "Clip", "ClipDrawable", null, //$NON-NLS-1$ //$NON-NLS-3 [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/preferences/ |
Messages.java | 4 import org.eclipse.osgi.util.NLS; 6 public class Messages extends NLS { 7 private static final String BUNDLE_NAME = "com.android.ide.eclipse.adt.internal.preferences.messages"; //$NON-NLS-1$ 38 NLS.initializeMessages(BUNDLE_NAME, Messages.class);
|
/external/apache-harmony/nio/src/test/java/common/org/apache/harmony/nio/tests/java/nio/ |
ReadOnlyDoubleBufferTest.java | 44 fail("Should throw ReadOnlyBufferException"); //$NON-NLS-1$ 57 fail("Should throw Exception"); //$NON-NLS-1$ 65 fail("Should throw Exception"); //$NON-NLS-1$ 74 fail("Should throw Exception"); //$NON-NLS-1$ 84 fail("Should throw Exception"); //$NON-NLS-1$ 90 fail("Should throw Exception"); //$NON-NLS-1$ 100 fail("Should throw ReadOnlyBufferException"); //$NON-NLS-1$ 106 fail("Should throw ReadOnlyBufferException"); //$NON-NLS-1$ 112 fail("Should throw ReadOnlyBufferException"); //$NON-NLS-1$ 118 fail("Should throw ReadOnlyBufferException"); //$NON-NLS-1 [all...] |
ReadOnlyFloatBufferTest.java | 43 fail("Should throw ReadOnlyBufferException"); //$NON-NLS-1$ 57 fail("Should throw Exception"); //$NON-NLS-1$ 66 fail("Should throw Exception"); //$NON-NLS-1$ 75 fail("Should throw Exception"); //$NON-NLS-1$ 85 fail("Should throw Exception"); //$NON-NLS-1$ 91 fail("Should throw Exception"); //$NON-NLS-1$ 101 fail("Should throw ReadOnlyBufferException"); //$NON-NLS-1$ 107 fail("Should throw ReadOnlyBufferException"); //$NON-NLS-1$ 113 fail("Should throw ReadOnlyBufferException"); //$NON-NLS-1$ 119 fail("Should throw ReadOnlyBufferException"); //$NON-NLS-1 [all...] |
ReadOnlyIntBufferTest.java | 43 fail("Should throw ReadOnlyBufferException"); //$NON-NLS-1$ 57 fail("Should throw Exception"); //$NON-NLS-1$ 66 fail("Should throw Exception"); //$NON-NLS-1$ 75 fail("Should throw Exception"); //$NON-NLS-1$ 85 fail("Should throw Exception"); //$NON-NLS-1$ 91 fail("Should throw Exception"); //$NON-NLS-1$ 101 fail("Should throw ReadOnlyBufferException"); //$NON-NLS-1$ 107 fail("Should throw ReadOnlyBufferException"); //$NON-NLS-1$ 113 fail("Should throw ReadOnlyBufferException"); //$NON-NLS-1$ 119 fail("Should throw ReadOnlyBufferException"); //$NON-NLS-1 [all...] |
ReadOnlyLongBufferTest.java | 43 fail("Should throw ReadOnlyBufferException"); //$NON-NLS-1$ 57 fail("Should throw Exception"); //$NON-NLS-1$ 66 fail("Should throw Exception"); //$NON-NLS-1$ 75 fail("Should throw Exception"); //$NON-NLS-1$ 85 fail("Should throw Exception"); //$NON-NLS-1$ 91 fail("Should throw Exception"); //$NON-NLS-1$ 101 fail("Should throw ReadOnlyBufferException"); //$NON-NLS-1$ 107 fail("Should throw ReadOnlyBufferException"); //$NON-NLS-1$ 113 fail("Should throw ReadOnlyBufferException"); //$NON-NLS-1$ 119 fail("Should throw ReadOnlyBufferException"); //$NON-NLS-1 [all...] |