Home
last modified time | relevance | path

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

123456789

/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/Support7Demos/src/com/example/android/supportv7/media/
DSampleMediaRouteProvider.java302 public boolean onControlRequest(Intent intent, ControlRequestCallback callback) { in onControlRequest()
361 private boolean handlePlay(Intent intent, ControlRequestCallback callback) { in handlePlay()
373 private boolean handleEnqueue(Intent intent, ControlRequestCallback callback) { in handleEnqueue()
419 private boolean handleRemove(Intent intent, ControlRequestCallback callback) { in handleRemove()
441 private boolean handleSeek(Intent intent, ControlRequestCallback callback) { in handleSeek()
465 private boolean handleGetStatus(Intent intent, ControlRequestCallback callback) { in handleGetStatus()
484 private boolean handlePause(Intent intent, ControlRequestCallback callback) { in handlePause()
499 private boolean handleResume(Intent intent, ControlRequestCallback callback) { in handleResume()
514 private boolean handleStop(Intent intent, ControlRequestCallback callback) { in handleStop()
529 private boolean handleStartSession(Intent intent, ControlRequestCallback callback) { in handleStartSession()
[all …]
/development/samples/devbytes/telephony/SmsSampleProject/SmsSample/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
DForegroundService.java151 public void onStart(Intent intent, int startId) { in onStart()
156 public int onStartCommand(Intent intent, int flags, int startId) { in onStartCommand()
164 void handleCommand(Intent intent) { in handleCommand()
189 public IBinder onBind(Intent intent) { in onBind()
DLauncherShortcuts.java62 final Intent intent = getIntent(); in onCreate() local
130 Intent intent = new Intent(); in setupShortcut() local
DLocalService.java72 public int onStartCommand(Intent intent, int flags, int startId) { in onStartCommand()
89 public IBinder onBind(Intent intent) { in onBind()
/development/samples/browseable/ElizaChat/Application/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/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/browseable/MessagingService/src/com.example.android.messagingservice/
DMessageReplyReceiver.java34 public void onReceive(Context context, Intent intent) { in onReceive()
51 private CharSequence getMessageText(Intent intent) { in getMessageText()
/development/samples/training/basic/ActivityLifecycle/src/com/example/android/lifecycle/
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
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
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/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/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/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/NotePad/src/com/example/android/notepad/
DNotesList.java83 Intent intent = getIntent(); in onCreate() local
163 Intent intent = new Intent(null, getIntent().getData()); in onCreateOptionsMenu() local
214 Intent intent = new Intent(null, uri); in onPrepareOptionsMenu() local
343 Intent intent = new Intent(null, Uri.withAppendedPath(getIntent().getData(), in onCreateContextMenu() local
/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/ToyVpn/src/com/example/android/toyvpn/
DToyVpnClient.java47 Intent intent = VpnService.prepare(this); in onClick() local
59 Intent intent = new Intent(this, ToyVpnService.class) in onActivityResult() local
/development/samples/browseable/BasicContactables/src/com.example.android.basiccontactables/
DMainActivity.java48 protected void onNewIntent(Intent intent) { in onNewIntent()
57 private void handleIntent(Intent intent) { in handleIntent()
/development/cmds/monkey/src/com/android/commands/monkey/
DMonkeyActivityEvent.java48 Intent intent = new Intent(Intent.ACTION_MAIN); in getEvent() local
57 Intent intent = getEvent(); in injectEvent() local
/development/apps/Development/src/com/android/development/
DBadBehaviorActivity.java50 public void onReceive(Context context, Intent intent) { in onReceive()
59 public IBinder onBind(Intent intent) { in onBind()
64 public int onStartCommand(Intent intent, int flags, int id) { in onStartCommand()
78 public boolean activityStarting(Intent intent, String pkg) { in activityStarting()
/development/apps/BuildWidget/src/com/android/buildwidget/
DBuildWidget.java51 public void onStart(Intent intent, int startId) { in onStart()
82 public IBinder onBind(Intent intent) { in onBind()
/development/samples/TtsEngine/src/com/example/android/ttsengine/
DCheckVoiceData.java43 Intent intent = getIntent(); in onCreate() local
99 private List<String> getCheckVoiceDataFor(Intent intent) { in getCheckVoiceDataFor()

123456789