Searched defs:action (Results 251 - 275 of 282) sorted by relevance

<<1112

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/
H A DActionAdapter.java75 * Called when the user clicks on an action.
77 public void onActionClicked(Action action); argument
83 * Called when the user focuses on an action.
85 public void onActionFocused(Action action); argument
89 * Object listening for adapter action select/unselect events.
94 * Called when user finish selecting an action.
96 public void onActionSelect(Action action); argument
99 * Called when user finish unselecting an action.
101 public void onActionUnselect(Action action); argument
182 Action action
237 addAction(Action action) argument
307 setIndicator(final ImageView indicatorView, Action action) argument
448 fadeCheckmarks(final View v, final Action action, int duration, int delay, Interpolator interpolator) argument
[all...]
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
H A DSwipeableListView.java139 public void setSwipeAction(int action) { argument
140 mSwipeAction = action;
217 // Call this whenever a new action is taken; this forces a commit of any
H A DConversationListFragment.java967 * @param action
970 final DestructiveAction action) {
977 action.performAction();
982 // The listView failed to destroy the items, perform the action manually
985 action.performAction();
1067 final int action;
1070 action = R.id.remove_folder;
1077 action = R.id.discard_outbox;
1079 action = R.id.delete;
1087 action
969 requestDelete(int actionId, final Collection<Conversation> conversations, final DestructiveAction action) argument
[all...]
H A DTwoPaneController.java181 public boolean doesActionChangeConversationListVisibility(final int action) { argument
182 if (action == R.id.settings
183 || action == R.id.compose
184 || action == R.id.help_info_menu_item
185 || action == R.id.feedback_menu_item) {
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
H A DRichInputConnection.java937 // revert to the most basic behavior possible for the next action (backspace in
940 // Interestingly, in either case, chances are any action the user takes next will result
965 public boolean performPrivateCommand(final String action, final Bundle data) { argument
970 return mIC.performPrivateCommand(action, data);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/setup/
H A DSetupWizardActivity.java480 public void setAction(final Runnable action) { argument
482 mAction = action;
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
H A DUserDictionaryToolsList.java133 /** The time of previous action */
497 /* save the action time */
606 * @param action The string of action
609 private void screenTransition(String action, String classname) { argument
611 if (action.equals("")) {
614 mIntent = new Intent(action);
/packages/services/Car/tests/InstrumentClusterRendererSample/src/com/android/car/cluster/sample/
H A DInstrumentClusterController.java639 RetriableServiceBinder(Handler handler, Context context, Class<?> cls, String action, argument
644 mIntent.setAction(action);
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/
H A DHeadsetClientStateMachine.java102 // special action to handle terminating specific call from multiparty call
141 // queue of send actions (pair action, action_data)
144 // last executed command, before action is complete e.g. waiting for some
199 private void addQueuedAction(int action) { argument
200 addQueuedAction(action, 0);
203 private void addQueuedAction(int action, Object data) { argument
204 mQueuedActions.add(new Pair<Integer, Object>(action, data));
207 private void addQueuedAction(int action, int data) { argument
208 mQueuedActions.add(new Pair<Integer, Object>(action, data));
401 int action
[all...]
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
H A DBluetoothMapService.java80 "android.btmap.intent.action.SHOW_MAPS_SETTINGS";
638 public void updateMasInstances(int action) { argument
640 action, 0).sendToTarget();
989 String action = intent.getAction();
990 if (DEBUG) Log.d(TAG, "onReceive: " + action);
991 if (action.equals(BluetoothAdapter.ACTION_STATE_CHANGED)) {
1003 }else if (action.equals(USER_CONFIRM_TIMEOUT_ACTION)){
1008 } else if (action.equals(BluetoothDevice.ACTION_CONNECTION_ACCESS_REPLY)) {
1058 } else if (action.equals(BluetoothDevice.ACTION_SDP_RECORD)) {
1087 } else if (action
[all...]
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
H A DBluetoothPbapService.java248 String action = intent.getAction();
249 if (DEBUG) Log.d(TAG, "action: " + action);
250 if (action == null) return; // Nothing to do
253 if (action.equals(BluetoothAdapter.ACTION_STATE_CHANGED)) {
269 if (action.equals(BluetoothDevice.ACTION_ACL_DISCONNECTED) && mIsWaitingAuthorization) {
281 if (action.equals(BluetoothDevice.ACTION_CONNECTION_ACCESS_REPLY)) {
326 if (action.equals(AUTH_RESPONSE_ACTION)) {
329 } else if (action.equals(AUTH_CANCELLED_ACTION)) {
747 private void createPbapNotification(String action) { argument
[all...]
/packages/apps/Contacts/src/com/android/contacts/group/
H A DGroupMembersFragment.java537 public void onAction(int action) {
538 switch (action) {
853 public void updateExistingGroupFragment(Uri newGroupUri, String action) { argument
854 toastForSaveAction(action);
859 } else if (!GroupUtil.ACTION_REMOVE_FROM_GROUP.equals(action)) {
867 public void toastForSaveAction(String action) { argument
869 switch(action) {
883 // No toast associated with this action.
887 "toastForSaveAction passed unknown action: " + action,
[all...]
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
H A DDraftMessageData.java23 import com.android.messaging.datamodel.action.ReadDraftDataAction;
24 import com.android.messaging.datamodel.action.ReadDraftDataAction.ReadDraftDataActionListener;
25 import com.android.messaging.datamodel.action.ReadDraftDataAction.ReadDraftDataActionMonitor;
26 import com.android.messaging.datamodel.action.WriteDraftMessageAction;
610 public void onReadDraftDataSucceeded(final ReadDraftDataAction action, final Object data, argument
630 public void onReadDraftDataFailed(final ReadDraftDataAction action, final Object data) { argument
/packages/apps/TV/src/com/android/tv/ui/
H A DTvOverlayManager.java601 PendingDialogAction action = mPendingDialogActionQueue.poll();
602 if (action == null) {
605 action.run();
767 * Runs a given {@code action} after all the overlays are closed.
769 public void runAfterOverlaysAreClosed(Runnable action) { argument
771 action.run();
773 mPendingActions.add(action);
995 Runnable action = tvOverlayManager.mPendingActions.get(0);
996 tvOverlayManager.mPendingActions.remove(action);
997 action
[all...]
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
H A DNotificationActionUtils.java79 * the original notification if the action is undone.
242 LogUtils.d(LOG_TAG, "Adding wearable action!!");
266 * @param notificationActionStrings The action strings to sort
272 for (final String action : notificationActionStrings) {
273 unsortedActions.add(NotificationActionType.getActionType(action));
347 * Creates a {@link PendingIntent} for the specified notification action.
352 final NotificationActionType action, final int notificationId, final long when) {
355 final NotificationAction notificationAction = new NotificationAction(action, account,
359 switch (action) {
416 * Creates a {@link PendingIntent} for the specified Wear notification action
349 getNotificationActionPendingIntent(final Context context, final Account account, final Conversation conversation, final Message message, final Folder folder, final Intent notificationIntent, final NotificationActionType action, final int notificationId, final long when) argument
418 getWearNotificationActionPendingIntent(final Context context, final Account account, final Conversation conversation, final Message message, final Folder folder, final Intent notificationIntent, final NotificationActionType action, final int notificationId, final long when) argument
[all...]
/packages/services/Car/car-support-lib/src/android/support/car/ui/
H A DCarLayoutManager.java1498 protected void onTargetFound(View targetView, RecyclerView.State state, Action action) { argument
1509 action.update(0, -dy, time, mInterpolator);
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
H A DComponentContextFixture.java530 private void addService(String action, ComponentName name, IInterface service) { argument
531 mComponentNamesByAction.put(action, name);
/packages/apps/Contacts/src/com/android/contacts/
H A DContactSaveService.java322 String action = intent.getAction();
323 if (ACTION_NEW_RAW_CONTACT.equals(action)) {
325 } else if (ACTION_SAVE_CONTACT.equals(action)) {
327 } else if (ACTION_CREATE_GROUP.equals(action)) {
329 } else if (ACTION_RENAME_GROUP.equals(action)) {
331 } else if (ACTION_DELETE_GROUP.equals(action)) {
333 } else if (ACTION_UPDATE_GROUP.equals(action)) {
335 } else if (ACTION_SET_STARRED.equals(action)) {
337 } else if (ACTION_SET_SUPER_PRIMARY.equals(action)) {
339 } else if (ACTION_CLEAR_PRIMARY.equals(action)) {
1953 getNextIntentWithAction(String action) argument
1962 isActionPending(String action) argument
[all...]
/packages/apps/Contacts/src/com/android/contacts/activities/
H A DPeopleActivity.java283 // overlaid by the action bar of the newly-created fragment.
368 // Set up the action bar.
420 final String action = intent.getAction();
421 if (GroupUtil.ACTION_CREATE_GROUP.equals(action)) {
429 mMembersFragment.toastForSaveAction(action);
433 if (isGroupSaveAction(action)) {
444 if (GroupUtil.ACTION_REMOVE_FROM_GROUP.equals(action)) {
445 switchToOrUpdateGroupView(action);
449 mMembersFragment.toastForSaveAction(action);
474 private static boolean isGroupSaveAction(String action) { argument
972 switchToOrUpdateGroupView(String action) argument
[all...]
/packages/apps/Contacts/src/com/android/contacts/editor/
H A DContactEditorFragment.java131 private static final String KEY_ACTION = "action";
463 // would already have a uri and an action to work with
578 * Checks if the requested action is valid.
580 * @param action The action to test.
581 * @throws IllegalArgumentException when the action is invalid.
583 private static void validateAction(String action) { argument
584 if (VALID_INTENT_ACTIONS.contains(action)) {
588 "Unknown action " + action
1358 load(String action, Uri lookupUri, Bundle intentExtras) argument
[all...]
/packages/apps/Dialer/java/com/android/contacts/common/list/
H A DContactListItemView.java328 * Sets whether the call to action is shown. For the {@link CallToAction} to be shown, it must be
331 * @param action {@link CallToAction} you want to display (if it's supported).
332 * @param listener Listener to notify when the call to action is clicked.
333 * @param position The position in the adapter of the call to action.
335 public void setCallToAction(@CallToAction int action, Listener listener, int position) { argument
339 if (action == CALL_AND_SHARE && mSupportCallAndShare) {
343 } else if (action == VIDEO && mSupportVideoCall) {
633 // Place the call to action at the end of the list (e.g. take into account RTL mode).
/packages/apps/DocumentsUI/src/com/android/documentsui/
H A DMetrics.java289 // The historgram includes action triggered from menu or invoked by keyboard shortcut.
417 // Log the launch action.
418 logHistogram(context, COUNT_LAUNCH_ACTION, toMetricsAction(state.action));
421 switch (state.action) {
443 * @param state used to resolve action
448 switch (state.action) {
752 MetricsLogger.action(activity, MetricsEvent
754 MetricsLogger.action(activity, MetricsEvent
758 MetricsLogger.action(activity, MetricsEvent
760 MetricsLogger.action(activit
1012 toMetricsAction(int action) argument
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/
H A DFilterShowActivity.java140 public static final String TINY_PLANET_ACTION = "com.android.camera.action.TINY_PLANET";
397 public void registerAction(Action action) { argument
398 if (mActions.contains(action)) {
401 mActions.add(action);
406 Action action = mActions.get(i);
407 action.setImageFrame(new Rect(0, 0, 96, 96), 0);
441 public void removeVersion(Action action) { argument
442 mVersions.remove(action.getRepresentation());
446 public void removeLook(Action action) { argument
448 (FilterUserPresetRepresentation) action
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
H A DGLES11Canvas.java791 private void freeRestoreConfig(ConfigState action) { argument
792 action.mNextFree = mRecycledRestoreAction;
793 mRecycledRestoreAction = action;
/packages/apps/Launcher2/src/com/android/launcher2/
H A DPagedView.java1001 final int action = ev.getAction();
1002 if ((action == MotionEvent.ACTION_MOVE) &&
1007 switch (action & MotionEvent.ACTION_MASK) {
1229 final int action = ev.getAction();
1231 switch (action & MotionEvent.ACTION_MASK) {
1951 public boolean performAccessibilityAction(int action, Bundle arguments) { argument
1952 if (super.performAccessibilityAction(action, arguments)) {
1955 switch (action) {

Completed in 7607 milliseconds

<<1112