Home
last modified time | relevance | path

Searched refs:newMode (Results 1 – 25 of 27) sorted by relevance

12

/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DViewMode.java43 void onViewModeChanged(int newMode); in onViewModeChanged() argument
240 final int newMode = inState.getInt(VIEW_MODE_KEY, UNKNOWN); in handleRestore() local
241 if (newMode != UNKNOWN) { in handleRestore()
242 setModeInternal(newMode); in handleRestore()
DOnePaneController.java204 public void onViewModeChanged(int newMode) { in onViewModeChanged() argument
205 super.onViewModeChanged(newMode); in onViewModeChanged()
209 if (ViewMode.isListMode(newMode)) { in onViewModeChanged()
213 if (ViewMode.isAdMode(newMode)) { in onViewModeChanged()
219 if (!ViewMode.isConversationMode(newMode)) { in onViewModeChanged()
DTwoPaneController.java434 public void onViewModeChanged(int newMode) { in onViewModeChanged() argument
443 super.onViewModeChanged(newMode); in onViewModeChanged()
444 if (newMode != ViewMode.WAITING_FOR_ACCOUNT_INITIALIZATION) { in onViewModeChanged()
453 if (newMode == ViewMode.CONVERSATION || newMode == ViewMode.CONVERSATION_LIST in onViewModeChanged()
454 || ViewMode.isAdMode(newMode)) { in onViewModeChanged()
DTwoPaneLayout.java676 public void onViewModeChanged(int newMode) {
683 if (ViewMode.isAdMode(newMode)) {
698 if (newMode == ViewMode.CONVERSATION_LIST) {
702 mCurrentMode = newMode;
703 LogUtils.i(LOG_TAG, "onViewModeChanged(%d)", newMode);
DMaterialSearchViewController.java118 public void onViewModeChanged(int newMode) { in onViewModeChanged() argument
120 mViewMode = newMode; in onViewModeChanged()
DCustomViewToolbar.java113 public void onViewModeChanged(int newMode) { in onViewModeChanged() argument
DConversationListFragment.java789 public void onViewModeChanged(int newMode) { in onViewModeChanged() argument
791 if (ViewMode.isListMode(newMode)) { in onViewModeChanged()
DActionBarController.java183 public void onViewModeChanged(int newMode) { in onViewModeChanged() argument
/packages/apps/Settings/src/com/android/settings/network/telephony/cdma/
DCdmaSystemSelectPreferenceController.java62 int newMode = Integer.parseInt((String) object); in onPreferenceChange() local
64 if (mTelephonyManager.setCdmaRoamingMode(newMode)) { in onPreferenceChange()
66 Settings.Global.CDMA_ROAMING_MODE, newMode); in onPreferenceChange() local
DCdmaSubscriptionPreferenceController.java67 final int newMode = Integer.parseInt((String) object); in onPreferenceChange() local
69 if (mTelephonyManager.setCdmaSubscriptionMode(newMode)) { in onPreferenceChange()
71 Settings.Global.CDMA_SUBSCRIPTION_MODE, newMode); in onPreferenceChange() local
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/telephony/cdma/
DCdmaSystemSelectPreferenceController.java62 int newMode = Integer.parseInt((String) object); in onPreferenceChange() local
64 if (mTelephonyManager.setCdmaRoamingMode(newMode)) { in onPreferenceChange()
66 Settings.Global.CDMA_ROAMING_MODE, newMode); in onPreferenceChange() local
DCdmaSubscriptionPreferenceController.java67 final int newMode = Integer.parseInt((String) object); in onPreferenceChange() local
69 if (mTelephonyManager.setCdmaSubscriptionMode(newMode)) { in onPreferenceChange()
71 Settings.Global.CDMA_SUBSCRIPTION_MODE, newMode); in onPreferenceChange() local
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DAlwaysDiscoverableTest.java105 private void sendScanModeChangedIntent(int newMode, int previousMode) { in sendScanModeChangedIntent() argument
106 mBluetoothAdapter.setScanMode(newMode); in sendScanModeChangedIntent()
108 intent.putExtra(BluetoothAdapter.EXTRA_SCAN_MODE, newMode); in sendScanModeChangedIntent()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/development/
DSimulateColorSpacePreferenceController.java99 final int newMode = Integer.parseInt(value.toString()); in writeSimulateColorSpace() local
100 if (newMode < 0) { in writeSimulateColorSpace()
106 Settings.Secure.putInt(cr, Settings.Secure.ACCESSIBILITY_DISPLAY_DALTONIZER, newMode); in writeSimulateColorSpace()
/packages/apps/Settings/src/com/android/settings/development/
DSimulateColorSpacePreferenceController.java99 final int newMode = Integer.parseInt(value.toString()); in writeSimulateColorSpace() local
100 if (newMode < 0) { in writeSimulateColorSpace()
106 Settings.Secure.putInt(cr, Settings.Secure.ACCESSIBILITY_DISPLAY_DALTONIZER, newMode); in writeSimulateColorSpace()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowLocationManager.java33 int newMode = enabled in setLocationEnabledForUser() local
38 Settings.Secure.LOCATION_MODE, newMode, userHandle.getIdentifier()); in setLocationEnabledForUser() local
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/specialaccess/pictureinpicture/
DPictureInPictureDetails.java97 final int newMode = value ? MODE_ALLOWED : MODE_ERRORED; in setEnterPipStateForPackage() local
98 appOps.setMode(OP_PICTURE_IN_PICTURE, uid, packageName, newMode); in setEnterPipStateForPackage()
/packages/apps/Settings/src/com/android/settings/applications/specialaccess/pictureinpicture/
DPictureInPictureDetails.java97 final int newMode = value ? MODE_ALLOWED : MODE_ERRORED; in setEnterPipStateForPackage() local
98 appOps.setMode(OP_PICTURE_IN_PICTURE, uid, packageName, newMode); in setEnterPipStateForPackage()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/
DTouchInteractionService.java396 public void onNavigationModeChanged(Mode newMode) { in onNavigationModeChanged() argument
397 if (mMode.hasGestures != newMode.hasGestures) { in onNavigationModeChanged()
398 if (newMode.hasGestures) { in onNavigationModeChanged()
405 mMode = newMode; in onNavigationModeChanged()
/packages/apps/Launcher3/quickstep/tests/src/com/android/quickstep/
DNavigationModeSwitchRule.java144 newMode -> { in apply()
145 if (LauncherInstrumentation.getNavigationModel(newMode.resValue) in apply()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/
DShelfScrimView.java129 public void onNavigationModeChanged(Mode newMode) { in onNavigationModeChanged() argument
130 mSysUINavigationMode = newMode; in onNavigationModeChanged()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DSysUINavigationMode.java127 void onNavigationModeChanged(Mode newMode); in onNavigationModeChanged() argument
/packages/services/Telephony/src/com/android/phone/
DPhoneGlobals.java514 private void handleAirplaneModeChange(Context context, int newMode) { in handleAirplaneModeChange() argument
517 boolean isAirplaneNewlyOn = (newMode == 1); in handleAirplaneModeChange()
/packages/apps/LegacyCamera/src/com/android/camera/
DModePicker.java52 public boolean onModeChanged(int newMode); in onModeChanged() argument
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/development/
DDevelopmentFragment.java1154 final int newMode = Integer.parseInt(value.toString()); in writeSimulateColorSpace() local
1155 if (newMode < 0) { in writeSimulateColorSpace()
1162 Settings.Secure.ACCESSIBILITY_DISPLAY_DALTONIZER, newMode); in writeSimulateColorSpace()

12