Searched refs:action (Results 76 - 100 of 116) sorted by relevance

12345

/frameworks/base/services/java/com/android/server/
H A DAlarmManagerService.java821 String action = intent.getAction();
823 if (Intent.ACTION_QUERY_PACKAGE_RESTART.equals(action)) {
832 } else if (Intent.ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE.equals(action)) {
835 if (Intent.ACTION_PACKAGE_REMOVED.equals(action)
H A DDevicePolicyManagerService.java269 void sendAdminCommandLocked(ActiveAdmin admin, String action) { argument
270 Intent intent = new Intent(action);
275 void sendAdminCommandLocked(String action, int reqPolicy) { argument
281 sendAdminCommandLocked(admin, action);
H A DLocationManagerService.java1568 String action = intent.getAction();
1569 boolean queryRestart = action.equals(Intent.ACTION_QUERY_PACKAGE_RESTART);
1571 || action.equals(Intent.ACTION_PACKAGE_REMOVED)
1572 || action.equals(Intent.ACTION_PACKAGE_RESTARTED)
1573 || action.equals(Intent.ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE)) {
1576 if (action.equals(Intent.ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE)) {
1632 } else if (action.equals(ConnectivityManager.CONNECTIVITY_ACTION)) {
H A DWifiService.java206 "com.android.server.WifiManager.action.DEVICE_IDLE";
1647 String action = intent.getAction();
1655 if (action.equals(Intent.ACTION_SCREEN_ON)) {
1661 } else if (action.equals(Intent.ACTION_SCREEN_OFF)) {
1692 } else if (action.equals(ACTION_DEVICE_IDLE)) {
1695 } else if (action.equals(Intent.ACTION_BATTERY_CHANGED)) {
1714 } else if (action.equals(BluetoothA2dp.ACTION_SINK_STATE_CHANGED)) {
H A DBackupManagerService.java795 String action = intent.getAction();
800 if (Intent.ACTION_PACKAGE_ADDED.equals(action) ||
801 Intent.ACTION_PACKAGE_REMOVED.equals(action)) {
810 added = Intent.ACTION_PACKAGE_ADDED.equals(action);
812 } else if (Intent.ACTION_EXTERNAL_APPLICATIONS_AVAILABLE.equals(action)) {
815 } else if (Intent.ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE.equals(action)) {
984 // action cannot be passed a null package name.
2274 // name is not one of the available transports, no action is taken and the method
H A DWindowManagerService.java2323 String action, int x, int y, int z, Bundle extras, boolean sync) {
2336 wallpaper.mClient.dispatchWallpaperCommand(action,
3160 // No obvious action we need to take, but if our current
3210 //action like disabling/enabling sensors etc.,
5063 int action = ev.getAction();
5065 if (action == MotionEvent.ACTION_UP) {
5069 } else if (action == MotionEvent.ACTION_DOWN) {
5079 if (action != MotionEvent.ACTION_MOVE) {
5080 Slog.w(TAG, "No window to dispatch pointer action " + ev.getAction());
5134 if((action
2322 sendWindowWallpaperCommandLocked(WindowState window, String action, int x, int y, int z, Bundle extras, boolean sync) argument
6871 sendWallpaperCommand(IBinder window, String action, int x, int y, int z, Bundle extras, boolean sync) argument
[all...]
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/
H A DCdmaCallTracker.java1026 private void handleEcmTimer(int action) { argument
1027 phone.handleTimerInEmergencyCallbackMode(action);
1028 switch(action) {
1032 Log.e(LOG_TAG, "handleEcmTimer, unsupported action " + action);
H A DCDMAPhone.java909 * if action is CANCEL_ECM_TIMER, cancel Ecm timer and notify apps the timer is canceled;
912 void handleTimerInEmergencyCallbackMode(int action) { argument
913 switch(action) {
925 Log.e(LOG_TAG, "handleTimerInEmergencyCallbackMode, unsupported action " + action);
/frameworks/base/tests/DumpRenderTree/assets/
H A Drun_reliability_tests.py254 option_parser.add_option("-v", "--verbose", action="store_true",
/frameworks/base/core/java/com/android/internal/widget/
H A DRotarySelector.java78 // the user lets go before triggering an action
506 final int action = event.getAction();
507 switch (action) {
/frameworks/policies/base/mid/com/android/internal/policy/impl/
H A DMidWindow.java1314 // "call_key" extra tells the DialtactsActivity that this action was
1619 int action = event.getAction();
1621 if (action == MotionEvent.ACTION_DOWN) {
1636 if (action == MotionEvent.ACTION_DOWN) {
1648 if (action == MotionEvent.ACTION_MOVE) {
1655 } else if (action == MotionEvent.ACTION_UP) {
1662 //Log.i(TAG, "Intercept: action=" + action + " y=" + event.getY()
1665 if (action == MotionEvent.ACTION_DOWN) {
1679 if (action
[all...]
/frameworks/policies/base/phone/com/android/internal/policy/impl/
H A DPhoneWindow.java1249 // press action to be performed.
1690 int action = event.getAction();
1692 if (action == MotionEvent.ACTION_DOWN) {
1707 if (action == MotionEvent.ACTION_DOWN) {
1719 if (action == MotionEvent.ACTION_MOVE) {
1726 } else if (action == MotionEvent.ACTION_UP) {
1733 //Log.i(TAG, "Intercept: action=" + action + " y=" + event.getY()
1736 if (action == MotionEvent.ACTION_DOWN) {
1750 if (action
[all...]
/frameworks/base/core/java/android/view/inputmethod/
H A DInputMethodManager.java1238 * @param action Name of the command to be performed. This <em>must</em>
1243 public void sendAppPrivateCommand(View view, String action, Bundle data) { argument
1252 if (DEBUG) Log.v(TAG, "APP PRIVATE COMMAND " + action + ": " + data);
1253 mCurMethod.appPrivateCommand(action, data);
H A DBaseInputConnection.java373 public boolean performPrivateCommand(String action, Bundle data) { argument
/frameworks/base/core/java/android/widget/
H A DAutoCompleteTextView.java1458 final int action = event.getAction();
1459 if (action == MotionEvent.ACTION_DOWN &&
1462 } else if (action == MotionEvent.ACTION_UP) {
H A DGallery.java157 * down. This is checked before we action on the "invoke" key up, and is
841 int action = event.getAction();
842 if (action == MotionEvent.ACTION_UP) {
845 } else if (action == MotionEvent.ACTION_CANCEL) {
960 * Called when a touch event's action is MotionEvent.ACTION_UP.
972 * Called when a touch event's action is MotionEvent.ACTION_CANCEL.
H A DAbsListView.java1687 // The data has changed since we posted this action in the event queue,
1980 final int action = ev.getAction();
1990 switch (action & MotionEvent.ACTION_MASK) {
2265 int action = ev.getAction();
2275 switch (action & MotionEvent.ACTION_MASK) {
3440 int action = event.getAction();
3441 switch (action) {
H A DGridView.java1397 int action = event.getAction();
1399 if (action != KeyEvent.ACTION_UP) {
1468 switch (action) {
/frameworks/base/location/java/com/android/internal/location/
H A DGpsLocationProvider.java81 * Broadcast intent action indicating that the GPS has either been
92 * Broadcast intent action indicating that the GPS has either started or
332 String action = intent.getAction();
334 if (action.equals(ALARM_WAKEUP)) {
337 } else if (action.equals(ALARM_TIMEOUT)) {
/frameworks/base/services/java/com/android/server/status/
H A DStatusBarService.java1743 String action = intent.getAction();
1744 if (Intent.ACTION_CLOSE_SYSTEM_DIALOGS.equals(action)
1745 || Intent.ACTION_SCREEN_OFF.equals(action)) {
1748 else if (Telephony.Intents.SPN_STRINGS_UPDATED_ACTION.equals(action)) {
1754 else if (Intent.ACTION_CONFIGURATION_CHANGED.equals(action)) {
/frameworks/base/core/java/android/webkit/
H A DWebView.java4681 int action;
4696 action = ev.getAction() & MotionEvent.ACTION_MASK;
4697 if (action == MotionEvent.ACTION_POINTER_DOWN) {
4699 action = MotionEvent.ACTION_DOWN;
4700 } else if (action == MotionEvent.ACTION_POINTER_UP) {
4704 } else if (action == MotionEvent.ACTION_MOVE) {
4711 // if the page disallow zoom, skip multi-pointer action
4715 action = ev.getAction();
4738 switch (action) {
4765 // commit the short press action fo
[all...]
/frameworks/base/core/java/android/app/
H A DActivity.java1786 * it will set up the dispatch to call {@link #onKeyUp} where the action
1788 * action immediately in on-down, as those versions of the platform
1958 * <p>Note that this callback will be invoked for the touch down action
2846 * here; otherwise, its associated action will be executed (such as
3697 * Runs the specified action on the UI thread. If the current thread is the UI
3698 * thread, then the action is executed immediately. If the current thread is
3699 * not the UI thread, the action is posted to the event queue of the UI thread.
3701 * @param action the action to run on the UI thread
3703 public final void runOnUiThread(Runnable action) { argument
[all...]
/frameworks/base/core/java/android/inputmethodservice/
H A DInputMethodService.java465 public void appPrivateCommand(String action, Bundle data) { argument
469 InputMethodService.this.onAppPrivateCommand(action, data);
1663 public void onAppPrivateCommand(String action, Bundle data) { argument
1782 * Ask the input target to execute its default action via
1789 * EditorInfo.IME_FLAG_NO_ENTER_ACTION}. If false, the action will be
1792 * @return Returns a boolean indicating whether an action has been sent.
1793 * If false, either the editor did not specify a default action or it
1794 * does not want an action from the enter key. If true, the action was
1805 // action associate
[all...]
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/
H A DGSMPhone.java917 protected boolean isCfEnable(int action) { argument
918 return (action == CF_ACTION_ENABLE) || (action == CF_ACTION_REGISTRATION);
/frameworks/base/core/java/android/view/
H A DView.java1756 * Whether the long press's action has been invoked. The tap's action is invoked on the
1758 * a long press could be performed before the tap is checked, in which case the tap's action
4059 * @param event The KeyEvent object that defines the button action.
4103 * @param event The KeyEvent object that defines the button action.
4137 * @param repeatCount The number of times the action was made.
4138 * @param event The KeyEvent object that defines the button action.
5203 * @param action The Runnable that will be executed.
5209 public boolean post(Runnable action) { argument
5215 ViewRoot.getRunQueue().post(action);
5238 postDelayed(Runnable action, long delayMillis) argument
5261 removeCallbacks(Runnable action) argument
[all...]

Completed in 1074 milliseconds

12345