[2.13.2-arch-opt] remove unuse res of v2x

This commit is contained in:
zhongchao
2023-01-13 15:18:21 +08:00
parent d616dbb937
commit 183c5b806f
33 changed files with 276 additions and 1218 deletions

View File

@@ -136,7 +136,7 @@
android:layout_marginEnd="155dp"
android:layout_marginBottom="231dp"
android:orientation="vertical"
app:bgColor="@color/transparent_white_30"
app:bgColor="@color/color_B3FFFFFF"
app:blurRadius="@dimen/dp_60"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"

View File

@@ -105,17 +105,17 @@ class AutoPilotStatusView @JvmOverloads constructor(
when (autopilotStatus) {
IMoGoAutopilotStatusListener.STATUS_AUTOPILOT_DISABLE -> {// 不可自动驾驶adas与工控机没有链接或工控机异常
setBackgroundResource(R.drawable.module_hmi_autopilot_status_disabled_bg)
tvStatusDes.setTextColor(resources.getColor(R.color.module_mogo_autopilot_status_disable))
tvStatusDes.setTextColor(resources.getColor(R.color.color_4DFFFFFF))
ivStatusIcon.setImageResource(R.drawable.icon_autopilot_status_disabled)
}
IMoGoAutopilotStatusListener.STATUS_AUTOPILOT_ENABLE -> {// 可自动驾驶,目前处于人工干预状态
setBackgroundResource(R.drawable.module_hmi_autopilot_status_enable_bg)
tvStatusDes.setTextColor(resources.getColor(R.color.module_mogo_autopilot_status_enable))
tvStatusDes.setTextColor(resources.getColor(R.color.color_white))
ivStatusIcon.setImageResource(R.drawable.icon_autopilot_status)
}
IMoGoAutopilotStatusListener.STATUS_AUTOPILOT_RUNNING -> {// 自动驾驶中
setBackgroundResource(R.drawable.module_hmi_autopilot_status_checked_bg)
tvStatusDes.setTextColor(resources.getColor(R.color.module_mogo_autopilot_status_enable))
tvStatusDes.setTextColor(resources.getColor(R.color.color_white))
ivStatusIcon.setImageResource(R.drawable.icon_autopilot_status)
}
}

View File

@@ -25,7 +25,7 @@
android:layout_height="wrap_content"
android:paddingLeft="@dimen/module_switch_margin_left"
android:text="@string/module_map_model_normal"
android:textColor="@color/module_ext_color_voice_text"
android:textColor="@color/color_white"
android:textSize="@dimen/module_switch_text_size" />
</LinearLayout>
</FrameLayout>

View File

@@ -39,17 +39,7 @@
<color name="foreground_info">#FF333333</color>
<color name="foreground_warn">#FFCCCCCC</color>
<color name="color_FF2966EC">#FF2966EC</color>
<color name="color_FFA7B6F0">#FFA7B6F0</color>
<color name="color_B3FFFFFF">#B3FFFFFF</color>
<color name="color_99000000">#99000000</color>
<color name="color_E63B4577">#E63B4577</color>
<color name="color_3E7BFE">#3E7BFE</color>
<color name="color_1F9BFE">#1F9BFE</color>
<color name="color_8E9DD4">#8E9DD4</color>
<color name="color_4D000000">#4D000000</color>
<color name="color_66B8BFE8">#66B8BFE8</color>
<color name="color_AFB3C7">#AFB3C7</color>
<color name="version_latest_start_color">#6D7BAF</color>

View File

@@ -76,24 +76,10 @@ public class TestPanelBroadcastReceiver extends BroadcastReceiver {
// 存储本地,出行动态作展示
saveLocalStory(V2XMessageEntity.V2XTypeEnum.ALERT_ROAD_WARNING,
v2XMessageEntity.getContent().getNoveltyInfo());
} else if (sceneType == 9) {//触发他人发起道路求助事件
V2XMessageEntity<List<V2XSpecialCarRes.V2XMarkerEntity>> v2XMessageEntity =
TestOnLineCarUtils.getV2XScenarioSeekHelpData();
Intent intent = new Intent(V2XConst.BROADCAST_SCENE_HANDLER_ACTION);
intent.putExtra(V2XConst.BROADCAST_SCENE_EXTRA_KEY, v2XMessageEntity);
LocalBroadcastManager.getInstance(mContext).sendBroadcast(intent);
} else if (sceneType == 10) {//触发事件UGC
V2XMessageEntity<V2XRoadEventEntity> v2XMessageEntity =
TestOnLineCarUtils.getV2XScenarioRoadEventUGCData();
Intent intent = new Intent(V2XConst.BROADCAST_SCENE_HANDLER_ACTION);
intent.putExtra(V2XConst.BROADCAST_SCENE_EXTRA_KEY, v2XMessageEntity);
LocalBroadcastManager.getInstance(mContext).sendBroadcast(intent);
} else if (sceneType == 11) {//触发违章停车事件
V2XMessageEntity<List<MarkerExploreWay>> v2XMessageEntity =
TestOnLineCarUtils.getV2XIllegalParkData();
Intent intent = new Intent(V2XConst.BROADCAST_SCENE_HANDLER_ACTION);
intent.putExtra(V2XConst.BROADCAST_SCENE_EXTRA_KEY, v2XMessageEntity);
LocalBroadcastManager.getInstance(mContext).sendBroadcast(intent);

View File

@@ -28,40 +28,6 @@ import java.util.List;
*/
public class TestOnLineCarUtils {
/**
* 获取测试的违章停车数据
*/
public static V2XMessageEntity<List<MarkerExploreWay>> getV2XIllegalParkData() {
try {
InputStream inputStream = Utils.getApp().getResources().openRawResource(R.raw.illegal_park_data);
ByteArrayOutputStream baos = new ByteArrayOutputStream();
int len = -1;
byte[] buffer = new byte[1024];
while ((len = inputStream.read(buffer)) != -1) {
baos.write(buffer, 0, len);
}
inputStream.close();
// 加载数据源
MarkerResponse markerResponse = GsonUtil.objectFromJson(baos.toString(), MarkerResponse.class);
V2XMessageEntity<List<MarkerExploreWay>> v2xMessageEntity = new V2XMessageEntity<>();
// 控制类型
v2xMessageEntity.setType(V2XMessageEntity.V2XTypeEnum.ALERT_ILLEGAL_PARK_WARNING);
// 设置数据
v2xMessageEntity.setContent(markerResponse.getResult().getExploreWay());
// 控制展示状态
v2xMessageEntity.setShowState(true);
return v2xMessageEntity;
} catch (Exception e) {
e.printStackTrace();
}
return null;
}
/**
* 模拟道路事件测试数据
*/
@@ -183,76 +149,6 @@ public class TestOnLineCarUtils {
return null;
}
/**
* 模拟 道路求助
*/
public static V2XMessageEntity<List<V2XSpecialCarRes.V2XMarkerEntity>> getV2XScenarioSeekHelpData() {
try {
InputStream inputStream = Utils.getApp()
.getResources()
.openRawResource(R.raw.scenario_seek_help);
ByteArrayOutputStream baos = new ByteArrayOutputStream();
int len = -1;
byte[] buffer = new byte[1024];
while ((len = inputStream.read(buffer)) != -1) {
baos.write(buffer, 0, len);
}
inputStream.close();
// 加载数据源
V2XSpecialCarRes v2xRoadEventEntity =
GsonUtil.objectFromJson(baos.toString(), V2XSpecialCarRes.class);
V2XMessageEntity<List<V2XSpecialCarRes.V2XMarkerEntity>> v2xMessageEntity = new V2XMessageEntity<>();
// 控制类型
v2xMessageEntity.setType(V2XMessageEntity.V2XTypeEnum.ALERT_SEEK_WARNING);
// 设置数据
v2xMessageEntity.setContent(v2xRoadEventEntity.getCoordinates());
// 控制展示状态
v2xMessageEntity.setShowState(true);
return v2xMessageEntity;
} catch (Exception e) {
e.printStackTrace();
}
return null;
}
/**
* 模拟 后方VIP
*/
public static V2XMessageEntity<List<V2XSpecialCarRes.V2XMarkerEntity>> getV2XScenarionVRBehindVIPData() {
try {
InputStream inputStream = Utils.getApp()
.getResources()
.openRawResource(R.raw.scenario_push_vr_hehind_vip_data);
ByteArrayOutputStream baos = new ByteArrayOutputStream();
int len = -1;
byte[] buffer = new byte[1024];
while ((len = inputStream.read(buffer)) != -1) {
baos.write(buffer, 0, len);
}
inputStream.close();
// 加载数据源
V2XSpecialCarRes v2xRoadEventEntity =
GsonUtil.objectFromJson(baos.toString(), V2XSpecialCarRes.class);
V2XMessageEntity<List<V2XSpecialCarRes.V2XMarkerEntity>> v2xMessageEntity = new V2XMessageEntity<>();
// 控制类型
v2xMessageEntity.setType(V2XMessageEntity.V2XTypeEnum.ALERT_PUSH_WINDOW_WARNING);
// 设置数据
v2xMessageEntity.setContent(v2xRoadEventEntity.getCoordinates());
// 控制展示状态
v2xMessageEntity.setShowState(true);
return v2xMessageEntity;
} catch (Exception e) {
e.printStackTrace();
}
return null;
}
/**
* 模拟最优路线推送
*/

View File

@@ -1,266 +0,0 @@
package com.mogo.eagle.core.function.v2x.events.view;
import static com.mogo.eagle.core.utilcode.mogo.logger.scene.SceneConstant.M_V2X;
import static com.mogo.eagle.core.widget.media.video.SimpleVideoPlayer.PLAY_EVT_PLAY_BEGIN;
import static com.mogo.eagle.core.widget.media.video.SimpleVideoPlayer.PLAY_EVT_PLAY_LOADING;
import android.content.Context;
import android.content.Intent;
import android.graphics.PorterDuff;
import android.text.TextUtils;
import android.util.AttributeSet;
import android.view.LayoutInflater;
import android.widget.ProgressBar;
import android.widget.TextView;
import androidx.constraintlayout.widget.ConstraintLayout;
import androidx.core.content.ContextCompat;
import com.mogo.cloud.trafficlive.api.ITrafficIntersectionLiveCallBack;
import com.mogo.cloud.trafficlive.api.MoGoAiCloudTrafficLive;
import com.mogo.commons.voice.AIAssist;
import com.mogo.eagle.core.data.map.MogoLocation;
import com.mogo.eagle.core.data.map.entity.MarkerCarInfo;
import com.mogo.eagle.core.function.call.map.CallerMapLocationListenerManager;
import com.mogo.eagle.core.function.v2x.R;
import com.mogo.eagle.core.function.v2x.events.voice.V2XVoiceCallbackListener;
import com.mogo.eagle.core.function.v2x.events.voice.V2XVoiceConstants;
import com.mogo.eagle.core.function.v2x.events.voice.V2XVoiceManager;
import com.mogo.eagle.core.utilcode.mogo.logger.CallerLogger;
import com.mogo.eagle.core.utilcode.util.Utils;
import com.mogo.eagle.core.widget.RoundLayout;
import com.mogo.eagle.core.widget.media.video.SimpleVideoPlayer;
import com.shuyu.gsyvideoplayer.GSYVideoManager;
import com.shuyu.gsyvideoplayer.builder.GSYVideoOptionBuilder;
import com.shuyu.gsyvideoplayer.cache.CacheFactory;
import com.shuyu.gsyvideoplayer.cache.ProxyCacheManager;
import com.shuyu.gsyvideoplayer.model.VideoOptionModel;
import com.shuyu.gsyvideoplayer.player.IjkPlayerManager;
import com.shuyu.gsyvideoplayer.player.PlayerFactory;
import com.shuyu.gsyvideoplayer.utils.GSYVideoType;
import java.util.ArrayList;
import java.util.List;
import tv.danmaku.ijk.media.player.IjkMediaPlayer;
/**
* author : donghongyu
* e-mail : 1358506549@qq.com
* date : 2020-02-06 23:07
* update : 2021-04-01 17:30
* version: 1.0
*/
public class V2XCrossRoadVideoView extends RoundLayout {
private static final String TAG = "CrossRoadVideo";
private SimpleVideoPlayer mTxcVideoView;
private final GSYVideoOptionBuilder gsyVideoOptionBuilder = new GSYVideoOptionBuilder();
private ProgressBar mLoading;
private ConstraintLayout mClLoadError;
private boolean init = false;
private MarkerCarInfo.CarLiveInfo mCarLiveInfo;
// 重新刷新直播流
private final V2XVoiceCallbackListener v2XVoiceCallbackRefreshListener = new V2XVoiceCallbackListener() {
@Override
public void onCallback(String command, Intent intent) {
mLoading.setVisibility(VISIBLE);
mClLoadError.setVisibility(GONE);
if (mCarLiveInfo != null) {
startLive(mCarLiveInfo);
}
}
};
public V2XCrossRoadVideoView(Context context) {
this(context, null);
}
public V2XCrossRoadVideoView(Context context, AttributeSet attrs) {
this(context, attrs, 0);
}
public V2XCrossRoadVideoView(Context context, AttributeSet attrs, int defStyleAttr) {
super(context, attrs, defStyleAttr);
CallerLogger.INSTANCE.d(M_V2X + TAG, "constructor invoke initView");
initView(context);
}
private void initView(Context context) {
if (init) {
return;
}
CallerLogger.INSTANCE.d(M_V2X + TAG, "V2X===初始化语音呼叫路口直播视图");
LayoutInflater.from(context)
.inflate(R.layout.view_video_layout_see_crossroad, this);
//mPlayerView 即 step1 中添加的界面 view
mTxcVideoView = findViewById(R.id.txcVideoView);
initGSYVideoConfig();
mLoading = findViewById(R.id.loading);
mLoading.getIndeterminateDrawable().setColorFilter(ContextCompat.getColor(context, R.color.live_video_progress_bar_loading_color), PorterDuff.Mode.MULTIPLY);
mClLoadError = findViewById(R.id.clLoadError);
TextView mTvRefreshButton = findViewById(R.id.tvRefreshButton);
mTvRefreshButton.setOnClickListener(v -> {
mLoading.setVisibility(VISIBLE);
mClLoadError.setVisibility(GONE);
if (mCarLiveInfo != null) {
startLive(mCarLiveInfo);
}
});
init = true;
}
private void initGSYVideoConfig() {
PlayerFactory.setPlayManager(IjkPlayerManager.class);
CacheFactory.setCacheManager(ProxyCacheManager.class);
List<VideoOptionModel> list = new ArrayList<>();
list.add(new VideoOptionModel(IjkMediaPlayer.OPT_CATEGORY_FORMAT, "rtsp_transport", "tcp"));
list.add(new VideoOptionModel(IjkMediaPlayer.OPT_CATEGORY_FORMAT, "rtsp_flags", "prefer_tcp"));
list.add(new VideoOptionModel(IjkMediaPlayer.OPT_CATEGORY_FORMAT, "allowed_media_types", "video"));
list.add(new VideoOptionModel(IjkMediaPlayer.OPT_CATEGORY_FORMAT, "timeout", 20000));
list.add(new VideoOptionModel(IjkMediaPlayer.OPT_CATEGORY_FORMAT, "buffer_size", 1316));
list.add(new VideoOptionModel(IjkMediaPlayer.OPT_CATEGORY_FORMAT, "infbuf", 1));
list.add(new VideoOptionModel(IjkMediaPlayer.OPT_CATEGORY_FORMAT, "analyzeduration", 1));
list.add(new VideoOptionModel(IjkMediaPlayer.OPT_CATEGORY_FORMAT, "probesize", 10240));
list.add(new VideoOptionModel(IjkMediaPlayer.OPT_CATEGORY_FORMAT, "flush_packets", 1));
list.add(new VideoOptionModel(IjkMediaPlayer.OPT_CATEGORY_FORMAT, "dns_cache_clear", 1));
list.add(new VideoOptionModel(IjkMediaPlayer.OPT_CATEGORY_FORMAT, "dns_cache_timeout", -1));
list.add(new VideoOptionModel(IjkMediaPlayer.OPT_CATEGORY_FORMAT, "analyzeduration", 1));
list.add(new VideoOptionModel(IjkMediaPlayer.OPT_CATEGORY_FORMAT, "packet-buffering", 0));
list.add(new VideoOptionModel(IjkMediaPlayer.OPT_CATEGORY_FORMAT, "reconnect", 10));
GSYVideoManager.instance().setOptionModelList(list);
GSYVideoType.enableMediaCodec();
GSYVideoType.enableMediaCodecTexture();
GSYVideoType.setShowType(GSYVideoType.SCREEN_MATCH_FULL);
}
/**
* 设置直播信息
*/
public void setCarLiveInfo(MarkerCarInfo.CarLiveInfo carLiveInfo) {
mCarLiveInfo = carLiveInfo;
}
/**
* 开始直播
*
* @param carLiveInfo 要直播的设备信息,如果没有直播的地址需要重新获取最新的直播地址
*/
public void startLive(MarkerCarInfo.CarLiveInfo carLiveInfo) {
// 进行直播播放
if (mTxcVideoView != null
&& carLiveInfo != null) {
if (!TextUtils.isEmpty(carLiveInfo.getVideoUrl())) {
setCarLiveInfo(carLiveInfo);
playLiveVideo(carLiveInfo);
}
//重新获取直播流地址
else {
MogoLocation mogoLocation = CallerMapLocationListenerManager.INSTANCE.getCurrentLocation();
if (mogoLocation == null) {
return;
}
MoGoAiCloudTrafficLive.viewFrontIntersectionLive(mogoLocation.getLatitude(), mogoLocation.getLongitude(), ((int) mogoLocation.getBearing()), new ITrafficIntersectionLiveCallBack() {
@Override
public void liveUrlResult(String liveUrl) {
if (!TextUtils.isEmpty(liveUrl)) {
MarkerCarInfo.CarLiveInfo carLiveInfo = new MarkerCarInfo.CarLiveInfo();
carLiveInfo.setVideoUrl(liveUrl);
setCarLiveInfo(carLiveInfo);
playLiveVideo(carLiveInfo);
} else {
CallerLogger.INSTANCE.d(M_V2X + TAG, "startLive 路口实况直播地址为空");
}
}
@Override
public void onError(String errorMsg) {
CallerLogger.INSTANCE.d(M_V2X + TAG, "获取路口实况失败");
}
});
}
}
}
/**
* 播放直播流,且开始心跳
*/
private void playLiveVideo(MarkerCarInfo.CarLiveInfo carLiveInfo) {
if (mTxcVideoView != null) {
mTxcVideoView.setPlayListener(event -> {
CallerLogger.INSTANCE.d(M_V2X + TAG, "播放器onPlayEvent==" + event);
if (event == PLAY_EVT_PLAY_LOADING) {
mLoading.setVisibility(VISIBLE);
mClLoadError.setVisibility(GONE);
} else if (event == PLAY_EVT_PLAY_BEGIN) {
refreshStatusToListener(true);
mLoading.setVisibility(GONE);
mClLoadError.setVisibility(GONE);
} else if (event < 0) {
refreshStatusToListener(false);
AIAssist.getInstance(Utils.getApp()).speakTTSVoiceWithLevel("直播获取识败,可以对我说重试", AIAssist.LEVEL3);
stopLive();
mLoading.setVisibility(GONE);
mClLoadError.setVisibility(VISIBLE);
// 注册语音交互
V2XVoiceManager.INSTANCE
.registerUnWakeVoice(V2XVoiceConstants.COMMAND_ZHIDAO_V2X_REFRESH_LIVE_UN_WAKEUP,
v2XVoiceCallbackRefreshListener);
}
});
gsyVideoOptionBuilder.setUrl(carLiveInfo.getVideoUrl()).setCacheWithPlay(false).setPlayTag(TAG)
.build(mTxcVideoView);
mTxcVideoView.getStartButton().performClick();
}
}
public void stopLive() {
try {
CallerLogger.INSTANCE.d(M_V2X + TAG, "关闭直播...");
GSYVideoManager.releaseAllVideos();
} catch (Exception e) {
e.printStackTrace();
}
}
@Override
protected void onAttachedToWindow() {
super.onAttachedToWindow();
if (mCarLiveInfo != null) {
startLive(mCarLiveInfo);
}
}
@Override
protected void onDetachedFromWindow() {
stopLive();
mLoading.setVisibility(VISIBLE);
// 反注册语音交互
V2XVoiceManager.INSTANCE
.unRegisterUnWakeVoice(V2XVoiceConstants.COMMAND_ZHIDAO_V2X_REFRESH_LIVE_UN_WAKEUP);
super.onDetachedFromWindow();
}
private void refreshStatusToListener(boolean videoPlaying) {
if (onVideoStatusChange != null) {
onVideoStatusChange.videoPlaying(videoPlaying);
}
}
private OnVideoStatusChange onVideoStatusChange;
public void addOnVideoStatusChangeListener(OnVideoStatusChange onVideoStatusChange) {
this.onVideoStatusChange = onVideoStatusChange;
}
public interface OnVideoStatusChange {
void videoPlaying(boolean videoPlaying);
}
}

View File

@@ -1,16 +0,0 @@
<set xmlns:android="http://schemas.android.com/apk/res/android"
android:duration="2000">
<scale
android:fromXScale="1.0"
android:fromYScale="1.0"
android:pivotX="50%"
android:pivotY="50%"
android:repeatCount="0"
android:toXScale="4"
android:toYScale="4"></scale>
<alpha
android:fromAlpha="1.4"
android:repeatCount="0"
android:toAlpha="0.0"></alpha>
</set>

View File

@@ -1,4 +0,0 @@
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:color="#65FFFFFF" android:state_checked="false" />
<item android:color="#FFFFFF" android:state_checked="true" />
</selector>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.2 KiB

View File

@@ -1,9 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:width="324dp" android:height="128dp">
<shape android:shape="rectangle">
<gradient android:angle="360" android:endColor="#5060BC" android:startColor="#5060BC" />
<corners android:radius="@dimen/dp_64" />
</shape>
</item>
</selector>

View File

@@ -1,70 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<com.mogo.eagle.core.function.v2x.events.view.V2XCrossRoadVideoView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="@dimen/module_v2x_event_see_live_window_height"
android:background="#3B4577"
app:roundLayoutRadius="@dimen/dp_20">
<com.mogo.eagle.core.widget.media.video.SimpleVideoPlayer
android:id="@+id/txcVideoView"
android:layout_width="match_parent"
android:layout_height="@dimen/module_v2x_event_see_live_window_height"
android:gravity="center" />
<androidx.core.widget.ContentLoadingProgressBar
android:id="@+id/loading"
style="?android:attr/progressBarStyleSmall"
android:layout_width="36dp"
android:layout_height="36dp"
android:layout_centerHorizontal="true"
android:layout_centerVertical="true" />
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/clLoadError"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:visibility="gone"
tools:visibility="visible">
<ImageView
android:id="@+id/ivErrorIcon"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/icon_live_load_error"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<TextView
android:id="@+id/tvErrorContent"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/dp_20"
android:text="直播获取失败"
android:textColor="#FFFFFFFF"
android:textSize="@dimen/dp_36"
app:layout_constraintBottom_toBottomOf="@+id/ivErrorIcon"
app:layout_constraintStart_toEndOf="@+id/ivErrorIcon"
app:layout_constraintTop_toTopOf="@+id/ivErrorIcon" />
<TextView
android:id="@+id/tvRefreshButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/dp_58"
android:background="@drawable/v2x_refresh_button_bg"
android:paddingStart="@dimen/dp_135"
android:paddingTop="@dimen/dp_25"
android:paddingEnd="@dimen/dp_135"
android:paddingBottom="@dimen/dp_25"
android:text="重试"
android:textColor="#FFFFFF"
android:textSize="@dimen/dp_48"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/ivErrorIcon" />
</androidx.constraintlayout.widget.ConstraintLayout>
</com.mogo.eagle.core.function.v2x.events.view.V2XCrossRoadVideoView>

View File

@@ -0,0 +1,45 @@
{
"distance":494.7102966308594,
"expireTime":20000,
"isShowEventButton":false,
"location":{
"address":"北三环环球贸易中心",
"angle":270,
"lat":39.969055,
"lon":116.410811
},
"noveltyInfo":{
"addr":"北三环环球贸易中心",
"canLive":false,
"cityName":"",
"direction":0,
"distance":670,
"fileType":1,
"generateTime":1593587904096,
"infoId":"72790596316958720000",
"items":[
{
"illegalCount":0,
"thumbnail":"http://yycp-beijing.myqcloud.com/sso-server-image/1592473692394.jpeg",
"url":"http://yycp-static-1255510688.coom/sso-server-image/1592473692394.jpeg"
}
],
"location":{
"address":"北三环环球贸易中心",
"angle":270,
"lat":39.969055,
"lon":116.410811
},
"poiType":"10024",
"type":"CARD_TYPE_ROAD_CONDITION",
"uploadType":"2",
"userInfo":{
"safeLabelType":0,
"sn":"ZD801B1932L00041",
"userHead":"http:\/\/yycp-static-1255510688.cos.ap-beijing.myqcloud.com\/sso-server-image\/1592473692394.jpeg",
"userId":0,
"userName":"零下的雨"
}
},
"poiType":"10024"
}

View File

@@ -0,0 +1,21 @@
{
"type": 2,
"lat": 26.879024,
"lon": 112.568783,
"distance": 2.234,
"collisionLat": 26.8791769,
"collisionLon": 112.56896496,
"stopLines": [
],
"from": 1,
"angle": 220,
"direction": 2,
"speed": 11.108121,
"targetColor": "#FF4040",
"stopLineDistance": 60,
"warningContent": "注意自行车",
"heading": 0,
"showTime": 3,
"roadwidth": 4.0
}

View File

@@ -0,0 +1,19 @@
{
"type": 1,
"lat": 26.851909,
"lon": 112.571751,
"distance": 40.119,
"collisionLat": 26.85198163866211,
"collisionLon": 112.57059540184451,
"stopLines": [
],
"from": 1,
"angle": 240,
"direction": 3,
"speed": 11.108121,
"stopLineDistance": 60,
"warningContent": "小心行人",
"heading": 76,
"showTime": 3,
"roadwidth": 4.0
}

View File

@@ -0,0 +1,20 @@
{
"type": 4,
"lat": 26.879339,
"lon": 112.568933,
"distance": 2.845,
"collisionLat": 26.8791769,
"collisionLon": 112.56896496,
"stopLines": [
],
"from": 1,
"angle": 260,
"direction": 4,
"speed": 11.108121,
"targetColor": "#FF4040",
"stopLineDistance": 60,
"warningContent": "注意摩托车",
"heading": 0,
"showTime": 3,
"roadwidth": 4.0
}

View File

@@ -0,0 +1,94 @@
[
{
"lon": 116.417695,
"lat": 39.976655
},
{
"lon": 116.417636,
"lat": 39.977925
},
{
"lon": 116.417577,
"lat": 39.97876
},
{
"lon": 116.417545,
"lat": 39.979578
},
{
"lon": 116.417475,
"lat": 39.981111
},
{
"lon": 116.417443,
"lat": 39.981933
},
{
"lon": 116.4174,
"lat": 39.982718
},
{
"lon": 116.417341,
"lat": 39.98398
},
{
"lon": 116.417293,
"lat": 39.984999
},
{
"lon": 116.417266,
"lat": 39.98583
},
{
"lon": 116.417228,
"lat": 39.986697
},
{
"lon": 116.417169,
"lat": 39.987844
},
{
"lon": 116.417164,
"lat": 39.988312
},
{
"lon": 116.417164,
"lat": 39.988916
},
{
"lon": 116.417164,
"lat": 39.989956
},
{
"lon": 116.417185,
"lat": 39.990914
},
{
"lon": 116.417175,
"lat": 39.991654
},
{
"lon": 116.417148,
"lat": 39.992952
},
{
"lon": 116.417159,
"lat": 39.993783
},
{
"lon": 116.41718,
"lat": 39.994843
},
{
"lon": 116.417191,
"lat": 39.99557
},
{
"lon": 116.417234,
"lat": 39.996577
},
{
"lon": 116.417362,
"lat": 39.997641
}
]

View File

@@ -0,0 +1,52 @@
{
"current_lane_id": "010",
"current_lane_num": -2,
"gd_locus_list": [
{
"lat": 39.976285,
"lon": 116.417649
},
{
"lat": 39.976341,
"lon": 116.417642
},
{
"lat": 39.97637,
"lon": 116.417639
},
{
"lat": 39.976397,
"lon": 116.417638
},
{
"lat": 39.976428,
"lon": 116.417637
}
],
"locus_list": [
{
"lat": 39.974879535063,
"lon": 116.411399349271
},
{
"lat": 39.974936309753,
"lon": 116.411392282881
},
{
"lat": 39.974965397592,
"lon": 116.411389554398
},
{
"lat": 39.974992457492,
"lon": 116.411388118996
},
{
"lat": 39.975023263289,
"lon": 116.41138715302
}
],
"most_lane_num": -1,
"most_speed": 9.0,
"road_id": "400140",
"sn": "F803EB2046PZD00207"
}

View File

@@ -1,121 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<resources>
<dimen name="module_main_v2x_animation_width">445dp</dimen>
<dimen name="module_v2x_search_marginLeft">18dp</dimen>
<dimen name="module_v2x_operation_panel_share_goneMarginRight">20dp</dimen>
<dimen name="module_v2x_push_img_height">190dp</dimen>
<dimen name="module_v2x_push_img_container_height">210dp</dimen>
<dimen name="module_v2x_event_icon_size">82dp</dimen>
<dimen name="module_v2x_event_distance_text">34dp</dimen>
<dimen name="module_v2x_event_distance_title">22dp</dimen>
<dimen name="module_v2x_history_event_icon_size">40dp</dimen>
<dimen name="module_v2x_surrounding_item_bottom_size">6dp</dimen>
<dimen name="module_v2x_map_left">550dp</dimen>
<dimen name="module_v2x_map_top">200dp</dimen>
<dimen name="module_v2x_map_right">200dp</dimen>
<dimen name="module_v2x_map_bottom">100dp</dimen>
<dimen name="module_v2x_surrounding_top_height">50dp</dimen>
<dimen name="module_v2x_surrounding_top_bt_width">90dp</dimen>
<dimen name="module_v2x_surrounding_top_bt_height">36dp</dimen>
<dimen name="module_v2x_surrounding_empty_iv_margin_top">40dp</dimen>
<dimen name="module_v2x_surrounding_empty_tv_margin_top">15dp</dimen>
<dimen name="module_v2x_surrounding_empty_bt_width">150dp</dimen>
<dimen name="module_v2x_surrounding_empty_bt_height">48dp</dimen>
<dimen name="module_v2x_surrounding_empty_bt_margin_top">32dp</dimen>
<dimen name="module_v2x_surrounding_root_margin_left">28dp</dimen>
<dimen name="module_v2x_surrounding_margin_left">28dp</dimen>
<dimen name="module_v2x_surrounding_empty_image_height">190dp</dimen>
<dimen name="module_v2x_surrounding_item_width">238dp</dimen>
<dimen name="module_v2x_surrounding_item_height">170dp</dimen>
<dimen name="module_v2x_surrounding_item_bottom">43dp</dimen>
<dimen name="module_v2x_surrounding_item_bottom_image_height">26dp</dimen>
<dimen name="module_v2x_surrounding_item_marigin_left">12dp</dimen>
<dimen name="module_v2x_surrounding_item_marigin_bottom_left">8dp</dimen>
<dimen name="module_v2x_panel_surrounding_marginbottom">2dp</dimen>
<dimen name="module_v2x_panel_surrounding_stance">30dp</dimen>
<dimen name="module_v2x_surrounding_top">22dp</dimen>
<dimen name="module_v2x_surrounding_list_margin_left">12dp</dimen>
<dimen name="module_v2x_surrounding_item_margin_left">16dp</dimen>
<dimen name="module_v2x_surrounding_refresh_bt_radius">24dp</dimen>
<dimen name="module_v2x_surrounding_top_textsize">18dp</dimen>
<dimen name="module_v2x_surrounding_item_bottom_left_textsize">20dp</dimen>
<dimen name="module_v2x_surrounding_item_bottom_right_textsize">16dp</dimen>
<dimen name="module_v2x_surrounding_item_maigin_left">28dp</dimen>
<dimen name="module_v2x_panel_width">82dp</dimen>
<dimen name="module_v2x_panel_icon_cor">16dp</dimen>
<dimen name="share_empty_icon_width">117dp</dimen>
<dimen name="v2x_loading_ani_width">50dp</dimen>
<dimen name="v2x_index_rating_top">17dp</dimen>
<dimen name="share_top_text_size">14dp</dimen>
<dimen name="share_des_num_size">36dp</dimen>
<dimen name="des_text_margin_bottom">22dp</dimen>
<dimen name="share_index_des_size">16dp</dimen>
<dimen name="share_empty_btn_padding">20dp</dimen>
<dimen name="share_empty_margin_top">15dp</dimen>
<dimen name="share_refresh_padding">34dp</dimen>
<dimen name="share_index_bottom_padding">15dp</dimen>
<dimen name="share_btn_middle_padding">29dp</dimen>
<dimen name="v2x_panel_btn_translationY">-8dp</dimen>
<dimen name="module_v2x_panel_tab_height">84dp</dimen>
<dimen name="share_item_text_size">16dp</dimen>
<dimen name="share_item_padding">20dp</dimen>
<dimen name="module_v2x_widow_top_gaps">6dp</dimen>
<!--适配 V2X 弹窗 UI-->
<dimen name="module_v2x_event_type_title_text_size">10dp</dimen>
<dimen name="module_v2x_event_title_text_size">20dp</dimen>
<dimen name="module_v2x_event_sub_title_text_size">16dp</dimen>
<dimen name="module_v2x_event_head_size">31dp</dimen>
<dimen name="module_v2x_event_live_error_text_size">20dp</dimen>
<dimen name="module_v2x_live_window_height">150dp</dimen>
<dimen name="module_v2x_event_button_size">54dp</dimen>
<dimen name="module_v2x_event_button_size_detail">64dp</dimen>
<!--道路事件 高的弹窗-->
<dimen name="module_v2x_event_window_height">190dp</dimen>
<dimen name="module_v2x_event_window_height_ground">250dp</dimen>
<dimen name="module_v2x_event_image_height">156dp</dimen>
<dimen name="module_v2x_event_image_width">234dp</dimen>
<!--疲劳驾驶、违章停车、道路求助-->
<dimen name="module_v2x_fatigue_driving_window_height_ground">136dp</dimen>
<dimen name="module_v2x_event_help_head_size">41dp</dimen>
<dimen name="module_v2x_event_help_title_text_size">18dp</dimen>
<dimen name="module_v2x_event_help_sub_title_text_size">14dp</dimen>
<dimen name="module_v2x_event_help_distance_text_size">44dp</dimen>
<dimen name="module_v2x_event_parking_text_size">19dp</dimen>
<!--最优路线-->
<dimen name="module_v2x_event_warning_type_image_size">100dp</dimen>
<dimen name="module_v2x_event_warning_type_text_size">32dp</dimen>
<!--适配 V2X 弹窗 UI-->
<dimen name="module_v2x_event_panel_btn_x">572dp</dimen>
<dimen name="module_v2x_event_panel_in_launcher_btn_x">480dp</dimen>
<dimen name="module_v2x_event_panel_btn_y">384dp</dimen>
<!---->
<dimen name="v2x_right_context_margin">460dp</dimen>
<dimen name="v2x_video_window_height_content">370dp</dimen>
<dimen name="v2x_video_window_height">380dp</dimen>
<dimen name="v2x_driving_width">84dp</dimen>
<dimen name="v2x_driving_heigt">26dp</dimen>
<dimen name="v2x_recommond_route_size">14dp</dimen>
</resources>

View File

@@ -1,121 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<resources>
<dimen name="module_main_v2x_animation_width">445dp</dimen>
<dimen name="module_v2x_search_marginLeft">18dp</dimen>
<dimen name="module_v2x_operation_panel_share_goneMarginRight">20dp</dimen>
<dimen name="module_v2x_push_img_height">190dp</dimen>
<dimen name="module_v2x_push_img_container_height">210dp</dimen>
<dimen name="module_v2x_event_icon_size">82dp</dimen>
<dimen name="module_v2x_event_distance_text">34dp</dimen>
<dimen name="module_v2x_event_distance_title">22dp</dimen>
<dimen name="module_v2x_history_event_icon_size">40dp</dimen>
<dimen name="module_v2x_surrounding_item_bottom_size">6dp</dimen>
<dimen name="module_v2x_map_left">550dp</dimen>
<dimen name="module_v2x_map_top">200dp</dimen>
<dimen name="module_v2x_map_right">200dp</dimen>
<dimen name="module_v2x_map_bottom">100dp</dimen>
<dimen name="module_v2x_surrounding_top_height">50dp</dimen>
<dimen name="module_v2x_surrounding_top_bt_width">90dp</dimen>
<dimen name="module_v2x_surrounding_top_bt_height">36dp</dimen>
<dimen name="module_v2x_surrounding_empty_iv_margin_top">40dp</dimen>
<dimen name="module_v2x_surrounding_empty_tv_margin_top">15dp</dimen>
<dimen name="module_v2x_surrounding_empty_bt_width">150dp</dimen>
<dimen name="module_v2x_surrounding_empty_bt_height">48dp</dimen>
<dimen name="module_v2x_surrounding_empty_bt_margin_top">32dp</dimen>
<dimen name="module_v2x_surrounding_root_margin_left">28dp</dimen>
<dimen name="module_v2x_surrounding_margin_left">28dp</dimen>
<dimen name="module_v2x_surrounding_empty_image_height">190dp</dimen>
<dimen name="module_v2x_surrounding_item_width">238dp</dimen>
<dimen name="module_v2x_surrounding_item_height">170dp</dimen>
<dimen name="module_v2x_surrounding_item_bottom">43dp</dimen>
<dimen name="module_v2x_surrounding_item_bottom_image_height">26dp</dimen>
<dimen name="module_v2x_surrounding_item_marigin_left">12dp</dimen>
<dimen name="module_v2x_surrounding_item_marigin_bottom_left">8dp</dimen>
<dimen name="module_v2x_panel_surrounding_marginbottom">2dp</dimen>
<dimen name="module_v2x_panel_surrounding_stance">30dp</dimen>
<dimen name="module_v2x_surrounding_top">22dp</dimen>
<string name="v2x_recommond_route_size">14dp</string>
<dimen name="module_v2x_surrounding_list_margin_left">12dp</dimen>
<dimen name="module_v2x_surrounding_item_margin_left">16dp</dimen>
<dimen name="module_v2x_surrounding_refresh_bt_radius">24dp</dimen>
<dimen name="module_v2x_surrounding_top_textsize">18dp</dimen>
<dimen name="module_v2x_surrounding_item_bottom_left_textsize">20dp</dimen>
<dimen name="module_v2x_surrounding_item_bottom_right_textsize">16dp</dimen>
<dimen name="module_v2x_surrounding_item_maigin_left">28dp</dimen>
<dimen name="module_v2x_panel_width">82dp</dimen>
<dimen name="module_v2x_panel_icon_cor">16dp</dimen>
<dimen name="share_empty_icon_width">117dp</dimen>
<dimen name="v2x_loading_ani_width">50dp</dimen>
<dimen name="v2x_index_rating_top">17dp</dimen>
<dimen name="share_top_text_size">14dp</dimen>
<dimen name="share_des_num_size">36dp</dimen>
<dimen name="des_text_margin_bottom">22dp</dimen>
<dimen name="share_index_des_size">16dp</dimen>
<dimen name="share_empty_btn_padding">20dp</dimen>
<dimen name="share_refresh_padding">34dp</dimen>
<dimen name="share_index_bottom_padding">16dp</dimen>
<dimen name="share_btn_middle_padding">29dp</dimen>
<dimen name="v2x_panel_btn_translationY">-8dp</dimen>
<dimen name="module_v2x_panel_tab_height">84dp</dimen>w
<dimen name="share_item_text_size">16dp</dimen>
<dimen name="share_item_padding">20dp</dimen>
<dimen name="module_v2x_widow_top_gaps">3dp</dimen>
<!--适配 V2X 弹窗 UI-->
<dimen name="module_v2x_event_type_title_text_size">10dp</dimen>
<dimen name="module_v2x_event_title_text_size">20dp</dimen>
<dimen name="module_v2x_event_sub_title_text_size">16dp</dimen>
<dimen name="module_v2x_event_head_size">31dp</dimen>
<dimen name="module_v2x_event_live_error_text_size">20dp</dimen>
<dimen name="module_v2x_live_window_height">150dp</dimen>
<dimen name="module_v2x_event_button_size">54dp</dimen>
<dimen name="module_v2x_event_button_size_detail">64dp</dimen>
<!--道路事件 高的弹窗-->
<dimen name="module_v2x_event_window_height">190dp</dimen>
<dimen name="module_v2x_event_window_height_ground">250dp</dimen>
<dimen name="module_v2x_event_image_height">156dp</dimen>
<dimen name="module_v2x_event_image_width">234dp</dimen>
<!--疲劳驾驶、违章停车、道路求助-->
<dimen name="module_v2x_fatigue_driving_window_height_ground">136dp</dimen>
<dimen name="module_v2x_event_help_head_size">41dp</dimen>
<dimen name="module_v2x_event_help_title_text_size">18dp</dimen>
<dimen name="module_v2x_event_help_sub_title_text_size">14dp</dimen>
<dimen name="module_v2x_event_help_distance_text_size">44dp</dimen>
<dimen name="module_v2x_event_parking_text_size">19dp</dimen>
<!--最优路线-->
<dimen name="module_v2x_event_warning_type_image_size">100dp</dimen>
<dimen name="module_v2x_event_warning_type_text_size">32dp</dimen>
<!--适配 V2X 弹窗 UI-->
<dimen name="module_v2x_event_panel_btn_x">572dp</dimen>
<dimen name="module_v2x_event_panel_in_launcher_btn_x">486dp</dimen>
<dimen name="module_v2x_event_panel_btn_y">384dp</dimen>
<!---->
<dimen name="v2x_right_context_margin">460dp</dimen>
<dimen name="v2x_video_window_height_content">370dp</dimen>
<dimen name="v2x_video_window_height">380dp</dimen>
<dimen name="v2x_driving_width">84dp</dimen>
<dimen name="v2x_driving_heigt">26dp</dimen>
<dimen name="v2x_recommond_route_size">14dp</dimen>
</resources>

View File

@@ -1,95 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<resources>
<dimen name="module_main_v2x_animation_width">800dp</dimen>
<dimen name="module_v2x_search_marginLeft">32dp</dimen>
<dimen name="module_v2x_operation_panel_share_goneMarginRight">32dp</dimen>
<dimen name="module_v2x_push_img_height">390dp</dimen>
<dimen name="module_v2x_push_img_container_height">410dp</dimen>
<dimen name="module_v2x_event_icon_size">160dp</dimen>
<dimen name="module_v2x_event_distance_text">60dp</dimen>
<dimen name="module_v2x_event_distance_title">40dp</dimen>
<dimen name="module_v2x_history_event_icon_size">80dp</dimen>
<dimen name="module_v2x_surrounding_item_bottom_size">15dp</dimen>
<dimen name="module_v2x_map_left">550dp</dimen>
<dimen name="module_v2x_map_top">200dp</dimen>
<dimen name="module_v2x_map_right">200dp</dimen>
<dimen name="module_v2x_map_bottom">100dp</dimen>
<dimen name="module_v2x_surrounding_top_height">90dp</dimen>
<dimen name="module_v2x_surrounding_top_bt_width">162dp</dimen>
<dimen name="module_v2x_surrounding_top_bt_height">64dp</dimen>
<dimen name="module_v2x_surrounding_empty_iv_margin_top">80dp</dimen>
<dimen name="module_v2x_surrounding_empty_tv_margin_top">26dp</dimen>
<dimen name="module_v2x_surrounding_empty_bt_width">270dp</dimen>
<dimen name="module_v2x_surrounding_empty_bt_height">86dp</dimen>
<dimen name="module_v2x_surrounding_empty_bt_margin_top">58dp</dimen>
<dimen name="module_v2x_surrounding_root_margin_left">48dp</dimen>
<dimen name="module_v2x_surrounding_margin_left">48dp</dimen>
<dimen name="module_v2x_surrounding_empty_image_height">349dp</dimen>
<dimen name="module_v2x_surrounding_item_width">465dp</dimen>
<dimen name="module_v2x_surrounding_item_height">306dp</dimen>
<dimen name="module_v2x_surrounding_item_bottom">77dp</dimen>
<dimen name="module_v2x_surrounding_item_bottom_image_height">50dp</dimen>
<dimen name="module_v2x_surrounding_item_marigin_left">28dp</dimen>
<dimen name="module_v2x_surrounding_item_marigin_bottom_left">16dp</dimen>
<dimen name="module_v2x_panel_surrounding_marginbottom">5dp</dimen>
<dimen name="module_v2x_panel_surrounding_stance">80dp</dimen>
<dimen name="module_v2x_surrounding_top">22dp</dimen>
<dimen name="module_v2x_surrounding_list_margin_left">20dp</dimen>
<dimen name="module_v2x_surrounding_item_margin_left">30dp</dimen>
<dimen name="module_v2x_surrounding_refresh_bt_radius">42dp</dimen>
<dimen name="module_v2x_surrounding_top_textsize">30dp</dimen>
<dimen name="module_v2x_surrounding_item_bottom_left_textsize">36dp</dimen>
<dimen name="module_v2x_surrounding_item_bottom_right_textsize">30dp</dimen>
<dimen name="module_v2x_surrounding_item_maigin_left">50dp</dimen>
<dimen name="module_v2x_panel_width">120dp</dimen>
<dimen name="module_v2x_panel_tab_height">158dp</dimen>
<!--适配 V2X 弹窗 UI-->
<dimen name="module_v2x_event_type_title_text_size">20dp</dimen>
<dimen name="module_v2x_event_title_text_size">36dp</dimen>
<dimen name="module_v2x_event_sub_title_text_size">28dp</dimen>
<dimen name="module_v2x_event_head_size">55dp</dimen>
<dimen name="module_v2x_event_live_error_text_size">36dp</dimen>
<dimen name="module_v2x_live_window_height">310dp</dimen>
<dimen name="module_v2x_event_button_size">110dp</dimen>
<dimen name="module_v2x_event_button_size_detail">120dp</dimen>
<!--道路事件 高的弹窗-->
<dimen name="module_v2x_event_image_height">270dp</dimen>
<dimen name="module_v2x_event_image_width">480dp</dimen>
<dimen name="module_v2x_event_window_height">330dp</dimen>
<dimen name="module_v2x_event_window_height_ground">450dp</dimen>
<!--疲劳驾驶、违章停车、道路求助-->
<dimen name="module_v2x_fatigue_driving_window_height_ground">200dp</dimen>
<dimen name="module_v2x_event_help_head_size">75dp</dimen>
<dimen name="module_v2x_event_help_title_text_size">32dp</dimen>
<dimen name="module_v2x_event_help_sub_title_text_size">26dp</dimen>
<dimen name="module_v2x_event_help_distance_text_size">80dp</dimen>
<dimen name="module_v2x_event_parking_text_size">34dp</dimen>
<!--最优路线-->
<dimen name="module_v2x_event_warning_type_image_size">100dp</dimen>
<dimen name="module_v2x_event_warning_type_text_size">32dp</dimen>
<!--适配 V2X 弹窗 UI-->
<dimen name="module_v2x_event_panel_btn_x">940dp</dimen>
<dimen name="module_v2x_event_panel_btn_y">701dp</dimen>
<dimen name="v2x_driving_width">150dp</dimen>
<dimen name="v2x_driving_heigt">46dp</dimen>
<dimen name="v2x_recommond_route_size">26dp</dimen>
</resources>

View File

@@ -1,51 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<dimen name="module_v2x_road_event_window_width_vr">1100dp</dimen>
<dimen name="module_v2x_road_event_window_height_vr">227dp</dimen>
<dimen name="module_v2x_road_event_height">187dp</dimen>
<dimen name="module_v2x_road_event_bg_radius">30dp</dimen>
<dimen name="module_v2x_road_event_icon_width">133dp</dimen>
<dimen name="module_v2x_road_event_icon_height">133dp</dimen>
<dimen name="module_v2x_road_event_icon_margin_left">38dp</dimen>
<dimen name="module_v2x_road_event_text_size">42dp</dimen>
<dimen name="module_v2x_road_event_icon_play_margin_top">12dp</dimen>
<dimen name="module_v2x_road_event_text_play_text_size">40dp</dimen>
<dimen name="module_ext_top_view_no_link_width_in_vr_mode">778dp</dimen>
<dimen name="module_v2x_event_see_live_window_height_vr">687dp</dimen>
<dimen name="module_v2x_event_window_top_margin_vr">200dp</dimen>
<dimen name="module_v2x_event_window_close_distance">10dp</dimen>
<dimen name="module_v2x_event_window_height_vr_for_item">487dp</dimen>
<dimen name="module_v2x_event_window_width_vr">778dp</dimen>
<dimen name="module_v2x_fatigue_driving_window_height_ground">234dp</dimen>
<dimen name="module_v2x_fault_help_width">1067dp</dimen>
<dimen name="module_v2x_fault_help_height">187dp</dimen>
<dimen name="module_v2x_fault_help_img_content_text_size">28dp</dimen>
<dimen name="module_v2x_fault_help_img_content_width">107dp</dimen>
<dimen name="module_v2x_fault_help_img_content_height">47dp</dimen>
<dimen name="module_v2x_fault_help_name_margin_top">35dp</dimen>
<dimen name="module_v2x_fault_help_name_text_size">48dp</dimen>
<dimen name="module_v2x_fault_help_time_margin_bottom">35dp</dimen>
<dimen name="module_v2x_fault_help_time_text_size">36dp</dimen>
<dimen name="module_v2x_fault_help_distance_text_size">80dp</dimen>
<dimen name="module_v2x_fault_help_event_call_width">108dp</dimen>
<dimen name="module_v2x_fault_help_event_navi_margin_right">53dp</dimen>
<dimen name="module_v2x_car_for_help_window_height">200dp</dimen>
<dimen name="module_v2x_car_for_help_width">854dp</dimen>
<dimen name="module_v2x_car_for_help_height">187dp</dimen>
<dimen name="module_v2x_car_for_help_icon_width">133dp</dimen>
<dimen name="module_v2x_car_for_help_icon_height">133dp</dimen>
<dimen name="module_v2x_car_for_help_event_maxwidth">480dp</dimen>
<dimen name="module_v2x_car_for_help_event_text_size">42dp</dimen>
<dimen name="module_v2x_car_for_help_cancel_text_size">40dp</dimen>
<!--最优路线-->
<dimen name="module_v2x_event_warning_type_image_size">133dp</dimen>
<dimen name="module_v2x_event_warning_type_text_size">42dp</dimen>
</resources>

View File

@@ -1,170 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<resources>
<dimen name="module_main_v2x_animation_width">800dp</dimen>
<dimen name="module_ext_top_view_no_link_width_in_vr_mode">615dp</dimen>
<dimen name="module_v2x_search_marginLeft">32dp</dimen>
<dimen name="module_v2x_operation_panel_share_goneMarginRight">32dp</dimen>
<dimen name="module_v2x_event_window_width">1060dp</dimen>
<dimen name="module_v2x_event_window_width_vr">583dp</dimen>
<dimen name="module_v2x_event_window_height_vr_for_item">366dp</dimen>
<dimen name="module_v2x_event_window_top_margin_vr">160dp</dimen>
<dimen name="module_v2x_event_window_top_margin">0dp</dimen>
<dimen name="module_v2x_event_window_right_margin_vr">32dp</dimen>
<dimen name="module_v2x_event_window_right_margin">0dp</dimen>
<dimen name="module_v2x_push_img_height">390dp</dimen>
<dimen name="module_v2x_push_img_container_height">410dp</dimen>
<dimen name="module_v2x_event_see_live_window_height">670dp</dimen>
<dimen name="module_v2x_event_see_live_window_height_vr">526dp</dimen>
<dimen name="module_v2x_event_window_close_distance">20dp</dimen>
<dimen name="module_v2x_event_icon_size">147dp</dimen>
<dimen name="module_v2x_event_distance_text">60dp</dimen>
<dimen name="module_v2x_event_distance_title">40dp</dimen>
<dimen name="module_v2x_history_event_icon_size">80dp</dimen>
<dimen name="module_v2x_surrounding_item_bottom_size">15dp</dimen>
<dimen name="module_v2x_map_left">550dp</dimen>
<dimen name="module_v2x_map_top">200dp</dimen>
<dimen name="module_v2x_map_right">200dp</dimen>
<dimen name="module_v2x_map_bottom">100dp</dimen>
<dimen name="module_v2x_surrounding_top_height">90dp</dimen>
<dimen name="module_v2x_surrounding_top_bt_width">168dp</dimen>
<dimen name="module_v2x_surrounding_top_bt_height">68dp</dimen>
<dimen name="module_v2x_surrounding_empty_iv_margin_top">80dp</dimen>
<dimen name="module_v2x_surrounding_empty_tv_margin_top">26dp</dimen>
<dimen name="module_v2x_surrounding_empty_bt_width">270dp</dimen>
<dimen name="module_v2x_surrounding_empty_bt_height">86dp</dimen>
<dimen name="module_v2x_surrounding_empty_bt_margin_top">58dp</dimen>
<dimen name="module_v2x_surrounding_root_margin_left">20dp</dimen>
<dimen name="module_v2x_surrounding_margin_left">48dp</dimen>
<dimen name="module_v2x_surrounding_empty_image_height">349dp</dimen>
<dimen name="module_v2x_surrounding_item_width">465dp</dimen>
<dimen name="module_v2x_surrounding_item_height">306dp</dimen>
<dimen name="module_v2x_surrounding_item_bottom">77dp</dimen>
<dimen name="module_v2x_surrounding_item_bottom_image_height">50dp</dimen>
<dimen name="module_v2x_surrounding_item_marigin_left">28dp</dimen>
<dimen name="module_v2x_surrounding_item_marigin_bottom_left">16dp</dimen>
<dimen name="module_v2x_panel_surrounding_marginbottom">5dp</dimen>
<dimen name="module_v2x_panel_surrounding_stance">80dp</dimen>
<dimen name="module_v2x_surrounding_top">22dp</dimen>
<dimen name="module_v2x_surrounding_list_margin_left">20dp</dimen>
<dimen name="module_v2x_surrounding_item_margin_left">30dp</dimen>
<dimen name="module_v2x_surrounding_refresh_bt_radius">42dp</dimen>
<dimen name="module_v2x_surrounding_top_textsize">30dp</dimen>
<dimen name="module_v2x_surrounding_item_bottom_left_textsize">36dp</dimen>
<dimen name="module_v2x_surrounding_item_bottom_right_textsize">30dp</dimen>
<dimen name="module_v2x_surrounding_item_maigin_left">50dp</dimen>
<dimen name="module_v2x_panel_icon_cor">30dp</dimen>
<dimen name="module_v2x_panel_width">140dp</dimen>
<dimen name="share_empty_icon_width">219dp</dimen>
<dimen name="v2x_loading_ani_width">100dp</dimen>
<dimen name="v2x_index_rating_top">28dp</dimen>
<dimen name="share_top_text_size">26dp</dimen>
<dimen name="share_des_num_size">64dp</dimen>
<dimen name="des_text_margin_bottom">48dp</dimen>
<dimen name="share_index_des_size">28dp</dimen>
<dimen name="share_empty_btn_padding">40dp</dimen>
<dimen name="share_empty_margin_top">30dp</dimen>
<dimen name="share_refresh_padding">60dp</dimen>
<dimen name="share_index_bottom_padding">22dp</dimen>
<dimen name="share_btn_middle_padding">54dp</dimen>
<dimen name="v2x_panel_btn_translationY">-10dp</dimen>
<dimen name="v2x_panel_btn_image_width">114dp</dimen>
<dimen name="module_v2x_panel_tab_height">158dp</dimen>
<dimen name="share_item_text_size">26dp</dimen>
<dimen name="share_item_padding">25dp</dimen>
<dimen name="module_v2x_widow_top_gaps">2dp</dimen>
<dimen name="useless_padding_right">82dp</dimen>
<dimen name="num_padding_left">55dp</dimen>
<dimen name="useful_image_padding_right">95dp</dimen>
<!--适配 V2X 弹窗 UI-->
<dimen name="module_v2x_event_type_title_text_size">16dp</dimen>
<dimen name="module_v2x_event_title_text_size">36dp</dimen>
<dimen name="module_v2x_event_sub_title_text_size">28dp</dimen>
<dimen name="module_v2x_event_head_size">55dp</dimen>
<dimen name="module_v2x_event_live_error_text_size">36dp</dimen>
<dimen name="module_v2x_live_window_height">310dp</dimen>
<dimen name="module_v2x_event_button_size">98dp</dimen>
<dimen name="module_v2x_event_button_size_detail">130dp</dimen>
<!--适配 V2X 弹窗-VR-->
<dimen name="module_v2x_event_button_size_detail_vr">80dp</dimen>
<dimen name="module_v2x_road_event_window_width_vr">882dp</dimen>
<dimen name="module_v2x_road_event_window_height_vr">182dp</dimen>
<dimen name="module_v2x_event_button_size_vr">64dp</dimen>
<dimen name="module_v2x_event_icon_size_vr">60dp</dimen>
<!--道路事件 高的弹窗-->
<dimen name="module_v2x_event_window_height">330dp</dimen>
<dimen name="module_v2x_event_window_height_ground">450dp</dimen>
<dimen name="module_v2x_event_image_height">280dp</dimen>
<dimen name="module_v2x_event_image_width">421dp</dimen>
<!--疲劳驾驶、违章停车、道路求助-->
<dimen name="module_v2x_fatigue_driving_window_height_ground">234dp</dimen>
<dimen name="module_v2x_event_help_head_size">75dp</dimen>
<dimen name="module_v2x_event_help_title_text_size">32dp</dimen>
<dimen name="module_v2x_event_help_sub_title_text_size">26dp</dimen>
<dimen name="module_v2x_event_help_distance_text_size">80dp</dimen>
<dimen name="module_v2x_event_parking_text_size">34dp</dimen>
<!--最优路线-->
<dimen name="module_v2x_event_warning_type_image_size">100dp</dimen>
<dimen name="module_v2x_event_warning_type_text_size">32dp</dimen>
<!--适配 V2X 弹窗 UI-->
<dimen name="module_v2x_event_panel_btn_x">940dp</dimen>
<dimen name="module_v2x_event_panel_in_launcher_btn_x">940dp</dimen>
<dimen name="module_v2x_event_panel_btn_y">701dp</dimen>
<dimen name="module_v2x_event_distance_title_vr">32dp</dimen>
<!--适配直播框-->
<dimen name="v2x_right_context_margin">830dp</dimen>
<dimen name="v2x_video_window_height_content">662dp</dimen>
<dimen name="v2x_video_window_height">674dp</dimen>
<dimen name="v2x_driving_width">150dp</dimen>
<dimen name="v2x_driving_heigt">46dp</dimen>
<dimen name="v2x_recommond_route_size">26dp</dimen>
<dimen name="module_v2x_road_event_height">140dp</dimen>
<dimen name="module_v2x_road_event_bg_radius">20dp</dimen>
<dimen name="module_v2x_road_event_icon_width">100dp</dimen>
<dimen name="module_v2x_road_event_icon_height">100dp</dimen>
<dimen name="module_v2x_road_event_icon_margin_left">30dp</dimen>
<dimen name="module_v2x_road_event_text_size">32dp</dimen>
<dimen name="module_v2x_road_event_icon_play_margin_top">8dp</dimen>
<dimen name="module_v2x_road_event_text_play_text_size">30dp</dimen>
<dimen name="module_v2x_fault_help_width">800dp</dimen>
<dimen name="module_v2x_fault_help_height">140dp</dimen>
<dimen name="module_v2x_fault_help_img_content_text_size">20dp</dimen>
<dimen name="module_v2x_fault_help_img_content_width">80dp</dimen>
<dimen name="module_v2x_fault_help_img_content_height">35dp</dimen>
<dimen name="module_v2x_fault_help_name_margin_top">27dp</dimen>
<dimen name="module_v2x_fault_help_name_text_size">40dp</dimen>
<dimen name="module_v2x_fault_help_time_margin_bottom">27dp</dimen>
<dimen name="module_v2x_fault_help_time_text_size">24dp</dimen>
<dimen name="module_v2x_fault_help_distance_text_size">42dp</dimen>
<dimen name="module_v2x_fault_help_event_call_width">80dp</dimen>
<dimen name="module_v2x_fault_help_event_navi_margin_right">40dp</dimen>
<dimen name="module_v2x_car_for_help_window_height">150dp</dimen>
<dimen name="module_v2x_car_for_help_width">640dp</dimen>
<dimen name="module_v2x_car_for_help_height">140dp</dimen>
<dimen name="module_v2x_car_for_help_icon_width">100dp</dimen>
<dimen name="module_v2x_car_for_help_icon_height">100dp</dimen>
<dimen name="module_v2x_car_for_help_event_maxwidth">480dp</dimen>
<dimen name="module_v2x_car_for_help_event_text_size">32dp</dimen>
<dimen name="module_v2x_car_for_help_cancel_text_size">30dp</dimen>
</resources>

View File

@@ -1,20 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="live_video_progress_bar_loading_color">#256BFF</color>
<color name="transparent_white_30">#B3FFFFFF</color>
<color name="share_event_no_more_color">#4BFFFFFF</color>
<color name="v2x_FFF_999">#FFFFFF</color>
<color name="v2x_FFF_333">#FFFFFF</color>
<color name="v2x_ff6163_333">#ff616381</color>
<color name="v2x_555A_F5F5">#555A75</color>
<color name="v2x_000_FFF">#000000</color>
<color name="v2x_FFF_2896FF">#FFF</color>
<color name="v2x_share_des_title_color">#4DFFFFFF</color>
<color name="v2x_event_play_text">#4C83FF</color>
<color name="v2x_FF3036">#FF3036</color>
<color name="v2x_car_for_help_cancel">#F63A35</color>
<color name="v2x_line_color">#D6D7D9</color>
<color name="v2x_white_color">#FFFFFF</color>
</resources>

View File

@@ -1,106 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<resources>
<dimen name="module_main_v2x_animation_width">445dp</dimen>
<dimen name="module_v2x_search_marginLeft">18dp</dimen>
<dimen name="module_v2x_operation_panel_share_goneMarginRight">20dp</dimen>
<dimen name="module_v2x_event_window_width">642dp</dimen>
<dimen name="module_v2x_push_img_height">190dp</dimen>
<dimen name="module_v2x_push_img_container_height">210dp</dimen>
<dimen name="module_v2x_event_see_live_window_height">670dp</dimen>
<dimen name="module_v2x_event_icon_size">82dp</dimen>
<dimen name="module_v2x_event_distance_text">34dp</dimen>
<dimen name="module_v2x_event_distance_title">22dp</dimen>
<dimen name="module_v2x_history_event_icon_size">40dp</dimen>
<dimen name="module_v2x_surrounding_item_bottom_size">6dp</dimen>
<dimen name="module_v2x_map_left">550dp</dimen>
<dimen name="module_v2x_map_top">200dp</dimen>
<dimen name="module_v2x_map_right">200dp</dimen>
<dimen name="module_v2x_map_bottom">100dp</dimen>
<dimen name="module_v2x_surrounding_top_height">50dp</dimen>
<dimen name="module_v2x_surrounding_top_bt_width">168dp</dimen>
<dimen name="module_v2x_surrounding_top_bt_height">68dp</dimen>
<dimen name="module_v2x_surrounding_empty_iv_margin_top">40dp</dimen>
<dimen name="module_v2x_surrounding_empty_tv_margin_top">15dp</dimen>
<dimen name="module_v2x_surrounding_empty_bt_width">150dp</dimen>
<dimen name="module_v2x_surrounding_empty_bt_height">48dp</dimen>
<dimen name="module_v2x_surrounding_empty_bt_margin_top">32dp</dimen>
<dimen name="module_v2x_surrounding_root_margin_left">28dp</dimen>
<dimen name="module_v2x_surrounding_margin_left">28dp</dimen>
<dimen name="module_v2x_surrounding_empty_image_height">190dp</dimen>
<dimen name="module_v2x_surrounding_item_height">170dp</dimen>
<dimen name="module_v2x_surrounding_item_bottom">43dp</dimen>
<dimen name="module_v2x_surrounding_item_bottom_image_height">26dp</dimen>
<dimen name="module_v2x_surrounding_item_marigin_left">12dp</dimen>
<dimen name="module_v2x_surrounding_item_marigin_bottom_left">8dp</dimen>
<dimen name="module_v2x_panel_surrounding_marginbottom">2dp</dimen>
<dimen name="module_v2x_panel_surrounding_stance">30dp</dimen>
<dimen name="module_v2x_surrounding_top">22dp</dimen>
<dimen name="module_v2x_surrounding_refresh_bt_radius">24dp</dimen>
<dimen name="module_v2x_surrounding_top_textsize">30dp</dimen>
<dimen name="module_v2x_surrounding_item_bottom_left_textsize">20dp</dimen>
<dimen name="module_v2x_surrounding_item_bottom_right_textsize">16dp</dimen>
<dimen name="module_v2x_surrounding_item_maigin_left">28dp</dimen>
<dimen name="module_v2x_panel_width">82dp</dimen>
<dimen name="module_v2x_panel_icon_cor">16dp</dimen>
<dimen name="share_empty_icon_width">117dp</dimen>
<dimen name="v2x_loading_ani_width">200dp</dimen>
<dimen name="v2x_index_rating_top">17dp</dimen>
<dimen name="share_top_text_size">14dp</dimen>
<dimen name="share_des_num_size">36dp</dimen>
<dimen name="des_text_margin_bottom">22dp</dimen>
<dimen name="share_index_des_size">16dp</dimen>
<dimen name="share_empty_btn_padding">20dp</dimen>
<dimen name="share_empty_margin_top">20dp</dimen>
<dimen name="share_refresh_padding">34dp</dimen>
<dimen name="share_index_bottom_padding">15dp</dimen>
<dimen name="share_btn_middle_padding">29dp</dimen>
<dimen name="v2x_panel_btn_translationY">-8dp</dimen>
<dimen name="module_v2x_panel_tab_height">84dp</dimen>
<dimen name="useless_padding_right">67dp</dimen>
<dimen name="num_padding_left">45dp</dimen>
<dimen name="useful_image_padding_right">52dp</dimen>
<!--适配 V2X 弹窗 UI-->
<dimen name="module_v2x_event_type_title_text_size">8dp</dimen>
<dimen name="module_v2x_event_title_text_size">20dp</dimen>
<dimen name="module_v2x_event_sub_title_text_size">16dp</dimen>
<dimen name="module_v2x_event_head_size">31dp</dimen>
<dimen name="module_v2x_event_live_error_text_size">20dp</dimen>
<dimen name="module_v2x_live_window_height">150dp</dimen>
<dimen name="module_v2x_event_button_size">54dp</dimen>
<dimen name="module_v2x_event_button_size_detail">64dp</dimen>
<!--道路事件 高的弹窗-->
<dimen name="module_v2x_event_window_height">190dp</dimen>
<dimen name="module_v2x_event_window_height_ground">250dp</dimen>
<dimen name="module_v2x_event_image_height">156dp</dimen>
<dimen name="module_v2x_event_image_width">234dp</dimen>
<!--疲劳驾驶、违章停车、道路求助-->
<dimen name="module_v2x_fatigue_driving_window_height_ground">136dp</dimen>
<dimen name="module_v2x_event_help_head_size">41dp</dimen>
<dimen name="module_v2x_event_help_title_text_size">18dp</dimen>
<dimen name="module_v2x_event_help_sub_title_text_size">14dp</dimen>
<dimen name="module_v2x_event_help_distance_text_size">44dp</dimen>
<dimen name="module_v2x_event_parking_text_size">34dp</dimen>
<!--适配 V2X 弹窗 UI-->
<dimen name="v2x_driving_width">150dp</dimen>
<dimen name="v2x_driving_heigt">46dp</dimen>
<dimen name="v2x_recommond_route_size">26dp</dimen>
<dimen name="module_v2x_event_panel_btn_x">574dp</dimen>
<dimen name="module_v2x_event_panel_in_launcher_btn_x">480dp</dimen>
<dimen name="module_v2x_event_panel_btn_y">384dp</dimen>
</resources>

View File

@@ -1,20 +0,0 @@
<resources>
<string name="app_name">mogo-module-v2x</string>
<string name="v2x_help_speed_txt">车速</string>
<string name="v2x_report_pop_submit_txt">已提交</string>
<string name="v2x_report_pop_thank_txt">感谢已送达</string>
<string name="v2x_surrounding_top_brief">周边5公里共 %d 条交通信息</string>
<string name="v2x_surrounding_detail_top_brief">周边5公里共 %d 条</string>
<string name="v2x_surrounding_go_to_share">去分享</string>
<string name="v2x_surrounding_refresh">刷新</string>
<string name="v2x_voice_see_front_car_live">小智已为您查询到前方最近车辆直播视频,请查看</string>
<string name="v2x_voice_see_front_car_live_error">诶呀呀,没有查到前方车辆直播视屏,过一会再试试吧</string>
<string name="v2x_voice_see_crossroad_live">已为您打开路口直播实况</string>
<string name="v2x_voice_see_crossroad_live_error">诶呀呀,周围没有可用路口实况直播</string>
<string name="recommended_Parking">停车场推荐</string>
<string name="recommended_route">线路推荐</string>
<string name="v2x_recommond_route_size">26dp</string>
<string name="v2x_front_live_url_null">前方路口暂无直播</string>
<string name="v2x_specific_live_url_null">此摄像头暂无直播</string>
</resources>

View File

@@ -1,8 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="customTabLayoutTextAppearance" parent="TextAppearance.Design.Tab">
<item name="android:textSize">@dimen/dp_40</item>
</style>
</resources>

View File

@@ -9,7 +9,7 @@
android:useLevel="false">
<!-- 实心 -->
<solid android:color="@color/module_switch_map_bg" />
<solid android:color="@color/color_323C6F" />
</shape>
</item>

View File

@@ -8,7 +8,7 @@
android:useLevel="false">
<corners android:radius="@dimen/module_hmi_btn_size" />
<!-- 实心 -->
<solid android:color="@color/module_switch_map_bg" />
<solid android:color="@color/color_323C6F" />
</shape>
</item>

View File

@@ -1,13 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="module_mogo_autopilot_status_enable">#FFFFFF</color>
<color name="module_mogo_autopilot_status_disable">#4DFFFFFF</color>
<color name="color_white">#FFFFFF</color>
<color name="color_4DFFFFFF">#4DFFFFFF</color>
<color name="module_switch_map_bg">#323C6F</color>
<color name="module_ext_color_voice_text">#FFFFFF</color>
<color name="module_hmi_warning_bg_color">#FFED6515</color>
<color name="module_hmi_warning_bg_color_light">#0F7F2503</color>
<color name="color_4D000000">#4D000000</color>
<color name="color_99000000">#99000000</color>
<color name="color_66B8BFE8">#66B8BFE8</color>
<color name="color_AFB3C7">#AFB3C7</color>
<color name="color_FFA7B6F0">#FFA7B6F0</color>
<color name="color_B3FFFFFF">#B3FFFFFF</color>
<color name="color_E63B4577">#E63B4577</color>
<color name="color_FF2966EC">#FF2966EC</color>
<color name="color_1F9BFE">#1F9BFE</color>
<color name="color_256BFF">#256BFF</color>
<color name="color_3E7BFE">#3E7BFE</color>
<color name="color_323C6F">#323C6F</color>
<color name="color_8E9DD4">#8E9DD4</color>
</resources>