/packages/apps/Dialer/java/com/android/dialer/searchfragment/list/ |
D | SearchActionViewHolder.java | 46 Action.INVALID, 47 Action.CREATE_NEW_CONTACT, 48 Action.ADD_TO_CONTACT, 49 Action.SEND_SMS, 50 Action.MAKE_VILTE_CALL, 51 Action.MAKE_VOICE_CALL 53 @interface Action { annotation in SearchActionViewHolder 72 private @Action int action; 85 void setAction(@Action int action, int position, String query) { in setAction() 90 case Action.ADD_TO_CONTACT: in setAction() [all …]
|
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/action/ |
D | ActionTestHelpers.java | 59 mActions = new ArrayList<Action>(); in StubBackgroundWorker() 62 ArrayList<Action> mActions; 63 public ArrayList<Action> getRequestsMade() { in getRequestsMade() 68 public void queueBackgroundWork(final List<Action> actions) { in queueBackgroundWork() 84 Action action; 87 public StateTransition(final Action action, final int from, final int to) { in StateTransition() 106 protected void updateState(final Action action, final int expectedState, in updateState() 123 public final Action action; 124 public final Action request; 127 public final Action update; [all …]
|
/packages/apps/Dialer/java/com/android/dialer/voicemail/listui/error/ |
D | VoicemailErrorMessage.java | 50 private final List<Action> actions; 56 public static class Action { class in VoicemailErrorMessage 62 public Action(CharSequence text, View.OnClickListener listener) { in Action() method in VoicemailErrorMessage.Action 66 public Action(CharSequence text, View.OnClickListener listener, boolean raised) { in Action() method in VoicemailErrorMessage.Action 94 public List<Action> getActions() { in getActions() 117 public VoicemailErrorMessage(CharSequence title, CharSequence description, Action... actions) { in VoicemailErrorMessage() 122 CharSequence title, CharSequence description, @Nullable List<Action> actions) { in VoicemailErrorMessage() 129 public static Action createChangeAirplaneModeAction(final Context context) { in createChangeAirplaneModeAction() 130 return new Action( in createChangeAirplaneModeAction() 144 public static Action createSetPinAction( [all …]
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/ |
D | Action.java | 34 public class Action implements Parcelable { class 77 public Action build() { in build() 78 return new Action( in build() 154 protected Action(String key, String title, String description, String resourcePackageName, in Action() method in Action 177 public static ArrayList<Action> createActionsFromArrays(String[] keys, String[] titles) { in createActionsFromArrays() 187 public static ArrayList<Action> createActionsFromArrays(String[] keys, String[] titles, in createActionsFromArrays() 196 ArrayList<Action> actions = new ArrayList<Action>(); in createActionsFromArrays() 198 Action.Builder builder = new Action.Builder(); in createActionsFromArrays() 207 Action action = builder.build(); in createActionsFromArrays() 313 public static Parcelable.Creator<Action> CREATOR = new Parcelable.Creator<Action>() { [all …]
|
D | ActionAdapter.java | 77 public void onActionClicked(Action action); in onActionClicked() 85 public void onActionFocused(Action action); in onActionFocused() 96 public void onActionSelect(Action action); in onActionSelect() 101 public void onActionUnselect(Action action); in onActionUnselect() 114 private final List<Action> mActions; 182 Action action = mActions.get(position); in getView() 237 public void addAction(Action action) { in addAction() 245 public ArrayList<Action> getActions() { in getActions() 249 public void setActions(ArrayList<Action> actions) { in setActions() 277 Action action = (Action) v.getTag(R.id.action_title); in changeFocus() [all …]
|
D | BaseActionFragment.java | 79 public static Bundle buildArgs(ArrayList<Action> actions, String name) { in buildArgs() 86 public static Bundle buildArgs(ArrayList<Action> actions, int index) { in buildArgs() 93 public static Bundle buildArgs(ArrayList<Action> actions, String name, int index) { in buildArgs() 105 ArrayList<Action> actions = savedInstanceState.getParcelableArrayList(EXTRA_ACTIONS); in onCreate() 108 for (Action action : actions) { in onCreate() 164 public void onActionClicked(Action action) { in onActionClicked() 179 public void onActionFocused(Action action) { in onActionFocused() 188 public void onActionSelect(Action action) { in onActionSelect() 197 public void onActionUnselect(Action action) { in onActionUnselect() 233 ArrayList<Action> actions = mFragment.getArguments() in loadActionsFromArgumentsIfNecessary()
|
D | ActionFragment.java | 35 public static ActionFragment newInstance(ArrayList<Action> actions) { in newInstance() 39 public static ActionFragment newInstance(ArrayList<Action> actions, String name) { in newInstance() 45 public static ActionFragment newInstance(ArrayList<Action> actions, int index) { in newInstance() 51 public static ActionFragment newInstance(ArrayList<Action> actions, String name, int index) { in newInstance() 81 public void onActionClicked(Action action) { in onActionClicked() 86 public void onActionFocused(Action action) { in onActionFocused() 91 public void onActionSelect(Action action) { in onActionSelect() 96 public void onActionUnselect(Action action) { in onActionUnselect()
|
/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/utils/ |
D | MockMessageNotificationBuilder.java | 22 import static androidx.core.app.NotificationCompat.Action.SEMANTIC_ACTION_MARK_AS_READ; 23 import static androidx.core.app.NotificationCompat.Action.SEMANTIC_ACTION_REPLY; 39 import androidx.core.app.NotificationCompat.Action; 86 private Action mReplyAction = null; 87 private Action mMarkAsReadAction = null; 135 mHasReplyWrongSemanticAction ? Action.SEMANTIC_ACTION_NONE in build() 139 mHasReplyWrongSemanticAction ? Action.SEMANTIC_ACTION_NONE in build() 250 public Action getReplyAction() { in getReplyAction() 254 public Action getMarkAsReadAction() { in getMarkAsReadAction() 277 private Action getNonMockReplyAction(int semanticAction) { in getNonMockReplyAction() [all …]
|
/packages/apps/Car/libs/car-assist-lib/src/com/android/car/assist/payloadhandlers/ |
D | ConversationPayloadHandler.java | 32 import androidx.core.app.NotificationCompat.Action; 33 import androidx.core.app.NotificationCompat.Action.SemanticAction; 69 Action muteAction = getNotificationAction(context, conversation, in createNotificationFromConversation() 71 Action markAsReadAction = getNotificationAction(context, conversation, in createNotificationFromConversation() 73 Action replyAction = getNotificationAction(context, conversation, in createNotificationFromConversation() 89 private static Action getNotificationAction( in getNotificationAction() 95 Action notificationAction = null; in getNotificationAction() 100 Action.Builder builder = in getNotificationAction() 101 new Action.Builder( in getNotificationAction() 119 return Action.SEMANTIC_ACTION_MUTE; in getSemanticAction() [all …]
|
/packages/apps/Car/libs/car-ui-lib/paintbooth/src/main/java/com/android/car/ui/paintbooth/caruirecyclerview/ |
D | CarUiListItemActivity.java | 69 CarUiContentListItem item = new CarUiContentListItem(CarUiContentListItem.Action.NONE); in generateSampleData() 74 item = new CarUiContentListItem(CarUiContentListItem.Action.NONE); in generateSampleData() 82 item = new CarUiContentListItem(CarUiContentListItem.Action.NONE); in generateSampleData() 86 item = new CarUiContentListItem(CarUiContentListItem.Action.NONE); in generateSampleData() 91 item = new CarUiContentListItem(CarUiContentListItem.Action.NONE); in generateSampleData() 97 item = new CarUiContentListItem(CarUiContentListItem.Action.NONE); in generateSampleData() 103 item = new CarUiContentListItem(CarUiContentListItem.Action.NONE); in generateSampleData() 109 item = new CarUiContentListItem(CarUiContentListItem.Action.NONE); in generateSampleData() 118 item = new CarUiContentListItem(CarUiContentListItem.Action.CHECK_BOX); in generateSampleData() 127 item = new CarUiContentListItem(CarUiContentListItem.Action.CHECK_BOX); in generateSampleData() [all …]
|
/packages/apps/Car/libs/car-assist-client-lib/src/com/android/car/assist/client/ |
D | CarAssistUtils.java | 18 import static android.app.Notification.Action.SEMANTIC_ACTION_MARK_AS_READ; 19 import static android.app.Notification.Action.SEMANTIC_ACTION_REPLY; 36 import androidx.core.app.NotificationCompat.Action; 206 .map(NotificationCompat.Action::getSemanticAction) in hasRequiredAssistantCallbacks() 215 public static List<Action> getAllActions(Notification notification) { in getAllActions() 216 List<Action> actions = new ArrayList<>( in getAllActions() 231 public static NotificationCompat.Action getMarkAsReadAction(Notification notification) { in getMarkAsReadAction() 232 for (NotificationCompat.Action action : getAllActions(notification)) { in getMarkAsReadAction() 234 == NotificationCompat.Action.SEMANTIC_ACTION_MARK_AS_READ) { in getMarkAsReadAction() 246 public static NotificationCompat.Action getMuteAction(Notification notification) { in getMuteAction() [all …]
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/notification/ |
D | NotificationFragment.java | 19 import androidx.core.app.NotificationCompat.Action; 182 new Notification.Action.Builder( in initImportanceHighBotton() 185 new Notification.Action.Builder( in initImportanceHighBotton() 188 new Notification.Action.Builder( in initImportanceHighBotton() 301 new Action.Builder(R.drawable.ic_check_box, "read", markAsReadIntent) in initMessagingStyleButtonForDiffPerson() 302 .setSemanticAction(Action.SEMANTIC_ACTION_MARK_AS_READ) in initMessagingStyleButtonForDiffPerson() 306 new Action.Builder(R.drawable.ic_check_box, "reply", replyIntent) in initMessagingStyleButtonForDiffPerson() 307 .setSemanticAction(Action.SEMANTIC_ACTION_REPLY) in initMessagingStyleButtonForDiffPerson() 336 new Action.Builder(R.drawable.ic_check_box, "read", markAsReadIntent) in initMessagingStyleButtonForSamePerson() 337 .setSemanticAction(Action.SEMANTIC_ACTION_MARK_AS_READ) in initMessagingStyleButtonForSamePerson() [all …]
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/ |
D | ActionServiceImpl.java | 55 protected static void startAction(final Action action) { in startAction() 70 protected static void scheduleAction(final Action action, final int requestCode, in scheduleAction() 85 protected static void handleResponseFromBackgroundWorker(final Action action, in handleResponseFromBackgroundWorker() 101 protected static void handleFailureFromBackgroundWorker(final Action action, in handleFailureFromBackgroundWorker() 195 final Action action, final int requestCode, final boolean launchesAnActivity) { in makeStartActionPendingIntent() 247 Action action; in onHandleWork() 252 action = (Action) actionBundle.getParcelable(BUNDLE_ACTION); in onHandleWork() 258 action = (Action) actionBundle.getParcelable(BUNDLE_ACTION); in onHandleWork() 265 action = (Action) actionBundle.getParcelable(BUNDLE_ACTION); in onHandleWork() 281 private void executeAction(final Action action) { in executeAction() [all …]
|
D | Action.java | 39 public abstract class Action implements Parcelable { class 49 private final List<Action> mBackgroundActions = new LinkedList<Action>(); 76 protected void requestBackgroundWork(final Action backgroundAction) { in requestBackgroundWork() 126 protected Action(final String key) { in Action() method in Action 134 protected Action() { in Action() method in Action 290 public Action(final Parcel in) { in Action() method in Action 293 this.actionParameters = in.readBundle(Action.class.getClassLoader()); in Action()
|
D | ActionMonitor.java | 55 abstract void onActionExecuted(ActionMonitor monitor, final Action action, in onActionExecuted() 71 final Action action, final Object data, final Object result); in onActionSucceeded() 76 abstract void onActionFailed(ActionMonitor monitor, final Action action, in onActionFailed() 89 void onActionStateChanged(Action action, int state); in onActionStateChanged() 241 protected void updateState(final Action action, final int expectedOldState, in updateState() 266 static void setState(final Action action, final int expectedOldState, in setState() 294 private final void complete(final Action action, in complete() 339 static void setCompleteState(final Action action, final int expectedOldState, in setCompleteState() 364 final void executed(final Action action, in executed() 401 static void setExecutedState(final Action action, in setExecutedState()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/presets/ |
D | UserPresetsAdapter.java | 29 import com.android.gallery3d.filtershow.category.Action; 36 public class UserPresetsAdapter extends ArrayAdapter<Action> 58 public void add(Action action) { in add() 63 private void deletePreset(Action action) { in deletePreset() 72 private void changePreset(Action action) { in changePreset() 108 Action action = getItem(position); in getView() 144 Action action = (Action) v.getTag(); in onClick() 164 Action action = (Action) editText.getTag(); in updateActionFromEditText()
|
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/recyclerview/ |
D | CarUiContentListItem.java | 78 public enum Action { enum in CarUiContentListItem 117 private final Action mAction; 131 public CarUiContentListItem(@NonNull Action action) { in CarUiContentListItem() 293 if (mAction == Action.CHECK_BOX || mAction == Action.SWITCH in setChecked() 294 || mAction == Action.RADIO_BUTTON) { in setChecked() 323 public Action getAction() { in getAction() 332 if (mAction != Action.ICON) { in getSupplementalIcon() 356 if (mAction != Action.ICON) { in setSupplementalIcon()
|
/packages/apps/Car/libs/car-ui-lib/oem-apis/src/main/java/com/android/car/ui/sharedlibrary/oemapis/recyclerview/ |
D | ContentListItemOEMV1.java | 50 public enum Action { enum in ContentListItemOEMV1 80 private final Action mAction; 170 public Action getAction() { in getAction() 213 if (mAction == Action.CHECK_BOX || mAction == Action.SWITCH in setChecked() 214 || mAction == Action.RADIO_BUTTON) { in setChecked() 227 private final Action mAction; 244 public Builder(Action action) { in Builder() 347 if (mAction != Action.ICON) { in setSupplementalIcon()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/ |
D | CategoryView.java | 40 private Action mAction; 76 if (mAction.getType() == Action.CROP_VIEW) { in isHalfImage() 79 if (mAction.getType() == Action.ADD_ACTION) { in isHalfImage() 102 if (mAction != null && mAction.getType() == Action.ADD_ACTION) { in needsCenterText() 110 if (mAction.getType() == Action.SPACER) { in onDraw() 130 public void setAction(Action action, CategoryAdapter adapter) { in setAction() 136 if (mAction.getType() == Action.ADD_ACTION) { in setAction() 150 if (mAction.getType() == Action.ADD_ACTION) { in onClick() 152 } else if (mAction.getType() != Action.SPACER) { in onClick()
|
D | CategoryAdapter.java | 31 public class CategoryAdapter extends ArrayAdapter<Action> { 55 Action action = getItem(i); in clear() 70 public void add(Action action) { in add() 97 Action action = getItem(position); in getView() 101 if (action.getType() == Action.SPACER) { in getView() 108 if (action.getType() == Action.ADD_ACTION in getView() 156 Action action = getItem(i); in getTinyPlanet() 168 Action action = getItem(i); in removeTinyPlanet() 179 public void remove(Action action) { in remove()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
D | ActionBatch.java | 83 public interface Action { interface in ActionBatch 94 public static final class StartDownloadAction implements Action { 160 public static final class InstallAfterDownloadAction implements Action { 205 public static final class EnableAction implements Action { 241 public static final class DisableAction implements Action { 283 public static final class MakeAvailableAction implements Action { 332 public static final class MarkPreInstalledAction implements Action { 376 public static final class UpdateDataAction implements Action { 426 public static final class ForgetAction implements Action { 500 public static final class StartDeleteAction implements Action { [all …]
|
/packages/apps/DeskClock/src/com/android/deskclock/data/ |
D | TimerNotificationBuilder.kt | 36 import androidx.core.app.NotificationCompat.Action 74 val actions: MutableList<Action> = ArrayList<Action>(2) in build() 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() 230 val actions: MutableList<Action> = ArrayList<Action>(2) in buildHeadsUp() 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/Gallery2/src/com/android/gallery3d/filtershow/ |
D | FilterShowActivity.java | 73 import com.android.gallery3d.filtershow.category.Action; 171 private ArrayList<Action> mActions = new ArrayList<Action>(); 397 public void registerAction(Action action) { in registerAction() 406 Action action = mActions.get(i); in loadActions() 416 new Action(this, originalRep, Action.FULL_VIEW)); in updateVersions() 421 new Action(this, currentRep, Action.FULL_VIEW)); in updateVersions() 423 mCategoryVersionsAdapter.add(new Action(this, Action.SPACER)); in updateVersions() 427 new Action(this, rep, Action.FULL_VIEW, true)); in updateVersions() 441 public void removeVersion(Action action) { in removeVersion() 446 public void removeLook(Action action) { in removeLook() [all …]
|
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/androidTest/java/com/android/car/ui/recyclerview/ |
D | CarUiListItemTest.java | 102 CarUiContentListItem item = new CarUiContentListItem(CarUiContentListItem.Action.NONE); in testItemVisibility_withTitle() 119 CarUiContentListItem item = new CarUiContentListItem(CarUiContentListItem.Action.NONE); in testItemVisibility_withBody() 159 CarUiContentListItem item = new CarUiContentListItem(CarUiContentListItem.Action.NONE); in testItemDisabled() 174 CarUiContentListItem item = new CarUiContentListItem(CarUiContentListItem.Action.NONE); in testItemActivated() 189 CarUiContentListItem item = new CarUiContentListItem(CarUiContentListItem.Action.CHEVRON); in testItemVisibility_withChevron() 206 CarUiContentListItem item = new CarUiContentListItem(CarUiContentListItem.Action.NONE); in testItemVisibility_withTitle_withBodyAndIcon() 229 CarUiContentListItem item = new CarUiContentListItem(CarUiContentListItem.Action.CHECK_BOX); in testItem_withCheckbox() 294 CarUiContentListItem item = new CarUiContentListItem(CarUiContentListItem.Action.SWITCH); in testItem_withSwitch() 322 CarUiContentListItem.Action.RADIO_BUTTON); in testItem_withRadioButton() 350 CarUiContentListItem.Action.NONE); in testItem_withCompactLayout() [all …]
|
/packages/apps/TV/src/com/android/tv/dvr/ui/browse/ |
D | ActionPresenterSelector.java | 21 import androidx.leanback.widget.Action; 42 Action action = (Action) item; in getPresenter() 56 Action mAction; 78 Action action = (Action) item; in onBindViewHolder() 101 Action action = (Action) item; in onBindViewHolder()
|