feat: add vehicle customization, Arabic search normalization, and smooth movement interpolation

This commit is contained in:
Hamza-Ayed
2026-09-19 12:34:25 +03:00
parent 43ad2e0ad4
commit 55830beee8
16 changed files with 2295 additions and 393 deletions
@@ -35,28 +35,31 @@ class SiroNavScreen(carContext: CarContext) : Screen(carContext) {
.build()
)
// 3. Live Speed
// 3. Live Speed & Heading
paneBuilder.addRow(
Row.Builder()
.setTitle("السرعة الحالية")
.addText(state.formattedSpeed)
.setTitle("السرعة والاتجاه")
.addText("${state.formattedSpeed} • الزاوية ${state.bearing.toInt()}°")
.build()
)
// Stop navigation action button
paneBuilder.addAction(
Action.Builder()
.setTitle("إنهاء الملاحة")
.setOnClickListener {
SiroCarAppService.stopNavigation()
invalidate()
}
.build()
)
// Header Action Strip for seamless access across landscape, portrait, and Coolwalk multi-window
val actionStrip = ActionStrip.Builder()
.addAction(
Action.Builder()
.setTitle("إنهاء الملاحة")
.setOnClickListener {
SiroCarAppService.stopNavigation()
invalidate()
}
.build()
)
.build()
return PaneTemplate.Builder(paneBuilder.build())
.setTitle("ملاحة سيرو • جارية الآن")
.setHeaderAction(Action.APP_ICON)
.setActionStrip(actionStrip)
.build()
}
@@ -66,7 +69,7 @@ class SiroNavScreen(carContext: CarContext) : Screen(carContext) {
paneBuilder.addRow(
Row.Builder()
.setTitle("خرائط سيرو السيادية (Siro Maps)")
.addText("التطبيق متصل بنجاح بشاشة السيارة")
.addText("متصل بشاشة السيارة • جاهز للتوجيه")
.build()
)
@@ -80,7 +83,7 @@ class SiroNavScreen(carContext: CarContext) : Screen(carContext) {
paneBuilder.addRow(
Row.Builder()
.setTitle("بدء الملاحة")
.addText("حدد وجهتك من شاشة الهاتف للانتقال الفوري إلى وضع الملاحة ثلاثية الأبعاد")
.addText("حدد وجهتك من تطبيق الهاتف لبدء الملاحة التفاعلية فوراً")
.build()
)