Searched refs:factory (Results 26 - 50 of 61) sorted by relevance

123

/frameworks/av/media/libeffects/proxy/
H A DAndroid.mk31 frameworks/av/media/libeffects/factory
/frameworks/base/tests/GridLayoutTest/src/com/android/test/layout/
H A DAlignmentTest.java98 ViewFactory factory = FACTORIES[(i + j) % FACTORIES.length];
99 container.addView(factory.create(name, 20), layoutParams);
/frameworks/base/core/java/android/preference/
H A DGenericInflater.java170 * Return the current factory (or null). This is called on each element
171 * name. If the factory returns an item, add that to the hierarchy. If it
181 * once; after setting, you can not change the factory. This is called on
182 * each element name as the XML is parsed. If the factory returns an item,
183 * that is added to the hierarchy. If it returns null, the next factory
187 * own factory to it, use {@link #cloneInContext} to clone the existing
189 * instance. This will merge your own factory with whatever factory the
192 public void setFactory(Factory<T> factory) { argument
195 "A factory ha
[all...]
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/
H A DBasicBitmapDrawable.java291 final FileDescriptorFactory factory) {
300 decode(factory);
314 protected void decode(final FileDescriptorFactory factory) { argument
334 mTask = new DecodeTask(mCurrKey, opts, factory, this, mCache);
290 fileDescriptorFactoryCreated(final RequestKey key, final FileDescriptorFactory factory) argument
/frameworks/support/v4/api21/android/support/v4/app/
H A DNotificationCompatApi21.java157 Bundle b, NotificationCompatBase.UnreadConversation.Factory factory,
196 return factory.build(
216 RemoteInputCompatBase.RemoteInput.Factory factory) {
217 return factory.build(remoteInput.getResultKey(),
156 getUnreadConversationFromBundle( Bundle b, NotificationCompatBase.UnreadConversation.Factory factory, RemoteInputCompatBase.RemoteInput.Factory remoteInputFactory) argument
214 toCompatRemoteInput( android.app.RemoteInput remoteInput, RemoteInputCompatBase.RemoteInput.Factory factory) argument
/frameworks/base/core/java/android/database/sqlite/
H A DSQLiteDatabase.java88 // The optional factory to use when creating new Cursors. May be null.
662 * @param factory an optional factory class that is called to instantiate a
668 public static SQLiteDatabase openDatabase(String path, CursorFactory factory, int flags) { argument
669 return openDatabase(path, factory, flags, null);
683 * @param factory an optional factory class that is called to instantiate a
691 public static SQLiteDatabase openDatabase(String path, CursorFactory factory, int flags, argument
693 SQLiteDatabase db = new SQLiteDatabase(path, flags, factory, errorHandler);
699 * Equivalent to openDatabase(file.getPath(), factory, CREATE_IF_NECESSAR
701 openOrCreateDatabase(File file, CursorFactory factory) argument
708 openOrCreateDatabase(String path, CursorFactory factory) argument
715 openOrCreateDatabase(String path, CursorFactory factory, DatabaseErrorHandler errorHandler) argument
826 create(CursorFactory factory) argument
[all...]
H A DSQLiteQueryBuilder.java140 * Sets the cursor factory to be used for the query. You can use
141 * one factory for all queries on a database but it is normally
142 * easier to specify the factory when doing this query.
144 * @param factory the factory to use.
146 public void setCursorFactory(SQLiteDatabase.CursorFactory factory) { argument
147 mFactory = factory;
/frameworks/native/libs/input/
H A DInputTransport.cpp399 status_t InputConsumer::consume(InputEventFactoryInterface* factory, argument
422 result = consumeBatch(factory, frameTime, outSeq, outEvent);
437 KeyEvent* keyEvent = factory->createKeyEvent();
465 status_t result = consumeSamples(factory,
493 MotionEvent* motionEvent = factory->createMotionEvent();
516 status_t InputConsumer::consumeBatch(InputEventFactoryInterface* factory, argument
522 result = consumeSamples(factory, batch, batch.samples.size(),
537 result = consumeSamples(factory, batch, split + 1, outSeq, outEvent);
554 status_t InputConsumer::consumeSamples(InputEventFactoryInterface* factory, argument
556 MotionEvent* motionEvent = factory
[all...]
/frameworks/base/services/core/java/com/android/server/firewall/
H A DIntentFirewall.java106 FilterFactory factory = factories[i];
107 factoryMap.put(factory.getTagName(), factory);
387 FilterFactory factory = factoryMap.get(elementName);
389 if (factory == null) {
392 return factory.newFilter(parser);
/frameworks/native/include/input/
H A DInputTransport.h283 * an InputEvent object created using the specified factory.
305 status_t consume(InputEventFactoryInterface* factory, bool consumeBatches,
426 status_t consumeBatch(InputEventFactoryInterface* factory,
428 status_t consumeSamples(InputEventFactoryInterface* factory,
/frameworks/support/v4/jellybean/android/support/v4/app/
H A DNotificationCompatJellybean.java244 NotificationCompatBase.Action.Factory factory,
253 return factory.build(icon, title, actionIntent, extras, remoteInputs);
275 NotificationCompatBase.Action.Factory factory,
289 return readAction(factory, remoteInputFactory,
243 readAction( NotificationCompatBase.Action.Factory factory, RemoteInputCompatBase.RemoteInput.Factory remoteInputFactory, int icon, CharSequence title, PendingIntent actionIntent, Bundle extras) argument
274 getAction(Notification notif, int actionIndex, NotificationCompatBase.Action.Factory factory, RemoteInputCompatBase.RemoteInput.Factory remoteInputFactory) argument
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/reflection/
H A DSdkUtil.java91 DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
92 DocumentBuilder builder = factory.newDocumentBuilder();
/frameworks/support/v4/kitkat/android/support/v4/app/
H A DNotificationCompatKitKat.java128 int actionIndex, NotificationCompatBase.Action.Factory factory,
137 return NotificationCompatJellybean.readAction(factory, remoteInputFactory,
127 getAction(Notification notif, int actionIndex, NotificationCompatBase.Action.Factory factory, RemoteInputCompatBase.RemoteInput.Factory remoteInputFactory) argument
/frameworks/support/v7/mediarouter/src/android/support/v7/app/
H A DMediaRouteButton.java180 * Gets the media route dialog factory to use when showing the route chooser
183 * @return The dialog factory, never null.
191 * Sets the media route dialog factory to use when showing the route chooser
194 * @param factory The dialog factory, must not be null.
196 public void setDialogFactory(@NonNull MediaRouteDialogFactory factory) { argument
197 if (factory == null) {
198 throw new IllegalArgumentException("factory must not be null");
201 mDialogFactory = factory;
214 * to provide a customized dialog factory
[all...]
/frameworks/base/media/java/android/media/
H A DTtmlRenderer.java382 XmlPullParserFactory factory = XmlPullParserFactory.newInstance();
383 factory.setNamespaceAware(false);
384 mParser = factory.newPullParser();
/frameworks/base/core/java/android/net/http/
H A DSslCertificate.java449 LayoutInflater factory = LayoutInflater.from(context);
451 View certificateView = factory.inflate(
/frameworks/base/core/java/android/widget/
H A DTabHost.java686 public FactoryContentStrategy(CharSequence tag, TabContentFactory factory) { argument
688 mFactory = factory;
/frameworks/base/libs/hwui/tests/
H A Dmain.cpp90 ContextFactory factory; local
91 std::unique_ptr<RenderProxy> proxy(new RenderProxy(false, rootNode, &factory));
/frameworks/opt/bitmap/src/com/android/bitmap/
H A DDecodeTask.java93 * @param factory The factory to obtain file descriptors to decode from. If this factory is
99 FileDescriptorFactory factory, DecodeCallback callback, BitmapCache cache) {
102 mFactory = factory;
98 DecodeTask(RequestKey requestKey, DecodeOptions decodeOpts, FileDescriptorFactory factory, DecodeCallback callback, BitmapCache cache) argument
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/configparse/
H A DConfigBuilder.java117 CertificateFactory factory = CertificateFactory.getInstance(X509);
118 caCert = (X509Certificate) factory.generateCertificate(
/frameworks/base/core/java/android/content/
H A DContextWrapper.java262 public SQLiteDatabase openOrCreateDatabase(String name, int mode, CursorFactory factory) { argument
263 return mBase.openOrCreateDatabase(name, mode, factory);
267 public SQLiteDatabase openOrCreateDatabase(String name, int mode, CursorFactory factory, argument
269 return mBase.openOrCreateDatabase(name, mode, factory, errorHandler);
/frameworks/base/opengl/java/android/opengl/
H A DGLSurfaceView.java373 public void setEGLContextFactory(EGLContextFactory factory) { argument
375 mEGLContextFactory = factory;
387 public void setEGLWindowSurfaceFactory(EGLWindowSurfaceFactory factory) { argument
389 mEGLWindowSurfaceFactory = factory;
/frameworks/base/core/java/android/content/res/
H A DResources.java2668 final android.content.res.ConstantState<ColorStateList> factory =
2670 if (factory != null) {
2671 return factory.newInstance();
2692 final android.content.res.ConstantState<ColorStateList> factory =
2694 if (factory != null) {
2695 csl = factory.newInstance(this, theme);
/frameworks/base/core/jni/
H A Dandroid_view_Surface.cpp479 ContextFactory factory; local
480 RenderProxy* proxy = new RenderProxy(false, rootNode, &factory);
H A Dandroid_view_ThreadedRenderer.cpp241 ContextFactoryImpl factory(rootRenderNode);
242 return (jlong) new RenderProxy(translucent, rootRenderNode, &factory);

Completed in 908 milliseconds

123