/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/ |
D | ExifOutputStream.java | 82 private ByteBuffer mBuffer = ByteBuffer.allocate(4); field in ExifOutputStream 107 int byteNeeded = requestByteCount - mBuffer.position(); in requestByteToBuffer() 109 mBuffer.put(buffer, offset, byteToRead); in requestByteToBuffer() 142 if (mBuffer.position() < 2) { in write() 145 mBuffer.rewind(); in write() 146 if (mBuffer.getShort() != JpegHeader.SOI) { in write() 149 out.write(mBuffer.array(), 0, 2); in write() 151 mBuffer.rewind(); in write() 161 if (mBuffer.position() == 2) { in write() 162 short tag = mBuffer.getShort(); in write() [all …]
|
/packages/inputmethods/LatinIME/tools/maketext/src/com/android/inputmethod/latin/maketext/ |
D | ArrayInitializerFormatter.java | 28 private final StringBuilder mBuffer = new StringBuilder(); field in ArrayInitializerFormatter 39 if (mBuffer.length() == 0) { in flush() 44 mOut.format("%s/* %d */ %s\n", mIndent, mBufferedIndex, mBuffer); in flush() 46 final String[] elements = mBuffer.toString().split(" "); in flush() 55 mIndent, mBuffer, in flush() 58 mBuffer.setLength(0); in flush() 75 mBuffer.append(' '); in outElement() 76 mBuffer.append(element); in outElement() 80 mBuffer.append('\n'); in outElement() 81 mBuffer.append(mIndent); in outElement() [all …]
|
/packages/apps/Browser/src/com/android/browser/ |
D | DataController.java | 54 private ByteBuffer mBuffer; // to capture thumbnails field in DataController 202 if (mBuffer == null || mBuffer.limit() < capture.getByteCount()) { in getCaptureBlob() 203 mBuffer = ByteBuffer.allocate(capture.getByteCount()); in getCaptureBlob() 205 capture.copyPixelsToBuffer(mBuffer); in getCaptureBlob() 206 mBuffer.rewind(); in getCaptureBlob() 207 return mBuffer.array(); in getCaptureBlob()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | UserHistoryDictIOUtils.java | 57 private byte[] mBuffer; field in UserHistoryDictIOUtils.ByteArrayWrapper 61 mBuffer = buffer; in ByteArrayWrapper() 67 return mBuffer[mPosition++] & 0xFF; in readUnsignedByte() 100 mBuffer[mPosition++] = b; in put() 105 return mBuffer.length - 1; in limit() 110 return mBuffer.length; in capacity()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/ |
D | BinaryDictInputOutput.java | 73 private ByteBuffer mBuffer; field in BinaryDictInputOutput.ByteBufferWrapper 76 mBuffer = buffer; in ByteBufferWrapper() 81 return mBuffer.get() & 0xFF; in readUnsignedByte() 86 return mBuffer.getShort() & 0xFFFF; in readUnsignedShort() 97 return mBuffer.getInt(); in readInt() 102 return mBuffer.position(); in position() 107 mBuffer.position(newPos); in position() 112 mBuffer.put(b); in put() 117 return mBuffer.limit(); in limit() 122 return mBuffer.capacity(); in capacity()
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
D | KeyboardView.java | 244 private Bitmap mBuffer; field in KeyboardView 661 mBuffer = null; in onSizeChanged() 667 if (mDrawPending || mBuffer == null || mKeyboardChanged) { in onDraw() 670 canvas.drawBitmap(mBuffer, 0, 0, null); in onDraw() 674 boolean isBufferNull = (mBuffer == null); in onBufferDraw() 677 (mBuffer.getWidth() != getWidth() || mBuffer.getHeight() != getHeight())) { in onBufferDraw() 680 mBuffer = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888); in onBufferDraw() 681 mCanvas = new Canvas(mBuffer); in onBufferDraw() 1342 mBuffer = null; in closing()
|
/packages/apps/Email/src/com/android/email/mail/transport/ |
D | DiscourseLogger.java | 33 private String[] mBuffer; field in DiscourseLogger 43 mBuffer = new String[mBufferSize]; in initBuffer() 48 mBuffer[mPos] = s; in addLine() 92 String s = mBuffer[pos]; in getLines()
|
/packages/apps/Nfc/nci/jni/ |
D | RouteDataSet.cpp | 41 : mBuffer (NULL), in AidBuffer() 50 mBuffer = new UINT8 [aid.length()]; in AidBuffer() 57 mBuffer [mBufferLen] = (UINT8) num; in AidBuffer() 64 mBuffer [mBufferLen] = (UINT8) num; in AidBuffer() 84 delete [] mBuffer; in ~AidBuffer()
|
D | RouteDataSet.h | 137 UINT8* buffer () {return mBuffer;}; in buffer() 141 UINT8* mBuffer;
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/ |
D | ContactPhotoManager.java | 866 private byte mBuffer[]; field in ContactPhotoManagerImpl.LoaderThread 1107 if (mBuffer == null) { in loadUriBasedPhotos() 1108 mBuffer = new byte[BUFFER_SIZE]; in loadUriBasedPhotos() 1117 while ((size = is.read(mBuffer)) != -1) { in loadUriBasedPhotos() 1118 baos.write(mBuffer, 0, size); in loadUriBasedPhotos()
|
/packages/apps/Music/src/com/android/music/ |
D | ArtistAlbumBrowserActivity.java | 561 private final StringBuilder mBuffer = new StringBuilder(); field in ArtistAlbumBrowserActivity.ArtistAlbumListAdapter 712 final StringBuilder builder = mBuffer; in bindChildView()
|