|
|
|
|
@ -572,6 +572,8 @@ public class LivePlayActivity extends BaseActivity { |
|
|
|
|
//频道列表
|
|
|
|
|
@SuppressLint("NotifyDataSetChanged") |
|
|
|
|
public void divLoadEpgRight(View view) { |
|
|
|
|
mHandler.removeCallbacks(mHideChannelListRun); |
|
|
|
|
mHandler.postDelayed(mHideChannelListRun, postTimeout); |
|
|
|
|
mChannelGroupView.setVisibility(View.GONE); |
|
|
|
|
divEpg.setVisibility(View.VISIBLE); |
|
|
|
|
divLoadEpgleft.setVisibility(View.VISIBLE); |
|
|
|
|
@ -581,6 +583,8 @@ public class LivePlayActivity extends BaseActivity { |
|
|
|
|
} |
|
|
|
|
//频道列表
|
|
|
|
|
public void divLoadEpgLeft(View view) { |
|
|
|
|
mHandler.removeCallbacks(mHideChannelListRun); |
|
|
|
|
mHandler.postDelayed(mHideChannelListRun, postTimeout); |
|
|
|
|
mChannelGroupView.setVisibility(View.VISIBLE); |
|
|
|
|
divEpg.setVisibility(View.GONE); |
|
|
|
|
divLoadEpgleft.setVisibility(View.GONE); |
|
|
|
|
@ -1120,8 +1124,8 @@ public class LivePlayActivity extends BaseActivity { |
|
|
|
|
assert selectedData != null; |
|
|
|
|
LOG.i("echo-targetDate"+targetDate); |
|
|
|
|
LOG.i("echo-targethm"+selectedData.originStart.replace(":", "")); |
|
|
|
|
String shiyiStartdate = targetDate + selectedData.originStart.replace(":", "") + "30"; |
|
|
|
|
String shiyiEnddate = targetDate + selectedData.originEnd.replace(":", "") + "30"; |
|
|
|
|
String shiyiStartdate = targetDate + selectedData.originStart.replace(":", "") + "00"; |
|
|
|
|
String shiyiEnddate = targetDate + selectedData.originEnd.replace(":", "") + "00"; |
|
|
|
|
Date now = new Date(); |
|
|
|
|
if(new Date().compareTo(selectedData.startdateTime) < 0){ |
|
|
|
|
return; |
|
|
|
|
@ -1201,7 +1205,7 @@ public class LivePlayActivity extends BaseActivity { |
|
|
|
|
mRightEpgList.smoothScrollToPosition(position); |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
shiyi_time_c = (int)getTime(formatDate.format(nowday) +" " + selectedData.start + ":" +"30", formatDate.format(nowday) +" " + selectedData.end + ":" +"30"); |
|
|
|
|
shiyi_time_c = (int)getTime(formatDate.format(nowday) +" " + selectedData.start + ":" +"00", formatDate.format(nowday) +" " + selectedData.end + ":" +"00"); |
|
|
|
|
ViewGroup.LayoutParams lp = iv_play.getLayoutParams(); |
|
|
|
|
lp.width=videoHeight/7; |
|
|
|
|
lp.height=videoHeight/7; |
|
|
|
|
|