public class OrientationSettings extends Settings<OrientationSettings.Event>
Modifier and Type | Class and Description |
---|---|
static class |
OrientationSettings.Event |
Settings.RevertibleField
StateObservable.StateUnbindedExeption
Observable.OnPropertyChangedCallback
Modifier and Type | Field and Description |
---|---|
static <any> |
CREATOR |
isRevertible, revertibleFields, STATE_REVERTED, STATE_REVERTED_EVENT
STATE_INVALID_EVENT
Modifier | Constructor and Description |
---|---|
|
OrientationSettings() |
protected |
OrientationSettings(Parcel in) |
Modifier and Type | Method and Description |
---|---|
void |
callPreviewDirty() |
int |
describeContents() |
int |
getRotation() |
boolean |
isHorizontalFlipped() |
boolean |
isVerticalFlipped() |
OrientationSettings |
rotateCCW() |
OrientationSettings |
rotateCW() |
OrientationSettings |
setHorizontalFlipped(boolean imageFlipHorizontal) |
OrientationSettings |
setRotation(int imageRotation) |
OrientationSettings |
setVerticalFlipped(boolean imageFlipVertical) |
void |
writeToParcel(Parcel dest,
int flags) |
getDefaultCompareState, getFrozenSettings, getSettingsModel, hasChanges, hasRevertableState, isFrozen, isRevertible, revertState, saveInitState, saveState
addCallback, flagAsDirty, getStateModel, notifyChange, notifyPropertyChanged, notifyPropertyChanged, onBind, onBind, removeCallback
addOnPropertyChangedCallback, removeOnPropertyChangedCallback
public OrientationSettings()
protected OrientationSettings(Parcel in)
public void callPreviewDirty()
public int describeContents()
describeContents
in class Settings<OrientationSettings.Event>
public int getRotation()
public boolean isHorizontalFlipped()
public boolean isVerticalFlipped()
public OrientationSettings rotateCCW()
public OrientationSettings rotateCW()
public OrientationSettings setHorizontalFlipped(boolean imageFlipHorizontal)
public OrientationSettings setRotation(int imageRotation)
public OrientationSettings setVerticalFlipped(boolean imageFlipVertical)
public void writeToParcel(Parcel dest, int flags)
writeToParcel
in class Settings<OrientationSettings.Event>