Searched refs:newInstance (Results 1 - 25 of 129) sorted by relevance

123456

/frameworks/base/core/java/android/content/res/
H A DConstantState.java42 public abstract T newInstance(); method in class:ConstantState
50 public T newInstance(Resources res) { method in class:ConstantState
51 return newInstance();
58 public T newInstance(Resources res, Resources.Theme theme) { method in class:ConstantState
59 return newInstance(res);
/frameworks/base/core/tests/coretests/src/android/net/http/
H A DAndroidHttpClientProxyTest.java24 return AndroidHttpClient.newInstance(AbstractProxyTest.class.getName());
/frameworks/base/wifi/java/android/net/wifi/p2p/nsd/
H A DWifiP2pDnsSdServiceRequest.java32 * 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 DWifiP2pUpnpServiceRequest.java34 * 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
H A DWifiP2pServiceResponse.java197 public static List<WifiP2pServiceResponse> newInstance(String supplicantEvent) { method in class:WifiP2pServiceResponse
249 resp = WifiP2pDnsSdServiceResponse.newInstance(status,
252 resp = WifiP2pUpnpServiceResponse.newInstance(status,
376 return WifiP2pDnsSdServiceResponse.newInstance(status,
379 return WifiP2pUpnpServiceResponse.newInstance(status,
H A DWifiP2pUpnpServiceInfo.java45 * This constructor is only used in newInstance().
71 public static WifiP2pUpnpServiceInfo newInstance(String uuid, method in class:WifiP2pUpnpServiceInfo
H A DWifiP2pServiceRequest.java69 * This constructor is only used in newInstance().
195 public static WifiP2pServiceRequest newInstance(int protocolType, String queryData) { method in class:WifiP2pServiceRequest
210 public static WifiP2pServiceRequest newInstance(int protocolType ) { method in class:WifiP2pServiceRequest
/frameworks/base/core/java/android/hardware/camera2/utils/
H A DCameraServiceBinderDecorator.java28 * @see android.hardware.camera2.utils.CameraBinderDecorator#newInstance
67 public static <T> T newInstance(T obj) { method in class:CameraServiceBinderDecorator
68 return Decorator.<T> newInstance(obj, new CameraServiceBinderDecoratorListener());
H A DCameraBinderDecorator.java34 * @see android.hardware.camera2.utils.CameraBinderDecorator#newInstance
165 public static <T> T newInstance(T obj) { method in class:CameraBinderDecorator
166 return Decorator.<T> newInstance(obj, new CameraBinderDecoratorListener());
H A DDecorator.java9 * @see android.hardware.camera2.utils.Decorator#newInstance
61 public static<T> T newInstance(T obj, DecoratorListener listener) { method in class:Decorator
/frameworks/base/graphics/java/android/graphics/
H A DBitmapRegionDecoder.java30 * <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/base/core/tests/hosttests/test-apps/MultiDexLegacyTestServices/src/com/android/framework/multidexlegacytestservices/
H A DReflectIntermediateClass.java36 value += ((Integer) get.invoke(bigClass.newInstance())).intValue();
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
H A DPrintProgressFragment.java31 public static PrintProgressFragment newInstance() { method in class:PrintProgressFragment
/frameworks/base/core/java/com/android/internal/policy/
H A DPolicyManager.java39 sPolicy = (IPolicy)policyClass.newInstance();
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/
H A DBitmapRegionTileSource.java57 public static SimpleBitmapRegionDecoderWrapper newInstance( method in class:SimpleBitmapRegionDecoderWrapper
60 BitmapRegionDecoder d = BitmapRegionDecoder.newInstance(pathName, isShareable);
70 public static SimpleBitmapRegionDecoderWrapper newInstance( method in class:SimpleBitmapRegionDecoderWrapper
73 BitmapRegionDecoder d = BitmapRegionDecoder.newInstance(is, isShareable);
101 public static DumbBitmapRegionDecoder newInstance(String pathName) { method in class:DumbBitmapRegionDecoder
108 public static DumbBitmapRegionDecoder newInstance(InputStream is) { method in class:DumbBitmapRegionDecoder
233 d = SimpleBitmapRegionDecoderWrapper.newInstance(mPath, true);
235 d = DumbBitmapRegionDecoder.newInstance(mPath);
275 SimpleBitmapRegionDecoderWrapper.newInstance(is, false);
279 regionDecoder = DumbBitmapRegionDecoder.newInstance(i
[all...]
/frameworks/base/test-runner/src/android/test/suitebuilder/
H A DTestMethod.java87 TestCase test = ((Constructor<? extends TestCase>) constructor).newInstance();
94 .newInstance(testName);
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DNativeBuffer.java48 result = (NativeBuffer)myClass.newInstance();
/frameworks/base/tools/layoutlib/bridge/src/dalvik/system/
H A DVMRuntime_Delegate.java37 return java.lang.reflect.Array.newInstance(componentType, size);
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/
H A DBluetoothMapFolderListing.java43 XmlPullParser xpp = XmlPullParserFactory.newInstance().newPullParser();
H A DBluetoothMapMessagesListing.java45 XmlPullParser xpp = XmlPullParserFactory.newInstance().newPullParser();
/frameworks/support/v4/api21/android/support/v4/media/session/
H A DPlaybackStateCompatApi21.java51 public static Object newInstance(int state, long position, long bufferedPosition, method in class:PlaybackStateCompatApi21
/frameworks/support/v4/tests/java/android/support/v4/widget/
H A DScrollerCompatTestBase.java50 mScroller = constructor.newInstance(mApiLevel, getContext(), interpolator);
/frameworks/volley/src/com/android/volley/toolbox/
H A DVolley.java59 stack = new HttpClientStack(AndroidHttpClient.newInstance(userAgent));
/frameworks/base/tools/layoutlib/create/tests/com/android/tools/layoutlib/create/
H A DDelegateClassAdapterTest.java76 ClassWithNative instance1 = clazz1.newInstance();
104 Object i2 = clazz2.newInstance();
181 Object i2 = clazz2.newInstance();
246 Object o2 = outerClazz2.newInstance();
280 Object i2 = innerCons.newInstance(o2);
463 Object tcv = cons.newInstance(pw);
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/
H A DMarshalQueryableArray.java94 array = Array.newInstance(mComponentClass, arraySize);
110 array = copyListToArray(arrayList, Array.newInstance(mComponentClass, arraySize));

Completed in 7846 milliseconds

123456