Home
last modified time | relevance | path

Searched refs:suffix (Results 1 – 19 of 19) sorted by relevance

/sdk/common/src/com/android/utils/
DSdkUtils.java30 public static boolean endsWithIgnoreCase(String string, String suffix) { in endsWithIgnoreCase() argument
31 return string.regionMatches(true /* ignoreCase */, string.length() - suffix.length(), in endsWithIgnoreCase()
32 suffix, 0, suffix.length()); in endsWithIgnoreCase()
43 public static boolean endsWith(CharSequence sequence, CharSequence suffix) { in endsWith() argument
44 return endsWith(sequence, sequence.length(), suffix); in endsWith()
56 public static boolean endsWith(CharSequence sequence, int endOffset, CharSequence suffix) { in endsWith() argument
57 if (endOffset < suffix.length()) { in endsWith()
61 for (int i = endOffset - 1, j = suffix.length() - 1; j >= 0; i--, j--) { in endsWith()
62 if (sequence.charAt(i) != suffix.charAt(j)) { in endsWith()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/
DFmClassNameToResourceMethod.java57 private static String stripSuffix(String name, String suffix) { in stripSuffix() argument
58 int suffixStart = name.lastIndexOf(suffix.charAt(0)); in stripSuffix()
59 if (suffixStart != -1 && name.regionMatches(suffixStart, suffix, 0, in stripSuffix()
63 assert !name.endsWith(suffix) : name; in stripSuffix()
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/
DFileUtils.java32 public static File createTempFile(String prefix, String suffix) { in createTempFile() argument
35 f = File.createTempFile(prefix, suffix, sCacheDir); in createTempFile()
/sdk/emulator/qtools/
Dpost_trace.cpp140 const char *suffix = ""; in main() local
143 suffix = "M"; in main()
146 suffix = "K"; in main()
149 elapsed_secs, insn_per_sec, suffix); in main()
Dtrace_reader_base.h212 bool Open(const char *filename, const char *suffix);
Dtrace_reader.cpp313 bool AddrReader::Open(const char *filename, const char *suffix) in Open() argument
321 char *fname = CreateTracePath(filename, suffix); in Open()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/
DFolderDecorator.java81 public void doDecoration(IDecoration decoration, String suffix) { in doDecoration() argument
84 if (suffix != null) { in doDecoration()
85 decoration.addSuffix(suffix); in doDecoration()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/
DAndroidContentAssist.java630 final String suffix; in addMatchingProposals() local
635 suffix = "=\"\""; //$NON-NLS-1$ in addMatchingProposals()
636 cursorPosition = keyword.length() + suffix.length() - 1; in addMatchingProposals()
639 suffix = endTag; in addMatchingProposals()
655 keyword + suffix, // String replacementString in addMatchingProposals()
1203 String suffix = value.substring(suffixBegin); in completeSuffix() local
1212 if (startsWith(unit, suffix)) { in completeSuffix()
1219 … if (startsWith(suffix, "di") || startsWith(suffix, "dip")) { //$NON-NLS-1$ //$NON-NLS-2$ in completeSuffix()
1226 if (startsWith(unit, suffix)) { in completeSuffix()
/sdk/lint/libs/lint_api/src/com/android/tools/lint/detector/api/
DLintUtils.java129 public static boolean endsWith(@NonNull String string, @NonNull String suffix) { in endsWith() argument
130 return string.regionMatches(true /* ignoreCase */, string.length() - suffix.length(), in endsWith()
131 suffix, 0, suffix.length()); in endsWith()
/sdk/sdkmanager/libs/sdkuilib/src/com/android/sdkuilib/internal/widgets/
DAvdCreationDialog.java886 String suffix; in createAvd() local
889 suffix = "M"; in createAvd()
892 suffix = "G"; in createAvd()
895 suffix = "K"; in createAvd()
897 hwProps.put(AvdManager.AVD_INI_DATA_PARTITION_SIZE, mDataPartition.getText()+suffix); in createAvd()
1064 String suffix = values[1]; in fillExistingAvdInfo() local
1067 if (mSdCardSizeCombo.getItem(i).startsWith(suffix)) { in fillExistingAvdInfo()
DLegacyAvdEditDialog.java816 String suffix = values[1]; in fillExistingAvdInfo() local
819 if (mSdCardSizeCombo.getItem(i).startsWith(suffix)) { in fillExistingAvdInfo()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/relative/
DDependencyGraph.java305 String suffix = (i == path.size() -1) ? constraint.to.id : s; in describePath() local
307 stripLayoutAttributePrefix(constraint.type.name), suffix); in describePath()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/
DAdtUtils.java172 public static String stripSuffix(@NonNull String string, @NonNull String suffix) { in stripSuffix() argument
173 if (string.endsWith(suffix)) { in stripSuffix()
174 return string.substring(0, string.length() - suffix.length()); in stripSuffix()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gre/
DViewMetadataRepository.java548 String suffix = '.' + basename; in getRelatedTo() local
549 if (fqcn.endsWith(suffix)) { in getRelatedTo()
/sdk/eclipse/buildConfig/
Dbuild.properties125 #Enable / disable the generation of a suffix for the features that use .qualifier.
126 #The generated suffix is computed according to the content of the feature
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/repository/archives/
DArchiveInstaller.java1030 private File getNewTempFolder(String osBasePath, String prefix, String suffix) { in getNewTempFolder() argument
1044 String.format("%1$s.%2$s%3$02d", prefix, suffix, i)); //$NON-NLS-1$ in getNewTempFolder()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DGraphicalEditorPart.java2403 String suffix = "\""; //$NON-NLS-1$ in onClick() local
2404 find = prefix + mData[0] + suffix; in onClick()
2405 replaceWith = prefix + mData[1] + suffix; in onClick()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
DVisualRefactoring.java1249 String suffix = getText(endOffset, lineEnd); in createDeletion() local
1250 if (suffix.trim().length() > 0) { in createDeletion()
/sdk/emulator/opengl/
DDESIGN258 For simplicity, only the library name suffix will change (i.e. the
457 The third field is a name corresponding to a shared library suffix. It really