/frameworks/base/packages/SystemUI/src/com/android/systemui/fragments/ |
H A D | ExtensionFragmentListener.java | 28 * 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/base/core/java/android/webkit/ |
H A D | MimeTypeMap.java | 40 * 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...] |
H A D | URLUtil.java | 294 * the URL and contentDisposition. File extension, if not defined, 307 String extension = null; 343 // Split filename between base and extension 344 // Add an extension if filename does not have one 348 extension = MimeTypeMap.getSingleton().getExtensionFromMimeType(mimeType); 349 if (extension != null) { 350 extension = "." + extension; 353 if (extension == null) { 356 extension [all...] |
/frameworks/support/app-toolkit/buildSrc/src/main/kotlin/androidx/build/ |
H A D | MavenUploadHelper.kt | 27 fun apply(project: Project, extension: SupportLibraryExtension) { 29 if (extension.publish) { 30 if (extension.mavenGroup == null) { 33 if (extension.mavenVersion == null) { 36 project.group = extension.mavenGroup!! 37 project.version = extension.mavenVersion.toString() 58 if (extension.publish) { 64 "name"(extension.name) 65 "description"(extension.description) 66 "url"(extension [all...] |
H A D | SourceJarTaskHelper.kt | 29 fun setUpSoureJarTaskForAndroidProject(project: Project, extension: LibraryExtension) { 31 extension.libraryVariants.all { libraryVariant -> 39 sourceJar.from(extension.sourceSets.findByName("main")!!.java.srcDirs)
|
H A D | DiffAndDocs.kt | 162 private fun registerPrebuilts(extension: SupportLibraryExtension) = 167 val resolvedRule = rule.resolve(extension) 170 val dependency = strategy.dependency(extension) 181 private fun tipOfTreeTasks(extension: SupportLibraryExtension, setup: (DoclavaTask) -> Unit) { 182 rules.filter { rule -> rule.resolve(extension).strategy == TipOfTree } 191 fun registerJavaProject(project: Project, extension: SupportLibraryExtension) { 192 if (!hasApiTasks(project, extension)) { 197 registerPrebuilts(extension) 199 tipOfTreeTasks(extension) { task -> 222 extension [all...] |
/frameworks/support/buildSrc/src/main/kotlin/androidx/build/ |
H A D | MavenUploadHelper.kt | 27 fun apply(project: Project, extension: SupportLibraryExtension) { 29 if (extension.publish) { 30 if (extension.mavenGroup == null) { 33 if (extension.mavenVersion == null) { 36 project.group = extension.mavenGroup!! 37 project.version = extension.mavenVersion.toString() 58 if (extension.publish) { 64 "name"(extension.name) 65 "description"(extension.description) 66 "url"(extension [all...] |
H A D | SourceJarTaskHelper.kt | 29 fun setUpSoureJarTaskForAndroidProject(project: Project, extension: LibraryExtension) { 31 extension.libraryVariants.all { libraryVariant -> 39 sourceJar.from(extension.sourceSets.findByName("main")!!.java.srcDirs)
|
H A D | DiffAndDocs.kt | 162 private fun registerPrebuilts(extension: SupportLibraryExtension) = 167 val resolvedRule = rule.resolve(extension) 170 val dependency = strategy.dependency(extension) 181 private fun tipOfTreeTasks(extension: SupportLibraryExtension, setup: (DoclavaTask) -> Unit) { 182 rules.filter { rule -> rule.resolve(extension).strategy == TipOfTree } 191 fun registerJavaProject(project: Project, extension: SupportLibraryExtension) { 192 if (!hasApiTasks(project, extension)) { 197 registerPrebuilts(extension) 199 tipOfTreeTasks(extension) { task -> 222 extension [all...] |
/frameworks/native/services/surfaceflinger/RenderEngine/ |
H A D | GLExtensions.cpp | 54 bool GLExtensions::hasExtension(char const* extension) const { 55 const String8 s(extension); 80 // EGL_ANDROIDX_no_config_context is an experimental extension with no 86 // EGL_KHR_no_config_context is official extension to allow creating a 122 bool GLExtensions::hasEGLExtension(char const* extension) const { 123 const String8 s(extension);
|
H A D | GLExtensions.h | 79 bool hasExtension(char const* extension) const; 84 bool hasEGLExtension(char const* extension) const;
|
/frameworks/av/media/libstagefright/ |
H A D | StagefrightMediaScanner.cpp | 37 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/validatekeymaps/ |
H A D | Main.cpp | 70 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/base/tools/split-select/ |
H A D | SplitDescription.cpp | 71 String8 extension; local 73 if (extension.isEmpty()) { 74 extension.append(":"); 76 extension.append("-"); 78 extension.append(abi::toString(abi)); 81 str.append(extension);
|
/frameworks/support/documentfile/src/main/java/androidx/documentfile/provider/ |
H A D | RawDocumentFile.java | 40 // Tack on extension when valid MIME type provided 41 final String extension = MimeTypeMap.getSingleton().getExtensionFromMimeType(mimeType); 42 if (extension != null) { 43 displayName += "." + extension; 158 final String extension = name.substring(lastDot + 1).toLowerCase(); 159 final String mime = MimeTypeMap.getSingleton().getMimeTypeFromExtension(extension);
|
/frameworks/compile/mclinker/lib/MC/ |
H A D | SearchDirs.cpp | 108 entry.path()->extension().native()) { 122 entry.path()->extension().native()) { 173 entry.path()->extension().native()) { 187 entry.path()->extension().native()) {
|
/frameworks/data-binding/developmentPlugins/localizeMavenPlugin/src/main/groovy/android/databinding/ |
H A D | LocalizeDependenciesTask.groovy | 70 LocalizePluginExtension extension = project.extensions. 72 if (extension.localRepoDir == null || extension.otherRepoDirs == null) { 76 " otherRepoDirs. localRepoDir: " + extension.localRepoDir + 77 "\notherRepoDir:" + extension.otherRepoDirs; 82 localRepoDir = extension.localRepoDir 83 downloadAll(extension.localRepoDir, extension.otherRepoDirs)
|
/frameworks/layoutlib/rename_font/ |
H A D | build_font_single.py | 74 extension = os.path.splitext(input_path)[1].lower() 75 if extension in EXTENSIONS: 76 if not COPY_ONLY and extension == '.ttf':
|
/frameworks/av/media/libstagefright/codecs/mp3dec/src/ |
H A D | pvmp3_dec_defs.h | 127 int32 extension; member in struct:__anon586
|
H A D | pvmp3_decode_header.cpp | 179 info->extension = (temp << 23) >> 31; /* 1 */
|
/frameworks/native/vulkan/libvulkan/ |
H A D | driver_gen.h | 57 Extension extension; member in struct:vulkan::driver::ProcHook
|
/frameworks/base/media/java/android/media/ |
H A D | MediaFile.java | 139 // 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/native/vulkan/vkjson/ |
H A D | vkjson_instance.cc | 53 [extension_name](const char* extension) { 54 return strcmp(extension, extension_name) == 0; 61 [extension_name](const VkExtensionProperties& extension) { 62 return strcmp(extension.extensionName, 322 for (const auto extension : kSupportedInstanceExtensions) { 323 if (HasExtension(extension, instance.extensions)) 324 instance_extensions.push_back(extension);
|
/frameworks/base/tools/aapt2/cmd/ |
H A D | Compile.cpp | 63 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...] |
/frameworks/av/drm/drmserver/ |
H A D | PlugInManager.h | 231 String8 extension(sName.getPathExtension()); 232 // Note that the plug-in extension must exactly match case 233 return extension == String8(PLUGIN_EXTENSION);
|