public class KeyCycles extends KeyAttributes


Provides the API for creating a KeyCycle Object for use in the Core ConstraintLayout &MotionLayout system This allows multiple KeyCycle positions to defined in one object.

Summary

Nested types

public enum KeyCycles.Wave

Public methods

float[]
float[]
float[]
KeyCycles.Wave
void
setWaveOffset(float[] waveOffset)
void
setWavePeriod(float[] wavePeriod)
void
setWavePhase(float[] wavePhase)
void

Protected methods

void

Inherited methods

From androidx.constraintlayout.core.dsl.KeyAttributes
float[]
KeyAttributes.Fit
float[]
float[]
float[]
float[]
float[]
float[]
float[]
String[]
String
float[]
float[]
float[]
float[]
KeyAttributes.Visibility[]
void
setAlpha(float[] alpha)
void
void
setPivotX(float[] pivotX)
void
setPivotY(float[] pivotY)
void
setRotation(float[] rotation)
void
setRotationX(float[] rotationX)
void
setRotationY(float[] rotationY)
void
setScaleX(float[] scaleX)
void
setScaleY(float[] scaleY)
void
setTarget(String[] target)
void
setTransitionEasing(String transitionEasing)
void
setTransitionPathRotate(float[] transitionPathRotate)
void
setTranslationX(float[] translationX)
void
setTranslationY(float[] translationY)
void
setTranslationZ(float[] translationZ)
void
setVisibility(KeyAttributes.Visibility[] visibility)
String
From androidx.constraintlayout.core.dsl.Keys
void
append(StringBuilder builder, String name, String[] array)
void
append(StringBuilder builder, String name, float[] array)
void
append(StringBuilder builder, String name, float value)
void
append(StringBuilder builder, String name, int value)
void
append(StringBuilder builder, String name, String value)
String
unpack(String[] str)

Public methods

getWaveOffset

Added in 1.1.0
public float[] getWaveOffset()

getWavePeriod

Added in 1.1.0
public float[] getWavePeriod()

getWavePhase

Added in 1.1.0
public float[] getWavePhase()

getWaveShape

Added in 1.1.0
public KeyCycles.Wave getWaveShape()

setWaveOffset

public void setWaveOffset(float[] waveOffset)

setWavePeriod

public void setWavePeriod(float[] wavePeriod)

setWavePhase

public void setWavePhase(float[] wavePhase)

setWaveShape

Added in 1.1.0
public void setWaveShape(KeyCycles.Wave waveShape)

Protected methods

attributesToString

protected void attributesToString(StringBuilder builder)