Home
last modified time | relevance | path

Searched refs:factory (Results 1 – 25 of 53) sorted by relevance

123

/frameworks/base/core/jni/
Dandroid_emoji_EmojiFactory.cpp108 JNIEnv* env, EmojiFactory* factory, jstring name) { in create_java_EmojiFactory() argument
110 static_cast<jint>(reinterpret_cast<uintptr_t>(factory)), name); in create_java_EmojiFactory()
132 EmojiFactory *factory = gCaller->TryCallGetImplementation(str.string()); in android_emoji_EmojiFactory_newInstance() local
134 if (NULL == factory) { in android_emoji_EmojiFactory_newInstance()
139 return create_java_EmojiFactory(env, factory, name); in android_emoji_EmojiFactory_newInstance()
149 EmojiFactory *factory = gCaller->TryCallGetAvailableImplementation(); in android_emoji_EmojiFactory_newAvailableInstance() local
151 if (NULL == factory) { in android_emoji_EmojiFactory_newAvailableInstance()
154 String16 name_16(String8(factory->Name())); in android_emoji_EmojiFactory_newAvailableInstance()
160 return create_java_EmojiFactory(env, factory, jname); in android_emoji_EmojiFactory_newAvailableInstance()
165 EmojiFactory *factory = reinterpret_cast<EmojiFactory *>(nativeEmojiFactory); in android_emoji_EmojiFactory_getBitmapFromAndroidPua() local
[all …]
/frameworks/opt/emoji/
DEmojiFactory.cpp98 EmojiFactory *factory = (*get_emoji_factory)(); in TryRegisterEmojiFactory() local
99 if (NULL == factory) { in TryRegisterEmojiFactory()
105 const char *name = factory->Name(); in TryRegisterEmojiFactory()
112 delete factory; in TryRegisterEmojiFactory()
117 g_factories->push(factory); in TryRegisterEmojiFactory()
155 EmojiFactory *factory = g_factories->itemAt(i); in GetImplementation() local
156 if (!strcmp(name, factory->Name())) { in GetImplementation()
157 return factory; in GetImplementation()
168 EmojiFactory *factory = g_factories->itemAt(i); in GetAvailableImplementation() local
169 return factory; in GetAvailableImplementation()
/frameworks/base/core/java/android/widget/
DRemoteViewsService.java133 public RemoteViewsFactoryAdapter(RemoteViewsFactory factory, boolean isCreated) { in RemoteViewsFactoryAdapter() argument
134 mFactory = factory; in RemoteViewsFactoryAdapter()
218 RemoteViewsFactory factory = RemoteViewsService.sRemoteViewFactories.get(fc); in onDestroy() local
220 factory.onDestroy(); in onDestroy()
238 RemoteViewsFactory factory = null; in onBind() local
241 factory = onGetViewFactory(intent); in onBind()
242 sRemoteViewFactories.put(fc, factory); in onBind()
243 factory.onCreate(); in onBind()
246 factory = sRemoteViewFactories.get(fc); in onBind()
249 return new RemoteViewsFactoryAdapter(factory, isCreated); in onBind()
DRemoteViewsAdapter.java209 IRemoteViewsFactory factory = in onServiceConnected()
212 if (!factory.isCreated()) { in onServiceConnected()
215 factory.onDataSetChanged(); in onServiceConnected()
986 IRemoteViewsFactory factory = mServiceConnection.getRemoteViewsFactory(); in updateTemporaryMetaData() local
991 boolean hasStableIds = factory.hasStableIds(); in updateTemporaryMetaData()
992 int viewTypeCount = factory.getViewTypeCount(); in updateTemporaryMetaData()
993 int count = factory.getCount(); in updateTemporaryMetaData()
994 RemoteViews loadingView = factory.getLoadingView(); in updateTemporaryMetaData()
997 firstView = factory.getViewAt(0); in updateTemporaryMetaData()
1015 IRemoteViewsFactory factory = mServiceConnection.getRemoteViewsFactory(); in updateRemoteViews() local
[all …]
DViewSwitcher.java111 public void setFactory(ViewFactory factory) { in setFactory() argument
112 mFactory = factory; in setFactory()
/frameworks/av/media/libmediaplayerservice/
DMediaPlayerFactory.cpp40 status_t MediaPlayerFactory::registerFactory_l(IFactory* factory, in registerFactory_l() argument
42 if (NULL == factory) { in registerFactory_l()
54 if (sFactoryMap.add(type, factory) < 0) { in registerFactory_l()
73 status_t MediaPlayerFactory::registerFactory(IFactory* factory, in registerFactory() argument
76 return registerFactory_l(factory, type); in registerFactory()
132 IFactory* factory; in createPlayer() local
142 factory = sFactoryMap.valueFor(playerType); in createPlayer()
143 CHECK(NULL != factory); in createPlayer()
144 p = factory->createPlayer(); in createPlayer()
DMediaPlayerFactory.h49 static status_t registerFactory(IFactory* factory,
72 static status_t registerFactory_l(IFactory* factory,
/frameworks/base/core/java/android/database/sqlite/
DSQLiteDirectCursorDriver.java43 public Cursor query(CursorFactory factory, String[] selectionArgs) { in query() argument
49 if (factory == null) { in query()
52 cursor = factory.newCursor(mDatabase, this, mEditTable, query); in query()
DSQLiteOpenHelper.java77 public SQLiteOpenHelper(Context context, String name, CursorFactory factory, int version) { in SQLiteOpenHelper() argument
78 this(context, name, factory, version, null); in SQLiteOpenHelper()
98 public SQLiteOpenHelper(Context context, String name, CursorFactory factory, int version, in SQLiteOpenHelper() argument
104 mFactory = factory; in SQLiteOpenHelper()
DSQLiteDatabase.java668 public static SQLiteDatabase openDatabase(String path, CursorFactory factory, int flags) { in openDatabase() argument
669 return openDatabase(path, factory, flags, null); in openDatabase()
691 public static SQLiteDatabase openDatabase(String path, CursorFactory factory, int flags, in openDatabase() argument
693 SQLiteDatabase db = new SQLiteDatabase(path, flags, factory, errorHandler); in openDatabase()
701 public static SQLiteDatabase openOrCreateDatabase(File file, CursorFactory factory) { in openOrCreateDatabase() argument
702 return openOrCreateDatabase(file.getPath(), factory); in openOrCreateDatabase()
708 public static SQLiteDatabase openOrCreateDatabase(String path, CursorFactory factory) { in openOrCreateDatabase() argument
709 return openDatabase(path, factory, CREATE_IF_NECESSARY, null); in openOrCreateDatabase()
715 public static SQLiteDatabase openOrCreateDatabase(String path, CursorFactory factory, in openOrCreateDatabase() argument
717 return openDatabase(path, factory, CREATE_IF_NECESSARY, errorHandler); in openOrCreateDatabase()
[all …]
DSQLiteCursorDriver.java34 Cursor query(CursorFactory factory, String[] bindArgs); in query() argument
DSQLiteQueryBuilder.java146 public void setCursorFactory(SQLiteDatabase.CursorFactory factory) { in setCursorFactory() argument
147 mFactory = factory; in setCursorFactory()
/frameworks/base/core/java/android/view/
DLayoutInflater.java275 public void setFactory(Factory factory) { in setFactory() argument
279 if (factory == null) { in setFactory()
284 mFactory = factory; in setFactory()
286 mFactory = new FactoryMerger(factory, null, mFactory, mFactory2); in setFactory()
294 public void setFactory2(Factory2 factory) { in setFactory2() argument
298 if (factory == null) { in setFactory2()
303 mFactory = mFactory2 = factory; in setFactory2()
305 mFactory = new FactoryMerger(factory, factory, mFactory, mFactory2); in setFactory2()
312 public void setPrivateFactory(Factory2 factory) { in setPrivateFactory() argument
313 mPrivateFactory = factory; in setPrivateFactory()
DViewStub.java252 final LayoutInflater factory; in inflate() local
254 factory = mInflater; in inflate()
256 factory = LayoutInflater.from(mContext); in inflate()
258 final View view = factory.inflate(mLayoutResource, parent, in inflate()
/frameworks/base/test-runner/src/android/test/
DRenamingDelegatingContext.java142 int mode, SQLiteDatabase.CursorFactory factory) { in openOrCreateDatabase() argument
148 return mFileContext.openOrCreateDatabase(internalName, mode, factory); in openOrCreateDatabase()
153 int mode, SQLiteDatabase.CursorFactory factory, DatabaseErrorHandler errorHandler) { in openOrCreateDatabase() argument
159 return mFileContext.openOrCreateDatabase(internalName, mode, factory, errorHandler); in openOrCreateDatabase()
/frameworks/base/media/mca/effect/java/android/media/effect/
DSingleFilterEffect.java62 FilterFactory factory = FilterFactory.sharedFactory(); in SingleFilterEffect() local
63 Filter filter = factory.createFilterByClass(filterClass, filterName); in SingleFilterEffect()
/frameworks/base/core/java/android/preference/
DGenericInflater.java191 public void setFactory(Factory<T> factory) { in setFactory() argument
196 if (factory == null) { in setFactory()
201 mFactory = factory; in setFactory()
203 mFactory = new FactoryMerger<T>(factory, mFactory); in setFactory()
/frameworks/base/libs/androidfw/
DInputTransport.cpp386 status_t InputConsumer::consume(InputEventFactoryInterface* factory, in consume() argument
409 result = consumeBatch(factory, frameTime, outSeq, outEvent); in consume()
424 KeyEvent* keyEvent = factory->createKeyEvent(); in consume()
452 status_t result = consumeSamples(factory, in consume()
480 MotionEvent* motionEvent = factory->createMotionEvent(); in consume()
503 status_t InputConsumer::consumeBatch(InputEventFactoryInterface* factory, in consumeBatch() argument
509 result = consumeSamples(factory, batch, batch.samples.size(), in consumeBatch()
521 result = consumeSamples(factory, batch, split + 1, outSeq, outEvent); in consumeBatch()
538 status_t InputConsumer::consumeSamples(InputEventFactoryInterface* factory, in consumeSamples() argument
540 MotionEvent* motionEvent = factory->createMotionEvent(); in consumeSamples()
/frameworks/base/tests/GridLayoutTest/src/com/android/test/layout/
DAlignmentTest.java88 ViewFactory factory = FACTORIES[(i + j) % FACTORIES.length]; in create() local
89 container.addView(factory.create(name, 20), layoutParams); in create()
/frameworks/base/include/androidfw/
DInputTransport.h292 status_t consume(InputEventFactoryInterface* factory, bool consumeBatches,
413 status_t consumeBatch(InputEventFactoryInterface* factory,
415 status_t consumeSamples(InputEventFactoryInterface* factory,
/frameworks/base/core/java/android/content/
DContextWrapper.java222 public SQLiteDatabase openOrCreateDatabase(String name, int mode, CursorFactory factory) { in openOrCreateDatabase() argument
223 return mBase.openOrCreateDatabase(name, mode, factory); in openOrCreateDatabase()
227 public SQLiteDatabase openOrCreateDatabase(String name, int mode, CursorFactory factory, in openOrCreateDatabase() argument
229 return mBase.openOrCreateDatabase(name, mode, factory, errorHandler); in openOrCreateDatabase()
DContext.java776 int mode, CursorFactory factory); in openOrCreateDatabase() argument
804 int mode, CursorFactory factory, DatabaseErrorHandler errorHandler); in openOrCreateDatabase() argument
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
DAccessPointParserHelper.java358 SAXParserFactory factory = SAXParserFactory.newInstance(); in AccessPointParserHelper() local
359 SAXParser saxParser = factory.newSAXParser(); in AccessPointParserHelper()
/frameworks/base/core/java/android/net/http/
DSslCertificate.java434 LayoutInflater factory = LayoutInflater.from(context); in inflateCertificateView() local
436 View certificateView = factory.inflate( in inflateCertificateView()
/frameworks/base/opengl/java/android/opengl/
DGLSurfaceView.java372 public void setEGLContextFactory(EGLContextFactory factory) { in setEGLContextFactory() argument
374 mEGLContextFactory = factory; in setEGLContextFactory()
386 public void setEGLWindowSurfaceFactory(EGLWindowSurfaceFactory factory) { in setEGLWindowSurfaceFactory() argument
388 mEGLWindowSurfaceFactory = factory; in setEGLWindowSurfaceFactory()

123