6.6.2 - Alpha5 - 同步并兼容 Rhino 引擎上游代码 (1.8.1-SNAPSHOT)

This commit is contained in:
SuperMonster003
2025-04-11 15:20:22 +08:00
parent 0092344adb
commit 94b8542f16
10 changed files with 48 additions and 15 deletions

View File

@@ -56,6 +56,8 @@ import androidx.fragment.app.DialogFragment;
import androidx.fragment.app.FragmentActivity;
import org.jetbrains.annotations.NotNull;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.util.Arrays;
import java.util.Locale;
import java.util.function.Consumer;
@@ -829,6 +831,7 @@ public class ColorPickerDialog extends DialogFragment implements ColorPickerView
// region Builder
@IntDef({TYPE_CUSTOM, TYPE_PRESETS})
@Retention(RetentionPolicy.SOURCE)
public @interface DialogType {
}

View File

@@ -18,12 +18,17 @@ package com.jaredrummler.android.colorpicker;
import androidx.annotation.IntDef;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
/**
* The shape of the color preview
*/
@IntDef({ ColorShape.SQUARE, ColorShape.CIRCLE }) public @interface ColorShape {
@IntDef({ColorShape.SQUARE, ColorShape.CIRCLE})
@Retention(RetentionPolicy.SOURCE)
public @interface ColorShape {
int SQUARE = 0;
int SQUARE = 0;
int CIRCLE = 1;
int CIRCLE = 1;
}