Home | History | Annotate | Download | only in media

Lines Matching refs:mBytes

203     private byte[] mBytes;
215 mBytes = null;
223 mBytes = bytes;
231 if (mBytes == null) {
235 if (mPoints == null || mPoints.length < mBytes.length * 4) {
236 mPoints = new float[mBytes.length * 4];
241 for (int i = 0; i < mBytes.length - 1; i++) {
242 mPoints[i * 4] = mRect.width() * i / (mBytes.length - 1);
244 + ((byte) (mBytes[i] + 128)) * (mRect.height() / 2) / 128;
245 mPoints[i * 4 + 2] = mRect.width() * (i + 1) / (mBytes.length - 1);
247 + ((byte) (mBytes[i + 1] + 128)) * (mRect.height() / 2) / 128;