[charter]
[切换包名]
This commit is contained in:
yangyakun
2023-08-24 17:43:26 +08:00
parent 46dba71113
commit 92ef7c1c37
92 changed files with 300 additions and 281 deletions

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.mogo.och.bus.passenger">
package="com.mogo.och.charter.passenger">
</manifest>

View File

@@ -1,6 +0,0 @@
package com.mogo.och.bus.passenger.bean.event
import com.mogo.och.bus.passenger.bean.response.LineInfoResponse
import com.mogo.och.bus.passenger.bean.response.SiteInfoResponse
data class EventLineSites(val lineInfo: LineInfoResponse.LineInfo?, val sites: List<SiteInfoResponse.SiteInfo>?, val clear:Boolean=false)

View File

@@ -1,3 +0,0 @@
package com.mogo.och.bus.passenger.ui.debugview
data class DebugEvent(val type: String)

View File

@@ -1,4 +1,4 @@
package com.mogo.och.bus.passenger
package com.mogo.och.charter.passenger
import android.content.Context
import androidx.fragment.app.Fragment
@@ -10,8 +10,8 @@ import com.mogo.eagle.core.function.call.map.CallerMapUIServiceManager.getMapUIC
import com.mogo.eagle.core.function.call.setting.CallerMoGoUiSettingManager.stepInDayMode
import com.mogo.eagle.core.utilcode.mogo.logger.CallerLogger.d
import com.mogo.eagle.core.utilcode.mogo.logger.scene.SceneConstant
import com.mogo.och.bus.passenger.constant.CharterPassengerConst
import com.mogo.och.bus.passenger.ui.MainFragment
import com.mogo.och.charter.passenger.constant.CharterPassengerConst
import com.mogo.och.charter.passenger.ui.MainFragment
/**
* 网约车-Bus-乘客端
@@ -46,7 +46,7 @@ class MogoOCHBusPassenger : IMoGoFunctionProvider {
val supportFragmentManager: FragmentManager? = mActivity?.supportFragmentManager
if (mPassengerFragment == null) {
d(SceneConstant.M_TAXI_P + TAG, "准备add fragment======")
d(SceneConstant.M_TAXI_P + com.mogo.och.charter.passenger.MogoOCHBusPassenger.Companion.TAG, "准备add fragment======")
var fragmentByTag: Fragment? = supportFragmentManager?.findFragmentByTag(MainFragment.TAG)
mPassengerFragment = if (fragmentByTag is MainFragment){
fragmentByTag
@@ -60,7 +60,7 @@ class MogoOCHBusPassenger : IMoGoFunctionProvider {
}
return
}
d(SceneConstant.M_TAXI_P + TAG, "准备show fragment")
d(SceneConstant.M_TAXI_P + com.mogo.och.charter.passenger.MogoOCHBusPassenger.Companion.TAG, "准备show fragment")
supportFragmentManager?.beginTransaction()?.show(mPassengerFragment!!)
?.commitAllowingStateLoss()
}
@@ -73,6 +73,6 @@ class MogoOCHBusPassenger : IMoGoFunctionProvider {
}
companion object {
private val TAG = MogoOCHBusPassenger::class.java.simpleName
private val TAG = com.mogo.och.charter.passenger.MogoOCHBusPassenger::class.java.simpleName
}
}

View File

@@ -1,4 +1,4 @@
package com.mogo.och.bus.passenger.bean;
package com.mogo.och.charter.passenger.bean;
public class TaxiPassengerVideoPlay {

View File

@@ -1,3 +1,3 @@
package com.mogo.och.bus.passenger.bean
package com.mogo.och.charter.passenger.bean
data class Temperature(val index:Int,val value:Int,val showTitle:String)

View File

@@ -0,0 +1,6 @@
package com.mogo.och.charter.passenger.bean.event
import com.mogo.och.charter.passenger.bean.response.LineInfoResponse
import com.mogo.och.charter.passenger.bean.response.SiteInfoResponse
data class EventLineSites(val lineInfo: LineInfoResponse.LineInfo?, val sites: List<SiteInfoResponse.SiteInfo>?, val clear:Boolean=false)

View File

@@ -1,3 +1,3 @@
package com.mogo.och.bus.passenger.bean.request
package com.mogo.och.charter.passenger.bean.request
data class ArriveDestRequest(val sn:String, val lineId:Long,val writeVersion:Long)

View File

@@ -1,3 +1,3 @@
package com.mogo.och.bus.passenger.bean.request
package com.mogo.och.charter.passenger.bean.request
data class EndOrderRequest(val sn:String,val orderNo:String)

View File

@@ -1,4 +1,4 @@
package com.mogo.och.bus.passenger.bean.response
package com.mogo.och.charter.passenger.bean.response
import com.mogo.eagle.core.data.BaseData
import java.util.*

View File

@@ -1,4 +1,4 @@
package com.mogo.och.bus.passenger.bean.response
package com.mogo.och.charter.passenger.bean.response
import com.mogo.eagle.core.data.BaseData

View File

@@ -1,4 +1,4 @@
package com.mogo.och.bus.passenger.bean.response
package com.mogo.och.charter.passenger.bean.response
import com.mogo.eagle.core.data.BaseData

View File

@@ -1,4 +1,4 @@
package com.mogo.och.bus.passenger.bean.response
package com.mogo.och.charter.passenger.bean.response
import com.mogo.eagle.core.data.BaseData

View File

@@ -1,4 +1,4 @@
package com.mogo.och.bus.passenger.bean.response
package com.mogo.och.charter.passenger.bean.response
import com.mogo.eagle.core.data.BaseData

View File

@@ -1,4 +1,4 @@
package com.mogo.och.bus.passenger.bean.response
package com.mogo.och.charter.passenger.bean.response
import com.mogo.eagle.core.data.BaseData

View File

@@ -1,4 +1,4 @@
package com.mogo.och.bus.passenger.bean.response
package com.mogo.och.charter.passenger.bean.response
import com.mogo.commons.AbsMogoApplication
import com.mogo.eagle.core.data.BaseData

View File

@@ -1,4 +1,4 @@
package com.mogo.och.bus.passenger.bean.response
package com.mogo.och.charter.passenger.bean.response
import com.mogo.eagle.core.data.BaseData
import com.mogo.och.common.module.bean.dpmsg.LineSite

View File

@@ -1,4 +1,4 @@
package com.mogo.och.bus.passenger.bean.response
package com.mogo.och.charter.passenger.bean.response
import com.amap.api.maps.model.LatLng
import com.mogo.eagle.core.data.BaseData

View File

@@ -1,4 +1,4 @@
package com.mogo.och.bus.passenger.callback;
package com.mogo.och.charter.passenger.callback;
import com.mogo.eagle.core.data.map.MogoLocation;

View File

@@ -1,4 +1,4 @@
package com.mogo.och.bus.passenger.callback
package com.mogo.och.charter.passenger.callback
interface IClearViewCallback {
fun goneAllView()

View File

@@ -1,4 +1,4 @@
package com.mogo.och.bus.passenger.callback
package com.mogo.och.charter.passenger.callback
interface IDistanceCallback {
fun setDistancecAndTime(meters:Long , timeInSecond:Long )

View File

@@ -1,4 +1,4 @@
package com.mogo.och.bus.passenger.callback
package com.mogo.och.charter.passenger.callback
interface IOrderChangeCallback {
/**

View File

@@ -1,4 +1,4 @@
package com.mogo.och.bus.passenger.callback
package com.mogo.och.charter.passenger.callback
interface ITimeCallback {
fun setOrderTimeCallBack(timeInSecond: Long)

View File

@@ -1,4 +1,4 @@
package com.mogo.och.bus.passenger.constant
package com.mogo.och.charter.passenger.constant
/**
* Created on 2021/12/6

View File

@@ -1,4 +1,4 @@
package com.mogo.och.bus.passenger.model
package com.mogo.och.charter.passenger.model
import android.annotation.SuppressLint
import android.content.Context
@@ -23,15 +23,15 @@ import com.mogo.eagle.core.utilcode.mogo.logger.CallerLogger.e
import com.mogo.eagle.core.utilcode.mogo.logger.scene.SceneConstant
import com.mogo.eagle.core.utilcode.mogo.logger.scene.SceneConstant.Companion.M_BUS_P
import com.mogo.eagle.core.utilcode.util.*
import com.mogo.och.bus.passenger.R
import com.mogo.och.charter.passenger.R
import com.mogo.och.common.module.manager.loopmanager.LoopInfo
import com.mogo.och.bus.passenger.bean.response.*
import com.mogo.och.bus.passenger.callback.*
import com.mogo.och.bus.passenger.constant.CharterPassengerConst
import com.mogo.och.charter.passenger.bean.response.*
import com.mogo.och.charter.passenger.callback.*
import com.mogo.och.charter.passenger.constant.CharterPassengerConst
import com.mogo.och.common.module.manager.loopmanager.BizLoopManager
import com.mogo.och.bus.passenger.net.BusPassengerServiceManager
import com.mogo.och.charter.passenger.net.BusPassengerServiceManager
import com.mogo.och.common.module.wigets.toast.ToastCharterUtils
import com.mogo.och.bus.passenger.utils.VoiceFocusManager
import com.mogo.och.charter.passenger.utils.VoiceFocusManager
import com.mogo.och.common.module.bean.dpmsg.BaseDPMsg
import com.mogo.och.common.module.bean.dpmsg.ChangeDestMsg
import com.mogo.och.common.module.biz.common.socketmessage.OCHSocketMessageManager

View File

@@ -1,4 +1,4 @@
package com.mogo.och.bus.passenger.model
package com.mogo.och.charter.passenger.model
/**
* Created on 2022/08/19

View File

@@ -1,12 +1,12 @@
package com.mogo.och.bus.passenger.net
package com.mogo.och.charter.passenger.net
import android.content.Context
import com.mogo.eagle.core.data.BaseData
import com.mogo.eagle.core.function.call.telematic.CallerTelematicManager
import com.mogo.eagle.core.network.MoGoRetrofitFactory
import com.mogo.och.bus.passenger.bean.request.ArriveDestRequest
import com.mogo.och.bus.passenger.bean.request.EndOrderRequest
import com.mogo.och.bus.passenger.bean.response.*
import com.mogo.och.charter.passenger.bean.request.ArriveDestRequest
import com.mogo.och.charter.passenger.bean.request.EndOrderRequest
import com.mogo.och.charter.passenger.bean.response.*
import com.mogo.och.common.module.wigets.toast.ToastCharterUtils
import com.mogo.och.common.module.biz.constant.OchCommonConst
import com.mogo.och.common.module.biz.network.OchCommonServiceCallback

View File

@@ -1,11 +1,11 @@
package com.mogo.och.bus.passenger.net
package com.mogo.och.charter.passenger.net
import com.mogo.cloud.passport.MoGoAiCloudClientConfig
import com.mogo.eagle.core.data.BaseData
import com.mogo.eagle.core.function.call.telematic.CallerTelematicManager
import com.mogo.och.bus.passenger.bean.request.ArriveDestRequest
import com.mogo.och.bus.passenger.bean.request.EndOrderRequest
import com.mogo.och.bus.passenger.bean.response.*
import com.mogo.och.charter.passenger.bean.request.ArriveDestRequest
import com.mogo.och.charter.passenger.bean.request.EndOrderRequest
import com.mogo.och.charter.passenger.bean.response.*
import io.reactivex.Observable
import retrofit2.http.*

View File

@@ -1,9 +1,9 @@
package com.mogo.och.bus.passenger.presenter
package com.mogo.och.charter.passenger.presenter
import androidx.lifecycle.LifecycleOwner
import com.mogo.commons.mvp.IView
import com.mogo.commons.mvp.Presenter
import com.mogo.och.bus.passenger.model.CharterPassengerModel
import com.mogo.och.charter.passenger.model.CharterPassengerModel
import com.mogo.och.common.module.utils.RxUtils
import io.reactivex.disposables.Disposable

View File

@@ -1,6 +1,6 @@
package com.mogo.och.bus.passenger.presenter
package com.mogo.och.charter.passenger.presenter
import com.mogo.och.bus.passenger.ui.dialogfragment.M1CarUserNoOrderFragment
import com.mogo.och.charter.passenger.ui.dialogfragment.M1CarUserNoOrderFragment
class BusPassengerCarUseAndNoOrderPresenter(view: M1CarUserNoOrderFragment?) :
BusBasePassengerFunctionDevicePresenter<M1CarUserNoOrderFragment?>(view){

View File

@@ -1,4 +1,4 @@
package com.mogo.och.bus.passenger.presenter
package com.mogo.och.charter.passenger.presenter
import android.graphics.Bitmap
import android.graphics.BitmapFactory
@@ -18,19 +18,19 @@ import com.mogo.eagle.core.utilcode.mogo.logger.CallerLogger
import com.mogo.eagle.core.utilcode.mogo.logger.scene.SceneConstant.Companion.M_BUS_P
import com.mogo.eagle.core.utilcode.util.SharedPrefs
import com.mogo.eagle.core.utilcode.util.UiThreadHandler
import com.mogo.och.bus.passenger.R
import com.mogo.och.bus.passenger.bean.response.LineInfoResponse
import com.mogo.och.bus.passenger.bean.response.OrderInfoResponse
import com.mogo.och.bus.passenger.bean.response.SiteInfoResponse
import com.mogo.och.bus.passenger.bean.response.TrajectoriesResponse
import com.mogo.och.bus.passenger.callback.IOrderChangeCallback
import com.mogo.och.bus.passenger.model.CharterPassengerModel
import com.mogo.och.bus.passenger.model.IOrderStatusChangeListener
import com.mogo.och.bus.passenger.model.OrderStatusEnum
import com.mogo.och.bus.passenger.receive.DriverMessage
import com.mogo.och.bus.passenger.ui.MainFragment
import com.mogo.och.bus.passenger.ui.overmapview.MakerWithSiteName
import com.mogo.och.bus.passenger.ui.overmapview.MakerWithSiteNamewithCheck
import com.mogo.och.charter.passenger.R
import com.mogo.och.charter.passenger.bean.response.LineInfoResponse
import com.mogo.och.charter.passenger.bean.response.OrderInfoResponse
import com.mogo.och.charter.passenger.bean.response.SiteInfoResponse
import com.mogo.och.charter.passenger.bean.response.TrajectoriesResponse
import com.mogo.och.charter.passenger.callback.IOrderChangeCallback
import com.mogo.och.charter.passenger.model.CharterPassengerModel
import com.mogo.och.charter.passenger.model.IOrderStatusChangeListener
import com.mogo.och.charter.passenger.model.OrderStatusEnum
import com.mogo.och.charter.passenger.receive.DriverMessage
import com.mogo.och.charter.passenger.ui.MainFragment
import com.mogo.och.charter.passenger.ui.overmapview.MakerWithSiteName
import com.mogo.och.charter.passenger.ui.overmapview.MakerWithSiteNamewithCheck
import com.mogo.och.common.module.biz.network.OchCommonServiceCallback
import com.mogo.och.common.module.manager.OCHAdasAbilityManager
import com.mogo.och.common.module.manager.StopSideStatusManager

View File

@@ -1,9 +1,9 @@
package com.mogo.och.bus.passenger.presenter
package com.mogo.och.charter.passenger.presenter
import androidx.lifecycle.LifecycleOwner
import com.mogo.och.bus.passenger.bean.response.OrderInfoResponse
import com.mogo.och.bus.passenger.model.CharterPassengerModel
import com.mogo.och.bus.passenger.ui.dialogfragment.NoviceGuidanceFragment
import com.mogo.och.charter.passenger.bean.response.OrderInfoResponse
import com.mogo.och.charter.passenger.model.CharterPassengerModel
import com.mogo.och.charter.passenger.ui.dialogfragment.NoviceGuidanceFragment
import com.mogo.och.common.module.utils.DateTimeUtil
import com.mogo.och.common.module.utils.RxUtils
import io.reactivex.disposables.Disposable

View File

@@ -1,15 +1,16 @@
package com.mogo.och.bus.passenger.provider;
package com.mogo.och.charter.passenger.provider;
import android.content.Context;
import android.view.View;
import com.mogo.och.bus.passenger.ui.statusbar.StatusBarView;
import com.mogo.och.charter.passenger.ui.statusbar.StatusBarView;
import androidx.annotation.NonNull;
import com.alibaba.android.arouter.facade.annotation.Route;
import com.mogo.eagle.core.data.constants.MogoServicePaths;
import com.mogo.eagle.core.function.api.hmi.view.IStatusViewLayout;
import com.mogo.och.charter.passenger.ui.statusbar.StatusBarView;
/**
* @author congtaowang

View File

@@ -1,4 +1,4 @@
package com.mogo.och.bus.passenger.receive
package com.mogo.och.charter.passenger.receive
import com.mogo.commons.AbsMogoApplication
import com.mogo.commons.voice.AIAssist
@@ -8,9 +8,9 @@ import com.mogo.eagle.core.utilcode.mogo.logger.scene.SceneConstant
import com.mogo.eagle.core.utilcode.util.ActivityUtils
import com.mogo.eagle.core.utilcode.util.GsonUtils
import com.mogo.eagle.core.utilcode.util.UiThreadHandler
import com.mogo.och.bus.passenger.R
import com.mogo.och.bus.passenger.bean.response.OrderInfoResponse
import com.mogo.och.bus.passenger.model.CharterPassengerModel
import com.mogo.och.charter.passenger.R
import com.mogo.och.charter.passenger.bean.response.OrderInfoResponse
import com.mogo.och.charter.passenger.model.CharterPassengerModel
import com.mogo.och.common.module.bean.dpmsg.*
import com.mogo.och.common.module.biz.common.socketmessage.OCHSocketMessageManager
import com.mogo.och.common.module.biz.constant.OchCommonConst

View File

@@ -1,4 +1,4 @@
package com.mogo.och.bus.passenger.ui
package com.mogo.och.charter.passenger.ui
import android.graphics.BitmapFactory
import android.os.Bundle
@@ -21,15 +21,15 @@ import com.mogo.eagle.core.utilcode.util.UiThreadHandler
import com.mogo.map.listener.IMogoMapListener
import com.mogo.map.listener.MogoMapListenerHandler
import com.mogo.map.uicontroller.VisualAngleMode
import com.mogo.och.bus.passenger.R
import com.mogo.och.bus.passenger.bean.event.EventLineSites
import com.mogo.och.bus.passenger.callback.IClearViewCallback
import com.mogo.och.bus.passenger.presenter.BusPassengerPresenter
import com.mogo.och.bus.passenger.ui.bottom.BottomBar
import com.mogo.och.bus.passenger.ui.bottom.BottomClickView
import com.mogo.och.bus.passenger.ui.dialogfragment.M1CarUserNoOrderFragment
import com.mogo.och.bus.passenger.ui.dialogfragment.NoviceGuidanceFragment
import com.mogo.och.bus.passenger.ui.statusbar.StatusBarView
import com.mogo.och.charter.passenger.R
import com.mogo.och.charter.passenger.bean.event.EventLineSites
import com.mogo.och.charter.passenger.callback.IClearViewCallback
import com.mogo.och.charter.passenger.presenter.BusPassengerPresenter
import com.mogo.och.charter.passenger.ui.bottom.BottomBar
import com.mogo.och.charter.passenger.ui.bottom.BottomClickView
import com.mogo.och.charter.passenger.ui.dialogfragment.M1CarUserNoOrderFragment
import com.mogo.och.charter.passenger.ui.dialogfragment.NoviceGuidanceFragment
import com.mogo.och.charter.passenger.ui.statusbar.StatusBarView
import com.mogo.och.common.module.wigets.toast.ToastCharterUtils
import com.mogo.och.common.module.biz.constant.LoginStatusManager
import kotlinx.android.synthetic.main.m1_main_fragment.*

View File

@@ -1,11 +1,11 @@
package com.mogo.och.bus.passenger.ui.bottom
package com.mogo.och.charter.passenger.ui.bottom
import android.content.Context
import android.util.AttributeSet
import android.view.LayoutInflater
import androidx.constraintlayout.widget.ConstraintLayout
import com.mogo.eagle.core.utilcode.kotlin.onClick
import com.mogo.och.bus.passenger.R
import com.mogo.och.charter.passenger.R
import kotlinx.android.synthetic.main.m1_bottom_bar.view.*
class BottomBar @JvmOverloads constructor(

View File

@@ -1,11 +1,11 @@
package com.mogo.och.bus.passenger.ui.bottom
package com.mogo.och.charter.passenger.ui.bottom
import android.content.Context
import android.util.AttributeSet
import android.view.LayoutInflater
import android.view.View
import androidx.constraintlayout.widget.ConstraintLayout
import com.mogo.och.bus.passenger.R
import com.mogo.och.charter.passenger.R
import kotlinx.android.synthetic.main.m1_bottom_stop_site.view.*
open class BottomCheckView @JvmOverloads constructor(

View File

@@ -1,4 +1,4 @@
package com.mogo.och.bus.passenger.ui.bottom
package com.mogo.och.charter.passenger.ui.bottom
import android.annotation.SuppressLint
import android.content.Context
@@ -9,7 +9,7 @@ import android.view.View
import androidx.constraintlayout.widget.ConstraintLayout
import com.mogo.eagle.core.utilcode.mogo.logger.CallerLogger
import com.mogo.eagle.core.utilcode.mogo.logger.scene.SceneConstant
import com.mogo.och.bus.passenger.R
import com.mogo.och.charter.passenger.R
import kotlinx.android.synthetic.main.m1_bottom_stop_site.view.*
open class BottomClickView @JvmOverloads constructor(

View File

@@ -1,4 +1,4 @@
package com.mogo.och.bus.passenger.ui.bottom
package com.mogo.och.charter.passenger.ui.bottom
import android.content.Context
import android.util.AttributeSet
@@ -8,11 +8,11 @@ import com.mogo.commons.AbsMogoApplication
import com.mogo.eagle.core.utilcode.mogo.logger.CallerLogger
import com.mogo.eagle.core.utilcode.mogo.logger.scene.SceneConstant
import com.mogo.eagle.core.utilcode.util.UiThreadHandler
import com.mogo.och.bus.passenger.R
import com.mogo.och.bus.passenger.callback.ITimeCallback
import com.mogo.och.bus.passenger.model.CharterPassengerModel
import com.mogo.och.bus.passenger.model.IOrderStatusChangeListener
import com.mogo.och.bus.passenger.model.OrderStatusEnum
import com.mogo.och.charter.passenger.R
import com.mogo.och.charter.passenger.callback.ITimeCallback
import com.mogo.och.charter.passenger.model.CharterPassengerModel
import com.mogo.och.charter.passenger.model.IOrderStatusChangeListener
import com.mogo.och.charter.passenger.model.OrderStatusEnum
import com.mogo.och.common.module.utils.DateTimeUtil
import kotlinx.android.synthetic.main.m1_bottom_orderinfo.view.*
import java.util.UUID

View File

@@ -1,10 +1,10 @@
package com.mogo.och.bus.passenger.ui.bottom.impl
package com.mogo.och.charter.passenger.ui.bottom.impl
import android.content.Context
import android.util.AttributeSet
import com.mogo.eagle.core.utilcode.util.ActivityUtils
import com.mogo.och.bus.passenger.R
import com.mogo.och.bus.passenger.ui.bottom.BottomClickView
import com.mogo.och.charter.passenger.R
import com.mogo.och.charter.passenger.ui.bottom.BottomClickView
import com.mogo.och.common.module.manager.devicemanage.LightAirconditionDoorManager
import com.mogo.och.common.module.utils.SoundPoolHelper

View File

@@ -1,4 +1,4 @@
package com.mogo.och.bus.passenger.ui.bottom.impl
package com.mogo.och.charter.passenger.ui.bottom.impl
import android.annotation.SuppressLint
import android.content.Context
@@ -16,10 +16,10 @@ import com.mogo.eagle.core.utilcode.mogo.logger.scene.SceneConstant.Companion.M_
import com.mogo.eagle.core.utilcode.util.ActivityUtils
import com.mogo.eagle.core.utilcode.util.ClickUtils
import com.mogo.och.common.module.wigets.toast.ToastCharterUtils
import com.mogo.och.bus.passenger.R
import com.mogo.och.bus.passenger.callback.ICharterPassengerAutoStatusChangeCallback
import com.mogo.och.bus.passenger.model.CharterPassengerModel
import com.mogo.och.bus.passenger.ui.bottom.BottomClickView
import com.mogo.och.charter.passenger.R
import com.mogo.och.charter.passenger.callback.ICharterPassengerAutoStatusChangeCallback
import com.mogo.och.charter.passenger.model.CharterPassengerModel
import com.mogo.och.charter.passenger.ui.bottom.BottomClickView
import com.mogo.och.common.module.manager.devicemanage.LightAirconditionDoorStatusManager
import com.mogo.och.common.module.utils.RxUtils
import com.mogo.och.common.module.utils.SoundPoolHelper

View File

@@ -1,10 +1,10 @@
package com.mogo.och.bus.passenger.ui.bottom.impl
package com.mogo.och.charter.passenger.ui.bottom.impl
import android.content.Context
import android.util.AttributeSet
import com.mogo.eagle.core.utilcode.util.ActivityUtils
import com.mogo.och.bus.passenger.R
import com.mogo.och.bus.passenger.ui.bottom.BottomClickView
import com.mogo.och.charter.passenger.R
import com.mogo.och.charter.passenger.ui.bottom.BottomClickView
import com.mogo.och.common.module.manager.devicemanage.LightAirconditionDoorManager
import com.mogo.och.common.module.utils.SoundPoolHelper

View File

@@ -1,4 +1,4 @@
package com.mogo.och.bus.passenger.ui.bottom.impl
package com.mogo.och.charter.passenger.ui.bottom.impl
import android.content.Context
import android.util.AttributeSet
@@ -7,8 +7,8 @@ import com.mogo.eagle.core.function.call.autopilot.CallerAutoPilotControlManager
import com.mogo.eagle.core.function.call.autopilot.CallerAutoPilotStatusListenerManager
import com.mogo.eagle.core.utilcode.util.ActivityUtils
import com.mogo.och.common.module.wigets.toast.ToastCharterUtils
import com.mogo.och.bus.passenger.R
import com.mogo.och.bus.passenger.ui.bottom.BottomClickView
import com.mogo.och.charter.passenger.R
import com.mogo.och.charter.passenger.ui.bottom.BottomClickView
import com.mogo.och.common.module.utils.SoundPoolHelper
class StopSiteView @JvmOverloads constructor(

View File

@@ -0,0 +1,3 @@
package com.mogo.och.charter.passenger.ui.debugview
data class DebugEvent(val type: String)

View File

@@ -1,4 +1,4 @@
package com.mogo.och.bus.passenger.ui.debugview
package com.mogo.och.charter.passenger.ui.debugview
import android.content.Context
import android.util.AttributeSet
@@ -10,11 +10,11 @@ import com.mogo.eagle.core.data.config.HdMapBuildConfig
import com.mogo.eagle.core.function.api.autopilot.IMoGoAutopilotStatusListener
import com.mogo.eagle.core.function.hmi.ui.setting.ToggleDebugView
import com.mogo.eagle.core.utilcode.util.ActivityUtils
import com.mogo.och.bus.passenger.R
import com.mogo.och.bus.passenger.bean.response.OrderInfoResponse
import com.mogo.och.bus.passenger.model.CharterPassengerModel
import com.mogo.och.bus.passenger.ui.MainFragment
import com.mogo.och.bus.passenger.ui.statusbar.StatusBarView
import com.mogo.och.charter.passenger.R
import com.mogo.och.charter.passenger.bean.response.OrderInfoResponse
import com.mogo.och.charter.passenger.model.CharterPassengerModel
import com.mogo.och.charter.passenger.ui.MainFragment
import com.mogo.och.charter.passenger.ui.statusbar.StatusBarView
import com.mogo.och.common.module.wigets.toast.ToastCharterUtils
import com.mogo.och.common.module.manager.debug.DebugViewWatchDogFragment
import kotlinx.android.synthetic.main.m1_p_debug.view.debug_arrive_dest

View File

@@ -1,4 +1,4 @@
package com.mogo.och.bus.passenger.ui.dialogfragment
package com.mogo.och.charter.passenger.ui.dialogfragment
import android.os.Bundle
import android.util.Log
@@ -15,8 +15,8 @@ import com.mogo.eagle.core.utilcode.mogo.logger.scene.SceneConstant.Companion.M_
import com.mogo.eagle.core.utilcode.util.AppStateManager
import com.mogo.eagle.core.utilcode.util.BarUtils
import com.mogo.eagle.core.utilcode.util.ClickUtils
import com.mogo.och.bus.passenger.R
import com.mogo.och.bus.passenger.presenter.BusPassengerCarUseAndNoOrderPresenter
import com.mogo.och.charter.passenger.R
import com.mogo.och.charter.passenger.presenter.BusPassengerCarUseAndNoOrderPresenter
import com.mogo.och.common.module.manager.devicemanage.LightAirconditionDoorManager
import com.mogo.och.common.module.voice.VoiceManager
import kotlinx.android.synthetic.main.m1_order_end.*

View File

@@ -1,4 +1,4 @@
package com.mogo.och.bus.passenger.ui.dialogfragment
package com.mogo.och.charter.passenger.ui.dialogfragment
import android.content.DialogInterface
import android.os.Bundle
@@ -15,11 +15,11 @@ import com.mogo.commons.voice.AIAssist
import com.mogo.eagle.core.utilcode.mogo.logger.CallerLogger
import com.mogo.eagle.core.utilcode.mogo.logger.scene.SceneConstant.Companion.M_BUS_P
import com.mogo.eagle.core.utilcode.util.*
import com.mogo.och.bus.passenger.R
import com.mogo.och.bus.passenger.model.CharterPassengerModel
import com.mogo.och.bus.passenger.presenter.BusPassengerPresenter
import com.mogo.och.bus.passenger.presenter.CharterPassengerNoviceGuidancePresenter
import com.mogo.och.bus.passenger.ui.MainFragment
import com.mogo.och.charter.passenger.R
import com.mogo.och.charter.passenger.model.CharterPassengerModel
import com.mogo.och.charter.passenger.presenter.BusPassengerPresenter
import com.mogo.och.charter.passenger.presenter.CharterPassengerNoviceGuidancePresenter
import com.mogo.och.charter.passenger.ui.MainFragment
import com.mogo.och.common.module.voice.VoiceNotice
import kotlinx.android.synthetic.main.m1_novice_guidance_fragment.*
import kotlinx.android.synthetic.main.m1_novice_guidance_welcome_1_fragment.*

View File

@@ -1,4 +1,4 @@
package com.mogo.och.bus.passenger.ui.itinerary
package com.mogo.och.charter.passenger.ui.itinerary
import android.content.Context
import android.util.AttributeSet
@@ -6,7 +6,7 @@ import android.view.LayoutInflater
import androidx.constraintlayout.widget.ConstraintLayout
import androidx.lifecycle.ViewModelProvider
import androidx.lifecycle.findViewTreeViewModelStoreOwner
import com.mogo.och.bus.passenger.R
import com.mogo.och.charter.passenger.R
import kotlinx.android.synthetic.main.m1_itinerary_info.view.tv_distance
import kotlinx.android.synthetic.main.m1_itinerary_info.view.tv_distance_arrive_time
import kotlinx.android.synthetic.main.m1_itinerary_info.view.tv_distance_surplus_time

View File

@@ -1,4 +1,4 @@
package com.mogo.och.bus.passenger.ui.itinerary
package com.mogo.och.charter.passenger.ui.itinerary
import androidx.lifecycle.ViewModel
import com.mogo.commons.AbsMogoApplication
@@ -6,11 +6,11 @@ import com.mogo.eagle.core.data.map.MogoLocation
import com.mogo.eagle.core.function.api.autopilot.IMoGoChassisLocationGCJ02Listener
import com.mogo.eagle.core.function.call.autopilot.CallerChassisLocationGCJ02ListenerManager
import com.mogo.eagle.core.utilcode.util.UiThreadHandler
import com.mogo.och.bus.passenger.R
import com.mogo.och.bus.passenger.callback.IDistanceCallback
import com.mogo.och.bus.passenger.model.CharterPassengerModel
import com.mogo.och.bus.passenger.model.IOrderStatusChangeListener
import com.mogo.och.bus.passenger.model.OrderStatusEnum
import com.mogo.och.charter.passenger.R
import com.mogo.och.charter.passenger.callback.IDistanceCallback
import com.mogo.och.charter.passenger.model.CharterPassengerModel
import com.mogo.och.charter.passenger.model.IOrderStatusChangeListener
import com.mogo.och.charter.passenger.model.OrderStatusEnum
import com.mogo.och.common.module.utils.DateTimeUtil
import com.mogo.och.common.module.utils.NumberFormatUtil
import kotlin.math.abs

View File

@@ -1,4 +1,4 @@
package com.mogo.och.bus.passenger.ui.lockview
package com.mogo.och.charter.passenger.ui.lockview
import android.content.Context
import android.os.Handler
@@ -10,7 +10,7 @@ import android.view.MotionEvent
import android.view.View
import androidx.constraintlayout.widget.ConstraintLayout
import com.mogo.eagle.core.utilcode.mogo.logger.CallerLogger
import com.mogo.och.bus.passenger.R
import com.mogo.och.charter.passenger.R
import com.mogo.och.common.module.utils.FrameAnimatorContainer
import kotlinx.android.synthetic.main.m1_devices_lock_unlock.view.aciv_screen_lock
import kotlinx.android.synthetic.main.m1_devices_lock_unlock.view.aciv_screen_lock_bg

View File

@@ -1,4 +1,4 @@
package com.mogo.och.bus.passenger.ui.lockview
package com.mogo.och.charter.passenger.ui.lockview
import android.os.Handler
import android.os.HandlerThread

View File

@@ -1,4 +1,4 @@
package com.mogo.och.bus.passenger.ui.lockview
package com.mogo.och.charter.passenger.ui.lockview
import android.content.Context
import android.util.AttributeSet
@@ -7,7 +7,7 @@ import android.view.View
import androidx.appcompat.widget.AppCompatImageView
import androidx.constraintlayout.widget.ConstraintLayout
import com.mogo.eagle.core.utilcode.mogo.logger.CallerLogger
import com.mogo.och.bus.passenger.R
import com.mogo.och.charter.passenger.R
class LockViewConstrainLayout : ConstraintLayout {

View File

@@ -1,4 +1,4 @@
package com.mogo.och.bus.passenger.ui.lockview
package com.mogo.och.charter.passenger.ui.lockview
import android.content.Context
import android.os.Handler
@@ -11,7 +11,7 @@ import android.view.View
import androidx.constraintlayout.widget.ConstraintLayout
import com.mogo.eagle.core.utilcode.mogo.logger.CallerLogger
import com.mogo.eagle.core.utilcode.util.UiThreadHandler
import com.mogo.och.bus.passenger.R
import com.mogo.och.charter.passenger.R
import kotlinx.android.synthetic.main.m1_devices_unlock.view.aciv_only_unlock
import kotlinx.android.synthetic.main.m1_devices_unlock.view.actv_lock_status

View File

@@ -1,4 +1,4 @@
package com.mogo.och.bus.passenger.ui.orderinfo
package com.mogo.och.charter.passenger.ui.orderinfo
import android.content.Context
import android.util.AttributeSet
@@ -8,8 +8,8 @@ import androidx.constraintlayout.widget.ConstraintLayout
import androidx.lifecycle.ViewModelProvider
import androidx.lifecycle.findViewTreeViewModelStoreOwner
import com.mogo.eagle.core.utilcode.kotlin.onClick
import com.mogo.och.bus.passenger.R
import com.mogo.och.bus.passenger.callback.IClearViewCallback
import com.mogo.och.charter.passenger.R
import com.mogo.och.charter.passenger.callback.IClearViewCallback
import kotlinx.android.synthetic.main.m1_devices_fragment.view.actv_contain_order
import kotlinx.android.synthetic.main.m1_devices_fragment.view.actv_end_order
import kotlinx.android.synthetic.main.m1_devices_fragment.view.actv_end_order_submit

View File

@@ -1,4 +1,4 @@
package com.mogo.och.bus.passenger.ui.orderinfo
package com.mogo.och.charter.passenger.ui.orderinfo
import androidx.lifecycle.ViewModel
import com.mogo.eagle.core.data.BaseData
@@ -7,8 +7,8 @@ import com.mogo.eagle.core.utilcode.mogo.logger.CallerLogger
import com.mogo.eagle.core.utilcode.mogo.logger.scene.SceneConstant
import com.mogo.eagle.core.utilcode.util.GsonUtils
import com.mogo.eagle.core.utilcode.util.UiThreadHandler
import com.mogo.och.bus.passenger.callback.ITimeCallback
import com.mogo.och.bus.passenger.model.CharterPassengerModel
import com.mogo.och.charter.passenger.callback.ITimeCallback
import com.mogo.och.charter.passenger.model.CharterPassengerModel
import com.mogo.och.common.module.wigets.toast.ToastCharterUtils
import com.mogo.och.common.module.bean.dpmsg.BaseDPMsg
import com.mogo.och.common.module.bean.dpmsg.EndOrderMsg

View File

@@ -1,11 +1,11 @@
package com.mogo.och.bus.passenger.ui.overmapview
package com.mogo.och.charter.passenger.ui.overmapview
import android.content.Context
import android.graphics.Bitmap
import android.util.AttributeSet
import android.view.LayoutInflater
import androidx.constraintlayout.widget.ConstraintLayout
import com.mogo.och.bus.passenger.R
import com.mogo.och.charter.passenger.R
import kotlinx.android.synthetic.main.view_maker_sitename.view.*
/**

View File

@@ -1,4 +1,4 @@
package com.mogo.och.bus.passenger.ui.selectline
package com.mogo.och.charter.passenger.ui.selectline
import android.animation.ObjectAnimator
import android.content.Context
@@ -13,14 +13,14 @@ import androidx.lifecycle.findViewTreeViewModelStoreOwner
import androidx.recyclerview.widget.LinearLayoutManager
import com.elegant.utils.UiThreadHandler
import com.mogo.eagle.core.utilcode.kotlin.onClick
import com.mogo.och.bus.passenger.R
import com.mogo.och.bus.passenger.bean.event.EventLineSites
import com.mogo.och.bus.passenger.bean.response.LineInfoResponse
import com.mogo.och.bus.passenger.bean.response.SiteInfoResponse
import com.mogo.och.bus.passenger.callback.IClearViewCallback
import com.mogo.och.bus.passenger.ui.selectline.adapter.OrderLineItemAdapter
import com.mogo.och.bus.passenger.ui.selectline.adapter.OrderSiteItemAdapter
import com.mogo.och.bus.passenger.ui.selectline.layoutmanage.BottomDecoration
import com.mogo.och.charter.passenger.R
import com.mogo.och.charter.passenger.bean.event.EventLineSites
import com.mogo.och.charter.passenger.bean.response.LineInfoResponse
import com.mogo.och.charter.passenger.bean.response.SiteInfoResponse
import com.mogo.och.charter.passenger.callback.IClearViewCallback
import com.mogo.och.charter.passenger.ui.selectline.adapter.OrderLineItemAdapter
import com.mogo.och.charter.passenger.ui.selectline.adapter.OrderSiteItemAdapter
import com.mogo.och.charter.passenger.ui.selectline.layoutmanage.BottomDecoration
import com.mogo.och.common.module.utils.RxUtils
import io.reactivex.disposables.Disposable
import kotlinx.android.synthetic.main.m1_order_fragment.view.aciv_driver_refuse_group
@@ -98,7 +98,7 @@ class SelectLineView : ConstraintLayout, SelectLineViewModel.SelectLineViewCallb
rlv_line_list.layoutManager =
LinearLayoutManager(context, LinearLayoutManager.VERTICAL, false)
rlv_line_list.addItemDecoration(
BottomDecoration(
com.mogo.och.charter.passenger.ui.selectline.layoutmanage.BottomDecoration(
AutoSizeUtils.dp2px(context, 60f)
)
)
@@ -107,7 +107,7 @@ class SelectLineView : ConstraintLayout, SelectLineViewModel.SelectLineViewCallb
rv_site_list.layoutManager =
LinearLayoutManager(context, LinearLayoutManager.VERTICAL, false)
rv_site_list.addItemDecoration(
BottomDecoration(
com.mogo.och.charter.passenger.ui.selectline.layoutmanage.BottomDecoration(
AutoSizeUtils.dp2px(context, 90f)
)
)

View File

@@ -1,4 +1,4 @@
package com.mogo.och.bus.passenger.ui.selectline
package com.mogo.och.charter.passenger.ui.selectline
import androidx.lifecycle.ViewModel
import com.elegant.utils.UiThreadHandler
@@ -12,14 +12,14 @@ import com.mogo.eagle.core.function.call.telematic.CallerTelematicManager
import com.mogo.eagle.core.utilcode.mogo.logger.CallerLogger
import com.mogo.eagle.core.utilcode.mogo.logger.scene.SceneConstant
import com.mogo.eagle.core.utilcode.util.GsonUtils
import com.mogo.och.bus.passenger.bean.event.EventLineSites
import com.mogo.och.bus.passenger.bean.response.LineInfoListResponse
import com.mogo.och.bus.passenger.bean.response.LineInfoResponse
import com.mogo.och.bus.passenger.bean.response.SiteInfoResponse
import com.mogo.och.bus.passenger.model.CharterPassengerModel
import com.mogo.och.bus.passenger.model.IOrderStatusChangeListener
import com.mogo.och.bus.passenger.model.OrderStatusEnum
import com.mogo.och.bus.passenger.net.BusPassengerServiceManager
import com.mogo.och.charter.passenger.bean.event.EventLineSites
import com.mogo.och.charter.passenger.bean.response.LineInfoListResponse
import com.mogo.och.charter.passenger.bean.response.LineInfoResponse
import com.mogo.och.charter.passenger.bean.response.SiteInfoResponse
import com.mogo.och.charter.passenger.model.CharterPassengerModel
import com.mogo.och.charter.passenger.model.IOrderStatusChangeListener
import com.mogo.och.charter.passenger.model.OrderStatusEnum
import com.mogo.och.charter.passenger.net.BusPassengerServiceManager
import com.mogo.och.common.module.wigets.toast.ToastCharterUtils
import com.mogo.och.common.module.bean.dpmsg.BaseDPMsg
import com.mogo.och.common.module.bean.dpmsg.ChangeDestMsg

View File

@@ -1,4 +1,4 @@
package com.mogo.och.bus.passenger.ui.selectline.adapter
package com.mogo.och.charter.passenger.ui.selectline.adapter
import android.content.Context
import android.view.LayoutInflater
@@ -6,8 +6,8 @@ import android.view.View
import android.view.ViewGroup
import android.widget.TextView
import androidx.recyclerview.widget.RecyclerView
import com.mogo.och.bus.passenger.R
import com.mogo.och.bus.passenger.bean.response.LineInfoResponse
import com.mogo.och.charter.passenger.R
import com.mogo.och.charter.passenger.bean.response.LineInfoResponse
/**
* Created by adityagohad on 06/06/17.

View File

@@ -1,4 +1,4 @@
package com.mogo.och.bus.passenger.ui.selectline.adapter
package com.mogo.och.charter.passenger.ui.selectline.adapter
import android.content.Context
import android.view.LayoutInflater
@@ -9,9 +9,9 @@ import android.widget.TextView
import androidx.core.content.ContextCompat
import androidx.recyclerview.widget.RecyclerView
import com.mogo.och.common.module.wigets.toast.ToastCharterUtils
import com.mogo.och.bus.passenger.R
import com.mogo.och.bus.passenger.bean.event.EventLineSites
import com.mogo.och.bus.passenger.bean.response.SiteInfoResponse
import com.mogo.och.charter.passenger.R
import com.mogo.och.charter.passenger.bean.event.EventLineSites
import com.mogo.och.charter.passenger.bean.response.SiteInfoResponse
import org.greenrobot.eventbus.EventBus
/**

View File

@@ -1,4 +1,4 @@
package com.mogo.och.bus.passenger.ui.selectline.layoutmanage;
package com.mogo.och.charter.passenger.ui.selectline.layoutmanage;
import android.graphics.Rect;
import android.view.View;

View File

@@ -1,4 +1,4 @@
package com.mogo.och.bus.passenger.ui.selectline.layoutmanage;
package com.mogo.och.charter.passenger.ui.selectline.layoutmanage;
import android.content.Context;
import android.util.DisplayMetrics;
@@ -10,7 +10,7 @@ import androidx.recyclerview.widget.LinearLayoutManager;
import androidx.recyclerview.widget.LinearSmoothScroller;
import androidx.recyclerview.widget.RecyclerView;
import com.mogo.och.bus.passenger.R;
import com.mogo.och.charter.passenger.R;
public class PickerLayoutManager extends LinearLayoutManager {

View File

@@ -1,4 +1,4 @@
package com.mogo.och.bus.passenger.ui.softcontrol
package com.mogo.och.charter.passenger.ui.softcontrol
import android.animation.ObjectAnimator
import android.animation.ValueAnimator
@@ -26,13 +26,13 @@ import com.mogo.eagle.core.utilcode.mogo.logger.scene.SceneConstant
import com.mogo.eagle.core.utilcode.mogo.storage.SharedPrefsMgr
import com.mogo.eagle.core.utilcode.util.ClickUtils
import com.mogo.eagle.core.utilcode.util.UiThreadHandler
import com.mogo.och.bus.passenger.R
import com.mogo.och.bus.passenger.bean.Temperature
import com.mogo.och.bus.passenger.callback.IClearViewCallback
import com.mogo.och.bus.passenger.ui.selectline.layoutmanage.PickerLayoutManager
import com.mogo.och.bus.passenger.ui.softcontrol.adapter.TemperatureAdapter
import com.mogo.och.bus.passenger.ui.softcontrol.layoutmanage.HorizontalDecoration
import com.mogo.och.bus.passenger.ui.softcontrol.layoutmanage.PagerCenterSnapHelper
import com.mogo.och.charter.passenger.R
import com.mogo.och.charter.passenger.bean.Temperature
import com.mogo.och.charter.passenger.callback.IClearViewCallback
import com.mogo.och.charter.passenger.ui.selectline.layoutmanage.PickerLayoutManager
import com.mogo.och.charter.passenger.ui.softcontrol.adapter.TemperatureAdapter
import com.mogo.och.charter.passenger.ui.softcontrol.layoutmanage.HorizontalDecoration
import com.mogo.och.charter.passenger.ui.softcontrol.layoutmanage.PagerCenterSnapHelper
import com.mogo.och.common.module.wigets.toast.ToastCharterUtils
import com.mogo.och.common.module.utils.RxUtils
import com.mogo.och.common.module.utils.SoundPoolHelper
@@ -188,10 +188,10 @@ class SoftControlView : ConstraintLayout, SoftControlViewModel.SoftControlCallba
tv_temperature_title.isEnabled = enable
rv_aircondition_temperature.isEnabled = enable
val layoutManager = rv_aircondition_temperature.layoutManager
if (layoutManager is PickerLayoutManager) {
if (layoutManager is com.mogo.och.charter.passenger.ui.selectline.layoutmanage.PickerLayoutManager) {
layoutManager.setHorizontallyScroll(enable)
}
val adapter = rv_aircondition_temperature.adapter as TemperatureAdapter
val adapter = rv_aircondition_temperature.adapter as com.mogo.och.charter.passenger.ui.softcontrol.adapter.TemperatureAdapter
if (enable) {
adapter.setEnable(true)
if (tv_setting_aircondition.isChecked) {
@@ -322,7 +322,7 @@ class SoftControlView : ConstraintLayout, SoftControlViewModel.SoftControlCallba
viewModel?.openAndSetAircondition(modeCmd, windSpeedCmd, temperatureCmd)
}
private fun setCheckAir(adapter: TemperatureAdapter, tag: Temperature) {
private fun setCheckAir(adapter: com.mogo.och.charter.passenger.ui.softcontrol.adapter.TemperatureAdapter, tag: Temperature) {
adapter.setCheckIndex(tag.index)
currentTemperature = tag
if (rv_aircondition_temperature.tag == touchTag) {
@@ -629,25 +629,32 @@ class SoftControlView : ConstraintLayout, SoftControlViewModel.SoftControlCallba
openAircondition()
}
}
val pickerLayoutManager = PickerLayoutManager(
context, PickerLayoutManager.HORIZONTAL, false
)
val pickerLayoutManager =
com.mogo.och.charter.passenger.ui.selectline.layoutmanage.PickerLayoutManager(
context,
com.mogo.och.charter.passenger.ui.selectline.layoutmanage.PickerLayoutManager.HORIZONTAL,
false
)
pickerLayoutManager.isChangeAlpha = true
pickerLayoutManager.scaleDownBy = 0.29f
pickerLayoutManager.scaleDownDistance = 0.8f
val data = getData()
val adapter = TemperatureAdapter(context, data, rv_aircondition_temperature)
val adapter = com.mogo.och.charter.passenger.ui.softcontrol.adapter.TemperatureAdapter(
context,
data,
rv_aircondition_temperature
)
val snapHelper = PagerCenterSnapHelper()
snapHelper.attachToRecyclerView(rv_aircondition_temperature)
rv_aircondition_temperature.layoutManager = pickerLayoutManager
rv_aircondition_temperature.adapter = adapter
HorizontalDecoration.distance = SharedPrefsMgr.getInstance(context).getInt(
HorizontalDecoration.distancekey, 0
com.mogo.och.charter.passenger.ui.softcontrol.layoutmanage.HorizontalDecoration.distance = SharedPrefsMgr.getInstance(context).getInt(
com.mogo.och.charter.passenger.ui.softcontrol.layoutmanage.HorizontalDecoration.distancekey, 0
)
val space = AutoSizeUtils.dp2px(context, 15f)
rv_aircondition_temperature.addItemDecoration(
HorizontalDecoration(
com.mogo.och.charter.passenger.ui.softcontrol.layoutmanage.HorizontalDecoration(
space, data.size - 1
)
)
@@ -673,7 +680,7 @@ class SoftControlView : ConstraintLayout, SoftControlViewModel.SoftControlCallba
}
}
if (HorizontalDecoration.distance != 0) {
if (com.mogo.och.charter.passenger.ui.softcontrol.layoutmanage.HorizontalDecoration.distance != 0) {
rv_aircondition_temperature.scrollToPosition(data.size - 1)
adapter.setCheckIndex(data.size - 1)
}
@@ -722,7 +729,7 @@ class SoftControlView : ConstraintLayout, SoftControlViewModel.SoftControlCallba
}
if (airIsOpen) {
val adapter = rv_aircondition_temperature.adapter
if (adapter is TemperatureAdapter) {
if (adapter is com.mogo.och.charter.passenger.ui.softcontrol.adapter.TemperatureAdapter) {
adapter.data.forEach {
if (it.value == temperatureCmd) {
rv_aircondition_temperature.tag = touchTag

View File

@@ -1,4 +1,4 @@
package com.mogo.och.bus.passenger.ui.softcontrol
package com.mogo.och.charter.passenger.ui.softcontrol
import androidx.lifecycle.ViewModel
import com.mogo.eagle.core.function.call.autopilot.CallerAutoPilotControlManager

View File

@@ -1,4 +1,4 @@
package com.mogo.och.bus.passenger.ui.softcontrol.adapter;
package com.mogo.och.charter.passenger.ui.softcontrol.adapter;
import android.content.Context;
import android.graphics.Color;
@@ -10,8 +10,9 @@ import android.widget.TextView;
import androidx.core.content.ContextCompat;
import androidx.recyclerview.widget.RecyclerView;
import com.mogo.och.bus.passenger.R;
import com.mogo.och.bus.passenger.bean.Temperature;
import com.mogo.och.charter.passenger.R;
import com.mogo.och.charter.passenger.bean.Temperature;
import com.mogo.och.charter.passenger.bean.Temperature;
import java.util.List;

View File

@@ -1,4 +1,4 @@
package com.mogo.och.bus.passenger.ui.softcontrol.layoutmanage;
package com.mogo.och.charter.passenger.ui.softcontrol.layoutmanage;
import android.graphics.PointF;
import android.os.Build;

View File

@@ -1,4 +1,4 @@
package com.mogo.och.bus.passenger.ui.softcontrol.layoutmanage;
package com.mogo.och.charter.passenger.ui.softcontrol.layoutmanage;
import android.view.View;

View File

@@ -1,4 +1,4 @@
package com.mogo.och.bus.passenger.ui.softcontrol.layoutmanage;
package com.mogo.och.charter.passenger.ui.softcontrol.layoutmanage;
import androidx.annotation.NonNull;
import androidx.recyclerview.widget.RecyclerView;

View File

@@ -1,4 +1,4 @@
package com.mogo.och.bus.passenger.ui.softcontrol.layoutmanage;
package com.mogo.och.charter.passenger.ui.softcontrol.layoutmanage;
import android.graphics.Rect;
import android.view.View;
@@ -8,7 +8,8 @@ import androidx.recyclerview.widget.RecyclerView;
import com.mogo.commons.AbsMogoApplication;
import com.mogo.eagle.core.utilcode.mogo.storage.SharedPrefsMgr;
import com.mogo.och.bus.passenger.ui.softcontrol.adapter.TemperatureAdapter;
import com.mogo.och.charter.passenger.ui.softcontrol.adapter.TemperatureAdapter;
import com.mogo.och.charter.passenger.ui.softcontrol.adapter.TemperatureAdapter;
public class HorizontalDecoration extends RecyclerView.ItemDecoration {
private int space = 0;

View File

@@ -1,4 +1,4 @@
package com.mogo.och.bus.passenger.ui.softcontrol.layoutmanage;
package com.mogo.och.charter.passenger.ui.softcontrol.layoutmanage;
public class ItemTransformation {

View File

@@ -1,4 +1,4 @@
package com.mogo.och.bus.passenger.ui.softcontrol.layoutmanage
package com.mogo.och.charter.passenger.ui.softcontrol.layoutmanage
import android.view.View
import androidx.recyclerview.widget.OrientationHelper

View File

@@ -1,4 +1,4 @@
package com.mogo.och.bus.passenger.ui.softcontrol.view
package com.mogo.och.charter.passenger.ui.softcontrol.view
import android.content.Context
import android.graphics.Bitmap
@@ -7,7 +7,7 @@ import android.graphics.Canvas
import android.graphics.Paint
import android.util.AttributeSet
import android.view.View
import com.mogo.och.bus.passenger.R
import com.mogo.och.charter.passenger.R
class DrawBitmapView @JvmOverloads constructor(

View File

@@ -1,4 +1,4 @@
package com.mogo.och.bus.passenger.ui.softcontrol.view;
package com.mogo.och.charter.passenger.ui.softcontrol.view;
import android.content.Context;
import android.graphics.Bitmap;

View File

@@ -1,11 +1,11 @@
package com.mogo.och.bus.passenger.ui.statusbar
package com.mogo.och.charter.passenger.ui.statusbar
import android.content.Context
import android.util.AttributeSet
import android.view.LayoutInflater
import com.mogo.eagle.core.function.api.devatools.IMoGoDevaToolsListener
import com.mogo.eagle.core.function.hmi.ui.widget.BlueToothView
import com.mogo.och.bus.passenger.R
import com.mogo.och.charter.passenger.R
import kotlinx.android.synthetic.main.m1_statusview_blue_tooth.view.*
/**

View File

@@ -1,4 +1,4 @@
package com.mogo.och.bus.passenger.ui.statusbar
package com.mogo.och.charter.passenger.ui.statusbar
import android.annotation.SuppressLint
import android.content.Context
@@ -27,8 +27,8 @@ import com.mogo.eagle.core.function.hmi.ui.widget.DemoModeView
import com.mogo.eagle.core.utilcode.mogo.logger.CallerLogger
import com.mogo.eagle.core.utilcode.util.ClickUtils
import com.mogo.eagle.core.utilcode.util.UiThreadHandler
import com.mogo.och.bus.passenger.R
import com.mogo.och.bus.passenger.ui.debugview.DebugEvent
import com.mogo.och.charter.passenger.R
import com.mogo.och.charter.passenger.ui.debugview.DebugEvent
import com.mogo.och.common.module.manager.loopmanager.BizLoopManager
import com.mogo.och.common.module.manager.loopmanager.LoopInfo
import kotlinx.android.synthetic.main.m1_statusview_datetime.view.*

View File

@@ -1,4 +1,4 @@
package com.mogo.och.bus.passenger.ui.video
package com.mogo.och.charter.passenger.ui.video
import android.app.Activity
import android.content.Context
@@ -20,8 +20,8 @@ import androidx.core.app.ActivityCompat
import com.mogo.eagle.core.utilcode.util.TimeTransformUtils
import com.mogo.och.common.module.wigets.toast.ToastCharterUtils
import com.mogo.eagle.core.widget.media.video.TextureVideoViewOutlineProvider
import com.mogo.och.bus.passenger.R
import com.mogo.och.bus.passenger.utils.FullVideoUtils
import com.mogo.och.charter.passenger.R
import com.mogo.och.charter.passenger.utils.FullVideoUtils
import com.shuyu.gsyvideoplayer.listener.VideoAllCallBack
import com.shuyu.gsyvideoplayer.utils.GSYVideoType
import com.shuyu.gsyvideoplayer.video.StandardGSYVideoPlayer

View File

@@ -1,4 +1,4 @@
package com.mogo.och.bus.passenger.ui.video
package com.mogo.och.charter.passenger.ui.video
import android.content.Context
import android.util.AttributeSet
@@ -8,13 +8,13 @@ import androidx.constraintlayout.widget.ConstraintLayout
import androidx.recyclerview.widget.RecyclerView
import com.mogo.eagle.core.function.api.autopilot.IMoGoAutopilotStatusListener
import com.mogo.eagle.core.utilcode.kotlin.onClick
import com.mogo.och.bus.passenger.R
import com.mogo.och.bus.passenger.bean.TaxiPassengerVideoPlay
import com.mogo.och.bus.passenger.callback.IClearViewCallback
import com.mogo.och.bus.passenger.ui.softcontrol.layoutmanage.CarouselLayoutManager
import com.mogo.och.bus.passenger.ui.softcontrol.layoutmanage.CarouselZoomPostLayoutListener
import com.mogo.och.bus.passenger.ui.softcontrol.layoutmanage.CenterScrollListener
import com.mogo.och.bus.passenger.ui.video.adapter.RecyclerVideoAdapter
import com.mogo.och.charter.passenger.R
import com.mogo.och.charter.passenger.bean.TaxiPassengerVideoPlay
import com.mogo.och.charter.passenger.callback.IClearViewCallback
import com.mogo.och.charter.passenger.ui.softcontrol.layoutmanage.CarouselLayoutManager
import com.mogo.och.charter.passenger.ui.softcontrol.layoutmanage.CarouselZoomPostLayoutListener
import com.mogo.och.charter.passenger.ui.softcontrol.layoutmanage.CenterScrollListener
import com.mogo.och.charter.passenger.ui.video.adapter.RecyclerVideoAdapter
import com.shuyu.gsyvideoplayer.video.base.GSYVideoView
import kotlinx.android.synthetic.main.m1_video_fragment.view.rvVideoPlaylist
import kotlin.math.floor
@@ -29,7 +29,7 @@ class VideoView @JvmOverloads constructor(
const val TAG = "DebugView"
}
private val arrayListOf = ArrayList<TaxiPassengerVideoPlay>()
private val arrayListOf = ArrayList<com.mogo.och.charter.passenger.bean.TaxiPassengerVideoPlay>()
var goneViewListener: IClearViewCallback? = null
@@ -39,10 +39,14 @@ class VideoView @JvmOverloads constructor(
goneViewListener?.goneAllView()
}
initConsultData()
val carouselLayoutManager = CarouselLayoutManager(CarouselLayoutManager.HORIZONTAL, true)
carouselLayoutManager.setPostLayoutListener(CarouselZoomPostLayoutListener())
val carouselLayoutManager =
com.mogo.och.charter.passenger.ui.softcontrol.layoutmanage.CarouselLayoutManager(
CarouselLayoutManager.HORIZONTAL,
true
)
carouselLayoutManager.setPostLayoutListener(com.mogo.och.charter.passenger.ui.softcontrol.layoutmanage.CarouselZoomPostLayoutListener())
carouselLayoutManager.maxVisibleItems = 1
rvVideoPlaylist.addOnScrollListener(object : CenterScrollListener() {
rvVideoPlaylist.addOnScrollListener(object : com.mogo.och.charter.passenger.ui.softcontrol.layoutmanage.CenterScrollListener() {
var prePlayerPosition = 0
override fun pageSelect(recyclerView: RecyclerView?, newState: Int) {
//播放视频
@@ -83,7 +87,12 @@ class VideoView @JvmOverloads constructor(
}
}
}
val recyclerVideoAdapter = RecyclerVideoAdapter(context, arrayListOf, rvVideoPlaylist)
val recyclerVideoAdapter =
com.mogo.och.charter.passenger.ui.video.adapter.RecyclerVideoAdapter(
context,
arrayListOf,
rvVideoPlaylist
)
recyclerVideoAdapter.setOnThumbImageClilckListener {
val (_, player) = getPlayer(carouselLayoutManager)
if (player is ConsultVideoPlayer) {
@@ -102,7 +111,7 @@ class VideoView @JvmOverloads constructor(
}
private fun getPlayer(carouselLayoutManager: CarouselLayoutManager): Pair<Int, ConsultVideoPlayer?> {
private fun getPlayer(carouselLayoutManager: com.mogo.och.charter.passenger.ui.softcontrol.layoutmanage.CarouselLayoutManager): Pair<Int, ConsultVideoPlayer?> {
val centerItemPosition: Int = carouselLayoutManager.centerItemPosition
val playerHolder = carouselLayoutManager.findViewByPosition(centerItemPosition)
val player = playerHolder?.findViewById<ConsultVideoPlayer>(R.id.video_item_player)
@@ -118,7 +127,7 @@ class VideoView @JvmOverloads constructor(
if (changedView != this) {
return
}
val carouselLayoutManager = rvVideoPlaylist?.layoutManager as CarouselLayoutManager
val carouselLayoutManager = rvVideoPlaylist?.layoutManager as com.mogo.och.charter.passenger.ui.softcontrol.layoutmanage.CarouselLayoutManager
val (_, player) = getPlayer(carouselLayoutManager)
when (visibility) {
View.VISIBLE -> {}
@@ -135,28 +144,28 @@ class VideoView @JvmOverloads constructor(
private fun initConsultData() {
arrayListOf.clear()
arrayListOf.add(
TaxiPassengerVideoPlay(
com.mogo.och.charter.passenger.bean.TaxiPassengerVideoPlay(
"https://img.zhidaohulian.com/fileServer/online_car_hailing/1655708596763/全车型混剪增加红旗车队.m4v",
"https://img.zhidaohulian.com/fileServer/online_car_hailing/1655969511280/车队.png",
"蘑菇车联覆盖生活的方方面面"
)
)
arrayListOf.add(
TaxiPassengerVideoPlay(
com.mogo.och.charter.passenger.bean.TaxiPassengerVideoPlay(
"https://img.zhidaohulian.com/fileServer/online_car_hailing/1655708554279/红旗车队.m4v",
"https://img.zhidaohulian.com/fileServer/online_car_hailing/1655969553174/红旗重新排版.png",
"蘑菇车联之红旗车队"
)
)
arrayListOf.add(
TaxiPassengerVideoPlay(
com.mogo.och.charter.passenger.bean.TaxiPassengerVideoPlay(
"https://img.zhidaohulian.com/fileServer/online_car_hailing/1655708499497/大运会合作解说版.m4v",
"https://img.zhidaohulian.com/fileServer/online_car_hailing/1655969536177/大运会.png",
"蘑菇车联牵手成都大运会"
)
)
arrayListOf.add(
TaxiPassengerVideoPlay(
com.mogo.och.charter.passenger.bean.TaxiPassengerVideoPlay(
"https://img.zhidaohulian.com/fileServer/online_car_hailing/1655708409810/20210610重新排版3屏.m4v",
"https://img.zhidaohulian.com/fileServer/online_car_hailing/1655969579713/三屏.png",
"多视角体验蘑菇车联自动驾驶"

View File

@@ -1,12 +1,12 @@
package com.mogo.och.bus.passenger.ui.video.adapter;
package com.mogo.och.charter.passenger.ui.video.adapter;
import android.content.Context;
import android.view.View;
import androidx.recyclerview.widget.RecyclerView;
import com.mogo.och.bus.passenger.R;
import com.mogo.och.bus.passenger.ui.video.ConsultVideoPlayer;
import com.mogo.och.charter.passenger.R;
import com.mogo.och.charter.passenger.ui.video.ConsultVideoPlayer;
import com.shuyu.gsyvideoplayer.builder.GSYVideoOptionBuilder;
public class RecyclerItemVideoHolder extends RecyclerView.ViewHolder {

View File

@@ -1,4 +1,4 @@
package com.mogo.och.bus.passenger.ui.video.adapter;
package com.mogo.och.charter.passenger.ui.video.adapter;
import android.content.Context;
import android.view.LayoutInflater;
@@ -11,8 +11,8 @@ import androidx.recyclerview.widget.RecyclerView;
import com.bumptech.glide.Glide;
import com.bumptech.glide.request.RequestOptions;
import com.mogo.och.common.module.wigets.toast.ToastCharterUtils;
import com.mogo.och.bus.passenger.R;
import com.mogo.och.bus.passenger.bean.TaxiPassengerVideoPlay;
import com.mogo.och.charter.passenger.R;
import com.mogo.och.charter.passenger.bean.TaxiPassengerVideoPlay;
import com.shuyu.gsyvideoplayer.listener.GSYSampleCallBack;
import java.util.List;

View File

@@ -1,4 +1,4 @@
package com.mogo.och.bus.passenger.utils;
package com.mogo.och.charter.passenger.utils;
import android.content.Context;

View File

@@ -1,10 +1,10 @@
package com.mogo.och.bus.passenger.utils
package com.mogo.och.charter.passenger.utils
import android.annotation.SuppressLint
import android.app.Activity
import android.view.View
import android.view.WindowManager
import com.mogo.och.bus.passenger.ui.video.ConsultVideoPlayer
import com.mogo.och.charter.passenger.ui.video.ConsultVideoPlayer
import com.shuyu.gsyvideoplayer.GSYVideoManager
import java.lang.Exception

View File

@@ -1,4 +1,4 @@
package com.mogo.och.bus.passenger.utils
package com.mogo.och.charter.passenger.utils
import android.os.Build
import androidx.annotation.RequiresApi

View File

@@ -1,4 +1,4 @@
package com.mogo.och.bus.passenger.utils
package com.mogo.och.charter.passenger.utils
import android.content.Context
import android.graphics.*

View File

@@ -8,7 +8,7 @@
tools:ignore="MissingDefaultResource">
<com.mogo.och.bus.passenger.ui.bottom.impl.GoViewWithArrive
<com.mogo.och.charter.passenger.ui.bottom.impl.GoViewWithArrive
android:id="@+id/aciv_center_image"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent"
@@ -26,7 +26,7 @@
android:layout_height="@dimen/dp_107"/>
<com.mogo.och.bus.passenger.ui.bottom.impl.StopSiteView
<com.mogo.och.charter.passenger.ui.bottom.impl.StopSiteView
android:id="@+id/actv_stop_site"
app:backageViewId="@+id/actv_stop_site_press"
app:selectedDrawable="@drawable/charter_p_bottom_stopsite_press"
@@ -48,7 +48,7 @@
android:layout_width="@dimen/dp_359"
android:layout_height="@dimen/dp_107"/>
<com.mogo.och.bus.passenger.ui.bottom.impl.CloseDoorView
<com.mogo.och.charter.passenger.ui.bottom.impl.CloseDoorView
android:id="@+id/actv_close_door"
app:backageViewId="@+id/actv_close_door_press"
app:selectedDrawable="@drawable/charter_p_bottom_closedoor_press"
@@ -70,7 +70,7 @@
android:layout_width="@dimen/dp_359"
android:layout_height="@dimen/dp_107"/>
<com.mogo.och.bus.passenger.ui.bottom.impl.OpenDoorView
<com.mogo.och.charter.passenger.ui.bottom.impl.OpenDoorView
android:id="@+id/actv_open_door"
android:gravity="center"
app:backageViewId="@+id/actv_open_door_press"
@@ -93,7 +93,7 @@
android:layout_width="@dimen/dp_359"
android:layout_height="@dimen/dp_107"/>
<com.mogo.och.bus.passenger.ui.bottom.BottomOrderInfoView
<com.mogo.och.charter.passenger.ui.bottom.BottomOrderInfoView
android:id="@+id/cl_order_time"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toStartOf="@+id/actv_setting"
@@ -112,7 +112,7 @@
android:layout_width="@dimen/dp_359"
android:layout_height="@dimen/dp_107"/>
<com.mogo.och.bus.passenger.ui.bottom.BottomCheckView
<com.mogo.och.charter.passenger.ui.bottom.BottomCheckView
android:id="@+id/actv_setting"
app:backageViewId="@+id/actv_setting_press"
app:selectedDrawable="@drawable/charter_p_bottom_softsettiing_press"
@@ -135,7 +135,7 @@
android:layout_width="@dimen/dp_359"
android:layout_height="@dimen/dp_107"/>
<com.mogo.och.bus.passenger.ui.bottom.BottomCheckView
<com.mogo.och.charter.passenger.ui.bottom.BottomCheckView
android:id="@+id/actv_line"
app:backageViewId="@+id/actv_line_press"
app:selectedDrawable="@drawable/charter_p_bottom_line_press"

View File

@@ -14,7 +14,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"/>
<com.mogo.och.bus.passenger.ui.bottom.BottomBar
<com.mogo.och.charter.passenger.ui.bottom.BottomBar
android:id="@+id/bb_bottom_bar"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent"

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<com.mogo.och.bus.passenger.ui.lockview.LockViewConstrainLayout xmlns:android="http://schemas.android.com/apk/res/android"
<com.mogo.och.charter.passenger.ui.lockview.LockViewConstrainLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent">
@@ -91,13 +91,13 @@
app:layout_constraintEnd_toEndOf="@+id/viewBusPM1MsgBoxButton"
app:layout_constraintTop_toBottomOf="@+id/viewBusPM1MsgBoxButton" />
<com.mogo.och.bus.passenger.ui.itinerary.ItineraryView
<com.mogo.och.charter.passenger.ui.itinerary.ItineraryView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<com.mogo.och.bus.passenger.ui.orderinfo.OrderInfoView
<com.mogo.och.charter.passenger.ui.orderinfo.OrderInfoView
android:id="@+id/biz_orderinfo"
android:layout_width="match_parent"
android:layout_height="0dp"
@@ -106,13 +106,13 @@
app:layout_constraintBottom_toTopOf="@+id/bb_boorombar"
app:layout_constraintTop_toTopOf="parent" />
<com.mogo.och.bus.passenger.ui.softcontrol.SoftControlView
<com.mogo.och.charter.passenger.ui.softcontrol.SoftControlView
android:id="@+id/biz_softcontrol"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:visibility="gone" />
<com.mogo.och.bus.passenger.ui.selectline.SelectLineView
<com.mogo.och.charter.passenger.ui.selectline.SelectLineView
android:id="@+id/biz_selectline"
android:layout_width="0dp"
android:layout_height="0dp"
@@ -123,14 +123,14 @@
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<com.mogo.och.bus.passenger.ui.video.VideoView
<com.mogo.och.charter.passenger.ui.video.VideoView
android:id="@+id/biz_video"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:visibility="gone" />
<com.mogo.och.bus.passenger.ui.bottom.BottomBar
<com.mogo.och.charter.passenger.ui.bottom.BottomBar
android:id="@+id/bb_boorombar"
android:layout_width="match_parent"
android:layout_height="@dimen/dp_107"
@@ -138,7 +138,7 @@
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent" />
<com.mogo.och.bus.passenger.ui.debugview.DebugView
<com.mogo.och.charter.passenger.ui.debugview.DebugView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/dp_47"
@@ -146,7 +146,7 @@
app:layout_constraintEnd_toEndOf="@+id/mapBizView"
app:layout_constraintTop_toTopOf="parent" />
<com.mogo.och.bus.passenger.ui.lockview.UnlockView
<com.mogo.och.charter.passenger.ui.lockview.UnlockView
android:id="@+id/uv_only_unlock"
android:visibility="gone"
android:background="@color/bus_p_m1_66000000"
@@ -157,7 +157,7 @@
android:layout_width="match_parent"
android:layout_height="match_parent"/>
<com.mogo.och.bus.passenger.ui.lockview.LockAndUnlockView
<com.mogo.och.charter.passenger.ui.lockview.LockAndUnlockView
android:layout_width="@dimen/dp_138"
android:layout_height="@dimen/dp_138"
app:layout_constraintBottom_toTopOf="@+id/aciv_map_2_default"
@@ -165,4 +165,4 @@
app:layout_constraintEnd_toEndOf="parent" />
</com.mogo.och.bus.passenger.ui.lockview.LockViewConstrainLayout>
</com.mogo.och.charter.passenger.ui.lockview.LockViewConstrainLayout>

View File

@@ -84,7 +84,7 @@
app:layout_constraintStart_toStartOf="@+id/gl_left"
app:layout_constraintTop_toTopOf="parent" />
<com.mogo.och.bus.passenger.ui.softcontrol.view.DrawBitmapView
<com.mogo.och.charter.passenger.ui.softcontrol.view.DrawBitmapView
android:id="@+id/dbv_wind"
android:layout_width="0dp"
android:layout_height="0dp"
@@ -93,7 +93,7 @@
app:layout_constraintHeight_percent="0.5"
app:layout_constraintStart_toStartOf="@+id/iv_aircondition" />
<com.mogo.och.bus.passenger.ui.softcontrol.view.DrawableCheckBox
<com.mogo.och.charter.passenger.ui.softcontrol.view.DrawableCheckBox
android:id="@+id/tv_aircondition_switch"
android:layout_width="0dp"
android:layout_height="@dimen/dp_76"

View File

@@ -63,7 +63,7 @@
android:layout_marginStart="@dimen/dp_80" />
<!--魔方连接状态-->
<com.mogo.och.bus.passenger.ui.statusbar.M1BlueToothView
<com.mogo.och.charter.passenger.ui.statusbar.M1BlueToothView
android:id="@+id/blueToothView"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintBottom_toBottomOf="parent"

View File

@@ -4,7 +4,7 @@
android:layout_width="@dimen/dp_1300"
android:layout_height="@dimen/dp_731">
<com.mogo.och.bus.passenger.ui.video.ConsultVideoPlayer
<com.mogo.och.charter.passenger.ui.video.ConsultVideoPlayer
android:id="@+id/video_item_player"
android:layout_gravity="center"
android:layout_width="@dimen/dp_1300"

View File

@@ -144,7 +144,7 @@
</androidx.constraintlayout.widget.ConstraintLayout>
<com.mogo.och.bus.passenger.ui.bottom.BottomBar
<com.mogo.och.charter.passenger.ui.bottom.BottomBar
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent"