mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-23 04:00:28 +08:00
@@ -2,7 +2,8 @@ enum BtmProgressBehavior {
|
||||
alwaysShow('始终展示'),
|
||||
alwaysHide('始终隐藏'),
|
||||
onlyShowFullScreen('仅全屏时展示'),
|
||||
onlyHideFullScreen('仅全屏时隐藏');
|
||||
onlyHideFullScreen('仅全屏时隐藏')
|
||||
;
|
||||
|
||||
final String desc;
|
||||
const BtmProgressBehavior(this.desc);
|
||||
|
||||
@@ -13,7 +13,8 @@ enum FullScreenMode {
|
||||
// 屏幕长宽比 < kScreenRatio 或为竖屏视频时竖屏,否则横屏
|
||||
ratio('屏幕长宽比<$kScreenRatio或为竖屏视频时竖屏,否则横屏'),
|
||||
// 强制重力转屏(仅安卓)
|
||||
gravity('忽略系统方向锁定,强制按重力转屏(仅安卓)');
|
||||
gravity('忽略系统方向锁定,强制按重力转屏(仅安卓)')
|
||||
;
|
||||
|
||||
final String desc;
|
||||
const FullScreenMode(this.desc);
|
||||
|
||||
@@ -31,7 +31,8 @@ enum HwDecType {
|
||||
amf('amf', 'AMF (AMD独占)'),
|
||||
amfCopy('amf-copy', 'AMF (AMD独占) (非直通)'),
|
||||
qsv('qsv', 'Quick Sync Video (Intel独占)'),
|
||||
qsvCopy('qsv-copy', 'Quick Sync Video (Intel独占) (非直通)');
|
||||
qsvCopy('qsv-copy', 'Quick Sync Video (Intel独占) (非直通)')
|
||||
;
|
||||
|
||||
final String hwdec;
|
||||
final String desc;
|
||||
|
||||
@@ -3,7 +3,8 @@ enum PlayRepeat {
|
||||
listOrder('顺序播放'),
|
||||
singleCycle('单个循环'),
|
||||
listCycle('列表循环'),
|
||||
autoPlayRelated('自动连播');
|
||||
autoPlayRelated('自动连播')
|
||||
;
|
||||
|
||||
final String desc;
|
||||
const PlayRepeat(this.desc);
|
||||
|
||||
@@ -8,7 +8,8 @@ enum PlaySpeed {
|
||||
onePointSevenFive(1.75),
|
||||
|
||||
two(2.0),
|
||||
three(3.0);
|
||||
three(3.0)
|
||||
;
|
||||
|
||||
final double value;
|
||||
const PlaySpeed(this.value);
|
||||
|
||||
@@ -9,7 +9,8 @@ enum VideoFitType {
|
||||
none('原始', boxFit: BoxFit.none),
|
||||
scaleDown('限制', boxFit: BoxFit.scaleDown),
|
||||
ratio_4x3('4:3', aspectRatio: 4 / 3),
|
||||
ratio_16x9('16:9', aspectRatio: 16 / 9);
|
||||
ratio_16x9('16:9', aspectRatio: 16 / 9)
|
||||
;
|
||||
|
||||
final String desc;
|
||||
final BoxFit boxFit;
|
||||
|
||||
Reference in New Issue
Block a user