8.0.17 视角变换
This commit is contained in:
@@ -551,6 +551,10 @@ class MoGoHmiFragment : MvpFragment<MoGoWarningContract.View?, WaringPresenter?>
|
||||
dismissToolsFloatView()
|
||||
}
|
||||
|
||||
override fun changeMapDAngle(mode: Int) {
|
||||
TODO("Not yet implemented")
|
||||
}
|
||||
|
||||
private fun showCameraList(cameraList: List<CameraEntity>?) {
|
||||
context?.let {
|
||||
if (cameraViewFloat == null) {
|
||||
|
||||
@@ -96,7 +96,6 @@ class DebugSettingView @JvmOverloads constructor(
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
tbSpeedView.setOnCheckedChangeListener { buttonView, isChecked ->
|
||||
if (!isChecked) {
|
||||
CallerHmiManager.setSpeedChartViewVisibility(View.VISIBLE)
|
||||
@@ -129,6 +128,11 @@ class DebugSettingView @JvmOverloads constructor(
|
||||
}
|
||||
}
|
||||
|
||||
changesight_top_btn.setOnClickListener {
|
||||
CallerHDMapManager.setMapDAngle(0);
|
||||
}
|
||||
|
||||
|
||||
tvObuInfo.text = CallerObuListenerManager.getObuStatusInfoJsonString()
|
||||
tvAutopilotInfo.text =
|
||||
CallerAutoPilotStatusListenerManager.getAutoPilotStatusInfoJsonString()
|
||||
|
||||
@@ -101,6 +101,57 @@
|
||||
android:textOn="显示「小地图」"
|
||||
android:textSize="@dimen/dp_34" />
|
||||
|
||||
<ToggleButton
|
||||
android:id="@+id/tbChangeSight"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="2dp"
|
||||
android:gravity="center"
|
||||
android:textOff="隐藏「视角切换工具」"
|
||||
android:textOn="显示「视角切换工具」"
|
||||
android:textSize="@dimen/dp_34" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/changesight_top_btn"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="2dp"
|
||||
android:gravity="center"
|
||||
android:text="切换 顶视角"
|
||||
android:textSize="@dimen/dp_34"/>
|
||||
<Button
|
||||
android:id="@+id/changesight_back_btn"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="2dp"
|
||||
android:gravity="center"
|
||||
android:text="切换 后方来车视角"
|
||||
android:textSize="@dimen/dp_34"/>
|
||||
<Button
|
||||
android:id="@+id/changesight_cross_btn"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="2dp"
|
||||
android:gravity="center"
|
||||
android:text="切换 十字路口视角"
|
||||
android:textSize="@dimen/dp_34"/>
|
||||
|
||||
<Button
|
||||
android:id="@+id/changesight_far_btn"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="2dp"
|
||||
android:gravity="center"
|
||||
android:text="切换 远视角"
|
||||
android:textSize="@dimen/dp_34"/>
|
||||
<Button
|
||||
android:id="@+id/reset_changesight"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="2dp"
|
||||
android:gravity="center"
|
||||
android:text="恢复视角"
|
||||
android:textSize="@dimen/dp_34"/>
|
||||
<!-- <Button
|
||||
android:id="@+id/tbChangeCarCenter100"
|
||||
android:layout_width="wrap_content"
|
||||
|
||||
Reference in New Issue
Block a user