Home
last modified time | relevance | path

Searched refs:getMode (Results 1 – 25 of 63) sorted by relevance

123

/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DActionBarController.java113 return getMode() != ViewMode.UNKNOWN; in onCreateOptionsMenu()
117 switch (getMode()) { in getOptionsMenuId()
190 switch (getMode()) { in onViewModeChanged()
220 protected int getMode() { in getMode() method in ActionBarController
222 return mViewModeController.getMode(); in getMode()
263 switch (getMode()) { in onPrepareOptionsMenu()
337 if (ViewMode.isWaitingForSync(getMode())) { in setFolderAndAccount()
343 final boolean isShowingFolder = mIsOnTablet || ViewMode.isListMode(getMode()); in setFolderAndAccount()
DOnePaneController.java383 final int mode = mViewMode.getMode(); in handleBackPress()
424 final int mode = mViewMode.getMode(); in handleUpPress()
447 final int mode = mViewMode.getMode(); in transitionBackToConversationListMode()
471 final int mode = mViewMode.getMode(); in onUndoAvailable()
506 final int mode = mViewMode.getMode(); in onError()
553 return mViewMode.getMode() == ViewMode.CONVERSATION_LIST; in shouldShowSearchMenuItem()
DTwoPaneController.java318 if (mViewMode.getMode() != ViewMode.CONVERSATION_LIST) { in switchToDefaultInboxOrChangeAccount()
336 } else if (mViewMode.getMode() != ViewMode.CONVERSATION_LIST) { in onFolderSelected()
589 final int mode = mViewMode.getMode(); in showConversation()
777 int mode = mViewMode.getMode(); in popView()
852 final int mode = mViewMode.getMode(); in onUndoAvailable()
959 final int mode = mViewMode.getMode(); in shouldShowSearchMenuItem()
DAbstractActivityController.java889 final int mode = mViewMode.getMode(); in onFolderChanged()
939 || (mViewMode.getMode() != ViewMode.CONVERSATION_LIST)) { in changeFolder()
995 final int mode = mViewMode.getMode(); in loadAccountInbox()
1132 if (ViewMode.isSearchMode(mViewMode.getMode())) { in onActivityResult()
1180 !ViewMode.isSearchMode(mViewMode.getMode()) && visible ? View.VISIBLE : View.GONE); in onConversationListVisibilityChanged()
1432 if (mViewMode.getMode() != ViewMode.UNKNOWN) { in onStart()
1648 mActivity.showHelp(mAccount, mViewMode.getMode());
1973 final int viewMode = mViewMode.getMode();
2475 if (isConversationMode && mViewMode.getMode() == ViewMode.UNKNOWN) {
2648 mViewMode.getMode() == ViewMode.WAITING_FOR_ACCOUNT_INITIALIZATION;
[all …]
/packages/apps/UnifiedEmail/tests/src/com/android/mail/ui/
DViewModeTests.java41 assertEquals(ViewMode.CONVERSATION_LIST, second.getMode()); in testBundleSaveRestorePreserveState()
77 assertEquals(ViewMode.CONVERSATION_LIST, first.getMode()); in testMultipleTransitionsFail()
80 assertEquals(ViewMode.CONVERSATION_LIST, first.getMode()); in testMultipleTransitionsFail()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
DScrollController.java736 private int getMode(int mode) { in getMode() method in ScrollController
766 final int operationMode = getMode(mFlingMode); in fling()
786 final int operationMode = getMode(mScrollMode); in startScroll()
855 final int operationMode = getMode(mDragMode); in dragBy()
/packages/apps/Email/provider_src/com/android/email/service/
DImapService.java1109 if (remoteFolder.getMode() != OpenMode.READ_WRITE) { in processPendingDataChange()
1207 if (remoteFolder.getMode() != OpenMode.READ_WRITE) { in processPendingMoveToTrash()
1235 if (remoteTrashFolder.getMode() != OpenMode.READ_WRITE) { in processPendingMoveToTrash()
1294 if (remoteTrashFolder.getMode() != OpenMode.READ_WRITE) { in processPendingDeleteFromTrash()
1339 if (remoteFolder.getMode() != OpenMode.READ_WRITE) { in processPendingAppend()
/packages/apps/Gallery2/src/com/android/photos/views/
DSquareImageView.java40 int widthMode = MeasureSpec.getMode(widthMeasureSpec); in onMeasure()
41 int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure()
DGalleryThumbnailView.java126 int widthMode = MeasureSpec.getMode(widthMeasureSpec); in onMeasure()
127 int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure()
/packages/apps/Calendar/src/com/android/calendar/recurrencepicker/
DWeekButton.java50 if (View.MeasureSpec.getMode(getMeasuredHeightAndState()) != MeasureSpec.EXACTLY) { in onMeasure()
54 if (View.MeasureSpec.getMode(getMeasuredWidthAndState()) != MeasureSpec.EXACTLY) { in onMeasure()
/packages/apps/LegacyCamera/src/com/android/camera/ui/
DControlPanelLayout.java50 mode = MeasureSpec.getMode(widthSpec); in onMeasure()
55 mode = MeasureSpec.getMode(heightSpec); in onMeasure()
DIndicatorControlWheelContainer.java128 int widthMode = MeasureSpec.getMode(widthSpec); in onMeasure()
129 int heightMode = MeasureSpec.getMode(heightSpec); in onMeasure()
/packages/apps/Settings/src/com/android/settings/notification/
DZenModeDowntimeDaysSelection.java70 onChanged(getMode()); in ZenModeDowntimeDaysSelection()
77 private String getMode() { in getMode() method in ZenModeDowntimeDaysSelection
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/
DAdditionalSubtypeUtilsTests.java128 assertEquals(KEYBOARD_MODE, subtype.getMode()); in assertEnUsDvorak()
149 assertEquals(KEYBOARD_MODE, subtype.getMode()); in assertAzerty()
/packages/apps/Launcher3/src/com/android/launcher3/
DPagedViewCellLayoutChildren.java79 int widthSpecMode = MeasureSpec.getMode(widthMeasureSpec); in onMeasure()
82 int heightSpecMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure()
DPagedViewCellLayout.java165 int widthSpecMode = MeasureSpec.getMode(widthMeasureSpec); in onMeasure()
168 int heightSpecMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure()
/packages/apps/Launcher2/src/com/android/launcher2/
DPagedViewCellLayoutChildren.java79 int widthSpecMode = MeasureSpec.getMode(widthMeasureSpec); in onMeasure()
82 int heightSpecMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure()
DPagedViewCellLayout.java171 int widthSpecMode = MeasureSpec.getMode(widthMeasureSpec); in onMeasure()
174 int heightSpecMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure()
/packages/apps/SoundRecorder/src/com/android/soundrecorder/
DRecorder.java183 boolean isInCall = ((audioMngr.getMode() == AudioManager.MODE_IN_CALL) || in startRecording()
184 (audioMngr.getMode() == AudioManager.MODE_IN_COMMUNICATION)); in startRecording()
/packages/apps/Email/tests/src/com/android/email/mail/store/
DImapStoreUnitTests.java718 assertEquals(OpenMode.READ_WRITE, mFolder.getMode()); in testReadWrite()
729 assertEquals(OpenMode.READ_ONLY, mFolder.getMode()); in testReadOnly()
1474 assertEquals(OpenMode.READ_WRITE, folder.getMode()); in testOpen()
1491 assertEquals(OpenMode.READ_ONLY, folder.getMode()); in testOpen()
1504 assertEquals(OpenMode.READ_WRITE, folder.getMode()); in testOpen()
/packages/apps/DeskClock/src/com/android/deskclock/
DAnalogClock.java144 int widthMode = MeasureSpec.getMode(widthMeasureSpec); in onMeasure()
146 int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DSubtypeSwitcher.java141 mShortcutSubtype.getLocale() + ", " + mShortcutSubtype.getMode()))); in updateShortcutIME()
163 mShortcutSubtype.getLocale() + ", " + mShortcutSubtype.getMode()))); in updateShortcutIME()
/packages/apps/Nfc/src/com/android/nfc/
DNfcService.java1563 if (device.getMode() == NfcDepEndpoint.MODE_P2P_TARGET) { in maybeDisconnectTarget()
1782 if (device.getMode() == NfcDepEndpoint.MODE_P2P_TARGET) { in handleMessage()
1854 if (device.getMode() == NfcDepEndpoint.MODE_P2P_TARGET) { in llcpActivated()
1884 } else if (device.getMode() == NfcDepEndpoint.MODE_P2P_INITIATOR) { in llcpActivated()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/
DHeadsetClientStateMachine.java304 if (mAudioManager.getMode() != AudioManager.MODE_NORMAL) { in setCallState()
1978 int currMode = mAudioManager.getMode(); in processMessage()
2055 int currMode = mAudioManager.getMode(); in processAudioEvent()
2142 if (mAudioManager.getMode() != AudioManager.MODE_NORMAL) { in processMessage()
2215 if (mAudioManager.getMode() != AudioManager.MODE_NORMAL) { in processAudioEvent()
/packages/apps/Nfc/nci/src/com/android/nfc/dhimpl/
DNativeP2pDevice.java68 public int getMode() { in getMode() method in NativeP2pDevice

123