Home
last modified time | relevance | path

Searched refs:actionId (Results 1 – 25 of 84) sorted by relevance

1234

/packages/apps/TV/src/com/android/tv/dvr/ui/
DTrackedGuidedStepFragment.java52 long actionId = action.getId(); in getTrackerLabelForGuidedAction() local
53 if (actionId == GuidedAction.ACTION_ID_CANCEL) { in getTrackerLabelForGuidedAction()
55 } else if (actionId == GuidedAction.ACTION_ID_NEXT) { in getTrackerLabelForGuidedAction()
57 } else if (actionId == GuidedAction.ACTION_ID_CURRENT) { in getTrackerLabelForGuidedAction()
59 } else if (actionId == GuidedAction.ACTION_ID_OK) { in getTrackerLabelForGuidedAction()
61 } else if (actionId == GuidedAction.ACTION_ID_CANCEL) { in getTrackerLabelForGuidedAction()
63 } else if (actionId == GuidedAction.ACTION_ID_FINISH) { in getTrackerLabelForGuidedAction()
65 } else if (actionId == GuidedAction.ACTION_ID_CONTINUE) { in getTrackerLabelForGuidedAction()
67 } else if (actionId == GuidedAction.ACTION_ID_YES) { in getTrackerLabelForGuidedAction()
69 } else if (actionId == GuidedAction.ACTION_ID_NO) { in getTrackerLabelForGuidedAction()
[all …]
DDvrChannelRecordDurationOptionFragment.java62 int actionId = -1; in onCreateActions() local
71 .id(++actionId) in onCreateActions()
76 .id(++actionId) in onCreateActions()
81 .id(++actionId) in onCreateActions()
86 .id(++actionId) in onCreateActions()
120 long actionId = action.getId(); in getTrackerLabelForGuidedAction() local
121 if (actionId == 0) { in getTrackerLabelForGuidedAction()
123 } else if (actionId == 1) { in getTrackerLabelForGuidedAction()
125 } else if (actionId == 2) { in getTrackerLabelForGuidedAction()
127 } else if (actionId == 3) { in getTrackerLabelForGuidedAction()
DDvrSeriesSettingsFragment.java202 long actionId = action.getId(); in onGuidedActionClicked() local
203 if (actionId == GuidedAction.ACTION_ID_OK) { in onGuidedActionClicked()
227 } else if (actionId == GuidedAction.ACTION_ID_CANCEL) { in onGuidedActionClicked()
229 } else if (actionId == ACTION_ID_PRIORITY) { in onGuidedActionClicked()
243 long actionId = action.getId(); in onSubGuidedActionClicked() local
244 if (actionId == SUB_ACTION_ID_CHANNEL_ALL) { in onSubGuidedActionClicked()
249 } else if (actionId > SUB_ACTION_ID_CHANNEL_ONE_BASE) { in onSubGuidedActionClicked()
251 mSelectedChannelId = actionId - SUB_ACTION_ID_CHANNEL_ONE_BASE; in onSubGuidedActionClicked()
DDvrPrioritySettingsFragment.java132 long actionId = action.getId(); in onTrackedGuidedActionClicked() local
133 if (actionId == ACTION_ID_SAVE) { in onTrackedGuidedActionClicked()
148 } else if (actionId == GuidedAction.ACTION_ID_CANCEL) { in onTrackedGuidedActionClicked()
152 mSelectedRecording = mSeriesRecordings.get((int) actionId); in onTrackedGuidedActionClicked()
171 long actionId = action.getId(); in getTrackerLabelForGuidedAction() local
172 if (actionId == ACTION_ID_SAVE) { in getTrackerLabelForGuidedAction()
DDvrAlreadyRecordedFragment.java115 long actionId = action.getId(); in getTrackerLabelForGuidedAction() local
116 if (actionId == ACTION_RECORD_ANYWAY) { in getTrackerLabelForGuidedAction()
118 } else if (actionId == ACTION_WATCH) { in getTrackerLabelForGuidedAction()
120 } else if (actionId == ACTION_CANCEL) { in getTrackerLabelForGuidedAction()
DDvrAlreadyScheduledFragment.java123 long actionId = action.getId(); in getTrackerLabelForGuidedAction() local
124 if (actionId == ACTION_RECORD_ANYWAY) { in getTrackerLabelForGuidedAction()
126 } else if (actionId == ACTION_RECORD_INSTEAD) { in getTrackerLabelForGuidedAction()
128 } else if (actionId == ACTION_CANCEL) { in getTrackerLabelForGuidedAction()
DDvrGuidedStepFragment.java88 long actionId = action.getId(); in getTrackerLabelForGuidedAction() local
89 if (actionId == ACTION_RECORD_ANYWAY) { in getTrackerLabelForGuidedAction()
91 } else if (actionId == ACTION_DELETE_RECORDINGS) { in getTrackerLabelForGuidedAction()
93 } else if (actionId == ACTION_CANCEL_RECORDING) { in getTrackerLabelForGuidedAction()
DDvrSeriesDeletionFragment.java163 long actionId = action.getId(); in onGuidedActionClicked() local
164 if (actionId == ACTION_ID_DELETE) { in onGuidedActionClicked()
166 } else if (actionId == GuidedAction.ACTION_ID_CANCEL) { in onGuidedActionClicked()
168 } else if (actionId == ACTION_ID_SELECT_WATCHED) { in onGuidedActionClicked()
181 } else if (actionId == ACTION_ID_SELECT_ALL) { in onGuidedActionClicked()
DDvrConflictFragment.java96 long actionId = getId(); in getTrackerLabelForGuidedAction() local
97 if (actionId == ACTION_VIEW_SCHEDULES) { in getTrackerLabelForGuidedAction()
368 long actionId = action.getId(); in getTrackerLabelForGuidedAction() local
369 if (actionId == ACTION_CANCEL) { in getTrackerLabelForGuidedAction()
371 } else if (actionId == ACTION_DELETE_CONFLICT) { in getTrackerLabelForGuidedAction()
/packages/apps/TV/common/src/com/android/tv/common/ui/setup/
DSetupActionHelper.java30 public static boolean onActionClick(Fragment fragment, String category, int actionId) { in onActionClick() argument
31 return onActionClick(fragment, category, actionId, null); in onActionClick()
36 Fragment fragment, String category, int actionId, Bundle params) { in onActionClick() argument
39 .onActionClick(category, actionId, params); in onActionClick()
46 + actionId in onActionClick()
55 Fragment fragment, String category, int actionId, Bundle params) { in createOnClickListenerForAction() argument
56 return new OnActionClickListenerForAction(fragment, category, actionId, params); in createOnClickListenerForAction()
72 Fragment fragment, String category, int actionId, Bundle params) { in OnActionClickListenerForAction() argument
75 mActionId = actionId; in OnActionClickListenerForAction()
DSetupFragment.java109 protected void setOnClickAction(View view, final String category, final int actionId) { in setOnClickAction() argument
114 onActionClick(category, actionId); in setOnClickAction()
119 protected boolean onActionClick(String category, int actionId) { in onActionClick() argument
120 return SetupActionHelper.onActionClick(this, category, actionId); in onActionClick()
123 protected boolean onActionClick(String category, int actionId, Bundle params) { in onActionClick() argument
124 return SetupActionHelper.onActionClick(this, category, actionId, params); in onActionClick()
DSetupActivity.java119 public boolean onActionClick(String category, int actionId, Bundle params) { in onActionClick() argument
123 return executeAction(category, actionId, params); in onActionClick()
136 protected boolean executeAction(String category, int actionId, Bundle params) { in executeAction() argument
/packages/apps/TV/tuner/SampleNetworkTuner/src/com/android/tv/tuner/sample/network/setup/
DSampleNetworkTunerSetupActivity.java119 protected boolean executeAction(String category, int actionId, Bundle params) { in executeAction() argument
122 switch (actionId) { in executeAction()
124 super.executeAction(category, actionId, params); in executeAction()
154 switch (actionId) { in executeAction()
176 switch (actionId) { in executeAction()
193 return super.executeAction(category, actionId, params); in executeAction()
195 switch (actionId) { in executeAction()
218 switch (actionId) { in executeAction()
231 if (actionId >= 0 && actionId < lineupMatchCountPair.size()) { in executeAction()
239 selectedLineup = lineupMatchCountPair.get(actionId).first; in executeAction()
[all …]
/packages/apps/TV/tuner/SampleDvbTuner/src/com/android/tv/tuner/sample/dvb/setup/
DSampleDvbTunerSetupActivity.java118 protected boolean executeAction(String category, int actionId, Bundle params) { in executeAction() argument
121 switch (actionId) { in executeAction()
123 super.executeAction(category, actionId, params); in executeAction()
153 switch (actionId) { in executeAction()
175 switch (actionId) { in executeAction()
192 return super.executeAction(category, actionId, params); in executeAction()
194 switch (actionId) { in executeAction()
217 switch (actionId) { in executeAction()
230 if (actionId >= 0 && actionId < lineupMatchCountPair.size()) { in executeAction()
238 selectedLineup = lineupMatchCountPair.get(actionId).first; in executeAction()
[all …]
/packages/apps/TV/src/com/android/tv/dvr/ui/playback/
DDvrPlaybackSideFragment.java100 int actionId = (int) action.getId(); in onGuidedActionFocused() local
101 mOverlayFragment.selectTrack(mTrackType, actionId < 0 ? null : mTrackInfos.get(actionId)); in onGuidedActionFocused()
106 int actionId = (int) action.getId(); in onGuidedActionClicked() local
107 mSelectedTrack = actionId < 0 ? null : mTrackInfos.get(actionId); in onGuidedActionClicked()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/
DBackupAppsStepFragment.java220 final int actionId = (int) action.getId(); in onGuidedActionClicked() local
221 if (actionId == ACTION_MIGRATE_DATA) { in onGuidedActionClicked()
223 } else if (actionId == ACTION_NO_APPS) { in onGuidedActionClicked()
227 } else if (actionId >= ACTION_BACKUP_APP_BASE in onGuidedActionClicked()
228 && actionId < mEntries.size() + ACTION_BACKUP_APP_BASE) { in onGuidedActionClicked()
230 mEntries.get(actionId - ACTION_BACKUP_APP_BASE); in onGuidedActionClicked()
/packages/apps/TV/tuner/src/com/android/tv/tuner/setup/
DBaseTunerSetupActivity.java151 protected boolean executeAction(String category, int actionId, Bundle params) { in executeAction() argument
154 switch (actionId) { in executeAction()
184 switch (actionId) { in executeAction()
201 switch (actionId) { in executeAction()
223 ScanFragment.EXTRA_FOR_CHANNEL_SCAN_FILE, CHANNEL_MAP_SCAN_FILE[actionId]); in executeAction()
229 switch (actionId) { in executeAction()
241 switch (actionId) { in executeAction()
DPostalCodeFragment.java72 protected void setOnClickAction(View view, final String category, final int actionId) { in setOnClickAction() argument
73 if (actionId == ACTION_DONE) { in setOnClickAction()
87 onActionClick(category, actionId, params); in setOnClickAction()
98 } else if (actionId == ACTION_SKIP) { in setOnClickAction()
/packages/apps/Car/Settings/src/com/android/car/settings/security/
DConfirmLockPinPasswordFragment.java207 mPasswordField.setOnEditorActionListener((textView, actionId, keyEvent) -> { in initPasswordView() argument
209 if (actionId == EditorInfo.IME_NULL in initPasswordView()
210 || actionId == EditorInfo.IME_ACTION_DONE in initPasswordView()
211 || actionId == EditorInfo.IME_ACTION_NEXT) { in initPasswordView()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/
DEditorInfoCompatUtils.java44 final int actionId = imeOptions & EditorInfo.IME_MASK_ACTION; in imeActionName() local
45 switch (actionId) { in imeActionName()
63 return "actionUnknown(" + actionId + ")"; in imeActionName()
/packages/apps/TV/src/com/android/tv/menu/
DPlayControlsRowView.java290 public void onActionClick(long actionId) { in onRecordButtonClicked()
291 if (actionId == DvrStopRecordingFragment.ACTION_STOP) { in onRecordButtonClicked()
365 @TimeShiftActionId int actionId, boolean enabled) { in onBind()
371 && ((actionId in onBind()
375 || (actionId == TimeShiftManager.TIME_SHIFT_ACTION_ID_REWIND in onBind()
377 || (actionId in onBind()
381 || (actionId in onBind()
/packages/apps/TV/src/com/android/tv/dvr/ui/browse/
DScheduledRecordingDetailsFragment.java85 long actionId = action.getId(); in onCreateOnActionClickedListener()
86 if (actionId == ACTION_VIEW_SCHEDULE) { in onCreateOnActionClickedListener()
88 } else if (actionId == ACTION_CANCEL) { in onCreateOnActionClickedListener()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/name/
DDeviceNameSummaryFragment.java89 final long actionId = action.getId(); in onGuidedActionClicked() local
90 if (actionId == GuidedAction.ACTION_ID_CONTINUE) { in onGuidedActionClicked()
92 } else if (actionId == GuidedAction.ACTION_ID_CANCEL) { in onGuidedActionClicked()
/packages/apps/TV/src/com/android/tv/
DTimeShiftManager.java397 void enableAction(@TimeShiftActionId int actionId, boolean enable) { in enableAction() argument
400 mEnabledActionIds |= actionId; in enableAction()
402 mEnabledActionIds &= ~actionId; in enableAction()
405 mListener.onActionEnabledChanged(actionId, enable); in enableAction()
409 public boolean isActionEnabled(@TimeShiftActionId int actionId) { in isActionEnabled() argument
410 return (mEnabledActionIds & actionId) == actionId; in isActionEnabled()
1395 void onActionEnabledChanged(@TimeShiftActionId int actionId, boolean enabled); in onActionEnabledChanged() argument
/packages/apps/TV/src/com/android/tv/ui/
DProgramDetailsFragment.java211 long actionId = action.getId(); in onCreateOnActionClickedListener()
212 if (actionId == ACTION_VIEW_SCHEDULE) { in onCreateOnActionClickedListener()
214 } else if (actionId == ACTION_CANCEL) { in onCreateOnActionClickedListener()
216 } else if (actionId == ACTION_SCHEDULE_RECORDING) { in onCreateOnActionClickedListener()

1234