I am not sure this part is open source actually. I searched the ONLYOFFICE GitHub repositories but do not find anything relevant.
Anyone knows?
According to the comments on this blog post the Android app is free but the source has not been opened.
However, at some point since then, the source code for the Android app was made available on GitHub.