Home
last modified time | relevance | path

Searched refs:ActionType (Results 1 – 17 of 17) sorted by relevance

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
DDeveloperOptionsActivity.java100 switch ((ActionType) mState) { in refreshActionList()
102 mActions.add(ActionType.DEVELOPER_GENERAL.toAction(mResources)); in refreshActionList()
103 mActions.add(ActionType.DEVELOPER_DEBUGGING.toAction(mResources)); in refreshActionList()
104 mActions.add(ActionType.DEVELOPER_INPUT.toAction(mResources)); in refreshActionList()
105 mActions.add(ActionType.DEVELOPER_DRAWING.toAction(mResources)); in refreshActionList()
106 mActions.add(ActionType.DEVELOPER_MONITORING.toAction(mResources)); in refreshActionList()
107 mActions.add(ActionType.DEVELOPER_APPS.toAction(mResources)); in refreshActionList()
110 mActions.add(ActionType.DEVELOPER_GENERAL_STAY_AWAKE.toAction(mResources, in refreshActionList()
113 mActions.add(ActionType.DEVELOPER_GENERAL_HDCP_CHECKING.toAction(mResources, in refreshActionList()
116 mActions.add(ActionType.DEVELOPER_GENERAL_HDMI_OPTIMIZATION.toAction(mResources, in refreshActionList()
[all …]
DDateTimeActivity.java92 switch ((ActionType) mState) {
212 switch ((ActionType) mState) { in onActionClicked()
222 ActionKey<ActionType, ActionBehavior> actionKey = new ActionKey<ActionType, ActionBehavior>( in onActionClicked()
223 ActionType.class, ActionBehavior.class, key); in onActionClicked()
224 final ActionType type = actionKey.getType(); in onActionClicked()
246 if (mState == ActionType.TIME_CHOOSE_FORMAT) { in onActionClicked()
249 } else if (mState == ActionType.AUTO_DATE_TIME) { in onActionClicked()
255 if (mState == ActionType.TIME_CHOOSE_FORMAT) { in onActionClicked()
258 } else if (mState == ActionType.AUTO_DATE_TIME) { in onActionClicked()
268 return ActionType.DATE_TIME_OVERVIEW; in getInitialState()
[all …]
DLocationActivity.java100 return ActionType.LOCATION_OVERVIEW; in getInitialState()
106 switch ((ActionType) mState) { in refreshActionList()
108 mActions.add(ActionType.LOCATION_STATUS.toAction( in refreshActionList()
111 mActions.add(ActionType.LOCATION_MODE.toAction(mResources, in refreshActionList()
113 mActions.add(ActionType.LOCATION_RECENT_REQUESTS.toAction(mResources)); in refreshActionList()
117 Action locationStatusOn = ActionType.ON.toAction(mResources); in refreshActionList()
119 Action locationStatusOff = ActionType.OFF.toAction(mResources); in refreshActionList()
127 mActions.add(ActionType.LOCATION_NO_RECENT_REQUESTS.toAction( in refreshActionList()
132 mActions.add(ActionType.LOCATION_SERVICES_GOOGLE.toAction(mResources)); in refreshActionList()
139 mActions.add(ActionType.LOCATION_SERVICES_GOOGLE_REPORTING.toAction(mResources)); in refreshActionList()
[all …]
DAccessibilityActivity.java127 switch ((ActionType) mState) { in refreshActionList()
129 mActions.add(ActionType.ACCESSIBILITY_CAPTIONS.toAction(mResources)); in refreshActionList()
130 mActions.add(ActionType.ACCESSIBILITY_SERVICES.toAction(mResources)); in refreshActionList()
136 mActions.add(ActionType.ACCESSIBILITY_TTS_OUTPUT.toAction(mResources, in refreshActionList()
143 mActions.add(ActionType.ACCESSIBILITY_SERVICES_STATUS.toAction(mResources, in refreshActionList()
146 mActions.add(ActionType.ACCESSIBILITY_SERVICE_CONFIG.toAction(mResources)); in refreshActionList()
153 mActions.add(ActionType.AGREE.toAction(mResources)); in refreshActionList()
154 mActions.add(ActionType.DISAGREE.toAction(mResources)); in refreshActionList()
157 mActions.add(ActionType.OK.toAction(mResources)); in refreshActionList()
158 mActions.add(ActionType.CANCEL.toAction(mResources)); in refreshActionList()
[all …]
DSecurityActivity.java61 return ActionType.SECURITY_OVERVIEW; in getInitialState()
67 switch ((ActionType) mState) { in updateView()
92 switch ((ActionType) mState) { in refreshActionList()
94 mActions.add(ActionType.SECURITY_UNKNOWN_SOURCES.toAction(mResources, in refreshActionList()
97 Action verifierAction = ActionType.SECURITY_VERIFY_APPS.toAction(mResources, in refreshActionList()
110 ActionType.SECURITY_UNKNOWN_SOURCES.name()), mResources, in refreshActionList()
113 ActionType.SECURITY_UNKNOWN_SOURCES.name()), mResources, in refreshActionList()
118 ActionType.SECURITY_UNKNOWN_SOURCES_CONFIRM.name()), mResources)); in refreshActionList()
120 ActionType.SECURITY_UNKNOWN_SOURCES_CONFIRM.name()), mResources)); in refreshActionList()
125 ActionType.SECURITY_VERIFY_APPS.name()), mResources, in refreshActionList()
[all …]
DCaptionSetupActivity.java282 switch ((ActionType) mState) { in refreshActionList()
286 mActions.add(ActionType.CAPTIONS_DISPLAY.toAction( in refreshActionList()
288 mActions.add(ActionType.CAPTIONS_CONFIGURE.toAction(mResources, in refreshActionList()
293 ActionType.CAPTIONS_DISPLAY.name()), mResources, mDisplayEnabled)); in refreshActionList()
295 ActionType.CAPTIONS_DISPLAY.name()), mResources, ! mDisplayEnabled)); in refreshActionList()
298 mActions.add(ActionType.CAPTIONS_LANGUAGE.toAction(mResources, mLanguageName)); in refreshActionList()
299 mActions.add(ActionType.CAPTIONS_TEXTSIZE.toAction(mResources, mTextSizeName)); in refreshActionList()
300 mActions.add(ActionType.CAPTIONS_CAPTIONSTYLE.toAction(mResources, mStyleName)); in refreshActionList()
315 mActions.add(ActionType.CAPTIONS_FONTFAMILY.toAction(mResources, mFontFamilyName)); in refreshActionList()
316 mActions.add(ActionType.CAPTIONS_TEXTCOLOR.toAction(mResources, mTextColorName)); in refreshActionList()
[all …]
DKeyboardActivity.java64 switch ((ActionType) mState) { in onActionClicked()
76 ActionKey<ActionType, ActionBehavior> actionKey = new ActionKey<ActionType, ActionBehavior>( in onActionClicked()
77 ActionType.class, ActionBehavior.class, action.getKey()); in onActionClicked()
78 final ActionType type = actionKey.getType(); in onActionClicked()
110 return ActionType.KEYBOARD_OVERVIEW; in getInitialState()
117 switch ((ActionType) mState) { in refreshActionList()
120 mActions.add(ActionType.KEYBOARD_OVERVIEW_CURRENT_KEYBOARD in refreshActionList()
125 mActions.add(ActionType.KEYBOARD_OVERVIEW_CONFIGURE.toAction(mResources)); in refreshActionList()
144 switch ((ActionType) mState) { in updateView()
DActionType.java26 enum ActionType { enum
190 private ActionType(int titleResource) { in ActionType() method in ActionType
195 private ActionType(int titleResource, int descResource) { in ActionType() method in ActionType
236 private String getKey(ActionType t, ActionBehavior b) { in getKey()
237 return new ActionKey<ActionType, ActionBehavior>(t, b).getKey(); in getKey()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/privacy/
DPrivacyActivity.java123 ActionKey<ActionType, ActionBehavior> actionKey = new ActionKey<ActionType, ActionBehavior>( in onActionClicked()
124 ActionType.class, ActionBehavior.class, action.getKey()); in onActionClicked()
125 ActionType type = actionKey.getType(); in onActionClicked()
168 ActionType.FACTORY_RESET_CONFIRM.getTitle(getResources()), in onFactoryResetConfirm()
196 .key(new ActionKey<ActionType, ActionBehavior>(ActionType.FACTORY_RESET_CONFIRM, in getFactoryResetActions()
201 .key(new ActionKey<ActionType, ActionBehavior>(ActionType.FACTORY_RESET, in getFactoryResetActions()
211 .key(new ActionKey<ActionType, ActionBehavior>(ActionType.FACTORY_RESET_CONFIRM, in getFactoryResetConfirmActions()
216 .key(new ActionKey<ActionType, ActionBehavior>(ActionType.FACTORY_RESET_CONFIRM, in getFactoryResetConfirmActions()
230 ActionType, ActionBehavior>( in onBackupData()
231 ActionType.BACKUP_DATA, ActionBehavior.ON).getKey(), in onBackupData()
[all …]
DActionType.java26 enum ActionType { enum
36 private ActionType(int titleResource) { in ActionType() method in ActionType
56 private String getKey(ActionType t, ActionBehavior b) { in getKey()
57 return new ActionKey<ActionType, ActionBehavior>(t, b).getKey(); in getKey()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
DWifiConfigurationActivity.java99 return ActionType.CONECTIVITY_SETTINGS_MAIN; in getInitialState()
148 switch ((ActionType) mState) { in refreshActionList()
150 mActions.add(ActionType.CONECTIVITY_SETTINGS_STATUS_INFO.toAction(mResources)); in refreshActionList()
151 mActions.add(ActionType.CONECTIVITY_SETTINGS_ADVANCED_OPTIONS.toAction(mResources)); in refreshActionList()
152 mActions.add(ActionType.CONECTIVITY_SETTINGS_FORGET_NETWORK.toAction(mResources)); in refreshActionList()
167 mActions.add(ActionType.CONECTIVITY_SETTINGS_CONNECTION. in refreshActionList()
172 ActionType.CONECTIVITY_SETTINGS_CONNECTION. in refreshActionList()
176 mActions.add(ActionType.CONECTIVITY_SETTINGS_IP_ADDRESS. in refreshActionList()
181 mActions.add(ActionType.CONECTIVITY_SETTINGS_MAC_ADDRESS. in refreshActionList()
189 mActions.add(ActionType.CONECTIVITY_SETTINGS_SIGNAL_STRENGTH. in refreshActionList()
[all …]
DActionType.java26 enum ActionType { enum
53 private ActionType(int titleResource) { in ActionType() method in ActionType
58 private ActionType(int titleResource, int descResource) { in ActionType() method in ActionType
107 private String getKey(ActionType t, ActionBehavior b) { in getKey()
108 return new ActionKey<ActionType, ActionBehavior>(t, b).getKey(); in getKey()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/
DAppManagementActivity.java141 ActionKey<ActionType, ActionBehavior> actionKey = new ActionKey<ActionType, ActionBehavior>( in onActionClicked()
142 ActionType.class, ActionBehavior.class, action.getKey()); in onActionClicked()
143 ActionType actionType = actionKey.getType(); in onActionClicked()
232 private void onInit(ActionType actionType, Action action) { in onInit()
255 private ContentFragment createContentFragment(ActionType actionType, Action action) { in createContentFragment()
273 private void onOk(ActionType actionType) { in onOk()
301 private void onCancel(ActionType actionType) { in onCancel()
305 private void onOn(ActionType actionType) { in onOn()
315 private void onOff(ActionType actionType) { in onOff()
393 actions.add(ActionType.OPEN.toInitAction(getResources())); in getActions()
[all …]
DActionType.java31 enum ActionType { enum
72 private ActionType(ActionBehavior[] behaviors, int nameResource) { in ActionType() method in ActionType
76 private ActionType(ActionBehavior[] behaviors, int nameResource, int descResource) { in ActionType() method in ActionType
80 private ActionType( in ActionType() method in ActionType
106 .key(new ActionKey<ActionType, ActionBehavior>(this, actionBehavior).getKey()) in toAction()
117 new ActionKey<ActionType, ActionBehavior>(this, behavior).getKey(), in toActions()
129 new ActionKey<ActionType, ActionBehavior>(this, behavior).getKey(), in toSelectableActions()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/
DBluetoothAccessoryActivity.java149 ActionKey<ActionType, ActionBehavior> actionKey = new ActionKey<ActionType, ActionBehavior>( in onActionClicked()
150 ActionType.class, ActionBehavior.class, action.getKey()); in onActionClicked()
151 final ActionType type = actionKey.getType(); in onActionClicked()
171 return ActionType.BLUETOOTH_DEVICE_OVERVIEW; in getInitialState()
184 switch ((ActionType) mState) { in refreshActionList()
188 mActions.add(ActionType.BLUETOOTH_DEVICE_UNPAIR.toAction(mResources)); in refreshActionList()
191 mActions.add(ActionType.OK.toAction(mResources)); in refreshActionList()
192 mActions.add(ActionType.CANCEL.toAction(mResources)); in refreshActionList()
202 switch ((ActionType) mState) { in updateView()
DActionType.java26 enum ActionType { enum
44 private ActionType(int titleResource) { in ActionType() method in ActionType
49 private ActionType(int titleResource, int descResource) { in ActionType() method in ActionType
77 private String getKey(ActionType t, ActionBehavior b) { in getKey()
78 return new ActionKey<ActionType, ActionBehavior>(t, b).getKey(); in getKey()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/display/daydream/
DDaydreamActivity.java49 enum ActionType { enum in DaydreamActivity
102 ActionType type = ActionType.valueOf(action.getKey()); in onActionClicked()
138 ActionFragment.newInstance(getListActions(ActionType.SET_DREAM_TIMEOUT.name(), in onListDreamTimeouts()
147 … ActionFragment.newInstance(getListActions(ActionType.SET_SYSTEM_SLEEP_TIMEOUT.name(), in onListSystemSleepTimeouts()
175 actions.add(new Action.Builder().key(ActionType.SELECT.name()) in getMainActions()
179 .key(ActionType.LIST_DREAM_TIMEOUT.name()) in getMainActions()
195 .key(ActionType.LIST_SYSTEM_SLEEP_TIMEOUT.name()) in getMainActions()
199 actions.add(new Action.Builder().key(ActionType.TEST.name()) in getMainActions()