Debloat any Android or Google TV over Wi-Fi and get an Apple TV-style home.
Python adbadblockandroid-tvandroid-tv-launcherapple-tvbloatware-removalclaude-codedebloatfire-tvgoogle-tvlauncherprivacysmart-tvsony-braviatclvibe-codingxiaomi
Launcher: cinematic_dots, to leave the dock position dots out of the cinematic shelf
Bansi Patela96aa2825e09
diff --git a/launcher/app/src/main/java/com/gathin/tvhome/Config.java b/launcher/app/src/main/java/com/gathin/tvhome/Config.javaindex 6071c886f..879b535e4 100644--- a/launcher/app/src/main/java/com/gathin/tvhome/Config.java+++ b/launcher/app/src/main/java/com/gathin/tvhome/Config.java@@ -175,6 +175,8 @@ final class Config {final boolean dockGlass;/** The dock band's padding equals the gap between its tiles (config.xml, dock_even_padding); false keeps the fixed padding. */final boolean dockEvenPadding;+ /** The dock position dots under the cinematic shelf's name (config.xml, cinematic_dots); false leaves them out. */+ final boolean cinematicDots;/** Shape of the glow behind the focused app (config.xml, glow_style): {@link #GLOW_RADIAL} or {@link #GLOW_HORIZON}. */final String glowStyle;@@ -198,7 +200,7 @@ final class Config {Festival festival, int[] inputKeycodes, List<String> appKeys, String stockHomeRedirect,List<RaceWeekend.Race> raceCalendar, boolean cinematicHome, boolean ambientGlow, boolean appGlow, int homeIdleClockMinutes,boolean keyFilter, boolean dockGlass, String glowStyle, boolean wallpaperCaptions,- boolean handleViewInputs, boolean tileMenu, boolean dockEvenPadding) {+ boolean handleViewInputs, boolean tileMenu, boolean dockEvenPadding, boolean cinematicDots) {this.handleViewInputs = handleViewInputs;this.tileMenu = tileMenu;this.inputKeycodes = inputKeycodes;@@ -269,6 +271,7 @@ final class Config {this.homeIdleClockMinutes = homeIdleClockMinutes;this.dockGlass = dockGlass;this.dockEvenPadding = dockEvenPadding;+ this.cinematicDots = cinematicDots;this.glowStyle = glowStyle(glowStyle);this.wallpaperCaptions = wallpaperCaptions;}@@ -346,6 +349,7 @@ final class Config {boolean keyFilter = res.getBoolean(R.bool.key_filter);boolean dockGlass = res.getBoolean(R.bool.dock_glass);boolean dockEvenPadding = res.getBoolean(R.bool.dock_even_padding);+ boolean cinematicDots = res.getBoolean(R.bool.cinematic_dots);String glowStyle = res.getString(R.string.glow_style);boolean applied = false;@@ -416,6 +420,7 @@ final class Config {keyFilter = bool(json, "key_filter", keyFilter);dockGlass = bool(json, "dock_glass", dockGlass);dockEvenPadding = bool(json, "dock_even_padding", dockEvenPadding);+ cinematicDots = bool(json, "cinematic_dots", cinematicDots);glowStyle = string(json, "glow_style", glowStyle);}// A theme push or reset invalidates choices made on the TV. On first use, remember the@@ -470,7 +475,7 @@ final class Config {Math.max(0, Math.min(100, skyIntensity)), settingsKeycodes, settingsKeyPanel, restoreKeyServices, wallpaperEnabled, wallpaper,wallpapers, rotationMinutes, wallpaperDim, dockOpacity, wallpaperOrder, applied,festival, inputKeycodes, appKeys, stockHomeRedirect, json == null ? Collections.emptyList() : raceCalendar(json), cinematic, ambientGlow, appGlow,- Math.max(0, idleClockMinutes), keyFilter, dockGlass, glowStyle, wallpaperCaptions, handleViewInputs, tileMenu, dockEvenPadding);+ Math.max(0, idleClockMinutes), keyFilter, dockGlass, glowStyle, wallpaperCaptions, handleViewInputs, tileMenu, dockEvenPadding, cinematicDots);}/**diff --git a/launcher/app/src/main/java/com/gathin/tvhome/MainActivity.java b/launcher/app/src/main/java/com/gathin/tvhome/MainActivity.javaindex 5be43c946..3f8c76803 100644--- a/launcher/app/src/main/java/com/gathin/tvhome/MainActivity.java+++ b/launcher/app/src/main/java/com/gathin/tvhome/MainActivity.java@@ -151,6 +151,8 @@ public class MainActivity extends Activity implements AppAdapter.TileListener {private String glowStyle;private ImageView heroArt;private static final float HERO_ART_ALPHA = 0.5f;+ /** config.xml cinematic_dots: false leaves the dock position dots out of the cinematic shelf. */+ private boolean heroDotsShown = true;/** Softened artwork per app (HeroArt, about 5 KB each), made the first time its dock tile is focused. */private final Map<String, Bitmap> heroArtCache = new HashMap<>();/** The app whose artwork heroArt shows, so focusing it again only fades it back in. */@@ -405,6 +407,7 @@ public class MainActivity extends Activity implements AppAdapter.TileListener {heroArt = findViewById(R.id.heroArt);cinematic = cfg.cinematicHome;glowStyle = cfg.glowStyle;+ heroDotsShown = cfg.cinematicDots;if (cinematic) setUpCinematicShelf();// dock_title false: the name above the dock (and the cinematic lines under it) never shows; the glow// still follows the dock.@@ -1620,7 +1623,7 @@ public class MainActivity extends Activity implements AppAdapter.TileListener {heroName.setTextSize(TypedValue.COMPLEX_UNIT_SP, 68f);heroName.setLetterSpacing(-0.025f);heroMeta.setVisibility(View.INVISIBLE); // keeps its height, so the name does not jump when it fills in- heroDots.setVisibility(View.VISIBLE);+ heroDots.setVisibility(heroDotsShown ? View.VISIBLE : View.GONE);heroArt.setVisibility(View.VISIBLE);// One stretched bitmap: apply its alpha while drawing instead of through an offscreen buffer.heroArt.forceHasOverlappingRendering(false);@@ -1701,6 +1704,7 @@ public class MainActivity extends Activity implements AppAdapter.TileListener {/** One dot per dock app, the focused one drawn long and white. Hebrew docks start on the right, so do the dots. */private void updateHeroDots(int position) {+ if (!heroDotsShown) return;int count = Math.min(adapter.dockFilled(), COLUMNS);heroDots.setVisibility(count > 1 ? View.VISIBLE : View.INVISIBLE);if (heroDots.getChildCount() != count) {diff --git a/launcher/app/src/main/res/values/config.xml b/launcher/app/src/main/res/values/config.xmlindex f600676d0..a59f47ca4 100644--- a/launcher/app/src/main/res/values/config.xml+++ b/launcher/app/src/main/res/values/config.xml@@ -305,6 +305,9 @@dots, the focus glow takes the app's colour and the dock band turns translucent. false keeps the plainshelf. Can also be set with "cinematic_home": true in a theme's config.json. --><bool name="cinematic_home">false</bool>+ <!-- With cinematic_home, false leaves out the dock position dots under the app's name, for a quieter shelf. Can+ also be set with "cinematic_dots": false in a theme's config.json. -->+ <bool name="cinematic_dots">true</bool><!-- The glow behind the dock in the focused app's colour (red for YouTube, blue for Prime Video). false keepsonly background_color or the wallpaper behind everything. Can also be set with "ambient_glow": false in adiff --git a/themes/README.md b/themes/README.mdindex c0b455181..065edae16 100644--- a/themes/README.md+++ b/themes/README.md@@ -98,6 +98,7 @@ is ignored, and a file that doesn't parse is ignored as a whole, so a theme can| `home_idle_clock_minutes` | 0 to 1440 | Minutes Home may sit untouched before it shows the clock screensaver (a thin clock and date drifting over a slow glow, as the system "Clock" screensaver does). Any key returns to Home. It starts only from Home, never over Live TV or an app; 0 is off (default) || `glow_style` | string | Shape of the glow behind the focused app, in its colour: `radial` (default) or `horizon`, the colour washing down from the top edge to black; the cinematic shelf keeps its own || `cinematic_home` | bool | Cinematic top shelf: the focused dock app's artwork, softened, fills the top of the screen in its colour, with a larger name, "Last opened" (apps opened from Home), dock position dots, a focus glow in the app's colour and a translucent dock band; off by default |+| `cinematic_dots` | bool | With `cinematic_home`, the dock position dots under the app's name (`true` by default); `false` leaves them out || `dock_even_padding` | bool | The dock band's padding equals the gap between its tiles on all four sides, as far as the grid's edges leave room (`false` by default) || `dock_glass` | bool | The dock band as light frosted glass like the top bar's pills (`false` by default); suits `sky_intensity` or a wallpaper, where the solid band reads as a dark slab || `ambient_glow` | bool | The glow behind the dock in the focused app's colour (`true` by default); `false` keeps only `background_color` or the wallpaper, e.g. for a calm photo background |