Home
last modified time | relevance | path

Searched refs:mAction (Results 1 – 17 of 17) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/
DCategoryView.java40 private Action mAction; field in CategoryView
73 if (mAction == null) { in isHalfImage()
76 if (mAction.getType() == Action.CROP_VIEW) { in isHalfImage()
79 if (mAction.getType() == Action.ADD_ACTION) { in isHalfImage()
102 if (mAction != null && mAction.getType() == Action.ADD_ACTION) { in needsCenterText()
109 if (mAction != null) { in onDraw()
110 if (mAction.getType() == Action.SPACER) { in onDraw()
114 if (mAction.isDoubleAction()) { in onDraw()
117 mAction.setImageFrame(new Rect(0, 0, getWidth(), getHeight()), getOrientation()); in onDraw()
118 if (mAction.getImage() != null) { in onDraw()
[all …]
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DToastBarOperation.java33 private final int mAction; field in ToastBarOperation
52 mAction = menuId; in ToastBarOperation()
68 mAction = in.readInt(); in ToastBarOperation()
79 sb.append(mAction); in toString()
95 dest.writeInt(mAction); in writeToParcel()
125 if (mAction == R.id.delete) { in getDescription()
127 } else if (mAction == R.id.remove_folder) { in getDescription()
129 } else if (mAction == R.id.change_folders) { in getDescription()
131 } else if (mAction == R.id.move_folder) { in getDescription()
133 } else if (mAction == R.id.archive) { in getDescription()
[all …]
DAbstractActivityController.java2948 private final int mAction;
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 == R.id.mark_not_important) {
[all …]
/packages/apps/Mms/src/com/android/mms/dom/smil/
DSmilPlayer.java86 private SmilPlayerAction mAction = SmilPlayerAction.NO_ACTIVE_ACTION; field in SmilPlayer
277 return mAction == SmilPlayerAction.PAUSE; in isPauseAction()
281 return mAction == SmilPlayerAction.START; in isStartAction()
285 return mAction == SmilPlayerAction.STOP; in isStopAction()
289 return mAction == SmilPlayerAction.RELOAD; in isReloadAction()
293 return mAction == SmilPlayerAction.NEXT; in isNextAction()
297 return mAction == SmilPlayerAction.PREV; in isPrevAction()
323 mAction = SmilPlayerAction.PAUSE; in pause()
333 mAction = SmilPlayerAction.START; in start()
344 mAction = SmilPlayerAction.STOP; in stop()
[all …]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/
DLayout.java453 private Action mAction; field in Layout.Action.Builder
457 mAction = new Action(id); in Builder()
462 mAction = new Action(intent); in Builder()
466 mAction.mAppearence.mTitle = mRes.getString(resId); in title()
471 mAction.mAppearence.mDescriptionGetter = new LiteralStringGetter(mRes.getString( in description()
477 mAction.mAppearence.mTitle = title; in title()
482 mAction.mAppearence.mIcon = mRes.getDrawable(resId); in icon()
487 mAction.mAppearence.mDescriptionGetter = new LiteralStringGetter(description); in description()
492 mAction.mAppearence.mDescriptionGetter = description; in description()
497 mAction.mAppearence.mChecked = checked; in checked()
[all …]
DDialogActionAdapter.java155 private Action mAction; field in DialogActionAdapter.ActionViewHolder
169 return mAction; in getAction()
173 mAction = action; in init()
/packages/apps/Email/tests/src/com/android/email/mail/transport/
DMockTransport.java61 int mAction; field in MockTransport.Transaction
66 mAction = ACTION_INJECT_TEXT; in Transaction()
72 mAction = otherType; in Transaction()
79 switch (mAction) { in toString()
157 switch (pair.mAction) { in sendResponse()
167 Assert.fail("Invalid action for sendResponse: " + pair.mAction); in sendResponse()
193 if (expect.mAction == Transaction.ACTION_CLIENT_CLOSE) { in close()
285 SmtpSenderUnitTests.assertTrue(expect.mAction == Transaction.ACTION_START_TLS); in reopenTls()
319 if (pair.mAction == Transaction.ACTION_IO_EXCEPTION) { in writeLine()
/packages/apps/Nfc/src/com/android/nfc/handover/
DBluetoothPeripheralHandover.java92 int mAction; field in BluetoothPeripheralHandover
153 mAction = ACTION_INIT; in start()
164 if (mAction == ACTION_INIT) { in nextStep()
166 } else if (mAction == ACTION_CONNECT) { in nextStep()
194 mAction = ACTION_DISCONNECT; in nextStepInit()
197 mAction = ACTION_CONNECT; in nextStepInit()
203 mAction = ACTION_DISCONNECT; in nextStepInit()
206 mAction = ACTION_CONNECT; in nextStepInit()
/packages/apps/Contacts/src/com/android/contacts/group/
DGroupEditorFragment.java172 private String mAction; field in GroupEditorFragment
238 } else if (Intent.ACTION_EDIT.equals(mAction)) { in onActivityCreated()
240 } else if (Intent.ACTION_INSERT.equals(mAction)) { in onActivityCreated()
257 throw new IllegalArgumentException("Unknown Action String " + mAction + in onActivityCreated()
271 outState.putString(KEY_ACTION, mAction); in onSaveInstanceState()
289 mAction = state.getString(KEY_ACTION); in onRestoreInstanceState()
467 mAction = action; in load()
599 if (Intent.ACTION_INSERT.equals(mAction)) { in save()
609 } else if (Intent.ACTION_EDIT.equals(mAction)) { in save()
621 throw new IllegalStateException("Invalid intent action type " + mAction); in save()
/packages/apps/Tag/src/com/android/apps/tag/record/
DSmartPoster.java89 private final RecommendedAction mAction; field in SmartPoster
109 mAction = Preconditions.checkNotNull(action); in SmartPoster()
214 private final byte mAction; field in SmartPoster.RecommendedAction
217 this.mAction = val; in RecommendedAction()
220 return mAction; in getByte()
/packages/apps/Contacts/src/com/android/contacts/editor/
DContactEditorFragment.java242 private String mAction; field in ContactEditorFragment
412 validateAction(mAction); in onActivityCreated()
418 if (Intent.ACTION_EDIT.equals(mAction)) { in onActivityCreated()
432 if (Intent.ACTION_EDIT.equals(mAction)) { in onActivityCreated()
434 } else if (Intent.ACTION_INSERT.equals(mAction)) { in onActivityCreated()
464 throw new IllegalArgumentException("Unknown Action String " + mAction + in validateAction()
476 mAction = action; in load()
497 mAction = savedState.getString(KEY_ACTION); in onCreate()
1034 if (!Intent.ACTION_INSERT.equals(mAction) && mState.size() == 1 && in saveDefaultAccountIfNecessary()
1121 if (Intent.ACTION_INSERT.equals(mAction)) { in onPrepareOptionsMenu()
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/setup/
DSetupWizardActivity.java432 private Runnable mAction;
473 mAction = action;
478 if (v == mActionLabel && mAction != null) {
479 mAction.run();
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/name/
DSetDeviceNameFragment.java63 private FrameLayout mAction; field in SetDeviceNameFragment
90 mAction = (FrameLayout) mContent.findViewById(R.id.action); in onCreateView()
100 mAction.addView(mList); in onCreateView()
/packages/apps/Dialer/src/com/android/dialer/voicemail/
DVoicemailStatusHelperImpl.java111 private final Action mAction; field in VoicemailStatusHelperImpl.OverallState
122 mAction = action; in OverallState()
128 return mAction; in getAction()
/packages/apps/Nfc/src/com/android/nfc/
DRegisteredComponentCache.java49 final String mAction; field in RegisteredComponentCache
58 mAction = action; in RegisteredComponentCache()
157 List<ResolveInfo> resolveInfos = pm.queryIntentActivitiesAsUser(new Intent(mAction), in generateComponentsList()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/
DFilterShowActivity.java135 private String mAction = ""; field in FilterShowActivity
204 return !PhotoPage.ACTION_NEXTGEN_EDIT.equalsIgnoreCase(mAction); in isSimpleEditAction()
499 mAction = intent.getAction(); in processIntent()
876 if (mAction == TINY_PLANET_ACTION) { in onPostExecute()
/packages/apps/DeskClock/src/com/android/deskclock/timer/
DTimerFullScreenFragment.java100 public int mAction; field in TimerFullScreenFragment.ClickAction
104 mAction = action; in ClickAction()
758 switch (clickAction.mAction) { in onClickHelper()