Tabnine Logo
Log.d
Code IndexAdd Tabnine to your IDE (free)

How to use
d
method
in
io.vov.vitamio.utils.Log

Best Java code snippets using io.vov.vitamio.utils.Log.d (Showing top 20 results out of 315)

origin: curtis2/SuperVideoPlayer

 @Override
 public void onSeekComplete(MediaPlayer mp) {
  Log.d("onSeekComplete");
  if (mOnSeekCompleteListener != null)
   mOnSeekCompleteListener.onSeekComplete(mp);
 }
};
origin: curtis2/SuperVideoPlayer

private static int getCachedFeature() {
  if (cachedFeatureString == null) {
    StringBuffer sb = new StringBuffer();
    if ((cachedFeature & FEATURE_ARM_V5TE) > 0)
      sb.append("V5TE ");
    if ((cachedFeature & FEATURE_ARM_V6) > 0)
      sb.append("V6 ");
    if ((cachedFeature & FEATURE_ARM_VFP) > 0)
      sb.append("VFP ");
    if ((cachedFeature & FEATURE_ARM_V7A) > 0)
      sb.append("V7A ");
    if ((cachedFeature & FEATURE_ARM_VFPV3) > 0)
      sb.append("VFPV3 ");
    if ((cachedFeature & FEATURE_ARM_NEON) > 0)
      sb.append("NEON ");
    if ((cachedFeature & FEATURE_X86) > 0)
      sb.append("X86 ");
    if ((cachedFeature & FEATURE_MIPS) > 0)
      sb.append("MIPS ");
    cachedFeatureString = sb.toString();
  }
  Log.d("GET CPU FATURE: %s", cachedFeatureString);
  return cachedFeature;
}
origin: curtis2/SuperVideoPlayer

   public void onCompletion(MediaPlayer mp) {
  Log.d("onCompletion");
  mCurrentState = STATE_PLAYBACK_COMPLETED;
  mTargetState = STATE_PLAYBACK_COMPLETED;
  if (mMediaController != null)
   mMediaController.hide();
  if (mOnCompletionListener != null)
   mOnCompletionListener.onCompletion(mMediaPlayer);
 }
};
origin: curtis2/SuperVideoPlayer

public void suspend() {
 if (isInPlaybackState()) {
  release(false);
  mCurrentState = STATE_SUSPEND_UNSUPPORTED;
  Log.d("Unable to suspend video. Release MediaPlayer.");
 }
}
origin: curtis2/SuperVideoPlayer

public void scanDirectories(String[] directories) {
 try {
  long start = System.currentTimeMillis();
  prescan(null);
  long prescan = System.currentTimeMillis();
  for (int i = 0; i < directories.length; i++) {
   if (!TextUtils.isEmpty(directories[i])) {
    directories[i] = ContextUtils.fixLastSlash(directories[i]);
    processDirectory(directories[i], MediaFile.sFileExtensions);
   }
  }
  long scan = System.currentTimeMillis();
  postscan(directories);
  long end = System.currentTimeMillis();
  Log.d(" prescan time: %dms", prescan - start);
  Log.d("    scan time: %dms", scan - prescan);
  Log.d("postscan time: %dms", end - scan);
  Log.d("   total time: %dms", end - start);
 } catch (SQLException e) {
  Log.e("SQLException in MediaScanner.scan()", e);
 } catch (UnsupportedOperationException e) {
  Log.e("UnsupportedOperationException in MediaScanner.scan()", e);
 } catch (RemoteException e) {
  Log.e("RemoteException in MediaScanner.scan()", e);
 }
}
origin: curtis2/SuperVideoPlayer

 public boolean onError(MediaPlayer mp, int framework_err, int impl_err) {
  Log.d("Error: %d, %d", framework_err, impl_err);
  mCurrentState = STATE_ERROR;
  mTargetState = STATE_ERROR;
  if (mMediaController != null)
   mMediaController.hide();
  if (mOnErrorListener != null) {
   if (mOnErrorListener.onError(mMediaPlayer, framework_err, impl_err))
    return true;
  }
  if (getWindowToken() != null) {
   int message = framework_err == MediaPlayer.MEDIA_ERROR_NOT_VALID_FOR_PROGRESSIVE_PLAYBACK ? getResources().getIdentifier("VideoView_error_text_invalid_progressive_playback", "string", mContext.getPackageName()): getResources().getIdentifier("VideoView_error_text_unknown", "string", mContext.getPackageName());
   new AlertDialog.Builder(mContext).setTitle(getResources().getIdentifier("VideoView_error_title", "string", mContext.getPackageName())).setMessage(message).setPositiveButton(getResources().getIdentifier("VideoView_error_button", "string", mContext.getPackageName()), new DialogInterface.OnClickListener() {
    public void onClick(DialogInterface dialog, int whichButton) {
     if (mOnCompletionListener != null)
      mOnCompletionListener.onCompletion(mMediaPlayer);
    }
   }).setCancelable(false).show();
  }
  return true;
 }
};
origin: curtis2/SuperVideoPlayer

public void hide() {
  if (mAnchor == null)
    return;
  if (mShowing) {
    try {
      mHandler.removeMessages(SHOW_PROGRESS);
      if (mFromXml)
        setVisibility(View.GONE);
      else
        mWindow.dismiss();
    } catch (IllegalArgumentException ex) {
      Log.d("MediaController already removed");
    }
    mShowing = false;
    if (mHiddenListener != null)
      mHiddenListener.onHidden();
  }
}
origin: curtis2/SuperVideoPlayer

Log.d("%s:%s", key, cpuinfo.get(key));
try {
  int i = StringUtils.convertToInt(val);
  Log.d("CPU architecture: %s", i);
  if (i >= 7) {
    hasARMv6 = true;
origin: curtis2/SuperVideoPlayer

bitmap = BitmapFactory.decodeByteArray(sThumbBuf, 0, sThumbBuf.length);
if (bitmap == null)
 Log.d("couldn't decode byte array.");
bitmap = BitmapFactory.decodeByteArray(sThumbBuf, 0, sThumbBuf.length);
if (bitmap == null)
 Log.d("couldn't decode byte array.");
origin: curtis2/SuperVideoPlayer

 @Override
 public boolean onInfo(MediaPlayer mp, int what, int extra) {
  Log.d("onInfo: (%d, %d)", what, extra);
   
    if(MediaPlayer.MEDIA_INFO_UNKNOW_TYPE == what){
     Log.e(" VITAMIO--TYPE_CHECK  stype  not include  onInfo mediaplayer unknow type ");
   } 
   
   if(MediaPlayer.MEDIA_INFO_FILE_OPEN_OK == what){
     long buffersize=mMediaPlayer.audioTrackInit(); 
     mMediaPlayer.audioInitedOk(buffersize);
   }
  Log.d("onInfo: (%d, %d)", what, extra);
  if (mOnInfoListener != null) {
   mOnInfoListener.onInfo(mp, what, extra);
  } else if (mMediaPlayer != null) {
   if (what == MediaPlayer.MEDIA_INFO_BUFFERING_START) {
    mMediaPlayer.pause();
    if (mMediaBufferingIndicator != null)
     mMediaBufferingIndicator.setVisibility(View.VISIBLE);
   } else if (what == MediaPlayer.MEDIA_INFO_BUFFERING_END) {
    mMediaPlayer.start();
    if (mMediaBufferingIndicator != null)
     mMediaBufferingIndicator.setVisibility(View.GONE);
   }
  }
  return true;
 }
};
origin: curtis2/SuperVideoPlayer

   public void onVideoSizeChanged(MediaPlayer mp, int width, int height) {
  Log.d("onVideoSizeChanged: (%dx%d)", width, height);
  mVideoWidth = mp.getVideoWidth();
  mVideoHeight = mp.getVideoHeight();
  mVideoAspectRatio = mp.getVideoAspectRatio();
  if (mVideoWidth != 0 && mVideoHeight != 0)
   setVideoLayout(mVideoLayout, mAspectRatio);
 }
};
origin: curtis2/SuperVideoPlayer

Log.d("VIDEO: %dx%dx%f, Surface: %dx%d, LP: %dx%d, Window: %dx%dx%f", mVideoWidth, mVideoHeight, mVideoAspectRatio, mSurfaceWidth, mSurfaceHeight, lp.width, lp.height, windowWidth, windowHeight, windowRatio);
mVideoLayout = layout;
mAspectRatio = aspectRatio;
origin: curtis2/SuperVideoPlayer

mMediaPlayer.setOnTimedTextListener(mTimedTextListener);
Log.d(" set user optional --------  ");
HashMap<String, String> options = new HashMap<String, String>();
options.put("rtsp_transport", "tcp"); // udp
origin: curtis2/SuperVideoPlayer

public void onPrepared(MediaPlayer mp) {
 Log.d("onPrepared");
origin: yixia/VitamioBundleStudio

 @Override
 public void onSeekComplete(MediaPlayer mp) {
  Log.d("onSeekComplete");
  if (mOnSeekCompleteListener != null)
   mOnSeekCompleteListener.onSeekComplete(mp);
 }
};
origin: curtis2/SuperVideoPlayer

if (!vvo_loaded) {
 vvo_loaded = loadVAO_native_lib(  LIB_ROOT ,  "libvvo.j.so");
 Log.d("FALLBACK TO VVO JNI " + vvo_loaded);
origin: yixia/VitamioBundleStudio

   public void onCompletion(MediaPlayer mp) {
  Log.d("onCompletion");
  mCurrentState = STATE_PLAYBACK_COMPLETED;
  mTargetState = STATE_PLAYBACK_COMPLETED;
  if (mMediaController != null)
   mMediaController.hide();
  if (mOnCompletionListener != null)
   mOnCompletionListener.onCompletion(mMediaPlayer);
 }
};
origin: yixia/VitamioBundleStudio

public void suspend() {
 if (isInPlaybackState()) {
  release(false);
  mCurrentState = STATE_SUSPEND_UNSUPPORTED;
  Log.d("Unable to suspend video. Release MediaPlayer.");
 }
}
origin: whyalwaysmea/BigBoom

public void suspend() {
 if (isInPlaybackState()) {
  release(false);
  mCurrentState = STATE_SUSPEND_UNSUPPORTED;
  Log.d("Unable to suspend video. Release MediaPlayer.");
 }
}
origin: yixia/VitamioBundleStudio

   public void onVideoSizeChanged(MediaPlayer mp, int width, int height) {
  Log.d("onVideoSizeChanged: (%dx%d)", width, height);
  mVideoWidth = mp.getVideoWidth();
  mVideoHeight = mp.getVideoHeight();
  mVideoAspectRatio = mp.getVideoAspectRatio();
  if (mVideoWidth != 0 && mVideoHeight != 0)
   setVideoLayout(mVideoLayout, mAspectRatio);
 }
};
io.vov.vitamio.utilsLogd

Popular methods of Log

  • e
  • i

Popular in Java

  • Reactive rest calls using spring rest template
  • getExternalFilesDir (Context)
  • setScale (BigDecimal)
  • putExtra (Intent)
  • FileWriter (java.io)
    A specialized Writer that writes to a file in the file system. All write requests made by calling me
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • TimeZone (java.util)
    TimeZone represents a time zone offset, and also figures out daylight savings. Typically, you get a
  • SSLHandshakeException (javax.net.ssl)
    The exception that is thrown when a handshake could not be completed successfully.
  • ServletException (javax.servlet)
    Defines a general exception a servlet can throw when it encounters difficulty.
  • HttpServlet (javax.servlet.http)
    Provides an abstract class to be subclassed to create an HTTP servlet suitable for a Web site. A sub
  • Best plugins for Eclipse
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now