/packages/apps/TV/src/com/android/tv/ui/ |
D | TvOverlayManager.java | 38 import com.android.tv.MainActivity; 39 import com.android.tv.MainActivity.KeyHandlerResultType; 208 private final MainActivity mMainActivity; 235 public TvOverlayManager(MainActivity mainActivity, ChannelTuner channelTuner, in TvOverlayManager() 917 mTracker.sendScreenView(MainActivity.SCREEN_NAME); in onOverlayClosed() 977 return MainActivity.KEY_EVENT_HANDLER_RESULT_HANDLED; in onKeyDown() 982 return MainActivity.KEY_EVENT_HANDLER_RESULT_HANDLED; in onKeyDown() 986 return MainActivity.KEY_EVENT_HANDLER_RESULT_DISPATCH_TO_OVERLAY; in onKeyDown() 990 MainActivity.KEY_EVENT_HANDLER_RESULT_HANDLED in onKeyDown() 991 : 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 | TvTransitionManager.java | 34 import com.android.tv.MainActivity; 52 private final MainActivity mMainActivity; 73 public TvTransitionManager(MainActivity mainActivity, ViewGroup sceneContainer, in TvTransitionManager()
|
D | KeypadChannelSwitchView.java | 39 import com.android.tv.MainActivity; 61 private final MainActivity mMainActivity; 114 mMainActivity = (MainActivity) context; in KeypadChannelSwitchView()
|
/packages/apps/TV/src/com/android/tv/ |
D | MainActivityWrapper.java | 34 private MainActivity mActivity; 42 MainActivity getMainActivity() { in getMainActivity() 49 boolean isCurrent(MainActivity activity) { in isCurrent() 56 public void onMainActivityCreated(@NonNull MainActivity activity) { in onMainActivityCreated() 63 public void onMainActivityDestroyed(@NonNull MainActivity activity) { in onMainActivityDestroyed() 72 void notifyCurrentChannelChange(@NonNull MainActivity caller, @Nullable Channel channel) { in notifyCurrentChannelChange()
|
D | MainActivity.java | 156 public class MainActivity extends Activity implements OnActionClickListener, OnPinCheckedListener { class 367 SetupUtils.getInstance(MainActivity.this).markNewChannelsBrowsable(); 403 if (Features.TUNER.isEnabled(MainActivity.this) && mTunerInputId.equals(inputId) 404 && TunerPreferences.shouldShowSetupActivity(MainActivity.this)) { 405 Intent intent = TunerSetupActivity.createSetupActivity(MainActivity.this); 407 TunerPreferences.setShouldShowSetupActivity(MainActivity.this, false); 408 SetupUtils.getInstance(MainActivity.this).markAsKnownInput(mTunerInputId); 763 DvrUiHelper.showDvrInsufficientSpaceErrorDialog(MainActivity.this, in onResume() 1223 Utils.setLastWatchedChannel(MainActivity.this, channel); in endShrunkenTvView() 1265 Toast.makeText(MainActivity.this, text, Toast.LENGTH_SHORT).show(); in onActivityResult() [all …]
|
/packages/apps/TV/src/com/android/tv/dvr/ui/ |
D | DvrHalfSizedDialogFragment.java | 29 import com.android.tv.MainActivity; 70 if (activity instanceof MainActivity) { in onAttach() 72 ((MainActivity) activity).getOverlayManager().getProgramGuide(); in onAttach() 83 if (activity instanceof MainActivity) { in onDetach() 85 ((MainActivity) activity).getOverlayManager().getProgramGuide(); in onDetach()
|
D | DvrConflictFragment.java | 31 import com.android.tv.MainActivity; 277 ConflictChecker checker = ((MainActivity) getContext()).getDvrConflictChecker(); in onCreateView() 324 ConflictChecker checker = ((MainActivity) getContext()).getDvrConflictChecker(); in onTrackedGuidedActionClicked() 359 ConflictChecker checker = ((MainActivity) getContext()).getDvrConflictChecker(); in onDetach() 368 ConflictChecker checker = ((MainActivity) getContext()).getDvrConflictChecker(); in onUpcomingConflictChange()
|
D | DvrUiHelper.java | 41 import com.android.tv.MainActivity; 157 public static void showChannelWatchConflictDialog(MainActivity activity, Channel channel) { in showChannelWatchConflictDialog() 169 public static void showDvrInsufficientSpaceErrorDialog(MainActivity activity, in showDvrInsufficientSpaceErrorDialog() 346 if (activity instanceof MainActivity) { in showDialogFragment() 347 ((MainActivity) activity).getOverlayManager() in showDialogFragment() 359 public static boolean isChannelWatchConflictDialogShown(MainActivity activity) { in isChannelWatchConflictDialogShown()
|
D | DvrGuidedStepFragment.java | 31 import com.android.tv.MainActivity; 109 if (getActivity() instanceof MainActivity) { in dismissDialog() 111 ((MainActivity) getActivity()).getOverlayManager().getCurrentDialog(); in dismissDialog()
|
/packages/apps/TV/src/com/android/tv/dialog/ |
D | SafeDismissDialogFragment.java | 22 import com.android.tv.MainActivity; 32 private MainActivity mActivity; 41 if (activity instanceof MainActivity) { in onAttach() 42 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/services/Car/TrustAgent/src/com/android/car/trust/ |
D | MainActivity.java | 28 public class MainActivity extends Activity { class 46 Intent intent = new Intent(MainActivity.this /* context */, in onCreate() 55 Intent intent = new Intent(MainActivity.this /* context */, in onCreate() 64 Intent intent = new Intent(MainActivity.this /* context */, in onCreate()
|
/packages/apps/TV/src/com/android/tv/menu/ |
D | ItemListRowView.java | 29 import com.android.tv.MainActivity; 120 private final MainActivity mMainActivity; 127 mMainActivity = (MainActivity) context; in ItemListAdapter() 157 protected MainActivity getMainActivity() { in getMainActivity()
|
D | MenuRowFactory.java | 23 import com.android.tv.MainActivity; 35 private final MainActivity mMainActivity; 42 public MenuRowFactory(MainActivity mainActivity, TunableTvView tvView) { in MenuRowFactory()
|
D | ChannelCardView.java | 30 import com.android.tv.MainActivity; 55 private final MainActivity mMainActivity; 69 mMainActivity = (MainActivity) context; in ChannelCardView()
|
/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; 83 public static String getDescription(MainActivity tvActivity) { in getDescription() 363 private final MainActivity mMainActivity; 365 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/Dialer/java/com/android/dialer/main/impl/ |
D | MainImpl.java | 65 new ComponentName(context, MainActivity.class), in enableComponent() 75 .setIntent(MainActivity.getIntent(context)) in createLauncherShortcutO() 87 intent.putExtra(Intent.EXTRA_SHORTCUT_INTENT, MainActivity.getIntent(context)); in createLauncherShortcutPreO()
|
/packages/apps/TV/tests/unit/src/com/android/tv/ |
D | BaseMainActivityTestCase.java | 46 public ActivityTestRule<MainActivity> mActivityTestRule = 47 new ActivityTestRule<>(MainActivity.class); 51 protected MainActivity mActivity;
|
/packages/apps/TV/src/com/android/tv/dvr/recorder/ |
D | ConflictChecker.java | 34 import com.android.tv.MainActivity; 77 private final MainActivity mMainActivity; 119 public ConflictChecker(MainActivity mainActivity) { in ConflictChecker()
|
/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();
|
/packages/apps/TV/src/com/android/tv/ui/sidepanel/ |
D | SideFragment.java | 32 import com.android.tv.MainActivity; 167 protected MainActivity getMainActivity() { in getMainActivity() 168 return (MainActivity) getActivity(); in getMainActivity()
|