Searched refs:action (Results 226 - 250 of 323) sorted by relevance

1234567891011>>

/packages/apps/UnifiedEmail/src/com/android/mail/widget/
H A DBaseWidgetProvider.java127 final String action = intent.getAction();
128 if (ACTION_UPDATE_WIDGET.equals(action)) {
141 } else if (ACTION_VALIDATE_ALL_WIDGETS.equals(action)) {
143 } else if (Utils.ACTION_NOTIFY_DATASET_CHANGED.equals(action)) {
/packages/apps/DeskClock/src/com/android/deskclock/provider/
H A DAlarm.java102 public static Intent createIntent(String action, long alarmId) { argument
103 return new Intent(action).setData(getUri(alarmId));
H A DAlarmInstance.java121 public static Intent createIntent(String action, long instanceId) { argument
122 return new Intent(action).setData(getUri(instanceId));
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
H A DImageShow.java613 int action = event.getAction();
614 action = action & MotionEvent.ACTION_MASK;
630 if (action == MotionEvent.ACTION_DOWN) {
639 if (action == MotionEvent.ACTION_MOVE && mInteractionMode == InteractionMode.MOVE) {
661 if (action == MotionEvent.ACTION_UP
662 || action == MotionEvent.ACTION_CANCEL
663 || action == MotionEvent.ACTION_OUTSIDE) {
/packages/apps/InCallUI/src/com/android/incallui/
H A DInCallActivity.java312 final String action = intent.getAction();
314 if (action.equals(intent.ACTION_MAIN)) {
315 // This action is the normal way to bring up the in-call UI.
/packages/apps/Music/src/com/android/music/
H A DMediaPickerActivity.java102 String action = getIntent().getAction();
103 if (Intent.ACTION_GET_CONTENT.equals(action)) {
H A DMediaPlaybackActivity.java175 int action = event.getAction();
180 if (action == MotionEvent.ACTION_DOWN) {
184 } else if (action == MotionEvent.ACTION_UP ||
185 action == MotionEvent.ACTION_CANCEL) {
191 } else if (action == MotionEvent.ACTION_MOVE) {
1247 String action = intent.getAction();
1248 if (action.equals(MediaPlaybackService.META_CHANGED)) {
1254 } else if (action.equals(MediaPlaybackService.PLAYSTATE_CHANGED)) {
H A DPlaylistBrowserActivity.java90 final String action = intent.getAction();
91 if (Intent.ACTION_CREATE_SHORTCUT.equals(action)) {
100 if (Intent.ACTION_VIEW.equals(action)) {
H A DQueryBrowserActivity.java97 String action = intent != null ? intent.getAction() : null;
99 if (Intent.ACTION_VIEW.equals(action)) {
130 if (MediaStore.INTENT_ACTION_MEDIA_SEARCH.equals(action)) {
/packages/apps/Settings/src/com/android/settings/
H A DIccLockSettings.java123 final String action = intent.getAction();
124 if (TelephonyIntents.ACTION_SIM_STATE_CHANGED.equals(action)) {
/packages/apps/Settings/src/com/android/settings/bluetooth/
H A DBluetoothSettings.java60 "android.btopp.intent.action.OPEN_RECEIVED_FILES";
83 String action = intent.getAction();
84 if (action.equals(BluetoothAdapter.ACTION_LOCAL_NAME_CHANGED)) {
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
H A DKeyboardView.java1146 final int action = me.getAction();
1157 if (action == MotionEvent.ACTION_UP) {
1183 final int action = me.getAction();
1189 if (action == MotionEvent.ACTION_DOWN) mSwipeTracker.clear();
1193 && action != MotionEvent.ACTION_DOWN && action != MotionEvent.ACTION_CANCEL) {
1204 if (mMiniKeyboardOnScreen && action != MotionEvent.ACTION_CANCEL) {
1208 switch (action) {
/packages/apps/Gallery/src/com/android/camera/
H A DGalleryPicker.java180 String action = intent.getAction();
181 if (action.equals(Intent.ACTION_MEDIA_MOUNTED)) {
184 } else if (action.equals(Intent.ACTION_MEDIA_UNMOUNTED)) {
187 } else if (action.equals(Intent.ACTION_MEDIA_SCANNER_STARTED)) {
189 } else if (action.equals(
192 } else if (action.equals(Intent.ACTION_MEDIA_EJECT)) {
/packages/apps/Launcher2/src/com/android/launcher2/
H A DLauncherModel.java784 final String action = intent.getAction();
786 if (Intent.ACTION_PACKAGE_CHANGED.equals(action)
787 || Intent.ACTION_PACKAGE_REMOVED.equals(action)
788 || Intent.ACTION_PACKAGE_ADDED.equals(action)) {
799 if (Intent.ACTION_PACKAGE_CHANGED.equals(action)) {
801 } else if (Intent.ACTION_PACKAGE_REMOVED.equals(action)) {
807 } else if (Intent.ACTION_PACKAGE_ADDED.equals(action)) {
819 } else if (Intent.ACTION_EXTERNAL_APPLICATIONS_AVAILABLE.equals(action)) {
825 } else if (Intent.ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE.equals(action)) {
829 } else if (Intent.ACTION_LOCALE_CHANGED.equals(action)) {
[all...]
/packages/apps/Camera/src/com/android/camera/ui/
H A DPieRenderer.java422 int action = evt.getActionMasked();
424 if (MotionEvent.ACTION_DOWN == action) {
439 } else if (MotionEvent.ACTION_UP == action) {
460 } else if (MotionEvent.ACTION_CANCEL == action) {
466 } else if (MotionEvent.ACTION_MOVE == action) {
/packages/apps/Camera2/src/com/android/camera/ui/
H A DPieRenderer.java634 int action = evt.getActionMasked();
636 if (MotionEvent.ACTION_DOWN == action) {
654 } else if (MotionEvent.ACTION_UP == action) {
675 } else if (MotionEvent.ACTION_CANCEL == action) {
682 } else if (MotionEvent.ACTION_MOVE == action) {
/packages/apps/Dialer/src/com/android/dialer/
H A DDialtactsActivity.java115 private static final String ACTION_TOUCH_DIALER = "com.android.phone.action.TOUCH_DIALER";
632 // abstract action, but this class hasn't been rewritten to deal with it.
697 final String action = newIntent.getAction();
704 final String action = intent.getAction();
705 if (Intent.ACTION_DIAL.equals(action) || ACTION_TOUCH_DIALER.equals(action)) {
708 if (Intent.ACTION_VIEW.equals(action)) {
/packages/apps/MusicFX/src/com/android/musicfx/
H A DActivityMusic.java175 final String action = intent.getAction();
178 if (action.equals(Intent.ACTION_HEADSET_PLUG)) {
181 } else if (action.equals(BluetoothDevice.ACTION_ACL_CONNECTED)) {
189 } else if (action.equals(AudioManager.ACTION_AUDIO_BECOMING_NOISY)) {
191 } else if (action.equals(BluetoothDevice.ACTION_ACL_DISCONNECTED)) {
/packages/apps/Settings/src/com/android/settings/widget/
H A DSettingsAppWidgetProvider.java804 String action = intent.getAction();
805 if (WifiManager.WIFI_STATE_CHANGED_ACTION.equals(action)) {
807 } else if (BluetoothAdapter.ACTION_STATE_CHANGED.equals(action)) {
809 } else if (LocationManager.MODE_CHANGED_ACTION.equals(action)) {
811 } else if (ContentResolver.ACTION_SYNC_CONN_STATUS_CHANGED.equals(action)) {
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
H A DConversationContainer.java374 LogUtils.v(TAG, "in Container.OnTouch. fake: action=%d x/y=%f/%f pointers=%d",
419 // LogUtils.v(TAG, "in Container.InterceptTouch. action=%d x/y=%f/%f pointers=%d result=%s",
426 final int action = ev.getActionMasked();
428 if (action == MotionEvent.ACTION_UP || action == MotionEvent.ACTION_CANCEL) {
431 (action == MotionEvent.ACTION_MOVE || action == MotionEvent.ACTION_POINTER_DOWN)) {
444 // LogUtils.v(TAG, "in Container.OnTouch. action=%d x/y=%f/%f pointers=%d",
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
H A DNotificationActionUtils.java76 * the original notification if the action is undone.
216 * @param notificationActionStrings The action strings to sort
222 for (final String action : notificationActionStrings) {
223 unsortedActions.add(NotificationActionType.getActionType(action));
297 * Creates a {@link PendingIntent} for the specified notification action.
302 final NotificationActionType action, final int notificationId, final long when) {
305 final NotificationAction notificationAction = new NotificationAction(action, account,
308 switch (action) {
465 "There is no action text for this NotificationActionType.");
546 // When the notification is cleared, we perform the destructive action
299 getNotificationActionPendingIntent(final Context context, final Account account, final Conversation conversation, final Message message, final Folder folder, final Intent notificationIntent, final NotificationActionType action, final int notificationId, final long when) argument
[all...]
/packages/apps/VideoEditor/src/com/android/videoeditor/
H A DVideoEditorBaseActivity.java186 String itemId, int action, int progress) {
201 if (action == ApiService.ACTION_UPDATE_FRAME) {
205 getMediaLayout().onGeneratePreviewMediaItemProgress(itemId, action, progress);
207 getMediaLayout().onGeneratePreviewTransitionProgress(itemId, action, progress);
209 getAudioTrackLayout().onGeneratePreviewProgress(itemId, action, progress);
185 onVideoEditorGeneratePreviewProgress(String projectPath, String className, String itemId, int action, int progress) argument
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
H A DBluetoothMapService.java640 String action = intent.getAction();
641 if (action.equals(BluetoothAdapter.ACTION_STATE_CHANGED)) {
655 } else if (action.equals(BluetoothDevice.ACTION_CONNECTION_ACCESS_REPLY)) {
/packages/apps/DeskClock/src/com/android/deskclock/alarms/
H A DAlarmStateManager.java99 // Intent action to trigger an instance state change.
102 // Intent action to show the alarm and dismiss the instance
677 final String action = intent.getAction();
679 if (CHANGE_STATE_ACTION.equals(action)) {
703 } else if (SHOW_AND_DISMISS_ALARM_ACTION.equals(action)) {
/packages/apps/Launcher3/src/com/android/launcher3/
H A DPagedView.java679 final int action;
681 action = AccessibilityNodeInfo.ACTION_SCROLL_FORWARD;
683 action = AccessibilityNodeInfo.ACTION_SCROLL_BACKWARD;
686 ev.setAction(action);
1355 final int action = ev.getAction();
1356 if ((action == MotionEvent.ACTION_MOVE) &&
1361 switch (action & MotionEvent.ACTION_MASK) {
1692 final int action = ev.getAction();
1694 switch (action & MotionEvent.ACTION_MASK) {
2788 public boolean performAccessibilityAction(int action, Bundl argument
[all...]

Completed in 475 milliseconds

1234567891011>>