{"id":19625926,"url":"https://github.com/leoando/rendereffectsample","last_synced_at":"2026-05-16T02:01:50.573Z","repository":{"id":102996725,"uuid":"369792639","full_name":"LeoAndo/RenderEffectSample","owner":"LeoAndo","description":"RenderEffect sample (Android 12 +)","archived":false,"fork":false,"pushed_at":"2021-08-05T07:31:36.000Z","size":146,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-05T20:56:38.658Z","etag":null,"topics":["android","android12","android12-support"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LeoAndo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-05-22T11:39:06.000Z","updated_at":"2024-08-24T18:38:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"29c3e6c9-f95e-440f-809b-1d3fc2c28cc7","html_url":"https://github.com/LeoAndo/RenderEffectSample","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/LeoAndo/RenderEffectSample","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LeoAndo%2FRenderEffectSample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LeoAndo%2FRenderEffectSample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LeoAndo%2FRenderEffectSample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LeoAndo%2FRenderEffectSample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LeoAndo","download_url":"https://codeload.github.com/LeoAndo/RenderEffectSample/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LeoAndo%2FRenderEffectSample/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33087425,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-15T20:25:35.270Z","status":"online","status_checked_at":"2026-05-16T02:00:07.515Z","response_time":115,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["android","android12","android12-support"],"created_at":"2024-11-11T11:44:06.593Z","updated_at":"2026-05-16T02:01:50.532Z","avatar_url":"https://github.com/LeoAndo.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RenderEffectSample\nRenderEffect sample (Android 12 +)\n\n[日本語版README](https://github.com/LeoAndo/RenderEffectSample/blob/main/readme/README_JP.md)\n\n# Overview\nSince Android 12, the view blur function has been added to the Android API, so it is the API verification app.\n\n# API\n[RenderEffect](https://developer.android.com/reference/android/graphics/RenderEffect)\u003cbr\u003e\n[View#setRenderEffect](https://developer.android.com/reference/android/view/View#setRenderEffect(android.graphics.RenderEffect))\u003cbr\u003e\n[setBackgroundBlurRadius](https://developer.android.com/reference/android/view/Window#setBackgroundBlurRadius(int))\u003cbr\u003e\n`setBackgroundBlurRadius` is used for Window content.\u003cbr\u003e\n**Note that the following Exception will occur if `0.0` is specified for the arguments radiusX and radiusY of`View#setRenderEffect`.**\u003cbr\u003e\n```\njava.lang.IllegalArgumentException: nativePtr is null\n ```\n\n# View blur functions\n\n- Using the `setRenderEffect(android.graphics.RenderEffect)` API, you can set the blur in any view.\n  - [link](https://youtu.be/D2cU_itNDAI?t=848)\n- You can also blur what is behind the Window content\n  - [link](https://youtu.be/D2cU_itNDAI?t=871)\n\n# capture\n\n\u003cimg src=\"https://user-images.githubusercontent.com/16476224/119225374-51d1c300-bb3e-11eb-8ed7-9770f6f70b99.gif\" width=320 /\u003e\n\n# refs\n[android-12-developer-preview-2](https://android-developers.googleblog.com/2021/03/android-12-developer-preview-2.html)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleoando%2Frendereffectsample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleoando%2Frendereffectsample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleoando%2Frendereffectsample/lists"}