Skip to content

Debloat any Android or Google TV over Wi-Fi and get an Apple TV-style home.

sky: lift the evening glow above the dock

ottoben1996c6b580a006c0
diff --git a/docs/sky-sunset.jpg b/docs/sky-sunset.jpg
index 009c960f2..5aced714a 100644
Binary files a/docs/sky-sunset.jpg and b/docs/sky-sunset.jpg differ
diff --git a/docs/sky.md b/docs/sky.md
index 19dc514f1..7183eaad7 100644
--- a/docs/sky.md
+++ b/docs/sky.md
@@ -8,7 +8,7 @@ launcher built from this repository behaves exactly like before until a theme tu
{ "sky_intensity": 60 }
```
-![The backdrop at dusk, a few minutes before eight](sky-sunset.jpg)
+![The backdrop at dusk](sky-sunset.jpg)
Push that as a theme's `config.json` and restart Home:
diff --git a/launcher/app/src/main/java/com/gathin/tvhome/SkyView.java b/launcher/app/src/main/java/com/gathin/tvhome/SkyView.java
index 3f23d6102..8cf84e640 100644
--- a/launcher/app/src/main/java/com/gathin/tvhome/SkyView.java
+++ b/launcher/app/src/main/java/com/gathin/tvhome/SkyView.java
@@ -88,7 +88,7 @@ public class SkyView extends View {
// A warm core low on the horizon, where the sun (or its afterglow) sits.
int warm = Sky.lerpColor(sky.bottom, 0xFFFFD9A0, 0.65f);
paint.setShader(new RadialGradient(
- sky.sunX * TEX_W, TEX_H * 0.94f, TEX_W * 0.42f,
+ sky.sunX * TEX_W, TEX_H * 0.80f, TEX_W * 0.55f,
new int[]{(sky.sun << 24) | (warm & 0x00FFFFFF), warm & 0x00FFFFFF},
new float[]{0f, 1f}, Shader.TileMode.CLAMP));
canvas.drawRect(0f, 0f, TEX_W, TEX_H, paint);