Home
last modified time | relevance | path

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

123456789

/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 …]
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()
DDialogActivity.java114 ArrayList<Action> actions) { in createIntent() argument
116 Color.TRANSPARENT, actions); in createIntent()
121 int imageBackground, ArrayList<Action> actions) { in createIntent() argument
128 intent.putParcelableArrayListExtra(EXTRA_PARCELABLE_ACTIONS, actions); in createIntent()
135 ArrayList<Action> actions, Class<? extends DialogActivity> activityClass) { in createIntent() argument
137 actions, activityClass); in createIntent()
142 ArrayList<Action> actions, Class<? extends DialogActivity> activityClass) { in createIntent() argument
149 intent.putParcelableArrayListExtra(EXTRA_PARCELABLE_ACTIONS, actions); in createIntent()
156 ArrayList<Action> actions, Class<? extends DialogActivity> activityClass, in createIntent() argument
164 intent.putParcelableArrayListExtra(EXTRA_PARCELABLE_ACTIONS, actions); in createIntent()
[all …]
/packages/apps/TV/partner_support/samples/src/com/example/partnersupportsampletvinput/
DChannelScanFragment.java100 List<GuidedAction> actions = new ArrayList<>(); in onResume() local
101 onCreateActions(actions, mSavedInstanceState); in onResume()
102 setActions(actions); in onResume()
103 actions = new ArrayList<>(); in onResume()
104 onCreateButtonActions(actions, mSavedInstanceState); in onResume()
105 setButtonActions(actions); in onResume()
115 public void onCreateActions(@NonNull List<GuidedAction> actions, Bundle savedInstanceState) { in onCreateActions() argument
116 actions.add( in onCreateActions()
129 @NonNull List<GuidedAction> actions, Bundle savedInstanceState) { in onCreateButtonActions()
137 actions.add(mNextAction); in onCreateButtonActions()
[all …]
DResultFragment.java42 public void onCreateActions(@NonNull List<GuidedAction> actions, Bundle savedInstanceState) { in onCreateActions() argument
45 actions.add( in onCreateActions()
56 @NonNull List<GuidedAction> actions, Bundle savedInstanceState) { in onCreateButtonActions()
57 actions.add( in onCreateButtonActions()
62 actions.add( in onCreateButtonActions()
/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/Car/Settings/tests/robotests/src/com/android/car/settings/profiles/
DBroadcastReceiverHelpers.java35 public static BroadcastReceiver getRegisteredReceiverWithActions(List<String> actions) { in getRegisteredReceiverWithActions() argument
36 ShadowApplication.Wrapper wrapper = getRegisteredReceiverWrapperWithActions(actions); in getRegisteredReceiverWithActions()
41 List<String> actions) { in getRegisteredReceiverWrapperWithActions() argument
49 if (matchesActions(wrapper.getIntentFilter(), actions)) { in getRegisteredReceiverWrapperWithActions()
61 private static boolean matchesActions(IntentFilter filter, List<String> actions) { in matchesActions() argument
62 if (filter.countActions() != actions.size()) { in matchesActions()
66 for (String action : actions) { in matchesActions()
/packages/apps/DocumentsUI/src/com/android/documentsui/files/
DFilesActivity.java139 mInjector.actions = new ActionHandler<>( in onCreate()
160 mAppsRowManager = new AppsRowManager(mInjector.actions, mState.supportsCrossProfile(), in onCreate()
165 new ActivityInputHandler(mInjector.actions::showDeleteDialog); in onCreate()
181 mInjector.actions.initLocation(intent); in onCreate()
309 mInjector.actions.showCreateDirectoryDialog(); in onOptionsItemSelected()
312 mInjector.actions.openInNewWindow(mState.stack); in onOptionsItemSelected()
315 mInjector.actions.openSettings(getCurrentRoot()); in onOptionsItemSelected()
318 mInjector.actions.selectAllFiles(); in onOptionsItemSelected()
321 mInjector.actions.showInspector(getCurrentDirectory()); in onOptionsItemSelected()
387 mInjector.actions.selectAllFiles(); in onKeyShortcut()
[all …]
/packages/apps/TV/src/com/android/tv/onboarding/
DSetupSourcesFragment.java248 @NonNull List<GuidedAction> actions, Bundle savedInstanceState) { in onCreateActions()
249 createActionsInternal(actions); in onCreateActions()
282 List<GuidedAction> actions = new ArrayList<>(); in updateActions() local
283 createActionsInternal(actions); in updateActions()
284 setActions(actions); in updateActions()
287 private void createActionsInternal(List<GuidedAction> actions) { in createActionsInternal() argument
292 actions.add( in createActionsInternal()
304 actions.add( in createActionsInternal()
337 actions.add( in createActionsInternal()
347 actions.add(GuidedActionsStylistWithDivider.createDividerAction(getContext())); in createActionsInternal()
[all …]
/packages/apps/Dialer/java/com/android/dialer/precall/impl/
DPreCallImpl.java35 private final ImmutableList<PreCallAction> actions; field in PreCallImpl
38 PreCallImpl(ImmutableList<PreCallAction> actions) { in PreCallImpl() argument
39 this.actions = actions; in PreCallImpl()
48 for (PreCallAction action : actions) { in buildIntent()
60 for (PreCallAction action : actions) { in requiresUi()
DPreCallCoordinatorImpl.java54 private ImmutableList<PreCallAction> actions; field in PreCallCoordinatorImpl
85 actions = PreCallComponent.get(activity).createActions(); in onResume()
105 if (currentActionIndex >= actions.size()) { in runNextAction()
110 LogUtil.i("PreCallCoordinatorImpl.runNextAction", "running " + actions.get(currentActionIndex)); in runNextAction()
111 currentAction = actions.get(currentActionIndex); in runNextAction()
112 actions.get(currentActionIndex).runWithUi(this); in runNextAction()
/packages/apps/TV/tuner/src/com/android/tv/tuner/setup/
DLineupFragment.java184 @NonNull List<GuidedAction> actions, Bundle savedInstanceState) { in onCreateActions()
185 actions.addAll(buildActions()); in onCreateActions()
194 List<GuidedAction> actions = new ArrayList<>(); in buildActions() local
197 actions.add( in buildActions()
202 actions.add( in buildActions()
208 actions.add( in buildActions()
224 actions.add( in buildActions()
232 return actions; in buildActions()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/widget/
DBottomActionBar.java376 public void showActions(BottomAction... actions) { in showActions() argument
377 for (BottomAction action : actions) { in showActions()
387 public void hideActions(BottomAction... actions) { in hideActions() argument
388 for (BottomAction action : actions) { in hideActions()
402 public void showActionsOnly(BottomAction... actions) { in showActionsOnly() argument
403 final Set<BottomAction> actionsSet = new HashSet<>(Arrays.asList(actions)); in showActionsOnly()
420 public boolean areActionsShown(BottomAction... actions) { in areActionsShown() argument
421 final Set<BottomAction> actionsSet = new HashSet<>(Arrays.asList(actions)); in areActionsShown()
450 public void enableActions(BottomAction... actions) { in enableActions() argument
451 for (BottomAction action : actions) { in enableActions()
[all …]
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/
DBatteryTipUtils.java32 import com.android.settings.fuelgauge.batterytip.actions.BatteryDefenderAction;
33 import com.android.settings.fuelgauge.batterytip.actions.BatteryTipAction;
34 import com.android.settings.fuelgauge.batterytip.actions.OpenBatterySaverAction;
35 import com.android.settings.fuelgauge.batterytip.actions.OpenRestrictAppFragmentAction;
36 import com.android.settings.fuelgauge.batterytip.actions.RestrictAppAction;
37 import com.android.settings.fuelgauge.batterytip.actions.SmartBatteryAction;
38 import com.android.settings.fuelgauge.batterytip.actions.UnrestrictAppAction;
/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/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/DeskClock/src/com/android/deskclock/data/
DTimerNotificationBuilder.kt74 val actions: MutableList<Action> = ArrayList<Action>(2) in build() constant
94 actions.add(Action.Builder(icon1, title1, intent1).build()) in build()
104 actions.add(Action.Builder(icon2, title2, intent2).build()) in build()
117 actions.add(Action.Builder(icon1, title1, intent1).build()) in build()
127 actions.add(Action.Builder(icon2, title2, intent2).build()) in build()
143 actions.add(Action.Builder(icon1, title1, intent1).build()) in build()
171 for (action in actions) { in build()
230 val actions: MutableList<Action> = ArrayList<Action>(2) in buildHeadsUp() constant
241 actions.add(Action.Builder(icon1, title1, intent1).build()) in buildHeadsUp()
248 actions.add(Action.Builder(icon2, title2, intent2).build()) in buildHeadsUp()
[all …]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/
DSelectWifiState.java152 public void onCreateActions(@NonNull List<GuidedAction> actions, in onCreateActions() argument
154 actions.addAll(getNetworks()); in onCreateActions()
159 ArrayList<WifiGuidedAction> actions = new ArrayList<>(); in getNetworks() local
182 actions.add(new WifiGuidedAction.Builder(context) in getNetworks()
191 actions.sort(mWifiComparator); in getNetworks()
194 actions.add(new WifiGuidedAction.Builder(context) in getNetworks()
202 actions.add(new WifiGuidedAction.Builder(context) in getNetworks()
208 return actions; in getNetworks()
/packages/apps/TV/src/com/android/tv/dvr/ui/
DDvrSeriesDeletionFragment.java109 public void onCreateActions(List<GuidedAction> actions, Bundle savedInstanceState) { in onCreateActions() argument
110 actions.add( in onCreateActions()
115 actions.add( in onCreateActions()
120 actions.add(GuidedActionsStylistWithDivider.createDividerAction(getContext())); in onCreateActions()
138 actions.add( in onCreateActions()
149 public void onCreateButtonActions(List<GuidedAction> actions, Bundle savedInstanceState) { in onCreateButtonActions() argument
150 actions.add( in onCreateButtonActions()
155 actions.add( in onCreateButtonActions()
DDvrGuidedStepFragment.java131 public void onCreateActions(List<GuidedAction> actions, Bundle savedInstanceState) { in onCreateActions() argument
133 actions.add( in onCreateActions()
138 actions.add( in onCreateActions()
143 actions.add( in onCreateActions()
176 public void onCreateActions(List<GuidedAction> actions, Bundle savedInstanceState) { in onCreateActions() argument
178 actions.add( in onCreateActions()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/
DBackupAppsStepFragment.java141 public void onCreateActions(@NonNull List<GuidedAction> actions, Bundle savedInstanceState) { in onCreateActions() argument
145 actions.addAll(getAppActions(true, entries)); in onCreateActions()
152 final List<GuidedAction> actions = new ArrayList<>(entries.size() + 1); in getAppActions() local
171 actions.add(new GuidedAction.Builder(getContext()) in getAppActions()
181 actions.add(new GuidedAction.Builder(getContext()) in getAppActions()
199 if (actions.size() == 0) { in getAppActions()
200 actions.add(new GuidedAction.Builder(getContext()) in getAppActions()
205 return actions; in getAppActions()
DResetActivity.java84 public void onCreateActions(@NonNull List<GuidedAction> actions, in onCreateActions() argument
86 actions.add(new GuidedAction.Builder(getContext()) in onCreateActions()
89 actions.add(new GuidedAction.Builder(getContext()) in onCreateActions()
134 public void onCreateActions(@NonNull List<GuidedAction> actions, in onCreateActions() argument
136 actions.add(new GuidedAction.Builder(getContext()) in onCreateActions()
139 actions.add(new GuidedAction.Builder(getContext()) in onCreateActions()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
DInputCustomNameFragment.java65 public void onCreateButtonActions(@NonNull List<GuidedAction> actions, in onCreateButtonActions() argument
67 actions.add(new GuidedAction.Builder(getContext()) in onCreateButtonActions()
70 actions.add(new GuidedAction.Builder(getContext()) in onCreateButtonActions()
76 public void onCreateActions(@NonNull List<GuidedAction> actions, in onCreateActions() argument
78 actions.add(new GuidedAction.Builder(getContext()) in onCreateActions()
/packages/apps/TV/common/src/com/android/tv/common/customization/
DCustomizationManager.java231 List<CustomAction> actions = mRowIdToCustomActionsMap.get(rowId); in buildCustomActions() local
232 if (actions == null) { in buildCustomActions()
233 actions = new ArrayList<>(); in buildCustomActions()
234 mRowIdToCustomActionsMap.put(rowId, actions); in buildCustomActions()
236 actions.add(new CustomAction(position, title, drawable, intent)); in buildCustomActions()
240 for (List<CustomAction> actions : mRowIdToCustomActionsMap.values()) { in buildCustomActions()
241 Collections.sort(actions); in buildCustomActions()
/packages/apps/Dialer/java/com/android/dialer/voicemail/listui/error/
DVoicemailErrorMessage.java50 private final List<Action> actions; field in VoicemailErrorMessage
95 return actions; in getActions()
117 public VoicemailErrorMessage(CharSequence title, CharSequence description, Action... actions) { in VoicemailErrorMessage() argument
118 this(title, description, Arrays.asList(actions)); in VoicemailErrorMessage()
122 CharSequence title, CharSequence description, @Nullable List<Action> actions) { in VoicemailErrorMessage() argument
125 this.actions = actions; in VoicemailErrorMessage()

123456789