/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 | 77 protected final SparseArray<AccessibilityAction> mActions = new SparseArray<>(); field in LauncherAccessibilityDelegate 85 mActions.put(REMOVE, new AccessibilityAction(REMOVE, in LauncherAccessibilityDelegate() 87 mActions.put(UNINSTALL, new AccessibilityAction(UNINSTALL, in LauncherAccessibilityDelegate() 89 mActions.put(RECONFIGURE, new AccessibilityAction(RECONFIGURE, in LauncherAccessibilityDelegate() 91 mActions.put(ADD_TO_WORKSPACE, new AccessibilityAction(ADD_TO_WORKSPACE, in LauncherAccessibilityDelegate() 93 mActions.put(MOVE, new AccessibilityAction(MOVE, in LauncherAccessibilityDelegate() 95 mActions.put(MOVE_TO_WORKSPACE, new AccessibilityAction(MOVE_TO_WORKSPACE, in LauncherAccessibilityDelegate() 97 mActions.put(RESIZE, new AccessibilityAction(RESIZE, in LauncherAccessibilityDelegate() 99 mActions.put(DEEP_SHORTCUTS, new AccessibilityAction(DEEP_SHORTCUTS, in LauncherAccessibilityDelegate() 101 mActions.put(SHORTCUTS_AND_NOTIFICATIONS, new AccessibilityAction(DEEP_SHORTCUTS, in LauncherAccessibilityDelegate() [all …]
|
D | ShortcutMenuAccessibilityDelegate.java | 46 mActions.put(DISMISS_NOTIFICATION, new AccessibilityAction(DISMISS_NOTIFICATION, in ShortcutMenuAccessibilityDelegate() 53 info.addAction(mActions.get(ADD_TO_WORKSPACE)); in addSupportedActions() 56 info.addAction(mActions.get(DISMISS_NOTIFICATION)); in addSupportedActions()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/ |
D | DirectoryFragment.java | 152 private ActionHandler mActions; field in DirectoryFragment 189 mActions.loadDocumentsForCurrentStack(); 324 mActions = mInjector.getActionHandler(mContentLock); in onActivityCreated() 373 mActions, in onActivityCreated() 413 mActions.loadDocumentsForCurrentStack(); in onActivityCreated() 509 return mActions.previewItem(item); in onItemActivated() 512 return mActions.openItem( in onItemActivated() 661 mActions.openSelectedInNewWindow(); in handleMenuItemClick() 666 mActions.shareSelectedDocuments(); in handleMenuItemClick() 673 mActions.deleteSelectedDocuments(); 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 | 50 private final ActionHandler mActions; field in DragHost 71 mActions = actions; in DragHost() 97 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/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/tests/unit/com/android/documentsui/ |
D | DragAndDropManagerTests.java | 72 private TestActionHandler mActions; field in DragAndDropManagerTests 107 mActions = new TestActionHandler(mEnv); in setUp() 600 mClipData, mManager, TestProvidersAccess.HAMMY, mActions, mCallback)); in testDrop_Rejects_RootNotSupportCreate_DropOnRoot() 621 assertFalse(mManager.drop(mClipData, mManager, root, mActions, mCallback)); in testDrop_Rejects_InvalidRoot() 639 mClipData, mManager, TestProvidersAccess.DOWNLOADS, mActions, mCallback); in testDrop_Fails_NotGetRootDoc() 647 mActions.nextRootDocument = TestEnv.FOLDER_1; in testDrop_Copies_DifferentRoot_DropOnRoot() 662 mClipData, mManager, TestProvidersAccess.DOWNLOADS, mActions, mCallback); in testDrop_Copies_DifferentRoot_DropOnRoot() 673 mActions.nextRootDocument = TestEnv.FOLDER_1; in testDrop_Moves_SameRoot_DropOnRoot() 688 mClipData, mManager, TestProvidersAccess.DOWNLOADS, mActions, mCallback); in testDrop_Moves_SameRoot_DropOnRoot() 700 mActions.nextRootDocument = TestEnv.FOLDER_1; in testDrop_Copies_SameRoot_DropOnRoot_ReleasesCtrlBeforeGettingRootDocument() [all …]
|
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/ |
D | ConfirmFragment.java | 51 private ActionHandler<PickActivity> mActions; field in ConfirmFragment 59 mActions = ((PickActivity) getActivity()).getInjector().actions; in onActivityCreated() 81 mActions.finishPicking(mTarget.derivedUri); in onCreateDialog() 100 mActions.finishPicking(uri); 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/Car/tests/TestMediaApp/src/com/android/car/media/testmediaapp/loader/ |
D | TmaMediaEventReader.java | 75 private final Map<String, Action> mActions; field in TmaMediaEventReader 81 mActions = enumNamesToValues(Action.values()); in TmaMediaEventReader() 93 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/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/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/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()
|