Searched refs:action (Results 1 - 25 of 221) sorted by relevance

123456789

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/
H A DEditorInfoCompatUtils.java64 final String action;
67 action = "actionUnspecified";
70 action = "actionNone";
73 action = "actionGo";
76 action = "actionSearch";
79 action = "actionSend";
82 action = "actionNext";
85 action = "actionDone";
89 action = "actionPrevious";
91 action
[all...]
/packages/apps/Settings/src/com/android/settings/bluetooth/
H A DBluetoothDiscoveryReceiver.java39 String action = intent.getAction();
40 Log.v(TAG, "Received: " + action);
42 if (action.equals(BluetoothAdapter.ACTION_DISCOVERY_STARTED) ||
43 action.equals(BluetoothAdapter.ACTION_DISCOVERY_FINISHED)) {
/packages/apps/VoiceDialer/src/com/android/voicedialer/
H A DVoiceDialerReceiver.java35 String action = intent.getAction();
39 if (Intent.ACTION_BOOT_COMPLETED.equals(action)) {
44 else if (Intent.ACTION_PACKAGE_ADDED.equals(action) ||
45 Intent.ACTION_PACKAGE_CHANGED.equals(action) ||
46 Intent.ACTION_PACKAGE_REMOVED.equals(action) ||
47 Intent.ACTION_EXTERNAL_APPLICATIONS_AVAILABLE.equals(action) ||
48 Intent.ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE.equals(action)) {
53 else if (Intents.SECRET_CODE_ACTION.equals(action) && "8351".equals(host)) {
59 else if (Intents.SECRET_CODE_ACTION.equals(action) && "8350".equals(host)) {
/packages/experimental/ExampleImsFramework/src/com/android/example/imsframework/
H A DImsFrameworkService.java38 String action = intent.getAction();
39 Log.d(TAG, "Service starting for intent " + action);
40 if (action.equals(Intent.ACTION_BOOT_COMPLETED)) {
44 stopSelf(); // stop service after handling the action
H A DImsFrameworkReceiver.java29 String action = intent.getAction();
30 if (Intent.ACTION_BOOT_COMPLETED.equals(action)) {
37 } else if (Intent.ACTION_SHUTDOWN.equals(action)) {
41 Log.e(TAG, "Received unknown intent: " + action);
/packages/apps/Browser/src/com/android/browser/
H A DBookmarkSearch.java35 String action = intent.getAction();
36 if (Intent.ACTION_VIEW.equals(action)) {
H A DIntentHandler.java81 final String action = intent.getAction();
83 if (Intent.ACTION_MAIN.equals(action) ||
88 if (BrowserActivity.ACTION_SHOW_BOOKMARKS.equals(action)) {
97 .ACTION_VOICE_SEARCH_RESULTS.equals(action);
98 if (Intent.ACTION_VIEW.equals(action)
99 || NfcAdapter.ACTION_NDEF_DISCOVERED.equals(action)
100 || Intent.ACTION_SEARCH.equals(action)
101 || MediaStore.INTENT_ACTION_MEDIA_SEARCH.equals(action)
102 || Intent.ACTION_WEB_SEARCH.equals(action)
112 if (Intent.ACTION_SEARCH.equals(action)
[all...]
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
H A DCellBroadcastReceiver.java42 String action = intent.getAction();
44 if (Intent.ACTION_BOOT_COMPLETED.equals(action)) {
46 } else if (Intent.ACTION_AIRPLANE_MODE_CHANGED.equals(action)) {
51 } else if (Telephony.Sms.Intents.SMS_EMERGENCY_CB_RECEIVED_ACTION.equals(action) ||
52 Telephony.Sms.Intents.SMS_CB_RECEIVED_ACTION.equals(action)) {
61 Log.e(TAG, "ignoring unprivileged action received " + action);
64 Log.w(TAG, "onReceive() unexpected action " + action);
H A DCellBroadcastDatabaseService.java89 String action = intent.getAction();
91 if (ACTION_INSERT_NEW_BROADCAST.equals(action)) {
106 } else if (ACTION_DELETE_BROADCAST.equals(action)) {
119 } else if (ACTION_DELETE_ALL_BROADCASTS.equals(action)) {
122 } else if (ACTION_MARK_BROADCAST_READ.equals(action)) {
145 Log.e(TAG, "ignoring unexpected Intent with action " + action);
/packages/providers/MediaProvider/src/com/android/providers/media/
H A DMediaScannerReceiver.java37 String action = intent.getAction();
39 if (action.equals(Intent.ACTION_BOOT_COMPLETED)) {
48 Log.d(TAG, "action: " + action + " path: " + path);
49 if (action.equals(Intent.ACTION_MEDIA_MOUNTED)) {
52 } else if (action.equals(Intent.ACTION_MEDIA_SCANNER_SCAN_FILE) &&
/packages/apps/DeskClock/src/com/android/deskclock/
H A DAlarmInitReceiver.java32 final String action = intent.getAction();
33 if (Log.LOGV) Log.v("AlarmInitReceiver" + action);
41 if (action.equals(Intent.ACTION_BOOT_COMPLETED)) {
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
H A DCorporaUpdateReceiver.java35 String action = intent.getAction();
36 if (SearchManager.INTENT_ACTION_SEARCHABLES_CHANGED.equals(action)
37 || SearchManager.INTENT_ACTION_SEARCH_SETTINGS_CHANGED.equals(action)) {
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
H A DCalendarProviderIntentService.java36 final String action = intent.getAction();
37 if (!CalendarAlarmManager.ACTION_CHECK_NEXT_ALARM.equals(action)) {
39 Log.d(TAG, "Invalid Intent action: " + action);
/packages/apps/MusicFX/src/com/android/musicfx/
H A DControlPanelReceiver.java42 final String action = intent.getAction();
47 Log.v(TAG, "Action: " + action);
64 if (action.equals(AudioEffect.ACTION_OPEN_AUDIO_EFFECT_CONTROL_SESSION)) {
76 if (action.equals(AudioEffect.ACTION_CLOSE_AUDIO_EFFECT_CONTROL_SESSION)) {
82 if (action.equals("AudioEffect.ACTION_SET_PARAM")) {
93 if (action.equals("AudioEffect.ACTION_GET_PARAM")) {
/packages/apps/Stk/src/com/android/stk/
H A DBootCompletedReceiver.java32 String action = intent.getAction();
35 if (action.equals(Intent.ACTION_BOOT_COMPLETED)) {
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
H A DQuickContactListFragment.java93 // Set action title based on summary value
94 final Action action = mActions.get(position);
95 String mimeType = action.getMimeType();
116 actionsContainer.setTag(action);
118 alternateActionButton.setTag(action);
120 final boolean hasAlternateAction = action.getAlternateIntent() != null;
122 alternateActionButton.setImageDrawable(action.getAlternateIcon());
123 alternateActionButton.setContentDescription(action.getAlternateIconDescription());
129 R.string.description_dial_phone_number, action.getBody()));
132 .getString(R.string.description_send_message, action
178 onItemClicked(Action action, boolean alternate) argument
[all...]
H A DResolveCache.java118 protected Entry getEntry(Action action) { argument
119 final String mimeType = action.getMimeType();
124 Intent intent = action.getIntent();
196 public boolean hasResolve(Action action) { argument
197 return getEntry(action).bestResolve != null;
204 public CharSequence getDescription(Action action) { argument
205 final CharSequence actionSubtitle = action.getSubtitle();
206 final ResolveInfo info = getEntry(action).bestResolve;
221 public Drawable getIcon(Action action) { argument
222 return getEntry(action)
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/app/
H A DGalleryActionBar.java45 public int action; field in class:GalleryActionBar.ActionItem
52 public ActionItem(int action, boolean applied, boolean enabled, int title, argument
54 this(action, applied, enabled, title, title, clusterBy);
57 public ActionItem(int action, boolean applied, boolean enabled, int spinnerTitle, argument
59 this.action = action;
92 return sClusterItems[position].action;
135 mActions.add(item.action);
144 if (item.action == id) {
153 if (item.action
182 showClusterMenu(int action, ClusterRunner runner) argument
[all...]
H A DPackagesMonitor.java42 String action = intent.getAction();
44 if (Intent.ACTION_PACKAGE_ADDED.equals(action)) {
46 } else if (Intent.ACTION_PACKAGE_REMOVED.equals(action)) {
48 } else if (Intent.ACTION_PACKAGE_CHANGED.equals(action)) {
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
H A DDictionaryPackInstallBroadcastReceiver.java28 * Takes action to reload the necessary data when a dictionary pack was added/removed.
34 * The action of the intent for publishing that new dictionary data is available.
45 final String action = intent.getAction();
49 if (action.equals(Intent.ACTION_PACKAGE_ADDED)) {
73 } else if (action.equals(Intent.ACTION_PACKAGE_REMOVED)
85 } else if (action.equals(NEW_DICTIONARY_INTENT_ACTION)) {
/packages/apps/Contacts/src/com/android/contacts/list/
H A DContactsIntentResolver.java58 String action = intent.getAction();
60 Log.i(TAG, "Called with action: " + action);
62 if (UI.LIST_DEFAULT.equals(action) ) {
64 } else if (UI.LIST_ALL_CONTACTS_ACTION.equals(action)) {
66 } else if (UI.LIST_CONTACTS_WITH_PHONES_ACTION.equals(action)) {
68 } else if (UI.LIST_STARRED_ACTION.equals(action)) {
70 } else if (UI.LIST_FREQUENT_ACTION.equals(action)) {
72 } else if (UI.LIST_STREQUENT_ACTION.equals(action)) {
74 } else if (UI.LIST_GROUP_ACTION.equals(action)) {
[all...]
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
H A DDownloadReceiver.java50 String action = intent.getAction();
51 if (action.equals(Intent.ACTION_BOOT_COMPLETED)) {
57 } else if (action.equals(Intent.ACTION_MEDIA_MOUNTED)) {
63 } else if (action.equals(ConnectivityManager.CONNECTIVITY_ACTION)) {
69 } else if (action.equals(Constants.ACTION_RETRY)) {
71 } else if (action.equals(Constants.ACTION_OPEN)
72 || action.equals(Constants.ACTION_LIST)
73 || action.equals(Constants.ACTION_HIDE)) {
83 String action = intent.getAction();
85 if (action
[all...]
/packages/apps/DeskClock/src/com/android/alarmclock/
H A DAnalogAppWidgetProvider.java36 String action = intent.getAction();
38 if (AppWidgetManager.ACTION_APPWIDGET_UPDATE.equals(action)) {
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
H A DBluetoothPbapReceiver.java54 String action = intent.getAction();
55 in.putExtra("action", action);
57 if (action.equals(BluetoothAdapter.ACTION_STATE_CHANGED)) {
/packages/apps/Phone/src/com/android/phone/
H A DGetPin2Screen.java69 Intent action = new Intent();
70 if (uri != null) action.setAction(uri.toString());
71 setResult(RESULT_OK, action.putExtras(map));

Completed in 463 milliseconds

123456789