Home
last modified time | relevance | path

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

1234567

/packages/apps/Launcher3/WallpaperPicker/src/com/android/photos/
DBitmapRegionTileSource.java57 public static SimpleBitmapRegionDecoderWrapper newInstance( in newInstance() method in SimpleBitmapRegionDecoderWrapper
60 BitmapRegionDecoder d = BitmapRegionDecoder.newInstance(pathName, isShareable); in newInstance()
70 public static SimpleBitmapRegionDecoderWrapper newInstance( in newInstance() method in SimpleBitmapRegionDecoderWrapper
73 BitmapRegionDecoder d = BitmapRegionDecoder.newInstance(is, isShareable); in newInstance()
101 public static DumbBitmapRegionDecoder newInstance(String pathName) { in newInstance() method in DumbBitmapRegionDecoder
108 public static DumbBitmapRegionDecoder newInstance(InputStream is) { in newInstance() method in DumbBitmapRegionDecoder
233 d = SimpleBitmapRegionDecoderWrapper.newInstance(mPath, true); in loadBitmapRegionDecoder()
235 d = DumbBitmapRegionDecoder.newInstance(mPath); in loadBitmapRegionDecoder()
275 SimpleBitmapRegionDecoderWrapper.newInstance(is, false); in loadBitmapRegionDecoder()
279 regionDecoder = DumbBitmapRegionDecoder.newInstance(is); in loadBitmapRegionDecoder()
[all …]
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/database/
DNoNullCursorAsyncQueryHandlerTest.java58 final ObjectHolder<Cursor> cursorHolder = ObjectHolder.newInstance(); in testCursorIsNotNull()
59 final ObjectHolder<Boolean> ranHolder = ObjectHolder.newInstance(false); in testCursorIsNotNull()
86 final ObjectHolder<Boolean> ranHolder = ObjectHolder.newInstance(false); in testCursorContainsCorrectCookies()
88 final ObjectHolder<Object> cookieHolder = ObjectHolder.newInstance(); in testCursorContainsCorrectCookies()
113 final ObjectHolder<Boolean> ranHolder = ObjectHolder.newInstance(false); in testCursorContainsCorrectColumns()
115 final ObjectHolder<Cursor> cursorHolder = ObjectHolder.newInstance(); in testCursorContainsCorrectColumns()
142 public static <E> ObjectHolder<E> newInstance() { in newInstance() method in NoNullCursorAsyncQueryHandlerTest.ObjectHolder
146 public static <E> ObjectHolder<E> newInstance(E value) { in newInstance() method in NoNullCursorAsyncQueryHandlerTest.ObjectHolder
/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/glrenderer/
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
/packages/apps/Email/src/com/android/email/activity/setup/
DAccountCheckSettingsFragment.java126 public static AccountCheckSettingsFragment newInstance(int mode, Fragment parentFragment) { in newInstance() method in AccountCheckSettingsFragment
248 SecurityRequiredDialog.newInstance(this, message); in reportProgress()
260 ErrorDialog errorDialog = ErrorDialog.newInstance( in reportProgress()
283 mCheckingDialog = CheckingDialog.newInstance(this, mState); in reportProgress()
684 public static CheckingDialog newInstance(AccountCheckSettingsFragment parentFragment, in newInstance() method in AccountCheckSettingsFragment.CheckingDialog
792 public static ErrorDialog newInstance(Context context, AccountCheckSettingsFragment target, in newInstance() method in AccountCheckSettingsFragment.ErrorDialog
885 public static SecurityRequiredDialog newInstance(AccountCheckSettingsFragment target, in newInstance() method in AccountCheckSettingsFragment.SecurityRequiredDialog
DAccountSecurity.java130 PasswordExpirationDialog.newInstance(mAccount.getDisplayName(), in onCreate()
147 SecurityNeededDialog.newInstance(mAccount.getDisplayName()); in onCreate()
320 public static SecurityNeededDialog newInstance(String accountName) { in newInstance() method in AccountSecurity.SecurityNeededDialog
386 public static PasswordExpirationDialog newInstance(String accountName, boolean expired) { in newInstance() method in AccountSecurity.PasswordExpirationDialog
DAccountSetupBasics.java506 DuplicateAccountDialogFragment.newInstance(duplicateAccountName); in onPostExecute()
511 AccountCheckSettingsFragment.newInstance( in onPostExecute()
543 NoteDialogFragment.newInstance(mProvider.note); in onNext()
691 public static NoteDialogFragment newInstance(String note) { in newInstance() method in AccountSetupBasics.NoteDialogFragment
DAccountSettingsEditQuickResponsesFragment.java140 EditQuickResponseDialog.newInstance(quickResponseText, uri, false) in onCreateView()
156 EditQuickResponseDialog.newInstance(null, mAccount.quickResponseUri, true) in onOptionsItemSelected()
DAccountSettings.java228 LoginWarningDialog.newInstance(loginWarningAccount, loginWarningReason); in onCreate()
657 AccountCheckSettingsFragment.newInstance(checkMode, target); in onProceedNext()
874 public static LoginWarningDialog newInstance(String accountName, String reason) {
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DStateManager.java56 state = klass.newInstance(); in startState()
82 state = klass.newInstance(); in startStateForResult()
246 state = klass.newInstance(); in switchState()
282 activityState = klass.newInstance(); in restoreFromState()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DDecodeUtils.java209 return BitmapRegionDecoder.newInstance( in createBitmapRegionDecoder()
220 return BitmapRegionDecoder.newInstance(filePath, shareable); in createBitmapRegionDecoder()
230 return BitmapRegionDecoder.newInstance(fd, shareable); in createBitmapRegionDecoder()
240 return BitmapRegionDecoder.newInstance(is, shareable); in createBitmapRegionDecoder()
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DWaitFragment.java55 public static WaitFragment newInstance(Account account) { in newInstance() method in WaitFragment
56 return newInstance(account, false); in newInstance()
59 public static WaitFragment newInstance(Account account, boolean def) { in newInstance() method in WaitFragment
/packages/apps/Dialer/src/com/android/dialer/dialpad/
DDialpadFragment.java1005 DialogFragment dialogFragment = ErrorDialogFragment.newInstance( in onLongClick()
1010 DialogFragment dialogFragment = ErrorDialogFragment.newInstance( in onLongClick()
1070 public static ErrorDialogFragment newInstance(int messageResId) { in newInstance() method in DialpadFragment.ErrorDialogFragment
1071 return newInstance(0, messageResId); in newInstance()
1074 public static ErrorDialogFragment newInstance(int titleResId, int messageResId) { in newInstance() method in DialpadFragment.ErrorDialogFragment
1144 DialogFragment dialogFragment = ErrorDialogFragment.newInstance( in handleDialButtonPressed()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DKey.java167 public static OptionalAttributes newInstance(final String outputText, final int altCode, in newInstance() method in Key.OptionalAttributes
211 mOptionalAttributes = OptionalAttributes.newInstance(outputText, CODE_UNSPECIFIED, in Key()
374 mOptionalAttributes = OptionalAttributes.newInstance(outputText, altCode, in Key()
376 mKeyVisualAttributes = KeyVisualAttributes.newInstance(keyAttr); in Key()
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
DObjectCache.java31 T newInstance(); in newInstance() method
59 result = mCallback.newInstance(); in get()
/packages/apps/DeskClock/src/com/android/deskclock/
DAlarmClockFragment.java577 LabelDialogFragment.newInstance(alarm, alarm.label, getTag()); in showLabelDialog()
1683 AlarmInstance newInstance = alarm.createInstanceAfter(Calendar.getInstance());
1684 newInstance = AlarmInstance.addInstance(cr, newInstance);
1686 AlarmStateManager.registerInstance(context, newInstance, true);
1687 return newInstance;
DLabelDialogFragment.java48 public static LabelDialogFragment newInstance(Alarm alarm, String label, String tag) { in newInstance() method in LabelDialogFragment
58 public static LabelDialogFragment newInstance(TimerObj timer, String label, String tag) { in newInstance() method in LabelDialogFragment
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DSlidingKeyInputPreview.java36 private final int[] mPreviewFrom = CoordinateUtils.newInstance();
37 private final int[] mPreviewTo = CoordinateUtils.newInstance();
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/
DCompatUtils.java79 public static Object newInstance(final Constructor<?> constructor, final Object ... args) { in newInstance() method in CompatUtils
82 return constructor.newInstance(args); in newInstance()
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/
DTest.java103 final Object instance = null == twoArgsConstructor ? declaringClass.newInstance() in runChosenTests()
104 : twoArgsConstructor.newInstance(mSeed, mMaxUnigrams); in runChosenTests()
/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/Settings/src/com/android/settings/wifi/
DWifiScanModeActivity.java67 mDialog = AlertDialogFragment.newInstance(mApp); in createDialog()
109 static AlertDialogFragment newInstance(String app) { in newInstance() method in WifiScanModeActivity.AlertDialogFragment
/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/services/Telephony/src/com/android/phone/
DSipBroadcastReceiver.java94 SipAudioCall sipAudioCall = SipManager.newInstance(phoneContext) in takeCall()
115 SipManager sipManager = SipManager.newInstance(context); in registerAllProfiles()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DUndoBarView.java75 mUndoText = StringTexture.newInstance(context.getString(R.string.undo), in UndoBarView()
77 mDeletedText = StringTexture.newInstance( in UndoBarView()

1234567