/packages/inputmethods/LatinIME/native/jni/tests/dictionary/utils/ |
D | format_utils_test.cpp | 32 const std::vector<uint8_t> getBuffer(const int magicNumber, const int version, const uint16_t flags, in getBuffer() function 59 getBuffer(FormatUtils::MAGIC_NUMBER, FormatUtils::VERSION_2, 0, 0); in TEST() 65 getBuffer(FormatUtils::MAGIC_NUMBER, FormatUtils::VERSION_402, 0, 0); in TEST() 71 getBuffer(FormatUtils::MAGIC_NUMBER, FormatUtils::VERSION_403, 0, 0); in TEST() 78 getBuffer(FormatUtils::MAGIC_NUMBER - 1, FormatUtils::VERSION_2, 0, 0); in TEST() 84 getBuffer(FormatUtils::MAGIC_NUMBER, 100, 0, 0); in TEST() 90 getBuffer(FormatUtils::MAGIC_NUMBER, FormatUtils::VERSION_2, 0, 0); in TEST()
|
/packages/apps/Camera2/src/com/android/camera/processing/imagebackend/ |
D | TaskJpegEncode.java | 81 ByteBuffer y_buffer = planeList.get(0).getBuffer(); in convertYUV420ImageToPackedNV21() 82 ByteBuffer u_buffer = planeList.get(1).getBuffer(); in convertYUV420ImageToPackedNV21() 83 ByteBuffer v_buffer = planeList.get(2).getBuffer(); in convertYUV420ImageToPackedNV21() 106 ByteBuffer y_buffer = planeList.get(0).getBuffer(); in convertYUV420ImageToPackedNV21() 107 ByteBuffer u_buffer = planeList.get(1).getBuffer(); in convertYUV420ImageToPackedNV21() 108 ByteBuffer v_buffer = planeList.get(2).getBuffer(); in convertYUV420ImageToPackedNV21()
|
D | TaskConvertImageToRGBPreview.java | 267 ByteBuffer buf0 = planeList.get(0).getBuffer(); in colorInscribedDataCircleFromYuvImage() 268 ByteBuffer bufU = planeList.get(1).getBuffer(); // Downsampled by 2 in colorInscribedDataCircleFromYuvImage() 269 ByteBuffer bufV = planeList.get(2).getBuffer(); // Downsampled by 2 in colorInscribedDataCircleFromYuvImage() 556 ByteBuffer bufY = planeList.get(0).getBuffer(); in colorSubSampleFromYuvImage() 557 ByteBuffer bufU = planeList.get(1).getBuffer(); // Downsampled by 2 in colorSubSampleFromYuvImage() 558 ByteBuffer bufV = planeList.get(2).getBuffer(); // Downsampled by 2 in colorSubSampleFromYuvImage()
|
/packages/apps/UnifiedEmail/src/org/apache/commons/io/output/ |
D | ByteArrayOutputStream.java | 97 private byte[] getBuffer(int index) { in getBuffer() method in ByteArrayOutputStream 113 currentBuffer = getBuffer(currentBufferIndex); in needNewBuffer() 238 currentBuffer = getBuffer(currentBufferIndex); in reset() 252 byte[] buf = getBuffer(i); in writeTo() 277 byte[] buf = getBuffer(i); in toByteArray()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/content/ |
D | terminal_position_lookup_table.cpp | 27 const int terminalPos = getBuffer()->readUint( in getTerminalPtNodePosition() 55 if (getEntryPos(mSize) < getBuffer()->getTailPosition()) { in flushToFile() 77 const int terminalPos = getBuffer()->readUint( in runGCTerminalIds()
|
D | single_dict_content.h | 50 const BufferWithExtendableBuffer *getBuffer() const { in getBuffer() function
|
D | terminal_position_lookup_table.h | 36 mSize(getBuffer()->getTailPosition() in TerminalPositionLookupTable()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/content/ |
D | terminal_position_lookup_table.cpp | 37 const int terminalPos = getBuffer()->readUint( in getTerminalPtNodePosition() 65 if (getEntryPos(mSize) < getBuffer()->getTailPosition()) { in flushToFile() 88 const int terminalPos = getBuffer()->readUint( in runGCTerminalIds()
|
D | probability_dict_content.cpp | 40 const BufferWithExtendableBuffer *const buffer = getBuffer(); in getProbabilityEntry() 70 int writingPos = getBuffer()->getTailPosition(); in setProbabilityEntry() 85 if (getEntryPos(mSize) < getBuffer()->getTailPosition()) { in flushToFile()
|
D | terminal_position_lookup_table.h | 44 mSize(getBuffer()->getTailPosition() in TerminalPositionLookupTable()
|
D | probability_dict_content.h | 45 mSize(getBuffer()->getTailPosition() / getEntrySize()) {} in ProbabilityDictContent()
|
D | single_dict_content.h | 69 const BufferWithExtendableBuffer *getBuffer() const { in getBuffer() function
|
/packages/apps/Camera2/src/com/android/camera/util/ |
D | JpegUtilNative.java | 130 copyImagePlaneToBitmap(width, height, plane.getBuffer(), plane.getPixelStride(), in copyImagePlaneToBitmap() 234 Preconditions.checkState(plane.getBuffer().isDirect()); in compressJpegFromYUV420Image() 236 planeBuf[i] = plane.getBuffer(); in compressJpegFromYUV420Image()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/ |
D | ver4_pt_node_array_reader.cpp | 35 const uint8_t *const dictBuf = mBuffer->getBuffer(usesAdditionalBuffer); in readPtNodeArrayInfoAndReturnIfValid() 64 const uint8_t *const dictBuf = mBuffer->getBuffer(usesAdditionalBuffer); in readForwardLinkAndReturnIfValid()
|
D | ver4_patricia_trie_node_writer.cpp | 39 const uint8_t *const dictBuf = mTrieBuffer->getBuffer(usesAdditionalBuffer); in markPtNodeAsDeleted() 70 const uint8_t *const dictBuf = mTrieBuffer->getBuffer(usesAdditionalBuffer); in markPtNodeAsMoved() 115 const uint8_t *const dictBuf = mTrieBuffer->getBuffer(usesAdditionalBuffer); in markPtNodeAsWillBecomeNonTerminal()
|
D | ver4_patricia_trie_node_reader.cpp | 40 const uint8_t *const dictBuf = mBuffer->getBuffer(usesAdditionalBuffer); in fetchPtNodeInfoFromBufferAndProcessMovedPtNode()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/ |
D | ver4_pt_node_array_reader.cpp | 44 const uint8_t *const dictBuf = mBuffer->getBuffer(usesAdditionalBuffer); in readPtNodeArrayInfoAndReturnIfValid() 73 const uint8_t *const dictBuf = mBuffer->getBuffer(usesAdditionalBuffer); in readForwardLinkAndReturnIfValid()
|
D | ver4_patricia_trie_node_writer.cpp | 49 const uint8_t *const dictBuf = mTrieBuffer->getBuffer(usesAdditionalBuffer); in markPtNodeAsDeleted() 79 const uint8_t *const dictBuf = mTrieBuffer->getBuffer(usesAdditionalBuffer); in markPtNodeAsMoved() 124 const uint8_t *const dictBuf = mTrieBuffer->getBuffer(usesAdditionalBuffer); in markPtNodeAsWillBecomeNonTerminal()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/ |
D | dict_file_writing_utils.cpp | 132 if (originalBufSize > 0 && fwrite(buffer->getBuffer(false /* usesAdditionalBuffer */), in writeBufferToFile() 137 if (additionalBufSize > 0 && fwrite(buffer->getBuffer(true /* usesAdditionalBuffer */), in writeBufferToFile()
|
D | buffer_with_extendable_buffer.cpp | 29 return ByteArrayUtils::readUint(getBuffer(readingPosIsInAdditionalBuffer), size, posInBuffer); in readUint() 47 getBuffer(readingPosIsInAdditionalBuffer), maxCodePointCount, in readCodePointsAndAdvancePosition()
|
D | buffer_with_extendable_buffer.h | 65 AK_FORCE_INLINE const uint8_t *getBuffer(const bool usesAdditionalBuffer) const { in getBuffer() function
|
/packages/apps/Camera2/src/com/android/camera/one/v2/camera2proxy/ |
D | AndroidImageProxy.java | 54 mBuffer = imagePlane.getBuffer(); in Plane() 77 public ByteBuffer getBuffer() { in getBuffer() method in AndroidImageProxy.Plane
|
D | ImageProxy.java | 63 public ByteBuffer getBuffer(); in getBuffer() method
|
/packages/apps/DevCamera/src/com/android/devcamera/ |
D | Api2Camera.java | 647 ByteBuffer b = planes[0].getBuffer(); 669 final ByteBuffer buffer = plane0.getBuffer(); 719 final ByteBuffer buffer = plane0.getBuffer();
|
D | BitmapUtility.java | 45 ByteBuffer buf0 = img.getPlanes()[0].getBuffer(); in bitmapFromYuvImage()
|