Home
last modified time | relevance | path

Searched refs:newInstance (Results 1 – 25 of 198) sorted by relevance

12345678

/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
53 return newInstance(); in newInstance()
60 public T newInstance(Resources res, Resources.Theme theme) { in newInstance() method in ConstantState
61 return newInstance(res); in newInstance()
/frameworks/base/graphics/java/android/graphics/
DBitmapRegionDecoder.java60 public static BitmapRegionDecoder newInstance(byte[] data, in newInstance() method in BitmapRegionDecoder
85 public static BitmapRegionDecoder newInstance( in newInstance() method in BitmapRegionDecoder
113 public static BitmapRegionDecoder newInstance(InputStream is, in newInstance() method in BitmapRegionDecoder
143 public static BitmapRegionDecoder newInstance(String pathName, in newInstance() method in BitmapRegionDecoder
150 decoder = newInstance(stream, isShareable); in newInstance()
/frameworks/base/wifi/java/android/net/wifi/p2p/nsd/
DWifiP2pDnsSdServiceRequest.java61 public static WifiP2pDnsSdServiceRequest newInstance() { in newInstance() method in WifiP2pDnsSdServiceRequest
75 public static WifiP2pDnsSdServiceRequest newInstance(String serviceType) { in newInstance() method in WifiP2pDnsSdServiceRequest
96 public static WifiP2pDnsSdServiceRequest newInstance(String instanceName, in newInstance() method in WifiP2pDnsSdServiceRequest
DWifiP2pServiceResponse.java197 public static List<WifiP2pServiceResponse> newInstance(String supplicantEvent) { in newInstance() method in WifiP2pServiceResponse
249 resp = WifiP2pDnsSdServiceResponse.newInstance(status, in newInstance()
252 resp = WifiP2pUpnpServiceResponse.newInstance(status, in newInstance()
376 return WifiP2pDnsSdServiceResponse.newInstance(status,
379 return WifiP2pUpnpServiceResponse.newInstance(status,
DWifiP2pUpnpServiceRequest.java56 public static WifiP2pUpnpServiceRequest newInstance() { in newInstance() method in WifiP2pUpnpServiceRequest
73 public static WifiP2pUpnpServiceRequest newInstance(String st) { in newInstance() method in WifiP2pUpnpServiceRequest
DWifiP2pServiceRequest.java195 public static WifiP2pServiceRequest newInstance(int protocolType, String queryData) { in newInstance() method in WifiP2pServiceRequest
210 public static WifiP2pServiceRequest newInstance(int protocolType ) { in newInstance() method in WifiP2pServiceRequest
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/
DBitmapRegionTileSource.java57 public static SimpleBitmapRegionDecoderWrapper newInstance( in newInstance() method in SimpleBitmapRegionDecoderWrapper
60 BitmapRegionDecoder d = BitmapRegionDecoder.newInstance(pathName, isShareable); in newInstance()
70 public static SimpleBitmapRegionDecoderWrapper newInstance( in newInstance() method in SimpleBitmapRegionDecoderWrapper
73 BitmapRegionDecoder d = BitmapRegionDecoder.newInstance(is, isShareable); in newInstance()
101 public static DumbBitmapRegionDecoder newInstance(String pathName) { in newInstance() method in DumbBitmapRegionDecoder
108 public static DumbBitmapRegionDecoder newInstance(InputStream is) { in newInstance() method in DumbBitmapRegionDecoder
233 d = SimpleBitmapRegionDecoderWrapper.newInstance(mPath, true); in loadBitmapRegionDecoder()
235 d = DumbBitmapRegionDecoder.newInstance(mPath); in loadBitmapRegionDecoder()
275 SimpleBitmapRegionDecoderWrapper.newInstance(is, false); in loadBitmapRegionDecoder()
279 regionDecoder = DumbBitmapRegionDecoder.newInstance(is); in loadBitmapRegionDecoder()
[all …]
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/
DMediaBrowserSupport.java37 .add(R.id.container, BrowseFragment.newInstance(null)) in onCreate()
46 QueueFragment queueFragment = QueueFragment.newInstance(); in onMediaItemSelected()
53 .replace(R.id.container, BrowseFragment.newInstance(item.getMediaId())) in onMediaItemSelected()
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/app/
DFragmentDialogOrActivitySupport.java42 DialogFragment newFragment = MyDialogFragment.newInstance(); in onCreate()
60 DialogFragment newFragment = MyDialogFragment.newInstance(); in showDialog()
67 static MyDialogFragment newInstance() { in newInstance() method in FragmentDialogOrActivitySupport.MyDialogFragment
DFragmentCustomAnimationSupport.java51 Fragment newFragment = CountingFragment.newInstance(mStackLevel); in onCreate()
70 Fragment newFragment = CountingFragment.newInstance(mStackLevel); in addFragmentToStack()
93 static CountingFragment newInstance(int num) { in newInstance() method in FragmentCustomAnimationSupport.CountingFragment
DFragmentStackSupport.java63 Fragment newFragment = CountingFragment.newInstance(mStackLevel); in onCreate()
82 Fragment newFragment = CountingFragment.newInstance(mStackLevel); in addFragmentToStack()
102 static CountingFragment newInstance(int num) { in newInstance() method in FragmentStackSupport.CountingFragment
DFragmentAlertDialogSupport.java58 DialogFragment newFragment = MyAlertDialogFragment.newInstance( in showDialog()
77 public static MyAlertDialogFragment newInstance(int title) { in newInstance() method in FragmentAlertDialogSupport.MyAlertDialogFragment
DFragmentArgumentsSupport.java48 Fragment newFragment = MyFragment.newInstance("From Arguments"); in onCreate()
63 static MyFragment newInstance(CharSequence label) { in newInstance() method in FragmentArgumentsSupport.MyFragment
DFragmentStackFragmentSupport.java40 Fragment newFragment = FragmentStackSupport.CountingFragment.newInstance(mStackLevel); in onCreate()
91 Fragment newFragment = FragmentStackSupport.CountingFragment.newInstance(mStackLevel); in addFragmentToStack()
DFragmentPagerSupport.java84 return ArrayListFragment.newInstance(position); in getItem()
95 static ArrayListFragment newInstance(int num) { in newInstance() method in FragmentPagerSupport.ArrayListFragment
DFragmentStatePagerSupport.java85 return ArrayListFragment.newInstance(position); in getItem()
96 static ArrayListFragment newInstance(int num) { in newInstance() method in FragmentStatePagerSupport.ArrayListFragment
/frameworks/base/media/java/android/media/soundtrigger/
DSoundTriggerManager.java123 SoundTriggerDetector newInstance = new SoundTriggerDetector(mSoundTriggerService, in createSoundTriggerDetector() local
125 mReceiverInstanceMap.put(soundModelId, newInstance); in createSoundTriggerDetector()
126 return newInstance; in createSoundTriggerDetector()
/frameworks/support/media-compat/api21/android/support/v4/media/
DParceledListSliceAdapterApi21.java39 static Object newInstance(List<MediaBrowser.MediaItem> itemList) { in newInstance() method in ParceledListSliceAdapterApi21
42 result = sConstructor.newInstance(itemList); in newInstance()
/frameworks/support/samples/SupportDesignDemos/src/com/example/android/support/design/widget/
DBottomSheetModalBase.java50 ModalFragment.newInstance(5)
54 ModalFragment.newInstance(ModalFragment.LENGTH_ALL)
70 public static ModalFragment newInstance(int length) { in newInstance() method in BottomSheetModalBase.ModalFragment
/frameworks/base/tools/layoutlib/create/tests/com/android/tools/layoutlib/create/
DDelegateClassAdapterTest.java77 ClassWithNative instance1 = clazz1.newInstance(); in testNoOp()
105 Object i2 = clazz2.newInstance(); in testNoOp()
182 Object i2 = clazz2.newInstance(); in testDelegateNative()
247 Object o2 = outerClazz2.newInstance(); in testDelegateInner()
281 Object i2 = innerCons.newInstance(o2); in testDelegateInner()
329 Object o2 = outerClazz2.newInstance(); in testDelegateStaticInner()
336 Object i2 = innerCons.newInstance(); in testDelegateStaticInner()
519 Object tcv = cons.newInstance(pw); in dumpGeneratedClass()
/frameworks/support/media-compat/api21/android/support/v4/media/session/
DPlaybackStateCompatApi21.java63 public static Object newInstance(int state, long position, long bufferedPosition, in newInstance() method in PlaybackStateCompatApi21
95 public static Object newInstance(String action, CharSequence name, in newInstance() method in PlaybackStateCompatApi21.CustomAction
/frameworks/support/v7/recyclerview/src/android/support/v7/util/
DSortedList.java94 mData = (T[]) Array.newInstance(klass, initialCapacity); in SortedList()
158 T[] copy = (T[]) Array.newInstance(mTClass, items.length); in addAll()
184 T[] copy = (T[]) Array.newInstance(mTClass, items.size()); in addAll()
280 mData = (T[]) Array.newInstance(mTClass, mergedCapacity); in merge()
649 T[] newData = (T[]) Array.newInstance(mTClass, mData.length + CAPACITY_GROWTH); in addToData()
/frameworks/base/test-runner/src/android/test/suitebuilder/
DTestMethod.java87 TestCase test = ((Constructor<? extends TestCase>) constructor).newInstance(); in instantiateTest()
94 .newInstance(testName); in instantiateTest()
/frameworks/support/samples/Support13Demos/src/com/example/android/supportv13/app/
DFragmentStatePagerSupport.java85 return ArrayListFragment.newInstance(position); in getItem()
96 static ArrayListFragment newInstance(int num) { in newInstance() method in FragmentStatePagerSupport.ArrayListFragment
DFragmentPagerSupport.java85 return ArrayListFragment.newInstance(position); in getItem()
96 static ArrayListFragment newInstance(int num) { in newInstance() method in FragmentPagerSupport.ArrayListFragment

12345678