| // Signature format: 4.0 |
| package androidx.compose.ui.tooling.preview { |
| |
| public final class Devices { |
| method @Deprecated public String getWEAR_OS_LARGE_ROUND(); |
| method @Deprecated public String getWEAR_OS_RECT(); |
| method @Deprecated public String getWEAR_OS_SMALL_ROUND(); |
| method @Deprecated public String getWEAR_OS_SQUARE(); |
| property @Deprecated public String WEAR_OS_LARGE_ROUND; |
| property @Deprecated public String WEAR_OS_RECT; |
| property @Deprecated public String WEAR_OS_SMALL_ROUND; |
| property @Deprecated public String WEAR_OS_SQUARE; |
| field public static final String AUTOMOTIVE_1024p = "id:automotive_1024p_landscape"; |
| field public static final String DEFAULT = ""; |
| field public static final String DESKTOP = "spec:id=reference_desktop,shape=Normal,width=1920,height=1080,unit=dp,dpi=160"; |
| field public static final String FOLDABLE = "spec:id=reference_foldable,shape=Normal,width=673,height=841,unit=dp,dpi=420"; |
| field public static final androidx.compose.ui.tooling.preview.Devices INSTANCE; |
| field public static final String NEXUS_10 = "name:Nexus 10"; |
| field public static final String NEXUS_5 = "id:Nexus 5"; |
| field public static final String NEXUS_5X = "id:Nexus 5X"; |
| field public static final String NEXUS_6 = "id:Nexus 6"; |
| field public static final String NEXUS_6P = "id:Nexus 6P"; |
| field public static final String NEXUS_7 = "id:Nexus 7"; |
| field public static final String NEXUS_7_2013 = "id:Nexus 7 2013"; |
| field public static final String NEXUS_9 = "id:Nexus 9"; |
| field public static final String PHONE = "spec:id=reference_phone,shape=Normal,width=411,height=891,unit=dp,dpi=420"; |
| field public static final String PIXEL = "id:pixel"; |
| field public static final String PIXEL_2 = "id:pixel_2"; |
| field public static final String PIXEL_2_XL = "id:pixel_2_xl"; |
| field public static final String PIXEL_3 = "id:pixel_3"; |
| field public static final String PIXEL_3A = "id:pixel_3a"; |
| field public static final String PIXEL_3A_XL = "id:pixel_3a_xl"; |
| field public static final String PIXEL_3_XL = "id:pixel_3_xl"; |
| field public static final String PIXEL_4 = "id:pixel_4"; |
| field public static final String PIXEL_4A = "id:pixel_4a"; |
| field public static final String PIXEL_4_XL = "id:pixel_4_xl"; |
| field public static final String PIXEL_5 = "id:pixel_5"; |
| field public static final String PIXEL_6 = "id:pixel_6"; |
| field public static final String PIXEL_6A = "id:pixel_6a"; |
| field public static final String PIXEL_6_PRO = "id:pixel_6_pro"; |
| field public static final String PIXEL_7 = "id:pixel_7"; |
| field public static final String PIXEL_7A = "id:pixel_7a"; |
| field public static final String PIXEL_7_PRO = "id:pixel_7_pro"; |
| field public static final String PIXEL_C = "id:pixel_c"; |
| field public static final String PIXEL_FOLD = "id:pixel_fold"; |
| field public static final String PIXEL_TABLET = "id:pixel_tablet"; |
| field public static final String PIXEL_XL = "id:pixel_xl"; |
| field public static final String TABLET = "spec:id=reference_tablet,shape=Normal,width=1280,height=800,unit=dp,dpi=240"; |
| field public static final String TV_1080p = "spec:shape=Normal,width=1920,height=1080,unit=dp,dpi=420"; |
| field public static final String TV_720p = "spec:shape=Normal,width=1280,height=720,unit=dp,dpi=420"; |
| field @Deprecated public static final String WEAR_OS_LARGE_ROUND = "id:wearos_large_round"; |
| field @Deprecated public static final String WEAR_OS_RECT = "id:wearos_rect"; |
| field @Deprecated public static final String WEAR_OS_SMALL_ROUND = "id:wearos_small_round"; |
| field @Deprecated public static final String WEAR_OS_SQUARE = "id:wearos_square"; |
| } |
| |
| @kotlin.annotation.MustBeDocumented @kotlin.annotation.Repeatable @kotlin.annotation.Retention(kotlin.annotation.AnnotationRetention.BINARY) @kotlin.annotation.Target(allowedTargets={kotlin.annotation.AnnotationTarget.ANNOTATION_CLASS, kotlin.annotation.AnnotationTarget.FUNCTION}) public @interface Preview { |
| method public abstract int apiLevel() default -1; |
| method public abstract long backgroundColor() default 0; |
| method public abstract String device() default androidx.compose.ui.tooling.preview.Devices.DEFAULT; |
| method public abstract float fontScale() default 1.0; |
| method public abstract String group() default ""; |
| method public abstract int heightDp() default -1; |
| method public abstract String locale() default ""; |
| method public abstract String name() default ""; |
| method public abstract boolean showBackground() default false; |
| method public abstract boolean showSystemUi() default false; |
| method public abstract int uiMode() default 0; |
| method public abstract int wallpaper() default androidx.compose.ui.tooling.preview.Wallpapers.NONE; |
| method public abstract int widthDp() default -1; |
| property public abstract int apiLevel; |
| property public abstract long backgroundColor; |
| property public abstract String device; |
| property public abstract float fontScale; |
| property public abstract String group; |
| property public abstract int heightDp; |
| property public abstract String locale; |
| property public abstract String name; |
| property public abstract boolean showBackground; |
| property public abstract boolean showSystemUi; |
| property public abstract int uiMode; |
| property public abstract int wallpaper; |
| property public abstract int widthDp; |
| } |
| |
| @kotlin.annotation.MustBeDocumented @kotlin.annotation.Repeatable @kotlin.annotation.Retention(kotlin.annotation.AnnotationRetention.BINARY) @kotlin.annotation.Target(allowedTargets={kotlin.annotation.AnnotationTarget.ANNOTATION_CLASS, kotlin.annotation.AnnotationTarget.FUNCTION}) public static @interface Preview.Container { |
| method public abstract androidx.compose.ui.tooling.preview.Preview[] value(); |
| } |
| |
| @androidx.compose.ui.tooling.preview.Preview(name="Red", wallpaper=androidx.compose.ui.tooling.preview.Wallpapers.RED_DOMINATED_EXAMPLE) @androidx.compose.ui.tooling.preview.Preview(name="Blue", wallpaper=androidx.compose.ui.tooling.preview.Wallpapers.BLUE_DOMINATED_EXAMPLE) @androidx.compose.ui.tooling.preview.Preview(name="Green", wallpaper=androidx.compose.ui.tooling.preview.Wallpapers.GREEN_DOMINATED_EXAMPLE) @androidx.compose.ui.tooling.preview.Preview(name="Yellow", wallpaper=androidx.compose.ui.tooling.preview.Wallpapers.YELLOW_DOMINATED_EXAMPLE) @kotlin.annotation.Retention(kotlin.annotation.AnnotationRetention.BINARY) @kotlin.annotation.Target(allowedTargets={kotlin.annotation.AnnotationTarget.ANNOTATION_CLASS, kotlin.annotation.AnnotationTarget.FUNCTION}) public @interface PreviewDynamicColors { |
| } |
| |
| @androidx.compose.ui.tooling.preview.Preview(name="85%", fontScale=0.85f) @androidx.compose.ui.tooling.preview.Preview(name="100%", fontScale=1.0f) @androidx.compose.ui.tooling.preview.Preview(name="115%", fontScale=1.15f) @androidx.compose.ui.tooling.preview.Preview(name="130%", fontScale=1.3f) @androidx.compose.ui.tooling.preview.Preview(name="150%", fontScale=1.5f) @androidx.compose.ui.tooling.preview.Preview(name="180%", fontScale=1.8f) @androidx.compose.ui.tooling.preview.Preview(name="200%", fontScale=2.0f) @kotlin.annotation.Retention(kotlin.annotation.AnnotationRetention.BINARY) @kotlin.annotation.Target(allowedTargets={kotlin.annotation.AnnotationTarget.ANNOTATION_CLASS, kotlin.annotation.AnnotationTarget.FUNCTION}) public @interface PreviewFontScale { |
| } |
| |
| @androidx.compose.ui.tooling.preview.Preview(name="Light") @androidx.compose.ui.tooling.preview.Preview(name="Dark", uiMode=android.content.res.Configuration.UI_MODE_NIGHT_YES | android.content.res.Configuration.UI_MODE_TYPE_NORMAL) @kotlin.annotation.Retention(kotlin.annotation.AnnotationRetention.BINARY) @kotlin.annotation.Target(allowedTargets={kotlin.annotation.AnnotationTarget.ANNOTATION_CLASS, kotlin.annotation.AnnotationTarget.FUNCTION}) public @interface PreviewLightDark { |
| } |
| |
| @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.RUNTIME) public @interface PreviewParameter { |
| method public abstract int limit() default kotlin.jvm.internal.IntCompanionObject.MAX_VALUE; |
| method public abstract kotlin.reflect.KClass<? extends androidx.compose.ui.tooling.preview.PreviewParameterProvider<? extends java.lang.Object!>> provider(); |
| property public abstract int limit; |
| property public abstract kotlin.reflect.KClass<? extends androidx.compose.ui.tooling.preview.PreviewParameterProvider<? extends java.lang.Object!>> provider; |
| } |
| |
| @kotlin.jvm.JvmDefaultWithCompatibility public interface PreviewParameterProvider<T> { |
| method public default int getCount(); |
| method public kotlin.sequences.Sequence<T> getValues(); |
| property public default int count; |
| property public abstract kotlin.sequences.Sequence<T> values; |
| } |
| |
| @androidx.compose.ui.tooling.preview.Preview(name="Phone", device=androidx.compose.ui.tooling.preview.Devices.PHONE, showSystemUi=true) @androidx.compose.ui.tooling.preview.Preview(name="Phone - Landscape", device="spec:width = 411dp, height = 891dp, orientation = landscape, dpi = 420", showSystemUi=true) @androidx.compose.ui.tooling.preview.Preview(name="Unfolded Foldable", device=androidx.compose.ui.tooling.preview.Devices.FOLDABLE, showSystemUi=true) @androidx.compose.ui.tooling.preview.Preview(name="Tablet", device=androidx.compose.ui.tooling.preview.Devices.TABLET, showSystemUi=true) @androidx.compose.ui.tooling.preview.Preview(name="Desktop", device=androidx.compose.ui.tooling.preview.Devices.DESKTOP, showSystemUi=true) @kotlin.annotation.Retention(kotlin.annotation.AnnotationRetention.BINARY) @kotlin.annotation.Target(allowedTargets={kotlin.annotation.AnnotationTarget.ANNOTATION_CLASS, kotlin.annotation.AnnotationTarget.FUNCTION}) public @interface PreviewScreenSizes { |
| } |
| |
| public final class Wallpapers { |
| field public static final int BLUE_DOMINATED_EXAMPLE = 2; // 0x2 |
| field public static final int GREEN_DOMINATED_EXAMPLE = 1; // 0x1 |
| field public static final androidx.compose.ui.tooling.preview.Wallpapers INSTANCE; |
| field public static final int NONE = -1; // 0xffffffff |
| field public static final int RED_DOMINATED_EXAMPLE = 0; // 0x0 |
| field public static final int YELLOW_DOMINATED_EXAMPLE = 3; // 0x3 |
| } |
| |
| } |
| |
| package androidx.compose.ui.tooling.preview.datasource { |
| |
| public class CollectionPreviewParameterProvider<T> implements androidx.compose.ui.tooling.preview.PreviewParameterProvider<T> { |
| ctor public CollectionPreviewParameterProvider(java.util.Collection<? extends T> collection); |
| method public kotlin.sequences.Sequence<T> getValues(); |
| property public kotlin.sequences.Sequence<T> values; |
| } |
| |
| public class LoremIpsum implements androidx.compose.ui.tooling.preview.PreviewParameterProvider<java.lang.String> { |
| ctor public LoremIpsum(); |
| ctor public LoremIpsum(int words); |
| method public kotlin.sequences.Sequence<java.lang.String> getValues(); |
| property public kotlin.sequences.Sequence<java.lang.String> values; |
| } |
| |
| } |
| |