| | |
| | | private TextView tv_lp_calltime; |
| | | |
| | | //参数 |
| | | private boolean isAnswer;//是否已经接听了 |
| | | private boolean isAnswer = false;//是否已经接听了 |
| | | private int callTime;//通话时间 |
| | | //倒计时 |
| | | private CountDownTimer mCountDownTimer; |
| | |
| | | private void initView() { |
| | | tv_lp_title = findViewById(R.id.tv_lp_title); |
| | | iv_lp_screenshot = findViewById(R.id.iv_lp_screenshot); |
| | | iv_lp_screenshot.setEnabled(false); |
| | | iv_lp_unlock = findViewById(R.id.iv_lp_unlock); |
| | | iv_lp_unlock.setEnabled(false); |
| | | iv_lp_hangUp = findViewById(R.id.iv_lp_hangUp); |
| | | tv_lp_hangUp = findViewById(R.id.tv_lp_hangUp); |
| | | iv_lp_answer = findViewById(R.id.iv_lp_answer); |
| | |
| | | timer_lp_calltime = (Chronometer) findViewById(R.id.timer_lp_calltime); |
| | | tv_lp_calltime = findViewById(R.id.tv_lp_calltime); |
| | | setWidthHeightWithRatio(ll_video_lp_rendering, 16, 9); |
| | | |
| | | iv_lp_screenshot.setEnabled(false); |
| | | iv_lp_unlock.setEnabled(false); |
| | | } |
| | | |
| | | /** |