sdk: unhide palette utilities

It does not make sense to hide away such lovely code.
Let it be used by others, given that it lives within
the sdk.

Change-Id: Iab4605e77fd3425049df68ebbeaa3bd247874795
Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
This commit is contained in:
Alexander Martinz
2025-04-03 20:28:44 +02:00
committed by Luca Stefani
parent c8eeb1755d
commit 55c5769a19
4 changed files with 0 additions and 9 deletions

View File

@@ -29,8 +29,6 @@ import java.util.PriorityQueue;
* have roughly the same population, where this quantizer divides boxes based on their color volume.
* This means that the color space is divided into distinct colors, rather than representative
* colors.
*
* @hide
*/
final class ColorCutQuantizer {

View File

@@ -9,8 +9,6 @@ import android.graphics.Color;
/**
* A set of color-related utility methods, building upon those available in {@code Color}.
*
* @hide
*/
public class ColorUtils {

View File

@@ -9,9 +9,6 @@ import lineageos.util.palette.Palette.Swatch;
import java.util.List;
/**
* @hide
*/
class DefaultGenerator extends Palette.Generator {
private static final float TARGET_DARK_LUMA = 0.26f;

View File

@@ -50,8 +50,6 @@ import java.util.List;
* }
* });
* </pre>
*
* @hide
*/
public final class Palette {