Home
last modified time | relevance | path

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

12

/packages/apps/TV/common/src/com/android/tv/common/ui/setup/
DSetupActionHelper.java30 public static void onActionClick(Fragment fragment, String category, int actionId) { in onActionClick() argument
39 listener.onActionClick(category, actionId); in onActionClick()
47 String category, int actionId) { in createOnClickListenerForAction() argument
48 return new OnActionClickListenerForAction(listener, category, actionId); in createOnClickListenerForAction()
57 int actionId) { in OnActionClickListenerForAction() argument
60 mActionId = actionId; in OnActionClickListenerForAction()
DSetupFragment.java124 protected void setOnClickAction(View view, final String category, final int actionId) { in setOnClickAction() argument
128 onActionClick(category, actionId); in setOnClickAction()
133 protected void onActionClick(String category, int actionId) { in onActionClick() argument
134 SetupActionHelper.onActionClick(this, category, actionId); in onActionClick()
DSetupActivity.java132 public void onActionClick(String category, int actionId) { in onActionClick() argument
136 executeAction(category, actionId); in onActionClick()
144 protected void executeAction(String category, int actionId) { } in executeAction() argument
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/
DBackupAppsStepFragment.java214 final int actionId = (int) action.getId(); in onGuidedActionClicked() local
215 if (actionId == ACTION_MIGRATE_DATA) { in onGuidedActionClicked()
217 } else if (actionId == ACTION_NO_APPS) { in onGuidedActionClicked()
221 } else if (actionId >= ACTION_BACKUP_APP_BASE in onGuidedActionClicked()
222 && actionId < mEntries.size() + ACTION_BACKUP_APP_BASE) { in onGuidedActionClicked()
224 mEntries.get(actionId - ACTION_BACKUP_APP_BASE); in onGuidedActionClicked()
/packages/apps/TV/usbtuner/src/com/android/usbtuner/setup/
DTunerSetupActivity.java75 protected void executeAction(String category, int actionId) { in executeAction() argument
78 switch (actionId) { in executeAction()
96 … args.putInt(ScanFragment.EXTRA_FOR_CHANNEL_SCAN_FILE, CHANNEL_MAP_SCAN_FILE[actionId]); in executeAction()
101 switch (actionId) { in executeAction()
114 switch (actionId) { in executeAction()
/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/TvSettings/Settings/src/com/android/tv/settings/name/
DDeviceNameSummaryFragment.java64 final long actionId = action.getId(); in onGuidedActionClicked() local
65 if (actionId == GuidedAction.ACTION_ID_CONTINUE) { in onGuidedActionClicked()
67 } else if (actionId == GuidedAction.ACTION_ID_CANCEL) { in onGuidedActionClicked()
/packages/apps/TV/src/com/android/tv/onboarding/
DOnboardingActivity.java151 protected void executeAction(String category, int actionId) { in executeAction() argument
154 switch (actionId) { in executeAction()
163 switch (actionId) { in executeAction()
DNewSourcesFragment.java73 private void initializeButton(View view, int actionId) { in initializeButton() argument
75 mOnActionClickListener, ACTION_CATEOGRY, actionId)); in initializeButton()
/packages/apps/TV/src/com/android/tv/menu/
DPlayControlsRowView.java221 public void onActionEnabledChanged(@TimeShiftActionId int actionId, boolean enabled) { in onBind()
226 ((actionId == TimeShiftManager.TIME_SHIFT_ACTION_ID_JUMP_TO_PREVIOUS in onBind()
228 || (actionId == TimeShiftManager.TIME_SHIFT_ACTION_ID_REWIND in onBind()
230 || (actionId == TimeShiftManager.TIME_SHIFT_ACTION_ID_FAST_FORWARD in onBind()
232 || (actionId == TimeShiftManager.TIME_SHIFT_ACTION_ID_JUMP_TO_NEXT in onBind()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DKeyboardId.java267 public static String actionName(final int actionId) { in actionName() argument
268 return (actionId == InputTypeUtils.IME_ACTION_CUSTOM_LABEL) ? "actionCustomLabel" in actionName()
269 : EditorInfoCompatUtils.imeActionName(actionId); in actionName()
/packages/apps/TV/src/com/android/tv/
DTimeShiftManager.java405 void enableAction(@TimeShiftActionId int actionId, boolean enable) { in enableAction() argument
408 mEnabledActionIds |= actionId; in enableAction()
410 mEnabledActionIds &= ~actionId; in enableAction()
414 mListener.onActionEnabledChanged(actionId, enable); in enableAction()
418 public boolean isActionEnabled(@TimeShiftActionId int actionId) { in isActionEnabled() argument
419 return (mEnabledActionIds & actionId) == actionId; in isActionEnabled()
1356 void onActionEnabledChanged(@TimeShiftActionId int actionId, boolean enabled); in onActionEnabledChanged() argument
/packages/apps/Messaging/src/com/android/messaging/ui/contact/
DContactRecipientAutoCompleteView.java283 public boolean onEditorAction(final TextView view, final int actionId, final KeyEvent event) { in onEditorAction() argument
284 if (actionId == EditorInfo.IME_ACTION_DONE) { in onEditorAction()
287 return super.onEditorAction(view, actionId, event); in onEditorAction()
/packages/services/Telephony/src/com/android/phone/settings/fdn/
DGetPin2Screen.java91 public boolean onEditorAction(TextView v, int actionId, KeyEvent event) { in onEditorAction() argument
92 if (actionId == EditorInfo.IME_ACTION_DONE) { in onEditorAction()
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DShortcutNameActivity.java87 public boolean onEditorAction(TextView v, int actionId, KeyEvent event) { in onEditorAction() argument
88 if (actionId == EditorInfo.IME_ACTION_DONE) { in onEditorAction()
DAbstractActivityController.java1483 int actionId, final Conversation conv) { in getUndoCallbackForDestructiveActionsWithAutoAdvance() argument
1498 doesActionRemoveCurrentConversationFromView(actionId); in getUndoCallbackForDestructiveActionsWithAutoAdvance()
1513 private boolean doesActionRemoveCurrentConversationFromView(int actionId) {
1514 return actionId == R.id.archive ||
1515 actionId == R.id.delete ||
1516 actionId == R.id.discard_outbox ||
1517 actionId == R.id.remove_folder ||
1518 actionId == R.id.report_spam ||
1519 actionId == R.id.report_phishing ||
1520 actionId == R.id.move_to;
[all …]
/packages/apps/Settings/src/com/android/settings/
DConfirmLockPassword.java503 public boolean onEditorAction(TextView v, int actionId, KeyEvent event) { in onEditorAction() argument
505 if (actionId == EditorInfo.IME_NULL in onEditorAction()
506 || actionId == EditorInfo.IME_ACTION_DONE in onEditorAction()
507 || actionId == EditorInfo.IME_ACTION_NEXT) { in onEditorAction()
/packages/services/Car/car-support-lib/src/android/support/car/input/
DCarRestrictedEditText.java64 public boolean onEditorAction(TextView v, int actionId, KeyEvent event) { in CarRestrictedEditText()
65 if (mListener != null && actionId == EditorInfo.IME_ACTION_DONE) { in CarRestrictedEditText()
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DAllAppsSearchBarController.java101 public boolean onEditorAction(TextView v, int actionId, KeyEvent event) { in onEditorAction() argument
103 if (actionId != EditorInfo.IME_ACTION_SEARCH) { in onEditorAction()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/action/
DActionTestsBase.java90 final int actionId, final ExpectedActionKey expectedKey) { in doTestActionKey() argument
92 editorInfo.imeOptions = actionId; in doTestActionKey()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/
DEditTextFragment.java143 public boolean onEditorAction(TextView v, int actionId, KeyEvent event) { in onEditorAction() argument
145 return mEditorActionListener.onEditorAction(v, actionId, event); in onEditorAction()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothNameDialogFragment.java138 public boolean onEditorAction(TextView v, int actionId, KeyEvent event) { in createDialogView()
139 if (actionId == EditorInfo.IME_ACTION_DONE) { in createDialogView()
/packages/apps/DeskClock/src/com/android/deskclock/
DLabelDialogFragment.java173 public boolean onEditorAction(TextView v, int actionId, KeyEvent event) { in onEditorAction() argument
174 if (actionId == EditorInfo.IME_ACTION_DONE) { in onEditorAction()
/packages/apps/EmergencyInfo/src/com/android/emergency/preferences/
DAutoCompleteEditTextPreference.java74 public boolean onEditorAction(TextView v, int actionId, KeyEvent event) { in AutoCompleteEditTextPreference()
75 if (actionId == EditorInfo.IME_ACTION_DONE) { in AutoCompleteEditTextPreference()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/
DBluetoothPairingDialog.java359 public boolean onEditorAction(TextView v, int actionId, KeyEvent event) { in onCreateView()
361 if (actionId == EditorInfo.IME_ACTION_NEXT || in onCreateView()
362 (actionId == EditorInfo.IME_NULL && in onCreateView()

12