Home | History | Annotate | Download | only in tv

Lines Matching refs:mainActivity

154 public class MainActivity extends Activity implements AudioManager.OnAudioFocusChangeListener {
155 private static final String TAG = "MainActivity";
387 SetupUtils.getInstance(MainActivity.this).markNewChannelsBrowsable();
429 && UsbTunerPreferences.shouldShowSetupActivity(MainActivity.this)) {
430 Intent intent = TunerSetupActivity.createSetupActivity(MainActivity.this);
432 UsbTunerPreferences.setShouldShowSetupActivity(MainActivity.this, false);
433 SetupUtils.getInstance(MainActivity.this).markAsKnownInput(mUsbTunerInputId);
776 int result = mAudioManager.requestAudioFocus(MainActivity.this,
1286 Utils.setLastWatchedChannel(MainActivity.this, channel);
1328 Toast.makeText(MainActivity.this, text, Toast.LENGTH_SHORT).show();
1350 Toast.makeText(MainActivity.this, errorMessage, Toast.LENGTH_SHORT).show();
1638 Toast.makeText(MainActivity.this, R.string.msg_no_pip_support,
1917 program.loadPosterArt(MainActivity.this, mNowPlayingCardWidth, mNowPlayingCardHeight,
1918 createProgramPosterArtCallback(MainActivity.this, program));
1926 private static ImageLoader.ImageLoaderCallback<MainActivity> createProgramPosterArtCallback(
1927 MainActivity mainActivity, final Program program) {
1928 return new ImageLoader.ImageLoaderCallback<MainActivity>(mainActivity) {
1930 public void onBitmapLoaded(MainActivity mainActivity, @Nullable Bitmap posterArt) {
1931 if (program != mainActivity.getCurrentProgram()
1932 || mainActivity.getCurrentChannel() == null) {
1935 mainActivity.updateProgramPosterArt(program, posterArt);
2659 MainActivity.super.enterPictureInPictureMode();
3097 private static class MainActivityHandler extends WeakHandler<MainActivity> {
3098 MainActivityHandler(MainActivity mainActivity) {
3099 super(mainActivity);
3103 protected void handleMessage(Message msg, @NonNull MainActivity mainActivity) {
3107 mainActivity.moveToAdjacentChannel(false, true);
3112 mainActivity.moveToAdjacentChannel(true, true);
3116 mainActivity.updateChannelBannerAndShowIfNeeded(