Home
last modified time | relevance | path

Searched refs:mMode (Results 1 – 25 of 35) sorted by relevance

12

/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DViewMode.java82 private int mMode = UNKNOWN; field in ViewMode
104 return "[mode=" + MODE_NAMES[mMode] + "]"; in toString()
108 return MODE_NAMES[mMode]; in getModeString()
127 listener.onViewModeChanged(mMode); in dispatchModeChange()
184 return mMode; in getMode()
191 return isListMode(mMode); in isListMode()
199 return isConversationMode(mMode); in isConversationMode()
207 return isSearchMode(mMode); in isSearchMode()
215 return isWaitingForSync(mMode); in isWaitingForSync()
223 return isAdMode(mMode); in isAdMode()
[all …]
DFolderSelectionActivity.java69 private int mMode = -1; field in FolderSelectionActivity
167 mMode = CONFIGURE; in onCreate()
169 mMode = VIEW; in onCreate()
184 if (mMode == VIEW) { in onCreate()
223 if (mMode == CONFIGURE) { in onClick()
/packages/experimental/LoaderApp/src/com/android/loaderapp/fragments/
DContactsListFragment.java56 int mMode; field in ContactsListFragment
61 mMode = DEFAULT_MODE; in ContactsListFragment()
66 mMode = mode; in ContactsListFragment()
71 if (mMode != MODE_NULL) { in onInitializeLoaders()
78 switch (mMode) { in onCreateLoader()
105 boolean reload = mode != mMode; in setMode()
106 mMode = mode; in setMode()
113 boolean reload = (MODE_GROUP != mMode) || !groupName.equals(mGroupName); in setGroupMode()
114 mMode = MODE_GROUP; in setGroupMode()
126 return mMode; in getMode()
/packages/experimental/LoaderApp/src/com/android/loaderapp/
DHomeGroupsXLarge.java44 int mMode; field in HomeGroupsXLarge
63 mMode = MODE_GROUPS; in onCreate()
69 switch (mMode) { in getContactsList()
75 throw new IllegalStateException("unknown mode " + mMode); in getContactsList()
99 if (mMode == MODE_GROUPS) { in onContactSelected()
100 mMode = MODE_DETAILS; in onContactSelected()
148 if (mMode == MODE_DETAILS) { in onBackPressed()
150 mMode = MODE_GROUPS; in onBackPressed()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DKeyboardId.java77 public final int mMode; field in KeyboardId
92 mMode = params.mMode; in KeyboardId()
108 id.mMode, in computeHashCode()
129 && other.mMode == mMode in equals()
198 modeName(mMode), in toString()
/packages/apps/Email/src/com/android/email/activity/setup/
DAccountCheckSettingsFragment.java71 private int mMode; field in AccountCheckSettingsFragment
144 mMode = getArguments().getInt(ARGS_MODE); in onCreate()
164 new AccountCheckTask(getActivity().getApplicationContext(), this, mMode, in onActivityCreated()
313 final int mMode; field in AccountCheckSettingsFragment.AccountCheckTask
330 mMode = mode; in AccountCheckTask()
346 if ((mMode & SetupDataFragment.CHECK_AUTODISCOVER) != 0) { in doInBackground()
378 if ((mMode & SetupDataFragment.CHECK_INCOMING) != 0) { in doInBackground()
430 (mMode & SetupDataFragment.CHECK_OUTGOING) != 0) { in doInBackground()
/packages/apps/Messaging/src/com/android/messaging/ui/
DAudioAttachmentView.java87 private final int mMode; field in AudioAttachmentView
93 mMode = typedAttributes.getInt(R.styleable.AudioAttachmentView_layoutMode, in AudioAttachmentView()
99 setWillNotDraw(mMode != LAYOUT_MODE_SUB_COMPACT); in AudioAttachmentView()
147 Assert.equals(LAYOUT_MODE_SUB_COMPACT, mMode); in updateChronometerVisibility()
300 if (mMode != LAYOUT_MODE_SUB_COMPACT) { in onDraw()
342 if (mMode == LAYOUT_MODE_SUB_COMPACT) { in updateVisualStyle()
358 switch (mMode) { in initializeViewsForMode()
DVideoThumbnailView.java59 private final int mMode; field in VideoThumbnailView
82 mMode = typedAttributes.getInt(R.styleable.VideoThumbnailView_mode, MODE_IMAGE_THUMBNAIL); in VideoThumbnailView()
88 if (mMode == MODE_PLAYABLE_VIDEO) { in VideoThumbnailView()
135 if (mMode == MODE_PLAYABLE_VIDEO) { in VideoThumbnailView()
208 Assert.equals(MODE_PLAYABLE_VIDEO, mMode); in start()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/editors/
DEditorGrad.java190 int mMode; field in EditorGrad.ParamAdapter
196 mMode = mode; in ParamAdapter()
205 int value = rep.getParameter(mMode); in updateValues()
214 rep.setParameter(mMode, value); in onProgressChanged()
215 if (mSliderMode != mMode) { in onProgressChanged()
216 mSliderMode = mMode; in onProgressChanged()
217 mEffectName = mContext.getResources().getString(getModeNameid(mMode)); in onProgressChanged()
/packages/apps/Camera2/src/com/android/camera/stats/
DCaptureSessionStatsCollector.java33 protected Integer mMode; field in CaptureSessionStatsCollector
118 mMode = mode; in decorateAtTimeCaptureRequest()
159 mMode, mFilename, mExifInterface, mIsFrontFacing, in photoCaptureDoneEvent()
170 return (mMode != null) && in isCompleteForPhotoCaptureEvent()
189 return (mMode != null); in isValidForPhotoCaptureEvent()
/packages/apps/Camera2/src/com/android/camera/ui/
DBottomBar.java59 private int mMode; field in BottomBar
255 mMode = MODE_CAPTURE; in transitionToCapture()
267 mMode = MODE_CANCEL; in transitionToCancel()
279 mMode = MODE_INTENT; in transitionToIntentCaptureLayout()
291 mMode = MODE_INTENT_REVIEW; in transitionToIntentReviewLayout()
298 return mMode == MODE_INTENT_REVIEW; in isInIntentReview()
/packages/apps/Settings/src/com/android/settings/inputmethod/
DUserDictionaryAddWordContents.java54 private final int mMode; // Either MODE_EDIT or MODE_INSERT field in UserDictionaryAddWordContents
77 mMode = args.getInt(EXTRA_MODE); // default return value for #getInt() is 0 = MODE_EDIT in UserDictionaryAddWordContents()
87 mMode = MODE_EDIT; in UserDictionaryAddWordContents()
112 if (MODE_EDIT == mMode && !TextUtils.isEmpty(mOldWord)) { in delete()
123 if (MODE_EDIT == mMode && !TextUtils.isEmpty(mOldWord)) { in apply()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/userdictionary/
DUserDictionaryAddWordContents.java64 private final int mMode; // Either MODE_EDIT or MODE_INSERT field in UserDictionaryAddWordContents
98 mMode = args.getInt(EXTRA_MODE); // default return value for #getInt() is 0 = MODE_EDIT in UserDictionaryAddWordContents()
107 mMode = MODE_EDIT; in UserDictionaryAddWordContents()
132 if (MODE_EDIT == mMode && !TextUtils.isEmpty(mOldWord)) { in delete()
144 if (MODE_EDIT == mMode && !TextUtils.isEmpty(mOldWord)) { in apply()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiDialog.java40 private final int mMode; field in WifiDialog
57 mMode = mode; in WifiDialog()
73 mController = new WifiConfigController(this, mView, mAccessPoint, mMode); in onCreate()
124 return mMode; in getMode()
DWifiConfigController.java158 private int mMode; field in WifiConfigController
171 mMode = mode; in WifiConfigController()
261 || mMode != WifiConfigUiBase.MODE_VIEW) { in WifiConfigController()
274 if (mMode == WifiConfigUiBase.MODE_MODIFY) { in WifiConfigController()
276 } else if (mMode == WifiConfigUiBase.MODE_CONNECT) { in WifiConfigController()
452 if (mMode == WifiConfigUiBase.MODE_VIEW) { in getConfig()
1157 return mMode; in getMode()
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherScroller.java32 private int mMode; field in LauncherScroller
233 return mMode == FLING_MODE ? in getCurrVelocity()
285 switch (mMode) { in computeScrollOffset()
371 mMode = SCROLL_MODE; in startScroll()
425 mMode = FLING_MODE; in fling()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/util/
DThreadPool.java117 private int mMode; field in ThreadPool.Worker
204 ResourceCounter rc = modeToCounter(mMode); in setMode()
206 mMode = MODE_NONE; in setMode()
214 mMode = mode; in setMode()
/packages/apps/Gallery/src/com/android/camera/
DHighlightView.java108 if (mMode == ModifyMode.Grow) { in draw()
172 if (mode != mMode) { in setMode()
173 mMode = mode; in setMode()
388 mMode = ModifyMode.None; in setup()
394 private ModifyMode mMode = ModifyMode.None; field in HighlightView
DViewImage.java86 private int mMode = MODE_NORMAL; field in ViewImage
689 if (mMode == mode) { in setMode()
696 mMode = mode; in setMode()
810 if (mMode == MODE_NORMAL) { in loadNextImage()
914 b.putBoolean(STATE_SLIDESHOW, mMode == MODE_SLIDESHOW); in onSaveInstanceState()
943 if (mMode == MODE_SLIDESHOW) { in onStart()
/packages/services/Telephony/src/com/android/phone/common/mail/store/
DImapFolder.java73 private String mMode; field in ImapFolder
102 if (mMode == mode) { in open()
155 return mMode; in getMode()
721 mMode = MODE_READ_WRITE; in doSelect()
729 mMode = MODE_READ_ONLY; in doSelect()
731 mMode = MODE_READ_WRITE; in doSelect()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DScroller.java35 private int mMode; field in Scroller
256 switch (mMode) { in computeScrollOffset()
334 mMode = SCROLL_MODE; in startScroll()
388 mMode = FLING_MODE; in fling()
DOverScroller.java32 private int mMode; field in OverScroller
295 switch (mMode) { in computeScrollOffset()
374 mMode = SCROLL_MODE; in startScroll()
392 mMode = FLING_MODE; in springBack()
445 mMode = FLING_MODE; in fling()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/network/
DHttpUrlConnectionBuilder.java80 private int mMode; field in HttpUrlConnectionBuilder
189 mMode = mode; in setMode()
207 switch (mMode) { in build()
/packages/apps/Email/provider_src/com/android/email/mail/store/
DImapFolder.java82 private OpenMode mMode; field in ImapFolder
105 if (mMode == mode) { in open()
161 return mMode; in getMode()
1237 mMode = OpenMode.READ_WRITE; in doSelect()
1245 mMode = OpenMode.READ_ONLY; in doSelect()
1247 mMode = OpenMode.READ_WRITE; in doSelect()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/accessibility/
DMainKeyboardAccessibilityDelegate.java85 mLastKeyboardMode = keyboard.mId.mMode; in setKeyboard()
98 if (keyboard.mId.mMode != lastKeyboardMode) { in setKeyboard()
138 final int modeTextResId = KEYBOARD_MODE_RES_IDS.get(keyboard.mId.mMode); in announceKeyboardMode()

12