Home
last modified time | relevance | path

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

12

/aosp14/frameworks/base/core/java/android/content/res/
H A 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
H A 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
H A DColorStateList.java750 public ColorStateList newInstance() { in newInstance() method in ColorStateList.ColorStateListFactory
755 public ColorStateList newInstance(Resources res, Theme theme) { in newInstance() method in ColorStateList.ColorStateListFactory
/aosp14/frameworks/base/graphics/java/android/graphics/
H A 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
/aosp14/frameworks/base/apct-tests/perftests/core/src/android/libcore/regression/
H A 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
/aosp14/frameworks/base/core/java/com/android/internal/util/
H A 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()
/aosp14/frameworks/base/core/java/android/util/
H A 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
/aosp14/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
H A DPrintProgressFragment.java31 public static PrintProgressFragment newInstance() { in newInstance() method in PrintProgressFragment
H A DPrintErrorFragment.java46 public static PrintErrorFragment newInstance(CharSequence message, int action) { in newInstance() method in PrintErrorFragment
/aosp14/frameworks/base/core/java/android/app/
H A DServiceStartNotAllowedException.java35 public static ServiceStartNotAllowedException newInstance(boolean foreground, in newInstance() method in ServiceStartNotAllowedException
/aosp14/frameworks/base/packages/WallpaperCropper/src/com/android/photos/
H A 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
/aosp14/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
H A DHeavyHitterSketchTest.java47 public void add(final T newInstance) { in add()
/aosp14/frameworks/base/core/java/android/security/keystore/recovery/
H A DRecoverySession.java65 static @NonNull RecoverySession newInstance(RecoveryController recoveryController) { in newInstance() method in RecoverySession
/aosp14/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/
H A DRecoverableKeyGenerator.java59 public static RecoverableKeyGenerator newInstance(RecoverableKeyStoreDb database) in newInstance() method in RecoverableKeyGenerator
/aosp14/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/
H A DCompanionVendorHelperDialogFragment.java66 static CompanionVendorHelperDialogFragment newInstance(AssociationRequest request) { in newInstance() method in CompanionVendorHelperDialogFragment
/aosp14/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/storage/
H A DRecoverySnapshotStorage.java68 public static RecoverySnapshotStorage newInstance() { in newInstance() method in RecoverySnapshotStorage
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
H A DCustomListPreference.java78 public static ListPreferenceDialogFragment newInstance(String key) { in newInstance() method in CustomListPreference.CustomListPreferenceDialogFragment
/aosp14/frameworks/base/packages/SettingsLib/src/com/android/settingslib/widget/
H A DUpdatableListPreferenceDialogFragment.java53 public static UpdatableListPreferenceDialogFragment newInstance( in newInstance() method in UpdatableListPreferenceDialogFragment
/aosp14/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
H A DPackageInstallerActivity.java709 static AnonymousSourceDialog newInstance() { in newInstance() method in PackageInstallerActivity.AnonymousSourceDialog
739 static AppErrorDialog newInstance(@NonNull CharSequence applicationLabel) { in newInstance() method in OutOfSpaceDialog
/aosp14/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
H A DCustomEditTextPreference.java104 public static CustomPreferenceDialogFragment newInstance(String key) { in newInstance() method in CustomEditTextPreference.CustomPreferenceDialogFragment
H A DCustomEditTextPreferenceCompat.java99 public static CustomPreferenceDialogFragment newInstance(String key) { in newInstance() method in CustomEditTextPreferenceCompat.CustomPreferenceDialogFragment
H A DCustomDialogPreferenceCompat.java86 public static CustomPreferenceDialogFragment newInstance(String key) { in newInstance() method in CustomDialogPreferenceCompat.CustomPreferenceDialogFragment
H A DCustomDialogPreference.java92 public static CustomPreferenceDialogFragment newInstance(String key) { in newInstance() method in CustomDialogPreference.CustomPreferenceDialogFragment
/aosp14/frameworks/base/services/companion/java/com/android/server/companion/
H A DCompanionDeviceServiceConnector.java81 static CompanionDeviceServiceConnector newInstance(@NonNull Context context, in newInstance() method in CompanionDeviceServiceConnector
/aosp14/frameworks/base/packages/SettingsLib/EntityHeaderWidgets/src/com/android/settingslib/widget/
H A DAppEntitiesHeaderController.java102 public static AppEntitiesHeaderController newInstance(@NonNull Context context, in newInstance() method in AppEntitiesHeaderController

12