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.java74 if (TvFeatures.PICTURE_IN_PICTURE.isEnabled(getMainActivity())) { in createBaseActions()
117 !getMainActivity().isScreenBlockedByResourceConflictOrParentalControl()); in updatePipAction()
123 List<TvTrackInfo> audioTracks = getMainActivity().getTracks(TvTrackInfo.TYPE_AUDIO); in updateMultiAudioAction()
131 TvViewUiManager uiManager = getMainActivity().getTvViewUiManager(); in updateDisplayModeAction()
142 action, getMainActivity().getTvOptionsManager().getOptionString(action.getType())); in updateActionDescription()
149 getMainActivity() in executeBaseAction()
155 getMainActivity() in executeBaseAction()
161 getMainActivity().enterPictureInPictureMode(); in executeBaseAction()
164 getMainActivity() in executeBaseAction()
170 getMainActivity().showMerchantCollection(); in executeBaseAction()
[all …]
DChannelsRowAdapter.java125 getMainActivity().getOverlayManager().showProgramGuide(); in onGuideClicked()
138 getMainActivity().getOverlayManager().showSetupFragment(); in onSetupClicked()
143 getMainActivity().getOverlayManager().showDvrManager(); in onDvrClicked()
150 getMainActivity().startActivitySafe(intent); in onAppLinkClicked()
158 getMainActivity().tuneToChannel((Channel) view.getTag()); in onChannelClicked()
159 getMainActivity().hideOverlaysForTune(); in onChannelClicked()
178 new ChannelImpl.Builder(getMainActivity().getCurrentChannel()).build()); in createItems()
205 if (!getMainActivity() in updateItems()
209 new ChannelImpl.Builder(getMainActivity().getCurrentChannel()).build()); in updateItems()
266 Channel currentChannel = getMainActivity().getCurrentChannel();
[all …]
DCustomizableOptionsRowAdapter.java71 getMainActivity().startActivitySafe(mCustomActions.get(position).getIntent()); in executeAction()
DItemListRowView.java160 protected MainActivity getMainActivity() { in getMainActivity() method in ItemListRowView.ItemListAdapter
/packages/apps/TV/src/com/android/tv/ui/sidepanel/
DClosedCaptionFragment.java56 CaptionSettings captionSettings = getMainActivity().getCaptionSettings(); in getItemList()
65 List<TvTrackInfo> tracks = getMainActivity().getTracks(TvTrackInfo.TYPE_SUBTITLE); in getItemList()
69 ? getMainActivity().getSelectedTrack(TvTrackInfo.TYPE_SUBTITLE) in getItemList()
88 if (getMainActivity().hasCaptioningSettingsActivity()) { in getItemList()
95 getMainActivity().startSystemCaptioningSettingsActivity(); in getItemList()
102 getMainActivity() in getItemList()
121 getMainActivity() in onDestroyView()
156 getMainActivity().selectSubtitleTrack(mOption, mTrackId); in onSelected()
164 getMainActivity().selectSubtitleTrack(mOption, mTrackId); in onFocused()
DMultiAudioFragment.java49 List<TvTrackInfo> tracks = getMainActivity().getTracks(TvTrackInfo.TYPE_AUDIO); in getItemList()
50 mSelectedTrackId = getMainActivity().getSelectedTrack(TvTrackInfo.TYPE_AUDIO); in getItemList()
95 getMainActivity().selectAudioTrack(mTrackId); in onSelected()
103 getMainActivity().selectAudioTrack(mTrackId); in onFocused()
110 getMainActivity().selectAudioTrack(mSelectedTrackId); in onDetach()
DSettingsFragment.java61 getMainActivity().getOverlayManager().getSideFragmentManager()) { in getItemList()
81 final MainActivity activity = getMainActivity(); in getItemList()
97 if (PermissionUtils.hasModifyParentalControls(getMainActivity())) { in getItemList()
108 getMainActivity() in getItemList()
115 getMainActivity() in getItemList()
186 getMainActivity().getOverlayManager().getSideFragmentManager()) { in getItemList()
DCustomizeChannelListFragment.java64 mInputManager = getMainActivity().getTvInputManagerHelper(); in onCreate()
65 mInitialChannelId = getMainActivity().getCurrentChannelId(); in onCreate()
95 getMainActivity() in onCreateView()
108 getMainActivity().startShrunkenTvView(false, true); in onCreateView()
126 MainActivity tvActivity = getMainActivity(); in onCreateView()
145 getMainActivity().endShrunkenTvView(); in onDestroy()
395 getMainActivity().getOverlayManager().getSideFragmentManager()); in GroupBySubMenu()
DDeveloperOptionFragment.java68 .getAdditionalDevItems(getMainActivity())); in getItemList()
76 getMainActivity().getOverlayManager().showDvrHistoryDialog(); in getItemList()
85 getMainActivity().getOverlayManager().showRecentlyWatchedDialog(); in getItemList()
DSideFragment.java91 mChannelDataManager = getMainActivity().getChannelDataManager(); in onAttach()
92 mProgramDataManager = getMainActivity().getProgramDataManager(); in onAttach()
169 getMainActivity().getOverlayManager().getSideFragmentManager().popSideFragment(); in closeFragment()
172 protected MainActivity getMainActivity() { in getMainActivity() method in SideFragment
DDisplayModeFragment.java52 mTvViewUiManager = getMainActivity().getTvViewUiManager(); in onAttach()
/packages/apps/TV/src/com/android/tv/ui/sidepanel/parentalcontrols/
DParentalControlsFragment.java66 getMainActivity() in getItemList()
75 getMainActivity() in getItemList()
87 getMainActivity().getOverlayManager().getSideFragmentManager()) { in getItemList()
117 getMainActivity().getString(R.string.option_no_locked_channel)); in getItemList()
130 ProgramRestrictionsFragment.getDescription(getMainActivity()), in getItemList()
131 getMainActivity().getOverlayManager().getSideFragmentManager()) { in getItemList()
143 final MainActivity tvActivity = getMainActivity(); in getItemList()
154 getMainActivity().getParentalControlSettings().isParentalControlsEnabled()); in getItemList()
DProgramRestrictionsFragment.java59 RatingSystemsFragment.getDescription(getMainActivity()), in getItemList()
60 getMainActivity().getOverlayManager().getSideFragmentManager()) { in getItemList()
68 String ratingsDescription = RatingsFragment.getDescription(getMainActivity()); in getItemList()
73 getMainActivity().getOverlayManager().getSideFragmentManager()) { in getItemList()
82 if (RatingSystemsFragment.getDescription(getMainActivity()) in getItemList()
DRatingSystemsFragment.java75 ContentRatingsManager contentRatingsManager = getMainActivity().getContentRatingsManager(); in getItemList()
77 getMainActivity().getParentalControlSettings(); in getItemList()
164 getMainActivity() in onUpdate()
172 getMainActivity() in onSelected()
175 getMainActivity().getContentRatingsManager(), in onSelected()
DSubRatingsFragment.java59 getMainActivity() in onCreate()
198 return getMainActivity() in isRatingEnabled()
204 return getMainActivity() in isSubRatingEnabled()
210 getMainActivity() in setRatingEnabled()
216 getMainActivity() in setSubRatingEnabled()
DChannelsBlockedFragment.java84 getMainActivity() in onCreateView()
99 getMainActivity().startShrunkenTvView(true, true); in onCreateView()
108 getMainActivity().endShrunkenTvView(); in onDestroyView()
110 ChannelPreviewUpdater.getInstance(getMainActivity()) in onDestroyView()
141 final long currentChannelId = getMainActivity().getCurrentChannelId(); in getItemList()
DRatingsFragment.java130 getMainActivity().getContentRatingsManager().getContentRatingSystems(); in getItemList()
157 if (LicenseUtils.hasRatingAttribution(getMainActivity().getAssets())) { in getItemList()
160 items.add(new AttributionItem(getMainActivity())); in getItemList()
169 mParentalControlSettings = getMainActivity().getParentalControlSettings(); in onCreate()
255 getMainActivity().getContentRatingsManager(), mRatingLevel); in onSelected()
364 getMainActivity() in onSelected()
/packages/apps/TV/src/com/android/tv/
DTvApplication.java377 mMainActivityWrapper.getMainActivity().getOverlayManager().toggleProgramGuide(); in handleGuideKey()
415 ? mMainActivityWrapper.getMainActivity() in handleTvInputKey()
DMainActivityWrapper.java40 MainActivity getMainActivity() { in getMainActivity() method in MainActivityWrapper
/packages/apps/TV/src/com/android/tv/license/
DLicenseSideFragment.java42 getMainActivity() in onSelected()