-
-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b6fe543
commit 190154f
Showing
3 changed files
with
246 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
// Signature format: 4.0 | ||
package dev.chrisbanes.haze.materials { | ||
|
||
public final class CupertinoMaterials { | ||
method @androidx.compose.runtime.Composable @androidx.compose.runtime.ReadOnlyComposable @dev.chrisbanes.haze.materials.ExperimentalHazeMaterialsApi public dev.chrisbanes.haze.HazeStyle regular(optional long containerColor); | ||
method @androidx.compose.runtime.Composable @androidx.compose.runtime.ReadOnlyComposable @dev.chrisbanes.haze.materials.ExperimentalHazeMaterialsApi public dev.chrisbanes.haze.HazeStyle thick(optional long containerColor); | ||
method @androidx.compose.runtime.Composable @androidx.compose.runtime.ReadOnlyComposable @dev.chrisbanes.haze.materials.ExperimentalHazeMaterialsApi public dev.chrisbanes.haze.HazeStyle thin(optional long containerColor); | ||
method @androidx.compose.runtime.Composable @androidx.compose.runtime.ReadOnlyComposable @dev.chrisbanes.haze.materials.ExperimentalHazeMaterialsApi public dev.chrisbanes.haze.HazeStyle ultraThin(optional long containerColor); | ||
field public static final dev.chrisbanes.haze.materials.CupertinoMaterials INSTANCE; | ||
} | ||
|
||
@kotlin.RequiresOptIn(message="Experimental Haze Materials API", level=kotlin.RequiresOptIn.Level.WARNING) public @interface ExperimentalHazeMaterialsApi { | ||
} | ||
|
||
@dev.chrisbanes.haze.materials.ExperimentalHazeMaterialsApi public final class FluentMaterials { | ||
method @androidx.compose.runtime.Composable @androidx.compose.runtime.ReadOnlyComposable @dev.chrisbanes.haze.materials.ExperimentalHazeMaterialsApi public dev.chrisbanes.haze.HazeStyle accentAcrylicBase(optional long accentColor, optional boolean isDark); | ||
method @androidx.compose.runtime.Composable @androidx.compose.runtime.ReadOnlyComposable @dev.chrisbanes.haze.materials.ExperimentalHazeMaterialsApi public dev.chrisbanes.haze.HazeStyle accentAcrylicDefault(optional long accentColor, optional boolean isDark); | ||
method @androidx.compose.runtime.Composable @androidx.compose.runtime.ReadOnlyComposable @dev.chrisbanes.haze.materials.ExperimentalHazeMaterialsApi public dev.chrisbanes.haze.HazeStyle acrylicBase(optional boolean isDark); | ||
method @androidx.compose.runtime.Composable @androidx.compose.runtime.ReadOnlyComposable @dev.chrisbanes.haze.materials.ExperimentalHazeMaterialsApi public dev.chrisbanes.haze.HazeStyle acrylicDefault(optional boolean isDark); | ||
method @androidx.compose.runtime.Composable @androidx.compose.runtime.ReadOnlyComposable @dev.chrisbanes.haze.materials.ExperimentalHazeMaterialsApi public dev.chrisbanes.haze.HazeStyle mica(optional boolean isDark); | ||
method @androidx.compose.runtime.Composable @androidx.compose.runtime.ReadOnlyComposable @dev.chrisbanes.haze.materials.ExperimentalHazeMaterialsApi public dev.chrisbanes.haze.HazeStyle micaAlt(optional boolean isDark); | ||
method @androidx.compose.runtime.Composable @androidx.compose.runtime.ReadOnlyComposable @dev.chrisbanes.haze.materials.ExperimentalHazeMaterialsApi public dev.chrisbanes.haze.HazeStyle thinAcrylic(optional boolean isDark); | ||
field public static final dev.chrisbanes.haze.materials.FluentMaterials INSTANCE; | ||
} | ||
|
||
public final class HazeMaterials { | ||
method @androidx.compose.runtime.Composable @androidx.compose.runtime.ReadOnlyComposable @dev.chrisbanes.haze.materials.ExperimentalHazeMaterialsApi public dev.chrisbanes.haze.HazeStyle regular(optional long containerColor); | ||
method @androidx.compose.runtime.Composable @androidx.compose.runtime.ReadOnlyComposable @dev.chrisbanes.haze.materials.ExperimentalHazeMaterialsApi public dev.chrisbanes.haze.HazeStyle thick(optional long containerColor); | ||
method @androidx.compose.runtime.Composable @androidx.compose.runtime.ReadOnlyComposable @dev.chrisbanes.haze.materials.ExperimentalHazeMaterialsApi public dev.chrisbanes.haze.HazeStyle thin(optional long containerColor); | ||
method @androidx.compose.runtime.Composable @androidx.compose.runtime.ReadOnlyComposable @dev.chrisbanes.haze.materials.ExperimentalHazeMaterialsApi public dev.chrisbanes.haze.HazeStyle ultraThick(optional long containerColor); | ||
method @androidx.compose.runtime.Composable @androidx.compose.runtime.ReadOnlyComposable @dev.chrisbanes.haze.materials.ExperimentalHazeMaterialsApi public dev.chrisbanes.haze.HazeStyle ultraThin(optional long containerColor); | ||
field public static final dev.chrisbanes.haze.materials.HazeMaterials INSTANCE; | ||
} | ||
|
||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,209 @@ | ||
// Signature format: 4.0 | ||
package dev.chrisbanes.haze { | ||
|
||
@kotlin.RequiresOptIn(message="Experimental Haze API", level=kotlin.RequiresOptIn.Level.WARNING) public @interface ExperimentalHazeApi { | ||
} | ||
|
||
public final class HazeChildKt { | ||
method @Deprecated public static androidx.compose.ui.Modifier hazeChild(androidx.compose.ui.Modifier, dev.chrisbanes.haze.HazeState state, androidx.compose.ui.graphics.Shape shape, dev.chrisbanes.haze.HazeStyle style); | ||
method @androidx.compose.runtime.Stable public static androidx.compose.ui.Modifier hazeChild(androidx.compose.ui.Modifier, dev.chrisbanes.haze.HazeState state, optional dev.chrisbanes.haze.HazeStyle style, optional kotlin.jvm.functions.Function1<? super dev.chrisbanes.haze.HazeChildScope,kotlin.Unit>? block); | ||
} | ||
|
||
@dev.chrisbanes.haze.ExperimentalHazeApi public final class HazeChildNode extends androidx.compose.ui.Modifier.Node implements androidx.compose.ui.node.CompositionLocalConsumerModifierNode androidx.compose.ui.node.DrawModifierNode androidx.compose.ui.node.GlobalPositionAwareModifierNode dev.chrisbanes.haze.HazeChildScope androidx.compose.ui.node.ObserverModifierNode { | ||
ctor public HazeChildNode(dev.chrisbanes.haze.HazeState state, optional dev.chrisbanes.haze.HazeStyle style, optional kotlin.jvm.functions.Function1<? super dev.chrisbanes.haze.HazeChildScope,kotlin.Unit>? block); | ||
method public void draw(androidx.compose.ui.graphics.drawscope.ContentDrawScope); | ||
method public float getAlpha(); | ||
method public long getBackgroundColor(); | ||
method public kotlin.jvm.functions.Function1<dev.chrisbanes.haze.HazeChildScope,kotlin.Unit>? getBlock(); | ||
method public boolean getBlurEnabled(); | ||
method public float getBlurRadius(); | ||
method public dev.chrisbanes.haze.HazeTint getFallbackTint(); | ||
method public androidx.compose.ui.graphics.Brush? getMask(); | ||
method public float getNoiseFactor(); | ||
method public dev.chrisbanes.haze.HazeProgressive? getProgressive(); | ||
method public dev.chrisbanes.haze.HazeState getState(); | ||
method public dev.chrisbanes.haze.HazeStyle getStyle(); | ||
method public java.util.List<dev.chrisbanes.haze.HazeTint> getTints(); | ||
method public void onGloballyPositioned(androidx.compose.ui.layout.LayoutCoordinates coordinates); | ||
method public void onObservedReadsChanged(); | ||
method public void setAlpha(float); | ||
method public void setBackgroundColor(long); | ||
method public void setBlock(kotlin.jvm.functions.Function1<? super dev.chrisbanes.haze.HazeChildScope,kotlin.Unit>?); | ||
method public void setBlurEnabled(boolean); | ||
method public void setBlurRadius(float); | ||
method public void setFallbackTint(dev.chrisbanes.haze.HazeTint); | ||
method public void setMask(androidx.compose.ui.graphics.Brush?); | ||
method public void setNoiseFactor(float); | ||
method public void setProgressive(dev.chrisbanes.haze.HazeProgressive?); | ||
method public void setState(dev.chrisbanes.haze.HazeState); | ||
method public void setStyle(dev.chrisbanes.haze.HazeStyle); | ||
method public void setTints(java.util.List<dev.chrisbanes.haze.HazeTint>); | ||
property public float alpha; | ||
property public long backgroundColor; | ||
property public final kotlin.jvm.functions.Function1<dev.chrisbanes.haze.HazeChildScope,kotlin.Unit>? block; | ||
property public boolean blurEnabled; | ||
property public float blurRadius; | ||
property public dev.chrisbanes.haze.HazeTint fallbackTint; | ||
property public androidx.compose.ui.graphics.Brush? mask; | ||
property public float noiseFactor; | ||
property public dev.chrisbanes.haze.HazeProgressive? progressive; | ||
property public boolean shouldAutoInvalidate; | ||
property public final dev.chrisbanes.haze.HazeState state; | ||
property public dev.chrisbanes.haze.HazeStyle style; | ||
property public java.util.List<dev.chrisbanes.haze.HazeTint> tints; | ||
field public static final String TAG = "HazeChild"; | ||
} | ||
|
||
public interface HazeChildScope { | ||
method public float getAlpha(); | ||
method public long getBackgroundColor(); | ||
method public boolean getBlurEnabled(); | ||
method public float getBlurRadius(); | ||
method public dev.chrisbanes.haze.HazeTint getFallbackTint(); | ||
method public androidx.compose.ui.graphics.Brush? getMask(); | ||
method public float getNoiseFactor(); | ||
method public dev.chrisbanes.haze.HazeProgressive? getProgressive(); | ||
method public dev.chrisbanes.haze.HazeStyle getStyle(); | ||
method public java.util.List<dev.chrisbanes.haze.HazeTint> getTints(); | ||
method public void setAlpha(float); | ||
method public void setBackgroundColor(long); | ||
method public void setBlurEnabled(boolean); | ||
method public void setBlurRadius(float); | ||
method public void setFallbackTint(dev.chrisbanes.haze.HazeTint); | ||
method public void setMask(androidx.compose.ui.graphics.Brush?); | ||
method public void setNoiseFactor(float); | ||
method public void setProgressive(dev.chrisbanes.haze.HazeProgressive?); | ||
method public void setStyle(dev.chrisbanes.haze.HazeStyle); | ||
method public void setTints(java.util.List<dev.chrisbanes.haze.HazeTint>); | ||
property public abstract float alpha; | ||
property public abstract long backgroundColor; | ||
property public abstract boolean blurEnabled; | ||
property public abstract float blurRadius; | ||
property public abstract dev.chrisbanes.haze.HazeTint fallbackTint; | ||
property public abstract androidx.compose.ui.graphics.Brush? mask; | ||
property public abstract float noiseFactor; | ||
property public abstract dev.chrisbanes.haze.HazeProgressive? progressive; | ||
property public abstract dev.chrisbanes.haze.HazeStyle style; | ||
property public abstract java.util.List<dev.chrisbanes.haze.HazeTint> tints; | ||
} | ||
|
||
public final class HazeDefaults { | ||
method public boolean blurEnabled(); | ||
method public float getBlurRadius(); | ||
method public dev.chrisbanes.haze.HazeStyle style(long backgroundColor, optional dev.chrisbanes.haze.HazeTint tint, optional float blurRadius, optional float noiseFactor); | ||
method @Deprecated public dev.chrisbanes.haze.HazeStyle style(optional long backgroundColor, long tint, optional float blurRadius, optional float noiseFactor); | ||
method public dev.chrisbanes.haze.HazeTint tint(long color); | ||
property public final float blurRadius; | ||
field public static final dev.chrisbanes.haze.HazeDefaults INSTANCE; | ||
field public static final float noiseFactor = 0.15f; | ||
field public static final float tintAlpha = 0.7f; | ||
} | ||
|
||
public final class HazeKt { | ||
method @androidx.compose.runtime.Stable public static androidx.compose.ui.Modifier haze(androidx.compose.ui.Modifier, dev.chrisbanes.haze.HazeState state); | ||
} | ||
|
||
@dev.chrisbanes.haze.ExperimentalHazeApi public final class HazeNode extends androidx.compose.ui.Modifier.Node implements androidx.compose.ui.node.CompositionLocalConsumerModifierNode androidx.compose.ui.node.DrawModifierNode androidx.compose.ui.node.GlobalPositionAwareModifierNode { | ||
ctor public HazeNode(dev.chrisbanes.haze.HazeState state); | ||
method public void draw(androidx.compose.ui.graphics.drawscope.ContentDrawScope); | ||
method public dev.chrisbanes.haze.HazeState getState(); | ||
method public void onGloballyPositioned(androidx.compose.ui.layout.LayoutCoordinates coordinates); | ||
method public void setState(dev.chrisbanes.haze.HazeState); | ||
property public boolean shouldAutoInvalidate; | ||
property public final dev.chrisbanes.haze.HazeState state; | ||
field public static final String TAG = "HazeNode"; | ||
} | ||
|
||
public sealed interface HazeProgressive { | ||
field public static final dev.chrisbanes.haze.HazeProgressive.Companion Companion; | ||
} | ||
|
||
public static final class HazeProgressive.Companion { | ||
method public dev.chrisbanes.haze.HazeProgressive.LinearGradient horizontalGradient(optional androidx.compose.animation.core.Easing easing, optional float startX, optional float startIntensity, optional float endX, optional float endIntensity, optional boolean preferPerformance); | ||
method public dev.chrisbanes.haze.HazeProgressive.LinearGradient verticalGradient(optional androidx.compose.animation.core.Easing easing, optional float startY, optional float startIntensity, optional float endY, optional float endIntensity, optional boolean preferPerformance); | ||
} | ||
|
||
public static final class HazeProgressive.LinearGradient implements dev.chrisbanes.haze.HazeProgressive { | ||
ctor public HazeProgressive.LinearGradient(optional androidx.compose.animation.core.Easing easing, optional long start, optional float startIntensity, optional long end, optional float endIntensity, optional boolean preferPerformance); | ||
method public androidx.compose.animation.core.Easing component1(); | ||
method public long component2-F1C5BW0(); | ||
method public float component3(); | ||
method public long component4-F1C5BW0(); | ||
method public float component5(); | ||
method public boolean component6(); | ||
method public dev.chrisbanes.haze.HazeProgressive.LinearGradient copy-E2oHoeU(androidx.compose.animation.core.Easing easing, long start, float startIntensity, long end, float endIntensity, boolean preferPerformance); | ||
method public androidx.compose.animation.core.Easing getEasing(); | ||
method public long getEnd(); | ||
method public float getEndIntensity(); | ||
method public boolean getPreferPerformance(); | ||
method public long getStart(); | ||
method public float getStartIntensity(); | ||
property public final androidx.compose.animation.core.Easing easing; | ||
property public final long end; | ||
property public final float endIntensity; | ||
property public final boolean preferPerformance; | ||
property public final long start; | ||
property public final float startIntensity; | ||
} | ||
|
||
@androidx.compose.runtime.Stable public final class HazeState { | ||
ctor public HazeState(); | ||
method public androidx.compose.ui.graphics.layer.GraphicsLayer? getContentLayer(); | ||
method public long getPositionOnScreen(); | ||
property public final androidx.compose.ui.graphics.layer.GraphicsLayer? contentLayer; | ||
property public final long positionOnScreen; | ||
} | ||
|
||
@androidx.compose.runtime.Immutable public final class HazeStyle { | ||
ctor public HazeStyle(optional long backgroundColor, optional dev.chrisbanes.haze.HazeTint? tint, optional float blurRadius, optional float noiseFactor, optional dev.chrisbanes.haze.HazeTint fallbackTint); | ||
ctor public HazeStyle(optional long backgroundColor, optional java.util.List<dev.chrisbanes.haze.HazeTint> tints, optional float blurRadius, optional float noiseFactor, optional dev.chrisbanes.haze.HazeTint fallbackTint); | ||
method public long component1-0d7_KjU(); | ||
method public java.util.List<dev.chrisbanes.haze.HazeTint> component2(); | ||
method public float component3-D9Ej5fM(); | ||
method public float component4(); | ||
method public dev.chrisbanes.haze.HazeTint component5(); | ||
method public dev.chrisbanes.haze.HazeStyle copy-cq6XJ1M(long backgroundColor, java.util.List<dev.chrisbanes.haze.HazeTint> tints, float blurRadius, float noiseFactor, dev.chrisbanes.haze.HazeTint fallbackTint); | ||
method public long getBackgroundColor(); | ||
method public float getBlurRadius(); | ||
method public dev.chrisbanes.haze.HazeTint getFallbackTint(); | ||
method public float getNoiseFactor(); | ||
method public java.util.List<dev.chrisbanes.haze.HazeTint> getTints(); | ||
property public final long backgroundColor; | ||
property public final float blurRadius; | ||
property public final dev.chrisbanes.haze.HazeTint fallbackTint; | ||
property public final float noiseFactor; | ||
property public final java.util.List<dev.chrisbanes.haze.HazeTint> tints; | ||
field public static final dev.chrisbanes.haze.HazeStyle.Companion Companion; | ||
} | ||
|
||
public static final class HazeStyle.Companion { | ||
method public dev.chrisbanes.haze.HazeStyle getUnspecified(); | ||
property public final dev.chrisbanes.haze.HazeStyle Unspecified; | ||
} | ||
|
||
public final class HazeStyleKt { | ||
method public static androidx.compose.runtime.ProvidableCompositionLocal<dev.chrisbanes.haze.HazeStyle> getLocalHazeStyle(); | ||
property public static final androidx.compose.runtime.ProvidableCompositionLocal<dev.chrisbanes.haze.HazeStyle> LocalHazeStyle; | ||
} | ||
|
||
@androidx.compose.runtime.Stable public final class HazeTint { | ||
ctor public HazeTint(long color, optional int blendMode); | ||
method public long component1-0d7_KjU(); | ||
method public int component2-0nO6VwU(); | ||
method public dev.chrisbanes.haze.HazeTint copy-xETnrds(long color, int blendMode); | ||
method public int getBlendMode(); | ||
method public long getColor(); | ||
method public boolean isSpecified(); | ||
property public final int blendMode; | ||
property public final long color; | ||
property public final boolean isSpecified; | ||
field public static final dev.chrisbanes.haze.HazeTint.Companion Companion; | ||
} | ||
|
||
public static final class HazeTint.Companion { | ||
method public dev.chrisbanes.haze.HazeTint getUnspecified(); | ||
property public final dev.chrisbanes.haze.HazeTint Unspecified; | ||
} | ||
|
||
} | ||
|