mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-06-08 12:04:50 +08:00
@@ -192,6 +192,33 @@ extension type AndroidHelper._(jni$_.JObject _$this) implements jni$_.JObject {
|
||||
|
||||
/// The type which includes information such as the signature of this class.
|
||||
static const jni$_.JType<AndroidHelper> type = $AndroidHelper$Type$();
|
||||
static final _id_isPipMode = _class.staticFieldId(
|
||||
r'isPipMode',
|
||||
r'Z',
|
||||
);
|
||||
|
||||
/// from: `static public volatile boolean isPipMode`
|
||||
static core$_.bool get isPipMode =>
|
||||
_id_isPipMode.getNullable(_class, jni$_.jboolean.type) as core$_.bool;
|
||||
|
||||
/// from: `static public volatile boolean isPipMode`
|
||||
static set isPipMode(core$_.bool value) =>
|
||||
_id_isPipMode.set(_class, jni$_.jboolean.type, value);
|
||||
|
||||
static final _id_isPipAvailable = _class.staticFieldId(
|
||||
r'isPipAvailable',
|
||||
r'Z',
|
||||
);
|
||||
|
||||
/// from: `static public volatile boolean isPipAvailable`
|
||||
static core$_.bool get isPipAvailable =>
|
||||
_id_isPipAvailable.getNullable(_class, jni$_.jboolean.type)
|
||||
as core$_.bool;
|
||||
|
||||
/// from: `static public volatile boolean isPipAvailable`
|
||||
static set isPipAvailable(core$_.bool value) =>
|
||||
_id_isPipAvailable.set(_class, jni$_.jboolean.type, value);
|
||||
|
||||
static final _id_back = _class.staticMethodId(
|
||||
r'back',
|
||||
r'()V',
|
||||
|
||||
@@ -191,13 +191,13 @@ abstract final class PageUtils {
|
||||
: height > width
|
||||
? const Rational.vertical()
|
||||
: const Rational.landscape();
|
||||
Floating().enable(
|
||||
Floating.enable(
|
||||
isAuto
|
||||
? AutoEnable(aspectRatio: aspectRatio)
|
||||
: EnableManual(aspectRatio: aspectRatio),
|
||||
);
|
||||
} else {
|
||||
Floating().enable(isAuto ? const AutoEnable() : const EnableManual());
|
||||
Floating.enable(isAuto ? const AutoEnable() : const EnableManual());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user