Home
last modified time | relevance | path

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

12345678

/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/DocumentsUI/src/com/android/documentsui/files/
DFilesActivity.java134 mInjector.actions = new ActionHandler<>( in onCreate()
149 mAppsRowManager = new AppsRowManager(mInjector.actions); in onCreate()
153 new ActivityInputHandler(mInjector.actions::deleteSelectedDocuments); in onCreate()
167 mInjector.actions.initLocation(intent); in onCreate()
295 mInjector.actions.showCreateDirectoryDialog(); in onOptionsItemSelected()
298 mInjector.actions.openInNewWindow(mState.stack); in onOptionsItemSelected()
301 mInjector.actions.openSettings(getCurrentRoot()); in onOptionsItemSelected()
304 mInjector.actions.selectAllFiles(); in onOptionsItemSelected()
307 mInjector.actions.showInspector(getCurrentDirectory()); in onOptionsItemSelected()
375 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()
/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/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/Settings/src/com/android/settings/fuelgauge/batterytip/
DBatteryTipUtils.java32 import com.android.settings.fuelgauge.batterytip.actions.BatterySaverAction;
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/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 …]
DTimerNotificationBuilder.java74 final List<Action> actions = new ArrayList<>(2); in build() local
94 actions.add(new Action.Builder(icon1, title1, intent1).build()); in build()
104 actions.add(new Action.Builder(icon2, title2, intent2).build()); in build()
118 actions.add(new Action.Builder(icon1, title1, intent1).build()); in build()
128 actions.add(new Action.Builder(icon2, title2, intent2).build()); in build()
144 actions.add(new Action.Builder(icon1, title1, intent1).build()); in build()
172 for (Action action : actions) { in build()
232 final List<Action> actions = new ArrayList<>(2); in buildHeadsUp() local
243 actions.add(new Action.Builder(icon1, title1, intent1).build()); in buildHeadsUp()
250 actions.add(new Action.Builder(icon2, title2, intent2).build()); in buildHeadsUp()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/
DLauncherAccessibilityDelegate.java231 final IntArray actions = getSupportedResizeActions(host, info); in performAction() local
232 CharSequence[] labels = new CharSequence[actions.size()]; in performAction()
233 for (int i = 0; i < actions.size(); i++) { in performAction()
234 labels[i] = mLauncher.getText(actions.get(i)); in performAction()
243 performResizeAction(actions.get(which), host, info); in performAction()
264 IntArray actions = new IntArray(); in getSupportedResizeActions() local
268 return actions; in getSupportedResizeActions()
275 actions.add(R.string.action_increase_width); in getSupportedResizeActions()
279 actions.add(R.string.action_decrease_width); in getSupportedResizeActions()
286 actions.add(R.string.action_increase_height); in getSupportedResizeActions()
[all …]
/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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/batterytip/
DBatteryTipUtils.java32 import com.android.car.developeroptions.fuelgauge.batterytip.actions.BatterySaverAction;
33 import com.android.car.developeroptions.fuelgauge.batterytip.actions.BatteryTipAction;
34 import com.android.car.developeroptions.fuelgauge.batterytip.actions.OpenBatterySaverAction;
35 import com.android.car.developeroptions.fuelgauge.batterytip.actions.OpenRestrictAppFragmentAction;
36 import com.android.car.developeroptions.fuelgauge.batterytip.actions.RestrictAppAction;
37 import com.android.car.developeroptions.fuelgauge.batterytip.actions.SmartBatteryAction;
38 import com.android.car.developeroptions.fuelgauge.batterytip.actions.UnrestrictAppAction;
/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.java77 public void onCreateActions(@NonNull List<GuidedAction> actions, in onCreateActions() argument
79 actions.add(new GuidedAction.Builder(getContext()) in onCreateActions()
82 actions.add(new GuidedAction.Builder(getContext()) in onCreateActions()
122 public void onCreateActions(@NonNull List<GuidedAction> actions, in onCreateActions() argument
124 actions.add(new GuidedAction.Builder(getContext()) in onCreateActions()
127 actions.add(new GuidedAction.Builder(getContext()) in onCreateActions()
/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()
/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/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()

12345678