/frameworks/support/compat/java/android/support/v4/view/ |
H A D | LayoutInflaterCompat.java | 71 static void forceSetFactory2(LayoutInflater inflater, LayoutInflater.Factory2 factory) { argument 85 sLayoutInflaterFactory2Field.set(inflater, factory); 95 public void setFactory(LayoutInflater inflater, LayoutInflaterFactory factory) { argument 96 final LayoutInflater.Factory2 factory2 = factory != null 97 ? new Factory2Wrapper(factory) : null; 101 public void setFactory2(LayoutInflater inflater, LayoutInflater.Factory2 factory) { argument 102 inflater.setFactory2(factory); 106 // The merged factory is now set to getFactory(), but not getFactory2() (pre-v21). 107 // We will now try and force set the merged factory to mFactory2 111 forceSetFactory2(inflater, factory); 129 setFactory(LayoutInflater inflater, LayoutInflaterFactory factory) argument 134 setFactory2(LayoutInflater inflater, LayoutInflater.Factory2 factory) argument 165 setFactory( @onNull LayoutInflater inflater, @NonNull LayoutInflaterFactory factory) argument 177 setFactory2( @onNull LayoutInflater inflater, @NonNull LayoutInflater.Factory2 factory) argument [all...] |
/frameworks/base/core/java/android/database/sqlite/ |
H A D | SQLiteCursorDriver.java | 30 * @param factory The CursorFactory to use when creating the Cursors, or 34 Cursor query(CursorFactory factory, String[] bindArgs); argument
|
H A D | SQLiteDirectCursorDriver.java | 43 public Cursor query(CursorFactory factory, String[] selectionArgs) { argument 49 if (factory == null) { 52 cursor = factory.newCursor(mDatabase, this, mEditTable, query);
|
H A D | SQLiteOpenHelper.java | 73 * @param factory to use for creating cursor objects, or null for the default 78 public SQLiteOpenHelper(Context context, String name, CursorFactory factory, int version) { argument 79 this(context, name, factory, version, null); 92 * @param factory to use for creating cursor objects, or null for the default 99 public SQLiteOpenHelper(Context context, String name, CursorFactory factory, int version, argument 101 this(context, name, factory, version, 0, errorHandler); 113 * @param factory to use for creating cursor objects, null for default 127 public SQLiteOpenHelper(Context context, String name, CursorFactory factory, int version, argument 133 mFactory = factory;
|
/frameworks/base/core/java/android/widget/ |
H A D | RemoteViewsService.java | 55 * Called when your factory is first constructed. The same factory may be shared across 72 * Called when the last RemoteViewsAdapter that is associated with this factory is 108 * @return The number of types of Views that will be returned by this factory. 133 public RemoteViewsFactoryAdapter(RemoteViewsFactory factory, boolean isCreated) { argument 134 mFactory = factory; 218 RemoteViewsFactory factory = RemoteViewsService.sRemoteViewFactories.get(fc); 220 factory.onDestroy(); 238 RemoteViewsFactory factory = null; 241 factory [all...] |
H A D | ViewSwitcher.java | 25 * {@link ViewAnimator} that switches between two views, and has a factory 26 * from which these views are created. You can either use the factory to 32 * The factory used to create the two children. 95 * Sets the factory used to create the two views between which the 96 * ViewSwitcher will flip. Instead of using a factory, you can call 100 * @param factory the view factory used to generate the switcher's content 102 public void setFactory(ViewFactory factory) { argument 103 mFactory = factory;
|
H A D | RemoteViewsAdapter.java | 224 IRemoteViewsFactory factory = 227 if (!factory.isCreated()) { 228 // We only call onDataSetChanged() if this is the factory was just 230 factory.onDataSetChanged(); 233 Log.e(TAG, "Error notifying factory of data set changed in " + 240 Log.e(TAG, "Error notifying factory of data set changed in " + 936 IRemoteViewsFactory factory = mServiceConnection.getRemoteViewsFactory(); 941 boolean hasStableIds = factory.hasStableIds(); 942 int viewTypeCount = factory.getViewTypeCount(); 943 int count = factory [all...] |
/frameworks/av/services/mediadrm/ |
H A D | MediaCasService.cpp | 75 CasFactory *factory; local 77 if (mCasLoader->findFactoryForScheme(CA_system_id, &library, &factory)) { 80 if (factory->createPlugin(CA_system_id, (uint64_t)casImpl.get(), 105 DescramblerFactory *factory; local 108 CA_system_id, &library, &factory)) { 110 if (factory->createPlugin(CA_system_id, &plugin) == OK
|
H A D | FactoryLoader.h | 42 T** factory = NULL); 60 T** factory); 72 int32_t CA_system_id, sp<SharedLibrary> *library, T** factory) { 76 if (factory != NULL) { 77 *factory = NULL; 87 CA_system_id, library, factory); 104 pluginPath, CA_system_id, library, factory)) { 149 sp<SharedLibrary> *library, T** factory) { 160 if (factory != NULL) { 161 *factory 71 findFactoryForScheme( int32_t CA_system_id, sp<SharedLibrary> *library, T** factory) argument 147 loadFactoryForSchemeFromPath( const String8 &path, int32_t CA_system_id, sp<SharedLibrary> *library, T** factory) argument [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
H A D | CertificateVerifier.java | 46 CertificateFactory factory = CertificateFactory.getInstance("X.509"); 49 CertPath path = factory.generateCertPath(
|
/frameworks/opt/bitmap/src/com/android/bitmap/ |
H A D | RequestKey.java | 123 * @param factory The FileDescriptorFactory to decode from. Pass null to cancel decode. 125 void fileDescriptorFactoryCreated(RequestKey key, FileDescriptorFactory factory); argument
|
/frameworks/av/media/libmediaplayerservice/ |
H A D | MediaPlayerFactory.cpp | 41 status_t MediaPlayerFactory::registerFactory_l(IFactory* factory, argument 43 if (NULL == factory) { 44 ALOGE("Failed to register MediaPlayerFactory of type %d, factory is" 55 if (sFactoryMap.add(type, factory) < 0) { 68 status_t MediaPlayerFactory::registerFactory(IFactory* factory, argument 71 return registerFactory_l(factory, type); 133 IFactory* factory; local 139 " factory", playerType); 143 factory = sFactoryMap.valueFor(playerType); 144 CHECK(NULL != factory); [all...] |
H A D | MediaPlayerFactory.h | 53 static status_t registerFactory(IFactory* factory, 79 static status_t registerFactory_l(IFactory* factory,
|
/frameworks/base/media/mca/effect/java/android/media/effect/ |
H A D | SingleFilterEffect.java | 59 FilterFactory factory = FilterFactory.sharedFactory(); 60 Filter filter = factory.createFilterByClass(filterClass, filterName);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | ExtensionControllerImpl.java | 49 public ExtensionController.ExtensionBuilder<T> withTunerFactory(TunerFactory<T> factory) { argument 50 mExtension.addTunerFactory(factory, factory.keys()); 156 public void addTunerFactory(TunerFactory<T> factory, String[] keys) { argument 157 mProducers.add(new TunerItem(factory, factory.keys())); 201 public TunerItem(TunerFactory<T> factory, String... setting) { argument 202 mFactory = factory;
|
H A D | ExtensionController.java | 40 ExtensionBuilder<T> withTunerFactory(TunerFactory<T> factory); argument
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/ |
H A D | ImageUtils.java | 99 final InputStreamFactory factory = createInputStreamFactory(resolver, uri); 101 final Point bounds = getImageBounds(factory); 109 result.bitmap = decodeStream(factory, null, opts); 130 * @param factory Used to create input streams that holds the raw data to be decoded into a 142 public static Bitmap decodeStream(final InputStreamFactory factory, final Rect outPadding, argument 147 is = factory.createInputStream(); 154 is = factory.createInputStream(); 192 * @param factory Used to create the InputStream. 196 private static Point getImageBounds(final InputStreamFactory factory) argument 200 decodeStream(factory, nul [all...] |
/frameworks/support/v7/mediarouter/src/android/support/v7/app/ |
H A D | MediaRouteActionProvider.java | 196 * Gets the media route dialog factory to use when showing the route chooser 199 * @return The dialog factory, never null. 207 * Sets the media route dialog factory to use when showing the route chooser 210 * @param factory The dialog factory, must not be null. 212 public void setDialogFactory(@NonNull MediaRouteDialogFactory factory) { argument 213 if (factory == null) { 214 throw new IllegalArgumentException("factory must not be null"); 217 if (mDialogFactory != factory) { 218 mDialogFactory = factory; [all...] |
/frameworks/base/core/tests/coretests/src/android/os/storage/ |
H A D | StorageManagerIntegrationTest.java | 264 final MyThreadFactory factory = new MyThreadFactory(); 267 ParcelFileDescriptor.MODE_READ_ONLY, callback, null, factory)) { 268 assertNotSame(Thread.State.TERMINATED, factory.thread.getState()); 274 factory.thread.join(3000); 275 assertEquals(Thread.State.TERMINATED, factory.thread.getState()); 279 ParcelFileDescriptor.MODE_WRITE_ONLY, callback, null, factory)) { 280 assertNotSame(Thread.State.TERMINATED, factory.thread.getState());
|
/frameworks/base/core/java/android/view/ |
H A D | ViewStub.java | 263 final LayoutInflater factory; 265 factory = mInflater; 267 factory = LayoutInflater.from(mContext); 269 final View view = factory.inflate(mLayoutResource, parent, false);
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | ViewStubCompat.java | 198 final LayoutInflater factory; 200 factory = mInflater; 202 factory = LayoutInflater.from(getContext()); 204 final View view = factory.inflate(mLayoutResource, parent,
|
/frameworks/support/compat/jellybean/android/support/v4/app/ |
H A D | RemoteInputCompatJellybean.java | 52 RemoteInputCompatBase.RemoteInput.Factory factory) { 60 return factory.build(data.getString(KEY_RESULT_KEY), 88 RemoteInputCompatBase.RemoteInput.Factory factory) { 92 RemoteInputCompatBase.RemoteInput[] remoteInputs = factory.newArray(bundles.length); 94 remoteInputs[i] = fromBundle(bundles[i], factory); 51 fromBundle(Bundle data, RemoteInputCompatBase.RemoteInput.Factory factory) argument 87 fromBundleArray(Bundle[] bundles, RemoteInputCompatBase.RemoteInput.Factory factory) argument
|
/frameworks/base/core/java/android/security/net/config/ |
H A D | ResourceCertificateSource.java | 59 CertificateFactory factory = CertificateFactory.getInstance("X.509"); 61 certs = factory.generateCertificates(in);
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
H A D | ExtensionControllerTest.java | 68 TunerFactory<Object> factory = new ExtensionController.TunerFactory() { 80 .withTunerFactory(factory)
|
/frameworks/base/test-runner/src/android/test/ |
H A D | RenamingDelegatingContext.java | 146 int mode, SQLiteDatabase.CursorFactory factory) { 152 return mFileContext.openOrCreateDatabase(internalName, mode, factory); 157 int mode, SQLiteDatabase.CursorFactory factory, DatabaseErrorHandler errorHandler) { 163 return mFileContext.openOrCreateDatabase(internalName, mode, factory, errorHandler); 145 openOrCreateDatabase(String name, int mode, SQLiteDatabase.CursorFactory factory) argument 156 openOrCreateDatabase(String name, int mode, SQLiteDatabase.CursorFactory factory, DatabaseErrorHandler errorHandler) argument
|