protected /*<name>*/UIInterfaceOrientationMask/*</name>*/ wrap(long value, long mask) { return new /*<name>*/UIInterfaceOrientationMask/*</name>*/(value, mask); } protected /*<name>*/UIInterfaceOrientationMask/*</name>*/[] _values() {
@Override public UIInterfaceOrientationMask getSupportedInterfaceOrientations () { long mask = 0; if (app.config.orientationLandscape) { mask |= ((1 << UIInterfaceOrientation.LandscapeLeft.value()) | (1 << UIInterfaceOrientation.LandscapeRight.value())); } if (app.config.orientationPortrait) { mask |= ((1 << UIInterfaceOrientation.Portrait.value()) | (1 << UIInterfaceOrientation.PortraitUpsideDown.value())); } return new UIInterfaceOrientationMask(mask); }
@Override public UIInterfaceOrientationMask getSupportedInterfaceOrientations () { long mask = 0; if (app.config.orientationLandscape) { mask |= ((1 << UIInterfaceOrientation.LandscapeLeft.value()) | (1 << UIInterfaceOrientation.LandscapeRight.value())); } if (app.config.orientationPortrait) { mask |= ((1 << UIInterfaceOrientation.Portrait.value()) | (1 << UIInterfaceOrientation.PortraitUpsideDown.value())); } return new UIInterfaceOrientationMask(mask); }
protected /*<name>*/UIInterfaceOrientationMask/*</name>*/ wrap(long value, long mask) { return new /*<name>*/UIInterfaceOrientationMask/*</name>*/(value, mask); } protected /*<name>*/UIInterfaceOrientationMask/*</name>*/[] _values() {
protected /*<name>*/UIInterfaceOrientationMask/*</name>*/ wrap(long value, long mask) { return new /*<name>*/UIInterfaceOrientationMask/*</name>*/(value, mask); } protected /*<name>*/UIInterfaceOrientationMask/*</name>*/[] _values() {
@Override public UIInterfaceOrientationMask getSupportedInterfaceOrientations () { long mask = 0; if (app.config.orientationLandscape) { mask |= ((1 << UIInterfaceOrientation.LandscapeLeft.value()) | (1 << UIInterfaceOrientation.LandscapeRight.value())); } if (app.config.orientationPortrait) { mask |= ((1 << UIInterfaceOrientation.Portrait.value()) | (1 << UIInterfaceOrientation.PortraitUpsideDown.value())); } return new UIInterfaceOrientationMask(mask); }