/frameworks/base/core/java/android/appwidget/ |
H A D | AppWidgetProvider.java | 55 String action = intent.getAction(); 56 if (AppWidgetManager.ACTION_APPWIDGET_UPDATE.equals(action)) { 65 else if (AppWidgetManager.ACTION_APPWIDGET_DELETED.equals(action)) { 72 else if (AppWidgetManager.ACTION_APPWIDGET_ENABLED.equals(action)) { 75 else if (AppWidgetManager.ACTION_APPWIDGET_DISABLED.equals(action)) {
|
/frameworks/base/tests/appwidgets/AppWidgetHostTest/src/com/android/tests/appwidgethost/ |
H A D | TestAppWidgetProvider.java | 37 String action = intent.getAction(); 40 if (AppWidgetManager.ACTION_APPWIDGET_ENABLED.equals(action)) { 43 else if (AppWidgetManager.ACTION_APPWIDGET_DISABLED.equals(action)) { 46 else if (AppWidgetManager.ACTION_APPWIDGET_UPDATE.equals(action)) {
|
/frameworks/base/tests/appwidgets/AppWidgetProviderTest/src/com/android/tests/appwidgetprovider/ |
H A D | TestAppWidgetProvider.java | 34 String action = intent.getAction(); 37 if (AppWidgetManager.ACTION_APPWIDGET_ENABLED.equals(action)) { 40 else if (AppWidgetManager.ACTION_APPWIDGET_DISABLED.equals(action)) { 43 else if (AppWidgetManager.ACTION_APPWIDGET_UPDATE.equals(action)) {
|
/frameworks/base/core/java/android/app/admin/ |
H A D | DeviceAdminReceiver.java | 59 * This is the primary action that a device administrator must implement to be 69 = "android.app.action.DEVICE_ADMIN_ENABLED"; 82 = "android.app.action.DEVICE_ADMIN_DISABLE_REQUESTED"; 97 * that this action will be 103 = "android.app.action.DEVICE_ADMIN_DISABLED"; 119 = "android.app.action.ACTION_PASSWORD_CHANGED"; 135 = "android.app.action.ACTION_PASSWORD_FAILED"; 147 = "android.app.action.ACTION_PASSWORD_SUCCEEDED"; 258 * convenience callbacks for each action. 262 String action [all...] |
/frameworks/base/core/java/com/android/internal/app/ |
H A D | ExternalMediaFormatActivity.java | 42 String action = intent.getAction(); 43 Log.d("ExternalMediaFormatActivity", "got action " + action); 45 if (action == Intent.ACTION_MEDIA_REMOVED || 46 action == Intent.ACTION_MEDIA_CHECKING || 47 action == Intent.ACTION_MEDIA_MOUNTED || 48 action == Intent.ACTION_MEDIA_SHARED) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
H A D | UsbDisconnectedReceiver.java | 43 String action = intent.getAction(); 44 if (UsbManager.ACTION_USB_ACCESSORY_DETACHED.equals(action)) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | DateView.java | 39 String action = intent.getAction(); 40 if (action.equals(Intent.ACTION_TIME_TICK) 41 || action.equals(Intent.ACTION_TIMEZONE_CHANGED)) {
|
H A D | StatusBarPolicy.java | 533 String action = intent.getAction(); 534 if (action.equals(Intent.ACTION_BATTERY_CHANGED)) { 537 else if (action.equals(Intent.ACTION_ALARM_CHANGED)) { 540 else if (action.equals(Intent.ACTION_SYNC_STATE_CHANGED)) { 543 else if (action.equals(Intent.ACTION_BATTERY_LOW)) { 546 else if (action.equals(Intent.ACTION_BATTERY_OKAY) 547 || action.equals(Intent.ACTION_POWER_CONNECTED)) { 550 else if (action.equals(BluetoothAdapter.ACTION_STATE_CHANGED) || 551 action.equals(BluetoothHeadset.ACTION_STATE_CHANGED) || 552 action [all...] |
/frameworks/base/core/java/android/text/method/ |
H A D | LinkMovementMethod.java | 43 if (action(CLICK, widget, buffer)) { 54 if (action(UP, widget, buffer)) { 63 if (action(DOWN, widget, buffer)) { 72 if (action(UP, widget, buffer)) { 81 if (action(DOWN, widget, buffer)) { 88 private boolean action(int what, TextView widget, Spannable buffer) { method in class:LinkMovementMethod 195 int action = event.getAction(); 197 if (action == MotionEvent.ACTION_UP || 198 action == MotionEvent.ACTION_DOWN) { 215 if (action [all...] |
/frameworks/base/core/java/android/bluetooth/ |
H A D | BluetoothProfileState.java | 59 String action = intent.getAction(); 61 if (action.equals(BluetoothHeadset.ACTION_STATE_CHANGED)) { 67 } else if (action.equals(BluetoothA2dp.ACTION_SINK_STATE_CHANGED)) { 73 } else if (action.equals(BluetoothDevice.ACTION_ACL_DISCONNECTED)) {
|
/frameworks/base/core/java/com/android/internal/content/ |
H A D | PackageMonitor.java | 196 String action = intent.getAction(); 197 if (Intent.ACTION_PACKAGE_ADDED.equals(action)) { 223 } else if (Intent.ACTION_PACKAGE_REMOVED.equals(action)) { 246 } else if (Intent.ACTION_PACKAGE_CHANGED.equals(action)) { 259 } else if (Intent.ACTION_QUERY_PACKAGE_RESTART.equals(action)) { 266 } else if (Intent.ACTION_PACKAGE_RESTARTED.equals(action)) { 271 } else if (Intent.ACTION_UID_REMOVED.equals(action)) { 273 } else if (Intent.ACTION_EXTERNAL_APPLICATIONS_AVAILABLE.equals(action)) { 284 } else if (Intent.ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE.equals(action)) {
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
H A D | LaunchpadActivity.java | 171 String action = getIntent().getAction(); 174 if (LIFECYCLE_BASIC.equals(action)) { 177 } else if (LIFECYCLE_SCREEN.equals(action)) { 182 } else if (LIFECYCLE_DIALOG.equals(action)) { 186 } else if (LIFECYCLE_FINISH_CREATE.equals(action)) { 194 } else if (LIFECYCLE_FINISH_START.equals(action)) { 227 String action = getIntent().getAction(); 231 if (LAUNCH.equals(action)) { 238 } else if (FORWARD_RESULT.equals(action)) { 243 } else if (BAD_PARCELABLE.equals(action)) { 438 makeBroadcastIntent(String action) argument [all...] |
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
H A D | GlobalActions.java | 279 final Action action = mItems.get(i); 281 if (mKeyguardShowing && !action.showDuringKeyguard()) { 284 if (!mDeviceProvisioned && !action.showBeforeProvisioning()) { 306 final Action action = mItems.get(i); 307 if (mKeyguardShowing && !action.showDuringKeyguard()) { 310 if (!mDeviceProvisioned && !action.showBeforeProvisioning()) { 314 return action; 331 Action action = getItem(position); 332 return action.create(mContext, convertView, parent, LayoutInflater.from(mContext)); 351 * @return whether this action shoul [all...] |
H A D | KeyguardUpdateMonitor.java | 225 final String action = intent.getAction(); 226 if (DEBUG) Log.d(TAG, "received broadcast " + action); 228 if (Intent.ACTION_TIME_TICK.equals(action) 229 || Intent.ACTION_TIME_CHANGED.equals(action) 230 || Intent.ACTION_TIMEZONE_CHANGED.equals(action)) { 232 } else if (SPN_STRINGS_UPDATED_ACTION.equals(action)) { 236 } else if (Intent.ACTION_BATTERY_CHANGED.equals(action)) { 245 } else if (TelephonyIntents.ACTION_SIM_STATE_CHANGED.equals(action)) { 249 } else if (AudioManager.RINGER_MODE_CHANGED_ACTION.equals(action)) { 252 } else if (TelephonyManager.ACTION_PHONE_STATE_CHANGED.equals(action)) { [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | ViewFlipper.java | 72 final String action = intent.getAction(); 73 if (Intent.ACTION_SCREEN_OFF.equals(action)) { 76 } else if (Intent.ACTION_USER_PRESENT.equals(action)) {
|
/frameworks/base/core/java/android/view/ |
H A D | KeyEvent.java | 46 * with the special action {@link #ACTION_MULTIPLE} that either specifies 470 * for old applications, but still do the appropriate action when 480 * event and should not perform the action normally associated with the 482 * action for a key until it receives an up or the long press timeout has 502 * press action was executed while it was down. 609 * @param action Action code: either {@link #ACTION_DOWN}, 613 public KeyEvent(int action, int code) { argument 614 mAction = action; 626 * @param action Action code: either {@link #ACTION_DOWN}, 632 public KeyEvent(long downTime, long eventTime, int action, argument 655 KeyEvent(long downTime, long eventTime, int action, int code, int repeat, int metaState) argument 681 KeyEvent(long downTime, long eventTime, int action, int code, int repeat, int metaState, int deviceId, int scancode) argument 711 KeyEvent(long downTime, long eventTime, int action, int code, int repeat, int metaState, int deviceId, int scancode, int flags) argument 743 KeyEvent(long downTime, long eventTime, int action, int code, int repeat, int metaState, int deviceId, int scancode, int flags, int source) argument 865 KeyEvent(KeyEvent origEvent, int action) argument 887 changeAction(KeyEvent event, int action) argument [all...] |
H A D | IWindow.aidl | 65 void dispatchWallpaperCommand(String action, int x, int y,
|
/frameworks/base/core/java/android/view/inputmethod/ |
H A D | InputConnection.java | 243 * Have the editor perform an action it has said it can do. 245 * @param editorAction This must be one of the action constants for 255 * Perform a context menu action on the field. The given id may be one of: 337 * @param action Name of the command to be performed. This <em>must</em> 345 public boolean performPrivateCommand(String action, Bundle data); argument
|
H A D | InputMethodSession.java | 136 * @param action Name of the command to be performed. This <em>must</em> 141 public void appPrivateCommand(String action, Bundle data); argument
|
H A D | InputConnectionWrapper.java | 122 public boolean performPrivateCommand(String action, Bundle data) { argument 123 return mTarget.performPrivateCommand(action, data);
|
/frameworks/base/include/ui/ |
H A D | InputTransport.h | 125 int32_t action; member in struct:android::InputMessage::__anon148::__anon149 136 int32_t action; member in struct:android::InputMessage::__anon148::__anon150 202 int32_t action, 220 int32_t action,
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
H A D | PhoneStateIntentReceiver.java | 186 String action = intent.getAction(); 189 if (TelephonyIntents.ACTION_SIGNAL_STRENGTH_CHANGED.equals(action)) { 196 } else if (TelephonyManager.ACTION_PHONE_STATE_CHANGED.equals(action)) { 208 } else if (TelephonyIntents.ACTION_SERVICE_STATE_CHANGED.equals(action)) {
|
/frameworks/base/core/java/com/android/internal/view/ |
H A D | IInputMethodSession.aidl | 48 void appPrivateCommand(String action, in Bundle data);
|
/frameworks/base/cmds/keystore/ |
H A D | keystore.c | 238 * performing an action. The number of parameters required by each action is 239 * fixed and defined in a table. If the return value of an action is positive, 467 static struct action { struct 501 struct action *action = actions; local 507 while (action->code && action->code != code) { 508 ++action; 510 if (!action [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | PointerLocationView.java | 324 int action = event.getAction(); 326 //Log.i(TAG, "Motion: action=0x" + Integer.toHexString(action) 339 if (action == MotionEvent.ACTION_DOWN 340 || (action & MotionEvent.ACTION_MASK) == MotionEvent.ACTION_POINTER_DOWN) { 341 final int index = (action & MotionEvent.ACTION_POINTER_INDEX_MASK) 343 if (action == MotionEvent.ACTION_DOWN) { 376 mCurDown = action != MotionEvent.ACTION_UP 377 && action != MotionEvent.ACTION_CANCEL; 406 if (action [all...] |