Lines Matching defs:create

149  *         of the overloaded convenient <code>create</code> methods are <em>NOT</em>
151 * state if the creation using <code>create</code> method is successful.
545 * associated with these listeners, applications are required to create
609 * Default constructor. Consider using one of the create() methods for
634 * It's easier to create it here than in C++.
805 * Convenience method to create a MediaPlayer for a given Uri.
819 public static MediaPlayer create(Context context, Uri uri) {
820 return create (context, uri, null);
824 * Convenience method to create a MediaPlayer for a given Uri.
839 public static MediaPlayer create(Context context, Uri uri, SurfaceHolder holder) {
841 return create(context, uri, holder, null, s > 0 ? s : 0);
845 * Same factory method as {@link #create(Context, Uri, SurfaceHolder)} but that lets you specify
855 public static MediaPlayer create(Context context, Uri uri, SurfaceHolder holder,
871 Log.d(TAG, "create failed:", ex);
874 Log.d(TAG, "create failed:", ex);
877 Log.d(TAG, "create failed:", ex);
884 // Note no convenience method to create a MediaPlayer with SurfaceTexture sink.
887 * Convenience method to create a MediaPlayer for a given resource id.
902 public static MediaPlayer create(Context context, int resid) {
904 return create(context, resid, null, s > 0 ? s : 0);
908 * Same factory method as {@link #create(Context, int)} but that lets you specify the audio
918 public static MediaPlayer create(Context context, int resid,
936 Log.d(TAG, "create failed:", ex);
939 Log.d(TAG, "create failed:", ex);
942 Log.d(TAG, "create failed:", ex);
1937 // TODO: create SubtitleController in MediaPlayer