/packages/apps/DeskClock/src/com/android/deskclock/uidata/ |
H A D | UiDataModel.java | 316 * @param action the desired action to perform 319 public String getShortcutId(@StringRes int category, @StringRes int action) { argument 323 return mContext.getString(category) + "_" + mContext.getString(action);
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
H A D | MenuExecutor.java | 220 private Intent getIntentBySingleSelectedPath(String action) { argument 224 return new Intent(action).setDataAndType(manager.getContentUri(path), mimeType); 227 private void onMenuClicked(int action, ProgressListener listener) { argument 228 onMenuClicked(action, listener, false, true); 231 public void onMenuClicked(int action, ProgressListener listener, argument 234 switch (action) { 277 startAction(action, title, listener, waitOnStop, showDialog); 313 final int action = menuItem.getItemId(); 317 ConfirmDialogListener cdl = new ConfirmDialogListener(action, listener); 325 onMenuClicked(action, listene 329 startAction(int action, int title, ProgressListener listener) argument 333 startAction(int action, int title, ProgressListener listener, boolean waitOnStop, boolean showDialog) argument 350 startSingleItemAction(int action, Path targetPath) argument [all...] |
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/ |
H A D | Utils.java | 409 * the action from the intent. 417 * @return the appropriate DevicePolicyManager declared action for the given incoming intent. 424 throw new IllegalProvisioningArgumentException("Null intent action."); 464 throw new IllegalProvisioningArgumentException("Unknown intent action " 484 * Returns whether the given provisioning action is a profile owner action. 487 public final boolean isProfileOwnerAction(String action) { argument 488 return action.equals(ACTION_PROVISION_MANAGED_PROFILE) 489 || action.equals(ACTION_PROVISION_MANAGED_USER); 493 * Returns whether the given provisioning action i 496 isDeviceOwnerAction(String action) argument [all...] |
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/preprovisioning/ |
H A D | PreProvisioningControllerTest.java | 605 String action = ACTION_PROVISION_MANAGED_PROFILE; 606 when(mDevicePolicyManager.checkProvisioningPreCondition(action, TEST_MDM_PACKAGE)) 609 .setProvisioningAction(action) 623 final String action = ACTION_PROVISION_MANAGED_PROFILE; 624 when(mIntent.getAction()).thenReturn(action); 628 when(mDevicePolicyManager.checkProvisioningPreCondition(action, TEST_MDM_PACKAGE)) 631 createParams(false, skipEncryption, null, action, TEST_MDM_PACKAGE)); 634 private void prepareMocksForNfcIntent(String action, boolean skipEncryption) throws Exception { argument 638 when(mDevicePolicyManager.checkProvisioningPreCondition(action, TEST_MDM_PACKAGE)) 641 createParams(true, skipEncryption, TEST_WIFI_SSID, action, TEST_MDM_PACKAG 644 prepareMocksForQrIntent(String action, boolean skipEncryption) argument 664 prepareMocksForAfterEncryption(String action, boolean startedByTrustedSource) argument 676 createParams(boolean startedByTrustedSource, boolean skipEncryption, String wifiSsid, String action, String packageName) argument [all...] |
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/ |
H A D | SyncCursorPair.java | 17 package com.android.messaging.datamodel.action;
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
H A D | SnackBar.java | 46 * Defines an action to be performed when the user clicks on the action button on the snack bar 149 public Builder setAction(final Action action) { argument 150 mAction = action;
|
/packages/apps/Settings/src/com/android/settings/users/ |
H A D | EditUserPhotoController.java | 154 final Runnable action = new Runnable() { 161 action)); 166 final Runnable action = new Runnable() { 173 action)); 251 Intent intent = new Intent("com.android.camera.action.CROP"); 412 * @param action The action on menu item click. 415 Runnable action) { 418 mAction = action; 414 RestrictedMenuItem(Context context, String title, String restriction, Runnable action) argument
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/ |
H A D | BluetoothAccessoryFragment.java | 339 public long onGuidedActionEditedAndProceed(GuidedAction action) { argument 340 if (!TextUtils.equals(action.getTitle(), 342 && TextUtils.isGraphic(action.getTitle())) { 345 fragment.renameDevice(action.getTitle().toString()); 465 public void onGuidedActionClicked(GuidedAction action) { argument 466 if (action.getId() == GuidedAction.ACTION_ID_OK) { 468 } else if (action.getId() == GuidedAction.ACTION_ID_CANCEL) { 471 super.onGuidedActionClicked(action);
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/ |
H A D | DialogActivity.java | 245 public void onActionClicked(Action action) { argument 246 Intent intent = action.getIntent(); 268 * @param actionAreaId id of the action area 321 * Sets the action fragment into the view. 323 * If an action fragment currently exists, this will be added to the back stack. 330 * Sets the action fragment into the view. 332 * If addToBackStack is true, and action fragment currently exists, 348 * Set the content and action fragments in the same transaction. 350 * If an action fragment currently exists, this will be added to the back stack. 357 * Set the content and action fragment [all...] |
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/form/ |
H A D | MultiPagedForm.java | 58 public void onActionClicked(Action action) { argument 60 mListener.onActionClicked(action); 228 * @return the action title to indicate the form is correct. 235 * @return the action title to indicate the form should be canceled and its 295 * @param selectedAction the action in actions that is currently selected, 305 // TODO: Set initial focus action: 435 public void onActionClicked(Action action) { 436 Key key = getKeyFromKey(action.getKey()); 449 String formPageKey = action.getKey(); 499 public void onActionClicked(Action action) { [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
H A D | OnePaneController.java | 192 // notify the toast bar of its sibling floating action button so it can move them together 327 public boolean doesActionChangeConversationListVisibility(final int action) { argument 328 if (action == R.id.archive 329 || action == R.id.remove_folder 330 || action == R.id.delete 331 || action == R.id.discard_drafts 332 || action == R.id.discard_outbox 333 || action == R.id.mark_important 334 || action == R.id.mark_not_important 335 || action [all...] |
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
H A D | CallAudioRouteStateMachineTest.java | 77 public int action; field in class:CallAudioRouteStateMachineTest.RoutingTestParameters 87 int bluetoothInteraction, int action, int expectedRoute, 95 this.action = action; 115 ", action=" + action + 409 CallAudioRouteStateMachine.CONNECT_WIRED_HEADSET, // action 422 CallAudioRouteStateMachine.CONNECT_WIRED_HEADSET, // action 435 CallAudioRouteStateMachine.CONNECT_WIRED_HEADSET, // action 448 CallAudioRouteStateMachine.DISCONNECT_WIRED_HEADSET, // action 85 RoutingTestParameters(String name, int initialRoute, int availableRoutes, int speakerInteraction, int bluetoothInteraction, int action, int expectedRoute, int expectedAvailableRoutes, boolean doesDeviceSupportEarpiece, boolean shouldRunWithFocus) argument [all...] |
/packages/apps/Bluetooth/jni/ |
H A D | com_android_bluetooth_hfpclient.cpp | 619 jbyteArray address, jint action, 630 (const bt_bdaddr_t*)addr, (bthf_client_call_action_t)action, (int)index); 618 handleCallActionNative(JNIEnv* env, jobject object, jbyteArray address, jint action, jint index) argument
|
/packages/apps/Contacts/src/com/android/contacts/activities/ |
H A D | ActionBarAdapter.java | 57 * Adapter for the action bar at the top of the Contacts activity. 70 void onAction(int action); argument 248 * Note even if the action bar is in search mode, if the query is empty, the search fragment 315 // The current flags set to the action bar. (only the ones that we may change here) 554 // Since we have the {@link SearchView} in a custom action bar, we must manually handle
|
H A D | ContactEditorActivity.java | 164 void load(String action, Uri lookupUri, Bundle intentExtras); argument 320 final String action = intent.getAction(); 333 // The only situation where action could be ACTION_JOIN_COMPLETED is if the 336 if (ACTION_JOIN_COMPLETED.equals(action)) { 341 if (ACTION_SAVE_COMPLETED.equals(action)) { 349 if (Intent.ACTION_EDIT.equals(action)) { 382 final Uri uri = Intent.ACTION_EDIT.equals(action) ? getIntent().getData() : null; 383 mFragment.load(action, uri, getIntent().getExtras()); 385 if (Intent.ACTION_INSERT.equals(action)) { 408 final String action [all...] |
/packages/apps/Contacts/tests/src/com/android/contacts/tests/allintents/ |
H A D | AllIntentsActivity.java | 574 private Intent findArbitraryGroupIntent(String action) { argument 577 final Intent intent = new Intent(action) ;
|
/packages/apps/Dialer/java/com/android/incallui/ |
H A D | StatusBarNotifier.java | 171 private static PendingIntent createNotificationPendingIntent(Context context, String action) { argument 172 final Intent intent = new Intent(action, null, context, NotificationBroadcastReceiver.class); 827 "will show \"answer\" action in the incoming call Notification"); 846 "will show \"decline\" action in the incoming call Notification"); 861 "will show \"hang-up\" action in the ongoing active call Notification"); 875 "will show \"video\" action in the incoming call Notification"); 891 "will show \"accept upgrade\" action in the incoming call Notification"); 906 "will show \"dismiss upgrade\" action in the incoming call Notification");
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/ |
H A D | TestEvent.java | 351 * @param action Any action specified in {@link MotionEvent}. 354 public Builder action(int action) { argument 355 mState.mAction = action;
|
/packages/apps/Gallery/src/com/android/camera/ |
H A D | MenuHelper.java | 496 "com.android.camera.action.CROP"); 787 public static void deleteMultiple(Context context, Runnable action) { argument 792 if (action != null) action.run(); 797 confirmAction(context, title, message, action); 802 String message, final Runnable action) { 807 if (action != null) action.run(); 801 confirmAction(Context context, String title, String message, final Runnable action) argument
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
H A D | GalleryActionBar.java | 74 public int action; field in class:GalleryActionBar.ActionItem 81 public ActionItem(int action, boolean applied, boolean enabled, int title, argument 83 this(action, applied, enabled, title, title, clusterBy); 86 public ActionItem(int action, boolean applied, boolean enabled, int spinnerTitle, argument 88 this.action = action; 124 return sClusterItems[position].action; 181 if (item.action == type) { 202 mActions.add(item.action); 215 if (item.action 235 enableClusterMenu(int action, ClusterRunner runner) argument [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | Utilities.java | 368 * Finds a system apk which had a broadcast receiver listening to a particular action. 369 * @param action intent action used to find the apk 372 static Pair<String, Resources> findSystemApk(String action, PackageManager pm) { argument 373 final Intent intent = new Intent(action);
|
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
H A D | IndicatorControlWheel.java | 247 private void injectMotionEvent(int viewIndex, MotionEvent event, int action) { argument 249 event.setAction(action); 257 int action = event.getAction(); 273 if ((index != mPressedIndex) || (action == MotionEvent.ACTION_DOWN)) { 280 if ((index != -1) && (action == MotionEvent.ACTION_MOVE)) { 286 if ((index != -1) && (action != MotionEvent.ACTION_MOVE)) { 292 && (action == MotionEvent.ACTION_MOVE)) { 296 mPressedIndex = (action == MotionEvent.ACTION_UP) ? -1 : index;
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/ |
H A D | PreProvisioningController.java | 214 // Check whether provisioning is allowed for the current action 396 // Check whether provisioning is allowed for the current action. 537 * @param action Intent action that started provisioning 539 public boolean isMeatUserCreationRequired(String action) { argument 541 && ACTION_PROVISION_MANAGED_DEVICE.equals(action)) { 644 private void showProvisioningErrorAndClose(String action, int provisioningPreCondition) { argument 646 switch (action) {
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/search2/ |
H A D | DatabaseIndexingManagerTest.java | 103 private final String action = "action"; field in class:DatabaseIndexingManagerTest 312 assertThat(cursor.getString(13)).isEqualTo(action); 394 assertThat(cursor.getString(13)).isEqualTo(action); 448 assertThat(cursor.getString(13)).isEqualTo(action); 502 assertThat(cursor.getString(13)).isEqualTo(action); 885 assertThat(cursor.getString(13)).isEqualTo(action); 997 data.intentAction = action; 1013 sir.intentAction = action; 1057 item.add(BLANK); // Intent action [all...] |
/packages/apps/TV/src/com/android/tv/dvr/ui/list/ |
H A D | ScheduleRowPresenter.java | 70 /** An action to start recording. */ 72 /** An action to stop recording. */ 74 /** An action to create schedule for the row. */ 76 /** An action to remove the schedule. */ 97 // The first action is on the right of the second action. 409 private int getImageForAction(@ScheduleRowAction int action) { argument 410 switch (action) { 467 protected void onActionClicked(@ScheduleRowAction final int action, ScheduleRow row) { argument 468 switch (action) { [all...] |