Home
last modified time | relevance | path

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

123

/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/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
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
/frameworks/base/apct-tests/perftests/core/src/android/libcore/regression/
DEqualsHashCodePerfTest.java45 Object newInstance(String text) throws Exception { in URI() method
51 Object newInstance(String text) throws Exception { in URL() method
56 abstract Object newInstance(String text) throws Exception; in newInstance() method in EqualsHashCodePerfTest.Type
/frameworks/base/core/java/com/android/internal/util/
DHeavyHitterSketch.java63 void add(@Nullable T newInstance); in add()
171 public void add(@Nullable final T newInstance) { in add()
192 private void addToMGSummary(@Nullable final T newInstance) { in addToMGSummary()
224 private void validate(@Nullable final T newInstance) { in validate()
/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/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/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/services/tests/servicestests/src/com/android/server/media/projection/
DMediaProjectionSessionIdGeneratorTest.java91 MediaProjectionSessionIdGenerator newInstance = createGenerator(createSharePreferences()); in createAndGetNewSessionId_persistsNewValue() local
/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.java55 public void add(final T newInstance) { in add()
/frameworks/base/core/tests/InputMethodCoreTests/src/com/android/internal/inputmethod/
DInputMethodInfoSafeListTest.java127 final InputMethodInfoSafeList newInstance = in cloneViaParcel() local
/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/SettingsLib/DataStore/tests/src/com/android/settingslib/datastore/
DTestUtils.kt41 internal fun <T : Any> Class<T>.newInstance(arg: Any, type: Class<*> = arg.javaClass): T = in allCodecs() method
/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/
DCompanionVendorHelperDialogFragment.java67 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/
DCustomEditTextPreferenceCompat.java99 public static CustomPreferenceDialogFragment newInstance(String key) { in newInstance() method in CustomEditTextPreferenceCompat.CustomPreferenceDialogFragment
DCustomEditTextPreference.java104 public static CustomPreferenceDialogFragment newInstance(String key) { in newInstance() method in CustomEditTextPreference.CustomPreferenceDialogFragment
/frameworks/base/services/companion/java/com/android/server/companion/devicepresence/
DCompanionServiceConnector.java88 static CompanionServiceConnector newInstance(@NonNull Context context, in newInstance() method in CompanionServiceConnector
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DCustomListPreference.java78 public static ListPreferenceDialogFragment newInstance(String key) { in newInstance() method in CustomListPreference.CustomListPreferenceDialogFragment

123