Searched refs:Action (Results 1 - 25 of 109) sorted by relevance

12345

/packages/apps/Contacts/src/com/android/contacts/quickcontact/
H A DActionMultiMap.java23 * Provide a simple way of collecting one or more {@link Action} objects
26 public class ActionMultiMap extends HashMap<String, ArrayList<Action>> {
27 public void put(String mimeType, Action info) {
32 * Puts the (mimeType,Action) tuple into the multimap at the front if
35 public void put(String mimeType, Action info, boolean front) {
37 ArrayList<Action> collectList = get(mimeType);
41 collectList = new ArrayList<Action>();
H A DAction.java29 public interface Action extends Collapser.Collapsible<Action> { interface in inherits:Collapser.Collapsible
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
H A DActionService.java28 final Action action, final int requestCode, final boolean launchesAnActivity) {
36 public void startAction(final Action action) {
43 public void scheduleAction(final Action action, final int code,
52 final Action action, final Bundle response) {
59 protected void handleFailureFromBackgroundWorker(final Action action,
H A DBackgroundWorker.java29 public void queueBackgroundWork(final List<Action> backgroundActions) {
H A DActionServiceImpl.java50 protected static void startAction(final Action action) {
65 protected static void scheduleAction(final Action action, final int requestCode,
80 protected static void handleResponseFromBackgroundWorker(final Action action,
96 protected static void handleFailureFromBackgroundWorker(final Action action,
190 final Action action, final int requestCode, final boolean launchesAnActivity) {
261 Action action;
266 action = (Action) actionBundle.getParcelable(BUNDLE_ACTION);
272 action = (Action) actionBundle.getParcelable(BUNDLE_ACTION);
279 action = (Action) actionBundle.getParcelable(BUNDLE_ACTION);
299 private void executeAction(final Action actio
[all...]
H A DAction.java39 public abstract class Action implements Parcelable { class in inherits:Parcelable
49 private final List<Action> mBackgroundActions = new LinkedList<Action>();
73 * or {@link #processBackgroundFailure}) on the Action thread.
76 protected void requestBackgroundWork(final Action backgroundAction) {
98 * be called. {@link #processBackgroundFailure} will be called on the Action service thread
126 protected Action(final String key) { method in class:Action
134 protected Action() { method in class:Action
202 * (or failure) to the Action service
280 * to parcel Action membe
290 public Action(final Parcel in) { method in class:Action
[all...]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/
H A DActionBehavior.java20 import com.android.tv.settings.dialog.old.Action;
44 public Action toAction(String key, Resources resources) {
45 return new Action.Builder().key(key).title(resources.getString(mTitleResource)).build();
48 public Action toAction(String key, Resources resources, boolean selected) {
49 return new Action.Builder()
53 public Action.Builder toActionBuilder(String key, Resources resources) {
54 return new Action.Builder()
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/action/
H A DActionTestHelpers.java61 mActions = new ArrayList<Action>();
64 ArrayList<Action> mActions;
65 public ArrayList<Action> getRequestsMade() {
70 public void queueBackgroundWork(final List<Action> actions) {
86 Action action;
89 public StateTransition(final Action action, final int from, final int to) {
108 protected void updateState(final Action action, final int expectedState,
125 public final Action action;
126 public final Action request;
129 public final Action updat
[all...]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/
H A DActionFragment.java35 public static ActionFragment newInstance(ArrayList<Action> actions) {
39 public static ActionFragment newInstance(ArrayList<Action> actions, String name) {
45 public static ActionFragment newInstance(ArrayList<Action> actions, int index) {
51 public static ActionFragment newInstance(ArrayList<Action> actions, String name, int index) {
81 public void onActionClicked(Action action) {
86 public void onActionFocused(Action action) {
91 public void onActionSelect(Action action) {
96 public void onActionUnselect(Action action) {
H A DAction.java34 public class Action implements Parcelable { class in inherits:Parcelable
36 private static final String TAG = "Action";
62 * Builds a Action object.
79 public Action build() {
80 return new Action(
162 protected Action(String key, String title, String description, String resourcePackageName, method in class:Action
181 * Returns a list of {@link Action} with the specified keys and titles
186 public static ArrayList<Action> createActionsFromArrays(String[] keys, String[] titles) {
191 * Returns a list of {@link Action} with the specified keys and titles
196 public static ArrayList<Action> createActionsFromArray
[all...]
H A DBaseActionFragment.java79 public static Bundle buildArgs(ArrayList<Action> actions, String name) {
86 public static Bundle buildArgs(ArrayList<Action> actions, int index) {
93 public static Bundle buildArgs(ArrayList<Action> actions, String name, int index) {
105 ArrayList<Action> actions = savedInstanceState.getParcelableArrayList(EXTRA_ACTIONS);
108 for (Action action : actions) {
164 public void onActionClicked(Action action) {
179 public void onActionFocused(Action action) {
188 public void onActionSelect(Action action) {
197 public void onActionUnselect(Action action) {
233 ArrayList<Action> action
[all...]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
H A DActionType.java22 import com.android.tv.settings.dialog.old.Action;
74 Action toAction(Resources resources) {
78 Action toAction(Resources resources, String description) {
79 return new Action.Builder()
86 Action toInfo(Resources resources, String description) {
87 return new Action.Builder()
95 Action toInfo(Resources resources, int descResource) {
99 Action toAction(Resources resources, int descResource) {
100 return new Action.Builder()
/packages/apps/Dialer/src/com/android/dialer/voicemail/
H A DVoicemailStatusHelperImpl.java60 public static enum Action { enum in class:VoicemailStatusHelperImpl
66 private Action(int messageId) { method in class:VoicemailStatusHelperImpl.Action
84 NO_CONNECTION(0, Action.CALL_VOICEMAIL, R.string.voicemail_status_voicemail_not_available,
87 NO_DATA(1, Action.CALL_VOICEMAIL, R.string.voicemail_status_voicemail_not_available,
90 MESSAGE_WAITING(2, Action.CALL_VOICEMAIL, R.string.voicemail_status_messages_waiting,
93 NO_NOTIFICATIONS(3, Action.CALL_VOICEMAIL,
96 INVITE_FOR_CONFIGURATION(4, Action.CONFIGURE_VOICEMAIL,
102 NO_DETAILED_NOTIFICATION(5, Action.NONE, -1),
104 NOT_CONFIGURED(6, Action.NONE, -1),
106 OK(7, Action
[all...]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/sound/
H A DSoundActivity.java28 import com.android.tv.settings.dialog.DialogFragment.Action;
35 public class SoundActivity extends Activity implements Action.Listener {
57 private ArrayList<Action> getActions() {
59 ArrayList<Action> actions = new ArrayList<Action>();
60 actions.add(new Action.Builder()
66 actions.add(new Action.Builder()
76 public void onActionClicked(Action action) {
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/display/widi/
H A DWifiDisplayActivity.java26 import com.android.tv.settings.dialog.old.Action;
63 public void onActionClicked(Action action) {
98 ArrayList<Action> actions = new ArrayList<Action>();
99 actions.add(new Action.Builder().key(Tag.WIFI_DISPLAY_ON.name())
101 actions.add(new Action.Builder().key(Tag.WIFI_DISPLAY_OFF.name())
115 ArrayList<Action> actions = new ArrayList<Action>();
116 actions.add(new Action.Builder().key(Tag.PIN_REQUIRED_ON.name())
118 actions.add(new Action
[all...]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/privacy/
H A DActionType.java22 import com.android.tv.settings.dialog.old.Action;
44 Action toAction(Resources resources) {
48 Action toAction(Resources resources, String description) {
49 return new Action.Builder()
H A DPrivacyActivity.java35 import com.android.tv.settings.dialog.old.Action;
116 public void onActionClicked(Action action) {
187 private ArrayList<Action> getFactoryResetActions() {
188 ArrayList<Action> actions = new ArrayList<Action>();
189 actions.add(new Action.Builder()
194 actions.add(new Action.Builder()
202 private ArrayList<Action> getFactoryResetConfirmActions() {
203 ArrayList<Action> actions = new ArrayList<Action>();
[all...]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accounts/
H A DRemoveAccountDialog.java20 import com.android.tv.settings.dialog.old.Action;
63 public void onActionClicked(Action action) {
89 private ArrayList<Action> getActions() {
90 ArrayList<Action> actions = new ArrayList<Action>();
91 actions.add(new Action.Builder()
95 actions.add(new Action.Builder()
H A DAccountSyncSettings.java38 import com.android.tv.settings.dialog.old.Action;
142 public void onActionClicked(Action action) {
197 private ArrayList<Action> getActions(Account[] accounts) {
198 ArrayList<Action> actions = new ArrayList<Action>();
244 Action action = getAction(account, authority, currentSyncs);
264 actions.add(0, new Action.Builder()
276 private Action getAction(Account account, String authority, List<SyncInfo> currentSyncs) {
341 return new Action.Builder()
362 Action actio
[all...]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
H A DSecurityActivity.java23 import com.android.tv.settings.dialog.DialogFragment.Action;
41 public class SecurityActivity extends Activity implements Action.Listener {
82 public void onActionClicked(Action action) {
88 ArrayList<Action> actions = new ArrayList<>();
92 actions.add(new Action.Builder()
98 actions.add(new Action.Builder()
121 ArrayList<Action> actions = new ArrayList<>();
122 actions.add(new Action.Builder()
126 actions.add(new Action.Builder()
150 ArrayList<Action> action
[all...]
H A DActionType.java22 import com.android.tv.settings.dialog.old.Action;
86 Action toAction(Resources resources) {
90 Action toAction(Resources resources, boolean enabled) {
94 Action toAction(Resources resources, String description) {
98 Action toAction(Resources resources, String description, boolean enabled) {
102 Action toAction(Resources resources, String description, boolean enabled, boolean checked) {
103 return new Action.Builder()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/
H A DDialogActionAdapter.java44 import com.android.tv.settings.dialog.DialogFragment.Action;
64 private final List<Action> mActions;
65 private Action.Listener mListener;
75 public DialogActionAdapter(Action.Listener listener, Action.OnFocusListener onFocusListener,
76 List<Action> actions) {
79 mActions = new ArrayList<Action>(actions);
115 public Action getItem(int position) {
119 public void setListener(Action.Listener listener) {
124 public void setOnFocusListener(Action
[all...]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/form/
H A DMultiPagedForm.java19 import com.android.tv.settings.dialog.old.Action;
57 public void onActionClicked(Action action) {
294 protected ActionFragment getActionFragment(FormPage formPage, ArrayList<Action> actions,
295 Action selectedAction) {
314 protected ActionFragment getResultActionFragment(ArrayList<Action> actions) {
431 public void onActionClicked(Action action) {
469 private ArrayList<Action> getActions(FormPage formPage) {
470 ArrayList<Action> actions = new ArrayList<Action>();
472 actions.add(new Action
[all...]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/display/daydream/
H A DDaydreamActivity.java26 import com.android.tv.settings.dialog.old.Action;
85 public void onActionClicked(Action action) {
152 private void onSetDreamTimeout(Action action) {
158 private void onSetSystemSleepTimeout(Action action) {
173 private ArrayList<Action> getMainActions() {
174 ArrayList<Action> actions = new ArrayList<>();
175 actions.add(new Action.Builder().key(ActionType.SELECT.name())
178 actions.add(new Action.Builder()
194 actions.add(new Action.Builder()
199 actions.add(new Action
[all...]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/
H A DUserAppRestrictionsDialogFragment.java36 import com.android.tv.settings.dialog.DialogFragment.Action;
45 public class UserAppRestrictionsDialogFragment extends DialogFragment implements Action.Listener,
130 ArrayList<Action> matchingActions = findActionsWithPackageName(getActions(),
132 for (Action matchingAction : matchingActions) {
146 setActions(new ArrayList<Action>());
204 public void onActionClicked(Action action) {
211 final ArrayList<Action> initialAllowDisallowActions = new ArrayList<>();
213 initialAllowDisallowActions.add(new Action.Builder()
222 initialAllowDisallowActions.add(new Action.Builder()
231 initialAllowDisallowActions.add(new Action
[all...]

Completed in 370 milliseconds

12345