Home
last modified time | relevance | path

Searched defs:newInstance (Results 1 – 25 of 51) 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/apct-tests/perftests/core/src/android/libcore/regression/
DEqualsHashCodePerfTest.java44 Object newInstance(String text) throws Exception { in URI() method
50 Object newInstance(String text) throws Exception { in URL() method
55 abstract Object newInstance(String text) throws Exception; in newInstance() method in EqualsHashCodePerfTest.Type
/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/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/util/
DIconDrawableFactory.java117 public static IconDrawableFactory newInstance(Context context) { in newInstance() method in IconDrawableFactory
121 public static IconDrawableFactory newInstance(Context context, boolean embedShadow) { in newInstance() method in IconDrawableFactory
/frameworks/base/core/java/android/app/
DServiceStartNotAllowedException.java35 public static ServiceStartNotAllowedException newInstance(boolean foreground, in newInstance() method in ServiceStartNotAllowedException
/frameworks/opt/chips/src/com/android/ex/chips/
DCopyDialog.java23 public static CopyDialog newInstance(String text) { in newInstance() method in CopyDialog
/frameworks/multidex/library/src/androidx/multidex/
DMultiDex.java595 Object newInstance(File file, DexFile dex) in newInstance() method
614 public Object newInstance(File file, DexFile dex) in newInstance() method in MultiDex.V14.ICSElementConstructor
637 public Object newInstance(File file, DexFile dex) in newInstance() method in MultiDex.V14.JBMR11ElementConstructor
660 public Object newInstance(File file, DexFile dex) in newInstance() method in MultiDex.V14.JBMR2ElementConstructor
/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/core/tests/utiltests/src/com/android/internal/util/
DHeavyHitterSketchTest.java47 public void add(final T newInstance) { in add()
/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/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/
DCompanionVendorHelperDialogFragment.java66 static CompanionVendorHelperDialogFragment newInstance(AssociationRequest request) { in newInstance() method in CompanionVendorHelperDialogFragment
/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/packages/SettingsLib/src/com/android/settingslib/
DCustomEditTextPreference.java104 public static CustomPreferenceDialogFragment newInstance(String key) { in newInstance() method in CustomEditTextPreference.CustomPreferenceDialogFragment
DCustomEditTextPreferenceCompat.java99 public static CustomPreferenceDialogFragment newInstance(String key) { in newInstance() method in CustomEditTextPreferenceCompat.CustomPreferenceDialogFragment
DCustomDialogPreference.java92 public static CustomPreferenceDialogFragment newInstance(String key) { in newInstance() method in CustomDialogPreference.CustomPreferenceDialogFragment
DCustomDialogPreferenceCompat.java86 public static CustomPreferenceDialogFragment newInstance(String key) { in newInstance() method in CustomDialogPreferenceCompat.CustomPreferenceDialogFragment
/frameworks/base/services/companion/java/com/android/server/companion/
DCompanionDeviceServiceConnector.java81 static CompanionDeviceServiceConnector newInstance(@NonNull Context context, in newInstance() method in CompanionDeviceServiceConnector
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DCustomListPreference.java78 public static ListPreferenceDialogFragment newInstance(String key) { in newInstance() method in CustomListPreference.CustomListPreferenceDialogFragment
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DPackageInstallerActivity.java709 static AnonymousSourceDialog newInstance() { in newInstance() method in PackageInstallerActivity.AnonymousSourceDialog
739 static AppErrorDialog newInstance(@NonNull CharSequence applicationLabel) { in newInstance() method in OutOfSpaceDialog

123