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

/packages/apps/InCallUI/src/com/android/incallui/
H A DAudioModeProvider.java64 public void onAudioModeChange(int newMode, boolean muted) { argument
65 if (mAudioMode != newMode) {
66 mAudioMode = newMode;
116 void onAudioMode(int newMode); argument
H A DCallButtonPresenter.java178 int newMode = AudioState.ROUTE_SPEAKER;
182 newMode = AudioState.ROUTE_WIRED_OR_EARPIECE;
185 setAudioMode(newMode);
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
H A DViewMode.java43 void onViewModeChanged(int newMode); argument
240 final int newMode = inState.getInt(VIEW_MODE_KEY, UNKNOWN);
241 if (newMode != UNKNOWN) {
242 setModeInternal(newMode);
H A DSearchActionBarController.java63 public void onViewModeChanged(int newMode) { argument
64 super.onViewModeChanged(newMode);
H A DTwoPaneController.java259 public void onViewModeChanged(int newMode) { argument
268 super.onViewModeChanged(newMode);
272 if (newMode != ViewMode.WAITING_FOR_ACCOUNT_INITIALIZATION) {
281 if (newMode == ViewMode.CONVERSATION || newMode == ViewMode.CONVERSATION_LIST
282 || ViewMode.isAdMode(newMode)) {
H A DTwoPaneLayout.java408 public void onViewModeChanged(int newMode) { argument
415 if (ViewMode.isAdMode(newMode)) {
428 mCurrentMode = newMode;
429 LogUtils.i(LOG_TAG, "onViewModeChanged(%d)", newMode);
H A DOnePaneController.java169 public void onViewModeChanged(int newMode) { argument
170 super.onViewModeChanged(newMode);
174 if (ViewMode.isListMode(newMode)) {
179 if (!ViewMode.isConversationMode(newMode)) {
H A DConversationListFragment.java711 public void onViewModeChanged(int newMode) { argument
713 if (ViewMode.isListMode(newMode)) {
719 mFooterView.onViewModeChanged(newMode);
723 if (ViewMode.isListMode(newMode)) {
726 } else if (ViewMode.isConversationMode(newMode)) {
H A DActionBarController.java232 public void onViewModeChanged(int newMode) { argument
H A DAbstractActivityController.java2184 public void onViewModeChanged(int newMode) { argument
2186 final int composeVisible = ViewMode.isListMode(newMode) ? View.VISIBLE : View.GONE;
2191 if (!ViewMode.isConversationMode(newMode)) {
2196 if (newMode != ViewMode.UNKNOWN) {
2205 getShouldShowDrawerIndicator(newMode, isTopLevel));
/packages/services/Telecomm/src/com/android/server/telecom/
H A DCallAudioManager.java389 * @param newMode Mode constant from AudioManager.MODE_*.
391 private void setMode(int newMode) { argument
394 Log.v(this, "Request to change audio mode from %d to %d", oldMode, newMode);
396 if (oldMode != newMode) {
397 if (oldMode == AudioManager.MODE_IN_CALL && newMode == AudioManager.MODE_RINGTONE) {
401 mAudioManager.setMode(newMode);
402 mMostRecentlyUsedMode = newMode;
/packages/apps/Settings/src/com/android/settings/
H A DUsageAccessSettings.java309 final int newMode = (Boolean) newValue ?
313 if (pe.appOpMode != newMode) {
314 if (newMode != AppOpsManager.MODE_ALLOWED) {
316 setNewMode(pe, newMode);
332 void setNewMode(PackageEntry pe, int newMode) { argument
334 pe.packageInfo.applicationInfo.uid, pe.packageName, newMode);
335 pe.appOpMode = newMode;
H A DDevelopmentSettings.java991 final int newMode = Integer.parseInt(value.toString());
992 if (newMode < 0) {
996 Settings.Secure.putInt(cr, Settings.Secure.ACCESSIBILITY_DISPLAY_DALTONIZER, newMode);
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
H A DConversationListFooterView.java184 public void onViewModeChanged(int newMode) { argument
186 if (mTabletDevice && newMode == ViewMode.CONVERSATION_LIST) {
/packages/apps/LegacyCamera/src/com/android/camera/
H A DModePicker.java52 public boolean onModeChanged(int newMode); argument
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
H A DAdapterService.java1205 int newMode = convertScanModeToHal(mode);
1206 return mAdapterProperties.setScanMode(newMode);

Completed in 462 milliseconds