/packages/apps/TV/src/com/android/tv/search/ |
H A D | TvProviderSearch.java | 76 * @param action One of {@link #ACTION_TYPE_SWITCH_CHANNEL}, {@link #ACTION_TYPE_SWITCH_INPUT}, 81 public List<SearchResult> search(String query, int limit, int action) { argument 88 if (action == ACTION_TYPE_SWITCH_CHANNEL) { 90 } else if (action == ACTION_TYPE_SWITCH_INPUT) { 99 // In case the user wanted to perform the action "switch to XXX", which is indicated by
|
/packages/apps/Tag/src/com/android/apps/tag/record/ |
H A D | SmartPoster.java | 82 * treated. For example, the action may indicate that the device should 85 * the service. If the action record exists, it should be treated as 104 @Nullable ImageRecord image, RecommendedAction action, 109 mAction = Preconditions.checkNotNull(action); 141 RecommendedAction action = parseRecommendedAction(recordsRaw); 144 return new SmartPoster(uri, title, image, action, type); 208 for (RecommendedAction action : RecommendedAction.values()) { 209 builder.put(action.getByte(), action); 240 byte action 103 SmartPoster(UriRecord uri, @Nullable TextRecord title, @Nullable ImageRecord image, RecommendedAction action, @Nullable String type) argument [all...] |
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/ |
H A D | BluetoothPairingDialog.java | 80 String action = intent.getAction(); 84 if (BluetoothDevice.ACTION_BOND_STATE_CHANGED.equals(action)) { 91 } else if (BluetoothDevice.ACTION_PAIRING_CANCEL.equals(action)) { 210 public void onActionClicked(Action action) { argument 211 String key = action.getKey();
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/ |
H A D | WifiDetailsFragment.java | 230 public void onGuidedActionClicked(GuidedAction action) { argument 231 if (action.getId() == GuidedAction.ACTION_ID_OK) {
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/ |
H A D | BackupAppsStepFragment.java | 213 public void onGuidedActionClicked(GuidedAction action) { argument 214 final int actionId = (int) action.getId(); 230 throw new IllegalArgumentException("Unknown action " + action);
|
H A D | MigrateStorageActivity.java | 224 public void onGuidedActionClicked(GuidedAction action) { argument 225 final int id = (int) action.getId(); 285 public void onGuidedActionClicked(GuidedAction action) { argument 286 final VolumeInfo volumeInfo = mCandidateVolumes.get((int) action.getId());
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/ |
H A D | BaseDialogFragment.java | 47 public static final String TAG_ACTION = "action"; 65 public void onActionClicked(Activity activity, Action action) { argument 67 ((ActionAdapter.Listener) activity).onActionClicked(action); 69 Intent intent = action.getIntent(); 88 * @param actionAreaId id of the action area
|
H A D | DialogFragment.java | 47 public void onActionClicked(Action action) { argument 48 mBase.onActionClicked(getRealActivity(), action); 77 * @param actionAreaId id of the action area 148 * Sets the action fragment into the view. 150 * If an action fragment currently exists, this will be added to the back stack. 157 * Sets the action fragment into the view. 159 * If addToBackStack is true, and action fragment currently exists, 179 * Set the content and action fragments in the same transaction. 181 * If an action fragment currently exists, this will be added to the back stack. 188 * Set the content and action fragment [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/analytics/ |
H A D | Analytics.java | 117 public void sendEvent(String category, String action, String label, long value) {} argument
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
H A D | SelectedConversationsActionMenu.java | 153 // marking a message not as spam is a destructive action 255 // the action mode is not refreshed when activity's options menu is invalidated. 262 private void performDestructiveAction(final int action, UndoCallback undoCallback) { argument 267 if (action == R.id.discard_drafts) { 270 } else if (settings != null && (action == R.id.archive || action == R.id.delete)) { 271 showDialog = (action == R.id.delete) ? settings.confirmDelete : settings.confirmArchive; 276 mUpdater.makeDialogListener(action, true /* fromSelectedSet */, null /* undoCallback */); 278 if (action == R.id.delete) { 280 } else if (action 302 destroy(int actionId, final Collection<Conversation> target, final DestructiveAction action) argument [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/compose/ |
H A D | QuotedTextView.java | 241 public void setQuotedText(int action, Message refMessage, boolean allow) { argument 248 if (action == ComposeActivity.REPLY || action == ComposeActivity.REPLY_ALL) { 261 } else if (action == ComposeActivity.FORWARD) {
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
H A D | ConversationUpdater.java | 81 * Requests the removal of the current conversation with the specified destructive action. 82 * @param actionId the unique id for the action responsible for this delete: R.id.archive, ... 84 * @param action to perform after the UI has been updated to remove the conversations 85 * @param isBatch true if this is a batch action, false otherwise. 88 int actionId, final Collection<Conversation> target, final DestructiveAction action, 130 * Get a destructive action for selected conversations. The action corresponds to Menu item 132 * @param action 135 public DestructiveAction getBatchAction(int action, UndoCallback undoCallback); argument 138 * Get a destructive action fo 87 delete( int actionId, final Collection<Conversation> target, final DestructiveAction action, boolean isBatch) argument 143 getDeferredBatchAction(int action, UndoCallback undoCallback) argument 196 makeDialogListener(final int action, boolean fromSelectedSet, UndoCallback undoCallback) argument [all...] |
/packages/services/Car/TrustAgent/src/com/android/car/trust/comms/ |
H A D | SimpleBleClient.java | 67 * Wrapper class to allow queuing of BLE actions. The BLE stack allows only one action to be 77 public BleAction(BluetoothGattCharacteristic characteristic, int action) { argument 78 mAction = action; 159 * Writes to a {@link BluetoothGattCharacteristic} if possible, or queues the action until 169 * Reads a {@link BluetoothGattCharacteristic} if possible, or queues the read action until 201 private void processAction(BleAction action) { argument 204 mBleActionQueue.add(action); 208 mBleActionQueue.add(action); 217 private void executeAction(BleAction action) { argument 218 if (action [all...] |
/packages/services/Car/libvehiclemonitor/java/src/com/android/car/vehiclemonitor/ |
H A D | VehicleMonitor.java | 62 void onAppViolation(int pid, int uid, int action, int violation); argument 135 private void notifyAppViolation(int pid, int uid, int action, int violation) { argument 136 AppViolation appViolation = new AppViolation(pid, uid, action, violation); 161 public void onAppViolation(int pid, int uid, int action, int violation) { argument 164 vehicleMonitor.mEventHandler.notifyAppViolation(pid, uid, action, violation); 175 AppViolation(int pid, int uid, int action, int violation) { argument 178 mAction = action;
|
/packages/services/Car/service/src/com/android/car/hal/ |
H A D | HalClient.java | 153 int action(); method in interface:HalClient.RetriableCallback 157 int status = callback.action(); 167 status = callback.action();
|
/packages/services/Telecomm/src/com/android/server/telecom/ui/ |
H A D | MissedCallNotifierImpl.java | 511 * @param action The intent action. 514 private PendingIntent createTelecomPendingIntent(String action, Uri data, argument 516 Intent intent = new Intent(action, data, mContext, TelecomBroadcastReceiver.class);
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
H A D | NewOutgoingCallIntentBroadcasterTest.java | 374 private Intent buildIntent(Uri handle, String action, Bundle extras) { argument 375 Intent i = new Intent(action, handle);
|
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/mockable/ |
H A D | MediaController.java | 239 public void sendCustomAction(@NonNull String action, @Nullable Bundle args) { argument 240 mTransportDelegate.sendCustomAction(action, args);
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/ |
H A D | NativeInterface.java | 48 static native boolean handleCallActionNative(byte[] address, int action, int index); argument
|
/packages/apps/Calendar/src/com/android/calendar/alerts/ |
H A D | AlertReceiver.java | 55 * Receives android.intent.action.EVENT_REMINDER intents and handles 60 * It also receives the TIME_CHANGED action so that it can fire off 65 * adb shell am broadcast -a "android.intent.action.EVENT_REMINDER" 106 // Try starting the map action. 125 // Try starting the call action. 158 i.putExtra("action", intent.getAction()); 214 long startMillis, long endMillis, int notificationId, String action) { 217 intent.setAction(action); 299 // 1) Workaround issue where clicking action button in notification does 324 // Add action button 213 createDismissAlarmsIntent(Context context, long eventId, long startMillis, long endMillis, int notificationId, String action) argument [all...] |
/packages/apps/Car/LocalMediaPlayer/src/com/android/car/media/localmediaplayer/ |
H A D | Player.java | 148 private Notification.Action makeNotificationAction(String action, int iconId, int stringId) { argument 150 new Intent(action), PendingIntent.FLAG_UPDATE_CURRENT); 564 public void onCustomAction(String action, Bundle extras) { argument 565 switch (action) { 570 Log.e(TAG, "Unhandled custom action: " + action);
|
/packages/apps/Car/libs/car-stream-lib/src/com/android/car/stream/ |
H A D | StreamCard.java | 54 /** Primary action to be taken when the entire card is clicked */ 261 public Builder setClickAction(PendingIntent action) { argument 262 this.contentPendingIntent = action;
|
/packages/apps/Contacts/src/com/android/contacts/ |
H A D | DynamicShortcuts.java | 285 ShortcutInfo getActionShortcutInfo(String id, String label, Intent action, Icon icon) { argument 293 .setIntent(action)
|
/packages/apps/Contacts/src/com/android/contacts/activities/ |
H A D | ContactSelectionActivity.java | 373 throw new IllegalStateException("Invalid action code: " + mActionCode); 432 public void onAction(int action) { argument 433 switch (action) {
|
/packages/apps/DeskClock/src/com/android/deskclock/provider/ |
H A D | AlarmInstance.java | 115 public static Intent createIntent(String action, long instanceId) { argument 116 return new Intent(action).setData(getContentUri(instanceId));
|