/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 | 71 * @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;
|
H A D | SQLiteQueryBuilder.java | 140 * 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/opt/bitmap/src/com/android/bitmap/ |
H A D | RequestKey.java | 120 * @param factory The FileDescriptorFactory to decode from. 122 void fileDescriptorFactoryCreated(RequestKey key, FileDescriptorFactory factory); argument
|
H A D | DecodeTask.java | 93 * @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/support/v4/api20/android/support/v4/app/ |
H A D | RemoteInputCompatApi20.java | 25 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/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 | TabHost.java | 718 public FactoryContentStrategy(CharSequence tag, TabContentFactory factory) { argument 720 mFactory = factory;
|
/frameworks/base/libs/hwui/tests/ |
H A D | main.cpp | 85 ContextFactory factory; local 86 RenderProxy* proxy = new RenderProxy(false, rootNode, &factory);
|
/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/support/v4/jellybean/android/support/v4/app/ |
H A D | RemoteInputCompatJellybean.java | 38 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/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/opt/photoviewer/src/com/android/ex/photo/util/ |
H A D | ImageUtils.java | 99 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 D | MediaRouteActionProvider.java | 196 * 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...] |
H A D | MediaRouteButton.java | 179 * Gets the media route dialog factory to use when showing the route chooser 182 * @return The dialog factory, never null. 190 * Sets the media route dialog factory to use when showing the route chooser 193 * @param factory The dialog factory, must not be null. 195 public void setDialogFactory(@NonNull MediaRouteDialogFactory factory) { argument 196 if (factory == null) { 197 throw new IllegalArgumentException("factory must not be null"); 200 mDialogFactory = factory; 213 * to provide a customized dialog factory [all...] |
/frameworks/av/media/libmediaplayerservice/ |
H A D | MediaPlayerFactory.cpp | 43 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) { 82 status_t MediaPlayerFactory::registerFactory(IFactory* factory, argument 85 return registerFactory_l(factory, type); 141 IFactory* factory; local 147 " factory", playerType); 151 factory = sFactoryMap.valueFor(playerType); 152 CHECK(NULL != factory); [all...] |
/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/jni/ |
H A D | android_emoji_EmojiFactory.cpp | 105 JNIEnv* env, EmojiFactory* factory, jstring name) { 107 reinterpret_cast<jlong>(factory), name); 127 EmojiFactory *factory = gCaller->TryCallGetImplementation(nameUtf.c_str()); local 128 // EmojiFactory *factory = EmojiFactory::GetImplementation(str.string()); 129 if (NULL == factory) { 133 return create_java_EmojiFactory(env, factory, name); 143 EmojiFactory *factory = gCaller->TryCallGetAvailableImplementation(); local 144 // EmojiFactory *factory = EmojiFactory::GetAvailableImplementation(); 145 if (NULL == factory) { 149 jstring jname = env->NewStringUTF(factory 104 create_java_EmojiFactory( JNIEnv* env, EmojiFactory* factory, jstring name) argument 159 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 230 EmojiFactory *factory = reinterpret_cast<EmojiFactory *>(nativeEmojiFactory); local [all...] |
H A D | android_view_Surface.cpp | 390 ContextFactory factory; local 391 RenderProxy* proxy = new RenderProxy(false, rootNode, &factory);
|
/frameworks/support/v4/kitkat/android/support/v4/app/ |
H A D | NotificationCompatKitKat.java | 127 int actionIndex, NotificationCompatBase.Action.Factory factory, 136 return NotificationCompatJellybean.readAction(factory, remoteInputFactory, 126 getAction(Notification notif, int actionIndex, NotificationCompatBase.Action.Factory factory, RemoteInputCompatBase.RemoteInput.Factory remoteInputFactory) argument
|
/frameworks/base/core/java/android/view/ |
H A D | LayoutInflater.java | 251 * name. If the factory returns a View, add that to the hierarchy. If it 259 * Return the current {@link Factory2}. Returns null if no factory is set 260 * or the set factory does not implement the {@link Factory2} interface. 262 * name. If the factory returns a View, add that to the hierarchy. If it 272 * after setting, you can not change the factory. This is 273 * called on each element name as the xml is parsed. If the factory returns 275 * factory default {@link #onCreateView} method is called. 278 * LayoutInflater and want to add your own factory to it, use 281 * merge your own factory with whatever factory th 284 setFactory(Factory factory) argument 303 setFactory2(Factory2 factory) argument 321 setPrivateFactory(Factory2 factory) argument [all...] |
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/ |
H A D | BasicBitmapDrawable.java | 258 final FileDescriptorFactory factory) { 266 decode(factory); 273 protected void decode(final FileDescriptorFactory factory) { argument 293 mTask = new DecodeTask(mCurrKey, opts, factory, this, mCache); 257 fileDescriptorFactoryCreated(final RequestKey key, final FileDescriptorFactory factory) argument
|
/frameworks/support/v4/api21/android/support/v4/app/ |
H A D | NotificationCompatApi21.java | 156 Bundle b, NotificationCompatBase.UnreadConversation.Factory factory, 195 return factory.build( 215 RemoteInputCompatBase.RemoteInput.Factory factory) { 216 return factory.build(remoteInput.getResultKey(), 155 getUnreadConversationFromBundle( Bundle b, NotificationCompatBase.UnreadConversation.Factory factory, RemoteInputCompatBase.RemoteInput.Factory remoteInputFactory) argument 213 toCompatRemoteInput( android.app.RemoteInput remoteInput, RemoteInputCompatBase.RemoteInput.Factory factory) argument
|