Searched defs:action (Results 151 - 175 of 282) sorted by relevance

1234567891011>>

/packages/apps/Nfc/src/com/android/nfc/
H A DRegisteredComponentCache.java56 public RegisteredComponentCache(Context context, String action, String metaDataName) { argument
58 mAction = action;
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/
H A DReviewPermissionsActivity.java84 public void onActionConfirmed(String action) { argument
87 ((OnActionConfirmedListener) fragment).onActionConfirmed(action);
222 public void onActionConfirmed(String action) { argument
223 Preference preference = getPreferenceManager().findPreference(action);
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
H A DSearchWidgetProvider.java65 String action = intent.getAction();
66 if (AppWidgetManager.ACTION_APPWIDGET_ENABLED.equals(action)) {
68 } else if (AppWidgetManager.ACTION_APPWIDGET_UPDATE.equals(action)) {
71 if (DBG) Log.d(TAG, "Unhandled intent action=" + action);
107 private static Intent createQsbActivityIntent(Context context, String action, argument
109 Intent qsbIntent = new Intent(action);
/packages/apps/Settings/src/com/android/settings/search2/
H A DCursorToSearchResultConverter.java135 final String action = cursor.getString(COLUMN_INDEX_INTENT_ACTION);
148 payload = getIntentPayload(cursor, action, key, className, pkgName);
199 private IntentPayload getIntentPayload(Cursor cursor, String action, String key, argument
202 if (TextUtils.isEmpty(action)) {
212 final Intent intent = new Intent(action);
/packages/apps/TV/common/src/com/android/tv/common/ui/setup/
H A DSetupActivity.java140 protected void executeActionWithDelay(Runnable action, int delayMs) { argument
141 mHandler.sendMessageDelayed(mHandler.obtainMessage(MSG_EXECUTE_ACTION, action), delayMs);
145 * Override this method if the inherited class wants to handle the action.
147 * The override method should return {@code true} if the action is handled, otherwise
/packages/apps/TV/src/com/android/tv/dvr/ui/
H A DDvrConflictFragment.java88 public void onGuidedActionClicked(GuidedAction action) { argument
89 if (action.getId() == ACTION_VIEW_SCHEDULES) {
303 public void onGuidedActionClicked(GuidedAction action) { argument
304 if (action.getId() == ACTION_CANCEL) {
309 } else if (action.getId() == ACTION_DELETE_CONFLICT) {
318 super.onGuidedActionClicked(action);
H A DPrioritySettingsFragment.java52 // button action's IDs are negative.
127 public void onGuidedActionClicked(GuidedAction action) { argument
128 long actionId = action.getId();
159 public void onGuidedActionFocused(GuidedAction action) { argument
160 super.onGuidedActionFocused(action);
164 if (action.getId() < 0) {
172 int position = (int) action.getId();
191 public void onBindViewHolder(ViewHolder vh, GuidedAction action) {
192 super.onBindViewHolder(vh, action);
193 updateItem(vh.itemView, (int) action
[all...]
H A DSeriesDeletionFragment.java146 public void onGuidedActionClicked(GuidedAction action) { argument
147 long actionId = action.getId();
187 updateSelectAllState(action, mAllSelected);
202 public void onBindViewHolder(ViewHolder vh, GuidedAction action) {
203 super.onBindViewHolder(vh, action);
204 if (action.getId() == ACTION_DIVIDER) {
208 if (action.getCheckSetId() != GuidedAction.CHECKBOX_CHECK_SET_ID) {
/packages/apps/TV/src/com/android/tv/search/
H A DDataManagerSearch.java71 public List<SearchResult> search(final String query, final int limit, final int action) { argument
76 return searchFromDataManagers(query, limit, action);
92 private List<SearchResult> searchFromDataManagers(String query, int limit, int action) { argument
97 if (action == ACTION_TYPE_SWITCH_CHANNEL
98 || action == ACTION_TYPE_SWITCH_INPUT) {
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/
H A DMoveAppStepFragment.java129 public void onGuidedActionClicked(GuidedAction action) { argument
131 final VolumeInfo destination = mCandidateVolumes.get((int) action.getId());
H A DNewStorageActivity.java72 final String action = getIntent().getAction();
74 if (TextUtils.equals(action, ACTION_MISSING_STORAGE)) {
202 public void onGuidedActionClicked(GuidedAction action) { argument
203 switch ((int) action.getId()) {
329 public void onGuidedActionClicked(GuidedAction action) { argument
H A DUnmountActivity.java184 public void onGuidedActionClicked(GuidedAction action) { argument
185 final long id = action.getId();
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/
H A DBaseActionFragment.java77 * Creates a new action fragment with the given list of actions and a given name.
84 * Creates a new action fragment with the given list of actions and starting index.
91 * Creates a new action fragment with the given list of actions, given name and starting index.
108 for (Action action : actions) {
109 mAdapter.addAction(action);
119 // When first launching action fragment and start index is not -1, set it to
161 * Don't broadcast the click if the action is disabled or only displays info.
164 public void onActionClicked(Action action) { argument
165 // eat events if action is disabled or only displays info
166 if (!action
179 onActionFocused(Action action) argument
188 onActionSelect(Action action) argument
197 onActionUnselect(Action action) argument
[all...]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
H A DAccessibilityFragment.java259 public void onGuidedActionClicked(GuidedAction action) { argument
260 if (action.getId() == GuidedAction.ACTION_ID_OK) {
265 } else if (action.getId() == GuidedAction.ACTION_ID_CANCEL) {
268 super.onGuidedActionClicked(action);
/packages/apps/UnifiedEmail/src/com/android/mail/compose/
H A DFromAddressSpinner.java86 * @param action Action being performed; if this is COMPOSE, show all
92 public void initialize(int action, Account currentAccount, Account[] syncingAccounts, argument
96 if (action == ComposeActivity.COMPOSE) {
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/accessibility/
H A DKeyboardAccessibilityNodeProvider.java265 public boolean performAction(final int virtualViewId, final int action, argument
271 return performActionForKey(key, action);
275 * Performs the specified accessibility action for the given key.
277 * @param key The on which to perform the action.
278 * @param action The action to perform.
279 * @return The result of performing the action, or false if the action is not supported.
281 boolean performActionForKey(final Key key, final int action) { argument
282 switch (action) {
[all...]
/packages/services/Car/car-support-lib/src/android/support/car/ui/
H A DPagedLayoutManager.java136 protected void onTargetFound(View targetView, RecyclerView.State state, Action action) { argument
143 action.update(0, -dy, DURATION_MS, mInterpolator);
/packages/services/Car/service/src/com/android/car/hal/
H A DInputHalService.java115 int action = (v.value.int32Values.get(0) == VehicleHwKeyInputAction.ACTION_DOWN) ?
120 Log.i(CarLog.TAG_INPUT, "hal event code:" + code + ", action:" + action +
124 dispatchKeyEvent(listener, action, code, display);
128 private void dispatchKeyEvent(InputListener listener, int action, int code, int display) { argument
131 if (action == KeyEvent.ACTION_DOWN) {
135 long downTime = action == KeyEvent.ACTION_UP
141 action,
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/
H A DCarEmulator.java125 public void injectKey(int keyCode, int action) { argument
129 .addIntValue(action, keyCode, 0, 0)
/packages/apps/Car/LensPicker/src/com/android/support/car/lenspicker/
H A DLensResolverActivity.java154 * Returns the title that should be used for the given Intent action.
156 * @param action One of the actions in Intent, such as {@link Intent#ACTION_VIEW}.
158 private CharSequence getTitleForAction(String action) { argument
159 ActionTitle title = mResolvingHome ? ActionTitle.HOME : ActionTitle.forAction(action);
209 String action = filterIntent.getAction();
210 if (action != null) {
211 filter.addAction(action);
351 public final String action; field in class:LensResolverActivity.ActionTitle
358 ActionTitle(String action, int titleRes, int namedTitleRes, @StringRes int labelRes) { argument
359 this.action
368 forAction(String action) argument
[all...]
/packages/apps/Dialer/java/com/android/dialer/dialpadview/
H A DDialpadKeyButton.java39 * <li>Removing the hover pointer while inside the bounds of the button will perform a click action
41 * to the long-click action
43 * action
132 public boolean performAccessibilityAction(int action, Bundle arguments) { argument
133 if (action == AccessibilityNodeInfo.ACTION_CLICK) {
138 return super.performAccessibilityAction(action, arguments);
144 // the button's hover target bounds should perform a click action.
200 // setting the pressed state but before performing the action.
/packages/apps/Dialer/java/com/android/incallui/spam/
H A DSpamNotificationActivity.java85 Context context, DialerCall call, String action, int notificationId) {
87 intent.setAction(action);
310 "Cannot start this activity with given action because dialogs are not enabled.");
84 createActivityIntent( Context context, DialerCall call, String action, int notificationId) argument
/packages/apps/Dialer/java/com/android/voicemail/impl/sync/
H A DOmtpVvmSyncService.java77 String action,
82 VvmLog.v(TAG, "Sync requested: " + action + " - for account: " + phoneAccount);
83 setupAndSendRequest(task, phoneAccount, voicemail, action, status);
90 String action,
114 doSync(task, network.get(), phoneAccount, voicemail, action, status);
126 String action,
131 success = syncAll(action, imapHelper, phoneAccount);
222 private boolean syncAll(String action, ImapHelper imapHelper, PhoneAccountHandle account) { argument
226 if (SYNC_FULL_SYNC.equals(action) || SYNC_UPLOAD_ONLY.equals(action)) {
75 sync( BaseTask task, String action, PhoneAccountHandle phoneAccount, Voicemail voicemail, VoicemailStatus.Editor status) argument
86 setupAndSendRequest( BaseTask task, PhoneAccountHandle phoneAccount, Voicemail voicemail, String action, VoicemailStatus.Editor status) argument
121 doSync( BaseTask task, Network network, PhoneAccountHandle phoneAccount, Voicemail voicemail, String action, VoicemailStatus.Editor status) argument
[all...]
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/bots/
H A DDirectoryListBot.java305 int action, int buttonState, int toolType, int source, int x, int y) {
323 action,
304 getTestMotionEvent( int action, int buttonState, int toolType, int source, int x, int y) argument
H A DGestureBot.java148 private static MotionEvent getMotionEvent(long downTime, long eventTime, int action, int button, argument
161 return MotionEvent.obtain(downTime, eventTime, action, 1,

Completed in 690 milliseconds

1234567891011>>