Home
last modified time | relevance | path

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

/packages/apps/Dialer/InCallUI/src/com/android/incallui/
DAudioModeProvider.java49 public void onAudioModeChange(int newMode, boolean muted) { in onAudioModeChange() argument
50 if (mAudioMode != newMode) { in onAudioModeChange()
51 mAudioMode = newMode; in onAudioModeChange()
101 void onAudioMode(int newMode); in onAudioMode() argument
DCallButtonPresenter.java209 int newMode = CallAudioState.ROUTE_SPEAKER; in toggleSpeakerphone() local
213 newMode = CallAudioState.ROUTE_WIRED_OR_EARPIECE; in toggleSpeakerphone()
216 setAudioMode(newMode); in toggleSpeakerphone()
/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
DAbstractActivityController.java2293 public void onViewModeChanged(int newMode) {
2296 if (!ViewMode.isConversationMode(newMode)) {
2301 if (newMode != ViewMode.UNKNOWN) {
2309 updateDrawerIndicator(newMode, isTopLevel);
/packages/services/Telephony/src/com/android/phone/
DPhoneGlobals.java640 private void handleAirplaneModeChange(int newMode) { in handleAirplaneModeChange() argument
641 if (newMode == AIRPLANE_ON) { 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.java1142 final int newMode = Integer.parseInt(value.toString()); in writeSimulateColorSpace() local
1143 if (newMode < 0) { in writeSimulateColorSpace()
1150 Settings.Secure.ACCESSIBILITY_DISPLAY_DALTONIZER, newMode); in writeSimulateColorSpace()
/packages/apps/Settings/src/com/android/settings/
DDevelopmentSettings.java1317 final int newMode = Integer.parseInt(value.toString()); in writeSimulateColorSpace() local
1318 if (newMode < 0) { in writeSimulateColorSpace()
1322 Settings.Secure.putInt(cr, Settings.Secure.ACCESSIBILITY_DISPLAY_DALTONIZER, newMode); in writeSimulateColorSpace()
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DAdapterService.java1536 int newMode = convertScanModeToHal(mode); in setScanMode() local
1537 return mAdapterProperties.setScanMode(newMode); in setScanMode()