HomeSort by relevance Sort by last modified time
    Searched full:bytebuffer (Results 351 - 375 of 935) sorted by null

<<11121314151617181920>>

  /development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/
Grid.java 19 import java.nio.ByteBuffer;
48 mVertexBuffer = ByteBuffer.allocateDirect(FLOAT_SIZE * size * 3)
50 mTexCoordBuffer = ByteBuffer.allocateDirect(FLOAT_SIZE * size * 2)
58 mIndexBuffer = ByteBuffer.allocateDirect(CHAR_SIZE * indexCount)
  /external/apache-harmony/crypto/src/test/api/java.injected/javax/crypto/
MacSpiTest.java 25 import java.nio.ByteBuffer;
96 ByteBuffer byteBuf = ByteBuffer.allocate(10);
115 byteBuf = ByteBuffer.allocate(5);
  /external/jmonkeyengine/engine/src/core/com/jme3/audio/
AudioBuffer.java 37 import java.nio.ByteBuffer;
52 protected ByteBuffer audioData;
89 public void updateData(ByteBuffer data){
97 public ByteBuffer getData(){
  /external/jmonkeyengine/engine/src/test/jme3test/texture/
TestTexture3D.java 24 import java.nio.ByteBuffer;
90 ArrayList<ByteBuffer> data = new ArrayList<ByteBuffer>(1);
91 ByteBuffer bb = BufferUtils.createByteBuffer(10 * 10 * 10 * 3);//all data must be inside one buffer
  /frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/
brightness.h 16 // Native function to extract brightness from image (handed down as ByteBuffer).
contrast.h 16 // Native function to extract contrast from image (handed down as ByteBuffer).
exposure.h 16 // Native function to extract exposure from image (handed down as ByteBuffer).
sobeloperator.h 17 // Native function to extract histogram from image (handed down as ByteBuffer).
  /frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
NewChromaHistogramFilter.java 30 import java.nio.ByteBuffer;
95 ByteBuffer imageBuffer = imageFrame.lockBytes(Frame.MODE_READ);
96 ByteBuffer histogramBuffer = histogramFrame.lockBytes(Frame.MODE_READ);
110 private static native void extractChromaHistogram(ByteBuffer imageBuffer,
StatsFilter.java 35 import java.nio.ByteBuffer;
81 private void calcMeanAndStd(ByteBuffer pixelBuffer, int width, int height, Quad quad) {
98 ByteBuffer pixelBuffer = inputFrame.lockBytes(Frame.MODE_READ);
114 private native void regionscore(ByteBuffer imageBuffer, int width, int height, float left,
  /frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/
ExposureFilter.java 29 import java.nio.ByteBuffer;
60 ByteBuffer inputBuffer = inputImage.lockBytes(Frame.MODE_READ);
104 ByteBuffer imageBuffer);
106 ByteBuffer imageBuffer);
  /libcore/harmony-tests/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/
ChannelsTest.java 28 import java.nio.ByteBuffer;
116 ByteBuffer byteBuf = ByteBuffer.allocate(this.testNum);
131 ByteBuffer byteBuf = ByteBuffer.allocate(this.testNum);
159 ByteBuffer byteBuf = ByteBuffer.allocate(bufSize);
185 ByteBuffer writebuf = ByteBuffer.allocate(this.writebufSize);
205 ByteBuffer writebuf = null
    [all...]
  /libcore/luni/src/main/java/javax/crypto/
MacSpi.java 20 import java.nio.ByteBuffer;
89 * buffer, starting at {@link ByteBuffer#position()}, including the next
90 * {@link ByteBuffer#remaining()} bytes.
95 protected void engineUpdate(ByteBuffer input) {
  /tools/external/fat32lib/src/main/java/de/waldheinz/fs/
BlockDevice.java 23 import java.nio.ByteBuffer;
48 public abstract void read(long devOffset, ByteBuffer dest)
55 * @param src the source {@code ByteBuffer} to write to the device
62 public abstract void write(long devOffset, ByteBuffer src)
  /external/chromium_org/third_party/protobuf/java/src/main/java/com/google/protobuf/
LiteralByteString.java 38 import java.nio.ByteBuffer;
121 public void copyTo(ByteBuffer target) {
126 public ByteBuffer asReadOnlyByteBuffer() {
127 ByteBuffer byteBuffer =
128 ByteBuffer.wrap(bytes, getOffsetIntoBytes(), size());
129 return byteBuffer.asReadOnlyBuffer();
133 public List<ByteBuffer> asReadOnlyByteBufferList() {
134 // Return the ByteBuffer generated by asReadOnlyByteBuffer() as a singleton
135 List<ByteBuffer> result = new ArrayList<ByteBuffer>(1)
    [all...]
  /external/libphonenumber/java/src/com/android/i18n/phonenumbers/geocoding/
FlyweightMapStorage.java 22 import java.nio.ByteBuffer;
47 private ByteBuffer phoneNumberPrefixes;
48 private ByteBuffer descriptionIndexes;
74 phoneNumberPrefixes = ByteBuffer.allocate(numOfEntries * prefixSizeInBytes);
95 descriptionIndexes = ByteBuffer.allocate(numOfEntries * descIndexSizeInBytes);
143 phoneNumberPrefixes = ByteBuffer.allocate(numOfEntries * prefixSizeInBytes);
146 descriptionIndexes = ByteBuffer.allocate(numOfEntries * descIndexSizeInBytes);
200 ByteBuffer outputBuffer, int index) throws IOException {
220 ByteBuffer inputBuffer, int index) throws IOException {
239 private static int readWordFromBuffer(ByteBuffer buffer, int wordSize, int index)
    [all...]
  /external/chromium_org/third_party/libjingle/source/talk/base/
bytebuffer_unittest.cc 28 #include "talk/base/bytebuffer.h"
73 ByteBuffer buffer;
106 ByteBuffer buffer("ABCDEF", 6);
108 ByteBuffer::ReadPosition pos(buffer.GetReadPosition());
132 ByteBuffer::ByteOrder orders[2] = { ByteBuffer::ORDER_HOST,
133 ByteBuffer::ORDER_NETWORK };
135 ByteBuffer buffer(orders[i]);
  /external/jmonkeyengine/engine/src/bullet-native/
com_jme3_bullet_util_NativeMeshUtil.cpp 46 * Signature: (Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;IIII)J
  /frameworks/base/core/java/android/ddm/
DdmHandleExit.java 23 import java.nio.ByteBuffer;
67 ByteBuffer in = wrapChunk(request);
  /frameworks/base/tests/AccessoryDisplay/common/src/com/android/accessorydisplay/common/
Service.java 24 import java.nio.ByteBuffer;
69 public void onMessageReceived(int service, int what, ByteBuffer content) {
  /libcore/harmony-tests/src/test/java/org/apache/harmony/nio/tests/java/nio/
MappedByteBufferTest.java 26 import java.nio.ByteBuffer;
196 ByteBuffer byteBuffer = ByteBuffer.allocateDirect(26 + 20);
198 byteBuffer.put((byte) ('A' + i));
201 byteBuffer.putInt(i + 1);
203 byteBuffer.rewind();
204 fileChannel.write(byteBuffer);
  /libcore/luni/src/test/java/libcore/java/nio/channels/
ChannelsTest.java 20 import java.nio.ByteBuffer;
54 sinkChannel.write(ByteBuffer.wrap(content));
  /libcore/luni/src/test/java/libcore/java/nio/charset/
OldCharset_AbstractTest.java 19 import java.nio.ByteBuffer;
110 ByteBuffer outputBB;
124 ByteBuffer inputBB = ByteBuffer.wrap(input);
137 ByteBuffer outputBB;
157 ByteBuffer intermediateBB = encoder.encode(inputCB);
191 ByteBuffer intermediateBB = encoder.encode(inputCB);
241 static void assertEqualBytes (String msg, byte[] expected, ByteBuffer actualBB) {
OldCharset_MultiByte_EUC_JP.java 18 import java.nio.ByteBuffer;
44 ByteBuffer intermediateBB = encoder.encode(inputCB);
  /cts/tests/tests/media/src/android/media/cts/
AudioRecordTest.java 19 import java.nio.ByteBuffer;
172 // use ByteBuffer as buffer
173 ByteBuffer byteBuffer = ByteBuffer.allocateDirect(BUFFER_SIZE);
179 mAudioRecord.read(byteBuffer, BUFFER_SIZE);

Completed in 1318 milliseconds

<<11121314151617181920>>