/frameworks/base/core/java/android/content/res/ |
D | ConstantState.java | 44 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/ |
D | BitmapRegionDecoder.java | 60 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/ |
D | WifiP2pDnsSdServiceRequest.java | 61 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
|
D | WifiP2pServiceResponse.java | 197 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,
|
D | WifiP2pUpnpServiceRequest.java | 56 public static WifiP2pUpnpServiceRequest newInstance() { in newInstance() method in WifiP2pUpnpServiceRequest 73 public static WifiP2pUpnpServiceRequest newInstance(String st) { in newInstance() method in WifiP2pUpnpServiceRequest
|
D | WifiP2pServiceRequest.java | 195 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/ |
D | BitmapRegionTileSource.java | 57 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/ |
D | MediaBrowserSupport.java | 37 .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/ |
D | FragmentDialogOrActivitySupport.java | 42 DialogFragment newFragment = MyDialogFragment.newInstance(); in onCreate() 60 DialogFragment newFragment = MyDialogFragment.newInstance(); in showDialog() 67 static MyDialogFragment newInstance() { in newInstance() method in FragmentDialogOrActivitySupport.MyDialogFragment
|
D | FragmentCustomAnimationSupport.java | 51 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
|
D | FragmentStackSupport.java | 63 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
|
D | FragmentAlertDialogSupport.java | 58 DialogFragment newFragment = MyAlertDialogFragment.newInstance( in showDialog() 77 public static MyAlertDialogFragment newInstance(int title) { in newInstance() method in FragmentAlertDialogSupport.MyAlertDialogFragment
|
D | FragmentArgumentsSupport.java | 48 Fragment newFragment = MyFragment.newInstance("From Arguments"); in onCreate() 63 static MyFragment newInstance(CharSequence label) { in newInstance() method in FragmentArgumentsSupport.MyFragment
|
D | FragmentStackFragmentSupport.java | 40 Fragment newFragment = FragmentStackSupport.CountingFragment.newInstance(mStackLevel); in onCreate() 91 Fragment newFragment = FragmentStackSupport.CountingFragment.newInstance(mStackLevel); in addFragmentToStack()
|
D | FragmentPagerSupport.java | 84 return ArrayListFragment.newInstance(position); in getItem() 95 static ArrayListFragment newInstance(int num) { in newInstance() method in FragmentPagerSupport.ArrayListFragment
|
D | FragmentStatePagerSupport.java | 85 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/ |
D | SoundTriggerManager.java | 123 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/ |
D | ParceledListSliceAdapterApi21.java | 39 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/ |
D | BottomSheetModalBase.java | 50 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/ |
D | DelegateClassAdapterTest.java | 77 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/ |
D | PlaybackStateCompatApi21.java | 63 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/ |
D | SortedList.java | 94 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/ |
D | TestMethod.java | 87 TestCase test = ((Constructor<? extends TestCase>) constructor).newInstance(); in instantiateTest() 94 .newInstance(testName); in instantiateTest()
|
/frameworks/support/samples/Support13Demos/src/com/example/android/supportv13/app/ |
D | FragmentStatePagerSupport.java | 85 return ArrayListFragment.newInstance(position); in getItem() 96 static ArrayListFragment newInstance(int num) { in newInstance() method in FragmentStatePagerSupport.ArrayListFragment
|
D | FragmentPagerSupport.java | 85 return ArrayListFragment.newInstance(position); in getItem() 96 static ArrayListFragment newInstance(int num) { in newInstance() method in FragmentPagerSupport.ArrayListFragment
|