Home
last modified time | relevance | path

Searched refs:addAction (Results 1 – 25 of 44) sorted by relevance

12

/development/samples/browseable/Notifications/Application/src/com.example.android.support.wearable.notifications/
DActionsPresets.java58 builder.addAction(R.drawable.ic_full_action, in apply()
74 builder.addAction(R.drawable.ic_full_action, in apply()
100 builder.addAction(action); in apply()
124 wearableOptions.addAction(action); in apply()
142 builder.addAction(phoneAction); in apply()
155 wearableOptions.addAction(wearableAction); in apply()
/development/samples/ShortcutDemo/launcher/src/com/example/android/pm/shortcutlauncherdemo/
DMyBaseListFragment.java50 sProfileFilter.addAction(Intent.ACTION_MANAGED_PROFILE_ADDED);
51 sProfileFilter.addAction(Intent.ACTION_MANAGED_PROFILE_AVAILABLE);
52 sProfileFilter.addAction(Intent.ACTION_MANAGED_PROFILE_REMOVED);
53 sProfileFilter.addAction(Intent.ACTION_MANAGED_PROFILE_UNAVAILABLE);
54 sProfileFilter.addAction(Intent.ACTION_MANAGED_PROFILE_UNLOCKED);
/development/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/
DBatchStepSensorFragment.java524 .addAction("Unregister Listener", ACTION_UNREGISTER, Card.ACTION_NEGATIVE) in initialiseCards()
532 .addAction(getString(R.string.register_0), in initialiseCards()
534 .addAction(getString(R.string.register_5), in initialiseCards()
536 .addAction(getString(R.string.register_10), in initialiseCards()
545 .addAction(getString(R.string.register_0), in initialiseCards()
547 .addAction(getString(R.string.register_5), in initialiseCards()
549 .addAction(getString(R.string.register_10), in initialiseCards()
559 .addAction(getString(R.string.action_notagain), in initialiseCards()
567 .addAction(getString(R.string.action_notagain), in initialiseCards()
/development/samples/MultiDisplay/src/com/example/android/multidisplay/launcher/
DAppListViewModel.java109 filter.addAction(Intent.ACTION_PACKAGE_REMOVED); in PackageIntentReceiver()
110 filter.addAction(Intent.ACTION_PACKAGE_CHANGED); in PackageIntentReceiver()
116 sdFilter.addAction(Intent.ACTION_EXTERNAL_APPLICATIONS_AVAILABLE); in PackageIntentReceiver()
117 sdFilter.addAction(Intent.ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE); in PackageIntentReceiver()
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/
DMediaNotificationManager.java113 filter.addAction(ACTION_NEXT); in startNotification()
114 filter.addAction(ACTION_PAUSE); in startNotification()
115 filter.addAction(ACTION_PLAY); in startNotification()
116 filter.addAction(ACTION_PREV); in startNotification()
237 notificationBuilder.addAction(R.drawable.ic_skip_previous_white_24dp, in createNotification()
251 notificationBuilder.addAction(R.drawable.ic_skip_next_white_24dp, in createNotification()
309 builder.addAction(new Notification.Action(icon, label, intent)); in addPlayPauseAction()
/development/samples/browseable/MediaRouter/src/com.example.android.mediarouter/provider/
DSampleMediaRouteProvider.java92 f1.addAction(ACTION_GET_STATISTICS);
96 f2.addAction(MediaControlIntent.ACTION_PLAY);
105 f3.addAction(MediaControlIntent.ACTION_SEEK);
106 f3.addAction(MediaControlIntent.ACTION_GET_STATUS);
107 f3.addAction(MediaControlIntent.ACTION_PAUSE);
108 f3.addAction(MediaControlIntent.ACTION_RESUME);
109 f3.addAction(MediaControlIntent.ACTION_STOP);
113 f4.addAction(MediaControlIntent.ACTION_ENQUEUE);
122 f5.addAction(MediaControlIntent.ACTION_REMOVE);
126 f6.addAction(MediaControlIntent.ACTION_START_SESSION);
[all …]
/development/samples/browseable/Notifications/Wearable/src/com.example.android.support.wearable.notifications/
DNotificationPresets.java93 .addAction(new Notification.Action(R.mipmap.ic_launcher, in buildNotification()
95 .addAction(new Notification.Action.Builder(R.mipmap.ic_launcher, in buildNotification()
217 .addAction(new Notification.Action(R.mipmap.ic_launcher, in buildNotification()
219 .addAction(new Notification.Action(R.mipmap.ic_launcher, in buildNotification()
221 .addAction(new Notification.Action(R.mipmap.ic_launcher, in buildNotification()
223 .addAction(new Notification.Action(R.mipmap.ic_launcher, in buildNotification()
/development/samples/WiFiDirectDemo/src/com/example/android/wifidirect/
DWiFiDirectActivity.java127 intentFilter.addAction(WifiP2pManager.WIFI_P2P_STATE_CHANGED_ACTION); in onCreate()
128 intentFilter.addAction(WifiP2pManager.WIFI_P2P_PEERS_CHANGED_ACTION); in onCreate()
129 intentFilter.addAction(WifiP2pManager.WIFI_P2P_CONNECTION_CHANGED_ACTION); in onCreate()
130 intentFilter.addAction(WifiP2pManager.WIFI_P2P_THIS_DEVICE_CHANGED_ACTION); in onCreate()
/development/samples/browseable/WearNotifications/Wearable/src/com.example.android.wearable.wear.wearnotifications/handlers/
DBigTextIntentService.java200 .addAction(snoozeAction) in recreateBuilderWithBigTextStyle()
201 .addAction(dismissAction); in recreateBuilderWithBigTextStyle()
218 notificationCompatBuilder.addAction(mainAction); in recreateBuilderWithBigTextStyle()
/development/samples/browseable/BluetoothLeGatt/src/com.example.android.bluetoothlegatt/
DDeviceControlActivity.java303 intentFilter.addAction(BluetoothLeService.ACTION_GATT_CONNECTED); in makeGattUpdateIntentFilter()
304 intentFilter.addAction(BluetoothLeService.ACTION_GATT_DISCONNECTED); in makeGattUpdateIntentFilter()
305 intentFilter.addAction(BluetoothLeService.ACTION_GATT_SERVICES_DISCOVERED); in makeGattUpdateIntentFilter()
306 intentFilter.addAction(BluetoothLeService.ACTION_DATA_AVAILABLE); in makeGattUpdateIntentFilter()
/development/samples/WiFiDirectServiceDiscovery/src/com/example/android/wifidirect/discovery/
DWiFiServiceDiscoveryActivity.java146 intentFilter.addAction(WifiP2pManager.WIFI_P2P_STATE_CHANGED_ACTION); in onCreate()
147 intentFilter.addAction(WifiP2pManager.WIFI_P2P_PEERS_CHANGED_ACTION); in onCreate()
149 .addAction(WifiP2pManager.WIFI_P2P_CONNECTION_CHANGED_ACTION); in onCreate()
151 .addAction(WifiP2pManager.WIFI_P2P_THIS_DEVICE_CHANGED_ACTION); in onCreate()
/development/samples/browseable/WearNotifications/Wearable/src/com.example.android.wearable.wear.wearnotifications/
DStandaloneMainActivity.java283 .addAction(snoozeAction) in generateBigTextStyleNotification()
284 .addAction(dismissAction); in generateBigTextStyleNotification()
301 notificationCompatBuilder.addAction(mainAction); in generateBigTextStyleNotification()
435 .addAction(replyAction) in generateBigPictureStyleNotification()
697 .addAction(replyAction) in generateMessagingStyleNotification()
/development/samples/ApiDemos/src/com/example/android/apis/app/
DLoaderCustom.java189 filter.addAction(Intent.ACTION_PACKAGE_REMOVED); in PackageIntentReceiver()
190 filter.addAction(Intent.ACTION_PACKAGE_CHANGED); in PackageIntentReceiver()
195 sdFilter.addAction(Intent.ACTION_EXTERNAL_APPLICATIONS_AVAILABLE); in PackageIntentReceiver()
196 sdFilter.addAction(Intent.ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE); in PackageIntentReceiver()
/development/samples/training/notify-user/src/com/example/android/pingme/
DPingService.java99 .addAction (R.drawable.ic_stat_dismiss, in issueNotification()
101 .addAction (R.drawable.ic_stat_snooze, in issueNotification()
/development/samples/browseable/WearNotifications/Application/src/com.example.android.wearable.wear.wearnotifications/handlers/
DBigTextIntentService.java201 .addAction(snoozeAction) in recreateBuilderWithBigTextStyle()
202 .addAction(dismissAction); in recreateBuilderWithBigTextStyle()
/development/samples/ApiDemos/src/com/example/android/apis/accessibility/
DClockBackService.java365 filter.addAction(AudioManager.RINGER_MODE_CHANGED_ACTION); in registerBroadCastReceiver()
366 filter.addAction(Intent.ACTION_SCREEN_ON); in registerBroadCastReceiver()
367 filter.addAction(Intent.ACTION_SCREEN_OFF); in registerBroadCastReceiver()
/development/samples/browseable/WearNotifications/Application/src/com.example.android.wearable.wear.wearnotifications/
DMainActivity.java316 .addAction(snoozeAction) in generateBigTextStyleNotification()
317 .addAction(dismissAction) in generateBigTextStyleNotification()
470 .addAction(replyAction) in generateBigPictureStyleNotification()
791 .addAction(replyAction) in generateMessagingStyleNotification()
/development/samples/USB/AdbTest/src/com/android/adb/
DAdbTestActivity.java69 filter.addAction(UsbManager.ACTION_USB_DEVICE_ATTACHED); in onCreate()
70 filter.addAction(UsbManager.ACTION_USB_DEVICE_DETACHED); in onCreate()
/development/samples/browseable/Timer/src/com.example.android.wearable.timer/
DSetTimerActivity.java152 .addAction(R.drawable.ic_cc_alarm, getString(R.string.timer_restart), in buildNotification()
154 .addAction(R.drawable.ic_cc_alarm, getString(R.string.timer_delete), in buildNotification()
/development/apps/Development/src/com/android/development/
DPackageBrowser.java181 filter.addAction(Intent.ACTION_PACKAGE_REMOVED); in registerIntentReceivers()
182 filter.addAction(Intent.ACTION_PACKAGE_CHANGED); in registerIntentReceivers()
DConnectivity.java465 mIntentFilter.addAction(WifiManager.SCAN_RESULTS_AVAILABLE_ACTION); in onCreate()
485 broadcastFilter.addAction(CONNECTIVITY_ACTION); in onCreate()
486 broadcastFilter.addAction(CONNECTIVITY_TEST_ALARM); in onCreate()
487 broadcastFilter.addAction(INET_CONDITION_ACTION); in onCreate()
488 broadcastFilter.addAction(NETWORK_CONDITIONS_MEASURED); in onCreate()
/development/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/cardstream/
DCard.java273 private void addAction(String label, int id, int type) { in addAction() method in Card
422 public Builder addAction(String label, int id, int type) { in addAction() method in Card.Builder
423 mCard.addAction(label, id, type); in addAction()
/development/samples/ApiDemos/src/com/example/android/apis/content/
DExternalStorage.java167 filter.addAction(Intent.ACTION_MEDIA_MOUNTED); in startWatchingExternalStorage()
168 filter.addAction(Intent.ACTION_MEDIA_REMOVED); in startWatchingExternalStorage()
/development/samples/browseable/FindMyPhone/Wearable/src/com.example.android.wearable.findphone/
DFindPhoneActivity.java61 .addAction(alarmAction) in onCreate()
/development/samples/browseable/Quiz/Wearable/src/com.example.android.wearable.quiz/
DQuizListenerService.java145 wearableOptions.addAction(action).addPage(answerPage); in onDataChanged()
195 builder.addAction(R.drawable.ic_launcher, in onMessageReceived()

12