/packages/apps/TV/src/com/android/tv/ui/ |
D | TvOverlayManager.java | 43 import com.android.tv.MainActivity; 44 import com.android.tv.MainActivity.KeyHandlerResultType; 143 private final MainActivity mMainActivity; 165 public TvOverlayManager(MainActivity mainActivity, ChannelTuner channelTuner, in TvOverlayManager() 675 mTracker.sendScreenView(MainActivity.SCREEN_NAME); in onOverlayClosed() 719 return MainActivity.KEY_EVENT_HANDLER_RESULT_HANDLED; in onKeyDown() 724 return MainActivity.KEY_EVENT_HANDLER_RESULT_HANDLED; in onKeyDown() 728 return MainActivity.KEY_EVENT_HANDLER_RESULT_DISPATCH_TO_OVERLAY; in onKeyDown() 732 MainActivity.KEY_EVENT_HANDLER_RESULT_HANDLED in onKeyDown() 733 : MainActivity.KEY_EVENT_HANDLER_RESULT_NOT_HANDLED; in onKeyDown() [all …]
|
D | InputBannerView.java | 27 import com.android.tv.MainActivity; 37 ((MainActivity) getContext()).getOverlayManager().hideOverlays( 71 MainActivity mainActivity = (MainActivity) getContext(); in updateLabel()
|
D | FullscreenDialogView.java | 30 import com.android.tv.MainActivity; 43 private MainActivity mActivity; 75 protected MainActivity getActivity() { in getActivity() 99 public void initialize(MainActivity activity, Dialog dialog) { in initialize()
|
D | OverlayRootView.java | 24 import com.android.tv.MainActivity; 28 private final MainActivity mMainActivity; 44 mMainActivity = (MainActivity) context; in OverlayRootView()
|
/packages/apps/TV/src/com/android/tv/ |
D | MainActivityWrapper.java | 35 private MainActivity mActivity; 43 MainActivity getMainActivity() { in getMainActivity() 50 boolean isCurrent(MainActivity activity) { in isCurrent() 58 public void onMainActivityCreated(@NonNull MainActivity activity) { in onMainActivityCreated() 66 public void onMainActivityDestroyed(@NonNull MainActivity activity) { in onMainActivityDestroyed() 75 void notifyCurrentChannelChange(@NonNull MainActivity caller, @Nullable Channel channel) { in notifyCurrentChannelChange()
|
D | MainActivity.java | 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() [all …]
|
/packages/apps/TV/src/com/android/tv/menu/ |
D | MenuRowFactory.java | 23 import com.android.tv.MainActivity; 34 private final MainActivity mMainActivity; 40 public MenuRowFactory(MainActivity mainActivity) { in MenuRowFactory() 93 private final MainActivity mMainActivity; 98 mMainActivity = (MainActivity) context; in PipOptionsRow()
|
D | ItemListRowView.java | 29 import com.android.tv.MainActivity; 117 private final MainActivity mMainActivity; 124 mMainActivity = (MainActivity) context; in ItemListAdapter() 154 protected MainActivity getMainActivity() { in getMainActivity()
|
D | ChannelCardView.java | 31 import com.android.tv.MainActivity; 61 private final MainActivity mMainActivity; 84 mMainActivity = (MainActivity) context; in ChannelCardView() 213 if (!(getContext() instanceof MainActivity)) {
|
D | ChannelsRowAdapter.java | 26 import com.android.tv.MainActivity; 173 Channel currentChannel = ((MainActivity) mContext).getCurrentChannel(); in update() 229 if (count < mMinCount && mContext instanceof MainActivity) { in getRecentChannels() 230 for (long channelId : ((MainActivity) mContext).getRecentChannels()) { in getRecentChannels()
|
D | PipOptionsRowAdapter.java | 22 import com.android.tv.MainActivity; 85 MainActivity tvActivity = getMainActivity(); in updateSelectInputAction()
|
/packages/apps/TV/src/com/android/tv/ui/sidepanel/ |
D | SettingsFragment.java | 22 import com.android.tv.MainActivity; 53 private final MainActivity mMainActivity; 55 public LicenseActionItem(MainActivity mainActivity) { in LicenseActionItem() 104 final MainActivity activity = getMainActivity(); in getItemList() 124 final MainActivity tvActivity = getMainActivity(); in getItemList()
|
/packages/apps/TV/src/com/android/tv/dvr/ui/ |
D | DvrDialogFragment.java | 11 import com.android.tv.MainActivity; 26 ((MainActivity) getActivity()).getOverlayManager().getProgramGuide(); in onAttach() 45 ((MainActivity) getActivity()).getOverlayManager().getProgramGuide(); in onDetach()
|
D | DvrRecordConflictFragment.java | 8 import com.android.tv.MainActivity; 43 final MainActivity tvActivity = (MainActivity) getActivity(); in onCreateGuidance()
|
D | DvrGuidedStepFragment.java | 12 import com.android.tv.MainActivity; 68 ((MainActivity) getActivity()).getOverlayManager().getCurrentDialog();
|
D | DvrRecordScheduleFragment.java | 15 import com.android.tv.MainActivity; 60 ((MainActivity) getActivity()).getOverlayManager().getCurrentDialog(); in onGuidedActionClicked()
|
/packages/apps/TV/src/com/android/tv/guide/ |
D | ProgramItemView.java | 39 import com.android.tv.MainActivity; 95 final MainActivity tvActivity = (MainActivity) view.getContext(); 109 final MainActivity tvActivity = (MainActivity) view.getContext(); 128 ((MainActivity) view.getContext()).getOverlayManager().showDialogFragment( 135 ((MainActivity) view.getContext()).getOverlayManager().showDialogFragment(
|
/packages/apps/TV/src/com/android/tv/dialog/ |
D | SafeDismissDialogFragment.java | 26 import com.android.tv.MainActivity; 36 private MainActivity mActivity; 50 mActivity = (MainActivity) activity; in onAttach()
|
D | FullscreenDialogFragment.java | 27 import com.android.tv.MainActivity; 65 mDialogView.initialize((MainActivity) getActivity(), dialog); in onCreateDialog() 110 void initialize(MainActivity activity, Dialog dialog); in initialize()
|
/packages/apps/TV/src/com/android/tv/ui/sidepanel/parentalcontrols/ |
D | RatingSystemsFragment.java | 21 import com.android.tv.MainActivity; 43 setDefaultRatingSystemsIfNeeded((MainActivity) getActivity()); in onCreate() 46 public static String getDescription(MainActivity tvActivity) { in getDescription() 129 private static void setDefaultRatingSystemsIfNeeded(MainActivity tvActivity) { in setDefaultRatingSystemsIfNeeded()
|
D | RatingsFragment.java | 27 import com.android.tv.MainActivity; 82 public static String getDescription(MainActivity tvActivity) { in getDescription() 327 private final MainActivity mMainActivity; 329 public AttributionItem(MainActivity mainActivity) { in AttributionItem()
|
D | ProgramRestrictionsFragment.java | 19 import com.android.tv.MainActivity; 38 public static String getDescription(MainActivity tvActivity) { in getDescription()
|
/packages/apps/TV/tests/unit/src/com/android/tv/ |
D | BaseMainActivityTestCase.java | 37 extends ActivityInstrumentationTestCase2<MainActivity> { 43 protected MainActivity mActivity; 45 public BaseMainActivityTestCase(Class<MainActivity> activityClass) { in BaseMainActivityTestCase()
|
/packages/apps/TV/tests/unit/src/com/android/tv/menu/ |
D | TvOptionsRowAdapterTest.java | 23 import com.android.tv.MainActivity; 44 super(MainActivity.class); in TvOptionsRowAdapterTest()
|
/packages/apps/TV/src/com/android/tv/search/ |
D | ProgramGuideSearchFragment.java | 42 import com.android.tv.MainActivity; 136 private MainActivity mMainActivity; 146 mMainActivity = (MainActivity) getActivity();
|