Home
last modified time | relevance | path

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

12345678910>>...12

/frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/
DMainActivity.java62 addAction(actions, BrowseActivity.class, R.string.browse, R.string.browse_description); in onCreateActions()
63 addAction(actions, BrowseSupportActivity.class, R.string.browse_support, in onCreateActions()
65 addAction(actions, SearchActivity.class, R.string.search, R.string.search_description); in onCreateActions()
66addAction(actions, SearchSupportActivity.class, R.string.search_support, R.string.search_support_d… in onCreateActions()
67addAction(actions, DetailsActivity.class, R.string.details, R.string.details_description); in onCreateActions()
70addAction(actions, DetailsSupportActivity.class, R.string.details_support, R.string.details_suppor… in onCreateActions()
73 addAction(actions, SearchDetailsActivity.class, R.string.search_details, in onCreateActions()
77 addAction(actions, SearchDetailsSupportActivity.class, R.string.search_details_support, in onCreateActions()
81 addAction(actions, VerticalGridActivity.class, R.string.vgrid, in onCreateActions()
83 addAction(actions, VerticalGridSupportActivity.class, R.string.vgrid_support, in onCreateActions()
[all …]
/frameworks/base/tests/OneMedia/src/com/android/onemedia/
DNotificationHelper.java81 filter.addAction(RequestUtils.ACTION_FFWD); in onStart()
82 filter.addAction(RequestUtils.ACTION_NEXT); in onStart()
83 filter.addAction(RequestUtils.ACTION_PAUSE); in onStart()
84 filter.addAction(RequestUtils.ACTION_PLAY); in onStart()
85 filter.addAction(RequestUtils.ACTION_PREV); in onStart()
86 filter.addAction(RequestUtils.ACTION_REW); in onStart()
216 .addAction(R.drawable.ic_skip_previous, "Previous", in updateNotification()
218 .addAction(R.drawable.ic_fast_rewind, "Rewind", in updateNotification()
220 .addAction(playPauseIcon, playPauseLabel, in updateNotification()
222 .addAction(R.drawable.ic_fast_forward, "Fast Forward", in updateNotification()
[all …]
/frameworks/base/core/java/com/android/internal/content/
DPackageMonitor.java43 sPackageFilt.addAction(Intent.ACTION_PACKAGE_ADDED);
44 sPackageFilt.addAction(Intent.ACTION_PACKAGE_REMOVED);
45 sPackageFilt.addAction(Intent.ACTION_PACKAGE_CHANGED);
46 sPackageFilt.addAction(Intent.ACTION_QUERY_PACKAGE_RESTART);
47 sPackageFilt.addAction(Intent.ACTION_PACKAGE_RESTARTED);
48 sPackageFilt.addAction(Intent.ACTION_PACKAGE_DATA_CLEARED);
50 sNonDataFilt.addAction(Intent.ACTION_UID_REMOVED);
51 sNonDataFilt.addAction(Intent.ACTION_USER_STOPPED);
52 sNonDataFilt.addAction(Intent.ACTION_PACKAGES_SUSPENDED);
53 sNonDataFilt.addAction(Intent.ACTION_PACKAGES_UNSUSPENDED);
[all …]
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
DDocumentsApplication.java77 packageFilter.addAction(Intent.ACTION_PACKAGE_ADDED); in onCreate()
78 packageFilter.addAction(Intent.ACTION_PACKAGE_CHANGED); in onCreate()
79 packageFilter.addAction(Intent.ACTION_PACKAGE_REMOVED); in onCreate()
80 packageFilter.addAction(Intent.ACTION_PACKAGE_DATA_CLEARED); in onCreate()
85 localeFilter.addAction(Intent.ACTION_LOCALE_CHANGED); in onCreate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DSplitClockView.java73 filter.addAction(Intent.ACTION_TIME_CHANGED); in onAttachedToWindow()
74 filter.addAction(Intent.ACTION_TIMEZONE_CHANGED); in onAttachedToWindow()
75 filter.addAction(Intent.ACTION_LOCALE_CHANGED); in onAttachedToWindow()
76 filter.addAction(Intent.ACTION_CONFIGURATION_CHANGED); in onAttachedToWindow()
77 filter.addAction(Intent.ACTION_USER_SWITCHED); in onAttachedToWindow()
DDateView.java84 filter.addAction(Intent.ACTION_TIME_TICK); in onAttachedToWindow()
85 filter.addAction(Intent.ACTION_TIME_CHANGED); in onAttachedToWindow()
86 filter.addAction(Intent.ACTION_TIMEZONE_CHANGED); in onAttachedToWindow()
87 filter.addAction(Intent.ACTION_LOCALE_CHANGED); in onAttachedToWindow()
DClock.java104 filter.addAction(Intent.ACTION_TIME_TICK); in onAttachedToWindow()
105 filter.addAction(Intent.ACTION_TIME_CHANGED); in onAttachedToWindow()
106 filter.addAction(Intent.ACTION_TIMEZONE_CHANGED); in onAttachedToWindow()
107 filter.addAction(Intent.ACTION_CONFIGURATION_CHANGED); in onAttachedToWindow()
108 filter.addAction(Intent.ACTION_USER_SWITCHED); in onAttachedToWindow()
186 filter.addAction(Intent.ACTION_SCREEN_ON); in updateShowSeconds()
DBatteryControllerImpl.java69 filter.addAction(Intent.ACTION_BATTERY_CHANGED); in registerReceiver()
70 filter.addAction(PowerManager.ACTION_POWER_SAVE_MODE_CHANGED); in registerReceiver()
71 filter.addAction(PowerManager.ACTION_POWER_SAVE_MODE_CHANGING); in registerReceiver()
72 filter.addAction(ACTION_LEVEL_TEST); in registerReceiver()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DManagedProfileController.java122 filter.addAction(Intent.ACTION_USER_SWITCHED); in setListening()
123 filter.addAction(Intent.ACTION_MANAGED_PROFILE_ADDED); in setListening()
124 filter.addAction(Intent.ACTION_MANAGED_PROFILE_REMOVED); in setListening()
125 filter.addAction(Intent.ACTION_MANAGED_PROFILE_AVAILABLE); in setListening()
126 filter.addAction(Intent.ACTION_MANAGED_PROFILE_UNAVAILABLE); in setListening()
DPhoneStatusBarPolicy.java134 filter.addAction(AlarmManager.ACTION_NEXT_ALARM_CLOCK_CHANGED); in PhoneStatusBarPolicy()
135 filter.addAction(AudioManager.RINGER_MODE_CHANGED_ACTION); in PhoneStatusBarPolicy()
136 filter.addAction(AudioManager.INTERNAL_RINGER_MODE_CHANGED_ACTION); in PhoneStatusBarPolicy()
137 filter.addAction(AudioManager.ACTION_HEADSET_PLUG); in PhoneStatusBarPolicy()
138 filter.addAction(TelephonyIntents.ACTION_SIM_STATE_CHANGED); in PhoneStatusBarPolicy()
139 filter.addAction(TelecomManager.ACTION_CURRENT_TTY_MODE_CHANGED); in PhoneStatusBarPolicy()
140 filter.addAction(Intent.ACTION_MANAGED_PROFILE_AVAILABLE); in PhoneStatusBarPolicy()
141 filter.addAction(Intent.ACTION_MANAGED_PROFILE_UNAVAILABLE); in PhoneStatusBarPolicy()
142 filter.addAction(Intent.ACTION_MANAGED_PROFILE_REMOVED); in PhoneStatusBarPolicy()
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
DRegisteredMediaRouteProviderWatcher.java60 filter.addAction(Intent.ACTION_PACKAGE_ADDED); in start()
61 filter.addAction(Intent.ACTION_PACKAGE_REMOVED); in start()
62 filter.addAction(Intent.ACTION_PACKAGE_CHANGED); in start()
63 filter.addAction(Intent.ACTION_PACKAGE_REPLACED); in start()
64 filter.addAction(Intent.ACTION_PACKAGE_RESTARTED); in start()
/frameworks/base/services/core/java/com/android/server/job/controllers/
DIdleController.java134 filter.addAction(Intent.ACTION_SCREEN_ON); in startTracking()
135 filter.addAction(Intent.ACTION_SCREEN_OFF); in startTracking()
138 filter.addAction(Intent.ACTION_DREAMING_STARTED); in startTracking()
139 filter.addAction(Intent.ACTION_DREAMING_STOPPED); in startTracking()
142 filter.addAction(ActivityManagerService.ACTION_TRIGGER_IDLE); in startTracking()
DBatteryController.java138 filter.addAction(Intent.ACTION_BATTERY_LOW); in startTracking()
139 filter.addAction(Intent.ACTION_BATTERY_OKAY); in startTracking()
141 filter.addAction(BatteryManager.ACTION_CHARGING); in startTracking()
142 filter.addAction(BatteryManager.ACTION_DISCHARGING); in startTracking()
/frameworks/base/services/core/java/com/android/server/media/
DRemoteDisplayProviderWatcher.java79 filter.addAction(Intent.ACTION_PACKAGE_ADDED); in start()
80 filter.addAction(Intent.ACTION_PACKAGE_REMOVED); in start()
81 filter.addAction(Intent.ACTION_PACKAGE_CHANGED); in start()
82 filter.addAction(Intent.ACTION_PACKAGE_REPLACED); in start()
83 filter.addAction(Intent.ACTION_PACKAGE_RESTARTED); in start()
/frameworks/base/services/core/java/com/android/server/tv/
DTvRemoteProviderWatcher.java73 filter.addAction(Intent.ACTION_PACKAGE_ADDED); in start()
74 filter.addAction(Intent.ACTION_PACKAGE_REMOVED); in start()
75 filter.addAction(Intent.ACTION_PACKAGE_CHANGED); in start()
76 filter.addAction(Intent.ACTION_PACKAGE_REPLACED); in start()
77 filter.addAction(Intent.ACTION_PACKAGE_RESTARTED); in start()
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/
DMediaNotificationManager.java115 filter.addAction(ACTION_NEXT); in startNotification()
116 filter.addAction(ACTION_PAUSE); in startNotification()
117 filter.addAction(ACTION_PLAY); in startNotification()
118 filter.addAction(ACTION_PREV); in startNotification()
242 notificationBuilder.addAction(R.drawable.ic_skip_previous_white_24dp, in createNotification()
250 notificationBuilder.addAction(R.drawable.ic_skip_next_white_24dp, in createNotification()
304 builder.addAction(new NotificationCompat.Action(icon, label, intent)); in addPlayPauseAction()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DTelephonyTester.java129 filter.addAction(mPhone.getActionDetached()); in TelephonyTester()
132 filter.addAction(mPhone.getActionAttached()); in TelephonyTester()
137 filter.addAction(ACTION_TEST_CONFERENCE_EVENT_PACKAGE); in TelephonyTester()
138 filter.addAction(ACTION_TEST_DIALOG_EVENT_PACKAGE); in TelephonyTester()
139 filter.addAction(ACTION_TEST_HANDOVER_FAIL); in TelephonyTester()
DPhoneStateIntentReceiver.java126 mFilter.addAction(TelephonyManager.ACTION_PHONE_STATE_CHANGED); in notifyPhoneCallState()
136 mFilter.addAction(TelephonyIntents.ACTION_SERVICE_STATE_CHANGED); in notifyServiceState()
146 mFilter.addAction(TelephonyIntents.ACTION_SIGNAL_STRENGTH_CHANGED); in notifySignalStrength()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDcTesterFailBringUpAll.java82 filter.addAction(mActionFailBringUp); in DcTesterFailBringUpAll()
85 filter.addAction(mPhone.getActionDetached()); in DcTesterFailBringUpAll()
88 filter.addAction(mPhone.getActionAttached()); in DcTesterFailBringUpAll()
/frameworks/base/tests/BatteryWaster/src/com/android/batterywaster/
DBatteryWaster.java62 mFilter.addAction(Intent.ACTION_BATTERY_CHANGED); in onCreate()
63 mFilter.addAction(Intent.ACTION_BATTERY_LOW); in onCreate()
64 mFilter.addAction(Intent.ACTION_BATTERY_OKAY); in onCreate()
65 mFilter.addAction(Intent.ACTION_POWER_CONNECTED); in onCreate()
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/media/
DSampleMediaRouteProvider.java87 f1.addAction(ACTION_TAKE_SNAPSHOT);
91 f2.addAction(MediaControlIntent.ACTION_PLAY);
100 f3.addAction(MediaControlIntent.ACTION_SEEK);
101 f3.addAction(MediaControlIntent.ACTION_GET_STATUS);
102 f3.addAction(MediaControlIntent.ACTION_PAUSE);
103 f3.addAction(MediaControlIntent.ACTION_RESUME);
104 f3.addAction(MediaControlIntent.ACTION_STOP);
108 f4.addAction(MediaControlIntent.ACTION_ENQUEUE);
117 f5.addAction(MediaControlIntent.ACTION_REMOVE);
121 f6.addAction(MediaControlIntent.ACTION_START_SESSION);
[all …]
/frameworks/base/core/java/android/widget/
DRemoteViews.java2348 private void addAction(Action a) {
2374 addAction(new ViewGroupAction(viewId, nestedView));
2384 addAction(new ViewGroupAction(viewId, null));
2393 addAction(new ReflectionActionWithoutParams(viewId, "showNext"));
2402 addAction(new ReflectionActionWithoutParams(viewId, "showPrevious"));
2443 addAction(new TextViewSizeAction(viewId, units, size));
2457 addAction(new TextViewDrawableAction(viewId, false, left, top, right, bottom));
2472 addAction(new TextViewDrawableAction(viewId, true, start, top, end, bottom));
2494 addAction(new TextViewDrawableColorFilterAction(viewId, true, index, color, mode));
2511 addAction(new TextViewDrawableAction(viewId, false, left, top, right, bottom));
[all …]
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
DConnectivityManagerTestBase.java145 mIntentFilter.addAction(WifiManager.SCAN_RESULTS_AVAILABLE_ACTION); in setUp()
146 mIntentFilter.addAction(WifiManager.NETWORK_STATE_CHANGED_ACTION); in setUp()
147 mIntentFilter.addAction(WifiManager.WIFI_STATE_CHANGED_ACTION); in setUp()
148 mIntentFilter.addAction(WifiManager.SUPPLICANT_CONNECTION_CHANGE_ACTION); in setUp()
149 mIntentFilter.addAction(WifiManager.WIFI_AP_STATE_CHANGED_ACTION); in setUp()
150 mIntentFilter.addAction(ConnectivityManager.ACTION_TETHER_STATE_CHANGED); in setUp()
/frameworks/base/services/core/java/com/android/server/camera/
DCameraService.java167 filter.addAction(Intent.ACTION_USER_ADDED); in onStart()
168 filter.addAction(Intent.ACTION_USER_REMOVED); in onStart()
169 filter.addAction(Intent.ACTION_USER_INFO_CHANGED); in onStart()
170 filter.addAction(Intent.ACTION_MANAGED_PROFILE_ADDED); in onStart()
171 filter.addAction(Intent.ACTION_MANAGED_PROFILE_REMOVED); in onStart()
/frameworks/base/services/core/java/com/android/server/webkit/
DWebViewUpdateService.java99 filter.addAction(Intent.ACTION_PACKAGE_ADDED); in onStart()
100 filter.addAction(Intent.ACTION_PACKAGE_REMOVED); in onStart()
101 filter.addAction(Intent.ACTION_PACKAGE_CHANGED); in onStart()
112 userAddedFilter.addAction(Intent.ACTION_USER_ADDED); in onStart()

12345678910>>...12