[Android] DirectBuffer more performance improvements