Home
last modified time | relevance | path

Searched refs:actions (Results 1 – 25 of 114) sorted by relevance

12345

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
DUpdateHandler.java491 final ActionBatch actions = new ActionBatch(); in publishUpdateWordListCompleted() local
492 actions.add(new ActionBatch.InstallAfterDownloadAction(clientId, in publishUpdateWordListCompleted()
494 actions.execute(context, new LogProblemReporter(TAG)); in publishUpdateWordListCompleted()
604 final ActionBatch actions = computeUpgradeTo(context, clientId, newMetadata); in handleMetadata() local
607 actions.execute(context, new LogProblemReporter(TAG)); in handleMetadata()
749 final ActionBatch actions = new ActionBatch(); in compareMetadataForUpgrade() local
785 actions.add(new ActionBatch.MakeAvailableAction(clientId, newInfo)); in compareMetadataForUpgrade()
793 actions.add(new ActionBatch.ForgetAction(clientId, currentInfo, false)); in compareMetadataForUpgrade()
803 actions.add(new ActionBatch.UpdateDataAction(clientId, newInfo)); in compareMetadataForUpgrade()
810 actions.add(new ActionBatch.MakeAvailableAction(clientId, newInfo)); in compareMetadataForUpgrade()
[all …]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/
DBaseActionFragment.java79 public static Bundle buildArgs(ArrayList<Action> actions, String name) { in buildArgs() argument
80 return buildArgs(actions, name, -1); in buildArgs()
86 public static Bundle buildArgs(ArrayList<Action> actions, int index) { in buildArgs() argument
87 return buildArgs(actions, null, index); in buildArgs()
93 public static Bundle buildArgs(ArrayList<Action> actions, String name, int index) { in buildArgs() argument
95 args.putParcelableArrayList(EXTRA_ACTIONS, actions); in buildArgs()
105 ArrayList<Action> actions = savedInstanceState.getParcelableArrayList(EXTRA_ACTIONS); in onCreate() local
107 if (actions != null) { in onCreate()
108 for (Action action : actions) { in onCreate()
111 if (savedIndex >= 0 && savedIndex < actions.size()) { in onCreate()
[all …]
DDialogActivity.java113 ArrayList<Action> actions) { in createIntent() argument
115 Color.TRANSPARENT, actions); in createIntent()
120 int imageBackground, ArrayList<Action> actions) { in createIntent() argument
127 intent.putParcelableArrayListExtra(EXTRA_PARCELABLE_ACTIONS, actions); in createIntent()
134 ArrayList<Action> actions, Class<? extends DialogActivity> activityClass) { in createIntent() argument
136 actions, activityClass); in createIntent()
141 ArrayList<Action> actions, Class<? extends DialogActivity> activityClass) { in createIntent() argument
148 intent.putParcelableArrayListExtra(EXTRA_PARCELABLE_ACTIONS, actions); in createIntent()
155 ArrayList<Action> actions, Class<? extends DialogActivity> activityClass, in createIntent() argument
163 intent.putParcelableArrayListExtra(EXTRA_PARCELABLE_ACTIONS, actions); in createIntent()
[all …]
DActionFragment.java35 public static ActionFragment newInstance(ArrayList<Action> actions) { in newInstance() argument
36 return newInstance(actions, null); in newInstance()
39 public static ActionFragment newInstance(ArrayList<Action> actions, String name) { in newInstance() argument
41 fragment.setArguments(BaseActionFragment.buildArgs(actions, name)); in newInstance()
45 public static ActionFragment newInstance(ArrayList<Action> actions, int index) { in newInstance() argument
47 fragment.setArguments(BaseActionFragment.buildArgs(actions, index)); in newInstance()
51 public static ActionFragment newInstance(ArrayList<Action> actions, String name, int index) { in newInstance() argument
53 fragment.setArguments(BaseActionFragment.buildArgs(actions, name, index)); in newInstance()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/form/
DMultiPagedForm.java299 protected ActionFragment getActionFragment(FormPage formPage, ArrayList<Action> actions, in getActionFragment() argument
301 ActionFragment actionFragment = ActionFragment.newInstance(actions); in getActionFragment()
303 int indexOfSelection = actions.indexOf(selectedAction); in getActionFragment()
319 protected ActionFragment getResultActionFragment(ArrayList<Action> actions) { in getResultActionFragment() argument
320 return ActionFragment.newInstance(actions); in getResultActionFragment()
474 ArrayList<Action> actions = new ArrayList<Action>(); in getActions() local
476 actions.add(new Action.Builder().key(choice).title(choice).build()); in getActions()
478 return actions; in getActions()
482 ArrayList<Action> actions = new ArrayList<Action>(); in getResultActions() local
485 actions.add(new Action.Builder().key(formPage.getTitle()) in getResultActions()
[all …]
/packages/apps/TV/src/com/android/tv/onboarding/
DSetupSourcesFragment.java232 public void onCreateActions(@NonNull List<GuidedAction> actions, in onCreateActions() argument
234 createActionsInternal(actions); in onCreateActions()
267 List<GuidedAction> actions = new ArrayList<>(); in updateActions() local
268 createActionsInternal(actions); in updateActions()
269 setActions(actions); in updateActions()
272 private void createActionsInternal(List<GuidedAction> actions) { in createActionsInternal() argument
277 actions.add(new GuidedAction.Builder(getActivity()) in createActionsInternal()
288 actions.add(new GuidedAction.Builder(getActivity()) in createActionsInternal()
316 actions.add(new GuidedAction.Builder(getActivity()) in createActionsInternal()
325 actions.add(GuidedActionsStylistWithDivider.createDividerAction(getContext())); in createActionsInternal()
[all …]
/packages/apps/DeskClock/src/com/android/deskclock/data/
DTimerNotificationBuilder.java68 final List<Action> actions = new ArrayList<>(2); in build() local
88 actions.add(new Action.Builder(icon1, title1, intent1).build()); in build()
98 actions.add(new Action.Builder(icon2, title2, intent2).build()); in build()
112 actions.add(new Action.Builder(icon1, title1, intent1).build()); in build()
122 actions.add(new Action.Builder(icon2, title2, intent2).build()); in build()
138 actions.add(new Action.Builder(icon1, title1, intent1).build()); in build()
165 for (Action action : actions) { in build()
224 final List<Action> actions = new ArrayList<>(2); in buildHeadsUp() local
235 actions.add(new Action.Builder(icon1, title1, intent1).build()); in buildHeadsUp()
242 actions.add(new Action.Builder(icon2, title2, intent2).build()); in buildHeadsUp()
[all …]
DStopwatchNotificationBuilder.java69 final List<Action> actions = new ArrayList<>(2); in build() local
80 actions.add(new Action.Builder(icon1, title1, intent1).build()); in build()
91 actions.add(new Action.Builder(icon2, title2, intent2).build()); in build()
113 actions.add(new Action.Builder(icon1, title1, intent1).build()); in build()
123 actions.add(new Action.Builder(icon2, title2, intent2).build()); in build()
145 for (Action action : actions) { in build()
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/
DLauncherAccessibilityDelegate.java214 final ArrayList<Integer> actions = getSupportedResizeActions(host, info); in performAction() local
215 CharSequence[] labels = new CharSequence[actions.size()]; in performAction()
216 for (int i = 0; i < actions.size(); i++) { in performAction()
217 labels[i] = mLauncher.getText(actions.get(i)); in performAction()
226 performResizeAction(actions.get(which), host, info); in performAction()
239 ArrayList<Integer> actions = new ArrayList<>(); in getSupportedResizeActions() local
243 return actions; in getSupportedResizeActions()
250 actions.add(R.string.action_increase_width); in getSupportedResizeActions()
254 actions.add(R.string.action_decrease_width); in getSupportedResizeActions()
261 actions.add(R.string.action_increase_height); in getSupportedResizeActions()
[all …]
/packages/apps/DocumentsUI/src/com/android/documentsui/files/
DFilesActivity.java138 mInjector.actions = new ActionHandler<>( in onCreate()
154 new ActivityInputHandler(mInjector.actions::deleteSelectedDocuments); in onCreate()
167 mInjector.actions.initLocation(intent); in onCreate()
344 mInjector.actions.showCreateDirectoryDialog(); in onOptionsItemSelected()
347 mInjector.actions.openInNewWindow(mState.stack); in onOptionsItemSelected()
350 mInjector.actions.openSettings(getCurrentRoot()); in onOptionsItemSelected()
353 mInjector.actions.selectAllFiles(); in onOptionsItemSelected()
416 mInjector.actions.selectAllFiles(); in onKeyShortcut()
419 mInjector.actions.cutToClipboard(); in onKeyShortcut()
422 mInjector.actions.copyToClipboard(); in onKeyShortcut()
/packages/apps/Messaging/src/com/android/messaging/ui/
DSmsStorageLowWarningFragment.java102 final List<String> actions = loadFreeStorageActions(getActivity().getResources()); in onCreateDialog() local
103 final ActionListAdapter listAdapter = new ActionListAdapter(getActivity(), actions); in onCreateDialog()
126 public ActionListAdapter(final Context context, final List<String> actions) { in ActionListAdapter() argument
127 super(context, R.layout.sms_free_storage_action_item_view, actions); in ActionListAdapter()
259 final List<String> actions = Lists.newArrayList(); in loadFreeStorageActions() local
260 actions.add(resources.getString(R.string.delete_all_media)); in loadFreeStorageActions()
261 actions.add(resources.getString(R.string.delete_oldest_messages, durationString)); in loadFreeStorageActions()
265 return actions; in loadFreeStorageActions()
/packages/apps/TV/src/com/android/tv/dvr/ui/
DDvrSeriesDeletionFragment.java101 public void onCreateActions(List<GuidedAction> actions, Bundle savedInstanceState) { in onCreateActions() argument
102 actions.add(new GuidedAction.Builder(getActivity()) in onCreateActions()
106 actions.add(new GuidedAction.Builder(getActivity()) in onCreateActions()
110 actions.add(GuidedActionsStylistWithDivider.createDividerAction(getContext())); in onCreateActions()
126 actions.add(new GuidedAction.Builder(getActivity()) in onCreateActions()
136 public void onCreateButtonActions(List<GuidedAction> actions, Bundle savedInstanceState) { in onCreateButtonActions() argument
137 actions.add(new GuidedAction.Builder(getActivity()) in onCreateButtonActions()
141 actions.add(new GuidedAction.Builder(getActivity()) in onCreateButtonActions()
DDvrGuidedStepFragment.java137 public void onCreateActions(List<GuidedAction> actions, Bundle savedInstanceState) { in onCreateActions() argument
139 actions.add(new GuidedAction.Builder(activity) in onCreateActions()
143 actions.add(new GuidedAction.Builder(activity) in onCreateActions()
147 actions.add(new GuidedAction.Builder(activity) in onCreateActions()
177 public void onCreateActions(List<GuidedAction> actions, Bundle savedInstanceState) { in onCreateActions() argument
179 actions.add(new GuidedAction.Builder(activity) in onCreateActions()
DDvrChannelRecordDurationOptionFragment.java61 public void onCreateActions(List<GuidedAction> actions, Bundle savedInstanceState) { in onCreateActions() argument
69 actions.add(new GuidedAction.Builder(getContext()) in onCreateActions()
73 actions.add(new GuidedAction.Builder(getContext()) in onCreateActions()
77 actions.add(new GuidedAction.Builder(getContext()) in onCreateActions()
81 actions.add(new GuidedAction.Builder(getContext()) in onCreateActions()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/
DBackupAppsStepFragment.java135 public void onCreateActions(@NonNull List<GuidedAction> actions, Bundle savedInstanceState) { in onCreateActions() argument
139 actions.addAll(getAppActions(true, entries)); in onCreateActions()
146 final List<GuidedAction> actions = new ArrayList<>(entries.size() + 1); in getAppActions() local
165 actions.add(new GuidedAction.Builder(getContext()) in getAppActions()
175 actions.add(new GuidedAction.Builder(getContext()) in getAppActions()
193 if (actions.size() == 0) { in getAppActions()
194 actions.add(new GuidedAction.Builder(getContext()) in getAppActions()
199 return actions; in getAppActions()
DResetActivity.java76 public void onCreateActions(@NonNull List<GuidedAction> actions, in onCreateActions() argument
78 actions.add(new GuidedAction.Builder(getContext()) in onCreateActions()
81 actions.add(new GuidedAction.Builder(getContext()) in onCreateActions()
121 public void onCreateActions(@NonNull List<GuidedAction> actions, in onCreateActions() argument
123 actions.add(new GuidedAction.Builder(getContext()) in onCreateActions()
126 actions.add(new GuidedAction.Builder(getContext()) in onCreateActions()
DNewStorageActivity.java178 public void onCreateActions(@NonNull List<GuidedAction> actions, in onCreateActions() argument
181 actions.add(new GuidedAction.Builder(getContext()) in onCreateActions()
186 actions.add(new GuidedAction.Builder(getContext()) in onCreateActions()
191 actions.add(new GuidedAction.Builder(getContext()) in onCreateActions()
195 actions.add(new GuidedAction.Builder(getContext()) in onCreateActions()
321 public void onCreateActions(@NonNull List<GuidedAction> actions, in onCreateActions() argument
323 actions.add(new GuidedAction.Builder(getContext()) in onCreateActions()
/packages/apps/Dialer/java/com/android/dialer/performancereport/
DPerformanceReport.java35 private static final List<UiAction.Type> actions = new ArrayList<>(); field in PerformanceReport
65 if (!actions.isEmpty()) { in startRecording()
66 actions.clear(); in startRecording()
100 if (actions.isEmpty()) { in recordClick()
103 actions.add(action); in recordClick()
138 return actions; in getActions()
/packages/apps/TV/src/com/android/tv/customization/
DTvCustomizationManager.java203 List<CustomAction> actions = mRowIdToCustomActionsMap.get(rowId); in buildCustomActions() local
204 if (actions == null) { in buildCustomActions()
205 actions = new ArrayList<>(); in buildCustomActions()
206 mRowIdToCustomActionsMap.put(rowId, actions); in buildCustomActions()
208 actions.add(new CustomAction(position, title, drawable, intent)); in buildCustomActions()
212 for (List<CustomAction> actions : mRowIdToCustomActionsMap.values()) { in buildCustomActions()
213 Collections.sort(actions); in buildCustomActions()
/packages/apps/Dialer/java/com/android/dialer/app/voicemail/error/
DVoicemailErrorMessage.java47 private final List<Action> actions; field in VoicemailErrorMessage
92 return actions; in getActions()
114 public VoicemailErrorMessage(CharSequence title, CharSequence description, Action... actions) { in VoicemailErrorMessage() argument
115 this(title, description, Arrays.asList(actions)); in VoicemailErrorMessage()
119 CharSequence title, CharSequence description, @Nullable List<Action> actions) { in VoicemailErrorMessage() argument
122 this.actions = actions; in VoicemailErrorMessage()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
DInputCustomNameFragment.java64 public void onCreateButtonActions(@NonNull List<GuidedAction> actions, in onCreateButtonActions() argument
66 actions.add(new GuidedAction.Builder(getContext()) in onCreateButtonActions()
69 actions.add(new GuidedAction.Builder(getContext()) in onCreateButtonActions()
75 public void onCreateActions(@NonNull List<GuidedAction> actions, in onCreateActions() argument
77 actions.add(new GuidedAction.Builder(getContext()) in onCreateActions()
/packages/apps/Nfc/src/com/android/nfc/ndefpush/
DNdefPushProtocol.java51 public NdefPushProtocol(byte[] actions, NdefMessage[] messages) { in NdefPushProtocol() argument
52 if (actions.length != messages.length || actions.length == 0) { in NdefPushProtocol()
58 int numMessages = actions.length; in NdefPushProtocol()
60 System.arraycopy(actions, 0, mActions, 0, numMessages); in NdefPushProtocol()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DBaseActivity.java163 mInjector.actions.loadDocumentsForCurrentStack(); in onCreate()
223 mInjector.actions, in onPostCreate()
321 mInjector.actions.getRootDocument( in onRootPicked()
324 doc -> mInjector.actions.openRootDocument(doc)); in onRootPicked()
337 getInjector().actions.showCreateDirectoryDialog(); in onOptionsItemSelected()
357 getInjector().actions.selectAllFiles(); in onOptionsItemSelected()
361 getInjector().actions.showDebugMessage(); in onOptionsItemSelected()
602 mInjector.actions.onActivityResult(requestCode, resultCode, data); in onActivityResult()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/
DBluetoothPairingDialog.java229 ArrayList<Action> actions = new ArrayList<>(); in getActions() local
235 actions.add(new Action.Builder() in getActions()
240 actions.add(new Action.Builder() in getActions()
247 actions.add(new Action.Builder() in getActions()
254 return actions; in getActions()
277 final ArrayList<Action> actions = getActions(); in createConfirmationDialog() local
279 final Fragment actionFragment = ActionFragment.newInstance(actions); in createConfirmationDialog()
/packages/apps/TV/src/com/android/tv/menu/
DCustomizableOptionsRowAdapter.java49 List<MenuAction> actions = new ArrayList<>(createBaseActions()); in createActions() local
61 actions.add(position++, action); in createActions()
63 actions.add(action); in createActions()
67 return actions; in createActions()

12345