[6.0.0]
[shuttle] [变更文件夹]
This commit is contained in:
13
OCH/shuttle/driver/src/main/res/values/attrs.xml
Normal file
13
OCH/shuttle/driver/src/main/res/values/attrs.xml
Normal file
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<declare-styleable name="SlidePanelView">
|
||||
<attr name="textSize" format="dimension" />
|
||||
<attr name="NORMAL_TEXT_MARGIN_LEFT" format="dimension" />
|
||||
<attr name="NORMAL_TEXT_MARGIN_RIGHT" format="dimension" />
|
||||
<attr name="SHORT_TEXT_MARGIN_LEFT" format="dimension" />
|
||||
<attr name="SHORT_TEXT_MARGIN_RIGHT" format="dimension" />
|
||||
<attr name="BLOCK_START_X" format="dimension" />
|
||||
<attr name="BLOCK_START_Y" format="dimension" />
|
||||
</declare-styleable>
|
||||
|
||||
</resources>
|
||||
60
OCH/shuttle/driver/src/main/res/values/colors.xml
Normal file
60
OCH/shuttle/driver/src/main/res/values/colors.xml
Normal file
@@ -0,0 +1,60 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<color name="bus_current_station_name_text_color">#FF1FA7FF</color>
|
||||
<color name="bus_current_station_notice_text_color">#FFFFFFFF</color>
|
||||
<color name="bus_arrived_station_name_text_color">#FFFFFFFF</color>
|
||||
<color name="bus_not_arrive_station_name_text_color">#FF51649D</color>
|
||||
<color name="bus_station_notice_text_color">#7F8299EB</color>
|
||||
|
||||
<color name="bus_not_arrive_dash_color">#51649D</color>
|
||||
<color name="bus_arriving_start_dash_color">#427d8e</color>
|
||||
<color name="bus_arriving_end_dash_color">#1FA7FF</color>
|
||||
<color name="bus_leaving_start_dash_color">#3FC281</color>
|
||||
<color name="bus_leaving_end_dash_color">#427d8e</color>
|
||||
<color name="bus_arrived_dash_color">#3FC281</color>
|
||||
|
||||
<color name="bus_autopilot_text_color_normal">#FFFFFF</color>
|
||||
<color name="bus_autopilot_text_color_disable">#99FFFFFF</color>
|
||||
<color name="bus_autopilot_text_color_checked">#FF52BBFF</color>
|
||||
|
||||
<color name="bus_ext_weather_bkg_color">#BF30334C</color>
|
||||
<color name="bus_ext_weather_text_color">#fff</color>
|
||||
<color name="bus_ext_vr_mode_left_notice_content_text_color">#f1f1f1</color>
|
||||
|
||||
<color name="bus_ext_vr_mode_left_traffic_light_green">#7DE261</color>
|
||||
<color name="bus_ext_vr_mode_left_traffic_light_red">#FF2B2B</color>
|
||||
<color name="bus_ext_vr_mode_left_traffic_light_yellow">#E3BC59</color>
|
||||
<color name="bus_ext_vr_mode_left_traffic_light_white">#FFF</color>
|
||||
<color name="bus_live_video_progress_bar_loading_color">#256BFF</color>
|
||||
<color name="v2x_FFF_333">#FFFFFF</color>
|
||||
|
||||
<color name="arc_speeding">#DB3137</color>
|
||||
<color name="arc_speed">#3E77F6</color>
|
||||
<color name="bus_switch_map_bg_c">#323C6F</color>
|
||||
|
||||
<color name="switch_line">#2966EC</color>
|
||||
<color name="bus_switch_line_bg">#F7151D41</color>
|
||||
|
||||
<color name="bus_switch_btn_bg_half">#19FFFFFF</color>
|
||||
<color name="bus_white">#FFFFFF</color>
|
||||
|
||||
<color name="bus_traffic_light_red_color_up">#FFFFA28B</color>
|
||||
<color name="bus_traffic_light_red_color_down">#FFDA1100</color>
|
||||
<color name="bus_traffic_light_green_color_up">#FF60FFD3</color>
|
||||
<color name="bus_traffic_light_green_color_down">#FF006D43</color>
|
||||
<color name="bus_traffic_light_yellow_color_up">#FFFFE198</color>
|
||||
<color name="bus_traffic_light_yellow_color_down">#FFFF9B00</color>
|
||||
<color name="bus_arrived_btn_un_clickable_color">#59FFFFFF</color>
|
||||
|
||||
<color name="bus_color_ccb9c3e9">#CCB9C3E9</color>
|
||||
<color name="bus_color_4dffffff">#4Dffffff</color>
|
||||
|
||||
<color name="bus_station_tag_txt_un_color">#8E9DD4</color>
|
||||
<color name="bus_task_time_bg_color">#2B6EFF</color>
|
||||
<color name="bus_line_station_color_selected">#00FFF8</color>
|
||||
|
||||
<color name="sweeper_ext_color_voice_text">#FFFFFF</color>
|
||||
<color name="sweeper_mogo_autopilot_status_disable">#4DFFFFFF</color>
|
||||
<color name="sweeper_mogo_autopilot_status_enable">#FFFFFF</color>
|
||||
<color name="sweeper_switch_map_bg">#323C6F</color>
|
||||
</resources>
|
||||
165
OCH/shuttle/driver/src/main/res/values/dimens.xml
Normal file
165
OCH/shuttle/driver/src/main/res/values/dimens.xml
Normal file
@@ -0,0 +1,165 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<!-- 本套资源适配分体机xhdpi -->
|
||||
<dimen name="module_mogo_och_notice_text_max_width">460dp</dimen>
|
||||
<dimen name="module_mogo_och_notice_text_size">30dp</dimen>
|
||||
|
||||
<dimen name="bus_ext_arcView_center_text_size">110dp</dimen>
|
||||
<dimen name="bus_ext_arcView_des_text_size">40dp</dimen>
|
||||
<dimen name="bus_ext_arcView_height">320dp</dimen>
|
||||
<dimen name="bus_ext_arcView_stroke_with">20dp</dimen>
|
||||
<dimen name="bus_ext_arcView_top">40dp</dimen>
|
||||
<dimen name="bus_ext_arcView_width">320dp</dimen>
|
||||
<dimen name="bus_ext_speed_height">460dp</dimen>
|
||||
<dimen name="bus_ext_speed_padding">70dp</dimen>
|
||||
<dimen name="bus_ext_speed_width">460dp</dimen>
|
||||
<dimen name="bus_ext_speed_width_big_radius">130dp</dimen>
|
||||
<dimen name="bus_ext_speed_width_sm_radius">30dp</dimen>
|
||||
|
||||
<color name="bus_ext_color_voice_text">#FFFFFF</color>
|
||||
<color name="bus_mogo_autopilot_status_disable">#4DFFFFFF</color>
|
||||
<color name="bus_mogo_autopilot_status_enable">#FFFFFF</color>
|
||||
<color name="bus_switch_map_bg">#323C6F</color>
|
||||
<dimen name="bus_dp_10">10dp</dimen>
|
||||
<dimen name="bus_dp_20">20dp</dimen>
|
||||
<dimen name="bus_dp_200">200dp</dimen>
|
||||
<dimen name="bus_dp_52">52dp</dimen>
|
||||
<dimen name="bus_dp_65">65dp</dimen>
|
||||
<dimen name="bus_layout_margin_bottom">20dp</dimen>
|
||||
<dimen name="bus_hmi_autopilot_status_bg_big_radius">50dp</dimen>
|
||||
<dimen name="bus_hmi_autopilot_status_bg_sm_radius">20dp</dimen>
|
||||
<dimen name="bus_hmi_btn_size">38dp</dimen>
|
||||
<dimen name="bus_hmi_btn_text_size">33dp</dimen>
|
||||
<dimen name="bus_hmi_check_left">368dp</dimen>
|
||||
<dimen name="bus_hmi_check_size">76dp</dimen>
|
||||
<dimen name="bus_switch_image_circle">60dp</dimen>
|
||||
<dimen name="bus_switch_map">276dp</dimen>
|
||||
<dimen name="bus_switch_map_height">112dp</dimen>
|
||||
<dimen name="bus_switch_margin_left">22dp</dimen>
|
||||
<dimen name="bus_switch_text_size">36dp</dimen>
|
||||
<dimen name="bus_switch_image">50dp</dimen>
|
||||
<dimen name="bus_ext_top_view_width_in_vr_mode">822dp</dimen>
|
||||
|
||||
<dimen name="bus_switch_line_title">46dp</dimen>
|
||||
<dimen name="bus_switch_line_btn_width">700dp</dimen>
|
||||
<dimen name="bus_switch_line_btn_height">120dp</dimen>
|
||||
<dimen name="bus_switch_line_btn_width_1">560dp</dimen>
|
||||
<dimen name="bus_switch_line_btn_height_1">116dp</dimen>
|
||||
<dimen name="bus_switch_line_btn_margin_b">50dp</dimen>
|
||||
|
||||
<dimen name="bus_traffic_light_layout_width">225dp</dimen>
|
||||
<dimen name="bus_traffic_light_layout_height">154dp</dimen>
|
||||
<dimen name="bus_traffic_light_layout_corner">60dp</dimen>
|
||||
<dimen name="bus_traffic_light_layout_margin_right">40dp</dimen>
|
||||
<dimen name="bus_traffic_light_layout_margin_top">23dp</dimen>
|
||||
<dimen name="bus_traffic_light_bg_width">210dp</dimen>
|
||||
<dimen name="bus_traffic_light_bg_height">120dp</dimen>
|
||||
<dimen name="bus_traffic_light_bg_margin_left">15dp</dimen>
|
||||
<dimen name="bus_traffic_light_bg_margin_top">17dp</dimen>
|
||||
<dimen name="bus_traffic_light_icon_size">154dp</dimen>
|
||||
<dimen name="bus_traffic_light_time_view_width">130dp</dimen>
|
||||
<dimen name="bus_traffic_light_time_size">60dp</dimen>
|
||||
|
||||
<dimen name="bus_station_tag_txt_size">27dp</dimen>
|
||||
|
||||
|
||||
<dimen name="module_mogo_och_autopilot_status_text_size">40dp</dimen>
|
||||
<dimen name="module_mogo_och_arrived_text_size">32dp</dimen>
|
||||
<dimen name="module_mogo_och_autopilot_status_text_padding_top">13dp</dimen>
|
||||
<dimen name="module_mogo_och_autopilot_status_text_drawable_padding">12dp</dimen>
|
||||
<dimen name="module_mogo_och_autopilot_status_text_m_l">350dp</dimen>
|
||||
|
||||
<dimen name="module_mogo_och_autopilot_order_m_t">30dp</dimen>
|
||||
<dimen name="module_mogo_och_autopilot_order_bg_width">618dp</dimen>
|
||||
<dimen name="module_mogo_och_autopilot_order_bg_height">754dp</dimen>
|
||||
|
||||
<dimen name="module_mogo_och_operation_status_padding">92dp</dimen>
|
||||
|
||||
<dimen name="module_mogo_och_operation_status_bg_width">112dp</dimen>
|
||||
<dimen name="module_mogo_och_operation_status_bg_height">112dp</dimen>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<dimen name="module_mogo_och_bus_station_panel_width">300dp</dimen>
|
||||
<dimen name="module_mogo_och_bus_station_panel_height">348dp</dimen>
|
||||
<dimen name="module_mogo_och_bus_two_station_panel_height">211dp</dimen>
|
||||
<dimen name="module_mogo_och_bus_three_station_panel_height">276dp</dimen>
|
||||
|
||||
|
||||
<dimen name="module_mogo_och_bus_station_list_height">220dp</dimen>
|
||||
<dimen name="module_mogo_och_bus_two_station_list_height">98dp</dimen>
|
||||
<dimen name="module_mogo_och_bus_three_station_list_height">159dp</dimen>
|
||||
|
||||
<dimen name="module_mogo_och_bus_current_station_name_text_size">32dp</dimen>
|
||||
<dimen name="module_mogo_och_bus_current_station_notice_text_size">20dp</dimen>
|
||||
<dimen name="module_mogo_och_bus_station_name_text_size">40dp</dimen>
|
||||
<dimen name="module_mogo_och_bus_station_notice_text_size">42dp</dimen>
|
||||
|
||||
<dimen name="module_mogo_och_bus_station_name_margin_left">15dp</dimen>
|
||||
|
||||
<dimen name="module_mogo_och_bus_station_panel_padding_top">20dp</dimen>
|
||||
<dimen name="module_mogo_och_bus_station_panel_padding_left">36dp</dimen>
|
||||
<dimen name="module_mogo_och_bus_station_panel_padding_bottom">28dp</dimen>
|
||||
<dimen name="module_mogo_och_bus_station_panel_padding_right">36dp</dimen>
|
||||
|
||||
<dimen name="module_mogo_och_bus_station_panel_guide_offset_left">3dp</dimen>
|
||||
<dimen name="module_mogo_och_bus_station_panel_guide_offset_right">3dp</dimen>
|
||||
<dimen name="module_mogo_och_bus_station_panel_guide_offset_top">17dp</dimen>
|
||||
<dimen name="module_mogo_och_bus_station_panel_guide_offset_bottom">17dp</dimen>
|
||||
|
||||
|
||||
<dimen name="module_och_bus_panel_width">300dp</dimen>
|
||||
<dimen name="module_och_bus_panel_height">270dp</dimen>
|
||||
<dimen name="module_och_bus_order_status_marginLeft">30dp</dimen>
|
||||
<dimen name="module_och_bus_order_status_marginTop">24dp</dimen>
|
||||
<dimen name="module_och_bus_order_status_textSize">24dp</dimen>
|
||||
<dimen name="module_och_bus_order_status_divider_height">1dp</dimen>
|
||||
<dimen name="module_och_bus_order_status_divider_marginLeft">30dp</dimen>
|
||||
<dimen name="module_och_bus_order_status_divider_marginTop">23dp</dimen>
|
||||
<dimen name="module_och_bus_order_status_divider_marginRight">30dp</dimen>
|
||||
<dimen name="module_och_bus_order_status_stationInfo_height">146dp</dimen>
|
||||
<dimen name="module_och_bus_order_status_stationInfo_paddingLeft">20dp</dimen>
|
||||
<dimen name="module_och_bus_order_status_stationInfo_paddingTop">23dp</dimen>
|
||||
<dimen name="module_och_bus_order_status_stationInfo_paddingRight">30dp</dimen>
|
||||
<dimen name="module_och_bus_order_status_stationInfo_paddingBottom">23dp</dimen>
|
||||
<dimen name="module_och_bus_order_start_station_textSize">26dp</dimen>
|
||||
<dimen name="module_och_bus_order_start_station_anchor_textSize">34dp</dimen>
|
||||
<dimen name="module_och_bus_order_end_station_anchor_textSize">20dp</dimen>
|
||||
<dimen name="module_och_bus_order_distance_container_height">80dp</dimen>
|
||||
<dimen name="module_och_bus_order_distance_container_marginLeft">3dp</dimen>
|
||||
<dimen name="module_och_bus_order_distance_anchor_marginTop">34dp</dimen>
|
||||
<dimen name="module_och_bus_order_distance_anchor_textSize">20dp</dimen>
|
||||
<dimen name="module_och_bus_order_distance_textSize">28dp</dimen>
|
||||
<dimen name="module_och_bus_order_distance_marginRight">27dp</dimen>
|
||||
|
||||
|
||||
<dimen name="module_mogo_och_autopilot_order_tag_height">25.6dp</dimen>
|
||||
<dimen name="module_mogo_och_autopilot_order_tag_m_t">20dp</dimen>
|
||||
<dimen name="module_mogo_och_autopilot_order_tag_m_r">20dp</dimen>
|
||||
<dimen name="module_mogo_och_autopilot_order_tag_p_r">64dp</dimen>
|
||||
<dimen name="module_mogo_och_autopilot_order_tag_p_l">16dp</dimen>
|
||||
|
||||
<dimen name="module_mogo_och_margin_left">40dp</dimen>
|
||||
<dimen name="module_mogo_och_margin_right">40dp</dimen>
|
||||
<dimen name="module_mogo_och_margin_bottom">46dp</dimen>
|
||||
<dimen name="module_mogo_och_margin_top">24dp</dimen>
|
||||
|
||||
<dimen name="module_mogo_och_station_panel_container_margin_top_no_call">530dp</dimen>
|
||||
<dimen name="module_mogo_och_station_panel_container_margin_top_with_call">492dp</dimen>
|
||||
|
||||
<dimen name="module_mogo_och_slide_panel_block_start_x">20dp</dimen>
|
||||
<dimen name="module_mogo_och_slide_panel_block_start_y">20dp</dimen>
|
||||
<dimen name="module_mogo_och_slide_panel_normal_text_margin_left">70dp</dimen>
|
||||
<dimen name="module_mogo_och_slide_panel_normal_text_margin_right">130dp</dimen>
|
||||
<dimen name="module_mogo_och_slide_panel_short_text_margin_left">93dp</dimen>
|
||||
<dimen name="module_mogo_och_slide_panel_short_text_margin_right">150dp</dimen>
|
||||
<dimen name="module_mogo_och_slide_panel_textSize">70dp</dimen>
|
||||
|
||||
<dimen name="module_mogo_och_autopilot_status_bg_corner">24dp</dimen>
|
||||
<dimen name="module_mogo_och_autopilot_status_bg_width">616dp</dimen>
|
||||
<dimen name="module_mogo_och_autopilot_status_bg_height">180dp</dimen>
|
||||
|
||||
|
||||
</resources>
|
||||
62
OCH/shuttle/driver/src/main/res/values/strings.xml
Normal file
62
OCH/shuttle/driver/src/main/res/values/strings.xml
Normal file
@@ -0,0 +1,62 @@
|
||||
<resources>
|
||||
<string name="bus_map_model_normal">近距视角</string>
|
||||
<string name="bus_map_model_faster">远距视角</string>
|
||||
<string name="bus_loading_autopilot_tv">启动中…</string>
|
||||
<string name="bus_loading_autopilot_success_tv">启动成功</string>
|
||||
<string name="bus_loading_autopilot_failure_tv">启动失败</string>
|
||||
<string name="bus_loading_autopilot_runnig_tv">自动驾驶</string>
|
||||
<string name="bus_switch_line_title">任务列表</string>
|
||||
<string name="bus_switch_line_no_task">暂无任务</string>
|
||||
<string name="bus_switch_line_select_task">选择时间</string>
|
||||
<string name="bus_switch_line_name">路线: </string>
|
||||
<string name="bus_switch_line_start">起点: </string>
|
||||
<string name="bus_switch_line_end">终点:</string>
|
||||
<string name="bus_switch_line_btn_txt">确认</string>
|
||||
<string name="bus_switch_line_btn">选择任务</string>
|
||||
<string name="bus_close_line_btn">结束任务</string>
|
||||
<string name="bus_switch_line_btn_warning1">自动驾驶状态中,不可切换或结束路线</string>
|
||||
<string name="bus_switch_line_btn_warning2">当前行程未完成,不可切换路线</string>
|
||||
<string name="bus_no_line_tip">当前车辆无路线\n请联系运营人员绑定</string>
|
||||
<string name="bus_line_start">起点: </string>
|
||||
<string name="bus_line_end">终点: </string>
|
||||
<string name="bus_line_goto_end">往%1$s方向</string>
|
||||
<string name="bus_change_line_commit_tip_s">更换任务成功</string>
|
||||
<string name="bus_change_line_commit_tip_f">更换任务失败</string>
|
||||
<!-- <string name="bus_arrive_to_end_title">去往下车地点</string>-->
|
||||
<string name="bus_arrive_to_end_start">起点:</string>
|
||||
<string name="bus_arrive_to_end_end">终点:</string>
|
||||
<string name="bus_arrive_to_current_tag">当前站点:</string>
|
||||
<string name="bus_arrive_to_next_tag">下一站:</string>
|
||||
<string name="bus_auto_disable_tip">自动驾驶状态为0不可用</string>
|
||||
<string name="bus_arrived_str">进站</string>
|
||||
<string name="bus_station_txt_tag_start">起</string>
|
||||
<string name="bus_station_txt_tag_end">终</string>
|
||||
<string name="bus_line_time_tag">班次:</string>
|
||||
|
||||
<string name="bus_dialog_title">提示</string>
|
||||
<string name="bus_dialog_tips">您确认要结束任务吗?</string>
|
||||
<string name="bus_dialog_confirm">确认</string>
|
||||
<string name="bus_dialog_cancel">取消</string>
|
||||
|
||||
<string name="bus_no_task_tip">暂无任务</string>
|
||||
|
||||
|
||||
<!-- region tts -->
|
||||
<string name="bus_arrived_station_tip">已到达%1$s,带好随身物品,下车请注意安全。</string>
|
||||
<string name="bus_arrived_station_english_tip">We are arriving at %1$s ,get off with your belongings</string>
|
||||
<string name="bus_arrived_station_korean_tip">%1$s 역에 도착했습니다 , 소지품 챙겨서 내리세요</string>
|
||||
|
||||
<string name="bus_leave_station_tip">车辆起步,请扶稳坐好,前方到站是%1$s,请下车的乘客做好准备。</string>
|
||||
<string name="bus_leave_station_english_tip">The next station is %1$s ,please get ready for your arrival</string>
|
||||
<string name="bus_leave_station_korean_tip">전방에서 역에 도착하는 %1$s ,차에서 내리는 승객은 준비하세요</string>
|
||||
|
||||
<string name="bus_end_task_tip">感谢您体验\'蘑菇车联\'自动驾驶小巴车,我们下次再见。</string>
|
||||
<string name="bus_end_task_english_tip">Thank you for experiencing the self-driving minibus. See you next time</string>
|
||||
<string name="bus_end_task_korean_tip">자율주행 버스를 체험해 주셔서 감사합니다. 다음에 또 뵙겠습니다</string>
|
||||
<!-- endregion -->
|
||||
|
||||
<string name="bus_before_tips_s">距离发车时间还有%1$s分钟</string>
|
||||
|
||||
<string name="bus_pingxing_driver">平行驾驶</string>
|
||||
|
||||
</resources>
|
||||
23
OCH/shuttle/driver/src/main/res/values/style.xml
Normal file
23
OCH/shuttle/driver/src/main/res/values/style.xml
Normal file
@@ -0,0 +1,23 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<style name="SwitchLineDialogStyle" parent="Theme.AppCompat.Dialog">
|
||||
<item name="theme">@android:style/Theme.Translucent</item>
|
||||
<!--是否去除标题 -->
|
||||
<item name="windowNoTitle">true</item>
|
||||
<!-- 背景透明 -->
|
||||
<item name="android:background">#00000000</item>
|
||||
<item name="android:windowBackground">#00000000</item>
|
||||
<!-- 没有windowActionBar-->
|
||||
<item name="windowActionBar">false</item>
|
||||
<item name="android:windowContentOverlay">@null</item>
|
||||
<!-- 设置窗体外面允不允许点击-->
|
||||
<item name="android:windowCloseOnTouchOutside">true</item>
|
||||
<item name="android:windowFullscreen">true</item>
|
||||
<item name="android:windowIsFloating">true</item>
|
||||
<item name="android:windowIsTranslucent">true</item>
|
||||
<item name="android:windowNoTitle">true</item>
|
||||
<item name="android:windowFrame">@null</item>
|
||||
<item name="android:windowAnimationStyle">@android:style/Animation.Translucent</item>
|
||||
<item name="android:backgroundDimEnabled">false</item>
|
||||
</style>
|
||||
</resources>
|
||||
Reference in New Issue
Block a user