/packages/apps/TV/src/com/android/tv/ui/ |
D | TvOverlayManager.java | 38 import com.android.tv.MainActivity; 39 import com.android.tv.MainActivity.KeyHandlerResultType; 203 private final MainActivity mMainActivity; 232 MainActivity mainActivity, in TvOverlayManager() 921 mTracker.sendScreenView(MainActivity.SCREEN_NAME); in onOverlayClosed() 978 return MainActivity.KEY_EVENT_HANDLER_RESULT_HANDLED; in onKeyDown() 983 return MainActivity.KEY_EVENT_HANDLER_RESULT_HANDLED; in onKeyDown() 990 return MainActivity.KEY_EVENT_HANDLER_RESULT_DISPATCH_TO_OVERLAY; in onKeyDown() 994 ? MainActivity.KEY_EVENT_HANDLER_RESULT_HANDLED in onKeyDown() 995 : 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()
|
/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 | 72 import com.android.tv.MainActivity.MySingletons; 191 public class MainActivity extends Activity class 462 GtvUtils.broadcastInputId(MainActivity.this, currentChannel.getInputId()); 475 && CommonPreferences.shouldShowSetupActivity(MainActivity.this)) { 483 .createSetupIntent(MainActivity.this); 485 CommonPreferences.setShouldShowSetupActivity(MainActivity.this, false); 719 Intent nowPlayingIntent = new Intent(this, MainActivity.class); in onCreate() 887 MainActivity.this, failedScheduledRecordingInfoSet)); in onResume() 1349 Utils.setLastWatchedChannel(MainActivity.this, channel); in endShrunkenTvView() 1394 Toast.makeText(MainActivity.this, text, Toast.LENGTH_SHORT).show(); in onActivityResult() [all …]
|
/packages/services/Telephony/testapps/TestRcsApp/TestApp/src/com/google/android/sample/rcsclient/ |
D | MainActivity.java | 33 public class MainActivity extends AppCompatActivity { class 61 MainActivity.this.startActivity(intent); in onCreate() 66 MainActivity.this.startActivity(intent); in onCreate() 71 MainActivity.this.startActivity(intent); in onCreate() 76 MainActivity.this.startActivity(intent); in onCreate() 80 MainActivity.this.startActivity(intent); in onCreate() 84 MainActivity.this.startActivity(intent); in onCreate()
|
/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/src/com/android/tv/dvr/ui/ |
D | DvrHalfSizedDialogFragment.java | 29 import com.android.tv.MainActivity; 54 if (activity instanceof MainActivity) { in onAttach() 56 ((MainActivity) activity).getOverlayManager().getProgramGuide(); in onAttach() 67 if (activity instanceof MainActivity) { in onDetach() 69 ((MainActivity) activity).getOverlayManager().getProgramGuide(); in onDetach()
|
D | DvrConflictFragment.java | 32 import com.android.tv.MainActivity; 302 ConflictChecker checker = ((MainActivity) getContext()).getDvrConflictChecker(); in onCreateView() 352 ConflictChecker checker = ((MainActivity) getContext()).getDvrConflictChecker(); in onTrackedGuidedActionClicked() 387 ConflictChecker checker = ((MainActivity) getContext()).getDvrConflictChecker(); in onDetach() 396 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 | 42 import com.android.tv.MainActivity; 154 public static void showChannelWatchConflictDialog(MainActivity activity, Channel channel) { in showChannelWatchConflictDialog() 165 MainActivity activity, Set<String> failedScheduledRecordingInfoSet) { in showDvrInsufficientSpaceErrorDialog() 357 if (activity instanceof MainActivity) { in showDialogFragment() 358 ((MainActivity) activity) in showDialogFragment() 372 public static boolean isChannelWatchConflictDialogShown(MainActivity activity) { in isChannelWatchConflictDialogShown()
|
/packages/apps/TV/tests/robotests/src/com/android/tv/ |
D | MainActivityRoboTest.java | 133 MainActivity.findBestCaptionTrackIndex( in testFindBestCaptionTrack_bestTrackMatch() 148 MainActivity.findBestCaptionTrackIndex( in testFindBestCaptionTrack_selectedLanguageMatch() 163 MainActivity.findBestCaptionTrackIndex( in testFindBestCaptionTrack_preferredLanguageMatch() 178 MainActivity.findBestCaptionTrackIndex( in testFindBestCaptionTrack_higherPriorityPreferredLanguageMatch() 193 MainActivity.findBestCaptionTrackIndex( in testFindBestCaptionTrack_noMatch() 217 public static class FakeMainActivity extends MainActivity {
|
/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 | MenuRowFactory.java | 23 import com.android.tv.MainActivity; 42 MenuRowFactory create(MainActivity mainActivity, TunableTvView tvView); in create() 45 private final MainActivity mMainActivity; 52 MainActivity mainActivity, in MenuRowFactory()
|
D | ItemListRowView.java | 28 import com.android.tv.MainActivity; 128 private final MainActivity mMainActivity; 135 mMainActivity = (MainActivity) context; in ItemListAdapter() 160 protected MainActivity getMainActivity() { in getMainActivity()
|
D | ChannelCardView.java | 30 import com.android.tv.MainActivity; 53 private final MainActivity mMainActivity; 67 mMainActivity = (MainActivity) context; in ChannelCardView()
|
/packages/services/Car/tests/NetworkPreferenceApp/src/com/google/android/car/networking/preferenceupdater/ |
D | MainActivity.java | 31 public final class MainActivity extends FragmentActivity { class 32 private static final String TAG = MainActivity.class.getSimpleName(); 37 add("Quit", MainActivity.this::finish); 133 MainActivity.this.showFragment(fragment); in onClick()
|
/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 | 29 import com.android.tv.MainActivity; 92 public static String getDescription(MainActivity tvActivity) { in getDescription() 387 private final MainActivity mMainActivity; 389 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 | 28 public class MainActivity extends FragmentActivity { class 34 add("Quit", MainActivity.this::finish); 136 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();
|