Searched defs:extension (Results 1 - 21 of 21) sorted by relevance

/frameworks/base/core/java/android/webkit/
H A DMimeTypeMap.java40 * Returns the file extension or an empty string if there is no
41 * extension. This method is a convenience method for obtaining the
42 * extension of a url and has undefined results for other Strings.
44 * @return The file extension of the given url.
86 * Return the MIME type for the given extension.
87 * @param extension A file extension without the leading '.'
88 * @return The MIME type for the given extension or {@code null} if there is none.
91 public String getMimeTypeFromExtension(String extension) { argument
92 return MimeUtils.guessMimeTypeFromExtension(extension);
96 mimeTypeFromExtension(String extension) argument
105 hasExtension(String extension) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/fragments/
H A DExtensionFragmentListener.java28 * selected by the extension.
40 private ExtensionFragmentListener(View view, String tag, int id, Extension<T> extension) { argument
43 mExtension = extension;
52 public void accept(T extension) { argument
54 Fragment.class.cast(extension);
56 mOldClass, extension.getClass().getName(), mExtension.getContext());
57 mOldClass = extension.getClass().getName();
59 Log.e(TAG, extension.getClass().getName() + " must be a Fragment", e);
65 Extension<T> extension) {
66 extension
64 attachExtensonToFragment(View view, String tag, int id, Extension<T> extension) argument
[all...]
/frameworks/av/media/libstagefright/
H A DStagefrightMediaScanner.cpp37 static bool FileHasAcceptableExtension(const char *extension) { argument
50 if (!strcasecmp(extension, kValidExtensions[i])) {
78 const char *extension = strrchr(path, '.'); local
80 if (!extension) {
84 if (!FileHasAcceptableExtension(extension)) {
/frameworks/base/tools/split-select/
H A DSplitDescription.cpp71 String8 extension; local
73 if (extension.isEmpty()) {
74 extension.append(":");
76 extension.append("-");
78 extension.append(abi::toString(abi));
81 str.append(extension);
/frameworks/base/tools/validatekeymaps/
H A DMain.cpp70 const char *extension = strrchr(filename, '.'); local
71 if (extension) {
72 if (strcmp(extension, ".kl") == 0) {
75 if (strcmp(extension, ".kcm") == 0) {
78 if (strcmp(extension, ".idc") == 0) {
/frameworks/compile/mclinker/lib/Support/
H A DPath.cpp181 Path Path::extension() const { function in class:mcld::sys::fs::Path
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/util/
H A DGenerationalClassUtil.java180 ExtensionFilter(String extension) { argument
181 mExtension = extension;
/frameworks/av/drm/libdrmframework/plugins/passthru/src/
H A DDrmPassthruPlugIn.cpp162 String8 extension = path.getPathExtension(); local
163 extension.toLower();
164 return (String8(".passthru") == extension);
/frameworks/av/media/libstagefright/codecs/mp3dec/src/
H A Dpvmp3_dec_defs.h127 int32 extension; member in struct:__anon586
/frameworks/native/vulkan/libvulkan/
H A Ddriver_gen.h57 Extension extension; member in struct:vulkan::driver::ProcHook
/frameworks/av/drm/drmserver/
H A DDrmManager.cpp183 String8 extension = path.getPathExtension(); local
184 if (String8("") != extension) {
/frameworks/base/media/java/android/media/
H A DMediaFile.java139 // maps file extension to MTP format code
149 static void addFileType(String extension, int fileType, String mimeType) { argument
150 sFileTypeMap.put(extension, new MediaFileType(fileType, mimeType));
154 private static void addFileType(String extension, int fileType, String mimeType, argument
156 addFileType(extension, fileType, mimeType);
157 sFileTypeToFormatMap.put(extension, Integer.valueOf(mtpFormatCode));
339 // truncate the file extension (if any)
366 String extension = fileName.substring(lastDot + 1).toUpperCase(Locale.ROOT);
367 Integer value = sFileTypeToFormatMap.get(extension);
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/
H A DWallpaperCropActivity.java835 protected static CompressFormat convertExtensionToCompressFormat(String extension) { argument
836 return extension.equals("png") ? CompressFormat.PNG : CompressFormat.JPEG;
/frameworks/base/tools/aapt2/cmd/
H A DCompile.cpp63 std::string extension; member in struct:aapt::ResourcePathData
102 StringPiece extension; local
107 // Split on .9.png if this extension is present at the end of the file path
109 extension = "9.png";
114 extension = name.substr(dot_pos + 1, filename.size() - (dot_pos + 1));
120 extension.to_string(), config_str.to_string(), config};
140 if (!data.extension.empty()) {
141 name << "." << data.extension;
539 if (path_data.extension == "9.png") {
776 if (path_data.resource_dir == "values" && path_data.extension
[all...]
H A DLink.cpp442 for (const std::string& extension : options_.extensions_to_not_compress) {
443 if (util::EndsWith(str, extension)) {
1559 std::string extension = file::GetExtension(entry.first).to_string(); local
1560 if (options_.extensions_to_not_compress.count(extension) > 0) {
/frameworks/base/core/java/android/text/style/
H A DTtsSpan.java383 * Argument used to specify the extension part of a telephone number. Can be
387 public static final String ARG_EXTENSION = "android.arg.extension";
1322 * @param extension The extension can be a series of digits.
1325 public TelephoneBuilder setExtension(String extension) { argument
1326 return setStringArgument(TtsSpan.ARG_EXTENSION, extension);
/frameworks/native/cmds/dumpstate/
H A Ddumpstate.cpp741 // Rename extension if necessary.
744 std::string extension = entry_name.substr(idx); local
745 std::transform(extension.begin(), extension.end(), extension.begin(), ::tolower);
746 if (PROBLEMATIC_FILE_EXTENSIONS.count(extension) != 0) {
/frameworks/data-binding/internal-prebuilts/com/android/databinding/localizemaven/1.1/
H A Dlocalizemaven-1.1.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/ExportLicensesTask$__clinit__closure1$_closure5 ...
/frameworks/base/core/java/com/android/internal/widget/
H A DRecyclerView.java1308 * @param extension ViewCacheExtension to be used or null if you want to clear the existing one.
1312 public void setViewCacheExtension(ViewCacheExtension extension) { argument
1313 mRecycler.setViewCacheExtension(extension);
6086 void setViewCacheExtension(ViewCacheExtension extension) { argument
6087 mViewCacheExtension = extension;
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/
H A DRecyclerView.java1454 * @param extension ViewCacheExtension to be used or null if you want to clear the existing one.
1458 public void setViewCacheExtension(@Nullable ViewCacheExtension extension) { argument
1459 mRecycler.setViewCacheExtension(extension);
6524 void setViewCacheExtension(ViewCacheExtension extension) { argument
6525 mViewCacheExtension = extension;
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...

Completed in 108 milliseconds