/packages/apps/TV/src/com/android/tv/ui/ |
D | TvOverlayManager.java | 37 import com.android.tv.MainActivity; 38 import com.android.tv.MainActivity.KeyHandlerResultType; 195 private final MainActivity mMainActivity; 223 MainActivity mainActivity, in TvOverlayManager() 907 mTracker.sendScreenView(MainActivity.SCREEN_NAME); in onOverlayClosed() 964 return MainActivity.KEY_EVENT_HANDLER_RESULT_HANDLED; in onKeyDown() 969 return MainActivity.KEY_EVENT_HANDLER_RESULT_HANDLED; in onKeyDown() 976 return MainActivity.KEY_EVENT_HANDLER_RESULT_DISPATCH_TO_OVERLAY; in onKeyDown() 980 ? MainActivity.KEY_EVENT_HANDLER_RESULT_HANDLED in onKeyDown() 981 : MainActivity.KEY_EVENT_HANDLER_RESULT_NOT_HANDLED; in onKeyDown() [all …]
|
D | InputBannerView.java | 26 import com.android.tv.MainActivity; 35 ((MainActivity) getContext()) 68 MainActivity mainActivity = (MainActivity) getContext(); in updateLabel()
|
D | FullscreenDialogView.java | 29 import com.android.tv.MainActivity; 42 private MainActivity mActivity; 75 protected MainActivity getActivity() { in getActivity() 90 public void initialize(MainActivity activity, Dialog dialog) { in initialize()
|
D | TvTransitionManager.java | 33 import com.android.tv.MainActivity; 56 private final MainActivity mMainActivity; 78 MainActivity mainActivity, in TvTransitionManager()
|
/packages/apps/TV/src/com/android/tv/ |
D | MainActivityWrapper.java | 32 private MainActivity mActivity; 40 MainActivity getMainActivity() { in getMainActivity() 45 boolean isCurrent(MainActivity activity) { in isCurrent() 50 public void onMainActivityCreated(@NonNull MainActivity activity) { in onMainActivityCreated() 55 public void onMainActivityDestroyed(@NonNull MainActivity activity) { in onMainActivityDestroyed() 62 void notifyCurrentChannelChange(@NonNull MainActivity caller, @Nullable Channel channel) { in notifyCurrentChannelChange()
|
D | MainActivity.java | 68 import com.android.tv.MainActivity.MySingletons; 170 public class MainActivity extends Activity class 444 && CommonPreferences.shouldShowSetupActivity(MainActivity.this)) { 452 .createSetupIntent(MainActivity.this); 454 CommonPreferences.setShouldShowSetupActivity(MainActivity.this, false); 690 Intent nowPlayingIntent = new Intent(this, MainActivity.class); in onCreate() 871 MainActivity.this, failedScheduledRecordingInfoSet)); in onResume() 1325 Utils.setLastWatchedChannel(MainActivity.this, channel); in endShrunkenTvView() 1370 Toast.makeText(MainActivity.this, text, Toast.LENGTH_SHORT).show(); in onActivityResult() 1394 Toast.makeText(MainActivity.this, errorMessage, Toast.LENGTH_SHORT).show(); in onActivityResult() [all …]
|
/packages/apps/TV/src/com/android/tv/dvr/ui/ |
D | DvrHalfSizedDialogFragment.java | 28 import com.android.tv.MainActivity; 52 if (activity instanceof MainActivity) { in onAttach() 54 ((MainActivity) activity).getOverlayManager().getProgramGuide(); in onAttach() 65 if (activity instanceof MainActivity) { in onDetach() 67 ((MainActivity) activity).getOverlayManager().getProgramGuide(); in onDetach()
|
D | DvrConflictFragment.java | 30 import com.android.tv.MainActivity; 295 ConflictChecker checker = ((MainActivity) getContext()).getDvrConflictChecker(); in onCreateView() 345 ConflictChecker checker = ((MainActivity) getContext()).getDvrConflictChecker(); in onTrackedGuidedActionClicked() 380 ConflictChecker checker = ((MainActivity) getContext()).getDvrConflictChecker(); in onDetach() 389 ConflictChecker checker = ((MainActivity) getContext()).getDvrConflictChecker(); in onUpcomingConflictChange()
|
D | DvrGuidedStepFragment.java | 29 import com.android.tv.MainActivity; 101 if (getActivity() instanceof MainActivity) { in dismissDialog() 103 ((MainActivity) getActivity()).getOverlayManager().getCurrentDialog(); in dismissDialog()
|
D | DvrUiHelper.java | 41 import com.android.tv.MainActivity; 152 public static void showChannelWatchConflictDialog(MainActivity activity, Channel channel) { in showChannelWatchConflictDialog() 163 MainActivity activity, Set<String> failedScheduledRecordingInfoSet) { in showDvrInsufficientSpaceErrorDialog() 351 if (activity instanceof MainActivity) { in showDialogFragment() 352 ((MainActivity) activity) in showDialogFragment() 366 public static boolean isChannelWatchConflictDialogShown(MainActivity activity) { in isChannelWatchConflictDialogShown()
|
/packages/apps/TV/src/com/android/tv/dialog/ |
D | SafeDismissDialogFragment.java | 21 import com.android.tv.MainActivity; 28 private MainActivity mActivity; 37 if (activity instanceof MainActivity) { in onAttach() 38 mActivity = (MainActivity) activity; in onAttach()
|
D | FullscreenDialogFragment.java | 26 import com.android.tv.MainActivity; 62 mDialogView.initialize((MainActivity) getActivity(), dialog); in onCreateDialog() 103 void initialize(MainActivity activity, Dialog dialog); in initialize()
|
/packages/apps/TV/tests/common/src/com/android/tv/testing/activities/ |
D | BaseMainActivityTestCase.java | 24 import com.android.tv.MainActivity; 42 public ActivityTestRule<MainActivity> mActivityTestRule = 43 new ActivityTestRule<>(MainActivity.class); 47 protected MainActivity mActivity;
|
/packages/apps/TV/src/com/android/tv/menu/ |
D | ItemListRowView.java | 28 import com.android.tv.MainActivity; 119 private final MainActivity mMainActivity; 126 mMainActivity = (MainActivity) context; in ItemListAdapter() 151 protected MainActivity getMainActivity() { in getMainActivity()
|
D | MenuRowFactory.java | 22 import com.android.tv.MainActivity; 31 private final MainActivity mMainActivity; 36 public MenuRowFactory(MainActivity mainActivity, TunableTvView tvView) { in MenuRowFactory()
|
D | ChannelCardView.java | 29 import com.android.tv.MainActivity; 51 private final MainActivity mMainActivity; 65 mMainActivity = (MainActivity) context; in ChannelCardView()
|
/packages/apps/TV/src/com/android/tv/ui/sidepanel/parentalcontrols/ |
D | RatingSystemsFragment.java | 20 import com.android.tv.MainActivity; 41 setDefaultRatingSystemsIfNeeded((MainActivity) getActivity()); in onCreate() 44 public static String getDescription(MainActivity tvActivity) { in getDescription() 130 private static void setDefaultRatingSystemsIfNeeded(MainActivity tvActivity) { in setDefaultRatingSystemsIfNeeded()
|
D | RatingsFragment.java | 27 import com.android.tv.MainActivity; 81 public static String getDescription(MainActivity tvActivity) { in getDescription() 370 private final MainActivity mMainActivity; 372 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/services/Car/tests/GarageModeTestApp/src/com/google/android/car/garagemode/testapp/ |
D | MainActivity.java | 27 public class MainActivity extends FragmentActivity { class 34 add("Quit", MainActivity.this::finish); 135 MainActivity.this.showFragment(fragment); in onClick()
|
/packages/apps/SampleLocationAttribution/src/com/example/android/locationattribution/ |
D | MainActivity.java | 51 public class MainActivity extends AppCompatActivity { class 97 if (ActivityCompat.shouldShowRequestPermissionRationale(MainActivity.this, in createModifyLocationSettingsButtonClickListener() 117 if (ActivityCompat.shouldShowRequestPermissionRationale(MainActivity.this, in createModifyLocationSettingsButtonClickListener()
|
/packages/apps/TV/src/com/android/tv/dvr/recorder/ |
D | ConflictChecker.java | 32 import com.android.tv.MainActivity; 76 private final MainActivity mMainActivity; 134 public ConflictChecker(MainActivity mainActivity) { in ConflictChecker()
|
/packages/apps/TV/src/com/android/tv/search/ |
D | ProgramGuideSearchFragment.java | 41 import com.android.tv.MainActivity; 147 private MainActivity mMainActivity; 157 mMainActivity = (MainActivity) getActivity();
|
/packages/apps/TV/src/com/android/tv/modules/ |
D | TvApplicationModule.java | 19 import com.android.tv.MainActivity; 38 MainActivity.Module.class,
|
/packages/apps/TV/src/com/android/tv/ui/sidepanel/ |
D | SideFragment.java | 31 import com.android.tv.MainActivity; 166 protected MainActivity getMainActivity() { in getMainActivity() 167 return (MainActivity) getActivity(); in getMainActivity()
|