Home | History | Annotate | Download | only in tv

Lines Matching defs:Intent

28 import android.content.Intent;
207 SYSTEM_INTENT_FILTER.addAction(Intent.ACTION_SCREEN_OFF);
208 SYSTEM_INTENT_FILTER.addAction(Intent.ACTION_SCREEN_ON);
209 SYSTEM_INTENT_FILTER.addAction(Intent.ACTION_TIME_CHANGED);
313 public void onReceive(Context context, Intent intent) {
314 switch (intent.getAction()) {
315 case Intent.ACTION_SCREEN_OFF:
325 case Intent.ACTION_SCREEN_ON:
340 case Intent.ACTION_TIME_CHANGED:
418 Intent intent =
421 startActivity(intent);
471 Intent.ACTION_VIEW.equals(getIntent().getAction()) && isPassthroughInput;
660 Intent nowPlayingIntent = new Intent(this, MainActivity.class);
717 Intent intent = getIntent();
719 startActivity(intent);
763 protected void onNewIntent(Intent intent) {
765 Log.d(TAG, "onNewIntent(): " + intent);
768 // It's called before onCreate. The intent will be handled at onCreate. b/30725058
772 if (!handleIntent(intent) && !mActivityStarted) {
774 // Otherwise, just ignore the intent.
795 Intent notificationIntent = new Intent(this, NotificationService.class);
1064 intent, because
1065 // calling timing of the intent SCREEN_OFF is not consistent. b/25953633.
1067 // for SCREEN_OFF intent.
1106 Intent intent = CommonUtils.createSetupIntent(input);
1107 if (intent == null) {
1111 // Even though other app can handle the intent, the setup launched by Live channels
1113 intent.setComponent(new ComponentName(this, SetupPassthroughActivity.class));
1126 startActivityForResult(intent, REQUEST_CODE_START_SETUP_ACTIVITY);
1150 return Utils.isIntentAvailable(this, new Intent(Settings.ACTION_CAPTIONING_SETTINGS));
1154 Intent intent = new Intent(Settings.ACTION_CAPTIONING_SETTINGS);
1156 startActivitySafe(intent);
1246 public void startActivitySafe(Intent intent) {
1247 LauncherActivity.startActivitySafe(this, intent);
1341 public void onActivityResult(int requestCode, int resultCode, Intent data) {
1436 private boolean handleIntent(Intent intent) {
1442 mShouldTuneToTunerChannel = intent.getBooleanExtra(Utils.EXTRA_KEY_FROM_LAUNCHER, false);
1445 String extraAction = intent.getStringExtra(Utils.EXTRA_KEY_ACTION);
1457 if (TvInputManager.ACTION_SETUP_INPUTS.equals(intent.getAction())) {
1465 } else if (Intent.ACTION_VIEW.equals(intent.getAction())) {
1466 Uri uri = intent.getData();
1493 mTuneParams = intent.getExtras();
1494 String programUriString = intent.getStringExtra(SearchManager.EXTRA_DATA_KEY);
1788 // be called during the pause state by mBroadcastReceiver (Intent.ACTION_SCREEN_ON).
2567 public void startActivityForResult(Intent intent, int requestCode) {
2569 if (intent.getCategories() == null
2570 || !intent.getCategories().contains(Intent.CATEGORY_HOME)) {
2574 super.startActivityForResult(intent, requestCode);