Searched refs:mAction (Results 1 - 18 of 18) sorted by relevance

/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/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/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/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/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/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/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/apps/Nfc/src/com/android/nfc/handover/
H A DBluetoothPeripheralHandover.java93 int mAction; field in class:BluetoothPeripheralHandover
156 mAction = ACTION_INIT;
167 if (mAction == ACTION_INIT) {
169 } else if (mAction == ACTION_CONNECT) {
197 mAction = ACTION_DISCONNECT;
200 mAction = ACTION_CONNECT;
206 mAction = ACTION_DISCONNECT;
209 mAction = ACTION_CONNECT;
/packages/apps/Dialer/src/com/android/dialer/voicemail/
H A DVoicemailStatusHelperImpl.java111 private final Action mAction; field in class:VoicemailStatusHelperImpl.OverallState
122 mAction = action;
128 return mAction;
/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/Contacts/src/com/android/contacts/group/
H A DGroupEditorFragment.java172 private String mAction; field in class:GroupEditorFragment
238 } else if (Intent.ACTION_EDIT.equals(mAction)) {
240 } else if (Intent.ACTION_INSERT.equals(mAction)) {
257 throw new IllegalArgumentException("Unknown Action String " + mAction +
271 outState.putString(KEY_ACTION, mAction);
289 mAction = state.getString(KEY_ACTION);
467 mAction = action;
581 if (Intent.ACTION_INSERT.equals(mAction)) {
591 } else if (Intent.ACTION_EDIT.equals(mAction)) {
603 throw new IllegalStateException("Invalid intent action type " + mAction);
[all...]
/packages/apps/Contacts/src/com/android/contacts/editor/
H A DContactEditorBaseFragment.java336 protected String mAction; field in class:ContactEditorBaseFragment
483 mAction = savedState.getString(KEY_ACTION);
546 validateAction(mAction);
552 if (Intent.ACTION_EDIT.equals(mAction) ||
553 ContactEditorBaseActivity.ACTION_EDIT.equals(mAction)) {
575 if (Intent.ACTION_EDIT.equals(mAction) ||
576 ContactEditorBaseActivity.ACTION_EDIT.equals(mAction)) {
578 } else if (Intent.ACTION_INSERT.equals(mAction) ||
579 ContactEditorBaseActivity.ACTION_INSERT.equals(mAction)) {
608 outState.putString(KEY_ACTION, mAction);
[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/Settings/src/com/android/settings/users/
H A DEditUserPhotoController.java373 private final Runnable mAction; field in class:EditUserPhotoController.RestrictedMenuItem
389 mAction = action;
413 mAction.run();
/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/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 9435 milliseconds