Retype GitHub Action | 4a1e68c | 2022-06-21 05:48:08 +0000 | [diff] [blame] | 1 | <!DOCTYPE html> |
| 2 | <html lang="en" class="h-full"> |
| 3 | <head> |
| 4 | <meta charset="UTF-8"> |
| 5 | <meta name="viewport" content="width=device-width,initial-scale=1"> |
Retype GitHub Action | dca725f | 2022-11-20 17:25:32 +0000 | [diff] [blame^] | 6 | <meta name="turbo-cache-control" content="no-cache" data-turbo-track="reload" data-track-token="2.4.0.722280329728"> |
Retype GitHub Action | 4a1e68c | 2022-06-21 05:48:08 +0000 | [diff] [blame] | 7 | |
| 8 | <!-- See retype.com --> |
Retype GitHub Action | cce4cb8 | 2022-07-15 14:06:00 +0000 | [diff] [blame] | 9 | <meta name="generator" content="Retype 2.4.0"> |
Retype GitHub Action | 4a1e68c | 2022-06-21 05:48:08 +0000 | [diff] [blame] | 10 | |
| 11 | <!-- Primary Meta Tags --> |
Retype GitHub Action | 5d0221c | 2022-06-22 06:50:19 +0000 | [diff] [blame] | 12 | <title>Overlays - BlissRoms Docs</title> |
| 13 | <meta name="title" content="Overlays - BlissRoms Docs"> |
Retype GitHub Action | 4a1e68c | 2022-06-21 05:48:08 +0000 | [diff] [blame] | 14 | <meta name="description" content="This overlay is required to Enable battery health section." /> |
| 15 | |
| 16 | <!-- Canonical --> |
Retype GitHub Action | 5d0221c | 2022-06-22 06:50:19 +0000 | [diff] [blame] | 17 | <link rel="canonical" href="https://docs.blissroms.org/documentation/overlays/" /> |
Retype GitHub Action | 4a1e68c | 2022-06-21 05:48:08 +0000 | [diff] [blame] | 18 | |
| 19 | <!-- Open Graph / Facebook --> |
| 20 | <meta property="og:type" content="website"> |
Retype GitHub Action | 5d0221c | 2022-06-22 06:50:19 +0000 | [diff] [blame] | 21 | <meta property="og:url" content="https://docs.blissroms.org/documentation/overlays/"> |
| 22 | <meta property="og:title" content="Overlays - BlissRoms Docs"> |
Retype GitHub Action | 4a1e68c | 2022-06-21 05:48:08 +0000 | [diff] [blame] | 23 | <meta property="og:description" content="This overlay is required to Enable battery health section."> |
| 24 | |
| 25 | <!-- Twitter --> |
| 26 | <meta property="twitter:card" content="summary_large_image"> |
Retype GitHub Action | 5d0221c | 2022-06-22 06:50:19 +0000 | [diff] [blame] | 27 | <meta property="twitter:url" content="https://docs.blissroms.org/documentation/overlays/"> |
| 28 | <meta property="twitter:title" content="Overlays - BlissRoms Docs"> |
Retype GitHub Action | 4a1e68c | 2022-06-21 05:48:08 +0000 | [diff] [blame] | 29 | <meta property="twitter:description" content="This overlay is required to Enable battery health section."> |
| 30 | |
| 31 | <script>(function () { var el = document.documentElement, m = localStorage.getItem("doc_theme"), wm = window.matchMedia; if (m === "dark" || (!m && wm && wm("(prefers-color-scheme: dark)").matches)) { el.classList.add("dark") } else { el.classList.remove("dark") } })();</script> |
| 32 | |
Retype GitHub Action | dca725f | 2022-11-20 17:25:32 +0000 | [diff] [blame^] | 33 | <link href="../../resources/css/retype.css?v=2.4.0.722280329728" rel="stylesheet" /> |
Retype GitHub Action | 4a1e68c | 2022-06-21 05:48:08 +0000 | [diff] [blame] | 34 | |
Retype GitHub Action | dca725f | 2022-11-20 17:25:32 +0000 | [diff] [blame^] | 35 | <script type="text/javascript" src="../../resources/js/config.js?v=2.4.0.722280329728" data-turbo-eval="false" defer></script> |
Retype GitHub Action | cce4cb8 | 2022-07-15 14:06:00 +0000 | [diff] [blame] | 36 | <script type="text/javascript" src="../../resources/js/retype.js?v=2.4.0" data-turbo-eval="false" defer></script> |
Retype GitHub Action | dca725f | 2022-11-20 17:25:32 +0000 | [diff] [blame^] | 37 | <script id="lunr-js" type="text/javascript" src="../../resources/js/lunr.js?v=2.4.0.722280329728" data-turbo-eval="false" defer></script> |
Retype GitHub Action | 4a1e68c | 2022-06-21 05:48:08 +0000 | [diff] [blame] | 38 | </head> |
| 39 | <body> |
| 40 | <div id="docs-app" class="relative text-base antialiased text-gray-700 bg-white font-body dark:bg-dark-850 dark:text-dark-300"> |
| 41 | <div class="absolute bottom-0 left-0 bg-gray-100 dark:bg-dark-800" style="top: 5rem; right: 50%"></div> |
| 42 | |
| 43 | <header id="docs-site-header" class="sticky top-0 z-30 flex w-full h-16 bg-white border-b border-gray-200 md:h-20 dark:bg-dark-850 dark:border-dark-650"> |
| 44 | <div class="container relative flex items-center justify-between grow pr-6 md:justify-start"> |
| 45 | <!-- Mobile menu button skeleton --> |
| 46 | <button v-cloak class="skeleton docs-mobile-menu-button flex items-center justify-center shrink-0 overflow-hidden dark:text-white focus:outline-none rounded-full w-10 h-10 ml-3.5 md:hidden"><svg xmlns="http://www.w3.org/2000/svg" class="mb-px shrink-0" width="24" height="24" viewBox="0 0 24 24" role="presentation" style="margin-bottom: 0px;"><g fill="currentColor"><path d="M2 4h20v2H2zM2 11h20v2H2zM2 18h20v2H2z"></path></g></svg></button> |
| 47 | <div v-cloak id="docs-sidebar-toggle"></div> |
| 48 | |
| 49 | <!-- Logo --> |
| 50 | <div class="flex items-center justify-between h-full py-2 md:w-75"> |
| 51 | <div class="flex items-center px-2 md:px-6"> |
| 52 | <a id="docs-site-logo" href="../../" class="flex items-center leading-snug text-2xl"> |
| 53 | <span class="dark:text-white font-semibold line-clamp-1 md:line-clamp-2">BlissRoms</span> |
| 54 | </a><span class="hidden px-2 py-1 ml-4 text-sm font-semibold leading-none text-root-logo-label-text bg-root-logo-label-bg rounded-sm md:inline-block">Docs</span> |
| 55 | </div> |
| 56 | |
| 57 | <span class="hidden h-8 border-r md:inline-block dark:border-dark-650"></span> |
| 58 | </div> |
| 59 | |
| 60 | <div class="flex justify-between md:grow"> |
| 61 | <!-- Top Nav --> |
| 62 | <nav class="hidden md:flex"> |
| 63 | <ul class="flex flex-col mb-4 md:pl-16 md:mb-0 md:flex-row md:items-center"> |
| 64 | <li class="mr-6"> |
| 65 | <a class="py-2 md:mb-0 inline-flex items-center text-sm whitespace-nowrap transition-colors duration-200 ease-linear md:text-blue-500 dark:text-blue-400 hover:text-blue-800 dark:hover:text-blue-200" href="../../"> |
| 66 | <svg xmlns="http://www.w3.org/2000/svg" class="mb-px mr-1" width="18" height="18" viewBox="0 0 24 24" role="presentation"> |
| 67 | <g fill="currentColor"> |
| 68 | <path fill-rule="evenodd" d="M11.03 2.59a1.5 1.5 0 011.94 0l7.5 6.363a1.5 1.5 0 01.53 1.144V19.5a1.5 1.5 0 01-1.5 1.5h-5.75a.75.75 0 01-.75-.75V14h-2v6.25a.75.75 0 01-.75.75H4.5A1.5 1.5 0 013 19.5v-9.403c0-.44.194-.859.53-1.144l7.5-6.363zM12 3.734l-7.5 6.363V19.5h5v-6.25a.75.75 0 01.75-.75h3.5a.75.75 0 01.75.75v6.25h5v-9.403L12 3.734z"/> |
| 69 | </g> |
| 70 | </svg> |
| 71 | <span>Home</span> |
| 72 | </a> |
| 73 | </li> |
| 74 | |
| 75 | </ul> |
| 76 | </nav> |
| 77 | |
| 78 | <!-- Header Right Skeleton --> |
| 79 | <div v-cloak class="flex justify-end grow skeleton"> |
| 80 | |
| 81 | <!-- Search input mock --> |
| 82 | <div class="relative hidden w-40 lg:block lg:max-w-sm lg:ml-auto"> |
| 83 | <div class="absolute flex items-center justify-center h-full pl-3 dark:text-dark-300"> |
| 84 | <svg xmlns="http://www.w3.org/2000/svg" class="icon-base" width="16" height="16" viewBox="0 0 24 24" aria-labelledby="icon" role="presentation" style="margin-bottom: 1px;"><g fill="currentColor" ><path d="M21.71 20.29l-3.68-3.68A8.963 8.963 0 0020 11c0-4.96-4.04-9-9-9s-9 4.04-9 9 4.04 9 9 9c2.12 0 4.07-.74 5.61-1.97l3.68 3.68c.2.19.45.29.71.29s.51-.1.71-.29c.39-.39.39-1.03 0-1.42zM4 11c0-3.86 3.14-7 7-7s7 3.14 7 7c0 1.92-.78 3.66-2.04 4.93-.01.01-.02.01-.02.01-.01.01-.01.01-.01.02A6.98 6.98 0 0111 18c-3.86 0-7-3.14-7-7z" ></path></g></svg> |
| 85 | </div> |
| 86 | |
| 87 | <input class="w-full h-10 transition-colors duration-200 ease-in bg-gray-200 border border-transparent rounded md:text-sm hover:bg-white hover:border-gray-300 focus:outline-none focus:bg-white focus:border-gray-500 dark:bg-dark-600 dark:border-dark-600 placeholder-gray-400 dark:placeholder-dark-400" |
| 88 | style="padding: 0.625rem 0.75rem 0.625rem 2rem" type="text" placeholder="Search" /> |
| 89 | </div> |
| 90 | |
| 91 | <!-- Mobile search button mock --> |
| 92 | <div class="flex items-center justify-center w-10 h-10 lg:hidden"> |
| 93 | <svg xmlns="http://www.w3.org/2000/svg" class="shrink-0 icon-base" width="20" height="20" viewBox="0 0 24 24" aria-labelledby="icon" role="presentation" style="margin-bottom: 0px;"><g fill="currentColor" ><path d="M21.71 20.29l-3.68-3.68A8.963 8.963 0 0020 11c0-4.96-4.04-9-9-9s-9 4.04-9 9 4.04 9 9 9c2.12 0 4.07-.74 5.61-1.97l3.68 3.68c.2.19.45.29.71.29s.51-.1.71-.29c.39-.39.39-1.03 0-1.42zM4 11c0-3.86 3.14-7 7-7s7 3.14 7 7c0 1.92-.78 3.66-2.04 4.93-.01.01-.02.01-.02.01-.01.01-.01.01-.01.02A6.98 6.98 0 0111 18c-3.86 0-7-3.14-7-7z" ></path></g></svg> |
| 94 | </div> |
| 95 | |
| 96 | <!-- Dark mode switch placehokder --> |
| 97 | <div class="w-10 h-10 lg:ml-2"></div> |
| 98 | |
| 99 | <!-- History button mock --> |
| 100 | <div class="flex items-center justify-center w-10 h-10" style="margin-right: -0.625rem;"> |
| 101 | <svg xmlns="http://www.w3.org/2000/svg" class="shrink-0 icon-base" width="22" height="22" viewBox="0 0 24 24" aria-labelledby="icon" role="presentation" style="margin-bottom: 0px;"><g fill="currentColor" ><g ><path d="M12.01 6.01c-.55 0-1 .45-1 1V12a1 1 0 00.4.8l3 2.22a.985.985 0 001.39-.2.996.996 0 00-.21-1.4l-2.6-1.92V7.01c.02-.55-.43-1-.98-1z"></path><path d="M12.01 1.91c-5.33 0-9.69 4.16-10.05 9.4l-.29-.26a.997.997 0 10-1.34 1.48l1.97 1.79c.19.17.43.26.67.26s.48-.09.67-.26l1.97-1.79a.997.997 0 10-1.34-1.48l-.31.28c.34-4.14 3.82-7.41 8.05-7.41 4.46 0 8.08 3.63 8.08 8.09s-3.63 8.08-8.08 8.08c-2.18 0-4.22-.85-5.75-2.4a.996.996 0 10-1.42 1.4 10.02 10.02 0 007.17 2.99c5.56 0 10.08-4.52 10.08-10.08.01-5.56-4.52-10.09-10.08-10.09z"></path></g></g></svg> |
| 102 | </div> |
| 103 | </div> |
| 104 | |
| 105 | <div v-cloak class="flex justify-end grow"> |
| 106 | <div id="docs-mobile-search-button"></div> |
| 107 | <doc-search-desktop></doc-search-desktop> |
| 108 | |
| 109 | <doc-theme-switch class="lg:ml-2"></doc-theme-switch> |
| 110 | <doc-history></doc-history> |
| 111 | </div> |
| 112 | </div> |
| 113 | </div> |
| 114 | </header> |
| 115 | |
| 116 | <div class="container relative flex bg-white"> |
| 117 | <!-- Sidebar Skeleton --> |
| 118 | <div v-cloak class="fixed flex flex-col shrink-0 duration-300 ease-in-out bg-gray-100 border-gray-200 sidebar top-20 w-75 border-r h-screen md:sticky transition-transform skeleton dark:bg-dark-800 dark:border-dark-650"> |
| 119 | |
| 120 | <!-- Render this div, if config.showSidebarFilter is `true` --> |
| 121 | <div class="flex items-center h-16 px-6"> |
| 122 | <input class="w-full h-8 px-3 py-2 transition-colors duration-200 ease-linear bg-white border border-gray-200 rounded shadow-none text-sm focus:outline-none focus:border-gray-600 dark:bg-dark-600 dark:border-dark-600" type="text" placeholder="Filter" /> |
| 123 | </div> |
| 124 | |
| 125 | <div class="pl-6 mb-4 mt-1"> |
| 126 | <div class="w-32 h-3 mb-4 bg-gray-200 rounded-full loading dark:bg-dark-600"></div> |
| 127 | <div class="w-48 h-3 mb-4 bg-gray-200 rounded-full loading dark:bg-dark-600"></div> |
| 128 | <div class="w-40 h-3 mb-4 bg-gray-200 rounded-full loading dark:bg-dark-600"></div> |
| 129 | <div class="w-32 h-3 mb-4 bg-gray-200 rounded-full loading dark:bg-dark-600"></div> |
| 130 | <div class="w-48 h-3 mb-4 bg-gray-200 rounded-full loading dark:bg-dark-600"></div> |
| 131 | <div class="w-40 h-3 mb-4 bg-gray-200 rounded-full loading dark:bg-dark-600"></div> |
| 132 | </div> |
| 133 | |
| 134 | <div class="shrink-0 mt-auto bg-transparent dark:border-dark-650"> |
| 135 | <a class="flex items-center justify-center flex-nowrap h-16 text-gray-400 dark:text-dark-400 hover:text-gray-700 dark:hover:text-dark-300 transition-colors duration-150 ease-in docs-powered-by" target="_blank" href="https://retype.com/" rel="noopener"> |
| 136 | <span class="text-xs whitespace-nowrap">Powered by</span> |
| 137 | <svg xmlns="http://www.w3.org/2000/svg" class="ml-2" fill="currentColor" width="96" height="20" overflow="visible"><path d="M0 0v20h13.59V0H0zm11.15 17.54H2.44V2.46h8.71v15.08zM15.8 20h2.44V4.67L15.8 2.22zM20.45 6.89V20h2.44V9.34z"/><g><path d="M40.16 8.44c0 1.49-.59 2.45-1.75 2.88l2.34 3.32h-2.53l-2.04-2.96h-1.43v2.96h-2.06V5.36h3.5c1.43 0 2.46.24 3.07.73s.9 1.27.9 2.35zm-2.48 1.1c.26-.23.38-.59.38-1.09 0-.5-.13-.84-.4-1.03s-.73-.28-1.39-.28h-1.54v2.75h1.5c.72 0 1.2-.12 1.45-.35zM51.56 5.36V7.2h-4.59v1.91h4.13v1.76h-4.13v1.92h4.74v1.83h-6.79V5.36h6.64zM60.09 7.15v7.48h-2.06V7.15h-2.61V5.36h7.28v1.79h-2.61zM70.81 14.64h-2.06v-3.66l-3.19-5.61h2.23l1.99 3.45 1.99-3.45H74l-3.19 5.61v3.66zM83.99 6.19c.65.55.97 1.4.97 2.55s-.33 1.98-1 2.51-1.68.8-3.04.8h-1.23v2.59h-2.06V5.36h3.26c1.42 0 2.45.28 3.1.83zm-1.51 3.65c.25-.28.37-.69.37-1.22s-.16-.92-.48-1.14c-.32-.23-.82-.34-1.5-.34H79.7v3.12h1.38c.68 0 1.15-.14 1.4-.42zM95.85 5.36V7.2h-4.59v1.91h4.13v1.76h-4.13v1.92H96v1.83h-6.79V5.36h6.64z"/></g></svg> |
| 138 | </a> |
| 139 | </div> |
| 140 | </div> |
| 141 | |
| 142 | <!-- Sidebar component --> |
| 143 | <doc-sidebar v-cloak> |
| 144 | <template #sidebar-footer> |
| 145 | <div class="shrink-0 mt-auto border-t md:bg-transparent md:border-none dark:border-dark-650"> |
| 146 | |
| 147 | <div class="py-3 px-6 md:hidden border-b dark:border-dark-650"> |
| 148 | <nav> |
| 149 | <ul class="flex flex-wrap justify-center items-center"> |
| 150 | <li class="mr-6"> |
| 151 | <a class="block py-1 inline-flex items-center text-sm whitespace-nowrap transition-colors duration-200 ease-linear md:text-blue-500 dark:text-blue-400 hover:text-blue-800 dark:hover:text-blue-200" href="../../"> |
| 152 | <svg xmlns="http://www.w3.org/2000/svg" class="mb-px mr-1" width="18" height="18" viewBox="0 0 24 24" role="presentation"> |
| 153 | <g fill="currentColor"> |
| 154 | <path fill-rule="evenodd" d="M11.03 2.59a1.5 1.5 0 011.94 0l7.5 6.363a1.5 1.5 0 01.53 1.144V19.5a1.5 1.5 0 01-1.5 1.5h-5.75a.75.75 0 01-.75-.75V14h-2v6.25a.75.75 0 01-.75.75H4.5A1.5 1.5 0 013 19.5v-9.403c0-.44.194-.859.53-1.144l7.5-6.363zM12 3.734l-7.5 6.363V19.5h5v-6.25a.75.75 0 01.75-.75h3.5a.75.75 0 01.75.75v6.25h5v-9.403L12 3.734z"/> |
| 155 | </g> |
| 156 | </svg> |
| 157 | <span>Home</span> |
| 158 | </a> |
| 159 | </li> |
| 160 | |
| 161 | </ul> |
| 162 | </nav> |
| 163 | </div> |
| 164 | |
| 165 | <a class="flex items-center justify-center flex-nowrap h-16 text-gray-400 dark:text-dark-400 hover:text-gray-700 dark:hover:text-dark-300 transition-colors duration-150 ease-in docs-powered-by" target="_blank" href="https://retype.com/" rel="noopener"> |
| 166 | <span class="text-xs whitespace-nowrap">Powered by</span> |
| 167 | <svg xmlns="http://www.w3.org/2000/svg" class="ml-2" fill="currentColor" width="96" height="20" overflow="visible"><path d="M0 0v20h13.59V0H0zm11.15 17.54H2.44V2.46h8.71v15.08zM15.8 20h2.44V4.67L15.8 2.22zM20.45 6.89V20h2.44V9.34z"/><g><path d="M40.16 8.44c0 1.49-.59 2.45-1.75 2.88l2.34 3.32h-2.53l-2.04-2.96h-1.43v2.96h-2.06V5.36h3.5c1.43 0 2.46.24 3.07.73s.9 1.27.9 2.35zm-2.48 1.1c.26-.23.38-.59.38-1.09 0-.5-.13-.84-.4-1.03s-.73-.28-1.39-.28h-1.54v2.75h1.5c.72 0 1.2-.12 1.45-.35zM51.56 5.36V7.2h-4.59v1.91h4.13v1.76h-4.13v1.92h4.74v1.83h-6.79V5.36h6.64zM60.09 7.15v7.48h-2.06V7.15h-2.61V5.36h7.28v1.79h-2.61zM70.81 14.64h-2.06v-3.66l-3.19-5.61h2.23l1.99 3.45 1.99-3.45H74l-3.19 5.61v3.66zM83.99 6.19c.65.55.97 1.4.97 2.55s-.33 1.98-1 2.51-1.68.8-3.04.8h-1.23v2.59h-2.06V5.36h3.26c1.42 0 2.45.28 3.1.83zm-1.51 3.65c.25-.28.37-.69.37-1.22s-.16-.92-.48-1.14c-.32-.23-.82-.34-1.5-.34H79.7v3.12h1.38c.68 0 1.15-.14 1.4-.42zM95.85 5.36V7.2h-4.59v1.91h4.13v1.76h-4.13v1.92H96v1.83h-6.79V5.36h6.64z"/></g></svg> |
| 168 | </a> |
| 169 | </div> |
| 170 | </template> |
| 171 | </doc-sidebar> |
| 172 | |
| 173 | <div class="grow min-w-0 dark:bg-dark-850"> |
| 174 | <!-- Render "toolbar" template here on api pages --><!-- Render page content --> |
| 175 | <div class="flex"> |
| 176 | <div class="grow min-w-0 px-6 md:px-16"> |
| 177 | <main class="relative pt-6 pb-16"> |
| 178 | <div class="docs-markdown" id="docs-content"> |
| 179 | <!-- Rendered if sidebar right is enabled --> |
| 180 | <div id="docs-sidebar-right-toggle"></div> |
| 181 | |
| 182 | <!-- Page content --> |
Retype GitHub Action | 5d0221c | 2022-06-22 06:50:19 +0000 | [diff] [blame] | 183 | <doc-anchor-target id="overlays" class="break-words"> |
Retype GitHub Action | 4a1e68c | 2022-06-21 05:48:08 +0000 | [diff] [blame] | 184 | <h1> |
Retype GitHub Action | 5d0221c | 2022-06-22 06:50:19 +0000 | [diff] [blame] | 185 | <doc-anchor-trigger class="header-anchor-trigger" to="#overlays">#</doc-anchor-trigger> |
| 186 | <span>Overlays</span> |
Retype GitHub Action | 4a1e68c | 2022-06-21 05:48:08 +0000 | [diff] [blame] | 187 | </h1> |
| 188 | </doc-anchor-target> |
| 189 | <doc-anchor-target id="general-overlays"> |
| 190 | <h2> |
| 191 | <doc-anchor-trigger class="header-anchor-trigger" to="#general-overlays">#</doc-anchor-trigger> |
| 192 | <span>General Overlays</span> |
| 193 | </h2> |
| 194 | </doc-anchor-target> |
| 195 | <doc-anchor-target id="-battery-health-overlay"> |
| 196 | <h2> |
| 197 | <doc-anchor-trigger class="header-anchor-trigger" to="#-battery-health-overlay">#</doc-anchor-trigger> |
| 198 | <span>• Battery Health Overlay</span> |
| 199 | </h2> |
| 200 | </doc-anchor-target> |
| 201 | <div class="codeblock-wrapper"><doc-codeblock> |
Retype GitHub Action | 7d62fed | 2022-07-28 03:27:36 +0000 | [diff] [blame] | 202 | <pre class="language-none"><code v-pre class="language-none">Overlay Path: overlay-bliss/packages/apps/Settings/res/values/bliss_config.xml |
Retype GitHub Action | 4a1e68c | 2022-06-21 05:48:08 +0000 | [diff] [blame] | 203 | Default status: Disabled</code></pre> |
| 204 | </doc-codeblock></div> |
| 205 | <p>This overlay is required to Enable battery health section.</p> |
| 206 | <div class="codeblock-wrapper"><doc-codeblock> |
| 207 | <pre class="language-none"><code v-pre class="language-none"> <!-- Battery Health --> |
| 208 | <bool name="config_supportBatteryHealth">true</bool></code></pre> |
| 209 | </doc-codeblock></div> |
| 210 | <p>This overlay is required to Enable battery charging cycle counts in battery page in setting app.</p> |
| 211 | <div class="codeblock-wrapper"><doc-codeblock> |
| 212 | <pre class="language-none"><code v-pre class="language-none"> <!-- Battery Charging cycle counts --> |
| 213 | <bool name="config_showChargingCycles">true</bool></code></pre> |
| 214 | </doc-codeblock></div> |
| 215 | <p>You will need to check your available kernel nodes before selecting them |
| 216 | Note that nodes availability depends on kernel version</p> |
| 217 | <p><strong>Example</strong></p> |
| 218 | <div class="codeblock-wrapper"><doc-codeblock> |
| 219 | <pre class="language-none"><code v-pre class="language-none"> <!-- Battery Health Info nodes --> |
| 220 | <string name="config_batDesCap">/sys/class/power_supply/bms/charge_full_design</string> |
| 221 | <string name="config_batCurCap">/sys/class/power_supply/bms/charge_now_raw</string> |
| 222 | <string name="config_batChargeCycle">/sys/class/power_supply/bms/cycle_count</string></code></pre> |
| 223 | </doc-codeblock></div> |
| 224 | <doc-anchor-target id="-charging-support-overlay"> |
| 225 | <h2> |
| 226 | <doc-anchor-trigger class="header-anchor-trigger" to="#-charging-support-overlay">#</doc-anchor-trigger> |
| 227 | <span>• Charging Support Overlay</span> |
| 228 | </h2> |
| 229 | </doc-anchor-target> |
| 230 | <div class="codeblock-wrapper"><doc-codeblock> |
Retype GitHub Action | 7d62fed | 2022-07-28 03:27:36 +0000 | [diff] [blame] | 231 | <pre class="language-none"><code v-pre class="language-none">Overlay Path: overlay-bliss/frameworks/base/core/res/res/values/bliss_config.xml |
Retype GitHub Action | 4a1e68c | 2022-06-21 05:48:08 +0000 | [diff] [blame] | 232 | Default status: Disabled</code></pre> |
| 233 | </doc-codeblock></div> |
| 234 | <p><strong>- VOOC Charging ( If your device supports )</strong></p> |
| 235 | <p>This overlay is required to Enable <strong>VOOC charging support</strong>.</p> |
| 236 | <div class="codeblock-wrapper"><doc-codeblock> |
| 237 | <pre class="language-none"><code v-pre class="language-none"> <!-- Whether device has VOOC charging support --> |
| 238 | <bool name="config_hasVoocCharger">true</bool></code></pre> |
| 239 | </doc-codeblock></div> |
| 240 | <p><strong>- WARP Charging ( If your device supports )</strong></p> |
| 241 | <p>This overlay is required to Enable <strong>Warp charging support</strong>.</p> |
| 242 | <div class="codeblock-wrapper"><doc-codeblock> |
| 243 | <pre class="language-none"><code v-pre class="language-none"> <!-- Whether device has warp charging support --> |
| 244 | <bool name="config_hasWarpCharger">true</bool></code></pre> |
| 245 | </doc-codeblock></div> |
| 246 | <p><strong>- Dash Charging ( If your device supports )</strong></p> |
| 247 | <p>This overlay is required to Enable <strong>Dash charging support</strong>.</p> |
| 248 | <div class="codeblock-wrapper"><doc-codeblock> |
| 249 | <pre class="language-none"><code v-pre class="language-none"> <!-- Whether device has dash charging support --> |
| 250 | <bool name="config_hasDashCharger">true</bool></code></pre> |
| 251 | </doc-codeblock></div> |
| 252 | <doc-anchor-target id="-smart-charging"> |
| 253 | <h2> |
| 254 | <doc-anchor-trigger class="header-anchor-trigger" to="#-smart-charging">#</doc-anchor-trigger> |
| 255 | <span>• Smart Charging</span> |
| 256 | </h2> |
| 257 | </doc-anchor-target> |
| 258 | <div class="codeblock-wrapper"><doc-codeblock> |
Retype GitHub Action | 7d62fed | 2022-07-28 03:27:36 +0000 | [diff] [blame] | 259 | <pre class="language-none"><code v-pre class="language-none">Overlay Path: overlay-bliss/packages/apps/Settings/res/values/bliss_config.xml |
Retype GitHub Action | 4a1e68c | 2022-06-21 05:48:08 +0000 | [diff] [blame] | 260 | Default status: Disabled</code></pre> |
| 261 | </doc-codeblock></div> |
| 262 | <p>This overlay is required to make Smart Charging feature functioning.</p> |
| 263 | <div class="codeblock-wrapper"><doc-codeblock> |
| 264 | <pre class="language-none"><code v-pre class="language-none"> <!-- Smart Charging --> |
| 265 | <bool name="config_supportSmartFeatures">true</bool></code></pre> |
| 266 | </doc-codeblock></div> |
| 267 | <p><strong>Example</strong></p> |
| 268 | <div class="codeblock-wrapper"><doc-codeblock> |
| 269 | <pre class="language-none"><code v-pre class="language-none"> <!-- Smart charge sysfs node and value for suspend/resume charging--> |
| 270 | <integer name="config_smartChargingBatteryLevel">80</integer> |
| 271 | <integer name="config_smartChargingBatteryResumeLevel">60</integer> |
| 272 | <string name="config_SmartChargingSysfsNode" translatable="false">/sys/class/power_supply/battery/charging_enabled</string> |
| 273 | <string name="config_SmartChargingSuspendValue" translatable="false">0</string> |
| 274 | <string name="config_SmartChargingResumeValue" translatable="false">1</string></code></pre> |
| 275 | </doc-codeblock></div> |
| 276 | <doc-anchor-target id="-live-display"> |
| 277 | <h2> |
| 278 | <doc-anchor-trigger class="header-anchor-trigger" to="#-live-display">#</doc-anchor-trigger> |
| 279 | <span>• Live Display</span> |
| 280 | </h2> |
| 281 | </doc-anchor-target> |
| 282 | <div class="codeblock-wrapper"><doc-codeblock> |
Retype GitHub Action | 7d62fed | 2022-07-28 03:27:36 +0000 | [diff] [blame] | 283 | <pre class="language-none"><code v-pre class="language-none">Overlay Path: overlay-bliss/frameworks/base/core/res/res/values/bliss_config.xml |
Retype GitHub Action | 4a1e68c | 2022-06-21 05:48:08 +0000 | [diff] [blame] | 284 | Default status: Disabled</code></pre> |
| 285 | </doc-codeblock></div> |
| 286 | <p>This overlay is required to make Live Display feature functioning.</p> |
| 287 | <div class="codeblock-wrapper"><doc-codeblock> |
| 288 | <pre class="language-none"><code v-pre class="language-none"> <!-- Default state for LiveDisplay --> |
| 289 | <bool name="config_enableLiveDisplay">true</bool></code></pre> |
| 290 | </doc-codeblock></div> |
| 291 | <doc-anchor-target id="-multi-usb-controller-overlay-only-for-asus-rog-devices"> |
| 292 | <h2> |
| 293 | <doc-anchor-trigger class="header-anchor-trigger" to="#-multi-usb-controller-overlay-only-for-asus-rog-devices">#</doc-anchor-trigger> |
| 294 | <span>• Multi usb controller overlay (ONLY FOR ASUS ROG DEVICES)</span> |
| 295 | </h2> |
| 296 | </doc-anchor-target> |
| 297 | <div class="codeblock-wrapper"><doc-codeblock> |
Retype GitHub Action | 7d62fed | 2022-07-28 03:27:36 +0000 | [diff] [blame] | 298 | <pre class="language-none"><code v-pre class="language-none">Overlay Path: overlay-bliss/frameworks/base/core/res/res/values/bliss_config.xml |
Retype GitHub Action | 4a1e68c | 2022-06-21 05:48:08 +0000 | [diff] [blame] | 299 | Default status: Disabled</code></pre> |
| 300 | </doc-codeblock></div> |
| 301 | <p>Since all ROG devices have 2 usb ports. We can use both for mtp, not just as charger.</p> |
| 302 | <p>This overlay is required to add support for Multi USB Controller.</p> |
| 303 | <div class="codeblock-wrapper"><doc-codeblock> |
| 304 | <pre class="language-none"><code v-pre class="language-none"> <!-- Switch USB controller on Asus ROG devices--> |
| 305 | <bool name="config_switchUsbController">true</bool></code></pre> |
| 306 | </doc-codeblock></div> |
| 307 | <doc-anchor-target id="-high-aspect-ratio"> |
| 308 | <h2> |
| 309 | <doc-anchor-trigger class="header-anchor-trigger" to="#-high-aspect-ratio">#</doc-anchor-trigger> |
| 310 | <span>• High Aspect Ratio</span> |
| 311 | </h2> |
| 312 | </doc-anchor-target> |
| 313 | <div class="codeblock-wrapper"><doc-codeblock> |
Retype GitHub Action | 7d62fed | 2022-07-28 03:27:36 +0000 | [diff] [blame] | 314 | <pre class="language-none"><code v-pre class="language-none">Overlay Path: overlay-bliss/frameworks/base/core/res/res/values/config.xml |
Retype GitHub Action | 4a1e68c | 2022-06-21 05:48:08 +0000 | [diff] [blame] | 315 | Default status: Disabled</code></pre> |
| 316 | </doc-codeblock></div> |
| 317 | <p>This overlay is required to make full screen apps function working properly</p> |
| 318 | <div class="codeblock-wrapper"><doc-codeblock> |
| 319 | <pre class="language-none"><code v-pre class="language-none"> <!-- Define that we use a higher screen ratio (18:9) than standard (16:9) --> |
| 320 | <bool name="config_haveHigherAspectRatioScreen">true</bool></code></pre> |
| 321 | </doc-codeblock></div> |
| 322 | <doc-anchor-target id="-multi-colour-led"> |
| 323 | <h2> |
| 324 | <doc-anchor-trigger class="header-anchor-trigger" to="#-multi-colour-led">#</doc-anchor-trigger> |
| 325 | <span>• Multi-colour LED</span> |
| 326 | </h2> |
| 327 | </doc-anchor-target> |
| 328 | <div class="codeblock-wrapper"><doc-codeblock> |
Retype GitHub Action | 7d62fed | 2022-07-28 03:27:36 +0000 | [diff] [blame] | 329 | <pre class="language-none"><code v-pre class="language-none">Overlay Path: overlay-bliss/frameworks/base/core/res/res/values/bliss_config.xml |
Retype GitHub Action | 4a1e68c | 2022-06-21 05:48:08 +0000 | [diff] [blame] | 330 | Default status: Enabled</code></pre> |
| 331 | </doc-codeblock></div> |
| 332 | <p>This overlay is required to Enable Multi-coloured LED lights for supported devices.</p> |
| 333 | <div class="flex mb-6"> |
| 334 | <div class="shrink-0 w-1 rounded-tl rounded-bl bg-blue-500 dark:bg-blue-400"></div> |
| 335 | <div class="flex w-full py-4 border border-l-0 border-gray-300 rounded-tr rounded-br doc-alert bg-white dark:bg-dark-700 dark:border-dark-700" role="alert"> |
| 336 | <div class="flex items-center ml-4 h-7"> |
| 337 | <svg xmlns="http://www.w3.org/2000/svg" class="mb-px text-blue-500 dark:text-blue-400" width="22" height="22" viewBox="0 0 24 24" role="presentation"> |
| 338 | <g fill="currentColor"><g> |
| 339 | <path d="M12 1C5.93 1 1 5.93 1 12s4.93 11 11 11 11-4.93 11-11S18.07 1 12 1zm0 20c-4.96 0-9-4.04-9-9s4.04-9 9-9 9 4.04 9 9-4.04 9-9 9z"></path> |
| 340 | <path d="M12 11c-.55 0-1 .45-1 1v4c0 .55.45 1 1 1s1-.45 1-1v-4c0-.55-.45-1-1-1zM12.01 7c-.56 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1z"></path> |
| 341 | <path fill="none" d="M0 0h24v24H0z"></path> |
| 342 | </g></g> |
| 343 | </svg> |
| 344 | </div> |
| 345 | <div class="pr-5 ml-3 w-full"> |
| 346 | <p>For most of the Xiaomi devices, this must be set to 'false' as they have white-only LEDs.</p> |
| 347 | </div> |
| 348 | </div> |
| 349 | </div> |
| 350 | <div class="codeblock-wrapper"><doc-codeblock> |
| 351 | <pre class="language-none"><code v-pre class="language-none"> <!-- Does the notification LED support multiple colors? |
| 352 | Used to decide if the user can change the colors --> |
Retype GitHub Action | dca725f | 2022-11-20 17:25:32 +0000 | [diff] [blame^] | 353 | <bool name="config_multiColorBatteryLed">false</bool></code></pre> |
Retype GitHub Action | 4a1e68c | 2022-06-21 05:48:08 +0000 | [diff] [blame] | 354 | </doc-codeblock></div> |
| 355 | <doc-anchor-target id="-call-recording"> |
| 356 | <h2> |
| 357 | <doc-anchor-trigger class="header-anchor-trigger" to="#-call-recording">#</doc-anchor-trigger> |
| 358 | <span>• Call Recording</span> |
| 359 | </h2> |
| 360 | </doc-anchor-target> |
| 361 | <div class="flex mb-6"> |
| 362 | <div class="shrink-0 w-1 rounded-tl rounded-bl bg-blue-500 dark:bg-blue-400"></div> |
| 363 | <div class="flex w-full py-4 border border-l-0 border-gray-300 rounded-tr rounded-br doc-alert bg-white dark:bg-dark-700 dark:border-dark-700" role="alert"> |
| 364 | <div class="flex items-center ml-4 h-7"> |
| 365 | <svg xmlns="http://www.w3.org/2000/svg" class="mb-px text-blue-500 dark:text-blue-400" width="22" height="22" viewBox="0 0 24 24" role="presentation"> |
| 366 | <g fill="currentColor"><g> |
| 367 | <path d="M12 1C5.93 1 1 5.93 1 12s4.93 11 11 11 11-4.93 11-11S18.07 1 12 1zm0 20c-4.96 0-9-4.04-9-9s4.04-9 9-9 9 4.04 9 9-4.04 9-9 9z"></path> |
| 368 | <path d="M12 11c-.55 0-1 .45-1 1v4c0 .55.45 1 1 1s1-.45 1-1v-4c0-.55-.45-1-1-1zM12.01 7c-.56 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1z"></path> |
| 369 | <path fill="none" d="M0 0h24v24H0z"></path> |
| 370 | </g></g> |
| 371 | </svg> |
| 372 | </div> |
| 373 | <div class="pr-5 ml-3 w-full"> |
| 374 | <p>This feature only works on AOSP Dialer and not on Google Dialer.</p> |
| 375 | </div> |
| 376 | </div> |
| 377 | </div> |
| 378 | <div class="codeblock-wrapper"><doc-codeblock> |
| 379 | <pre class="language-none"><code v-pre class="language-none">Overlay Path: overlay/packages/apps/Dialer/java/com/android/dialer/callrecord/res/values/config.xml |
| 380 | Default status: Disabled</code></pre> |
| 381 | </doc-codeblock></div> |
| 382 | <p>This overlay is required to Enable Call recording on AOSP Dialer's.</p> |
| 383 | <div class="codeblock-wrapper"><doc-codeblock> |
| 384 | <pre class="language-none"><code v-pre class="language-none"> <!-- Enable Call recording --> |
| 385 | <bool name="call_recording_enabled">true</bool> |
| 386 | <integer name="call_recording_audio_source">4</integer></code></pre> |
| 387 | </doc-codeblock></div> |
| 388 | <div class="flex mb-6"> |
| 389 | <div class="shrink-0 w-1 rounded-tl rounded-bl bg-yellow-500"></div> |
| 390 | <div class="flex w-full py-4 border border-l-0 border-gray-300 rounded-tr rounded-br doc-alert bg-white dark:bg-dark-700 dark:border-dark-700" role="alert"> |
| 391 | <div class="flex items-center ml-4 h-7"> |
| 392 | <svg xmlns="http://www.w3.org/2000/svg" class="mb-px text-yellow-500" width="22" height="22" viewBox="0 0 24 24" role="presentation"> |
| 393 | <g fill="currentColor"><g> |
| 394 | <path d="M22.48 15.59L14.01 1.45A2.968 2.968 0 0012.16.09c-.78-.19-1.58-.07-2.27.35-.41.25-.76.6-1.01 1.01v.01L.4 15.6c-.83 1.43-.33 3.27 1.1 4.1.45.26.95.4 1.48.4h16.95c.8-.01 1.55-.33 2.11-.9.56-.57.87-1.33.86-2.13a3.04 3.04 0 00-.42-1.48zm-1.87 2.21c-.19.19-.44.3-.69.3H2.99c-.17 0-.34-.05-.49-.13a.992.992 0 01-.37-1.35L10.6 2.48c.08-.14.2-.25.34-.33a.992.992 0 011.37.33l8.46 14.13c.09.15.13.32.13.49 0 .26-.1.51-.29.7z"></path> |
| 395 | <path d="M11.45 12.1c.55 0 1-.45 1-1v-4c0-.55-.45-1-1-1s-1 .45-1 1v4c0 .56.45 1 1 1zM11.46 14.1c-.56 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1z"></path> |
| 396 | </g></g> |
| 397 | </svg> |
| 398 | </div> |
| 399 | <div class="pr-5 ml-3 w-full"> |
| 400 | <p>Call recording is illegal in some countries. Kindly refer to local laws before enabling this feature!!</p> |
| 401 | </div> |
| 402 | </div> |
| 403 | </div> |
Retype GitHub Action | 7d62fed | 2022-07-28 03:27:36 +0000 | [diff] [blame] | 404 | <doc-anchor-target id="udfps-specific-overlays"> |
| 405 | <h2> |
| 406 | <doc-anchor-trigger class="header-anchor-trigger" to="#udfps-specific-overlays">#</doc-anchor-trigger> |
| 407 | <span>UDFPS Specific Overlays</span> |
| 408 | </h2> |
| 409 | </doc-anchor-target> |
| 410 | <doc-anchor-target id="-udfps-support"> |
| 411 | <h2> |
| 412 | <doc-anchor-trigger class="header-anchor-trigger" to="#-udfps-support">#</doc-anchor-trigger> |
| 413 | <span>• UDFPS Support</span> |
| 414 | </h2> |
| 415 | </doc-anchor-target> |
| 416 | <div class="codeblock-wrapper"><doc-codeblock> |
| 417 | <pre class="language-none"><code v-pre class="language-none">Overlay Path: overlay-bliss/frameworks/base/core/res/res/values/bliss_config.xml</code></pre> |
| 418 | </doc-codeblock></div> |
| 419 | <p>This overlay is required to Enable UDFPS Support. The overlay is used to determine HBM Type for UDFPS. Required inorder for UDFPS to work.</p> |
| 420 | <div class="codeblock-wrapper"><doc-codeblock> |
| 421 | <pre class="language-none"><code v-pre class="language-none"> <!-- HBM type of UDFPS overlay. |
| 422 | 0 - GLOBAL HBM |
| 423 | 1 - LOCAL HBM |
| 424 | --> |
| 425 | <integer name="config_udfpsHbmType">0</integer></code></pre> |
| 426 | </doc-codeblock></div> |
| 427 | <doc-anchor-target id="-udfps-vendor-code"> |
| 428 | <h2> |
| 429 | <doc-anchor-trigger class="header-anchor-trigger" to="#-udfps-vendor-code">#</doc-anchor-trigger> |
| 430 | <span>• UDFPS Vendor code</span> |
| 431 | </h2> |
| 432 | </doc-anchor-target> |
| 433 | <div class="codeblock-wrapper"><doc-codeblock> |
| 434 | <pre class="language-none"><code v-pre class="language-none">Overlay Path: overlay-bliss/frameworks/base/core/res/res/values/bliss_config.xml</code></pre> |
| 435 | </doc-codeblock></div> |
| 436 | <p>This overlay is used to define vendor code. Required inorder for UDFPS to work.</p> |
| 437 | <div class="codeblock-wrapper"><doc-codeblock> |
| 438 | <pre class="language-none"><code v-pre class="language-none"> <!-- Udfps vendor code --> |
| 439 | <integer name="config_udfpsVendorCode">0</integer></code></pre> |
| 440 | </doc-codeblock></div> |
| 441 | <doc-anchor-target id="-udfps-animations"> |
| 442 | <h2> |
| 443 | <doc-anchor-trigger class="header-anchor-trigger" to="#-udfps-animations">#</doc-anchor-trigger> |
| 444 | <span>• UDFPS Animations</span> |
| 445 | </h2> |
| 446 | </doc-anchor-target> |
| 447 | <p>For UDFPS Animation to work you need 2 things in your device tree source.</p> |
| 448 | <ul> |
| 449 | <li>A Flag in bliss_codename.mk makefile in your respective device tree</li> |
| 450 | <li>An overlay to set Default FOD Pressed Color</li> |
| 451 | </ul> |
| 452 | <p><strong>Flag Required to build UDFPS Animation resources</strong></p> |
| 453 | <div class="codeblock-wrapper"><doc-codeblock> |
| 454 | <pre class="language-none"><code v-pre class="language-none"># UDFPS Animations |
| 455 | EXTRA_UDFPS_ANIMATIONS := true</code></pre> |
| 456 | </doc-codeblock></div> |
| 457 | <p><strong>To set Default UDFPS Pressed color</strong></p> |
| 458 | <div class="codeblock-wrapper"><doc-codeblock> |
| 459 | <pre class="language-none"><code v-pre class="language-none">Overlay Path: overlay-bliss/frameworks/base/core/res/res/values/bliss_config.xml |
| 460 | Default status: Disabled</code></pre> |
| 461 | </doc-codeblock></div> |
| 462 | <p>This overlay is required to set Default UDFPS Pressed Color.</p> |
| 463 | <div class="codeblock-wrapper"><doc-codeblock> |
| 464 | <pre class="language-none"><code v-pre class="language-none"> <!-- Default fod pressed color --> |
| 465 | <integer name="config_fod_pressed_color">1</integer></code></pre> |
| 466 | </doc-codeblock></div> |
| 467 | <p><strong>To set UDFPS Animation Offset</strong></p> |
| 468 | <div class="codeblock-wrapper"><doc-codeblock> |
| 469 | <pre class="language-none"><code v-pre class="language-none">Overlay Path: overlay-bliss/frameworks/base/packages/SystemUI/res/values/dimens.xml</code></pre> |
| 470 | </doc-codeblock></div> |
| 471 | <p>This overlay is required to set UDFPS Animation offset for respective devices.</p> |
Retype GitHub Action | 658386d | 2022-07-28 05:47:36 +0000 | [diff] [blame] | 472 | <div class="flex mb-6"> |
| 473 | <div class="shrink-0 w-1 rounded-tl rounded-bl bg-blue-500 dark:bg-blue-400"></div> |
| 474 | <div class="flex w-full py-4 border border-l-0 border-gray-300 rounded-tr rounded-br doc-alert bg-white dark:bg-dark-700 dark:border-dark-700" role="alert"> |
| 475 | <div class="flex items-center ml-4 h-7"> |
| 476 | <svg xmlns="http://www.w3.org/2000/svg" class="mb-px text-blue-500 dark:text-blue-400" width="22" height="22" viewBox="0 0 24 24" role="presentation"> |
| 477 | <g fill="currentColor"><g> |
| 478 | <path d="M12 1C5.93 1 1 5.93 1 12s4.93 11 11 11 11-4.93 11-11S18.07 1 12 1zm0 20c-4.96 0-9-4.04-9-9s4.04-9 9-9 9 4.04 9 9-4.04 9-9 9z"></path> |
| 479 | <path d="M12 11c-.55 0-1 .45-1 1v4c0 .55.45 1 1 1s1-.45 1-1v-4c0-.55-.45-1-1-1zM12.01 7c-.56 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1z"></path> |
| 480 | <path fill="none" d="M0 0h24v24H0z"></path> |
| 481 | </g></g> |
| 482 | </svg> |
| 483 | </div> |
| 484 | <div class="pr-5 ml-3 w-full"> |
| 485 | <p>Adjust this value as per your device.</p> |
| 486 | </div> |
| 487 | </div> |
| 488 | </div> |
Retype GitHub Action | 7d62fed | 2022-07-28 03:27:36 +0000 | [diff] [blame] | 489 | <div class="codeblock-wrapper"><doc-codeblock> |
Retype GitHub Action | 658386d | 2022-07-28 05:47:36 +0000 | [diff] [blame] | 490 | <pre class="language-none"><code v-pre class="language-none"> <!-- Udfps animation offset --> |
Retype GitHub Action | 7d62fed | 2022-07-28 03:27:36 +0000 | [diff] [blame] | 491 | <dimen name="udfps_animation_offset">50dp</dimen></code></pre> |
| 492 | </doc-codeblock></div> |
Retype GitHub Action | 658386d | 2022-07-28 05:47:36 +0000 | [diff] [blame] | 493 | <p><strong>To set UDFPS Animation Size</strong></p> |
| 494 | <div class="codeblock-wrapper"><doc-codeblock> |
| 495 | <pre class="language-none"><code v-pre class="language-none">Overlay Path: overlay-bliss/frameworks/base/packages/SystemUI/res/values/dimens.xml</code></pre> |
| 496 | </doc-codeblock></div> |
| 497 | <p>This overlay is required to set UDFPS Animation size for respective devices.</p> |
| 498 | <div class="flex mb-6"> |
| 499 | <div class="shrink-0 w-1 rounded-tl rounded-bl bg-blue-500 dark:bg-blue-400"></div> |
| 500 | <div class="flex w-full py-4 border border-l-0 border-gray-300 rounded-tr rounded-br doc-alert bg-white dark:bg-dark-700 dark:border-dark-700" role="alert"> |
| 501 | <div class="flex items-center ml-4 h-7"> |
| 502 | <svg xmlns="http://www.w3.org/2000/svg" class="mb-px text-blue-500 dark:text-blue-400" width="22" height="22" viewBox="0 0 24 24" role="presentation"> |
| 503 | <g fill="currentColor"><g> |
| 504 | <path d="M12 1C5.93 1 1 5.93 1 12s4.93 11 11 11 11-4.93 11-11S18.07 1 12 1zm0 20c-4.96 0-9-4.04-9-9s4.04-9 9-9 9 4.04 9 9-4.04 9-9 9z"></path> |
| 505 | <path d="M12 11c-.55 0-1 .45-1 1v4c0 .55.45 1 1 1s1-.45 1-1v-4c0-.55-.45-1-1-1zM12.01 7c-.56 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1z"></path> |
| 506 | <path fill="none" d="M0 0h24v24H0z"></path> |
| 507 | </g></g> |
| 508 | </svg> |
| 509 | </div> |
| 510 | <div class="pr-5 ml-3 w-full"> |
| 511 | <p>Adjust this value as per your device.</p> |
| 512 | </div> |
| 513 | </div> |
| 514 | </div> |
| 515 | <div class="codeblock-wrapper"><doc-codeblock> |
| 516 | <pre class="language-none"><code v-pre class="language-none"> <!-- Udfps animation size--> |
| 517 | <dimen name="udfps_animation_size">176dp</dimen></code></pre> |
| 518 | </doc-codeblock></div> |
Retype GitHub Action | 7d62fed | 2022-07-28 03:27:36 +0000 | [diff] [blame] | 519 | <p><strong>To set Color of the UDFPS Pressed view</strong></p> |
| 520 | <div class="codeblock-wrapper"><doc-codeblock> |
| 521 | <pre class="language-none"><code v-pre class="language-none">Overlay Path: overlay-bliss/frameworks/base/core/res/res/values/bliss_config.xml</code></pre> |
| 522 | </doc-codeblock></div> |
| 523 | <p>This overlay is required to set Color of the UDFPS Pressed view for respective devices.</p> |
| 524 | <div class="codeblock-wrapper"><doc-codeblock> |
| 525 | <pre class="language-none"><code v-pre class="language-none"> <!-- Color of the UDFPS Pressed view --> |
| 526 | <color name="config_udfpsColor">#ffffe6</color></code></pre> |
| 527 | </doc-codeblock></div> |
| 528 | <doc-anchor-target id="-screen-off-fod"> |
| 529 | <h2> |
| 530 | <doc-anchor-trigger class="header-anchor-trigger" to="#-screen-off-fod">#</doc-anchor-trigger> |
| 531 | <span>• Screen-Off FOD</span> |
| 532 | </h2> |
| 533 | </doc-anchor-target> |
| 534 | <div class="codeblock-wrapper"><doc-codeblock> |
| 535 | <pre class="language-none"><code v-pre class="language-none">Overlay Path: overlay/packages/apps/Settings/res/values/bliss_config.xml |
| 536 | Default status: Disabled</code></pre> |
| 537 | </doc-codeblock></div> |
| 538 | <p>This overlay is required to Enable Screen OFF FOD.</p> |
| 539 | <div class="codeblock-wrapper"><doc-codeblock> |
| 540 | <pre class="language-none"><code v-pre class="language-none"> <!-- Screen off FOD --> |
| 541 | <bool name="config_supportScreenOffFod">true</bool></code></pre> |
| 542 | </doc-codeblock></div> |
Retype GitHub Action | dca725f | 2022-11-20 17:25:32 +0000 | [diff] [blame^] | 543 | <doc-anchor-target id="-refresh-rate-overlays"> |
| 544 | <h2> |
| 545 | <doc-anchor-trigger class="header-anchor-trigger" to="#-refresh-rate-overlays">#</doc-anchor-trigger> |
| 546 | <span>• Refresh Rate Overlays</span> |
| 547 | </h2> |
| 548 | </doc-anchor-target> |
| 549 | <div class="codeblock-wrapper"><doc-codeblock> |
| 550 | <pre class="language-none"><code v-pre class="language-none">Overlay Path: overlay/packages/apps/Settings/res/values/bliss_config.xml |
| 551 | Default status: Disabled</code></pre> |
| 552 | </doc-codeblock></div> |
| 553 | <p>This overlay is required to Enable Refresh Rate Controls.</p> |
| 554 | <div class="codeblock-wrapper"><doc-codeblock> |
| 555 | <pre class="language-none"><code v-pre class="language-none"> <!-- Show refresh rate controls --> |
| 556 | <bool name="config_show_refresh_rate_controls">true</bool></code></pre> |
| 557 | </doc-codeblock></div> |
Retype GitHub Action | 4a1e68c | 2022-06-21 05:48:08 +0000 | [diff] [blame] | 558 | |
| 559 | |
| 560 | <!-- Required only on API pages --> |
| 561 | <doc-toolbar-member-filter-no-results /> |
| 562 | </div> |
| 563 | <footer class="clear-both"> |
| 564 | <div class="flex flex-wrap items-center justify-between mt-14"> |
Retype GitHub Action | 5d0221c | 2022-06-22 06:50:19 +0000 | [diff] [blame] | 565 | <a class="my-2.5 inline-flex items-center text-sm whitespace-nowrap text-blue-500 dark:text-blue-400 hover:text-blue-700 hover:underline" href="https://github.com/BlissRoms/Documentation/blob/main/documentation/overlays.md" target="_blank" rel="noopener"> |
Retype GitHub Action | 4a1e68c | 2022-06-21 05:48:08 +0000 | [diff] [blame] | 566 | <svg class="mr-1.5" xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="currentColor" overflow="visible"><path d="M20 12c-.55 0-1 .45-1 1v7c0 .55-.45 1-1 1H4c-.55 0-1-.45-1-1V6c0-.55.45-1 1-1h7c.55 0 1-.45 1-1s-.45-1-1-1H4C2.35 3 1 4.35 1 6v14c0 1.65 1.35 3 3 3h14c1.65 0 3-1.35 3-3v-7c0-.55-.45-1-1-1z" /><path d="M22.21 1.79c-1.18-1.18-3.24-1.18-4.41 0l-9.5 9.5c-.13.13-.22.29-.26.46l-1 4c-.08.34.01.7.26.95.18.2.44.3.7.3.08 0 .16-.01.24-.03l4-1c.18-.04.34-.13.46-.26l9.5-9.5c1.22-1.22 1.22-3.2.01-4.42zm-1.42 3l-9.3 9.3-2.11.53.53-2.11 9.3-9.3c.42-.42 1.16-.42 1.59 0 .43.43.43 1.15-.01 1.58z" /><path fill="none" d="M0 0h24v24H0z" /></svg> |
| 567 | <span>Edit on GitHub</span> |
| 568 | </a> |
| 569 | </div> |
| 570 | |
| 571 | <nav class="flex mt-14"> |
| 572 | <div class="w-1/2"> |
Retype GitHub Action | f485668 | 2022-06-21 10:37:03 +0000 | [diff] [blame] | 573 | <a class="px-5 py-4 h-full flex items-center break-normal font-medium text-blue-500 dark:text-blue-400 border border-gray-300 hover:border-gray-400 dark:border-dark-650 dark:hover:border-dark-450 rounded-l-lg transition-colors duration-150 relative hover:z-5" href="../../guides/troubleshoot/"> |
Retype GitHub Action | 4a1e68c | 2022-06-21 05:48:08 +0000 | [diff] [blame] | 574 | <svg xmlns="http://www.w3.org/2000/svg" class="mr-3" width="24" height="24" viewBox="0 0 24 24" fill="currentColor" overflow="visible"><path d="M19 11H7.41l5.29-5.29a.996.996 0 10-1.41-1.41l-7 7a1 1 0 000 1.42l7 7a1.024 1.024 0 001.42-.01.996.996 0 000-1.41L7.41 13H19c.55 0 1-.45 1-1s-.45-1-1-1z" /><path fill="none" d="M0 0h24v24H0z" /></svg> |
| 575 | <span> |
| 576 | <span class="block text-xs font-normal text-gray-400 dark:text-dark-400">Previous</span> |
Retype GitHub Action | f485668 | 2022-06-21 10:37:03 +0000 | [diff] [blame] | 577 | <span class="block mt-1">Troubleshoot</span> |
Retype GitHub Action | 4a1e68c | 2022-06-21 05:48:08 +0000 | [diff] [blame] | 578 | </span> |
| 579 | </a> |
| 580 | </div> |
| 581 | |
| 582 | <div class="w-1/2"> |
Retype GitHub Action | 5d0221c | 2022-06-22 06:50:19 +0000 | [diff] [blame] | 583 | <a class="px-5 py-4 -mx-px h-full flex items-center justify-end break-normal font-medium text-blue-500 dark:text-blue-400 border border-gray-300 hover:border-gray-400 dark:border-dark-650 dark:hover:border-dark-450 rounded-r-lg transition-colors duration-150 relative hover:z-5" href="../../maintainers/code_of_conduct/"> |
Retype GitHub Action | f485668 | 2022-06-21 10:37:03 +0000 | [diff] [blame] | 584 | <span> |
| 585 | <span class="block text-xs font-normal text-right text-gray-400 dark:text-dark-400">Next</span> |
Retype GitHub Action | 5d0221c | 2022-06-22 06:50:19 +0000 | [diff] [blame] | 586 | <span class="block mt-1">Code of Conduct</span> |
Retype GitHub Action | f485668 | 2022-06-21 10:37:03 +0000 | [diff] [blame] | 587 | </span> |
| 588 | <svg xmlns="http://www.w3.org/2000/svg" class="ml-3" width="24" height="24" viewBox="0 0 24 24" fill="currentColor" overflow="visible"><path d="M19.92 12.38a1 1 0 00-.22-1.09l-7-7a.996.996 0 10-1.41 1.41l5.3 5.3H5c-.55 0-1 .45-1 1s.45 1 1 1h11.59l-5.29 5.29a.996.996 0 000 1.41c.19.2.44.3.7.3s.51-.1.71-.29l7-7c.09-.09.16-.21.21-.33z" /><path fill="none" d="M0 0h24v24H0z" /></svg> |
| 589 | </a> |
Retype GitHub Action | 4a1e68c | 2022-06-21 05:48:08 +0000 | [diff] [blame] | 590 | </div> |
| 591 | </nav> |
| 592 | </footer> |
| 593 | </main> |
| 594 | |
| 595 | <div class="border-t dark:border-dark-650 pt-6 mb-8"> |
| 596 | <footer class="flex flex-wrap items-center justify-between"> |
| 597 | <div> |
| 598 | <ul class="flex flex-wrap items-center text-sm"> |
Retype GitHub Action | f36abaf | 2022-06-21 10:39:33 +0000 | [diff] [blame] | 599 | <li> |
| 600 | <a class="block mr-4 py-2 text-sm whitespace-nowrap transition-colors duration-200 ease-linear text-blue-500 dark:text-blue-400 hover:text-blue-800 dark:hover:text-blue-200 md:mb-0" href="https://blisslabs.org">A BlissLabs Project</a> |
| 601 | </li> |
Retype GitHub Action | 4a1e68c | 2022-06-21 05:48:08 +0000 | [diff] [blame] | 602 | </ul> |
| 603 | </div> |
Retype GitHub Action | f36abaf | 2022-06-21 10:39:33 +0000 | [diff] [blame] | 604 | <div class="docs-copyright py-2 text-gray-500 dark:text-dark-350 text-sm leading-relaxed"><p>© Copyright 2013-2022 – <a href="https://blisslabs.org">BlissLabs</a> – All rights reserved</p></div> |
Retype GitHub Action | 4a1e68c | 2022-06-21 05:48:08 +0000 | [diff] [blame] | 605 | </footer> |
| 606 | </div> |
| 607 | </div> |
| 608 | |
| 609 | <!-- Rendered if sidebar right is enabled --> |
| 610 | <!-- Sidebar right skeleton--> |
| 611 | <div v-cloak class="fixed top-0 bottom-0 right-0 translate-x-full bg-white border-gray-200 lg:sticky lg:border-l lg:shrink-0 lg:pt-6 lg:transform-none sm:w-1/2 lg:w-64 lg:z-0 md:w-104 sidebar-right skeleton dark:bg-dark-850 dark:border-dark-650"> |
| 612 | <div class="pl-5"> |
| 613 | <div class="w-32 h-3 mb-4 bg-gray-200 dark:bg-dark-600 rounded-full loading"></div> |
| 614 | <div class="w-48 h-3 mb-4 bg-gray-200 dark:bg-dark-600 rounded-full loading"></div> |
| 615 | <div class="w-40 h-3 mb-4 bg-gray-200 dark:bg-dark-600 rounded-full loading"></div> |
| 616 | </div> |
| 617 | </div> |
| 618 | |
| 619 | <!-- User should be able to hide sidebar right --> |
| 620 | <doc-sidebar-right v-cloak></doc-sidebar-right> |
| 621 | </div> |
| 622 | |
| 623 | </div> |
| 624 | </div> |
| 625 | |
| 626 | <doc-search-mobile></doc-search-mobile> |
| 627 | <doc-back-to-top></doc-back-to-top> |
| 628 | </div> |
| 629 | |
| 630 | |
| 631 | <div id="docs-overlay-target"></div> |
| 632 | |
Retype GitHub Action | 5d0221c | 2022-06-22 06:50:19 +0000 | [diff] [blame] | 633 | <script>window.__DOCS__ = { "title": "Overlays", level: 2, icon: "file", hasPrism: false, hasMermaid: false, hasMath: false }</script> |
Retype GitHub Action | 4a1e68c | 2022-06-21 05:48:08 +0000 | [diff] [blame] | 634 | </body> |
| 635 | </html> |