Home
last modified time | relevance | path

Searched refs:actionId (Results 1 – 25 of 79) 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.java206 long actionId = action.getId(); in onGuidedActionClicked() local
207 if (actionId == GuidedAction.ACTION_ID_OK) { in onGuidedActionClicked()
231 } else if (actionId == GuidedAction.ACTION_ID_CANCEL) { in onGuidedActionClicked()
233 } else if (actionId == ACTION_ID_PRIORITY) { in onGuidedActionClicked()
247 long actionId = action.getId(); in onSubGuidedActionClicked() local
248 if (actionId == SUB_ACTION_ID_CHANNEL_ALL) { in onSubGuidedActionClicked()
253 } else if (actionId > SUB_ACTION_ID_CHANNEL_ONE_BASE) { in onSubGuidedActionClicked()
255 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.java132 long actionId = action.getId(); in getTrackerLabelForGuidedAction() local
133 if (actionId == ACTION_RECORD_ANYWAY) { in getTrackerLabelForGuidedAction()
135 } else if (actionId == ACTION_WATCH) { in getTrackerLabelForGuidedAction()
137 } else if (actionId == ACTION_CANCEL) { in getTrackerLabelForGuidedAction()
DDvrAlreadyScheduledFragment.java144 long actionId = action.getId(); in getTrackerLabelForGuidedAction() local
145 if (actionId == ACTION_RECORD_ANYWAY) { in getTrackerLabelForGuidedAction()
147 } else if (actionId == ACTION_RECORD_INSTEAD) { in getTrackerLabelForGuidedAction()
149 } else if (actionId == ACTION_CANCEL) { 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()
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()
DDvrRecordingSettingsFragment.java150 long actionId = action.getId(); in onGuidedActionClicked() local
151 if (actionId == GuidedAction.ACTION_ID_OK) { in onGuidedActionClicked()
179 } else if (actionId == GuidedAction.ACTION_ID_CANCEL) { in onGuidedActionClicked()
186 long actionId = action.getId(); in onSubGuidedActionClicked() local
187 switch ((int) actionId) { in onSubGuidedActionClicked()
DDvrConflictFragment.java103 long actionId = getId(); in getTrackerLabelForGuidedAction() local
104 if (actionId == ACTION_VIEW_SCHEDULES) { in getTrackerLabelForGuidedAction()
375 long actionId = action.getId(); in getTrackerLabelForGuidedAction() local
376 if (actionId == ACTION_CANCEL) { in getTrackerLabelForGuidedAction()
378 } 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/SampleDvbTuner/src/com/android/tv/tuner/sample/dvb/setup/
DSampleDvbTunerSetupActivity.java123 protected boolean executeAction(String category, int actionId, Bundle params) { in executeAction() argument
126 switch (actionId) { in executeAction()
128 super.executeAction(category, actionId, params); in executeAction()
158 switch (actionId) { in executeAction()
180 switch (actionId) { in executeAction()
197 return super.executeAction(category, actionId, params); in executeAction()
199 switch (actionId) { in executeAction()
223 switch (actionId) { in executeAction()
236 if (actionId >= 0 && actionId < lineupMatchCountPair.size()) { in executeAction()
244 selectedLineup = lineupMatchCountPair.get(actionId).first; in executeAction()
[all …]
/packages/apps/TV/tuner/SampleNetworkTuner/src/com/android/tv/tuner/sample/network/setup/
DSampleNetworkTunerSetupActivity.java124 protected boolean executeAction(String category, int actionId, Bundle params) { in executeAction() argument
127 switch (actionId) { in executeAction()
129 super.executeAction(category, actionId, params); in executeAction()
159 switch (actionId) { in executeAction()
181 switch (actionId) { in executeAction()
198 return super.executeAction(category, actionId, params); in executeAction()
200 switch (actionId) { in executeAction()
223 switch (actionId) { in executeAction()
236 if (actionId >= 0 && actionId < lineupMatchCountPair.size()) { in executeAction()
244 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.java158 protected boolean executeAction(String category, int actionId, Bundle params) { in executeAction() argument
161 switch (actionId) { in executeAction()
191 switch (actionId) { in executeAction()
208 switch (actionId) { in executeAction()
230 ScanFragment.EXTRA_FOR_CHANNEL_SCAN_FILE, CHANNEL_MAP_SCAN_FILE[actionId]); in executeAction()
237 switch (actionId) { in executeAction()
249 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.java201 mPasswordField.setOnEditorActionListener((textView, actionId, keyEvent) -> { in initPasswordView() argument
203 if (actionId == EditorInfo.IME_NULL in initPasswordView()
204 || actionId == EditorInfo.IME_ACTION_DONE in initPasswordView()
205 || 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.java291 public void onActionClick(long actionId) { in onRecordButtonClicked()
292 if (actionId == DvrStopRecordingFragment.ACTION_STOP) { in onRecordButtonClicked()
366 @TimeShiftActionId int actionId, boolean enabled) { in onBind()
372 && ((actionId in onBind()
376 || (actionId == TimeShiftManager.TIME_SHIFT_ACTION_ID_REWIND in onBind()
378 || (actionId in onBind()
382 || (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.java400 void enableAction(@TimeShiftActionId int actionId, boolean enable) { in enableAction() argument
403 mEnabledActionIds |= actionId; in enableAction()
405 mEnabledActionIds &= ~actionId; in enableAction()
408 mListener.onActionEnabledChanged(actionId, enable); in enableAction()
412 public boolean isActionEnabled(@TimeShiftActionId int actionId) { in isActionEnabled() argument
413 return (mEnabledActionIds & actionId) == actionId; in isActionEnabled()
1398 void onActionEnabledChanged(@TimeShiftActionId int actionId, boolean enabled); in onActionEnabledChanged() argument

1234