Home
last modified time | relevance | path

Searched defs:intent (Results 1 – 25 of 248) sorted by relevance

12345678910

/development/samples/MultiWindow/src/com/example/android/multiwindow/
DLaunchingAdjacentActivity.java53 Intent intent = new Intent("android.settings.SETTINGS"); in onClick() local
60 Intent intent = newAdjacentActivityIntent(); in onClick() local
66 Intent intent = newAdjacentActivityIntent(); in onClick() local
72 Intent intent = newAdjacentActivityIntent(); in onClick() local
82 Intent intent = new Intent(this, LaunchingAdjacentActivity.class); in newAdjacentActivityIntent() local
/development/samples/browseable/MediaRouter/src/com.example.android.mediarouter/provider/
DSampleMediaRouteProvider.java285 public boolean onControlRequest(Intent intent, ControlRequestCallback callback) { in onControlRequest()
340 private boolean handlePlay(Intent intent, ControlRequestCallback callback) { in handlePlay()
352 private boolean handleEnqueue(Intent intent, ControlRequestCallback callback) { in handleEnqueue()
398 private boolean handleRemove(Intent intent, ControlRequestCallback callback) { in handleRemove()
420 private boolean handleSeek(Intent intent, ControlRequestCallback callback) { in handleSeek()
444 private boolean handleGetStatus(Intent intent, ControlRequestCallback callback) { in handleGetStatus()
463 private boolean handlePause(Intent intent, ControlRequestCallback callback) { in handlePause()
478 private boolean handleResume(Intent intent, ControlRequestCallback callback) { in handleResume()
493 private boolean handleStop(Intent intent, ControlRequestCallback callback) { in handleStop()
508 private boolean handleStartSession(Intent intent, ControlRequestCallback callback) { in handleStartSession()
[all …]
/development/samples/devbytes/telephony/SmsSampleProject/app/src/main/java/com/example/android/smssample/receiver/
DMessagingReceiver.java35 public void onReceive(Context context, Intent intent) { in onReceive()
54 private void handleIncomingSms(Context context, Intent intent) { in handleIncomingSms()
62 private void handleIncomingMms(Context context, Intent intent) { in handleIncomingMms()
/development/samples/ApiDemos/src/com/example/android/apis/app/
DIntents.java37 Intent intent = new Intent(Intent.ACTION_GET_CONTENT); in onGetMusic() local
43 Intent intent = new Intent(Intent.ACTION_GET_CONTENT); in onGetImage() local
49 Intent intent = new Intent(Intent.ACTION_GET_CONTENT); in onGetStream() local
DActionBarNavigation.java52 Intent intent = new Intent(this, ActionBarNavigationTarget.class); in onNewActivity() local
57 Intent intent = new Intent(this, ActionBarNavigationTarget.class); in onNewDocument() local
DLauncherShortcuts.java62 final Intent intent = getIntent(); in onCreate() local
130 Intent intent = new Intent(); in setupShortcut() local
/development/samples/browseable/XYZTouristAttractions/Application/src/com.example.android.xyztouristattractions/service/
DUtilityService.java87 Intent intent = new Intent(context, UtilityService.class); in triggerWearTest() local
94 Intent intent = new Intent(context, UtilityService.class); in addGeofences() local
100 Intent intent = new Intent(context, UtilityService.class); in requestLocation() local
106 Intent intent = new Intent(context, UtilityService.class); in clearNotification() local
112 Intent intent = new Intent(context, UtilityService.class); in getClearRemoteNotificationsIntent() local
122 protected void onHandleIntent(Intent intent) { in onHandleIntent()
182 private void geofenceTriggered(Intent intent) { in geofenceTriggered()
255 private void locationUpdated(Intent intent) { in locationUpdated()
DListenerService.java46 Intent intent = DetailActivity.getLaunchIntent(this, attractionName); in onMessageReceived() local
54 Intent intent = new Intent(Intent.ACTION_VIEW, uri); in onMessageReceived() local
/development/samples/browseable/ElizaChat/src/com.example.android.wearable.elizachat/
DResponderService.java67 public IBinder onBind(Intent intent) { in onBind()
72 public int onStartCommand(Intent intent, int flags, int startId) { in onStartCommand()
101 Intent intent = new Intent(ACTION_RESPONSE); in showNotification() local
134 Intent intent = new Intent(MainActivity.ACTION_NOTIFY); in broadcastMessage() local
/development/samples/browseable/MultiWindowPlayground/src/com/android.multiwindowplayground/
DMainActivity.java59 Intent intent = new Intent(this, UnresizableActivity.class); in onStartUnresizableClick() local
80 Intent intent = new Intent(this, AdjacentActivity.class); in onStartAdjacentActivity() local
96 Intent intent = new Intent(this, LaunchBoundsActivity.class); in onStartLaunchBoundsActivity() local
/development/samples/browseable/XYZTouristAttractions/Wearable/src/com.example.android.xyztouristattractions/service/
DUtilityService.java54 Intent intent = new Intent(context, UtilityService.class); in clearNotification() local
64 Intent intent = new Intent(context, UtilityService.class); in getClearRemoteNotificationsIntent() local
78 Intent intent = new Intent(context, UtilityService.class); in startDeviceActivity() local
96 protected void onHandleIntent(Intent intent) { in onHandleIntent()
/development/samples/training/basic/ActivityLifecycle/src/com/example/android/lifecycle/
DActivityB.java90 Intent intent = new Intent(ActivityB.this, DialogActivity.class); in startDialog() local
95 Intent intent = new Intent(ActivityB.this, ActivityA.class); in startActivityA() local
100 Intent intent = new Intent(ActivityB.this, ActivityC.class); in startActivityC() local
DActivityA.java91 Intent intent = new Intent(ActivityA.this, DialogActivity.class); in startDialog() local
96 Intent intent = new Intent(ActivityA.this, ActivityB.class); in startActivityB() local
101 Intent intent = new Intent(ActivityA.this, ActivityC.class); in startActivityC() local
DActivityC.java90 Intent intent = new Intent(ActivityC.this, DialogActivity.class); in startDialog() local
95 Intent intent = new Intent(ActivityC.this, ActivityA.class); in startActivityA() local
100 Intent intent = new Intent(ActivityC.this, ActivityB.class); in startActivityB() local
/development/samples/ApiDemos/src/com/example/android/apis/nfc/
DTechFilter.java38 Intent intent = getIntent(); in onCreate() local
48 public void onNewIntent(Intent intent) { in onNewIntent()
/development/samples/ShortcutSample/src/com/example/android/shortcutsample/
DMyReceiver.java32 public void onReceive(Context context, Intent intent) { in onReceive()
45 final Intent intent = new Intent(ACTION_PIN_REQUEST_ACCEPTED); in getPinRequestAcceptedIntent() local
/development/samples/browseable/RecipeAssistant/Application/src/com.example.android.wearable.recipeassistant/
DRecipeService.java47 public IBinder onBind(Intent intent) { in onBind()
52 public int onStartCommand(Intent intent, int flags, int startId) { in onStartCommand()
60 private void createNotification(Intent intent) { in createNotification()
/development/samples/AndroidBeamDemo/src/com/example/android/beam/
DBeam.java124 public void onNewIntent(Intent intent) { in onNewIntent()
132 void processIntent(Intent intent) { in processIntent()
156 Intent intent = new Intent(Settings.ACTION_NFCSHARING_SETTINGS); in onOptionsItemSelected() local
/development/samples/training/notify-user/src/com/example/android/pingme/
DResultActivity.java39 Intent intent = new Intent(getApplicationContext(), PingService.class); in onSnoozeClick() local
45 Intent intent = new Intent(getApplicationContext(), PingService.class); in onDismissClick() local
/development/samples/browseable/WearNotifications/Application/src/com.example.android.wearable.wear.wearnotifications/handlers/
DBigPictureSocialIntentService.java56 protected void onHandleIntent(Intent intent) { in onHandleIntent()
121 private CharSequence getMessage(Intent intent) { in getMessage()
182 Intent intent = new Intent(this, BigPictureSocialIntentService.class); in recreateBuilderWithBigPictureStyle() local
DMessagingIntentService.java57 protected void onHandleIntent(Intent intent) { in onHandleIntent()
132 private CharSequence getMessage(Intent intent) { in getMessage()
214 Intent intent = new Intent(this, MessagingIntentService.class); in recreateBuilderWithMessagingStyle() local
/development/apps/Development/src/com/android/development/
DBadBehaviorActivity.java55 public void onReceive(Context context, Intent intent) { in onReceive()
64 public IBinder onBind(Intent intent) { in onBind()
69 public int onStartCommand(Intent intent, int flags, int id) { in onStartCommand()
83 public boolean activityStarting(Intent intent, String pkg) { in activityStarting()
128 public void onReceive(Context context, Intent intent) { in onReceive()
/development/samples/browseable/MessagingService/src/com.example.android.messagingservice/
DMessageReplyReceiver.java40 public void onReceive(Context context, Intent intent) { in onReceive()
68 private CharSequence getMessageText(Intent intent) { in getMessageText()
/development/samples/browseable/BluetoothLeGatt/src/com.example.android.bluetoothlegatt/
DBluetoothLeService.java118 final Intent intent = new Intent(action); in broadcastUpdate() local
124 final Intent intent = new Intent(action); in broadcastUpdate() local
162 public IBinder onBind(Intent intent) { in onBind()
167 public boolean onUnbind(Intent intent) { in onUnbind()
/development/samples/DataWiper/src/com.example.android.datawiper/
DMyAdmin.java41 public void onEnabled(Context context, Intent intent) { in onEnabled()
46 public void onDisabled(Context context, Intent intent) { in onDisabled()

12345678910