Searched defs:mAction (Results 1 - 24 of 24) sorted by relevance

/packages/apps/DeskClock/src/com/android/deskclock/
H A DAlarmSelectionActivity.java49 private int mAction; field in class:AlarmSelectionActivity
74 mAction = intent.getIntExtra(EXTRA_ACTION, ACTION_INVALID);
97 new ProcessAlarmActionAsync(alarm, this, mAction).execute();
106 private final int mAction; field in class:AlarmSelectionActivity.ProcessAlarmActionAsync
111 mAction = action;
116 switch (mAction) {
/packages/apps/DocumentsUI/src/com/android/documentsui/inspector/actions/
H A DActionView.java41 private Action mAction; field in class:ActionView
66 mAction = action;
67 setActionHeader(mAction.getHeader());
69 setAppIcon(mAction.getAppIcon());
70 setAppName(mAction.getAppName());
100 mActionButton.setImageResource(mAction.getButtonIcon());
/packages/apps/Launcher3/tests/src/com/android/launcher3/testcomponent/
H A DBaseTestingActivity.java44 private final String mAction = this.getClass().getName(); field in class:BaseTestingActivity
68 registerReceiver(mCommandReceiver, new IntentFilter(mAction + SUFFIX_COMMAND));
85 sendBroadcast(new Intent(mAction).putExtra(Intent.EXTRA_INTENT, getIntent()));
/packages/apps/Messaging/src/com/android/messaging/ui/debug/
H A DDebugSmsMmsFromDumpFileDialogFragment.java57 private String mAction; field in class:DebugSmsMmsFromDumpFileDialogFragment
74 mAction = args.getString(KEY_ACTION);
83 if (ACTION_LOAD.equals(mAction)) {
86 } else if (ACTION_EMAIL.equals(mAction)) {
116 if (ACTION_LOAD.equals(mAction)) {
118 } else if (ACTION_EMAIL.equals(mAction)) {
/packages/apps/Settings/src/com/android/settings/wifi/
H A DWifiNoInternetDialog.java52 private String mAction; field in class:WifiNoInternetDialog
70 mAction = intent.getAction();
127 if (ACTION_PROMPT_UNVALIDATED.equals(mAction)) {
147 if (ACTION_PROMPT_UNVALIDATED.equals(mAction)) {
170 if (ACTION_PROMPT_UNVALIDATED.equals(mAction)) {
/packages/apps/TV/src/com/android/tv/dvr/ui/browse/
H A DActionPresenterSelector.java54 Action mAction; field in class:ActionPresenterSelector.ActionViewHolder
77 vh.mAction = action;
83 ((ActionViewHolder) viewHolder).mAction = null;
100 vh.mAction = action;
131 vh.mAction = null;
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/
H A DPickFragment.java71 private int mAction; field in class:PickFragment
116 mAction = savedInstanceState.getInt(ACTION_KEY);
129 outState.putInt(ACTION_KEY, mAction);
141 mAction = action;
153 switch (mAction) {
185 mAction == State.ACTION_OPEN_TREE ||
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/
H A DCategoryView.java40 private Action mAction; field in class:CategoryView
73 if (mAction == null) {
76 if (mAction.getType() == Action.CROP_VIEW) {
79 if (mAction.getType() == Action.ADD_ACTION) {
102 if (mAction != null && mAction.getType() == Action.ADD_ACTION) {
109 if (mAction != null) {
110 if (mAction.getType() == Action.SPACER) {
114 if (mAction.isDoubleAction()) {
117 mAction
[all...]
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/action/
H A DActionTest.java42 private TestChatAction mAction; field in class:ActionTest
54 mAction = new TestChatAction(mActionKey, parameter);
66 assertEquals(mAction, mTransitions.get(index).action);
75 ActionMonitor.registerActionMonitor(mAction.actionKey, mMonitor);
76 assertTrue(ActionMonitor.sActionMonitors.containsKey(mAction.actionKey));
78 assertEquals(ActionMonitor.sActionMonitors.get(mAction.actionKey), mMonitor);
80 mAction.markStart();
85 ActionMonitor.unregisterActionMonitor(mAction.actionKey, mMonitor);
87 assertFalse(ActionMonitor.sActionMonitors.containsKey(mAction.actionKey));
95 ActionMonitor.registerActionMonitor(mAction
[all...]
/packages/apps/Nfc/src/com/android/nfc/
H A DRegisteredComponentCache.java49 final String mAction; field in class:RegisteredComponentCache
58 mAction = action;
157 List<ResolveInfo> resolveInfos = pm.queryIntentActivitiesAsUser(new Intent(mAction),
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
H A DToastBarOperation.java33 private final int mAction; field in class:ToastBarOperation
52 mAction = menuId;
68 mAction = in.readInt();
78 sb.append(" mAction=");
79 sb.append(mAction);
95 dest.writeInt(mAction);
125 if (mAction == R.id.delete) {
127 } else if (mAction == R.id.remove_folder) {
129 } else if (mAction == R.id.change_folders) {
131 } else if (mAction
[all...]
H A DAbstractActivityController.java2948 private final int mAction; field in class:AbstractActivityController.ConversationAction
2966 mAction = action;
3001 if (mAction == R.id.archive) {
3004 } else if (mAction == R.id.delete) {
3010 } else if (mAction == R.id.mute) {
3018 } else if (mAction == R.id.report_spam) {
3021 } else if (mAction == R.id.mark_not_spam) {
3024 } else if (mAction == R.id.report_phishing) {
3027 } else if (mAction == R.id.remove_star) {
3032 } else if (mAction
3826 private final int mAction; field in class:AbstractActivityController.FolderDestruction
[all...]
/packages/apps/Messaging/src/com/android/messaging/util/
H A DDebugUtils.java197 private final String mAction; field in class:DebugUtils.DebugSmsMmsDumpTask
202 mAction = action;
213 DebugSmsMmsFromDumpFileDialogFragment.newInstance(result, mAction);
224 && ((mAction == DebugSmsMmsFromDumpFileDialogFragment.ACTION_EMAIL
/packages/apps/Tag/src/com/android/apps/tag/record/
H A DSmartPoster.java89 private final RecommendedAction mAction; field in class:SmartPoster
109 mAction = Preconditions.checkNotNull(action);
214 private final byte mAction; field in class:SmartPoster.RecommendedAction
217 this.mAction = val;
220 return mAction;
/packages/services/Car/TrustAgent/src/com/android/car/trust/comms/
H A DSimpleBleClient.java74 private int mAction; field in class:SimpleBleClient.BleAction
78 mAction = action;
83 return mAction;
/packages/services/Car/libvehiclemonitor/java/src/com/android/car/vehiclemonitor/
H A DVehicleMonitor.java123 mListener.onAppViolation(appViolation.mPid, appViolation.mUid, appViolation.mAction,
172 public final int mAction; field in class:VehicleMonitor.AppViolation
178 mAction = action;
/packages/apps/Email/tests/src/com/android/email/mail/transport/
H A DMockTransport.java61 int mAction; field in class:MockTransport.Transaction
66 mAction = ACTION_INJECT_TEXT;
72 mAction = otherType;
79 switch (mAction) {
157 switch (pair.mAction) {
167 Assert.fail("Invalid action for sendResponse: " + pair.mAction);
193 if (expect.mAction == Transaction.ACTION_CLIENT_CLOSE) {
285 SmtpSenderUnitTests.assertTrue(expect.mAction == Transaction.ACTION_START_TLS);
319 if (pair.mAction == Transaction.ACTION_IO_EXCEPTION) {
/packages/apps/Messaging/src/com/android/messaging/ui/
H A DSnackBar.java130 private Action mAction; field in class:SnackBar.Builder
150 mAction = action;
196 private final Action mAction; field in class:SnackBar
212 mAction = builder.mAction;
250 if (mAction == null) {
253 return mAction.getActionLabel();
277 if (mAction == null || mAction.getActionRunnable() == null) {
293 mActionTextView.setText(mAction
[all...]
/packages/apps/Settings/src/com/android/settings/users/
H A DEditUserPhotoController.java402 private final Runnable mAction; field in class:EditUserPhotoController.RestrictedMenuItem
418 mAction = action;
442 mAction.run();
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
H A DTestEvent.java74 private @Action int mAction; field in class:TestEvent
84 mAction = ACTION_UNSET; // somebody has to set this, else we'll barf later.
95 assert(source.mAction != ACTION_UNSET);
96 mAction = source.mAction;
173 return mAction == MotionEvent.ACTION_DOWN;
178 return mAction == MotionEvent.ACTION_UP;
183 return mAction == MotionEvent.ACTION_POINTER_DOWN;
188 return mAction == MotionEvent.ACTION_POINTER_UP;
193 return mAction
[all...]
/packages/apps/Nfc/src/com/android/nfc/handover/
H A DBluetoothPeripheralHandover.java101 int mAction; field in class:BluetoothPeripheralHandover
178 mAction = ACTION_INIT;
190 if (mAction == ACTION_INIT) {
192 } else if (mAction == ACTION_CONNECT) {
220 mAction = ACTION_DISCONNECT;
223 mAction = ACTION_CONNECT;
229 mAction = ACTION_DISCONNECT;
244 mAction = ACTION_CONNECT;
469 if (mAction == ACTION_CONNECT && mRetryCount < MAX_RETRY_COUNT) {
483 if (mAction
[all...]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/setup/
H A DSetupWizardActivity.java441 private Runnable mAction; field in class:SetupWizardActivity.SetupStep
482 mAction = action;
487 if (v == mActionLabel && mAction != null) {
488 mAction.run();
/packages/apps/Contacts/src/com/android/contacts/editor/
H A DContactEditorFragment.java314 protected String mAction; field in class:ContactEditorFragment
464 mAction = savedState.getString(KEY_ACTION);
531 validateAction(mAction);
537 if (Intent.ACTION_EDIT.equals(mAction)) {
562 if (Intent.ACTION_EDIT.equals(mAction)) {
564 } else if (Intent.ACTION_INSERT.equals(mAction)) {
593 outState.putString(KEY_ACTION, mAction);
1359 mAction = action;
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/
H A DFilterShowActivity.java135 private String mAction = ""; field in class:FilterShowActivity
204 return !PhotoPage.ACTION_NEXTGEN_EDIT.equalsIgnoreCase(mAction);
499 mAction = intent.getAction();
876 if (mAction == TINY_PLANET_ACTION) {

Completed in 643 milliseconds