1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
/// Reference watch dial diameter in logical dp for compact viewport scaling (`1.0x`).
pub const WEARABLE_REF_DIAL_DP: f32 = 210.0;
/// Minimum compact viewport scale clamp for ultra-compact smartwatch displays.
pub const WEARABLE_MIN_COMPACT_SCALE: f32 = 0.72;
/// Maximum compact viewport scale clamp for large rugged smartwatch displays (e.g. Ultra).
pub const WEARABLE_MAX_COMPACT_SCALE: f32 = 1.20;
/// Default scroll distance in logical pixels emitted per rotary crown/bezel detent tick.
pub const WEARABLE_CROWN_PIXELS_PER_DETENT: f32 = 36.0;
/// Default interactive smartwatch refresh rate in Hertz (`60.0` Hz).
pub const WEARABLE_INTERACTIVE_REFRESH_HZ: f32 = 60.0;
/// Low-power Always-On Display (AOD) ambient refresh rate in Hertz (`1.0` Hz).
pub const WEARABLE_AOD_REFRESH_HZ: f32 = 1.0;
/// Canonical vendor identifier for Google / Samsung / Pixel / TicWatch Wear OS.
pub const WEARABLE_VENDOR_WEAR_OS: &str = "wearos";
/// Canonical vendor identifier for Apple watchOS.
pub const WEARABLE_VENDOR_WATCH_OS: &str = "watchos";
/// Canonical vendor identifier for Huawei HarmonyOS Watch.
pub const WEARABLE_VENDOR_HARMONY_WATCH: &str = "harmony-watch";
/// Canonical vendor identifier for Xiaomi HyperOS / Vela Watch.
pub const WEARABLE_VENDOR_HYPEROS_VELA: &str = "hyperos-vela";
/// Canonical vendor identifier for OPPO ColorOS Watch.
pub const WEARABLE_VENDOR_OPPO_WATCH: &str = "oppo-watch";
/// Canonical vendor identifier for vivo BlueOS Watch.
pub const WEARABLE_VENDOR_VIVO_WATCH: &str = "vivo-watch";
/// Canonical vendor identifier for Garmin Connect IQ watches.
pub const WEARABLE_VENDOR_GARMIN: &str = "garmin";
/// Canonical vendor identifier for Amazfit Zepp OS watches.
pub const WEARABLE_VENDOR_ZEPP_OS: &str = "zeppos";
/// Canonical vendor identifier for generic wrist wearable devices.
pub const WEARABLE_VENDOR_GENERIC: &str = "generic-wearable";
/// Default compact top clock/status inset for rectangular wearable bands in logical dp.
pub const WEARABLE_RECT_TOP_INSET_DP: f32 = 16.0;
/// Default compact bottom gesture/edge inset for rectangular wearable bands in logical dp.
pub const WEARABLE_RECT_BOTTOM_INSET_DP: f32 = 10.0;
/// Default horizontal padding inset for rectangular wearable bands in logical dp.
pub const WEARABLE_RECT_SIDE_INSET_DP: f32 = 6.0;
/// Default squircle corner radius ratio relative to the shorter display edge.
pub const WEARABLE_SQUIRCLE_RADIUS_RATIO: f32 = 0.22;
/// Default initial route path for wearable host sessions.
pub const WEARABLE_DEFAULT_ROUTE: &str = "/";
/// Vendor alias accepted by `WearableVendor::from_str_id` for vivo BlueOS Watch.
pub const WEARABLE_ALIAS_VIVO: &str = "vivo";
/// Vendor alias accepted by `WearableVendor::from_str_id` for vivo BlueOS Watch.
pub const WEARABLE_ALIAS_BLUEOS: &str = "blueos";
/// Vendor alias accepted by `WearableVendor::from_str_id` for vivo BlueOS Watch.
pub const WEARABLE_ALIAS_BLUEOS_WATCH: &str = "blueos-watch";
/// Vendor alias accepted by `WearableVendor::from_str_id` for vivo BlueOS Watch.
pub const WEARABLE_ALIAS_VIVO_BLUEOS: &str = "vivo-blueos";
/// Vendor alias accepted by `WearableVendor::from_str_id` for OPPO ColorOS Watch.
pub const WEARABLE_ALIAS_OPPO: &str = "oppo";
/// Vendor alias accepted by `WearableVendor::from_str_id` for OPPO ColorOS Watch.
pub const WEARABLE_ALIAS_COLOROS_WATCH: &str = "coloros-watch";
/// Vendor alias accepted by `WearableVendor::from_str_id` for Huawei HarmonyOS Watch.
pub const WEARABLE_ALIAS_HARMONY_WEARABLE: &str = "harmony-wearable";
/// Vendor alias accepted by `WearableVendor::from_str_id` for Xiaomi HyperOS / Vela Watch.
pub const WEARABLE_ALIAS_VELA: &str = "vela";
/// Vendor alias accepted by `WearableVendor::from_str_id` for Amazfit Zepp OS Watch.
pub const WEARABLE_ALIAS_AMAZFIT: &str = "amazfit";
/// Vendor alias accepted by `WearableVendor::from_str_id` for generic wrist wearables.
pub const WEARABLE_ALIAS_GENERIC: &str = "generic";
/// Runtime ecosystem descriptor for Google Wear OS.
pub const WEARABLE_RUNTIME_WEAR_OS: &str = "Android NDK / Wear OS";
/// Runtime ecosystem descriptor for Apple watchOS.
pub const WEARABLE_RUNTIME_WATCH_OS: &str = "SwiftUI / WatchKit / Metal";
/// Runtime ecosystem descriptor for Huawei HarmonyOS Watch.
pub const WEARABLE_RUNTIME_HARMONY_WATCH: &str = "HarmonyOS Stage Model / XComponent";
/// Runtime ecosystem descriptor for Xiaomi HyperOS / Vela Watch.
pub const WEARABLE_RUNTIME_HYPEROS_VELA: &str = "Xiaomi HyperOS Vela / NuttX / QuickApp .ux";
/// Runtime ecosystem descriptor for OPPO ColorOS Watch.
pub const WEARABLE_RUNTIME_OPPO_WATCH: &str = "OPPO ColorOS Watch / Wear OS Hybrid";
/// Runtime ecosystem descriptor for vivo BlueOS Watch.
pub const WEARABLE_RUNTIME_VIVO_WATCH: &str = "vivo BlueOS / Rust-WASM / QuickApp .ux";
/// Runtime ecosystem descriptor for Garmin Connect IQ.
pub const WEARABLE_RUNTIME_GARMIN: &str = "Garmin Connect IQ / Monkey C";
/// Runtime ecosystem descriptor for Amazfit Zepp OS.
pub const WEARABLE_RUNTIME_ZEPP_OS: &str = "Amazfit Zepp OS / Mini Program";
/// Runtime ecosystem descriptor for generic wrist wearables.
pub const WEARABLE_RUNTIME_GENERIC: &str = "Generic Embedded Wearable";