/packages/apps/TV/src/com/android/tv/ui/ |
D | TvOverlayManager.java | 208 private final MainActivity mMainActivity; field in TvOverlayManager 240 mMainActivity = mainActivity; in TvOverlayManager() 317 mMainActivity.addOnActionClickListener(new OnActionClickListener() { in TvOverlayManager() 327 mMainActivity.showMerchantCollection(); in TvOverlayManager() 333 mMainActivity.startSetupActivity(input, true); in TvOverlayManager() 402 return mMainActivity.getFragmentManager().findFragmentByTag(FRAGMENT_TAG_SETUP_SOURCES); in getSetupSourcesFragment() 414 return mMainActivity.getFragmentManager().findFragmentByTag(FRAGMENT_TAG_NEW_SOURCES); in getNewSourcesFragment() 437 if (mMainActivity.getTimeShiftManager().isPaused()) { in showMenuWithTimeShiftPauseIfNeeded() 475 dialog.show(mMainActivity.getFragmentManager(), tag); in showDialogFragment() 494 final FragmentManager manager = mMainActivity.getFragmentManager(); in runAfterSideFragmentsAreClosed() [all …]
|
D | ChannelBannerView.java | 99 private final MainActivity mMainActivity; field in ChannelBannerView 141 mMainActivity.getOverlayManager().hideOverlays( 189 mMainActivity = (MainActivity) context; in ChannelBannerView() 211 mProgramDescriptionFadeInAnimator = AnimatorInflater.loadAnimator(mMainActivity, in ChannelBannerView() 213 mProgramDescriptionFadeOutAnimator = AnimatorInflater.loadAnimator(mMainActivity, in ChannelBannerView() 216 if (CommonFeatures.DVR.isEnabled(mMainActivity)) { in ChannelBannerView() 217 mDvrManager = TvApplication.getSingletons(mMainActivity).getDvrManager(); in ChannelBannerView() 326 updateProgramRatings(mMainActivity.getCurrentProgram()); in setBlockingContentRating() 344 mCurrentChannel = mMainActivity.getCurrentChannel(); in updateViews() 350 updateProgramInfo(mMainActivity.getCurrentProgram()); in updateViews() [all …]
|
D | TvTransitionManager.java | 52 private final MainActivity mMainActivity; field in TvTransitionManager 76 mMainActivity = mainActivity; in TvTransitionManager() 82 mEmptyView = (FrameLayout) mMainActivity.getLayoutInflater().inflate( in TvTransitionManager() 106 Channel channel = mMainActivity.getCurrentChannel(); in goToChannelBannerScene() 132 mSelectInputView.setCurrentChannel(mMainActivity.getCurrentChannel()); in goToSelectInputScene() 157 mEnterAnimator = AnimatorInflater.loadAnimator(mMainActivity, in initIfNeeded() 159 mExitAnimator = AnimatorInflater.loadAnimator(mMainActivity, in initIfNeeded() 210 TransitionInflater ti = TransitionInflater.from(mMainActivity); in initIfNeeded() 246 mMainActivity.updateKeyInputFocus(); in setCurrentScene()
|
D | KeypadChannelSwitchView.java | 61 private final MainActivity mMainActivity; field in KeypadChannelSwitchView 80 mMainActivity.tuneToChannel(mSelectedChannel); 83 mMainActivity.getOverlayManager().hideOverlays( 114 mMainActivity = (MainActivity) context; in KeypadChannelSwitchView() 148 mMainActivity.tuneToChannel(channel); in onFinishInflate()
|
/packages/apps/TV/src/com/android/tv/search/ |
D | ProgramGuideSearchFragment.java | 59 ImageCardView cardView = new ImageCardView(mMainActivity); 64 Resources res = mMainActivity.getResources(); 80 ImageLoader.loadBitmap(mMainActivity, result.imageUri, mMainCardWidth, 83 cardView.setMainImage(mMainActivity.getDrawable(R.drawable.ic_launcher)); 128 mMainActivity.getFragmentManager().popBackStack(); 129 mMainActivity.tuneToChannel( 130 mMainActivity.getChannelDataManager().getChannel(result.channelId)); 136 private MainActivity mMainActivity; 146 mMainActivity = (MainActivity) getActivity(); 147 if (PermissionUtils.hasAccessAllEpg(mMainActivity)) { [all …]
|
/packages/apps/TV/src/com/android/tv/menu/ |
D | MenuRowFactory.java | 35 private final MainActivity mMainActivity; field in MenuRowFactory 43 mMainActivity = mainActivity; in MenuRowFactory() 55 return new PlayControlsRow(mMainActivity, mTvView, menu, in createMenuRow() 56 mMainActivity.getTimeShiftManager()); in createMenuRow() 58 return new ChannelsRow(mMainActivity, menu, mMainActivity.getProgramDataManager()); in createMenuRow() 64 return new PartnerRow(mMainActivity, menu, title, customActions); in createMenuRow() 68 return new TvOptionsRow(mMainActivity, menu, mTvCustomizationManager in createMenuRow()
|
D | PlayControlsRowView.java | 71 private final MainActivity mMainActivity; field in PlayControlsRowView 92 Channel currentChannel = mMainActivity.getCurrentChannel(); 136 mMainActivity = (MainActivity) context; in PlayControlsRowView() 246 Channel currentChannel = mMainActivity.getCurrentChannel(); in isCurrentChannelRecording() 253 Channel currentChannel = mMainActivity.getCurrentChannel(); in onRecordButtonClicked() 258 Toast.makeText(mMainActivity, R.string.dvr_msg_cannot_record_channel, in onRecordButtonClicked() 261 Program program = TvApplication.getSingletons(mMainActivity).getProgramDataManager() in onRecordButtonClicked() 263 DvrUiHelper.checkStorageStatusAndShowErrorMessage(mMainActivity, in onRecordButtonClicked() 267 DvrUiHelper.requestRecordingCurrentProgram(mMainActivity, in onRecordButtonClicked() 273 DvrUiHelper.showStopRecordingDialog(mMainActivity, currentChannel.getId(), in onRecordButtonClicked() [all …]
|
D | ChannelCardView.java | 55 private final MainActivity mMainActivity; field in ChannelCardView 69 mMainActivity = (MainActivity) context; in ChannelCardView() 101 ParentalControlSettings parental = mMainActivity.getParentalControlSettings(); in updateProgram() 107 mMainActivity.getProgramDataManager().getCurrentProgram(mChannel.getId()); in updateProgram()
|
D | ItemListRowView.java | 120 private final MainActivity mMainActivity; field in ItemListRowView.ItemListAdapter 127 mMainActivity = (MainActivity) context; in ItemListAdapter() 158 return mMainActivity; in getMainActivity()
|
/packages/apps/TV/src/com/android/tv/dvr/recorder/ |
D | ConflictChecker.java | 77 private final MainActivity mMainActivity; field in ConflictChecker 120 mMainActivity = mainActivity; in ConflictChecker() 248 && !DvrUiHelper.isChannelWatchConflictDialogShown(mMainActivity)) { in onCheckConflict() 254 DvrUiHelper.showChannelWatchConflictDialog(mMainActivity, channel); in onCheckConflict()
|
/packages/apps/TV/src/com/android/tv/ui/sidepanel/parentalcontrols/ |
D | RatingsFragment.java | 363 private final MainActivity mMainActivity; field in RatingsFragment.AttributionItem 366 mMainActivity = mainActivity; in AttributionItem() 378 mMainActivity.getString(R.string.option_attribution), TRACKER_LABEL); in onSelected() 379 mMainActivity.getOverlayManager().showDialogFragment(DIALOG_TAG, dialog, false); in onSelected()
|