/packages/apps/Nfc/src/com/android/nfc/ndefpush/ |
D | NdefPushProtocol.java | 40 private byte[] mActions; field in NdefPushProtocol 45 mActions = new byte[1]; in NdefPushProtocol() 46 mActions[0] = action; in NdefPushProtocol() 59 mActions = new byte[numMessages]; in NdefPushProtocol() 60 System.arraycopy(actions, 0, mActions, 0, numMessages); in NdefPushProtocol() 97 mActions = new byte[mNumMessages]; in NdefPushProtocol() 102 mActions[i] = input.readByte(); in NdefPushProtocol() 141 if(mActions[i] == ACTION_IMMEDIATE) { in getImmediate() 156 output.writeByte(mActions[i]); in toByteArray()
|
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/ |
D | LauncherAccessibilityDelegate.java | 87 protected final SparseArray<LauncherAction> mActions = new SparseArray<>(); field in LauncherAccessibilityDelegate 95 mActions.put(REMOVE, new LauncherAction( in LauncherAccessibilityDelegate() 97 mActions.put(UNINSTALL, new LauncherAction( in LauncherAccessibilityDelegate() 99 mActions.put(DISMISS_PREDICTION, new LauncherAction(DISMISS_PREDICTION, in LauncherAccessibilityDelegate() 101 mActions.put(RECONFIGURE, new LauncherAction( in LauncherAccessibilityDelegate() 103 mActions.put(ADD_TO_WORKSPACE, new LauncherAction( in LauncherAccessibilityDelegate() 105 mActions.put(MOVE, new LauncherAction( in LauncherAccessibilityDelegate() 107 mActions.put(MOVE_TO_WORKSPACE, new LauncherAction(MOVE_TO_WORKSPACE, in LauncherAccessibilityDelegate() 109 mActions.put(RESIZE, new LauncherAction( in LauncherAccessibilityDelegate() 111 mActions.put(DEEP_SHORTCUTS, new LauncherAction(DEEP_SHORTCUTS, in LauncherAccessibilityDelegate() [all …]
|
D | ShortcutMenuAccessibilityDelegate.java | 47 mActions.put(DISMISS_NOTIFICATION, new LauncherAction(DISMISS_NOTIFICATION, in ShortcutMenuAccessibilityDelegate() 54 out.add(mActions.get(ADD_TO_WORKSPACE)); in getSupportedActions() 57 out.add(mActions.get(DISMISS_NOTIFICATION)); in getSupportedActions()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/ |
D | DirectoryFragment.java | 169 private ActionHandler mActions; field in DirectoryFragment 215 mActions.loadDocumentsForCurrentStack(); 477 mActions = mInjector.getActionHandler(mContentLock); in onActivityCreated() 526 mActions, in onActivityCreated() 569 mActions.loadDocumentsForCurrentStack(); in onActivityCreated() 680 return mActions.previewItem(item); in onItemActivated() 683 return mActions.openItem( in onItemActivated() 848 mActions.openSelectedInNewWindow(); in handleMenuItemClick() 853 mActions.shareSelectedDocuments(); in handleMenuItemClick() 860 mActions.showDeleteDialog(); in handleMenuItemClick() [all …]
|
D | InputHandlers.java | 37 private ActionHandler mActions; field in InputHandlers 56 mActions = actions; in InputHandlers() 89 return mActions.openItem( in createKeyHandler() 94 return mActions.openItem( in createKeyHandler()
|
D | DragHost.java | 54 private final ActionHandler mActions; field in DragHost 75 mActions = actions; in DragHost() 101 mActions.springOpenDirectory(mDestinationLookup.lookup(v)); in onViewHovered()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/ |
D | ActionAdapter.java | 114 private final List<Action> mActions; field in ActionAdapter 141 mActions = new ArrayList<>(); in ActionAdapter() 159 return mActions.size(); in getCount() 164 return mActions.get(position); in getItem() 182 Action action = mActions.get(position); in getView() 238 mActions.add(action); in addAction() 246 return new ArrayList<>(mActions); in getActions() 251 mActions.clear(); in setActions() 252 mActions.addAll(actions); in setActions() 454 for (int i = 0, size = mActions.size(); i < size; i++) { in fadeCheckmarks() [all …]
|
/packages/services/Car/service/src/com/android/car/ |
D | OnShutdownReboot.java | 45 for (BiConsumer<Context, Intent> action : mActions) { 51 private final CopyOnWriteArrayList<BiConsumer<Context, Intent>> mActions = field in OnShutdownReboot 63 mActions.add(action); in addAction() 68 mActions.clear(); in clearActions()
|
/packages/apps/Car/libs/car-messenger-common/src/com/android/car/messenger/common/ |
D | Conversation.java | 72 private final List<ConversationAction> mActions; field in Conversation 97 mActions = actions; in Conversation() 121 if (mActions != null) { in toBundle() 124 ConversationAction.getBundleArrayForAction(mActions)); in toBundle() 240 return mActions; in getActions() 295 private List<ConversationAction> mActions; field in Conversation.Builder 313 mActions = conversation.getActions(); in Builder() 367 mActions = actions; in setActions() 450 mActions, in build()
|
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/action/ |
D | ActionTestHelpers.java | 59 mActions = new ArrayList<Action>(); in StubBackgroundWorker() 62 ArrayList<Action> mActions; field in ActionTestHelpers.StubBackgroundWorker 64 return mActions; in getRequestsMade() 69 mActions.addAll(actions); in queueBackgroundWork()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/ |
D | ConfirmFragment.java | 49 private ActionHandler<PickActivity> mActions; field in ConfirmFragment 57 mActions = ((PickActivity) getActivity()).getInjector().actions; in onActivityCreated() 79 mActions.finishPicking(mTarget.getDocumentUri()); in onCreateDialog() 97 mActions.finishPicking(treeUri); in onCreateDialog()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/sidebar/ |
D | DragHost.java | 39 private final ActionHandler mActions; field in DragHost 50 mActions = actions; in DragHost() 92 mActions.getRootDocument( in onDragEntered()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/ |
D | DragAndDropManagerTests.java | 72 private TestActionHandler mActions; field in DragAndDropManagerTests 107 mActions = new TestActionHandler(mEnv); in setUp() 638 mClipData, mManager, TestProvidersAccess.HAMMY, mActions, mCallback)); in testDrop_Rejects_RootNotSupportCreate_DropOnRoot() 659 assertFalse(mManager.drop(mClipData, mManager, root, mActions, mCallback)); in testDrop_Rejects_InvalidRoot() 677 mClipData, mManager, TestProvidersAccess.DOWNLOADS, mActions, mCallback); in testDrop_Fails_NotGetRootDoc() 685 mActions.nextRootDocument = TestEnv.FOLDER_1; in testDrop_Copies_DifferentRoot_DropOnRoot() 700 mClipData, mManager, TestProvidersAccess.DOWNLOADS, mActions, mCallback); in testDrop_Copies_DifferentRoot_DropOnRoot() 711 mActions.nextRootDocument = TestEnv.FOLDER_1; in testDrop_Moves_SameRoot_DropOnRoot() 726 mClipData, mManager, TestProvidersAccess.DOWNLOADS, mActions, mCallback); in testDrop_Moves_SameRoot_DropOnRoot() 738 mActions.nextRootDocument = TestEnv.FOLDER_1; in testDrop_Copies_SameRoot_DropOnRoot_ReleasesCtrlBeforeGettingRootDocument() [all …]
|
/packages/apps/Car/tests/TestMediaApp/src/com/android/car/media/testmediaapp/loader/ |
D | TmaMediaEventReader.java | 74 private final Map<String, Action> mActions; field in TmaMediaEventReader 80 mActions = enumNamesToValues(Action.values()); in TmaMediaEventReader() 92 getEnum(json, Keys.ACTION, mActions, Action.NONE), in fromJson()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | RootsMonitor.java | 81 private final ActionHandler mActions; field in RootsMonitor.HandleRootsChangedTask 100 mActions = actions; in HandleRootsChangedTask() 153 mActions.openContainerDocument(mDefaultRootDocument); in finish()
|
/packages/apps/TV/src/com/android/tv/dvr/ui/list/ |
D | ScheduleRowPresenter.java | 90 @ScheduleRowAction private int[] mActions; field in ScheduleRowPresenter.ScheduleRowViewHolder 199 if (mActions == null || mActions.length == 0) { in updateSelector() 201 } else if (mActions.length == 1) { in updateSelector() 370 viewHolder.mActions = actions; in onBindRowViewHolder() 735 if (selected && viewHolder.mActions != null) { in updateActionContainer() 736 switch (viewHolder.mActions.length) { in updateActionContainer()
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | GalleryActionBar.java | 50 private ArrayList<Integer> mActions; field in GalleryActionBar 198 mActions = new ArrayList<Integer>(); in createDialogData() 202 mActions.add(item.action); in createDialogData() 295 final ArrayList<Integer> actions = mActions; in showClusterDialog()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
D | ActionBatch.java | 586 private final Queue<Action> mActions; field in ActionBatch 589 mActions = new LinkedList<>(); in ActionBatch() 593 mActions.add(a); in add() 601 for (final Action a : that.mActions) { in append() 614 Queue<Action> remainingActions = mActions; in execute()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/ |
D | QuickstepAccessibilityDelegate.java | 32 mActions.put(PIN_PREDICTION, new LauncherAction( in QuickstepAccessibilityDelegate()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/ |
D | FilterShowActivity.java | 171 private ArrayList<Action> mActions = new ArrayList<Action>(); field in FilterShowActivity 398 if (mActions.contains(action)) { in registerAction() 401 mActions.add(action); in registerAction() 405 for (int i = 0; i < mActions.size(); i++) { in loadActions() 406 Action action = mActions.get(i); in loadActions()
|