Lines Matching defs:filePath

88     public static int getDuration(String filePath) {
89 Log.v(TAG, "getDuration - " + filePath);
92 mp.setDataSource(filePath);
104 public static boolean getCurrentPosition(String filePath){
105 Log.v(TAG, "GetCurrentPosition - " + filePath);
111 mp.setDataSource(filePath);
129 if (filePath.equals(MediaNames.SHORTMP3)){
139 public static boolean seekTo(String filePath){
140 Log.v(TAG, "seekTo " + filePath);
144 mp.setDataSource(filePath);
163 public static boolean setLooping(String filePath){
168 Log.v (TAG, "SetLooping - " + filePath);
171 mp.setDataSource(filePath);
201 public static boolean pause(String filePath) throws Exception {
202 Log.v(TAG, "pause - " + filePath);
208 mp.setDataSource(filePath);
219 Log.v(TAG, filePath + " pause currentPositon " + curPosition);
230 public static void prepareStopRelease(String filePath) throws Exception {
231 Log.v(TAG, "prepareStopRelease" + filePath);
233 mp.setDataSource(filePath);
239 public static void preparePauseRelease(String filePath) throws Exception {
240 Log.v(TAG, "preparePauseRelease" + filePath);
242 mp.setDataSource(filePath);
259 public static int videoHeight(String filePath) throws Exception {
260 Log.v(TAG, "videoHeight - " + filePath);
272 mMediaPlayer.setDataSource(filePath);
294 public static int videoWidth(String filePath) throws Exception {
295 Log.v(TAG, "videoWidth - " + filePath);
308 mMediaPlayer.setDataSource(filePath);
330 public static boolean videoSeekTo(String filePath) throws Exception {
331 Log.v(TAG, "videoSeekTo - " + filePath);
336 mp.setDataSource(filePath);
340 if (filePath.equals(MediaNames.VIDEO_SHORT_3GP)){
376 public static boolean seekToEnd(String filePath){
377 Log.v(TAG, "seekToEnd - " + filePath);
383 mp.setDataSource(filePath);
403 public static boolean shortMediaStop(String filePath){
404 Log.v(TAG, "shortMediaStop - " + filePath);
411 mp.setDataSource(filePath);
430 public static boolean playToEnd(String filePath){
431 Log.v(TAG, "shortMediaStop - " + filePath);
440 mp.setDataSource(filePath);
461 public static boolean seektoBeforeStart(String filePath){
462 Log.v(TAG, "seektoBeforeStart - " + filePath);
469 mp.setDataSource(filePath);
484 public static boolean mediaRecorderRecord(String filePath){
485 Log.v(TAG, "SoundRecording - " + filePath);
493 mRecorder.setOutputFile(filePath);
507 mp.setDataSource(filePath);
522 public static boolean getThumbnail(String filePath, String goldenPath){
523 Log.v(TAG, "getThumbnail - " + filePath);
536 mMediaMetadataRetriever.setDataSource(filePath);
589 public static boolean prepareAsyncReset(String filePath){
593 mp.setDataSource(filePath);
605 public static boolean isLooping(String filePath) {
614 mp.setDataSource(filePath);
639 public static boolean isLoopingAfterReset(String filePath) {
643 mp.setDataSource(filePath);
711 public static boolean prepareAsyncCallback(String filePath, boolean reset) throws Exception {
729 mMediaPlayer.setDataSource(filePath);
787 public static boolean playMediaSamples(String filePath) throws Exception {
788 return playMediaSamples(filePath, 2000);
792 public static boolean playMediaSamples(String filePath, int buffertime) throws Exception {
819 Log.v(TAG, "playMediaSamples: sample file name " + filePath);
820 mMediaPlayer.setDataSource(filePath);