Home
last modified time | relevance | path

Searched refs:newInstance (Results 1 – 25 of 98) sorted by relevance

1234

/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DStringTexture.java54 public static StringTexture newInstance( in newInstance() method in StringTexture
56 return newInstance(text, getDefaultPaint(textSize, color)); in newInstance()
59 public static StringTexture newInstance( in newInstance() method in StringTexture
70 return newInstance(text, paint); in newInstance()
73 private static StringTexture newInstance(String text, TextPaint paint) { in newInstance() method in StringTexture
DUndoBarView.java71 mUndoText = StringTexture.newInstance(context.getString(R.string.undo), in UndoBarView()
73 mDeletedText = StringTexture.newInstance( in UndoBarView()
DMultiLineTexture.java37 public static MultiLineTexture newInstance( in newInstance() method in MultiLineTexture
/packages/apps/Camera/src/com/android/camera/
DEffectsRecorder.java496 Object bl = newInstance(sCtPoint, new Object[] {0, 0}); in setRecordingOrientation()
497 Object br = newInstance(sCtPoint, new Object[] {1, 0}); in setRecordingOrientation()
498 Object tl = newInstance(sCtPoint, new Object[] {0, 1}); in setRecordingOrientation()
499 Object tr = newInstance(sCtPoint, new Object[] {1, 1}); in setRecordingOrientation()
503 recordingRegion = newInstance(sCtQuad, new Object[] {bl, br, tl, tr}); in setRecordingOrientation()
509 recordingRegion = newInstance(sCtQuad, new Object[] {br, bl, tr, tl}); in setRecordingOrientation()
512 recordingRegion = newInstance(sCtQuad, new Object[] {tl, tr, bl, br}); in setRecordingOrientation()
580 mGraphEnv = newInstance(sCtGraphEnvironment); in initializeFilterFramework()
1189 private Object newInstance(Constructor<?> ct, Object[] initArgs) { in newInstance() method in EffectsRecorder
1191 return ct.newInstance(initArgs); in newInstance()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DStateManager.java55 state = klass.newInstance(); in startState()
77 state = klass.newInstance(); in startStateForResult()
236 state = klass.newInstance(); in switchState()
269 activityState = klass.newInstance(); in restoreFromState()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DHttpClientFactory.java59 Method newInstance = clazz.getMethod("newInstance", String.class); in newHttpClient() local
60 Object instance = newInstance.invoke(null, userAgent); in newHttpClient()
/packages/apps/Email/src/com/android/email/activity/setup/
DAccountCheckSettingsFragment.java129 public static AccountCheckSettingsFragment newInstance(int mode, Fragment parentFragment) { in newInstance() method in AccountCheckSettingsFragment
241 SecurityRequiredDialog.newInstance(this, message); in reportProgress()
253 ErrorDialog errorDialog = ErrorDialog.newInstance( in reportProgress()
276 mCheckingDialog = CheckingDialog.newInstance(this, mState); in reportProgress()
704 public static CheckingDialog newInstance(AccountCheckSettingsFragment parentFragment, in newInstance() method in AccountCheckSettingsFragment.CheckingDialog
807 public static ErrorDialog newInstance(Context context, AccountCheckSettingsFragment target, in newInstance() method in AccountCheckSettingsFragment.ErrorDialog
890 public static SecurityRequiredDialog newInstance(AccountCheckSettingsFragment target, in newInstance() method in AccountCheckSettingsFragment.SecurityRequiredDialog
DAccountSecurity.java127 PasswordExpirationDialog.newInstance(mAccount.getDisplayName(), in onCreate()
141 SecurityNeededDialog.newInstance(mAccount.getDisplayName()); in onCreate()
306 public static SecurityNeededDialog newInstance(String accountName) { in newInstance() method in AccountSecurity.SecurityNeededDialog
372 public static PasswordExpirationDialog newInstance(String accountName, boolean expired) { in newInstance() method in AccountSecurity.PasswordExpirationDialog
DDuplicateAccountDialogFragment.java40 public static DuplicateAccountDialogFragment newInstance(String note) { in newInstance() method in DuplicateAccountDialogFragment
DAccountSettingsEditQuickResponsesFragment.java80 .newInstance(quickResponse, mAccountId)
286 .newInstance(null, mAccount.mId) in onClick()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/
DCompatUtils.java93 public static Object newInstance(Constructor<?> constructor, Object ... args) { in newInstance() method in CompatUtils
96 return constructor.newInstance(args); in newInstance()
DSuggestionSpanUtils.java97 final Object ss = CompatUtils.newInstance(CONSTRUCTOR_SuggestionSpan, args); in getTextWithAutoCorrectionIndicatorUnderline()
139 final Object ss = CompatUtils.newInstance(CONSTRUCTOR_SuggestionSpan, args); in getTextWithSuggestionSpan()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/
DAndroidSpellCheckerSessionFactory.java22 public static Session newInstance(AndroidSpellCheckerService service) { in newInstance() method in AndroidSpellCheckerSessionFactory
/packages/wallpapers/LivePicker/src/com/android/wallpaper/livepicker/
DLiveWallpaperActivity.java49 DialogFragment fragment = WallpaperDialog.newInstance(); in onCreate()
70 public static WallpaperDialog newInstance() { in newInstance() method in LiveWallpaperActivity.WallpaperDialog
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DDecodeUtils.java208 return BitmapRegionDecoder.newInstance( in createBitmapRegionDecoder()
219 return BitmapRegionDecoder.newInstance(filePath, shareable); in createBitmapRegionDecoder()
229 return BitmapRegionDecoder.newInstance(fd, shareable); in createBitmapRegionDecoder()
239 return BitmapRegionDecoder.newInstance(is, shareable); in createBitmapRegionDecoder()
/packages/apps/Phone/src/com/android/phone/
DSipBroadcastReceiver.java96 SipAudioCall sipAudioCall = SipManager.newInstance(phoneContext) in takeCall()
113 SipManager sipManager = SipManager.newInstance(context); in registerAllProfiles()
/packages/apps/DeskClock/src/com/android/deskclock/
DLabelDialogFragment.java49 public static LabelDialogFragment newInstance(Alarm alarm, String label) { in newInstance() method in LabelDialogFragment
58 public static LabelDialogFragment newInstance(TimerObj timer, String label, String tag) { in newInstance() method in LabelDialogFragment
DAlarmUtils.java38 final AlarmTimePickerDialogFragment fragment = AlarmTimePickerDialogFragment.newInstance( in showTimeEditDialog()
/packages/apps/Launcher2/src/com/android/launcher2/
DWallpaperChooser.java43 DialogFragment fragment = WallpaperChooserDialogFragment.newInstance(); in onCreate()
/packages/apps/Email/src/com/android/email/mail/transport/
DExchangeSender.java34 public static Sender newInstance(Account account, Context context) throws MessagingException { in newInstance() method in ExchangeSender
/packages/apps/Email/src/org/apache/james/mime4j/util/
DTempStorage.java41 inst = (TempStorage) Class.forName(clazz).newInstance();
/packages/apps/Email/src/com/android/email/mail/store/
DExchangeStore.java35 public static Store newInstance(Account account, Context context) throws MessagingException { in newInstance() method in ExchangeStore
/packages/apps/Mms/src/com/android/mms/ui/
DPresenterFactory.java45 return (Presenter) constructor.newInstance(context, view, model); in getPresenter()
/packages/apps/Email/src/com/android/email/activity/
DUIControllerOnePane.java374 showFragment(MessageListFragment.newInstance(listContext)); in openInternal()
402 showFragment(MailboxListFragment.newInstance(accountId, Mailbox.NO_MAILBOX, false)); in openMailboxList()
406 showFragment(MessageViewFragment.newInstance(messageId)); in openMessage()
DDeleteMessageConfirmationDialog.java48 public static DeleteMessageConfirmationDialog newInstance(int countMessage, in newInstance() method in DeleteMessageConfirmationDialog

1234