/packages/apps/Contacts/src/com/android/contacts/quickcontact/ |
D | QuickContactListFragment.java | 94 final Action action = mActions.get(position); in configureAdapter() 95 String mimeType = action.getMimeType(); in configureAdapter() 118 actionsContainer.setTag(action); in configureAdapter() 120 alternateActionButton.setTag(action); in configureAdapter() 122 final boolean hasAlternateAction = action.getAlternateIntent() != null; in configureAdapter() 124 alternateActionButton.setImageDrawable(action.getAlternateIcon()); in configureAdapter() 125 alternateActionButton.setContentDescription(action.getAlternateIconDescription()); in configureAdapter() 131 R.string.description_dial_phone_number, action.getBody())); in configureAdapter() 134 .getString(R.string.description_send_message, action.getBody())); in configureAdapter() 138 text1.setText(action.getBody()); in configureAdapter() [all …]
|
D | ResolveCache.java | 123 protected Entry getEntry(Action action) { in getEntry() argument 124 final String mimeType = action.getMimeType(); in getEntry() 129 Intent intent = action.getIntent(); in getEntry() 201 public boolean hasResolve(Action action) { in hasResolve() argument 202 return getEntry(action).bestResolve != null; in hasResolve() 209 public CharSequence getDescription(Action action) { in getDescription() argument 210 final CharSequence actionSubtitle = action.getSubtitle(); in getDescription() 211 final ResolveInfo info = getEntry(action).bestResolve; in getDescription() 226 public Drawable getIcon(Action action) { in getIcon() argument 227 return getEntry(action).icon; in getIcon()
|
/packages/apps/VoiceDialer/src/com/android/voicedialer/ |
D | VoiceDialerReceiver.java | 35 String action = intent.getAction(); in onReceive() local 39 if (Intent.ACTION_BOOT_COMPLETED.equals(action)) { in onReceive() 44 else if (Intent.ACTION_PACKAGE_ADDED.equals(action) || in onReceive() 45 Intent.ACTION_PACKAGE_CHANGED.equals(action) || in onReceive() 46 Intent.ACTION_PACKAGE_REMOVED.equals(action) || in onReceive() 47 Intent.ACTION_EXTERNAL_APPLICATIONS_AVAILABLE.equals(action) || in onReceive() 48 Intent.ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE.equals(action)) { in onReceive() 53 else if (TelephonyIntents.SECRET_CODE_ACTION.equals(action) && "8351".equals(host)) { in onReceive() 59 else if (TelephonyIntents.SECRET_CODE_ACTION.equals(action) && "8350".equals(host)) { in onReceive()
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
D | ContactsIntentResolver.java | 58 String action = intent.getAction(); in resolveIntent() local 60 Log.i(TAG, "Called with action: " + action); in resolveIntent() 62 if (UI.LIST_DEFAULT.equals(action) ) { in resolveIntent() 64 } else if (UI.LIST_ALL_CONTACTS_ACTION.equals(action)) { in resolveIntent() 66 } else if (UI.LIST_CONTACTS_WITH_PHONES_ACTION.equals(action)) { in resolveIntent() 68 } else if (UI.LIST_STARRED_ACTION.equals(action)) { in resolveIntent() 70 } else if (UI.LIST_FREQUENT_ACTION.equals(action)) { in resolveIntent() 72 } else if (UI.LIST_STREQUENT_ACTION.equals(action)) { in resolveIntent() 74 } else if (UI.LIST_GROUP_ACTION.equals(action)) { in resolveIntent() 77 } else if (Intent.ACTION_PICK.equals(action)) { in resolveIntent() [all …]
|
/packages/apps/Browser/src/com/android/browser/ |
D | IntentHandler.java | 79 final String action = intent.getAction(); in onNewIntent() local 81 if (Intent.ACTION_MAIN.equals(action) || in onNewIntent() 86 if (BrowserActivity.ACTION_SHOW_BOOKMARKS.equals(action)) { in onNewIntent() 94 if (Intent.ACTION_VIEW.equals(action) in onNewIntent() 95 || NfcAdapter.ACTION_NDEF_DISCOVERED.equals(action) in onNewIntent() 96 || Intent.ACTION_SEARCH.equals(action) in onNewIntent() 97 || MediaStore.INTENT_ACTION_MEDIA_SEARCH.equals(action) in onNewIntent() 98 || Intent.ACTION_WEB_SEARCH.equals(action)) { in onNewIntent() 130 if (Intent.ACTION_VIEW.equals(action) in onNewIntent() 140 if (Intent.ACTION_VIEW.equals(action) in onNewIntent() [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
D | BluetoothOppHandoverReceiver.java | 35 String action = intent.getAction(); in onReceive() local 37 if (action.equals(Constants.ACTION_HANDOVER_SEND) || in onReceive() 38 action.equals(Constants.ACTION_HANDOVER_SEND_MULTIPLE)) { in onReceive() 46 if (action.equals(Constants.ACTION_HANDOVER_SEND)) { in onReceive() 57 } else if (action.equals(Constants.ACTION_HANDOVER_SEND_MULTIPLE)) { in onReceive() 71 } else if (action.equals(Constants.ACTION_WHITELIST_DEVICE)) { in onReceive() 77 } else if (action.equals(Constants.ACTION_STOP_HANDOVER)) { in onReceive() 86 if (D) Log.d(TAG, "Unknown action: " + action); in onReceive()
|
D | BluetoothOppReceiver.java | 62 String action = intent.getAction(); in onReceive() local 65 if (action.equals(BluetoothAdapter.ACTION_STATE_CHANGED)) { in onReceive() 92 } else if (action.equals(BluetoothDevicePicker.ACTION_DEVICE_SELECTED)) { in onReceive() 113 } else if (action.equals(Constants.ACTION_INCOMING_FILE_CONFIRM)) { in onReceive() 128 } else if (action.equals(BluetoothShare.INCOMING_FILE_CONFIRMATION_REQUEST_ACTION)) { in onReceive() 134 } else if (action.equals(Constants.ACTION_OPEN) || action.equals(Constants.ACTION_LIST)) { in onReceive() 136 if (action.equals(Constants.ACTION_OPEN)) { in onReceive() 170 } else if (action.equals(Constants.ACTION_OPEN_OUTBOUND_TRANSFER)) { in onReceive() 177 } else if (action.equals(Constants.ACTION_OPEN_INBOUND_TRANSFER)) { in onReceive() 184 } else if (action.equals(Constants.ACTION_OPEN_RECEIVED_FILES)) { in onReceive() [all …]
|
/packages/apps/Camera/src/com/android/camera/ |
D | SoundClips.java | 39 public void play(int action); in play() argument 75 public synchronized void play(int action) { in play() argument 76 switch(action) { in play() 87 Log.w(TAG, "Unrecognized action:" + action); in play() 148 public synchronized void play(int action) { in play() argument 149 if (action < 0 || action >= mSoundRes.length) { in play() 150 Log.e(TAG, "Resource ID not found for action:" + action + " in play()."); in play() 154 int index = mSoundRes[action]; in play()
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | DownloadReceiver.java | 65 String action = intent.getAction(); in onReceive() local 66 if (action.equals(Intent.ACTION_BOOT_COMPLETED)) { in onReceive() 72 } else if (action.equals(Intent.ACTION_MEDIA_MOUNTED)) { in onReceive() 78 } else if (action.equals(ConnectivityManager.CONNECTIVITY_ACTION)) { in onReceive() 85 } else if (action.equals(Constants.ACTION_RETRY)) { in onReceive() 87 } else if (action.equals(Constants.ACTION_OPEN) in onReceive() 88 || action.equals(Constants.ACTION_LIST) in onReceive() 89 || action.equals(Constants.ACTION_HIDE)) { in onReceive() 111 final String action = intent.getAction(); in handleNotificationBroadcast() local 112 if (Constants.ACTION_LIST.equals(action)) { in handleNotificationBroadcast() [all …]
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastReceiver.java | 54 String action = intent.getAction(); in onReceiveWithPrivilege() local 56 if (Intent.ACTION_BOOT_COMPLETED.equals(action)) { in onReceiveWithPrivilege() 62 } else if (Intent.ACTION_AIRPLANE_MODE_CHANGED.equals(action)) { in onReceiveWithPrivilege() 67 } else if (Telephony.Sms.Intents.SMS_EMERGENCY_CB_RECEIVED_ACTION.equals(action) || in onReceiveWithPrivilege() 68 Telephony.Sms.Intents.SMS_CB_RECEIVED_ACTION.equals(action)) { in onReceiveWithPrivilege() 77 Log.e(TAG, "ignoring unprivileged action received " + action); in onReceiveWithPrivilege() 80 .equals(action)) { in onReceiveWithPrivilege() 90 Log.e(TAG, "ignoring unprivileged action received " + action); in onReceiveWithPrivilege() 92 } else if (GET_LATEST_CB_AREA_INFO_ACTION.equals(action)) { in onReceiveWithPrivilege() 106 Log.w(TAG, "onReceive() unexpected action " + action); in onReceiveWithPrivilege()
|
/packages/apps/Tag/src/com/android/apps/tag/record/ |
D | SmartPoster.java | 104 @Nullable ImageRecord image, RecommendedAction action, in SmartPoster() argument 109 mAction = Preconditions.checkNotNull(action); in SmartPoster() 141 RecommendedAction action = parseRecommendedAction(recordsRaw); in parse() local 144 return new SmartPoster(uri, title, image, action, type); in parse() 208 for (RecommendedAction action : RecommendedAction.values()) { 209 builder.put(action.getByte(), action); in action.getByte() 240 byte action = record.getPayload()[0]; in parseRecommendedAction() 241 if (RecommendedAction.LOOKUP.containsKey(action)) { in parseRecommendedAction() 242 return RecommendedAction.LOOKUP.get(action); in parseRecommendedAction()
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | GalleryActionBar.java | 74 public int action; field in GalleryActionBar.ActionItem 81 public ActionItem(int action, boolean applied, boolean enabled, int title, in ActionItem() argument 83 this(action, applied, enabled, title, title, clusterBy); in ActionItem() 86 public ActionItem(int action, boolean applied, boolean enabled, int spinnerTitle, in ActionItem() argument 88 this.action = action; in ActionItem() 124 return sClusterItems[position].action; in getItemId() 181 if (item.action == type) { in getClusterByTypeString() 202 mActions.add(item.action); in createDialogData() 215 if (item.action == id) { in setClusterItemEnabled() 224 if (item.action == id) { in setClusterItemVisibility() [all …]
|
/packages/apps/MusicFX/src/com/android/musicfx/ |
D | ControlPanelReceiver.java | 42 final String action = intent.getAction(); in onReceive() local 47 Log.v(TAG, "Action: " + action); in onReceive() 64 if (action.equals(AudioEffect.ACTION_OPEN_AUDIO_EFFECT_CONTROL_SESSION)) { in onReceive() 76 if (action.equals(AudioEffect.ACTION_CLOSE_AUDIO_EFFECT_CONTROL_SESSION)) { in onReceive() 82 if (action.equals("AudioEffect.ACTION_SET_PARAM")) { in onReceive() 93 if (action.equals("AudioEffect.ACTION_GET_PARAM")) { in onReceive()
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | BluetoothDiscoveryReceiver.java | 39 String action = intent.getAction(); in onReceive() local 40 Log.v(TAG, "Received: " + action); in onReceive() 42 if (action.equals(BluetoothAdapter.ACTION_DISCOVERY_STARTED) || in onReceive() 43 action.equals(BluetoothAdapter.ACTION_DISCOVERY_FINISHED)) { in onReceive()
|
/packages/experimental/ExampleImsFramework/src/com/android/example/imsframework/ |
D | ImsFrameworkReceiver.java | 29 String action = intent.getAction(); in onReceive() local 30 if (Intent.ACTION_BOOT_COMPLETED.equals(action)) { in onReceive() 37 } else if (Intent.ACTION_SHUTDOWN.equals(action)) { in onReceive() 41 Log.e(TAG, "Received unknown intent: " + action); in onReceive()
|
D | ImsFrameworkApp.java | 70 String action = intent.getAction(); in onReceive() local 71 Log.d(TAG, "mReceiver received action " + action); in onReceive() 72 if (action.equals(Intent.ACTION_AIRPLANE_MODE_CHANGED)) { in onReceive() 75 } else if (action.equals(TelephonyIntents.ACTION_ANY_DATA_CONNECTION_STATE_CHANGED)) { in onReceive() 85 } else if (action.equals(TelephonyIntents.ACTION_SIM_STATE_CHANGED)) { in onReceive() 95 } else if (action.equals(TelephonyIntents.ACTION_RADIO_TECHNOLOGY_CHANGED)) { in onReceive() 98 } else if (action.equals(TelephonyIntents.ACTION_SERVICE_STATE_CHANGED)) { in onReceive()
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | MediaScannerReceiver.java | 33 final String action = intent.getAction(); in onReceive() local 35 if (Intent.ACTION_BOOT_COMPLETED.equals(action)) { in onReceive() 46 Log.d(TAG, "action: " + action + " path: " + path); in onReceive() 47 if (Intent.ACTION_MEDIA_MOUNTED.equals(action)) { in onReceive() 50 } else if (Intent.ACTION_MEDIA_SCANNER_SCAN_FILE.equals(action) && in onReceive()
|
/packages/apps/Contacts/src/com/android/contacts/voicemail/ |
D | VoicemailStatusHelperImpl.java | 115 private OverallState(int priority, Action action, int callLogMessageId) { in OverallState() argument 116 this(priority, action, callLogMessageId, -1); in OverallState() 119 private OverallState(int priority, Action action, int callLogMessageId, in OverallState() argument 122 mAction = action; in OverallState() 214 final Action action = overallState.getAction(); in getMessageForStatusEntry() local 217 if (action == Action.NONE) { in getMessageForStatusEntry() 222 if (action == Action.CALL_VOICEMAIL) { in getMessageForStatusEntry() 225 } else if (action == Action.CONFIGURE_VOICEMAIL) { in getMessageForStatusEntry() 234 overallState.getCallDetailsMessageId(), action.getMessageId(), in getMessageForStatusEntry()
|
/packages/apps/Phone/src/com/android/phone/ |
D | SipBroadcastReceiver.java | 49 String action = intent.getAction(); in onReceive() local 52 Log.v(TAG, "SIP VOIP not supported: " + action); in onReceive() 57 if (action.equals(SipManager.ACTION_SIP_INCOMING_CALL)) { in onReceive() 59 } else if (action.equals(SipManager.ACTION_SIP_ADD_PHONE)) { in onReceive() 67 } else if (action.equals(SipManager.ACTION_SIP_REMOVE_PHONE)) { in onReceive() 72 } else if (action.equals(SipManager.ACTION_SIP_SERVICE_UP)) { in onReceive() 76 Log.v(TAG, "action not processed: " + action); in onReceive()
|
/packages/apps/Mms/src/com/android/mms/ui/ |
D | SlideshowPresenter.java | 157 MediaAction action = audio.getCurrentAction(); in presentAudio() local 158 if (action == MediaAction.START) { in presentAudio() 160 } else if (action == MediaAction.PAUSE) { in presentAudio() 162 } else if (action == MediaAction.STOP) { in presentAudio() 164 } else if (action == MediaAction.SEEK) { in presentAudio() 237 MediaAction action = video.getCurrentAction(); in presentVideo() local 238 if (action == MediaAction.START) { in presentVideo() 240 } else if (action == MediaAction.PAUSE) { in presentVideo() 242 } else if (action == MediaAction.STOP) { in presentVideo() 244 } else if (action == MediaAction.SEEK) { in presentVideo()
|
/packages/apps/Calculator/src/com/android/calculator2/ |
D | EventListener.java | 78 int action = keyEvent.getAction(); in onKey() local 87 if (action == KeyEvent.ACTION_MULTIPLE && keyCode == KeyEvent.KEYCODE_UNKNOWN) { in onKey() 94 if (action == KeyEvent.ACTION_UP) { in onKey() 104 if (keyEvent.isPrintingKey() && action == KeyEvent.ACTION_UP) { in onKey() 118 if (action == KeyEvent.ACTION_UP) { in onKey()
|
/packages/apps/Contacts/src/com/android/contacts/activities/ |
D | GroupEditorActivity.java | 52 String action = getIntent().getAction(); in onCreate() local 54 if (ACTION_SAVE_COMPLETED.equals(action)) { in onCreate() 91 Uri uri = Intent.ACTION_EDIT.equals(action) ? getIntent().getData() : null; in onCreate() 92 mFragment.load(action, uri, getIntent().getExtras()); in onCreate() 123 String action = intent.getAction(); in onNewIntent() local 124 if (ACTION_SAVE_COMPLETED.equals(action)) { in onNewIntent()
|
D | ContactEditorActivity.java | 71 final String action = intent.getAction(); in onCreate() local 82 if (ACTION_JOIN_COMPLETED.equals(action)) { in onCreate() 87 if (ACTION_SAVE_COMPLETED.equals(action)) { in onCreate() 118 Uri uri = Intent.ACTION_EDIT.equals(action) ? getIntent().getData() : null; in onCreate() 119 mFragment.load(action, uri, getIntent().getExtras()); in onCreate() 130 String action = intent.getAction(); in onNewIntent() local 131 if (Intent.ACTION_EDIT.equals(action)) { in onNewIntent() 133 } else if (ACTION_SAVE_COMPLETED.equals(action)) { in onNewIntent() 138 } else if (ACTION_JOIN_COMPLETED.equals(action)) { in onNewIntent()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/ |
D | BluetoothPbapReceiver.java | 54 String action = intent.getAction(); in onReceive() local 55 in.putExtra("action", action); in onReceive() 56 if (V) Log.v(TAG,"***********action = " + action); in onReceive() 59 if (action.equals(BluetoothAdapter.ACTION_STATE_CHANGED)) { in onReceive()
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
D | SuggestionUtils.java | 35 String action = suggestion.getSuggestionIntentAction(); in getSuggestionIntent() local 43 Intent intent = new Intent(action); in getSuggestionIntent() 71 String action = makeKeyComponent(suggestion.getSuggestionIntentAction()); in getSuggestionKey() local 76 int size = action.length() + 2 + data.length() + query.length(); in getSuggestionKey() 78 .append(action) in getSuggestionKey()
|