{"id":13643193,"url":"https://github.com/wl9739/BlurredView","last_synced_at":"2025-04-20T21:33:17.898Z","repository":{"id":45999822,"uuid":"63584624","full_name":"wl9739/BlurredView","owner":"wl9739","description":"【Deprecated】 Dynamic blur of image views for Android","archived":true,"fork":false,"pushed_at":"2016-08-25T10:33:27.000Z","size":6740,"stargazers_count":1008,"open_issues_count":1,"forks_count":160,"subscribers_count":26,"default_branch":"master","last_synced_at":"2024-11-09T14:42:12.308Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wl9739.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-07-18T08:34:23.000Z","updated_at":"2024-11-03T01:35:13.000Z","dependencies_parsed_at":"2022-07-18T04:00:33.564Z","dependency_job_id":null,"html_url":"https://github.com/wl9739/BlurredView","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wl9739%2FBlurredView","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wl9739%2FBlurredView/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wl9739%2FBlurredView/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wl9739%2FBlurredView/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wl9739","download_url":"https://codeload.github.com/wl9739/BlurredView/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249965566,"owners_count":21352926,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-02T01:01:43.553Z","updated_at":"2025-04-20T21:33:16.010Z","avatar_url":"https://github.com/wl9739.png","language":"Java","readme":"# BlurredView\n\nDynamic blur of Image Views for Android. This library is based on **RenderScript**. You can find more detail about RenderScript here: [RenderScript][1]\n\nIncludes library and small example project.\n\n![demo][2]\n\n## Gradle\n\n```Groovy\ncompile 'com.qiushui:blurredview:0.8.1'\n```\n\n## Enable RenderScript support mode:\n\n```Groovy\ndefaultConfig {\n    renderscriptTargetApi 19\n    renderscriptSupportModeEnabled true\n}\n```\n\n## How to use \n\n```XML\n\u003ccom.qiushui.blurredview.BlurredView\n      app:src=\"@drawable/dayu\"\n      app:move=\"true\"\n      android:layout_width=\"match_parent\"\n      android:layout_height=\"match_parent\"/\u003e\n```\n\n* You can use `app:src=\"@drawable/XXX\"` in layout to set the image to be blurred.Or you may use `mBlurredView.setBlurredImg();` in your java code to specify the image to be blurred. \n* You can use `mBlurredView.setBlurredLevel(int alpha)`to determine the level of blur. The value of alpha is between 0 and 100.\n* You can use `mBlurredView.setBlurredTop(int topDistance)`to make blurred image move when `app:move=\"true\"` is special. The value of topDistance is between 0 to 100.\n\nIf you want to know more about this library, see [my blog][3].\n\n## Notice\n\n* Make sure your *build tools* version is above 23.0.3 .\n* This library is only work for **.png** image.\n* Usually, you need add the following code in **defaultConfig** :\n\n```java\nndk {\n    abiFilters \"armeabi\",\"armeabi-v7a\", \"x86\", \"mips\"\n}\n```\n\nLicense\n-------\n    \n    Copyright 2016 Qiushui\n    \n    Licensed under the Apache License, Version 2.0 (the \"License\");\n    you may not use this file except in compliance with the License.\n    You may obtain a copy of the License at\n    \n       http://www.apache.org/licenses/LICENSE-2.0\n    \n    Unless required by applicable law or agreed to in writing, software\n    distributed under the License is distributed on an \"AS IS\" BASIS,\n    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n    See the License for the specific language governing permissions and\n    limitations under the License.\n\n[1]: https://developer.android.com/guide/topics/renderscript/compute.html\n[2]: https://github.com/wl9739/BlurredView/blob/master/Gif/demo.gif\n[3]: http://wl9739.github.io/2016/07/14/%E6%95%99%E4%BD%A0%E4%B8%80%E5%88%86%E9%92%9F%E5%AE%9E%E7%8E%B0%E6%A8%A1%E7%B3%8A%E6%95%88%E6%9E%9C/\n\n\n\n\n","funding_links":[],"categories":["模糊效果"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwl9739%2FBlurredView","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwl9739%2FBlurredView","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwl9739%2FBlurredView/lists"}