Home
last modified time | relevance | path

Searched refs:isDefault (Results 1 – 23 of 23) sorted by relevance

/packages/apps/UnifiedEmail/src/com/android/mail/providers/
DReplyFromAccount.java50 public boolean isDefault; field in ReplyFromAccount
54 String replyTo, boolean isDefault, boolean isCustom) { in ReplyFromAccount() argument
60 this.isDefault = isDefault; in ReplyFromAccount()
71 json.put(IS_DEFAULT, isDefault); in serialize()
86 boolean isDefault = json.getBoolean(IS_DEFAULT); in deserialize()
89 replyTo, isDefault, isCustomFrom); in deserialize()
/packages/apps/ThemePicker/src/com/android/customization/model/theme/
DThemeBundle.java93 boolean isDefault, @Nullable WallpaperInfo wallpaperInfo, in ThemeBundle() argument
96 mIsDefault = isDefault; in ThemeBundle()
156 return other.isDefault() || TextUtils.isEmpty(other.getSerializedPackages()) in isEquivalent()
199 boolean isDefault() { in isDefault() method in ThemeBundle
216 if (isDefault()) { in getJsonPackages()
249 if (isDefault()) { in getContentDescription()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/nfc/
DPaymentBackend.java49 boolean isDefault; field in PaymentBackend.PaymentAppInfo
99 appInfo.isDefault = service.getComponent().equals(defaultAppName); in refresh()
100 if (appInfo.isDefault) { in refresh()
DNfcPaymentPreferenceController.java222 holder.radioButton.setChecked(appInfo.isDefault); in getView()
247 if (!appInfo.isDefault) { in makeDefault()
DPaymentDefaultDialog.java94 if (service.isDefault) { in buildDialog()
/packages/apps/Settings/src/com/android/settings/nfc/
DPaymentBackend.java49 boolean isDefault; field in PaymentBackend.PaymentAppInfo
99 appInfo.isDefault = service.getComponent().equals(defaultAppName); in refresh()
100 if (appInfo.isDefault) { in refresh()
DNfcPaymentPreferenceController.java222 holder.radioButton.setChecked(appInfo.isDefault); in getView()
247 if (!appInfo.isDefault) { in makeDefault()
DPaymentDefaultDialog.java94 if (service.isDefault) { in buildDialog()
/packages/apps/Car/Settings/src/com/android/car/settings/inputmethod/
DKeyboardManagementPreferenceController.java155 if (!inputMethodInfo.isDefault(getContext())) { in isOnlyEnabledDefaultInputMethod()
162 if (!imi.isDefault(getContext())) { in isOnlyEnabledDefaultInputMethod()
DInputMethodUtil.java148 if (isSystemDefault && enabledInputMethodInfo.isDefault(context)) { in disableInputMethod()
/packages/apps/UnifiedEmail/src/com/android/mail/preferences/
DFolderPreferences.java150 if (RingtoneManager.isDefault(uri)) { in getRingtoneTitle()
175 if (name.length() == 0 || RingtoneManager.isDefault(Uri.parse(name))) { in getRingtoneUri()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/sound/
DAudioSwitchPreferenceController.java354 if (info != null && !info.isDefault()) { in onRouteAdded()
366 if (info != null && !info.isDefault()) { in onRouteChanged()
/packages/apps/Contacts/src/com/android/contacts/editor/
DEditorUiUtils.java208 if (RingtoneManager.isDefault(pickedUri)) return null; // default ringtone in getRingtoneStringFromUri()
210 if (pickedUri == null || RingtoneManager.isDefault(pickedUri)) return null; in getRingtoneStringFromUri()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/inputmethod/
DInputMethodUtilTest.java99 when(info.isDefault(mContext)).thenReturn(result.equals( in setUp()
110 when(info.isDefault(mContext)).thenReturn(true); in setUp()
DKeyboardManagementPreferenceControllerTest.java1001 when(mockInfo.isDefault(context)).thenReturn(isDefaultable); in createMockInputMethodInfo()
/packages/apps/Settings/src/com/android/settings/notification/
DNotificationSoundPreference.java66 } else if (RingtoneManager.isDefault(uri)) { in updateRingtoneName()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DNotificationSoundPreference.java66 } else if (RingtoneManager.isDefault(uri)) { in updateRingtoneName()
/packages/apps/Camera2/src/com/android/camera/settings/
DKeys.java192 return settingsManager.isDefault(moduleScope, KEY_CAMERA_ID); in isCameraBackFacing()
DSettingsManager.java546 public boolean isDefault(String scope, String key) {
/packages/apps/Camera2/src/com/android/camera/widget/
DIndicatorIconController.java319 if (!showDefault && settingsManager.isDefault(scope, key)) { in setIndicatorState()
/packages/services/Telecomm/src/com/android/server/telecom/
DTelecomServiceImpl.java2054 boolean isDefault) { in broadcastCallScreeningAppChangedIntent() argument
2065 .EXTRA_IS_DEFAULT_CALL_SCREENING_APP, isDefault); in broadcastCallScreeningAppChangedIntent()
/packages/providers/MediaProvider/src/com/android/providers/media/
DRingtonePickerActivity.java354 if (getCheckedItem() == POS_UNKNOWN && RingtoneManager.isDefault(mExistingUri)) { in onPrepareListView()
/packages/apps/UnifiedEmail/src/com/android/mail/compose/
DComposeActivity.java1345 if (from.isDefault) { in getDefaultReplyFromAccount()