/frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/ |
D | MainActivity.java | 58 public void onCreateActions(List<GuidedAction> actions, Bundle savedInstanceState) { in onCreateActions() argument 59 addAction(actions, BrowseActivity.class, R.string.browse, R.string.browse_description); in onCreateActions() 60 addAction(actions, BrowseSupportActivity.class, R.string.browse_support, in onCreateActions() 62 addAction(actions, SearchActivity.class, R.string.search, R.string.search_description); in onCreateActions() 63 addAction(actions, SearchSupportActivity.class, R.string.search_support, in onCreateActions() 66 addAction(actions, DetailsActivity.class, R.string.details, in onCreateActions() 68 actions.get(actions.size() - 1).getIntent().putExtra(DetailsActivity.EXTRA_ITEM, in onCreateActions() 70 addAction(actions, DetailsSupportActivity.class, R.string.details_support, in onCreateActions() 72 actions.get(actions.size() - 1).getIntent().putExtra(DetailsSupportActivity.EXTRA_ITEM, in onCreateActions() 75 addAction(actions, DetailsVideoActivity.class, R.string.details_video, in onCreateActions() [all …]
|
D | GuidedStepSupportActivity.java | 101 private static GuidedAction addAction(List<GuidedAction> actions, long id, String title, in addAction() argument 104 actions.add(action = new GuidedAction.Builder(null) in addAction() 112 private static GuidedAction addAction(List<GuidedAction> actions, long id, String title, in addAction() argument 115 actions.add(action = new GuidedAction.Builder(null) in addAction() 124 private static GuidedAction addEditableAction(Context context, List<GuidedAction> actions, in addEditableAction() argument 127 actions.add(action = new GuidedAction.Builder(context) in addEditableAction() 137 private static GuidedAction addEditableAction(List<GuidedAction> actions, long id, String title, in addEditableAction() argument 140 actions.add(action = new GuidedAction.Builder(null) in addEditableAction() 150 private static GuidedAction addEditableAction(List<GuidedAction> actions, long id, String title, in addEditableAction() argument 153 actions.add(action = new GuidedAction.Builder(null) in addEditableAction() [all …]
|
D | GuidedStepActivity.java | 98 private static GuidedAction addAction(List<GuidedAction> actions, long id, String title, in addAction() argument 101 actions.add(action = new GuidedAction.Builder(null) in addAction() 109 private static GuidedAction addAction(List<GuidedAction> actions, long id, String title, in addAction() argument 112 actions.add(action = new GuidedAction.Builder(null) in addAction() 121 private static GuidedAction addEditableAction(Context context, List<GuidedAction> actions, in addEditableAction() argument 124 actions.add(action = new GuidedAction.Builder(context) in addEditableAction() 134 private static GuidedAction addEditableAction(List<GuidedAction> actions, long id, String title, in addEditableAction() argument 137 actions.add(action = new GuidedAction.Builder(null) in addEditableAction() 147 private static GuidedAction addEditableAction(List<GuidedAction> actions, long id, String title, in addEditableAction() argument 150 actions.add(action = new GuidedAction.Builder(null) in addEditableAction() [all …]
|
D | GuidedStepSupportHalfScreenActivity.java | 65 public void onCreateActions(List<GuidedAction> actions, Bundle savedInstanceState) { in onCreateActions() argument 67 actions.add(new GuidedAction.Builder(context) in onCreateActions() 71 actions.add(new GuidedAction.Builder(context) in onCreateActions() 122 public void onCreateActions(List<GuidedAction> actions, Bundle savedInstanceState) { in onCreateActions() argument 124 actions.add(new GuidedAction.Builder(context) in onCreateActions() 128 actions.add(new GuidedAction.Builder(context) in onCreateActions() 135 public void onCreateButtonActions(List<GuidedAction> actions, Bundle savedInstanceState) { in onCreateButtonActions() argument 136 actions.add(new GuidedAction.Builder(getActivity()) in onCreateButtonActions()
|
D | GuidedStepHalfScreenActivity.java | 62 public void onCreateActions(List<GuidedAction> actions, Bundle savedInstanceState) { in onCreateActions() argument 64 actions.add(new GuidedAction.Builder(context) in onCreateActions() 68 actions.add(new GuidedAction.Builder(context) in onCreateActions() 119 public void onCreateActions(List<GuidedAction> actions, Bundle savedInstanceState) { in onCreateActions() argument 121 actions.add(new GuidedAction.Builder(context) in onCreateActions() 125 actions.add(new GuidedAction.Builder(context) in onCreateActions() 132 public void onCreateButtonActions(List<GuidedAction> actions, Bundle savedInstanceState) { in onCreateButtonActions() argument 133 actions.add(new GuidedAction.Builder(getActivity()) in onCreateButtonActions()
|
D | DetailsPresenterSelectionActivity.java | 53 private static void addAction(List<GuidedAction> actions, long id, String title, String desc) { in addAction() argument 54 actions.add(new GuidedAction.Builder(null) in addAction() 61 private static void addCheckedAction(List<GuidedAction> actions, Context context, in addCheckedAction() argument 63 actions.add(new GuidedAction.Builder(null) in addCheckedAction() 97 public void onCreateActions(List<GuidedAction> actions, Bundle savedInstanceState) { in onCreateActions() argument 109 addCheckedAction(actions, getActivity(), OPTION_IDS[i], OPTION_NAMES[i], in onCreateActions()
|
/frameworks/base/tools/preload2/src/com/android/preload/ |
D | Main.java | 21 import com.android.preload.actions.ClearTableAction; 22 import com.android.preload.actions.ComputeThresholdAction; 23 import com.android.preload.actions.ComputeThresholdXAction; 24 import com.android.preload.actions.DeviceSpecific; 25 import com.android.preload.actions.ExportAction; 26 import com.android.preload.actions.ImportAction; 27 import com.android.preload.actions.ReloadListAction; 28 import com.android.preload.actions.RunMonkeyAction; 29 import com.android.preload.actions.ScanAllPackagesAction; 30 import com.android.preload.actions.ScanPackageAction; [all …]
|
/frameworks/base/core/java/android/view/ |
D | HandlerActionQueue.java | 53 final HandlerAction[] actions = mActions; in removeCallbacks() local 55 if (actions[i].matches(action)) { in removeCallbacks() 64 actions[j] = actions[i]; in removeCallbacks() 75 actions[j] = null; in removeCallbacks() 82 final HandlerAction[] actions = mActions; in executeActions() local 84 final HandlerAction handlerAction = actions[i]; in executeActions()
|
/frameworks/base/core/java/android/app/ |
D | PictureInPictureArgs.java | 71 public Builder setActions(List<RemoteAction> actions) { in setActions() argument 75 if (actions != null) { in setActions() 76 mUserActions = new ArrayList<>(actions); in setActions() 147 public PictureInPictureArgs(float aspectRatio, List<RemoteAction> actions) { in PictureInPictureArgs() argument 149 setActions(actions); in PictureInPictureArgs() 165 private PictureInPictureArgs(Rational aspectRatio, List<RemoteAction> actions, in PictureInPictureArgs() argument 168 mUserActions = actions; in PictureInPictureArgs() 185 public void setActions(List<RemoteAction> actions) { in setActions() argument 189 if (actions != null) { in setActions() 190 mUserActions = new ArrayList<>(actions); in setActions()
|
D | PictureInPictureParams.java | 73 public Builder setActions(List<RemoteAction> actions) { in setActions() argument 77 if (actions != null) { in setActions() 78 mUserActions = new ArrayList<>(actions); in setActions() 157 PictureInPictureParams(Rational aspectRatio, List<RemoteAction> actions, in PictureInPictureParams() argument 160 mUserActions = actions; in PictureInPictureParams()
|
/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/wizard/ |
D | WizardNewPaymentStepFragment.java | 50 public void onCreateActions(List<GuidedAction> actions, Bundle savedInstanceState) { in onCreateActions() argument 51 actions.add(new GuidedAction.Builder(getActivity()) in onCreateActions() 61 actions.add(new GuidedDatePickerAction.Builder(getActivity()) in onCreateActions() 70 public void onCreateButtonActions(@NonNull List<GuidedAction> actions, in onCreateButtonActions() argument 72 actions.add(new GuidedAction.Builder(getActivity()) in onCreateButtonActions() 76 actions.get(actions.size() - 1).setEnabled(false); in onCreateButtonActions()
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/media/ |
D | MediaControllerGlue.java | 176 long actions = mMediaController.getPlaybackState().getActions(); in getSupportedActions() local 177 if ((actions & PlaybackStateCompat.ACTION_PLAY_PAUSE) != 0) { in getSupportedActions() 180 if ((actions & PlaybackStateCompat.ACTION_SKIP_TO_NEXT) != 0) { in getSupportedActions() 183 if ((actions & PlaybackStateCompat.ACTION_SKIP_TO_PREVIOUS) != 0) { in getSupportedActions() 186 if ((actions & PlaybackStateCompat.ACTION_FAST_FORWARD) != 0) { in getSupportedActions() 189 if ((actions & PlaybackStateCompat.ACTION_REWIND) != 0) { in getSupportedActions()
|
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/app/ |
D | GuidedStepTestFragment.java | 54 public void onCreateActions(List<GuidedAction> actions, Bundle savedInstanceState) { in onCreateActions() argument 57 public void onCreateButtonActions(List<GuidedAction> actions, Bundle savedInstanceState) { in onCreateButtonActions() argument 165 public void onCreateActions(List<GuidedAction> actions, Bundle savedInstanceState) { in onCreateActions() argument 166 mProvider.onCreateActions(actions, savedInstanceState); in onCreateActions() 170 public void onCreateButtonActions(List<GuidedAction> actions, Bundle savedInstanceState) { in onCreateButtonActions() argument 171 mProvider.onCreateButtonActions(actions, savedInstanceState); in onCreateButtonActions()
|
D | GuidedStepTestSupportFragment.java | 57 public void onCreateActions(List<GuidedAction> actions, Bundle savedInstanceState) { in onCreateActions() argument 60 public void onCreateButtonActions(List<GuidedAction> actions, Bundle savedInstanceState) { in onCreateButtonActions() argument 168 public void onCreateActions(List<GuidedAction> actions, Bundle savedInstanceState) { in onCreateActions() argument 169 mProvider.onCreateActions(actions, savedInstanceState); in onCreateActions() 173 public void onCreateButtonActions(List<GuidedAction> actions, Bundle savedInstanceState) { in onCreateButtonActions() argument 174 mProvider.onCreateButtonActions(actions, savedInstanceState); in onCreateButtonActions()
|
D | GuidedStepSupportFragmentTest.java | 65 List actions = (List) invocation.getArguments()[0]; in nextAndBack() 66 actions.add(new GuidedAction.Builder().id(1000).title("OK").build()); in nextAndBack() 142 List actions = (List) invocation.getArguments()[0]; in restoreFragments() 143 actions.add(new GuidedAction.Builder().id(1000).title("OK").build()); in restoreFragments() 144 actions.add(new GuidedAction.Builder().id(1001).editable(true).title("text") in restoreFragments() 146 actions.add(new GuidedAction.Builder().id(1002).editable(true).title("text") in restoreFragments() 210 List actions = (List) invocation.getArguments()[0]; in finishGuidedStepSupportFragment_finishes_activity() 211 actions.add(new GuidedAction.Builder().id(1001).title("Finish activity").build()); in finishGuidedStepSupportFragment_finishes_activity() 244 List actions = (List) invocation.getArguments()[0]; in finishGuidedStepSupportFragment_finishes_fragments() 245 actions.add(new GuidedAction.Builder().id(1001).title("Finish fragments").build()); in finishGuidedStepSupportFragment_finishes_fragments() [all …]
|
D | GuidedStepFragmentTest.java | 62 List actions = (List) invocation.getArguments()[0]; in nextAndBack() 63 actions.add(new GuidedAction.Builder().id(1000).title("OK").build()); in nextAndBack() 139 List actions = (List) invocation.getArguments()[0]; in restoreFragments() 140 actions.add(new GuidedAction.Builder().id(1000).title("OK").build()); in restoreFragments() 141 actions.add(new GuidedAction.Builder().id(1001).editable(true).title("text") in restoreFragments() 143 actions.add(new GuidedAction.Builder().id(1002).editable(true).title("text") in restoreFragments() 207 List actions = (List) invocation.getArguments()[0]; in finishGuidedStepFragment_finishes_activity() 208 actions.add(new GuidedAction.Builder().id(1001).title("Finish activity").build()); in finishGuidedStepFragment_finishes_activity() 241 List actions = (List) invocation.getArguments()[0]; in finishGuidedStepFragment_finishes_fragments() 242 actions.add(new GuidedAction.Builder().id(1001).title("Finish fragments").build()); in finishGuidedStepFragment_finishes_fragments() [all …]
|
/frameworks/support/media-compat/tests/src/android/support/v4/media/session/ |
D | PlaybackStateCompatTest.java | 140 ArrayList<PlaybackStateCompat.CustomAction> actions = new ArrayList<>(); in testBuilder_addCustomAction() local 144 actions.add(new PlaybackStateCompat.CustomAction.Builder( in testBuilder_addCustomAction() 152 assertEquals(actions.size(), state.getCustomActions().size()); in testBuilder_addCustomAction() 153 for (int i = 0; i < actions.size(); i++) { in testBuilder_addCustomAction() 154 assertCustomActionEquals(actions.get(i), state.getCustomActions().get(i)); in testBuilder_addCustomAction() 167 ArrayList<PlaybackStateCompat.CustomAction> actions = new ArrayList<>(); in testBuilder_addCustomActionWithCustomActionObject() local 171 actions.add(new PlaybackStateCompat.CustomAction.Builder( in testBuilder_addCustomActionWithCustomActionObject() 182 assertEquals(actions.size(), state.getCustomActions().size()); in testBuilder_addCustomActionWithCustomActionObject() 183 for (int i = 0; i < actions.size(); i++) { in testBuilder_addCustomActionWithCustomActionObject() 184 assertCustomActionEquals(actions.get(i), state.getCustomActions().get(i)); in testBuilder_addCustomActionWithCustomActionObject()
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/ |
D | GuidedStepSupportFragment.java | 330 public void onCreateActions(@NonNull List<GuidedAction> actions, Bundle savedInstanceState) { in onCreateActions() argument 339 public void onCreateButtonActions(@NonNull List<GuidedAction> actions, in onCreateButtonActions() argument 723 public void setButtonActions(List<GuidedAction> actions) { in setButtonActions() argument 724 mButtonActions = actions; in setButtonActions() 808 public void setActions(List<GuidedAction> actions) { in setActions() argument 809 mActions = actions; in setActions() 1001 ArrayList<GuidedAction> actions = new ArrayList<GuidedAction>(); in onCreate() local 1002 onCreateActions(actions, savedInstanceState); in onCreate() 1004 onRestoreActions(actions, savedInstanceState); in onCreate() 1006 setActions(actions); in onCreate() [all …]
|
D | GuidedStepFragment.java | 333 public void onCreateActions(@NonNull List<GuidedAction> actions, Bundle savedInstanceState) { in onCreateActions() argument 342 public void onCreateButtonActions(@NonNull List<GuidedAction> actions, in onCreateButtonActions() argument 726 public void setButtonActions(List<GuidedAction> actions) { in setButtonActions() argument 727 mButtonActions = actions; in setButtonActions() 811 public void setActions(List<GuidedAction> actions) { in setActions() argument 812 mActions = actions; in setActions() 1004 ArrayList<GuidedAction> actions = new ArrayList<GuidedAction>(); in onCreate() local 1005 onCreateActions(actions, savedInstanceState); in onCreate() 1007 onRestoreActions(actions, savedInstanceState); in onCreate() 1009 setActions(actions); in onCreate() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
D | AccessibilityNodeInfoTest.java | 51 ArraySet<AccessibilityAction> actions = AccessibilityAction.sStandardActions; in testStandardActions_idsAreUnique() local 52 for (int i = 0; i < actions.size(); i++) { in testStandardActions_idsAreUnique() 54 int id = actions.valueAt(i).getId(); in testStandardActions_idsAreUnique() 55 if (id == actions.valueAt(j).getId()) { in testStandardActions_idsAreUnique()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/ |
D | PipMediaController.java | 65 void onMediaActionsChanged(List<RemoteAction> actions); in onMediaActionsChanged() argument 170 long actions = mMediaController.getPlaybackState().getActions(); in getMediaActions() local 173 mPrevAction.setEnabled((actions & PlaybackState.ACTION_SKIP_TO_PREVIOUS) != 0); in getMediaActions() 177 if (!isPlaying && ((actions & PlaybackState.ACTION_PLAY) != 0)) { in getMediaActions() 179 } else if (isPlaying && ((actions & PlaybackState.ACTION_PAUSE) != 0)) { in getMediaActions() 184 mNextAction.setEnabled((actions & PlaybackState.ACTION_SKIP_TO_NEXT) != 0); in getMediaActions() 270 List<RemoteAction> actions = getMediaActions(); in notifyActionsChanged() local 271 mListeners.forEach(l -> l.onMediaActionsChanged(actions)); in notifyActionsChanged()
|
/frameworks/compile/mclinker/unittests/ |
D | InputTreeTest.cpp | 55 std::vector<InputAction*> actions; in TEST_F() local 58 actions.push_back(new StartGroupAction(position++)); in TEST_F() 59 actions.push_back(new InputFileAction(position++, "path1")); in TEST_F() 60 actions.push_back(new EndGroupAction(position++)); in TEST_F() 63 for (action = actions.begin(); action != actions.end(); ++action) { in TEST_F()
|
/frameworks/rs/tests/java_api/RSUnitTests/ |
D | RSUnitTests.py | 677 actions = [] 683 actions.append(GenerateBackward) 685 actions.append(GenerateBackward19) 687 actions.append(GenerateForward) 689 actions.append(GenerateSupportLibUnitTests) 691 actions.append(GenerateSupportLib19) 698 elif actions: 699 for action in actions:
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/tv/ |
D | PipMenuActivity.java | 116 public void onPipMenuActionsChanged(ParceledListSlice actions) { in onPipMenuActionsChanged() argument 117 boolean hasCustomActions = actions != null && !actions.getList().isEmpty(); in onPipMenuActionsChanged() 118 mPipControlsView.setActions(hasCustomActions ? actions.getList() : Collections.EMPTY_LIST); in onPipMenuActionsChanged()
|
/frameworks/compile/mclinker/tools/mcld/ |
D | Main.cpp | 824 std::vector<Action> actions; in TranslateArguments() local 826 actions.reserve(32); in TranslateArguments() 840 actions.push_back(std::move(action)); in TranslateArguments() 843 actions.push_back(std::move(action)); in TranslateArguments() 847 actions.push_back(std::move(action)); in TranslateArguments() 860 actions.push_back(std::move(action)); in TranslateArguments() 868 actions.push_back(std::move(action)); in TranslateArguments() 871 actions.push_back(std::move(action)); in TranslateArguments() 875 actions.push_back(std::move(action)); in TranslateArguments() 884 actions.push_back(std::move(action)); in TranslateArguments() [all …]
|