/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/ |
AbstractBlenderHelper.java | 41 import java.nio.ByteBuffer;
99 * Generate a new ByteBuffer using the given array of byte[4] objects. The ByteBuffer will be 4 * data.length
102 * list of byte[4] objects to place into a new ByteBuffer
104 protected ByteBuffer createByteBuffer(List<byte[]> data) {
108 ByteBuffer buff = BufferUtils.createByteBuffer(4 * data.size());
|
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/textures/blending/ |
TextureBlenderLuminance.java | 3 import java.nio.ByteBuffer;
35 ByteBuffer data = texture.getImage().getData(0);
44 ByteBuffer newData = BufferUtils.createByteBuffer(width * height * depth * 4);
60 ArrayList<ByteBuffer> dataArray = new ArrayList<ByteBuffer>(1);
78 protected void getTinAndAlpha(ByteBuffer data, Format imageFormat, boolean neg, float[] result) {
|
/external/jmonkeyengine/engine/src/lwjgl/com/jme3/system/lwjgl/ |
LwjglDisplay.java | 39 import java.nio.ByteBuffer;
203 private ByteBuffer[] imagesToByteBuffers(Object[] images) {
204 ByteBuffer[] out = new ByteBuffer[images.length];
212 private ByteBuffer imageToByteBuffer(BufferedImage image) {
237 return ByteBuffer.wrap(imageBuffer);
|
/packages/apps/Email/src/com/beetstra/jutf7/ |
UTF7StyleCharsetEncoder.java | 27 import java.nio.ByteBuffer;
94 * {@link java.nio.charset.CharsetEncoder#flush(ByteBuffer)} causing it to
105 protected CoderResult implFlush(ByteBuffer out) {
144 protected CoderResult encodeLoop(CharBuffer in, ByteBuffer out) {
180 private void unshift(ByteBuffer out, char ch) {
203 private void encodeBase64(char ch, ByteBuffer out) {
|
/cts/tests/tests/media/src/android/media/cts/ |
MediaMuxerTest.java | 34 import java.nio.ByteBuffer; 191 ByteBuffer dstBuf = ByteBuffer.allocate(bufferSize); 355 ByteBuffer byteBufSrc = ByteBuffer.allocate(bufferSize); 356 ByteBuffer byteBufTest = ByteBuffer.allocate(bufferSize); 362 fail("byteBuffer didn't match");
|
/external/chromium/third_party/libjingle/source/talk/examples/login/ |
xmppsocket.h | 32 #include "talk/base/bytebuffer.h" 77 talk_base::ByteBuffer buffer_;
|
/external/chromium_org/third_party/WebKit/Source/devtools/scripts/jsdoc-validator/src/org/chromium/devtools/jsdoc/ |
FileCheckerCallable.java | 13 import java.nio.ByteBuffer; 49 String text = StandardCharsets.UTF_8.decode(ByteBuffer.wrap(encoded)).toString();
|
/external/jmonkeyengine/engine/src/desktop/com/jme3/app/state/ |
ScreenshotAppState.java | 19 import java.nio.ByteBuffer; 30 private ByteBuffer outBuf;
|
/external/jmonkeyengine/engine/src/desktop/com/jme3/util/ |
Screenshots.java | 7 import java.nio.ByteBuffer; 36 public static void convertScreenShot(ByteBuffer bgraBuf, BufferedImage out){
|
/external/jmonkeyengine/engine/src/networking/com/jme3/network/kernel/ |
Endpoint.java | 35 import java.nio.ByteBuffer; 73 public void send( ByteBuffer data );
|
/external/jmonkeyengine/engine/src/test/jme3test/app/ |
TestReleaseDirectMemory.java | 41 import java.nio.ByteBuffer; 63 ByteBuffer buf = BufferUtils.createByteBuffer(500000);
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/tracks/ |
DivideTimeScaleTrack.java | 22 import java.nio.ByteBuffer; 85 public List<ByteBuffer> getSamples() {
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/mp4/objectdescriptors/ |
ObjectDescriptor.java_bak | 22 import java.nio.ByteBuffer;
58 public static ObjectDescriptor createFrom(ByteBuffer in) throws IOException {
|
/frameworks/base/core/java/android/ddm/ |
DdmHandleNativeHeap.java | 23 import java.nio.ByteBuffer; 76 //ByteBuffer in = wrapChunk(request);
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
TextureSource.java | 23 import java.nio.ByteBuffer; 69 public void allocateWithPixels(ByteBuffer pixels, int width, int height) {
|
/libcore/luni/src/main/java/java/nio/channels/ |
ReadableByteChannel.java | 20 import java.nio.ByteBuffer; 65 public int read(ByteBuffer buffer) throws IOException;
|
WritableByteChannel.java | 20 import java.nio.ByteBuffer; 63 public int write(ByteBuffer buffer) throws IOException;
|
/external/protobuf/java/src/main/java/com/google/protobuf/ |
ByteString.java | 38 import java.nio.ByteBuffer; 103 * Copies {@code size} bytes from a {@code java.nio.ByteBuffer} into 106 public static ByteString copyFrom(final ByteBuffer bytes, final int size) { 113 * Copies the remaining bytes from a {@code java.nio.ByteBuffer} into 116 public static ByteString copyFrom(final ByteBuffer bytes) { 207 * Constructs a new read-only {@code java.nio.ByteBuffer} with the 210 public ByteBuffer asReadOnlyByteBuffer() { 211 final ByteBuffer byteBuffer = ByteBuffer.wrap(bytes) [all...] |
/external/chromium_org/third_party/protobuf/java/src/test/java/com/google/protobuf/ |
ByteStringTest.java | 42 import java.nio.ByteBuffer; 112 ByteBuffer byteBuffer = ByteBuffer.allocate(bytes.length); 113 byteBuffer.put(bytes); 114 byteBuffer.position(500); 115 ByteString byteString = ByteString.copyFrom(byteBuffer, 200); 116 assertTrue("copyFrom byteBuffer sub-range must contain the expected bytes", 122 ByteBuffer byteBuffer = ByteBuffer.allocate(bytes.length) [all...] |
/frameworks/base/core/java/android/hardware/camera2/impl/ |
CameraMetadataNative.java | 32 import java.nio.ByteBuffer; 198 private static <T> int packSingleNative(T value, ByteBuffer buffer, Class<T> type, 244 private static <T> int packSingle(T value, ByteBuffer buffer, Class<T> type, int nativeType, 262 private static <T extends Enum<T>> int packEnum(T value, ByteBuffer buffer, Class<T> type, 270 private static <T> int packClass(T value, ByteBuffer buffer, Class<T> type, int nativeType, 281 private static <T> int packArray(T value, ByteBuffer buffer, Class<T> type, int nativeType, 298 private static <T> T unpackSingleNative(ByteBuffer buffer, Class<T> type, int nativeType) { 343 private static <T> T unpackSingle(ByteBuffer buffer, Class<T> type, int nativeType) { 362 private static <T extends Enum<T>> T unpackEnum(ByteBuffer buffer, Class<T> type, 368 private static <T> T unpackClass(ByteBuffer buffer, Class<T> type, int nativeType) [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/util/ |
BufferUtils.java | 93 } else if (buf instanceof ByteBuffer) { 94 return clone((ByteBuffer) buf); 123 }else if (buffer instanceof ByteBuffer){ 721 DoubleBuffer buf = ByteBuffer.allocateDirect(8 * size).order(ByteOrder.nativeOrder()).asDoubleBuffer(); 784 FloatBuffer buf = ByteBuffer.allocateDirect(4 * size).order(ByteOrder.nativeOrder()).asFloatBuffer(); 846 IntBuffer buf = ByteBuffer.allocateDirect(4 * size).order(ByteOrder.nativeOrder()).asIntBuffer(); 902 * Create a new ByteBuffer of the specified size. 908 public static ByteBuffer createByteBuffer(int size) { 909 ByteBuffer buf = ByteBuffer.allocateDirect(size).order(ByteOrder.nativeOrder()) [all...] |
/cts/tests/tests/net/src/android/net/ipv6/cts/ |
PingTest.java | 33 import java.nio.ByteBuffer; 86 int ret = Libcore.os.sendto(s, ByteBuffer.wrap(packet), 0, address, port); 97 ByteBuffer responseBuffer = ByteBuffer.allocate(MAX_SIZE);
|
/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/java/src/org/webrtc/ |
DataChannel.java | 30 import java.nio.ByteBuffer; 64 public final ByteBuffer data; 72 public Buffer(ByteBuffer data, boolean binary) { 132 // ByteBuffer is direct and/or is backed by an array.
|
/external/chromium_org/third_party/libjingle/source/talk/media/sctp/ |
sctputils.cc | 32 #include "talk/base/bytebuffer.h" 58 talk_base::ByteBuffer buffer(payload.data(), payload.length()); 161 talk_base::ByteBuffer buffer( 163 talk_base::ByteBuffer::ORDER_NETWORK);
|
/external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/collision/shapes/ |
MeshCollisionShape.java | 44 import java.nio.ByteBuffer;
57 protected ByteBuffer triangleIndexBase, vertexBase;
125 triangleIndexBase = ByteBuffer.wrap(capsule.readByteArray("triangleIndexBase", new byte[0]));
126 vertexBase = ByteBuffer.wrap(capsule.readByteArray("vertexBase", new byte[0])).order(ByteOrder.nativeOrder());
|