[6.7.0] roadcross ui change and update och biz caller

This commit is contained in:
EmArrow
2024-09-23 14:35:49 +08:00
parent 2e5a7e1ef2
commit cd7cf712cc
10 changed files with 56 additions and 61 deletions

View File

@@ -33,14 +33,6 @@ class BoneContainerView @JvmOverloads constructor(
clBoneBiz.addView(view)
}
fun setCarNo(carNo: String){
clBoneTab.setCarNo(carNo)
}
fun setLoginInfo(loginNo: String){
clBoneTab.setLoginInfo(loginNo)
}
fun loginOut(logOut:(() -> Unit)){
this.logOut = logOut
}

View File

@@ -192,22 +192,22 @@ class RoadCrossRoamView @JvmOverloads constructor(
private fun attachView() {
// 没有路线不做提示
if (CallerAutoPilotStatusListenerManager.getLineId() == 0L) {
return
}
// 处于漫游模式下不做处理
if (CallerMapIdentifyManager.roam.second) {
if (CallerMapIdentifyManager.roam.first != TAG) {
ToastUtils.showLong("正在漫游中,不展示路口漫游")
}
CallerLogger.d("$M_MAP$TAG", "正在漫游中,不展示路口漫游")
return
}
// 首页被遮挡不做提示
if (!CallerHmiViewControlListenerManager.getMainPageVisible()) {
CallerLogger.d("$M_MAP$TAG", "attachView return , mainPageVisible is false")
return
}
// if (CallerAutoPilotStatusListenerManager.getLineId() == 0L) {
// return
// }
// // 处于漫游模式下不做处理
// if (CallerMapIdentifyManager.roam.second) {
// if (CallerMapIdentifyManager.roam.first != TAG) {
// ToastUtils.showLong("正在漫游中,不展示路口漫游")
// }
// CallerLogger.d("$M_MAP$TAG", "正在漫游中,不展示路口漫游")
// return
// }
// // 首页被遮挡不做提示
// if (!CallerHmiViewControlListenerManager.getMainPageVisible()) {
// CallerLogger.d("$M_MAP$TAG", "attachView return , mainPageVisible is false")
// return
// }
//播放语音
val dis = CallerMapRoadListenerManager.getStopLineDistance()?.toInt() ?: 0
if (AppIdentityModeUtils.isDriver(FunctionBuildConfig.appIdentityMode)) {

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 377 KiB

View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<animated-rotate xmlns:android="http://schemas.android.com/apk/res/android"
android:drawable="@drawable/icon_road_roam_progress"
android:pivotX="50%"
android:pivotY="50%">
</animated-rotate>

View File

@@ -9,9 +9,9 @@
android:id="@+id/tvRoadItemTip"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:layout_constraintBottom_toBottomOf="parent"
android:textSize="@dimen/dp_26"
android:textColor="@color/white"
android:textSize="@dimen/dp_26"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintTop_toTopOf="parent" />
@@ -19,7 +19,9 @@
android:id="@+id/pbRoadItemTip"
android:layout_width="@dimen/dp_35"
android:layout_height="@dimen/dp_35"
android:progressDrawable="@drawable/icon_road_roam_progress"
android:indeterminateBehavior="repeat"
android:indeterminateDrawable="@drawable/anim_road_cross_progress"
android:indeterminateOnly="true"
android:visibility="visible"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent" />