Searched refs:suffix (Results 1 - 25 of 29) sorted by relevance

12

/sdk/common/src/com/android/utils/
H A DSdkUtils.java23 * Returns true if the given string ends with the given suffix, using a
27 * @param suffix the suffix to be checked for
28 * @return true if the string case-insensitively ends with the given suffix
30 public static boolean endsWithIgnoreCase(String string, String suffix) { argument
31 return string.regionMatches(true /* ignoreCase */, string.length() - suffix.length(),
32 suffix, 0, suffix.length());
36 * Returns true if the given sequence ends with the given suffix (case
40 * @param suffix th
43 endsWith(CharSequence sequence, CharSequence suffix) argument
56 endsWith(CharSequence sequence, int endOffset, CharSequence suffix) argument
[all...]
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/
H A DFileUtils.java32 public static File createTempFile(String prefix, String suffix) { argument
35 f = File.createTempFile(prefix, suffix, sCacheDir);
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/
H A DFmClassNameToResourceMethod.java57 private static String stripSuffix(String name, String suffix) { argument
58 int suffixStart = name.lastIndexOf(suffix.charAt(0));
59 if (suffixStart != -1 && name.regionMatches(suffixStart, suffix, 0,
63 assert !name.endsWith(suffix) : name;
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/
H A DFolderDecorator.java81 public void doDecoration(IDecoration decoration, String suffix) { argument
84 if (suffix != null) {
85 decoration.addSuffix(suffix);
/sdk/emulator/qtools/
H A Dpost_trace.cpp140 const char *suffix = ""; local
143 suffix = "M";
146 suffix = "K";
149 elapsed_secs, insn_per_sec, suffix);
H A Dtrace_reader_base.h212 bool Open(const char *filename, const char *suffix);
H A Dtrace_reader.cpp313 bool AddrReader::Open(const char *filename, const char *suffix) argument
321 char *fname = CreateTracePath(filename, suffix);
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/
H A DAndroidContentAssist.java446 // Should we do suffix completion on dimension units etc?
630 final String suffix;
635 suffix = "=\"\""; //$NON-NLS-1$
636 cursorPosition = keyword.length() + suffix.length() - 1;
637 displayString = keyword + endTag; // don't include suffix;
639 suffix = endTag;
655 keyword + suffix, // String replacementString
1195 // unit part (the suffix)
1203 String suffix = value.substring(suffixBegin);
1212 if (startsWith(unit, suffix)) {
[all...]
/sdk/lint/libs/lint_api/src/com/android/tools/lint/detector/api/
H A DLintUtils.java124 * suffix
125 * @param suffix the suffix to check
126 * @return true if {@code string} ends with {@code suffix},
129 public static boolean endsWith(@NonNull String string, @NonNull String suffix) { argument
130 return string.regionMatches(true /* ignoreCase */, string.length() - suffix.length(),
131 suffix, 0, suffix.length());
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/relative/
H A DDependencyGraph.java305 String suffix = (i == path.size() -1) ? constraint.to.id : s;
307 stripLayoutAttributePrefix(constraint.type.name), suffix);
/sdk/sdkmanager/libs/sdkuilib/src/com/android/sdkuilib/internal/widgets/
H A DAvdCreationDialog.java886 String suffix;
889 suffix = "M";
892 suffix = "G";
895 suffix = "K";
897 hwProps.put(AvdManager.AVD_INI_DATA_PARTITION_SIZE, mDataPartition.getText()+suffix);
1064 String suffix = values[1];
1067 if (mSdCardSizeCombo.getItem(i).startsWith(suffix)) {
H A DLegacyAvdEditDialog.java816 String suffix = values[1];
819 if (mSdCardSizeCombo.getItem(i).startsWith(suffix)) {
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/
H A DAdtUtils.java165 * Strips the given suffix from the given string, provided that the string ends with
166 * the suffix.
169 * @param suffix the suffix to strip out
170 * @return the string without the suffix at the end
172 public static String stripSuffix(@NonNull String string, @NonNull String suffix) { argument
173 if (string.endsWith(suffix)) {
174 return string.substring(0, string.length() - suffix.length());
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gre/
H A DViewMetadataRepository.java548 String suffix = '.' + basename;
549 if (fqcn.endsWith(suffix)) {
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/repository/archives/
H A DArchiveInstaller.java1030 private File getNewTempFolder(String osBasePath, String prefix, String suffix) { argument
1044 String.format("%1$s.%2$s%3$02d", prefix, suffix, i)); //$NON-NLS-1$
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
H A DGraphicalEditorPart.java2403 String suffix = "\""; //$NON-NLS-1$
2404 find = prefix + mData[0] + suffix;
2405 replaceWith = prefix + mData[1] + suffix;
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
H A DVisualRefactoring.java1249 String suffix = getText(endOffset, lineEnd);
1250 if (suffix.trim().length() > 0) {
/sdk/testapps/jarCheckTests1/app/libs/
H A Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/support/v4/ android/support/v4/accessibilityservice/ ...
/sdk/testapps/jarCheckTests1/lib1/libs/
H A Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/support/v4/ android/support/v4/accessibilityservice/ ...
/sdk/testapps/jarCheckTests1/lib2/libs/
H A Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/support/v4/ android/support/v4/accessibilityservice/ ...
/sdk/testapps/jarCheckTests2/lib1/libs/
H A Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/support/v4/ android/support/v4/accessibilityservice/ ...
/sdk/testapps/jarCheckTests2/lib2/libs/
H A Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/support/v4/ android/support/v4/accessibilityservice/ ...
/sdk/testapps/jarCheckTests3/lib1/libs/
H A Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/support/v4/ android/support/v4/accessibilityservice/ ...
/sdk/testapps/jarCheckTests3/lib2/libs/
H A Dandroid-support-v13.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/support/v13/ android/support/v13/app/ ...
/sdk/testapps/javaProjectTest/lib1/libs/
H A Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/support/v4/ android/support/v4/accessibilityservice/ ...

Completed in 852 milliseconds

12