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:
committed by
Luca Stefani
parent
c8eeb1755d
commit
55c5769a19
@@ -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 {
|
||||
|
||||
|
||||
@@ -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 {
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -50,8 +50,6 @@ import java.util.List;
|
||||
* }
|
||||
* });
|
||||
* </pre>
|
||||
*
|
||||
* @hide
|
||||
*/
|
||||
public final class Palette {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user