/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
D | ActionBarController.java | 113 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()
|
D | OnePaneController.java | 383 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()
|
D | TwoPaneController.java | 318 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()
|
D | AbstractActivityController.java | 889 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/ |
D | ViewModeTests.java | 41 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/Launcher3/quickstep/src/com/android/quickstep/ |
D | SysUINavigationMode.java | 51 public static Mode getMode(Context context) { in getMode() method in SysUINavigationMode 52 return INSTANCE.get(context).getMode(); in getMode() 109 public Mode getMode() { in getMode() method in SysUINavigationMode
|
/packages/apps/Gallery2/src/com/android/photos/views/ |
D | SquareImageView.java | 40 int widthMode = MeasureSpec.getMode(widthMeasureSpec); in onMeasure() 41 int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure()
|
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/ |
D | PreferenceImageView.java | 47 final int widthMode = MeasureSpec.getMode(widthMeasureSpec); in onMeasure() 57 final int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure()
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/ |
D | RecentsUiFactory.java | 78 if (SysUINavigationMode.getMode(context) == NO_BUTTON) { 102 if (SysUINavigationMode.getMode(context) == NO_BUTTON) { 143 Mode mode = SysUINavigationMode.getMode(launcher); in createTouchControllers()
|
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
D | ControlPanelLayout.java | 50 mode = MeasureSpec.getMode(widthSpec); in onMeasure() 55 mode = MeasureSpec.getMode(heightSpec); in onMeasure()
|
D | IndicatorControlWheelContainer.java | 128 int widthMode = MeasureSpec.getMode(widthSpec); in onMeasure() 129 int heightMode = MeasureSpec.getMode(heightSpec); in onMeasure()
|
/packages/apps/DeskClock/src/com/android/deskclock/widget/ |
D | TextSizeHelper.java | 57 if (View.MeasureSpec.getMode(widthMeasureSpec) != View.MeasureSpec.UNSPECIFIED) { in onMeasure() 63 if (View.MeasureSpec.getMode(heightMeasureSpec) != View.MeasureSpec.UNSPECIFIED) { in onMeasure()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/ |
D | ScrollController.java | 736 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/Messaging/src/com/android/messaging/ui/ |
D | AsyncImageView.java | 322 final int widthSpecMode = MeasureSpec.getMode(widthMeasureSpec); in onMeasure() 323 final int heightSpecMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() 358 final int specMode = MeasureSpec.getMode(measureSpec); in resolveSize()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/ |
D | AdditionalSubtypeUtilsTests.java | 137 assertEquals(KEYBOARD_MODE, subtype.getMode()); in assertEnUsDvorak() 158 assertEquals(KEYBOARD_MODE, subtype.getMode()); in assertAzerty()
|
/packages/apps/Settings/src/com/android/settings/development/ |
D | MockLocationAppPreferenceController.java | 137 if (packageOp.getOps().get(0).getMode() != AppOpsManager.MODE_ERRORED) { in removeAllMockLocations() 159 if (packageOp.getOps().get(0).getMode() == AppOpsManager.MODE_ALLOWED) { in getCurrentMockLocationApp()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/development/ |
D | MockLocationAppPreferenceController.java | 137 if (packageOp.getOps().get(0).getMode() != AppOpsManager.MODE_ERRORED) { in removeAllMockLocations() 159 if (packageOp.getOps().get(0).getMode() == AppOpsManager.MODE_ALLOWED) { in getCurrentMockLocationApp()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/ |
D | AddNetworkFragment.java | 82 mUIController = new WifiConfigController(this, rootView, null, getMode()); in onCreateView() 132 public int getMode() { in getMode() method in AddNetworkFragment
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
D | AddNetworkFragment.java | 82 mUIController = new WifiConfigController(this, rootView, null, getMode()); in onCreateView() 132 public int getMode() { in getMode() method in AddNetworkFragment
|
/packages/apps/SoundRecorder/src/com/android/soundrecorder/ |
D | Recorder.java | 183 boolean isInCall = ((audioMngr.getMode() == AudioManager.MODE_IN_CALL) || in startRecording() 184 (audioMngr.getMode() == AudioManager.MODE_IN_COMMUNICATION)); in startRecording()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | RichInputMethodSubtype.java | 78 public String getMode() { in getMode() method in RichInputMethodSubtype 79 return mSubtype.getMode(); in getMode()
|
D | RichInputMethodManager.java | 410 if (KEYBOARD_MODE.equals(subtype.getMode())) { in hasMultipleEnabledSubtypes() 543 mShortcutSubtype.getLocale() + ", " + mShortcutSubtype.getMode()))); in updateShortcutIme() 574 mShortcutSubtype.getLocale() + ", " + mShortcutSubtype.getMode()))); in updateShortcutIme()
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/ |
D | LauncherActivityControllerHelper.java | 86 if (dp.isVerticalBarLayout() && SysUINavigationMode.getMode(context) != Mode.NO_BUTTON) { in getSwipeUpDestinationAndLength() 227 if (SysUINavigationMode.getMode(activity) == Mode.NO_BUTTON) { 339 && SysUINavigationMode.getMode(activity) != Mode.NO_BUTTON) {
|
/packages/apps/Launcher3/src/com/android/launcher3/pageindicators/ |
D | PageIndicatorDots.java | 233 int width = MeasureSpec.getMode(widthMeasureSpec) == MeasureSpec.EXACTLY ? in onMeasure() 235 int height= MeasureSpec.getMode(heightMeasureSpec) == MeasureSpec.EXACTLY ? in onMeasure()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/ |
D | UiFactory.java | 113 boolean swipeUpEnabled = SysUINavigationMode.INSTANCE.get(launcher).getMode() in onCreate() 240 if (SysUINavigationMode.getMode(l) == Mode.NO_BUTTON) { in getOverviewScaleAndTranslationForNormalState()
|