Lines Matching refs:MainActivity

154 public class MainActivity extends Activity implements AudioManager.OnAudioFocusChangeListener {  class
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, in onResume()
1286 Utils.setLastWatchedChannel(MainActivity.this, channel); in endShrunkenTvView()
1328 Toast.makeText(MainActivity.this, text, Toast.LENGTH_SHORT).show(); in onActivityResult()
1350 Toast.makeText(MainActivity.this, errorMessage, Toast.LENGTH_SHORT).show(); in onActivityResult()
1638 Toast.makeText(MainActivity.this, R.string.msg_no_pip_support, in startPip()
1917 program.loadPosterArt(MainActivity.this, mNowPlayingCardWidth, mNowPlayingCardHeight, in updateMediaSession()
1918 createProgramPosterArtCallback(MainActivity.this, program)); in updateMediaSession()
1926 private static ImageLoader.ImageLoaderCallback<MainActivity> createProgramPosterArtCallback( in createProgramPosterArtCallback()
1927 MainActivity mainActivity, final Program program) { in createProgramPosterArtCallback()
1928 return new ImageLoader.ImageLoaderCallback<MainActivity>(mainActivity) { in createProgramPosterArtCallback()
1930 public void onBitmapLoaded(MainActivity mainActivity, @Nullable Bitmap posterArt) { in createProgramPosterArtCallback()
2659 MainActivity.super.enterPictureInPictureMode();
3097 private static class MainActivityHandler extends WeakHandler<MainActivity> {
3098 MainActivityHandler(MainActivity mainActivity) {
3103 protected void handleMessage(Message msg, @NonNull MainActivity mainActivity) {