/frameworks/base/core/jni/ |
H A D | android_emoji_EmojiFactory.cpp | 108 JNIEnv* env, EmojiFactory* factory, jstring name) { 110 static_cast<jint>(reinterpret_cast<uintptr_t>(factory)), name); 132 EmojiFactory *factory = gCaller->TryCallGetImplementation(str.string()); local 133 // EmojiFactory *factory = EmojiFactory::GetImplementation(str.string()); 134 if (NULL == factory) { 139 return create_java_EmojiFactory(env, factory, name); 149 EmojiFactory *factory = gCaller->TryCallGetAvailableImplementation(); local 150 // EmojiFactory *factory = EmojiFactory::GetAvailableImplementation(); 151 if (NULL == factory) { 154 String16 name_16(String8(factory 107 create_java_EmojiFactory( JNIEnv* env, EmojiFactory* factory, jstring name) argument 165 EmojiFactory *factory = reinterpret_cast<EmojiFactory *>(nativeEmojiFactory); local 199 EmojiFactory *factory = reinterpret_cast<EmojiFactory *>(nativeEmojiFactory); local 205 EmojiFactory *factory = reinterpret_cast<EmojiFactory *>(nativeEmojiFactory); local 211 EmojiFactory *factory = reinterpret_cast<EmojiFactory *>(nativeEmojiFactory); local 217 EmojiFactory *factory = reinterpret_cast<EmojiFactory *>(nativeEmojiFactory); local 223 EmojiFactory *factory = reinterpret_cast<EmojiFactory *>(nativeEmojiFactory); local 229 EmojiFactory *factory = reinterpret_cast<EmojiFactory *>(nativeEmojiFactory); local 235 EmojiFactory *factory = reinterpret_cast<EmojiFactory *>(nativeEmojiFactory); local 241 EmojiFactory *factory = reinterpret_cast<EmojiFactory *>(nativeEmojiFactory); local [all...] |
/frameworks/av/media/libeffects/factory/ |
H A D | Android.mk | 3 # Effect factory library
|
/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 | 72 * @param factory to use for creating cursor objects, or null for the default 77 public SQLiteOpenHelper(Context context, String name, CursorFactory factory, int version) { argument 78 this(context, name, factory, version, null); 91 * @param factory to use for creating cursor objects, or null for the default 98 public SQLiteOpenHelper(Context context, String name, CursorFactory factory, int version, argument 104 mFactory = factory;
|
H A D | SQLiteDatabase.java | 88 // 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 824 create(CursorFactory factory) argument [all...] |
/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 | 27 * {@link ViewAnimator} that switches between two views, and has a factory 28 * from which these views are created. You can either use the factory to 34 * The factory used to create the two children. 104 * Sets the factory used to create the two views between which the 105 * ViewSwitcher will flip. Instead of using a factory, you can call 109 * @param factory the view factory used to generate the switcher's content 111 public void setFactory(ViewFactory factory) { argument 112 mFactory = factory;
|
H A D | RemoteViewsAdapter.java | 187 IRemoteViewsFactory factory = 190 if (!factory.isCreated()) { 191 // We only call onDataSetChanged() if this is the factory was just 193 factory.onDataSetChanged(); 196 Log.e(TAG, "Error notifying factory of data set changed in " + 203 Log.e(TAG, "Error notifying factory of data set changed in " + 914 IRemoteViewsFactory factory = mServiceConnection.getRemoteViewsFactory(); 919 boolean hasStableIds = factory.hasStableIds(); 920 int viewTypeCount = factory.getViewTypeCount(); 921 int count = factory [all...] |
/frameworks/opt/emoji/ |
H A D | EmojiFactory.cpp | 98 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/av/media/libmediaplayerservice/ |
H A D | MediaPlayerFactory.cpp | 40 status_t MediaPlayerFactory::registerFactory_l(IFactory* factory, argument 42 if (NULL == factory) { 43 ALOGE("Failed to register MediaPlayerFactory of type %d, factory is" 54 if (sFactoryMap.add(type, factory) < 0) { 73 status_t MediaPlayerFactory::registerFactory(IFactory* factory, argument 76 return registerFactory_l(factory, type); 132 IFactory* factory; local 138 " factory", playerType); 142 factory = sFactoryMap.valueFor(playerType); 143 CHECK(NULL != factory); [all...] |
H A D | MediaPlayerFactory.h | 49 static status_t registerFactory(IFactory* factory, 72 static status_t registerFactory_l(IFactory* factory,
|
/frameworks/base/core/java/android/view/ |
H A D | ViewStub.java | 252 final LayoutInflater factory; 254 factory = mInflater; 256 factory = LayoutInflater.from(mContext); 258 final View view = factory.inflate(mLayoutResource, parent,
|
H A D | LayoutInflater.java | 242 * name. If the factory returns a View, add that to the hierarchy. If it 250 * Return the current {@link Factory2}. Returns null if no factory is set 251 * or the set factory does not implement the {@link Factory2} interface. 253 * name. If the factory returns a View, add that to the hierarchy. If it 263 * after setting, you can not change the factory. This is 264 * called on each element name as the xml is parsed. If the factory returns 266 * factory default {@link #onCreateView} method is called. 269 * LayoutInflater and want to add your own factory to it, use 272 * merge your own factory with whatever factory th 275 setFactory(Factory factory) argument 294 setFactory2(Factory2 factory) argument 312 setPrivateFactory(Factory2 factory) argument [all...] |
/frameworks/base/media/mca/effect/java/android/media/effect/ |
H A D | SingleFilterEffect.java | 62 FilterFactory factory = FilterFactory.sharedFactory(); 63 Filter filter = factory.createFilterByClass(filterClass, filterName);
|
/frameworks/base/test-runner/src/android/test/ |
H A D | RenamingDelegatingContext.java | 142 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
|
/frameworks/base/tests/GridLayoutTest/src/com/android/test/layout/ |
H A D | AlignmentTest.java | 88 ViewFactory factory = FACTORIES[(i + j) % FACTORIES.length]; 89 container.addView(factory.create(name, 20), layoutParams);
|
/frameworks/base/core/java/android/preference/ |
H A D | GenericInflater.java | 169 * Return the current factory (or null). This is called on each element 170 * name. If the factory returns an item, add that to the hierarchy. If it 180 * once; after setting, you can not change the factory. This is called on 181 * each element name as the XML is parsed. If the factory returns an item, 182 * that is added to the hierarchy. If it returns null, the next factory 186 * own factory to it, use {@link #cloneInContext} to clone the existing 188 * instance. This will merge your own factory with whatever factory the 191 public void setFactory(Factory<T> factory) { argument 194 "A factory ha [all...] |
/frameworks/base/include/androidfw/ |
H A D | InputTransport.h | 270 * an InputEvent object created using the specified factory. 292 status_t consume(InputEventFactoryInterface* factory, bool consumeBatches, 413 status_t consumeBatch(InputEventFactoryInterface* factory, 415 status_t consumeSamples(InputEventFactoryInterface* factory,
|
/frameworks/base/libs/androidfw/ |
H A D | InputTransport.cpp | 386 status_t InputConsumer::consume(InputEventFactoryInterface* factory, argument 409 result = consumeBatch(factory, frameTime, outSeq, outEvent); 424 KeyEvent* keyEvent = factory->createKeyEvent(); 452 status_t result = consumeSamples(factory, 480 MotionEvent* motionEvent = factory->createMotionEvent(); 503 status_t InputConsumer::consumeBatch(InputEventFactoryInterface* factory, argument 509 result = consumeSamples(factory, batch, batch.samples.size(), 521 result = consumeSamples(factory, batch, split + 1, outSeq, outEvent); 538 status_t InputConsumer::consumeSamples(InputEventFactoryInterface* factory, argument 540 MotionEvent* motionEvent = factory [all...] |
/frameworks/base/core/java/android/content/ |
H A D | ContextWrapper.java | 222 public SQLiteDatabase openOrCreateDatabase(String name, int mode, CursorFactory factory) { argument 223 return mBase.openOrCreateDatabase(name, mode, factory); 227 public SQLiteDatabase openOrCreateDatabase(String name, int mode, CursorFactory factory, argument 229 return mBase.openOrCreateDatabase(name, mode, factory, errorHandler);
|
H A D | Context.java | 763 * @param factory An optional factory class that is called to instantiate a 776 int mode, CursorFactory factory); 790 * @param factory An optional factory class that is called to instantiate a 804 int mode, CursorFactory factory, DatabaseErrorHandler errorHandler); 775 openOrCreateDatabase(String name, int mode, CursorFactory factory) argument 803 openOrCreateDatabase(String name, int mode, CursorFactory factory, DatabaseErrorHandler errorHandler) argument
|
/frameworks/base/core/java/android/emoji/ |
H A D | EmojiFactory.java | 98 * @return Bitmap object when this factory knows the Bitmap relevant to the codepoint. 130 * @return Bitmap object when this factory knows the Bitmap relevant to the code. Otherwise 143 * @return Bitmap object when this factory knows the Bitmap relevant to the code. Otherwise 242 * @param class_name Name of the factory. This must include complete package name. 275 private native void nativeDestructor(int factory); argument
|
/frameworks/base/core/java/android/net/http/ |
H A D | SslCertificate.java | 434 LayoutInflater factory = LayoutInflater.from(context); 436 View certificateView = factory.inflate(
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/ |
H A D | AccessPointParserHelper.java | 358 SAXParserFactory factory = SAXParserFactory.newInstance(); 359 SAXParser saxParser = factory.newSAXParser();
|