mirror of
https://github.com/Motschen/Blur.git
synced 2025-12-15 11:15:09 +01:00
29 lines
894 B
Java
29 lines
894 B
Java
package eu.midnightdust.blur;
|
|
|
|
public class BlurInfo {
|
|
public static long start;
|
|
public static float progress;
|
|
|
|
public static boolean prevScreenHasBlur;
|
|
public static boolean screenHasBlur;
|
|
|
|
public static boolean prevScreenHasBackground;
|
|
public static boolean screenHasBackground;
|
|
|
|
public static boolean doTest = true;
|
|
public static boolean screenChanged = true;
|
|
public static long lastScreenChange = System.currentTimeMillis();
|
|
|
|
public static void reset() {
|
|
// Here, we reset all tests, to check if the new screen has blur and/or a background
|
|
prevScreenHasBlur = screenHasBlur;
|
|
prevScreenHasBackground = screenHasBackground;
|
|
screenHasBlur = false;
|
|
screenHasBackground = false;
|
|
doTest = true;
|
|
screenChanged = true;
|
|
start = -1;
|
|
lastScreenChange = System.currentTimeMillis();
|
|
}
|
|
}
|