Home
last modified time | relevance | path

Searched refs:mBuffer (Results 1 – 7 of 7) sorted by relevance

/packages/inputmethods/LatinIME/tools/maketext/src/com/android/inputmethod/latin/maketext/
DArrayInitializerFormatter.java28 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/Email/src/com/android/email/mail/transport/
DDiscourseLogger.java33 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/Browser/src/com/android/browser/
DDataController.java54 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/keyboard/
DKeyboardView.java122 private Bitmap mBuffer; field in KeyboardView
445 if (mBufferNeedsUpdate || mBuffer == null) { in onDraw()
449 canvas.drawBitmap(mBuffer, 0, 0, null); in onDraw()
457 if (mBuffer == null || mBuffer.getWidth() != width || mBuffer.getHeight() != height) { in onBufferDraw()
458 if (mBuffer != null) in onBufferDraw()
459 mBuffer.recycle(); in onBufferDraw()
460 mBuffer = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888); in onBufferDraw()
463 mCanvas.setBitmap(mBuffer); in onBufferDraw()
465 mCanvas = new Canvas(mBuffer); in onBufferDraw()
1018 if (mBuffer != null) { in onDetachedFromWindow()
[all …]
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
DKeyboardView.java244 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/Contacts/src/com/android/contacts/
DContactPhotoManager.java871 private byte mBuffer[]; field in ContactPhotoManagerImpl.LoaderThread
1112 if (mBuffer == null) { in loadUriBasedPhotos()
1113 mBuffer = new byte[BUFFER_SIZE]; in loadUriBasedPhotos()
1122 while ((size = is.read(mBuffer)) != -1) { in loadUriBasedPhotos()
1123 baos.write(mBuffer, 0, size); in loadUriBasedPhotos()
/packages/apps/Music/src/com/android/music/
DArtistAlbumBrowserActivity.java561 private final StringBuilder mBuffer = new StringBuilder(); field in ArtistAlbumBrowserActivity.ArtistAlbumListAdapter
712 final StringBuilder builder = mBuffer; in bindChildView()