/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 | 40 public Cursor query(CursorFactory factory, String[] selectionArgs) { argument 52 if (factory == null) { 55 mCursor = factory.newCursor(mDatabase, this, mEditTable, query);
|
H A D | SQLiteOpenHelper.java | 63 * @param factory to use for creating cursor objects, or null for the default 67 public SQLiteOpenHelper(Context context, String name, CursorFactory factory, int version) { argument 72 mFactory = factory;
|
H A D | SQLiteQueryBuilder.java | 138 * Sets the cursor factory to be used for the query. You can use 139 * one factory for all queries on a database but it is normally 140 * easier to specify the factory when doing this query. @param 141 * factory the factor to use 143 public void setCursorFactory(SQLiteDatabase.CursorFactory factory) { argument 144 mFactory = factory;
|
H A D | SQLiteDatabase.java | 251 /** The optional factory to use when creating new Cursors */ 810 * @param factory an optional factory class that is called to instantiate a 816 public static SQLiteDatabase openDatabase(String path, CursorFactory factory, int flags) { argument 820 sqliteDatabase = new SQLiteDatabase(path, factory, flags); 836 sqliteDatabase = new SQLiteDatabase(path, factory, flags); 844 * Equivalent to openDatabase(file.getPath(), factory, CREATE_IF_NECESSARY). 846 public static SQLiteDatabase openOrCreateDatabase(File file, CursorFactory factory) { argument 847 return openOrCreateDatabase(file.getPath(), factory); 851 * Equivalent to openDatabase(path, factory, CREATE_IF_NECESSAR 853 openOrCreateDatabase(String path, CursorFactory factory) argument 868 create(CursorFactory factory) argument 1840 SQLiteDatabase(String path, CursorFactory factory, int flags) argument [all...] |
/frameworks/base/core/java/android/widget/ |
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. 90 * Sets the factory used to create the two views between which the 91 * ViewSwitcher will flip. Instead of using a factory, you can call 95 * @param factory the view factory used to generate the switcher's content 97 public void setFactory(ViewFactory factory) { argument 98 mFactory = factory;
|
H A D | TabHost.java | 616 public FactoryContentStrategy(CharSequence tag, TabContentFactory factory) { argument 618 mFactory = factory;
|
H A D | TextView.java | 2547 public final void setEditableFactory(Editable.Factory factory) { argument 2548 mEditableFactory = factory; 2555 public final void setSpannableFactory(Spannable.Factory factory) { argument 2556 mSpannableFactory = factory;
|
/frameworks/opt/emoji/ |
H A D | EmojiFactory.cpp | 98 EmojiFactory *factory = (*get_emoji_factory)(); local 99 if (NULL == factory) { 100 LOGE("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/base/test-runner/src/android/test/ |
H A D | RenamingDelegatingContext.java | 141 int mode, SQLiteDatabase.CursorFactory factory) { 147 return mFileContext.openOrCreateDatabase(internalName, mode, factory); 140 openOrCreateDatabase(String name, int mode, SQLiteDatabase.CursorFactory factory) 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/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/core/java/android/view/ |
H A D | LayoutInflater.java | 202 * Return the current factory (or null). This is called on each element 203 * name. If the factory returns a View, add that to the hierarchy. If it 213 * after setting, you can not change the factory. This is 214 * called on each element name as the xml is parsed. If the factory returns 216 * factory default {@link #onCreateView} method is called. 219 * LayoutInflater and want to add your own factory to it, use 222 * merge your own factory with whatever factory the original instance is 225 public void setFactory(Factory factory) { argument 227 throw new IllegalStateException("A factory ha [all...] |
/frameworks/base/core/jni/ |
H A D | android_emoji_EmojiFactory.cpp | 109 JNIEnv* env, EmojiFactory* factory, jstring name) { 113 (jint)factory, name); 137 EmojiFactory *factory = gCaller->TryCallGetImplementation(str.string()); local 138 // EmojiFactory *factory = EmojiFactory::GetImplementation(str.string()); 139 if (NULL == factory) { 144 return create_java_EmojiFactory(env, factory, name); 154 EmojiFactory *factory = gCaller->TryCallGetAvailableImplementation(); local 155 // EmojiFactory *factory = EmojiFactory::GetAvailableImplementation(); 156 if (NULL == factory) { 159 String16 name_16(String8(factory 108 create_java_EmojiFactory( JNIEnv* env, EmojiFactory* factory, jstring name) argument 170 EmojiFactory *factory = reinterpret_cast<EmojiFactory *>(nativeEmojiFactory); local 209 EmojiFactory *factory = reinterpret_cast<EmojiFactory *>(nativeEmojiFactory); local 215 EmojiFactory *factory = reinterpret_cast<EmojiFactory *>(nativeEmojiFactory); local 221 EmojiFactory *factory = reinterpret_cast<EmojiFactory *>(nativeEmojiFactory); local 227 EmojiFactory *factory = reinterpret_cast<EmojiFactory *>(nativeEmojiFactory); local 233 EmojiFactory *factory = reinterpret_cast<EmojiFactory *>(nativeEmojiFactory); local 239 EmojiFactory *factory = reinterpret_cast<EmojiFactory *>(nativeEmojiFactory); local 245 EmojiFactory *factory = reinterpret_cast<EmojiFactory *>(nativeEmojiFactory); local 251 EmojiFactory *factory = reinterpret_cast<EmojiFactory *>(nativeEmojiFactory); local [all...] |
/frameworks/base/libs/ui/ |
H A D | InputTransport.cpp | 558 status_t InputConsumer::consume(InputEventFactoryInterface* factory, InputEvent** outEvent) { argument 601 KeyEvent* keyEvent = factory->createKeyEvent(); 611 MotionEvent* motionEvent = factory->createMotionEvent();
|
/frameworks/base/core/java/android/content/ |
H A D | ContextWrapper.java | 202 public SQLiteDatabase openOrCreateDatabase(String name, int mode, CursorFactory factory) { argument 203 return mBase.openOrCreateDatabase(name, mode, factory);
|
H A D | Context.java | 577 * @param factory An optional factory class that is called to instantiate a 589 int mode, CursorFactory factory); 588 openOrCreateDatabase(String name, int mode, CursorFactory factory) argument
|
/frameworks/base/test-runner/src/android/test/mock/ |
H A D | MockContext.java | 182 SQLiteDatabase.CursorFactory factory) { 181 openOrCreateDatabase(String file, int mode, SQLiteDatabase.CursorFactory factory) argument
|
/frameworks/base/opengl/java/android/opengl/ |
H A D | GLSurfaceView.java | 323 public void setEGLContextFactory(EGLContextFactory factory) { argument 325 mEGLContextFactory = factory; 337 public void setEGLWindowSurfaceFactory(EGLWindowSurfaceFactory factory) { argument 339 mEGLWindowSurfaceFactory = factory;
|
/frameworks/base/core/java/android/app/ |
H A D | ContextImpl.java | 547 public SQLiteDatabase openOrCreateDatabase(String name, int mode, CursorFactory factory) { argument 549 SQLiteDatabase db = SQLiteDatabase.openOrCreateDatabase(f, factory);
|