コード例 #1
0
 @Override
 public void switchLayer(Player player, MediaData data) {
   Layer layer = null;
   if (data != null) {
     layer = mLayers.get(data.mediaType);
     if (mCurrentPlayer == player && mCurrentLayer == layer) {
       MtkLog.i(TAG, "<switchLayer> same layer and player, return");
       return;
     }
   }
   unbind();
   if (player == null || data == null) {
     MtkLog.i(TAG, "<switchLayer> null player or data, return");
     return;
   }
   if (layer != null) {
     bind(player, layer, data);
   }
 }
コード例 #2
0
 public LivePhotoMember(Context context, GLIdleExecuter exe) {
   super(context, exe);
   MtkLog.i(TAG, "<LivePhotoMember> new LivePhotoMember");
 }