Searched refs:action (Results 176 - 200 of 304) sorted by relevance

1234567891011>>

/frameworks/base/services/java/com/android/server/
H A DAppWidgetService.java335 String action = intent.getAction();
336 // Slog.d(TAG, "received " + action);
337 if (Intent.ACTION_BOOT_COMPLETED.equals(action)) {
344 } else if (Intent.ACTION_CONFIGURATION_CHANGED.equals(action)) {
H A DDevicePolicyManagerService.java152 final String action = intent.getAction();
155 if (Intent.ACTION_BOOT_COMPLETED.equals(action)
156 || ACTION_EXPIRED_PASSWORD_NOTIFICATION.equals(action)) {
157 if (DBG) Slog.v(TAG, "Sending password expiration notifications for action "
158 + action + " for user " + userHandle);
164 } else if (Intent.ACTION_USER_REMOVED.equals(action)) {
166 } else if (Intent.ACTION_USER_STARTED.equals(action)
167 || Intent.ACTION_PACKAGE_CHANGED.equals(action)
168 || Intent.ACTION_PACKAGE_REMOVED.equals(action)
169 || Intent.ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE.equals(action)) {
665 sendAdminCommandLocked(ActiveAdmin admin, String action) argument
669 sendAdminCommandLocked(ActiveAdmin admin, String action, BroadcastReceiver result) argument
683 sendAdminCommandLocked(String action, int reqPolicy, int userHandle) argument
[all...]
H A DNotificationManagerService.java946 final Notification.Action action = notification.actions[i];
950 action.title,
951 action.actionIntent.toString()
1133 String action = intent.getAction();
1140 if (action.equals(Intent.ACTION_PACKAGE_ADDED)
1141 || (queryRemove=action.equals(Intent.ACTION_PACKAGE_REMOVED))
1142 || action.equals(Intent.ACTION_PACKAGE_RESTARTED)
1143 || (packageChanged=action.equals(Intent.ACTION_PACKAGE_CHANGED))
1144 || (queryRestart=action.equals(Intent.ACTION_QUERY_PACKAGE_RESTART))
1145 || action
[all...]
H A DClipboardService.java111 String action = intent.getAction();
112 if (Intent.ACTION_USER_REMOVED.equals(action)) {
/frameworks/support/v4/java/android/support/v4/app/
H A DShareCompat.java42 * about the activity that invoked a social sharing action.
201 * Configure a {@link MenuItem} to act as a sharing action.
208 * as an action in the Action Bar it should use
236 * Configure a menu item to act as a sharing action.
269 * Create a new IntentBuilder for launching a sharing action from launchingActivity.
309 // Check if we need to change the action.
314 // Change back to a single send action; place the first stream into the
326 // Change to a multiple send action; place the relevant ArrayList into the
370 * @return A chooser Intent for the currently configured sharing action
650 * to accept {@link Intent#ACTION_SEND} intents ("android.intent.action
[all...]
/frameworks/support/v4/java/android/support/v4/view/
H A DGestureDetectorCompat.java224 final int action = ev.getAction();
232 (action & MotionEventCompat.ACTION_MASK) == MotionEventCompat.ACTION_POINTER_UP;
249 switch (action & MotionEventCompat.ACTION_MASK) {
/frameworks/base/core/java/android/view/
H A DViewRootImpl.java1238 // Execute enqueued actions on every traversal in case a detached view enqueued an action
3249 * take the appropriate action.
3715 final int action = event.getAction();
3716 if (action == MotionEvent.ACTION_DOWN || action == MotionEvent.ACTION_SCROLL) {
3983 final int action = event.getAction();
3985 switch (action) {
4532 final int action = event.getActionMasked();
4533 switch (action) {
4580 if (action
6087 dispatchWallpaperCommand(String action, int x, int y, int z, Bundle extras, boolean sync) argument
6196 post(Runnable action) argument
6200 postDelayed(Runnable action, long delayMillis) argument
6210 removeCallbacks(Runnable action) argument
6238 Runnable action; field in class:ViewRootImpl.RunQueue.HandlerAction
6338 performAccessibilityAction(long accessibilityNodeId, int action, Bundle arguments, int interactionId, IAccessibilityInteractionConnectionCallback callback, int flags, int interogatingPid, long interrogatingTid) argument
[all...]
/frameworks/base/core/java/android/app/
H A DSearchDialog.java531 * @param actionKey The key code of the action key that was pressed,
533 * @param actionMsg The message for the action key that was pressed,
538 String action = Intent.ACTION_SEARCH;
539 Intent intent = createIntent(action, null, null, query, actionKey, actionMsg);
575 * @param action Intent action.
579 * @param actionKey The key code of the action key that was pressed,
581 * @param actionMsg The message for the action key that was pressed,
587 private Intent createIntent(String action, Uri data, String extraData, String query, argument
590 Intent intent = new Intent(action);
[all...]
H A DUiAutomation.java265 * Performs a global action. Such an action can be performed at any moment
269 * @param action The action to perform.
270 * @return Whether the action was successfully performed.
277 public final boolean performGlobalAction(int action) { argument
287 return connection.performGlobalAction(action);
456 // so starting to collect events before running the action is just fine.
/frameworks/base/core/java/android/content/
H A DIntent.java63 * holding an abstract description of an action to be performed.</p>
77 * <li> <p><b>action</b> -- The general action to be performed, such as
87 * <p>Some examples of action/data pairs are:</p>
98 * VIEW action does what what is considered the most reasonable thing for
120 * <li> <p><b>category</b> -- Gives additional information about the action
131 * at the other information in the intent (the action, data/type, and
138 * For example, if we have a action to send an e-mail message, we could
167 * <p>There are a variety of standard Intent action and category constants
171 * "android.intent.action
3620 Intent(String action) argument
3640 Intent(String action, Uri uri) argument
3688 Intent(String action, Uri uri, Context packageContext, Class<?> cls) argument
4966 setAction(String action) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DSlidingDrawer.java359 final int action = event.getAction();
372 if (action == MotionEvent.ACTION_DOWN) {
407 final int action = event.getAction();
408 switch (action) {
H A DGallery.java166 * down. This is checked before we action on the "invoke" key up, and is
960 int action = event.getAction();
961 if (action == MotionEvent.ACTION_UP) {
964 } else if (action == MotionEvent.ACTION_CANCEL) {
1071 * Called when a touch event's action is MotionEvent.ACTION_UP.
1083 * Called when a touch event's action is MotionEvent.ACTION_CANCEL.
1401 public boolean performAccessibilityAction(int action, Bundle arguments) { argument
1402 if (super.performAccessibilityAction(action, arguments)) {
1405 switch (action) {
/frameworks/base/core/tests/coretests/src/android/content/pm/
H A DPackageManagerTests.java181 String action = intent.getAction();
182 if (!Intent.ACTION_PACKAGE_ADDED.equals(action)) {
803 String action = intent.getAction();
809 if (Intent.ACTION_PACKAGE_REMOVED.equals(action)) {
811 } else if (Intent.ACTION_PACKAGE_ADDED.equals(action)) {
823 } else if (Intent.ACTION_PACKAGE_REPLACED.equals(action)) {
962 String action = intent.getAction();
963 if (!Intent.ACTION_PACKAGE_REMOVED.equals(action)) {
1096 String action = intent.getAction();
1097 if (!Intent.ACTION_EXTERNAL_APPLICATIONS_AVAILABLE.equals(action)) {
[all...]
/frameworks/base/media/tests/ScoAudioTest/src/com/android/scoaudiotest/
H A DScoAudioTest.java672 String action = intent.getAction();
674 if (action.equals(BluetoothHeadset.ACTION_AUDIO_STATE_CHANGED)) {
678 } else if (action.equals(AudioManager.ACTION_SCO_AUDIO_STATE_CHANGED)) {
684 } else if (action.equals(AudioManager.ACTION_SCO_AUDIO_STATE_UPDATED)) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/
H A DRecentTasksLoader.java254 int action = ev.getAction() & MotionEvent.ACTION_MASK;
255 if (action == MotionEvent.ACTION_DOWN) {
257 } else if (action == MotionEvent.ACTION_CANCEL) {
259 } else if (action == MotionEvent.ACTION_UP) {
/frameworks/base/tests/BrowserTestPlugin/jni/event/
H A DEventPlugin.cpp154 switch (evt->data.lifecycle.action) {
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/
H A DBridge.java358 RenderDrawable action = new RenderDrawable(params);
361 lastResult = action.init(params.getTimeout());
363 lastResult = action.render();
366 action.release();
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A DBridgeWindowSession.java176 public Bundle sendWallpaperCommand(IBinder window, String action, int x, int y, argument
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/
H A DRadialPickerLayout.java786 public boolean performAccessibilityAction(int action, Bundle arguments) { argument
787 if (super.performAccessibilityAction(action, arguments)) {
792 if (action == AccessibilityNodeInfo.ACTION_SCROLL_FORWARD) {
794 } else if (action == AccessibilityNodeInfo.ACTION_SCROLL_BACKWARD) {
/frameworks/base/core/tests/coretests/src/android/view/
H A DVelocityTest.java259 private void addMotionEvent(VelocityTracker vt, int x, int y, long time, int action) { argument
260 MotionEvent me = MotionEvent.obtain(time, time, action, x, y, 0);
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/
H A DPowerUI.java110 String action = intent.getAction();
111 if (action.equals(Intent.ACTION_BATTERY_CHANGED)) {
/frameworks/base/policy/src/com/android/internal/policy/impl/
H A DRecentApplicationsDialog.java129 // fallback action chorded with ALT, META or even CTRL depending on the key map.
338 String action = intent.getAction();
339 if (Intent.ACTION_CLOSE_SYSTEM_DIALOGS.equals(action)) {
/frameworks/opt/net/voip/src/java/com/android/server/sip/
H A DSipWakeupTimer.java227 String action = intent.getAction();
228 if (getAction().equals(action)
/frameworks/support/v4/java/android/support/v4/widget/
H A DSlidingPaneLayout.java721 final int action = MotionEventCompat.getActionMasked(ev);
724 if (!mCanSlide && action == MotionEvent.ACTION_DOWN && getChildCount() > 1) {
733 if (!mCanSlide || (mIsUnableToDrag && action != MotionEvent.ACTION_DOWN)) {
738 if (action == MotionEvent.ACTION_CANCEL || action == MotionEvent.ACTION_UP) {
745 switch (action) {
787 final int action = ev.getAction();
790 switch (action & MotionEventCompat.ACTION_MASK) {
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/videoeditor/
H A DVideoEditorExportTest.java144 public void onProgress(Object item, int action, int progress) {
269 public void onProgress(Object item, int action, int progress) {
332 public void onProgress(Object item, int action, int progress) {
390 public void onProgress(Object item, int action, int progress) {
503 public void onProgress(Object item, int action, int progress) {
788 public void onProgress(Object item, int action, int progress) {

Completed in 637 milliseconds

1234567891011>>