/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/expected/ |
D | ExpectedKey.java | 30 static ExpectedKey EMPTY_KEY = newInstance(""); 33 static ExpectedKey newInstance(final String label, final ExpectedKey... moreKeys) { in newInstance() method in ExpectedKey 34 return newInstance(label, label, moreKeys); in newInstance() 38 static ExpectedKey newInstance(final String label, final String outputText, in newInstance() method in ExpectedKey 40 return newInstance(ExpectedKeyVisual.newInstance(label), in newInstance() 41 ExpectedKeyOutput.newInstance(outputText), moreKeys); in newInstance() 45 static ExpectedKey newInstance(final String label, final int code, in newInstance() method in ExpectedKey 47 return newInstance(ExpectedKeyVisual.newInstance(label), in newInstance() 48 ExpectedKeyOutput.newInstance(code), moreKeys); in newInstance() 52 static ExpectedKey newInstance(final int iconId, final String outputText, in newInstance() method in ExpectedKey [all …]
|
D | AbstractLayoutBase.java | 32 return ExpectedKey.newInstance(label, moreKeys); in key() 38 return ExpectedKey.newInstance(label, outputText, moreKeys); in key() 44 return ExpectedKey.newInstance(label, code, moreKeys); in key() 50 return ExpectedKey.newInstance(iconId, outputText, moreKeys); in key() 56 return ExpectedKey.newInstance(iconId, code, moreKeys); in key() 61 return ExpectedKey.newInstance(key.getVisual(), key.getOutput(), moreKeys); in key() 70 return ExpectedAdditionalMoreKey.newInstance(label); in additionalMoreKey() 75 return ExpectedKey.newInstance(label); in moreKey() 81 return ExpectedKey.newInstance(label, outputText); in moreKey() 87 return ExpectedKey.newInstance(label, code); in moreKey() [all …]
|
D | ExpectedKeyboardBuilder.java | 124 list.add(ExpectedKey.newInstance((String)key)); in joinKeys() 152 setMoreKeysOf(ExpectedKeyVisual.newInstance(label), joinKeys(moreKeys)); in setMoreKeysOf() 164 setMoreKeysOf(ExpectedKeyVisual.newInstance(iconId), joinKeys(moreKeys)); in setMoreKeysOf() 195 final ExpectedKeyVisual visual = ExpectedKeyVisual.newInstance(label); in setAdditionalMoreKeysPositionOf() 271 final ExpectedKeyVisual visual = ExpectedKeyVisual.newInstance(label); in replaceKeyOfLabel()
|
D | ExpectedKeyOutput.java | 32 static ExpectedKeyOutput newInstance(final int code) { in newInstance() method in ExpectedKeyOutput 36 static ExpectedKeyOutput newInstance(final String outputText) { in newInstance() method in ExpectedKeyOutput 66 return newInstance(StringUtils.toTitleCaseOfKeyLabel(codeString, locale)); in toUpperCase() 124 return newInstance(mText.toUpperCase(locale)); in toUpperCase()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/ |
D | ContentFragment.java | 44 public static ContentFragment newInstance(String title) { in newInstance() method in ContentFragment 45 return newInstance(title, null, null, 0, Color.TRANSPARENT); in newInstance() 48 public static ContentFragment newInstance(String title, String breadcrumb, in newInstance() method in ContentFragment 50 return newInstance(title, breadcrumb, description, 0, Color.TRANSPARENT); in newInstance() 53 public static ContentFragment newInstance(String title, String breadcrumb, String description, in newInstance() method in ContentFragment 55 return newInstance(title, breadcrumb, description, iconResourceId, Color.TRANSPARENT); in newInstance() 58 public static ContentFragment newInstance(String title, String breadcrumb, String description, in newInstance() method in ContentFragment 67 public static ContentFragment newInstance(String title, String breadcrumb, String description, in newInstance() method in ContentFragment 69 return newInstance(title, breadcrumb, description, iconResourceUri, Color.TRANSPARENT); in newInstance() 72 public static ContentFragment newInstance(String title, String breadcrumb, String description, in newInstance() method in ContentFragment [all …]
|
D | EditTextFragment.java | 45 public static EditTextFragment newInstance(int layoutResId, int editTextResId) { in newInstance() method in EditTextFragment 57 public static EditTextFragment newInstance(String description) { in newInstance() method in EditTextFragment 58 return newInstance(description, null); in newInstance() 61 public static EditTextFragment newInstance(String description, String initialText) { in newInstance() method in EditTextFragment 62 return newInstance(description, initialText, false); in newInstance() 65 public static EditTextFragment newInstance(String description, String initialText, in newInstance() method in EditTextFragment
|
D | ActionFragment.java | 35 public static ActionFragment newInstance(ArrayList<Action> actions) { in newInstance() method in ActionFragment 36 return newInstance(actions, null); in newInstance() 39 public static ActionFragment newInstance(ArrayList<Action> actions, String name) { in newInstance() method in ActionFragment 45 public static ActionFragment newInstance(ArrayList<Action> actions, int index) { in newInstance() method in ActionFragment 51 public static ActionFragment newInstance(ArrayList<Action> actions, String name, int index) { in newInstance() method in ActionFragment
|
/packages/apps/DeskClock/src/com/android/deskclock/alarms/ |
D | AlarmUpdateHandler.java | 119 final AlarmInstance newInstance = new AlarmInstance(instance); in asyncUpdateAlarm() 122 newInstance.mVibrate = alarm.vibrate; in asyncUpdateAlarm() 123 newInstance.mRingtone = alarm.alert; in asyncUpdateAlarm() 124 newInstance.mLabel = alarm.label; in asyncUpdateAlarm() 128 AlarmInstance.updateInstance(cr, newInstance); in asyncUpdateAlarm() 130 AlarmNotifications.updateNotification(mAppContext, newInstance); in asyncUpdateAlarm() 216 AlarmInstance newInstance = alarm.createInstanceAfter(Calendar.getInstance()); in setupAlarmInstance() local 217 newInstance = AlarmInstance.addInstance(cr, newInstance); in setupAlarmInstance() 219 AlarmStateManager.registerInstance(mAppContext, newInstance, true); in setupAlarmInstance() 220 return newInstance; in setupAlarmInstance()
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/ |
D | ManagePermissionsActivity.java | 49 .ManagePermissionsFragment.newInstance(); in onCreate() 51 fragment = ManageStandardPermissionsFragment.newInstance(); in onCreate() 63 fragment = AppPermissionsFragmentWear.newInstance(packageName); in onCreate() 66 .AppPermissionsFragment.newInstance(packageName); in onCreate() 72 .AllAppPermissionsFragment.newInstance(packageName); in onCreate() 75 .AppPermissionsFragment.newInstance(packageName); in onCreate() 89 .PermissionAppsFragment.newInstance(permissionName); in onCreate() 92 .PermissionAppsFragment.newInstance(permissionName); in onCreate()
|
/packages/apps/Contacts/tests/src/com/android/contacts/database/ |
D | NoNullCursorAsyncQueryHandlerTest.java | 60 final ObjectHolder<Cursor> cursorHolder = ObjectHolder.newInstance(); in testCursorIsNotNull() 61 final ObjectHolder<Boolean> ranHolder = ObjectHolder.newInstance(false); in testCursorIsNotNull() 88 final ObjectHolder<Boolean> ranHolder = ObjectHolder.newInstance(false); in testCursorContainsCorrectCookies() 90 final ObjectHolder<Object> cookieHolder = ObjectHolder.newInstance(); in testCursorContainsCorrectCookies() 115 final ObjectHolder<Boolean> ranHolder = ObjectHolder.newInstance(false); in testCursorContainsCorrectColumns() 117 final ObjectHolder<Cursor> cursorHolder = ObjectHolder.newInstance(); in testCursorContainsCorrectColumns() 144 public static <E> ObjectHolder<E> newInstance() { in newInstance() method in NoNullCursorAsyncQueryHandlerTest.ObjectHolder 148 public static <E> ObjectHolder<E> newInstance(E value) { in newInstance() method in NoNullCursorAsyncQueryHandlerTest.ObjectHolder
|
/packages/apps/Email/src/com/android/email/activity/setup/ |
D | AccountSetupFinal.java | 479 f = AccountSetupBasicsFragment.newInstance(); in updateContentFragment() 482 f = AccountSetupTypeFragment.newInstance(); in updateContentFragment() 485 f = AccountSetupABFragment.newInstance(mSetupData.getEmail(), in updateContentFragment() 489 f = AccountSetupCredentialsFragment.newInstance(mSetupData.getEmail(), in updateContentFragment() 495 f = AccountSetupIncomingFragment.newInstance(false); in updateContentFragment() 498 f = AccountSetupOutgoingFragment.newInstance(false); in updateContentFragment() 501 f = AccountSetupOptionsFragment.newInstance(); in updateContentFragment() 504 f = AccountSetupNamesFragment.newInstance(); in updateContentFragment() 787 AccountSetupNoteDialogFragment.newInstance(mProvider.note); in onBasicsComplete() 810 DuplicateAccountDialogFragment.newInstance(existingAccountName); in showDuplicateAccountDialog() [all …]
|
D | AccountServerSettingsActivity.java | 83 f = AccountSetupOutgoingFragment.newInstance(true); in onCreate() 85 f = AccountSetupIncomingFragment.newInstance(true); in onCreate() 139 final Fragment checkerDialog = CheckSettingsProgressDialogFragment.newInstance(checkMode); in onAccountServerUIComplete() 140 final Fragment checkerFragment = AccountCheckSettingsFragment.newInstance(checkMode); in onAccountServerUIComplete() 168 SecurityRequiredDialogFragment.newInstance(hostName) in onCheckSettingsSecurityRequired() 175 CheckSettingsErrorDialogFragment.newInstance(reason, message) in onCheckSettingsError()
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/ |
D | PackageInstallerActivity.java | 266 return SimpleErrorDialog.newInstance(R.string.Parse_error_dlg_text); in createDialog() 268 return OutOfSpaceDialog.newInstance( in createDialog() 271 return InstallErrorDialog.newInstance( in createDialog() 274 return NotSupportedOnWearDialog.newInstance(); in createDialog() 276 return SimpleErrorDialog.newInstance( in createDialog() 279 return ExternalSourcesBlockedDialog.newInstance(mOriginatingPackage); in createDialog() 281 return AnonymousSourceDialog.newInstance(); in createDialog() 680 static SimpleErrorDialog newInstance(@StringRes int message) { in newInstance() method in PackageInstallerActivity.SimpleErrorDialog 703 static AnonymousSourceDialog newInstance() { in newInstance() method in PackageInstallerActivity.AnonymousSourceDialog 723 static SimpleErrorDialog newInstance() { in newInstance() method in PackageInstallerActivity.NotSupportedOnWearDialog [all …]
|
/packages/apps/EmergencyInfo/src/com/android/emergency/edit/ |
D | EditInfoActivity.java | 110 EditEmergencyInfoFragment.newInstance())); in setUpFragments() 112 EditEmergencyContactsFragment.newInstance())); in setUpFragments() 122 DialogFragment newFragment = WarningDialogFragment.newInstance(); in showWarningDialog() 133 DialogFragment newFragment = ClearAllDialogFragment.newInstance(); in showClearAllDialog() 184 public static DialogFragment newInstance() { in newInstance() method in EditInfoActivity.WarningDialogFragment 210 public static DialogFragment newInstance() { in newInstance() method in EditInfoActivity.ClearAllDialogFragment
|
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
D | StringTexture.java | 53 public static StringTexture newInstance( in newInstance() method in StringTexture 55 return newInstance(text, getDefaultPaint(textSize, color)); in newInstance() 58 public static StringTexture newInstance( in newInstance() method in StringTexture 69 return newInstance(text, paint); in newInstance() 72 private static StringTexture newInstance(String text, TextPaint paint) { in newInstance() method in StringTexture
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/ |
D | MigrateStorageActivity.java | 100 MigrateConfirmationStepFragment.newInstance(mTargetVolumeDesc)) in onCreate() 111 ChooseStorageStepFragment.newInstance(mVolumeInfo)) in onCreate() 151 MigrateProgressFragment.newInstance(mTargetVolumeDesc)) in startMigrationInternal() 191 public static MigrateConfirmationStepFragment newInstance(String volumeDescription) { in newInstance() method in MigrateStorageActivity.MigrateConfirmationStepFragment 241 public static ChooseStorageStepFragment newInstance(VolumeInfo currentVolumeInfo) { in newInstance() method in MigrateStorageActivity.ChooseStorageStepFragment 294 public static MigrateProgressFragment newInstance(String volumeDescription) { in newInstance() method in MigrateStorageActivity.MigrateProgressFragment
|
D | FormatActivity.java | 106 f = FormatAsPrivateStepFragment.newInstance(diskId); in onCreate() 108 f = FormatAsPublicStepFragment.newInstance(diskId); in onCreate() 165 SlowDriveStepFragment.newInstance()) in handleFormatAsPrivateComplete() 227 final FormattingProgressFragment fragment = FormattingProgressFragment.newInstance(); in onRequestFormatAsPrivate() 270 final FormattingProgressFragment fragment = FormattingProgressFragment.newInstance(); in onRequestFormatAsPublic()
|
D | ResetActivity.java | 50 GuidedStepFragment.addAsRoot(this, ResetFragment.newInstance(), android.R.id.content); in onCreate() 56 public static ResetFragment newInstance() { in newInstance() method in ResetActivity.ResetFragment 90 add(getFragmentManager(), ResetConfirmFragment.newInstance()); in onGuidedActionClicked() 101 public static ResetConfirmFragment newInstance() { in newInstance() method in ResetActivity.ResetConfirmFragment
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/form/ |
D | MultiPagedForm.java | 250 return ContentFragment.newInstance(formPage.getTitle()); in getContentFragment() 260 return ContentFragment.newInstance(getMainTitle()); in getResultContentFragment() 273 return EditTextFragment.newInstance(null, initialText, true /* password */); in getPasswordEditTextFragment() 286 return EditTextFragment.newInstance(null, initialText); in getEditTextFragment() 301 ActionFragment actionFragment = ActionFragment.newInstance(actions); in getActionFragment() 320 return ActionFragment.newInstance(actions); in getResultActionFragment()
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
D | SmsStorageLowWarningFragment.java | 53 public static SmsStorageLowWarningFragment newInstance() { in newInstance() method in SmsStorageLowWarningFragment 61 final ChooseActionDialogFragment dialog = ChooseActionDialogFragment.newInstance(); in onCreate() 73 final ConfirmationDialog dialog = ConfirmationDialog.newInstance(actionIndex); in confirm() 89 public static ChooseActionDialogFragment newInstance() { in newInstance() method in SmsStorageLowWarningFragment.ChooseActionDialogFragment 164 public static ConfirmationDialog newInstance(final int actionIndex) { in newInstance() method in SmsStorageLowWarningFragment.ConfirmationDialog
|
/packages/apps/Dialer/java/com/android/incallui/spam/ |
D | SpamNotificationActivity.java | 191 BlockReportSpamDialogs.ReportNotSpamDialogFragment.newInstance( in maybeShowNotSpamDialog() 214 BlockReportSpamDialogs.BlockReportSpamDialogFragment.newInstance( in maybeShowBlockReportSpamDialog() 239 FirstTimeNonSpamCallDialogFragment.newInstance(getCallInfo()) in showNonSpamDialog() 248 FirstTimeSpamCallDialogFragment.newInstance(getCallInfo()) in showSpamFullDialog() 330 private static DialogFragment newInstance(Bundle bundle) { in newInstance() method in SpamNotificationActivity.FirstTimeSpamCallDialogFragment 416 private static DialogFragment newInstance(Bundle bundle) {
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/ |
D | WpsConnectionActivity.java | 157 return WpsScanningFragment.newInstance(); in createWpsScanningFragment() 161 return WpsPinFragment.newInstance(pin); in createEnterPinFragment() 170 return SelectFromListWizardFragment.newInstance(errorMessage, null, listItems, in createErrorFragment() 175 return TimedMessageWizardFragment.newInstance( in createSuccessFragment()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/ |
D | ButtonActionDialogFragmentTest.java | 66 mFragment = spy(ButtonActionDialogFragment.newInstance(FORCE_STOP_ID)); in setUp() 80 ButtonActionDialogFragment fragment = ButtonActionDialogFragment.newInstance(FORCE_STOP_ID); in testOnCreateDialog_forceStopDialog() 99 ButtonActionDialogFragment fragment = ButtonActionDialogFragment.newInstance(DISABLE_ID); in testOnCreateDialog_disableDialog() 116 ButtonActionDialogFragment fragment = ButtonActionDialogFragment.newInstance( in testOnCreateDialog_specialDisableDialog()
|
/packages/apps/WallpaperPicker/src/com/android/photos/ |
D | BitmapRegionTileSource.java | 56 public static SimpleBitmapRegionDecoderWrapper newInstance( in newInstance() method in SimpleBitmapRegionDecoderWrapper 59 BitmapRegionDecoder d = BitmapRegionDecoder.newInstance(is, isShareable); in newInstance() 87 public static DumbBitmapRegionDecoder newInstance(InputStream is) { in newInstance() method in DumbBitmapRegionDecoder 245 SimpleBitmapRegionDecoderWrapper.newInstance(is, false); in loadBitmapRegionDecoder() 249 regionDecoder = DumbBitmapRegionDecoder.newInstance(is); in loadBitmapRegionDecoder()
|
/packages/apps/Dialer/java/com/android/dialer/app/calllog/ |
D | BlockReportSpamListener.java | 60 BlockReportSpamDialogs.BlockReportSpamDialogFragment.newInstance( in onBlockReportSpam() 104 BlockReportSpamDialogs.BlockDialogFragment.newInstance( in onBlock() 150 BlockReportSpamDialogs.UnblockDialogFragment.newInstance( in onUnblock() 191 BlockReportSpamDialogs.ReportNotSpamDialogFragment.newInstance( in onReportNotSpam()
|