Home
last modified time | relevance | path

Searched refs:getMainActivity (Results 1 – 20 of 20) sorted by relevance

/packages/apps/TV/src/com/android/tv/menu/
DTvOptionsRowAdapter.java50 if (Features.PICTURE_IN_PICTURE.isEnabled(getMainActivity())) { in createBaseActions()
91 !getMainActivity().isScreenBlockedByResourceConflictOrParentalControl()); in updatePipAction()
97 List<TvTrackInfo> audioTracks = getMainActivity().getTracks(TvTrackInfo.TYPE_AUDIO); in updateMultiAudioAction()
105 TvViewUiManager uiManager = getMainActivity().getTvViewUiManager(); in updateDisplayModeAction()
115 getMainActivity().getTvOptionsManager().getOptionString(action.getType())); in updateActionDescription()
122 getMainActivity().getOverlayManager().getSideFragmentManager() in executeBaseAction()
126 getMainActivity().getOverlayManager().getSideFragmentManager() in executeBaseAction()
130 getMainActivity().enterPictureInPictureMode(); in executeBaseAction()
133 getMainActivity().getOverlayManager().getSideFragmentManager() in executeBaseAction()
137 getMainActivity().showMerchantCollection(); in executeBaseAction()
[all …]
DChannelsRowAdapter.java57 getMainActivity().getOverlayManager().showProgramGuide();
65 getMainActivity().getOverlayManager().showSetupFragment();
73 getMainActivity().getOverlayManager().showDvrManager();
83 getMainActivity().startActivitySafe(intent);
94 getMainActivity().tuneToChannel((Channel) view.getTag());
95 getMainActivity().hideOverlaysForTune();
171 new Channel.Builder(getMainActivity().getCurrentChannel()).build()); in createItems()
192 if (!getMainActivity().getCurrentChannel() in updateItems()
195 new Channel.Builder(getMainActivity().getCurrentChannel()).build()); in updateItems()
254 Channel currentChannel = getMainActivity().getCurrentChannel();
[all …]
DCustomizableOptionsRowAdapter.java74 getMainActivity().startActivitySafe(mCustomActions.get(position).getIntent()); in executeAction()
DItemListRowView.java157 protected MainActivity getMainActivity() { in getMainActivity() method in ItemListRowView.ItemListAdapter
/packages/apps/TV/src/com/android/tv/ui/sidepanel/
DClosedCaptionFragment.java58 CaptionSettings captionSettings = getMainActivity().getCaptionSettings(); in getItemList()
67 List<TvTrackInfo> tracks = getMainActivity().getTracks(TvTrackInfo.TYPE_SUBTITLE); in getItemList()
70 getMainActivity().getSelectedTrack(TvTrackInfo.TYPE_SUBTITLE) : null; in getItemList()
88 if (getMainActivity().hasCaptioningSettingsActivity()) { in getItemList()
93 getMainActivity().startSystemCaptioningSettingsActivity(); in getItemList()
100 getMainActivity().selectSubtitleTrack( in getItemList()
118 getMainActivity().selectSubtitleLanguage(mClosedCaptionOption, mClosedCaptionLanguage, in onDestroyView()
152 getMainActivity().selectSubtitleTrack(mOption, mTrackId); in onSelected()
160 getMainActivity().selectSubtitleTrack(mOption, mTrackId); in onFocused()
DSettingsFragment.java64 getMainActivity().getOverlayManager().getSideFragmentManager()) { in getItemList()
84 final MainActivity activity = getMainActivity(); in getItemList()
97 if (PermissionUtils.hasModifyParentalControls(getMainActivity())) { in getItemList()
105 getMainActivity().getOverlayManager() in getItemList()
109 getMainActivity().getOverlayManager() in getItemList()
173 getMainActivity().getOverlayManager().getSideFragmentManager()) { in getItemList()
DMultiAudioFragment.java51 List<TvTrackInfo> tracks = getMainActivity().getTracks(TvTrackInfo.TYPE_AUDIO); in getItemList()
52 mSelectedTrackId = getMainActivity().getSelectedTrack(TvTrackInfo.TYPE_AUDIO); in getItemList()
94 getMainActivity().selectAudioTrack(mTrackId); in onSelected()
102 getMainActivity().selectAudioTrack(mTrackId); in onFocused()
109 getMainActivity().selectAudioTrack(mSelectedTrackId); in onDetach()
DCustomizeChannelListFragment.java66 mInputManager = getMainActivity().getTvInputManagerHelper(); in onCreate()
67 mInitialChannelId = getMainActivity().getCurrentChannelId(); in onCreate()
91 getMainActivity().tuneToChannel( in onCreateView()
102 getMainActivity().startShrunkenTvView(false, true); in onCreateView()
120 MainActivity tvActivity = getMainActivity(); in onCreateView()
139 getMainActivity().endShrunkenTvView(); in onDestroy()
376 getMainActivity().getOverlayManager().getSideFragmentManager()); in GroupBySubMenu()
DSideFragment.java88 mChannelDataManager = getMainActivity().getChannelDataManager(); in onAttach()
89 mProgramDataManager = getMainActivity().getProgramDataManager(); in onAttach()
164 getMainActivity().getOverlayManager().getSideFragmentManager().popSideFragment(); in closeFragment()
167 protected MainActivity getMainActivity() { in getMainActivity() method in SideFragment
DDeveloperOptionFragment.java61 getMainActivity().getOverlayManager().showDvrHistoryDialog(); in getItemList()
69 getMainActivity().getOverlayManager().showRecentlyWatchedDialog(); in getItemList()
DDisplayModeFragment.java54 mTvViewUiManager = getMainActivity().getTvViewUiManager(); in onAttach()
/packages/apps/TV/src/com/android/tv/ui/sidepanel/parentalcontrols/
DParentalControlsFragment.java64 setChecked(getMainActivity().getParentalControlSettings() in getItemList()
72 getMainActivity().getParentalControlSettings().setParentalControlsEnabled(checked); in getItemList()
79 getMainActivity().getOverlayManager().getSideFragmentManager()) { in getItemList()
108 getMainActivity().getString(R.string.option_no_locked_channel)); in getItemList()
119 ProgramRestrictionsFragment.getDescription(getMainActivity()), in getItemList()
120 getMainActivity().getOverlayManager().getSideFragmentManager()) { in getItemList()
131 final MainActivity tvActivity = getMainActivity(); in getItemList()
140 enableActionItems(getMainActivity().getParentalControlSettings() in getItemList()
DProgramRestrictionsFragment.java57 RatingSystemsFragment.getDescription(getMainActivity()), in getItemList()
58 getMainActivity().getOverlayManager().getSideFragmentManager()) { in getItemList()
66 String ratingsDescription = RatingsFragment.getDescription(getMainActivity()); in getItemList()
69 getMainActivity().getOverlayManager().getSideFragmentManager()) { in getItemList()
78 if (RatingSystemsFragment.getDescription(getMainActivity()).equals( in getItemList()
DRatingSystemsFragment.java76 ContentRatingsManager contentRatingsManager = getMainActivity().getContentRatingsManager(); in getItemList()
78 getMainActivity().getParentalControlSettings(); in getItemList()
161 setChecked(getMainActivity().getParentalControlSettings() in onUpdate()
168 getMainActivity().getParentalControlSettings().setContentRatingSystemEnabled( in onSelected()
169 getMainActivity().getContentRatingsManager(), mContentRatingSystem, in onSelected()
DSubRatingsFragment.java60 mContentRatingSystem = getMainActivity().getContentRatingsManager() in onCreate()
197 return getMainActivity().getParentalControlSettings() in isRatingEnabled()
202 return getMainActivity().getParentalControlSettings() in isSubRatingEnabled()
207 getMainActivity().getParentalControlSettings() in setRatingEnabled()
212 getMainActivity().getParentalControlSettings() in setSubRatingEnabled()
DRatingsFragment.java122 getMainActivity().getContentRatingsManager().getContentRatingSystems(); in getItemList()
148 if (LicenseUtils.hasRatingAttribution(getMainActivity().getAssets())) { in getItemList()
151 items.add(new AttributionItem(getMainActivity())); in getItemList()
160 mParentalControlSettings = getMainActivity().getParentalControlSettings(); in onCreate()
233 getMainActivity().getContentRatingsManager(), mRatingLevel); in onSelected()
340 getMainActivity().getOverlayManager().getSideFragmentManager() in onSelected()
DChannelsBlockedFragment.java79 getMainActivity().tuneToChannel( in onCreateView()
90 getMainActivity().startShrunkenTvView(true, true); in onCreateView()
98 getMainActivity().endShrunkenTvView(); in onDestroyView()
128 final long currentChannelId = getMainActivity().getCurrentChannelId(); in getItemList()
/packages/apps/TV/src/com/android/tv/
DTvApplication.java466 mMainActivityWrapper.getMainActivity().getOverlayManager().toggleProgramGuide(); in handleGuideKey()
501 ? mMainActivityWrapper.getMainActivity() : mSelectInputActivity; in handleTvInputKey()
DMainActivityWrapper.java42 MainActivity getMainActivity() { in getMainActivity() method in MainActivityWrapper
/packages/apps/TV/src/com/android/tv/license/
DLicenseSideFragment.java44 getMainActivity() in onSelected()