From d00003b8371023cbc03ea6ab94b1216f54a9d7b9 Mon Sep 17 00:00:00 2001 From: liujing Date: Thu, 19 Nov 2020 13:52:58 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E5=87=BA=E8=A1=8C=E5=8A=A8=E6=80=81UI?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../res/layout/item_v2x_scennario_history.xml | 90 +++++++++---------- ..._event_panel_fragment_scenario_history.xml | 4 +- 2 files changed, 46 insertions(+), 48 deletions(-) diff --git a/modules/mogo-module-v2x/src/main/res/layout/item_v2x_scennario_history.xml b/modules/mogo-module-v2x/src/main/res/layout/item_v2x_scennario_history.xml index a119d15ca1..5cef5e4fdc 100644 --- a/modules/mogo-module-v2x/src/main/res/layout/item_v2x_scennario_history.xml +++ b/modules/mogo-module-v2x/src/main/res/layout/item_v2x_scennario_history.xml @@ -7,12 +7,51 @@ android:layout_height="wrap_content" android:background="@drawable/bg_v2x_event_list_item"> + + + + + + + app:layout_constraintBottom_toBottomOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toBottomOf="@id/tvIllegalNum" /> - - - - - - + app:layout_constraintTop_toTopOf="@+id/tagEventType" />¬ Date: Thu, 19 Nov 2020 13:56:33 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E5=87=BA=E8=A1=8C=E5=8A=A8=E6=80=81title?= =?UTF-8?q?=E5=A4=A7=E5=B0=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/res/layout/item_v2x_scennario_history.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/mogo-module-v2x/src/main/res/layout/item_v2x_scennario_history.xml b/modules/mogo-module-v2x/src/main/res/layout/item_v2x_scennario_history.xml index 5cef5e4fdc..c61b839713 100644 --- a/modules/mogo-module-v2x/src/main/res/layout/item_v2x_scennario_history.xml +++ b/modules/mogo-module-v2x/src/main/res/layout/item_v2x_scennario_history.xml @@ -25,7 +25,7 @@ android:ellipsize="end" android:maxLines="1" android:textColor="@color/v2x_FFF_333" - android:textSize="@dimen/dp_32" + android:textSize="@dimen/share_item_address" android:textStyle="bold" app:layout_constraintEnd_toStartOf="@+id/llIllegalParkingLike" app:layout_constraintStart_toStartOf="@id/tagEventType" From 249fc6b29c7586750eb8b4e2aea054a6f644e5f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=91=A3=E5=AE=8F=E5=AE=87?= Date: Thu, 19 Nov 2020 14:56:52 +0800 Subject: [PATCH 3/3] =?UTF-8?q?=E5=88=A0=E9=99=A4=E4=BA=86=E6=96=B9?= =?UTF-8?q?=E5=90=91=E8=A7=92=E6=AF=94=E5=AF=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/mogo/module/v2x/alarm/V2XAlarmServer.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/mogo-module-v2x/src/main/java/com/mogo/module/v2x/alarm/V2XAlarmServer.java b/modules/mogo-module-v2x/src/main/java/com/mogo/module/v2x/alarm/V2XAlarmServer.java index f70296cb17..29ac85eb49 100644 --- a/modules/mogo-module-v2x/src/main/java/com/mogo/module/v2x/alarm/V2XAlarmServer.java +++ b/modules/mogo-module-v2x/src/main/java/com/mogo/module/v2x/alarm/V2XAlarmServer.java @@ -86,8 +86,7 @@ public class V2XAlarmServer { // "\n事件角度:" + markerNoveltyInfo.getLocation().getAngle() + // "\n车头角度:" + currentLocation.getAngle() + // "\n角度差值:" + Math.abs(currentLocation.getAngle() - markerNoveltyInfo.getLocation().getAngle())); - if (v2XRoadEventEntity.getLocation().getAngle() >= 0 && - Math.abs(currentLocation.getBearing() - v2XRoadEventEntity.getLocation().getAngle()) <= 10) { + if (v2XRoadEventEntity.getLocation().getAngle() >= 0) { // 计算车辆距离指定气泡的距离 MarkerLocation eventLocation = v2XRoadEventEntity.getLocation();