Searched refs:factory (Results 1 - 25 of 61) sorted by relevance

123

/frameworks/support/v4/java/android/support/v4/view/
H A DLayoutInflaterCompat.java29 public void setFactory(LayoutInflater layoutInflater, LayoutInflaterFactory factory); argument
34 public void setFactory(LayoutInflater layoutInflater, LayoutInflaterFactory factory) { argument
35 LayoutInflaterCompatBase.setFactory(layoutInflater, factory);
41 public void setFactory(LayoutInflater layoutInflater, LayoutInflaterFactory factory) { argument
42 LayoutInflaterCompatHC.setFactory(layoutInflater, factory);
48 public void setFactory(LayoutInflater layoutInflater, LayoutInflaterFactory factory) { argument
49 LayoutInflaterCompatLollipop.setFactory(layoutInflater, factory);
74 * after setting, you can not change the factory.
78 public static void setFactory(LayoutInflater inflater, LayoutInflaterFactory factory) { argument
79 IMPL.setFactory(inflater, factory);
[all...]
/frameworks/support/v4/api21/android/support/v4/view/
H A DLayoutInflaterCompatLollipop.java23 static void setFactory(LayoutInflater inflater, LayoutInflaterFactory factory) { argument
24 inflater.setFactory2(factory != null
25 ? new LayoutInflaterCompatHC.FactoryWrapperHC(factory) : null);
/frameworks/base/core/jni/
H A Dandroid_emoji_EmojiFactory.cpp106 JNIEnv* env, EmojiFactory* factory, jstring name) {
108 reinterpret_cast<jlong>(factory), name);
128 EmojiFactory *factory = gCaller->TryCallGetImplementation(nameUtf.c_str()); local
129 // EmojiFactory *factory = EmojiFactory::GetImplementation(str.string());
130 if (NULL == factory) {
134 return create_java_EmojiFactory(env, factory, name);
144 EmojiFactory *factory = gCaller->TryCallGetAvailableImplementation(); local
145 // EmojiFactory *factory = EmojiFactory::GetAvailableImplementation();
146 if (NULL == factory) {
150 jstring jname = env->NewStringUTF(factory
105 create_java_EmojiFactory( JNIEnv* env, EmojiFactory* factory, jstring name) argument
160 EmojiFactory *factory = reinterpret_cast<EmojiFactory *>(nativeEmojiFactory); local
182 EmojiFactory *factory = reinterpret_cast<EmojiFactory *>(nativeEmojiFactory); local
188 EmojiFactory *factory = reinterpret_cast<EmojiFactory *>(nativeEmojiFactory); local
194 EmojiFactory *factory = reinterpret_cast<EmojiFactory *>(nativeEmojiFactory); local
200 EmojiFactory *factory = reinterpret_cast<EmojiFactory *>(nativeEmojiFactory); local
206 EmojiFactory *factory = reinterpret_cast<EmojiFactory *>(nativeEmojiFactory); local
212 EmojiFactory *factory = reinterpret_cast<EmojiFactory *>(nativeEmojiFactory); local
218 EmojiFactory *factory = reinterpret_cast<EmojiFactory *>(nativeEmojiFactory); local
224 EmojiFactory *factory = reinterpret_cast<EmojiFactory *>(nativeEmojiFactory); local
[all...]
/frameworks/support/v4/honeycomb/android/support/v4/view/
H A DLayoutInflaterCompatHC.java48 static void setFactory(LayoutInflater inflater, LayoutInflaterFactory factory) { argument
49 final LayoutInflater.Factory2 factory2 = factory != null
50 ? new FactoryWrapperHC(factory) : null;
55 // The merged factory is now set to getFactory(), but not getFactory2() (pre-v21).
56 // We will now try and force set the merged factory to mFactory2
70 static void forceSetFactory2(LayoutInflater inflater, LayoutInflater.Factory2 factory) { argument
84 sLayoutInflaterFactory2Field.set(inflater, factory);
/frameworks/support/v4/donut/android/support/v4/view/
H A DLayoutInflaterCompatBase.java44 static void setFactory(LayoutInflater inflater, LayoutInflaterFactory factory) { argument
45 inflater.setFactory(factory != null ? new FactoryWrapper(factory) : null);
/frameworks/av/media/libeffects/factory/
H A DAndroid.mk3 # Effect factory library
/frameworks/base/core/java/android/database/sqlite/
H A DSQLiteCursorDriver.java30 * @param factory The CursorFactory to use when creating the Cursors, or
34 Cursor query(CursorFactory factory, String[] bindArgs); argument
H A DSQLiteDirectCursorDriver.java43 public Cursor query(CursorFactory factory, String[] selectionArgs) { argument
49 if (factory == null) {
52 cursor = factory.newCursor(mDatabase, this, mEditTable, query);
H A DSQLiteOpenHelper.java71 * @param factory to use for creating cursor objects, or null for the default
76 public SQLiteOpenHelper(Context context, String name, CursorFactory factory, int version) { argument
77 this(context, name, factory, version, null);
90 * @param factory to use for creating cursor objects, or null for the default
97 public SQLiteOpenHelper(Context context, String name, CursorFactory factory, int version, argument
103 mFactory = factory;
/frameworks/base/core/java/android/widget/
H A DRemoteViewsService.java55 * 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 DViewSwitcher.java25 * {@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 DRemoteViewsAdapter.java204 IRemoteViewsFactory factory =
207 if (!factory.isCreated()) {
208 // We only call onDataSetChanged() if this is the factory was just
210 factory.onDataSetChanged();
213 Log.e(TAG, "Error notifying factory of data set changed in " +
220 Log.e(TAG, "Error notifying factory of data set changed in " +
984 IRemoteViewsFactory factory = mServiceConnection.getRemoteViewsFactory();
989 boolean hasStableIds = factory.hasStableIds();
990 int viewTypeCount = factory.getViewTypeCount();
991 int count = factory
[all...]
/frameworks/opt/emoji/
H A DEmojiFactory.cpp98 EmojiFactory *factory = (*get_emoji_factory)(); local
99 if (NULL == factory) {
100 ALOGE("Returned factory is NULL");
105 const char *name = factory->Name();
112 delete factory;
117 g_factories->push(factory);
118 // dlclose() must not be called here, since returned factory may point to
155 EmojiFactory *factory = g_factories->itemAt(i); local
156 if (!strcmp(name, factory->Name())) {
157 return factory;
168 EmojiFactory *factory = g_factories->itemAt(i); local
[all...]
/frameworks/opt/bitmap/src/com/android/bitmap/
H A DRequestKey.java123 * @param factory The FileDescriptorFactory to decode from. Pass null to cancel decode.
125 void fileDescriptorFactoryCreated(RequestKey key, FileDescriptorFactory factory); argument
/frameworks/support/v4/api20/android/support/v4/app/
H A DRemoteInputCompatApi20.java25 RemoteInputCompatBase.RemoteInput.Factory factory) {
29 RemoteInputCompatBase.RemoteInput[] result = factory.newArray(srcArray.length);
32 result[i] = factory.build(src.getResultKey(), src.getLabel(), src.getChoices(),
24 toCompat(RemoteInput[] srcArray, RemoteInputCompatBase.RemoteInput.Factory factory) argument
/frameworks/support/v4/jellybean/android/support/v4/app/
H A DRemoteInputCompatJellybean.java38 RemoteInputCompatBase.RemoteInput.Factory factory) {
39 return factory.build(data.getString(KEY_RESULT_KEY),
57 RemoteInputCompatBase.RemoteInput.Factory factory) {
61 RemoteInputCompatBase.RemoteInput[] remoteInputs = factory.newArray(bundles.length);
63 remoteInputs[i] = fromBundle(bundles[i], factory);
37 fromBundle(Bundle data, RemoteInputCompatBase.RemoteInput.Factory factory) argument
56 fromBundleArray(Bundle[] bundles, RemoteInputCompatBase.RemoteInput.Factory factory) argument
/frameworks/av/media/libmediaplayerservice/
H A DMediaPlayerFactory.cpp43 status_t MediaPlayerFactory::registerFactory_l(IFactory* factory, argument
45 if (NULL == factory) {
46 ALOGE("Failed to register MediaPlayerFactory of type %d, factory is"
57 if (sFactoryMap.add(type, factory) < 0) {
76 status_t MediaPlayerFactory::registerFactory(IFactory* factory, argument
79 return registerFactory_l(factory, type);
141 IFactory* factory; local
147 " factory", playerType);
151 factory = sFactoryMap.valueFor(playerType);
152 CHECK(NULL != factory);
[all...]
H A DMediaPlayerFactory.h53 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 DSingleFilterEffect.java59 FilterFactory factory = FilterFactory.sharedFactory();
60 Filter filter = factory.createFilterByClass(filterClass, filterName);
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/
H A DImageUtils.java99 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 DMediaRouteActionProvider.java196 * 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/java/android/view/
H A DViewStub.java253 final LayoutInflater factory;
255 factory = mInflater;
257 factory = LayoutInflater.from(mContext);
259 final View view = factory.inflate(mLayoutResource, parent,
H A DLayoutInflater.java260 * name. If the factory returns a View, add that to the hierarchy. If it
268 * Return the current {@link Factory2}. Returns null if no factory is set
269 * or the set factory does not implement the {@link Factory2} interface.
271 * name. If the factory returns a View, add that to the hierarchy. If it
281 * after setting, you can not change the factory. This is
282 * called on each element name as the xml is parsed. If the factory returns
284 * factory default {@link #onCreateView} method is called.
287 * LayoutInflater and want to add your own factory to it, use
290 * merge your own factory with whatever factory th
293 setFactory(Factory factory) argument
312 setFactory2(Factory2 factory) argument
330 setPrivateFactory(Factory2 factory) argument
[all...]
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
H A DViewStubCompat.java195 final LayoutInflater factory;
197 factory = mInflater;
199 factory = LayoutInflater.from(getContext());
201 final View view = factory.inflate(mLayoutResource, parent,
/frameworks/base/test-runner/src/android/test/
H A DRenamingDelegatingContext.java142 int mode, SQLiteDatabase.CursorFactory factory) {
148 return mFileContext.openOrCreateDatabase(internalName, mode, factory);
153 int mode, SQLiteDatabase.CursorFactory factory, DatabaseErrorHandler errorHandler) {
159 return mFileContext.openOrCreateDatabase(internalName, mode, factory, errorHandler);
141 openOrCreateDatabase(String name, int mode, SQLiteDatabase.CursorFactory factory) argument
152 openOrCreateDatabase(String name, int mode, SQLiteDatabase.CursorFactory factory, DatabaseErrorHandler errorHandler) argument

Completed in 688 milliseconds

123