Home
last modified time | relevance | path

Searched defs:newInstance (Results 1 – 25 of 55) sorted by relevance

123

/frameworks/base/core/java/android/content/res/
DConstantState.java44 public abstract T newInstance(); in newInstance() method in ConstantState
52 public T newInstance(Resources res) { in newInstance() method in ConstantState
60 public T newInstance(Resources res, Resources.Theme theme) { in newInstance() method in ConstantState
DGradientColor.java521 public GradientColor newInstance() { in newInstance() method in GradientColor.GradientColorFactory
526 public GradientColor newInstance(Resources res, Theme theme) { in newInstance() method in GradientColor.GradientColorFactory
/frameworks/base/graphics/java/android/graphics/
DBitmapRegionDecoder.java62 public static BitmapRegionDecoder newInstance(@NonNull byte[] data, in newInstance() method in BitmapRegionDecoder
78 public static BitmapRegionDecoder newInstance(@NonNull byte[] data, in newInstance() method in BitmapRegionDecoder
100 public static BitmapRegionDecoder newInstance( in newInstance() method in BitmapRegionDecoder
115 public static BitmapRegionDecoder newInstance( in newInstance() method in BitmapRegionDecoder
140 public static BitmapRegionDecoder newInstance(@NonNull InputStream is, in newInstance() method in BitmapRegionDecoder
157 public static BitmapRegionDecoder newInstance(@NonNull InputStream is) throws IOException { in newInstance() method in BitmapRegionDecoder
181 public static BitmapRegionDecoder newInstance(@NonNull String pathName, in newInstance() method in BitmapRegionDecoder
194 public static BitmapRegionDecoder newInstance(@NonNull String pathName) throws IOException { in newInstance() method in BitmapRegionDecoder
/frameworks/base/core/java/com/android/internal/util/
DHeavyHitterSketch.java62 void add(@Nullable T newInstance); in add()
170 public void add(@Nullable final T newInstance) { in add()
191 private void addToMGSummary(@Nullable final T newInstance) { in addToMGSummary()
223 private void validate(@Nullable final T newInstance) { in validate()
/frameworks/base/core/java/android/util/
DIconDrawableFactory.java96 public static IconDrawableFactory newInstance(Context context) { in newInstance() method in IconDrawableFactory
100 public static IconDrawableFactory newInstance(Context context, boolean embedShadow) { in newInstance() method in IconDrawableFactory
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DPrintProgressFragment.java31 public static PrintProgressFragment newInstance() { in newInstance() method in PrintProgressFragment
DPrintErrorFragment.java46 public static PrintErrorFragment newInstance(CharSequence message, int action) { in newInstance() method in PrintErrorFragment
/frameworks/base/core/java/android/app/
DServiceStartNotAllowedException.java35 public static ServiceStartNotAllowedException newInstance(boolean foreground, in newInstance() method in ServiceStartNotAllowedException
/frameworks/base/packages/BackupEncryption/src/com/android/server/backup/encryption/storage/
DBackupEncryptionDb.java31 public static BackupEncryptionDb newInstance(Context context) { in newInstance() method in BackupEncryptionDb
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DPackageInstallerActivity.java644 static SimpleErrorDialog newInstance(@StringRes int message) { in newInstance() method in PackageInstallerActivity.SimpleErrorDialog
673 static AnonymousSourceDialog newInstance() { in newInstance() method in PackageInstallerActivity.AnonymousSourceDialog
703 static SimpleErrorDialog newInstance() { in newInstance() method in NotSupportedOnWearDialog
718 static AppErrorDialog newInstance(@NonNull CharSequence applicationLabel) { in newInstance() method in OutOfSpaceDialog
/frameworks/opt/chips/src/com/android/ex/chips/
DCopyDialog.java23 public static CopyDialog newInstance(String text) { in newInstance() method in CopyDialog
/frameworks/base/packages/BackupEncryption/test/robolectric/src/com/android/server/backup/encryption/keys/
DTertiaryKeyRotationTrackerTest.java134 private static TertiaryKeyRotationTracker newInstance() { in newInstance() method in TertiaryKeyRotationTrackerTest
/frameworks/base/packages/BackupEncryption/src/com/android/server/backup/encryption/chunking/
DDiffScriptBackupWriter.java39 public static DiffScriptBackupWriter newInstance(OutputStream outputStream) { in newInstance() method in DiffScriptBackupWriter
/frameworks/multidex/library/src/androidx/multidex/
DMultiDex.java589 Object newInstance(File file, DexFile dex) in newInstance() method
608 public Object newInstance(File file, DexFile dex) in newInstance() method in MultiDex.V14.ICSElementConstructor
631 public Object newInstance(File file, DexFile dex) in newInstance() method in MultiDex.V14.JBMR11ElementConstructor
654 public Object newInstance(File file, DexFile dex) in newInstance() method in MultiDex.V14.JBMR2ElementConstructor
/frameworks/base/packages/BackupEncryption/src/com/android/server/backup/encryption/tasks/
DEncryptedFullRestoreTask.java63 public static EncryptedFullRestoreTask newInstance( in newInstance() method in EncryptedFullRestoreTask
DEncryptedKvRestoreTask.java67 public EncryptedKvRestoreTask newInstance( in newInstance() method in EncryptedKvRestoreTask.EncryptedKvRestoreTaskFactory
DEncryptedFullBackupTask.java80 public static EncryptedFullBackupTask newInstance( in newInstance() method in EncryptedFullBackupTask
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
DHeavyHitterSketchTest.java47 public void add(final T newInstance) { in add()
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/
DBitmapRegionTileSource.java57 public static SimpleBitmapRegionDecoderWrapper newInstance( in newInstance() method in SimpleBitmapRegionDecoderWrapper
70 public static SimpleBitmapRegionDecoderWrapper newInstance( in newInstance() method in SimpleBitmapRegionDecoderWrapper
101 public static DumbBitmapRegionDecoder newInstance(String pathName) { in newInstance() method in DumbBitmapRegionDecoder
108 public static DumbBitmapRegionDecoder newInstance(InputStream is) { in newInstance() method in DumbBitmapRegionDecoder
/frameworks/base/packages/BackupEncryption/src/com/android/server/backup/encryption/keys/
DTertiaryKeyStore.java59 public static TertiaryKeyStore newInstance( in newInstance() method in TertiaryKeyStore
/frameworks/base/core/java/android/security/keystore/recovery/
DRecoverySession.java65 static @NonNull RecoverySession newInstance(RecoveryController recoveryController) { in newInstance() method in RecoverySession
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/
DRecoverableKeyGenerator.java59 public static RecoverableKeyGenerator newInstance(RecoverableKeyStoreDb database) in newInstance() method in RecoverableKeyGenerator
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/storage/
DRecoverySnapshotStorage.java68 public static RecoverySnapshotStorage newInstance() { in newInstance() method in RecoverySnapshotStorage
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/widget/
DUpdatableListPreferenceDialogFragment.java53 public static UpdatableListPreferenceDialogFragment newInstance( in newInstance() method in UpdatableListPreferenceDialogFragment
/frameworks/base/media/java/android/media/
DImageWriter.java132 public static @NonNull ImageWriter newInstance(@NonNull Surface surface, in newInstance() method in ImageWriter
181 public static @NonNull ImageWriter newInstance(@NonNull Surface surface, in newInstance() method in ImageWriter
230 public static @NonNull ImageWriter newInstance(@NonNull Surface surface, in newInstance() method in ImageWriter

123