Home
last modified time | relevance | path

Searched refs:mTempBuffer (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/android/hardware/usb/
DUsbRequest.java72 private ByteBuffer mTempBuffer; field in UsbRequest
253 mTempBuffer = ByteBuffer.allocateDirect(mBuffer.remaining()); in queue()
258 mTempBuffer.put(mBuffer); in queue()
259 mTempBuffer.flip(); in queue()
264 buffer = mTempBuffer; in queue()
274 mTempBuffer = null; in queue()
292 } else if (mTempBuffer == null) { in dequeue()
295 mTempBuffer.limit(bytesTransferred); in dequeue()
305 mBuffer.put(mTempBuffer); in dequeue()
308 mTempBuffer = null; in dequeue()
/frameworks/base/core/java/com/android/internal/util/
DImageUtils.java44 private int[] mTempBuffer; field in ImageUtils
85 bitmap.getPixels(mTempBuffer, 0, width, 0, 0, width, height); in isGrayscale()
87 if (!isGrayscale(mTempBuffer[i])) { in isGrayscale()
98 if (mTempBuffer == null || mTempBuffer.length < size) { in ensureBufferSize()
99 mTempBuffer = new int[size]; in ensureBufferSize()