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.java47 if (TvFeatures.PICTURE_IN_PICTURE.isEnabled(getMainActivity())) { in createBaseActions()
88 !getMainActivity().isScreenBlockedByResourceConflictOrParentalControl()); in updatePipAction()
94 List<TvTrackInfo> audioTracks = getMainActivity().getTracks(TvTrackInfo.TYPE_AUDIO); in updateMultiAudioAction()
102 TvViewUiManager uiManager = getMainActivity().getTvViewUiManager(); in updateDisplayModeAction()
113 action, getMainActivity().getTvOptionsManager().getOptionString(action.getType())); in updateActionDescription()
120 getMainActivity() in executeBaseAction()
126 getMainActivity() in executeBaseAction()
132 getMainActivity().enterPictureInPictureMode(); in executeBaseAction()
135 getMainActivity() in executeBaseAction()
141 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.java151 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()
DSideFragment.java86 mChannelDataManager = getMainActivity().getChannelDataManager(); in onAttach()
87 mProgramDataManager = getMainActivity().getProgramDataManager(); in onAttach()
163 getMainActivity().getOverlayManager().getSideFragmentManager().popSideFragment(); in closeFragment()
166 protected MainActivity getMainActivity() { in getMainActivity() method in SideFragment
DDeveloperOptionFragment.java60 getMainActivity().getOverlayManager().showDvrHistoryDialog(); in getItemList()
69 getMainActivity().getOverlayManager().showRecentlyWatchedDialog(); in getItemList()
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.java120 getMainActivity().getContentRatingsManager().getContentRatingSystems(); in getItemList()
147 if (LicenseUtils.hasRatingAttribution(getMainActivity().getAssets())) { in getItemList()
150 items.add(new AttributionItem(getMainActivity())); in getItemList()
159 mParentalControlSettings = getMainActivity().getParentalControlSettings(); in onCreate()
237 getMainActivity().getContentRatingsManager(), mRatingLevel); in onSelected()
347 getMainActivity() in onSelected()
/packages/apps/TV/src/com/android/tv/
DTvApplication.java383 mMainActivityWrapper.getMainActivity().getOverlayManager().toggleProgramGuide(); in handleGuideKey()
420 ? 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()