/sdk/ddms/libs/ddmlib/src/com/android/ddmlib/ |
H A D | DdmConstants.java | 53 if (os.startsWith("Mac OS")) { //$NON-NLS-1$ 55 } else if (os.startsWith("Windows")) { //$NON-NLS-1$ 57 } else if (os.startsWith("Linux")) { //$NON-NLS-1$
|
H A D | GetPropReceiver.java | 50 if (line.length() == 0 || line.startsWith("#")) {
|
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/util/ |
H A D | OS.java | 27 macOs = "Mac OS X".startsWith(osName); 28 linux = "Linux".startsWith(osName); 29 windows = "Windows".startsWith(osName);
|
/sdk/common/tests/src/com/android/utils/ |
H A D | SdkUtilsTest.java | 47 assertTrue(SdkUtils.startsWith("foo", 0, "foo")); 48 assertTrue(SdkUtils.startsWith("foo", 0, "Foo")); 49 assertTrue(SdkUtils.startsWith("Foo", 0, "foo")); 50 assertTrue(SdkUtils.startsWith("aFoo", 1, "foo")); 52 assertFalse(SdkUtils.startsWith("aFoo", 0, "foo")); 53 assertFalse(SdkUtils.startsWith("aFoo", 2, "foo"));
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/ |
H A D | SelectThemeAction.java | 36 assert theme.startsWith(STYLE_RESOURCE_PREFIX) 37 || theme.startsWith(ANDROID_STYLE_RESOURCE_PREFIX) : theme;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.pdt/src/com/android/ide/eclipse/pdt/ |
H A D | PdtPlugin.java | 136 if (os.startsWith("Mac OS")) { //$NON-NLS-1$ 138 } else if (os.startsWith("Windows")) { //$NON-NLS-1$ 140 } else if (os.startsWith("Linux")) { //$NON-NLS-1$
|
/sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/ |
H A D | SysinfoPanel.java | 330 if ((line.startsWith("DUMP OF SERVICE ") || line.startsWith("-----")) && 386 if (line == null || line.startsWith("DUMP OF SERVICE")) { 390 if (line.startsWith("Current Battery Usage Statistics")) { 424 if (line == null || line.startsWith("DUMP OF SERVICE")) { 450 if (line == null || line.startsWith("DUMP OF SERVICE")) { 454 if (line.startsWith("Load:")) { 509 if (line.startsWith("MemTotal")) { 511 } else if (line.startsWith("MemFree")) { 514 } else if (line.startsWith("Sla [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/tests/ |
H A D | UnitTests.java | 58 !testClass.getPackage().getName().startsWith(FuncTests.FUNC_TEST_PACKAGE);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/properties/ |
H A D | ResourceValueCompleter.java | 64 if (contents.startsWith(PREFIX_RESOURCE_REF)) { 95 if (prefix.startsWith("@a") && //$NON-NLS-1$ 103 } else if (prefix.startsWith("?") && //$NON-NLS-1$ 117 if (!prefix.startsWith("@and") && !prefix.startsWith("?and")) { //$NON-NLS-1$ //$NON-NLS-2$ 150 if (prefix.length() == 0 || prefix.startsWith(PREFIX_RESOURCE_REF)) { 159 if (type == ResourceType.ID && prefix.startsWith(NEW_ID_PREFIX)) {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/descriptors/ |
H A D | ViewElementDescriptor.java | 239 return !(fqcn.startsWith(ANDROID_WIDGET_PREFIX) 240 || fqcn.startsWith(ANDROID_VIEW_PKG) 241 || fqcn.startsWith(ANDROID_WEBKIT_PKG));
|
/sdk/lint/libs/lint_checks/src/com/android/tools/lint/checks/ |
H A D | StyleCycleDetector.java | 86 } else if (parent.startsWith(STYLE_RESOURCE_PREFIX) 87 && parent.startsWith(name, STYLE_RESOURCE_PREFIX.length()) 88 && parent.startsWith(".", STYLE_RESOURCE_PREFIX.length() + name.length())) {
|
H A D | UnusedResourceDetector.java | 211 if (resource.startsWith("R.style") //$NON-NLS-1$ 212 || resource.startsWith("R.attr")) { //$NON-NLS-1$ 223 if (resource.startsWith(R_ID_PREFIX)) { 277 if (folder.getName().startsWith(typeName)) { 282 if (fileName.startsWith(name) 283 && fileName.startsWith(".", //$NON-NLS-1$ 337 return resource.startsWith(R_ID_PREFIX) ? ISSUE_IDS : ISSUE; 430 && !text.startsWith("@android:", index)) { //$NON-NLS-1$ 445 if (value.startsWith("@+") && !value.startsWith(" [all...] |
H A D | DetectMissingPrefix.java | 100 if (name.startsWith(XMLNS_PREFIX)) { 119 return tag.indexOf('.') != -1 && !tag.startsWith(ANDROID_PKG_PREFIX);
|
/sdk/anttasks/src/com/android/ant/ |
H A D | InputPath.java | 79 return file.getName().startsWith(".");
|
/sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/logcat/ |
H A D | LogCatFilter.java | 156 if (s.startsWith(PID_KEYWORD)) { 158 } else if (s.startsWith(APP_KEYWORD)) { 160 } else if (s.startsWith(TAG_KEYWORD)) { 163 if (s.startsWith(TEXT_KEYWORD)) {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
H A D | LayoutMetadata.java | 146 assert text.startsWith(COMMENT_PROLOGUE); 158 if (value.startsWith(target)) { 202 assert text.startsWith(COMMENT_PROLOGUE); 218 if (!v.startsWith(target)) { 304 if (text.startsWith(COMMENT_PROLOGUE)) { 364 if (layout.startsWith(ANDROID_LAYOUT_RESOURCE_PREFIX)) { 366 } else if (layout.startsWith(LAYOUT_RESOURCE_PREFIX)) { 406 boolean isFramework = header.startsWith(ANDROID_LAYOUT_RESOURCE_PREFIX); 412 boolean isFramework = footer.startsWith(ANDROID_LAYOUT_RESOURCE_PREFIX); 418 boolean isFramework = layout.startsWith(ANDROID_LAYOUT_RESOURCE_PREFI [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/launch/ |
H A D | AMReceiver.java | 130 if (error == false && s.startsWith("Error:")) { //$NON-NLS-1$ 133 if (warning == false && s.startsWith("Warning:")) { //$NON-NLS-1$
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/uimodel/ |
H A D | UiResourceAttributeNode.java | 327 if (prefix != null && prefix.startsWith(PREFIX_THEME_REF)) { 358 String initial = prefix != null && prefix.startsWith(PREFIX_THEME_REF) 452 if (value.startsWith(PREFIX_RESOURCE_REF)) { 453 if (value.startsWith(PREFIX_RESOURCE_REF + type + '/')) { 457 if (value.startsWith(ANDROID_PREFIX + type + '/')) { 461 if (value.startsWith(PREFIX_THEME_REF)) { 462 if (value.startsWith(PREFIX_THEME_REF + type + '/')) { 466 if (value.startsWith(ANDROID_THEME_PREFIX + type + '/')) { 491 if (value.startsWith(PREFIX_RESOURCE_REF)) { 492 if (value.startsWith(PREFIX_RESOURCE_RE [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.ndk/src/com/android/ide/eclipse/ndk/internal/discovery/ |
H A D | NdkDiscoveryUpdater.java | 228 if (option.startsWith("-")) { //$NON-NLS-1$ 234 } else if (option.startsWith("-I")) { //$NON-NLS-1$ 240 } else if (option.startsWith("-D")) { //$NON-NLS-1$ 242 } else if (option.startsWith("-f")) { //$NON-NLS-1$ 244 } else if (option.startsWith("-m")) { //$NON-NLS-1$ 246 } else if (option.startsWith("--sysroot")) { //$NON-NLS-1$ 296 if (line.startsWith("#define")) { //$NON-NLS-1$
|
/sdk/sdk_common/src/com/android/ide/common/resources/ |
H A D | ResourceResolver.java | 192 if (reference.startsWith(PREFIX_THEME_REF)) { 201 if (reference.startsWith(ANDROID_THEME_PREFIX)) { 231 if (referenceName.startsWith(PREFIX_ANDROID)) { 248 } else if (reference.startsWith(PREFIX_RESOURCE_REF)) { 257 if (reference.startsWith(ANDROID_PREFIX)) { 269 if (segments[1].startsWith(PREFIX_ANDROID)) { 517 if (name.startsWith(PREFIX_RESOURCE_REF)) { 522 if (name.startsWith(PREFIX_ANDROID)) { 529 if (name.startsWith(REFERENCE_STYLE)) {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/resources/platform/ |
H A D | AttributeInfo.java | 228 if (value.startsWith(NEW_ID_PREFIX) || value.startsWith(ID_PREFIX)) { 236 if (value.startsWith(ANDROID_PREFIX) || value.startsWith(ANDROID_THEME_PREFIX)) { 248 int typeBegin = url.startsWith("@+") ? 2 : 1; //$NON-NLS-1$
|
/sdk/lint/libs/lint_api/src/com/android/tools/lint/detector/api/ |
H A D | LintUtils.java | 143 public static boolean startsWith(@NonNull String string, @NonNull String prefix, int offset) { method in class:LintUtils 221 } else if (id.startsWith(NEW_ID_PREFIX)) { 223 } else if (id.startsWith(ID_PREFIX)) { 239 if (id1.startsWith(NEW_ID_PREFIX)) { 240 if (id2.startsWith(NEW_ID_PREFIX)) { 243 assert id2.startsWith(ID_PREFIX); 251 assert id1.startsWith(ID_PREFIX); 252 if (id2.startsWith(ID_PREFIX)) { 255 assert id2.startsWith(NEW_ID_PREFIX); 405 } else if (file1.getPath().startsWith(file [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/values/ |
H A D | ValuesContentAssist.java | 87 if (startsWith(ANDROID_NS_NAME_PREFIX, wordPrefix)) { 98 if (startsWith(attributePrefix, ANDROID_NS_NAME_PREFIX)) { 118 if (startsWith(name, attributePrefix)) { 208 if (prefix.startsWith(PREFIX_RESOURCE_REF) || prefix.trim().length() == 0) { 221 if (s.startsWith(ANDROID_PREFIX) || 222 s.startsWith(PREFIX_RESOURCE_REF+ value)) {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ |
H A D | OutlineLabelProvider.java | 73 if (id.startsWith(DRAWABLE_PREFIX)) { 79 if (id.startsWith(LAYOUT_RESOURCE_PREFIX)) {
|
/sdk/attribute_stats/src/ |
H A D | Analyzer.java | 188 if (parent.getName().startsWith("layout")) { 258 if (name.startsWith("android:layout_")) { 272 if (name.startsWith("xmlns:")) { 300 if (!name.startsWith("android:layout_")) { 396 if (view.indexOf('.') != -1 && !view.startsWith("android.")) { 445 if (name.startsWith("android:")) { 478 if (view.startsWith("android.widget.")) { 480 } else if (view.startsWith("android.view.")) { 482 } else if (view.startsWith("android.webkit.")) { 554 if (view.indexOf('.') != -1 && !view.startsWith("androi [all...] |