/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 | 47 String action = intent.getAction(); 48 Log.d("ExternalMediaFormatActivity", "got action " + action); 50 if (action == Intent.ACTION_MEDIA_REMOVED || 51 action == Intent.ACTION_MEDIA_CHECKING || 52 action == Intent.ACTION_MEDIA_MOUNTED || 53 action == Intent.ACTION_MEDIA_SHARED) {
|
/frameworks/base/services/java/com/android/server/status/ |
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 | 348 String action = intent.getAction(); 349 if (action.equals(Intent.ACTION_TIME_TICK)) { 352 else if (action.equals(Intent.ACTION_TIME_CHANGED)) { 355 else if (action.equals(Intent.ACTION_BATTERY_CHANGED)) { 358 else if (action.equals(Intent.ACTION_CONFIGURATION_CHANGED)) { 361 else if (action.equals(Intent.ACTION_TIMEZONE_CHANGED)) { 369 else if (action.equals(Intent.ACTION_ALARM_CHANGED)) { 372 else if (action.equals(Intent.ACTION_SYNC_STATE_CHANGED)) { 375 else if (action.equals(Intent.ACTION_BATTERY_LOW)) { 378 else if (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/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/policies/base/mid/com/android/internal/policy/impl/ |
H A D | GlobalActions.java | 70 * @param powerManager used to turn the screen off (the lock action). 217 final Action action = mItems.get(i); 219 if (mKeyguardShowing && !action.showDuringKeyguard()) { 222 if (!mDeviceProvisioned && !action.showBeforeProvisioning()) { 234 final Action action = mItems.get(i); 235 if (mKeyguardShowing && !action.showDuringKeyguard()) { 238 if (!mDeviceProvisioned && !action.showBeforeProvisioning()) { 242 return action; 259 Action action = getItem(position); 260 return action [all...] |
/frameworks/base/core/java/android/view/ |
H A D | KeyEvent.java | 257 * for old applications, but still do the appropriate action when 267 * event and should not perform the action normally associated with the 269 * action for a key until it receives an up or the long press timeout has 289 * press action was executed while it was down. 397 * @param action Action code: either {@link #ACTION_DOWN}, 401 public KeyEvent(int action, int code) { argument 402 mAction = action; 414 * @param action Action code: either {@link #ACTION_DOWN}, 420 public KeyEvent(long downTime, long eventTime, int action, argument 424 mAction = action; 443 KeyEvent(long downTime, long eventTime, int action, int code, int repeat, int metaState) argument 469 KeyEvent(long downTime, long eventTime, int action, int code, int repeat, int metaState, int device, int scancode) argument 499 KeyEvent(long downTime, long eventTime, int action, int code, int repeat, int metaState, int device, int scancode, int flags) argument 616 KeyEvent(KeyEvent origEvent, int action) argument 637 changeAction(KeyEvent event, int action) argument [all...] |
H A D | ScaleGestureDetector.java | 165 final int action = event.getAction(); 169 switch (action & MotionEvent.ACTION_MASK) { 256 int id = (((action & MotionEvent.ACTION_POINTER_INDEX_MASK) 265 switch (action & MotionEvent.ACTION_MASK) { 271 int id = (((action & MotionEvent.ACTION_POINTER_INDEX_MASK)
|
/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/policies/base/phone/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 | 224 final String action = intent.getAction(); 225 if (DEBUG) Log.d(TAG, "received broadcast " + action); 227 if (Intent.ACTION_TIME_TICK.equals(action) 228 || Intent.ACTION_TIME_CHANGED.equals(action) 229 || Intent.ACTION_TIMEZONE_CHANGED.equals(action)) { 231 } else if (SPN_STRINGS_UPDATED_ACTION.equals(action)) { 235 } else if (Intent.ACTION_BATTERY_CHANGED.equals(action)) { 244 } else if (TelephonyIntents.ACTION_SIM_STATE_CHANGED.equals(action)) { 248 } else if (AudioManager.RINGER_MODE_CHANGED_ACTION.equals(action)) { 251 } 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/tests/BatteryWaster/src/com/android/batterywaster/ |
H A D | BatteryWaster.java | 110 String action = intent.getAction(); 111 String title = action; 116 if (Intent.ACTION_BATTERY_CHANGED.equals(action)) {
|
/frameworks/base/core/java/android/view/inputmethod/ |
H A D | InputConnection.java | 216 * Have the editor perform an action it has said it can do. 218 * @param editorAction This must be one of the action constants for 228 * Perform a context menu action on the field. The given id may be one of: 310 * @param action Name of the command to be performed. This <em>must</em> 318 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 | 114 public boolean performPrivateCommand(String action, Bundle data) { argument 115 return mTarget.performPrivateCommand(action, data);
|
/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 | 224 * performing an action. The number of parameters required by each action is 225 * fixed and defined in a table. If the return value of an action is positive, 420 static struct action { struct 454 struct action *action = actions; local 460 while (action->code && action->code != code) { 461 ++action; 463 if (!action [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | PointerLocationView.java | 223 int action = event.getAction(); 225 //Log.i("Pointer", "Motion: action=0x" + Integer.toHexString(action) 238 if (action == MotionEvent.ACTION_DOWN) { 253 if ((action&MotionEvent.ACTION_MASK) == MotionEvent.ACTION_POINTER_DOWN) { 254 final int index = (action&MotionEvent.ACTION_POINTER_INDEX_MASK) 273 mCurDown = action != MotionEvent.ACTION_UP 274 && action != MotionEvent.ACTION_CANCEL; 314 if ((action&MotionEvent.ACTION_MASK) == MotionEvent.ACTION_POINTER_UP) { 315 final int index = (action [all...] |
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/ |
H A D | ConnectivityManagerTestActivity.java | 87 String action = intent.getAction(); 88 if (!action.equals(ConnectivityManager.CONNECTIVITY_ACTION)) { 126 String action = intent.getAction(); 128 if (action.equals(WifiManager.SCAN_RESULTS_AVAILABLE_ACTION)) { 130 } else if (action.equals(WifiManager.NETWORK_STATE_CHANGED_ACTION)) { 138 } else if (action.equals(WifiManager.WIFI_STATE_CHANGED_ACTION)) {
|