/frameworks/base/core/java/android/content/res/ |
H A D | ConstantState.java | 44 public abstract T newInstance(); method in class:ConstantState 52 public T newInstance(Resources res) { method in class:ConstantState 53 return newInstance(); 60 public T newInstance(Resources res, Resources.Theme theme) { method in class:ConstantState 61 return newInstance(res);
|
H A D | ConfigurationBoundResourceCache.java | 40 return entry.newInstance(resources, theme);
|
/frameworks/base/core/tests/coretests/src/android/net/http/ |
H A D | AndroidHttpClientProxyTest.java | 24 return AndroidHttpClient.newInstance(AbstractProxyTest.class.getName());
|
/frameworks/base/core/java/android/app/ |
H A D | AppComponentFactory.java | 50 return (Application) cl.loadClass(className).newInstance(); 69 return (Activity) cl.loadClass(className).newInstance(); 84 return (BroadcastReceiver) cl.loadClass(className).newInstance(); 103 return (Service) cl.loadClass(className).newInstance(); 121 return (ContentProvider) cl.loadClass(className).newInstance();
|
/frameworks/base/wifi/java/android/net/wifi/p2p/nsd/ |
H A D | WifiP2pDnsSdServiceRequest.java | 32 * This constructor is only used in newInstance(). 42 * This constructor is only used in newInstance(). 61 public static WifiP2pDnsSdServiceRequest newInstance() { method in class:WifiP2pDnsSdServiceRequest 75 public static WifiP2pDnsSdServiceRequest newInstance(String serviceType) { method in class:WifiP2pDnsSdServiceRequest 96 public static WifiP2pDnsSdServiceRequest newInstance(String instanceName, method in class:WifiP2pDnsSdServiceRequest
|
H A D | WifiP2pUpnpServiceRequest.java | 34 * This constructor is only used in newInstance(). 44 * This constructor is only used in newInstance(). 56 public static WifiP2pUpnpServiceRequest newInstance() { method in class:WifiP2pUpnpServiceRequest 73 public static WifiP2pUpnpServiceRequest newInstance(String st) { method in class:WifiP2pUpnpServiceRequest
|
/frameworks/support/frameworks/support/samples/SupportEmojiDemos/src/main/java/com/example/android/support/text/emoji/ |
H A D | MainActivity.java | 36 .add(R.id.fragment_container, MainFragment.newInstance()) 45 .replace(R.id.fragment_container, ListFragment.newInstance())
|
/frameworks/support/samples/SupportEmojiDemos/src/main/java/com/example/android/support/text/emoji/ |
H A D | MainActivity.java | 36 .add(R.id.fragment_container, MainFragment.newInstance()) 45 .replace(R.id.fragment_container, ListFragment.newInstance())
|
/frameworks/support/media/api21/android/support/v4/media/ |
H A D | ParceledListSliceAdapterApi21.java | 42 static Object newInstance(List<MediaBrowser.MediaItem> itemList) { method in class:ParceledListSliceAdapterApi21 45 result = sConstructor.newInstance(itemList);
|
/frameworks/support/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/media/ |
H A D | MediaBrowserSupport.java | 39 .add(R.id.container, BrowseFragment.newInstance(null)) 50 QueueFragment queueFragment = QueueFragment.newInstance(); 58 .replace(R.id.container, BrowseFragment.newInstance(item.getMediaId()))
|
/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/media/ |
H A D | MediaBrowserSupport.java | 39 .add(R.id.container, BrowseFragment.newInstance(null)) 50 QueueFragment queueFragment = QueueFragment.newInstance(); 58 .replace(R.id.container, BrowseFragment.newInstance(item.getMediaId()))
|
/frameworks/support/slices/core/src/main/java/androidx/slice/ |
H A D | ArrayUtils.java | 45 result = (T[]) Array.newInstance(kind, end + 1); 49 result = (T[]) Array.newInstance(kind, 1); 66 T[] result = (T[]) Array.newInstance(kind, length - 1);
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | BitmapRegionDecoder.java | 30 * <p>To create a BitmapRegionDecoder, call newInstance(...). 60 public static BitmapRegionDecoder newInstance(byte[] data, method in class:BitmapRegionDecoder 85 public static BitmapRegionDecoder newInstance( method in class:BitmapRegionDecoder 113 public static BitmapRegionDecoder newInstance(InputStream is, method in class:BitmapRegionDecoder 143 public static BitmapRegionDecoder newInstance(String pathName, method in class:BitmapRegionDecoder 150 decoder = newInstance(stream, isShareable);
|
/frameworks/support/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/app/ |
H A D | FragmentDialogOrActivitySupport.java | 43 DialogFragment newFragment = MyDialogFragment.newInstance(); 62 DialogFragment newFragment = MyDialogFragment.newInstance(); 69 static MyDialogFragment newInstance() { method in class:FragmentDialogOrActivitySupport.MyDialogFragment
|
/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/app/ |
H A D | FragmentDialogOrActivitySupport.java | 43 DialogFragment newFragment = MyDialogFragment.newInstance(); 62 DialogFragment newFragment = MyDialogFragment.newInstance(); 69 static MyDialogFragment newInstance() { method in class:FragmentDialogOrActivitySupport.MyDialogFragment
|
/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyTestServices/src/com/android/framework/multidexlegacytestservices/ |
H A D | ReflectIntermediateClass.java | 36 value += ((Integer) get.invoke(bigClass.newInstance())).intValue();
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/ |
H A D | PrintProgressFragment.java | 31 public static PrintProgressFragment newInstance() { method in class:PrintProgressFragment
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/ |
H A D | TunerPreferenceFragment.java | 29 .newInstance(preference.getKey());
|
/frameworks/support/work/workmanager/src/main/java/androidx/work/ |
H A D | ArrayCreatingInputMerger.java | 110 Object newArray = Array.newInstance(array1.getClass().getComponentType(), 118 Object newArray = Array.newInstance(obj1.getClass(), 2); 126 Object newArray = Array.newInstance(obj.getClass(), arrayLength + 1); 133 Object newArray = Array.newInstance(obj.getClass(), 1);
|
H A D | InputMerger.java | 54 return (InputMerger) clazz.newInstance();
|
/frameworks/base/core/java/com/android/internal/util/ |
H A D | RingBuffer.java | 41 mBuffer = (T[]) Array.newInstance(c, capacity); 81 return (T) mBuffer.getClass().getComponentType().newInstance();
|
/frameworks/support/compat/src/main/java/androidx/core/graphics/ |
H A D | TypefaceCompatApi28Impl.java | 51 Object familyArray = Array.newInstance(mFontFamily, 1); 63 Object familyArray = Array.newInstance(fontFamily, 1);
|
/frameworks/support/lifecycle/viewmodel/ktx/src/test/java/androidx/lifecycle/ |
H A D | ViewModelProviderTest.kt | 33 override fun <T : ViewModel> create(modelClass: Class<T>) = modelClass.newInstance()
|
/frameworks/support/compat/src/main/java/androidx/core/app/ |
H A D | AppComponentFactory.java | 104 return (Application) cl.loadClass(className).getDeclaredConstructor().newInstance(); 127 return (Activity) cl.loadClass(className).getDeclaredConstructor().newInstance(); 147 .newInstance(); 170 return (Service) cl.loadClass(className).getDeclaredConstructor().newInstance(); 192 return (ContentProvider) cl.loadClass(className).getDeclaredConstructor().newInstance();
|
/frameworks/support/transition/src/androidTest/java/androidx/transition/ |
H A D | FragmentTransitionTest.java | 68 final TransitionFragment fragment1 = TransitionFragment.newInstance(R.layout.scene2); 69 final TransitionFragment fragment2 = TransitionFragment.newInstance(R.layout.scene3); 82 final TransitionFragment fragment1 = TransitionFragment.newInstance(R.layout.scene2); 83 final TransitionFragment fragment2 = TransitionFragment.newInstance(R.layout.scene3); 103 final TransitionFragment fragment1 = TransitionFragment.newInstance(R.layout.scene2); 104 final TransitionFragment fragment2 = TransitionFragment.newInstance(R.layout.scene3); 175 public static TransitionFragment newInstance(@LayoutRes int layout) { method in class:FragmentTransitionTest.TransitionFragment
|