HomeSort by relevance Sort by last modified time
    Searched full:doublebuffer (Results 1 - 25 of 46) sorted by null

1 2

  /libcore/harmony-tests/src/test/java/org/apache/harmony/nio/tests/java/nio/
WrappedDoubleBufferTest.java 18 import java.nio.DoubleBuffer;
23 buf = DoubleBuffer.wrap(new double[BUFFER_LENGTH]);
41 DoubleBuffer.wrap(array, -1, 0);
47 DoubleBuffer.wrap(array, 21, 0);
53 DoubleBuffer.wrap(array, 0, -1);
59 DoubleBuffer.wrap(array, 0, 21);
65 DoubleBuffer.wrap(array, Integer.MAX_VALUE, 1);
71 DoubleBuffer.wrap(array, 1, Integer.MAX_VALUE);
77 DoubleBuffer.wrap((double[])null, -1, 0);
82 DoubleBuffer buf = DoubleBuffer.wrap(array, 2, 16)
    [all...]
HeapDoubleBufferTest.java 18 import java.nio.DoubleBuffer;
23 buf = DoubleBuffer.allocate(BUFFER_LENGTH);
36 DoubleBuffer.allocate(-1);
DoubleBufferTest.java 24 import java.nio.DoubleBuffer;
28 * Tests java.nio.DoubleBuffer
36 protected DoubleBuffer buf;
39 buf = DoubleBuffer.allocate(BUFFER_LENGTH);
114 DoubleBuffer readonly = buf.asReadOnlyBuffer();
137 DoubleBuffer ret = buf.compact();
184 DoubleBuffer other = DoubleBuffer.allocate(buf.capacity());
199 DoubleBuffer dbuffer1 = DoubleBuffer.wrap(new double[] { Double.NaN })
    [all...]
ReadOnlyHeapDoubleBufferTest.java 18 import java.nio.DoubleBuffer;
24 buf = DoubleBuffer.allocate(BUFFER_LENGTH);
ReadOnlyWrappedDoubleBufferTest.java 18 import java.nio.DoubleBuffer;
23 buf = DoubleBuffer.wrap(new double[BUFFER_LENGTH]);
ReadOnlyDoubleBufferTest.java 18 import java.nio.DoubleBuffer;
50 DoubleBuffer duplicate = buf.duplicate();
125 DoubleBuffer other = DoubleBuffer.allocate(1);
133 buf.put((DoubleBuffer) null);
ByteBufferTest.java 25 import java.nio.DoubleBuffer;
826 DoubleBuffer doubleBuffer;
833 doubleBuffer = buf.asDoubleBuffer();
834 assertSame(ByteOrder.BIG_ENDIAN, doubleBuffer.order());
835 while (doubleBuffer.remaining() > 0) {
837 value = doubleBuffer.get();
847 doubleBuffer = buf.asDoubleBuffer();
848 assertSame(ByteOrder.LITTLE_ENDIAN, doubleBuffer.order());
849 while (doubleBuffer.remaining() > 0)
    [all...]
  /libcore/luni/src/main/java/java/nio/
DoubleArrayBuffer.java 23 final class DoubleArrayBuffer extends DoubleBuffer {
50 @Override public DoubleBuffer asReadOnlyBuffer() {
54 @Override public DoubleBuffer compact() {
65 @Override public DoubleBuffer duplicate() {
69 @Override public DoubleBuffer slice() {
110 @Override public final DoubleBuffer get(double[] dst, int dstOffset, int doubleCount) {
127 @Override public DoubleBuffer put(double c) {
138 @Override public DoubleBuffer put(int index, double c) {
147 @Override public DoubleBuffer put(double[] src, int srcOffset, int doubleCount) {
ByteBufferAsDoubleBuffer.java 34 final class ByteBufferAsDoubleBuffer extends DoubleBuffer {
38 static DoubleBuffer asDoubleBuffer(ByteBuffer byteBuffer) {
52 public DoubleBuffer asReadOnlyBuffer() {
62 public DoubleBuffer compact() {
77 public DoubleBuffer duplicate() {
101 public DoubleBuffer get(double[] dst, int dstOffset, int doubleCount) {
141 public DoubleBuffer put(double c) {
150 public DoubleBuffer put(int index, double c) {
157 public DoubleBuffer put(double[] src, int srcOffset, int doubleCount) {
170 public DoubleBuffer slice()
    [all...]
DoubleBuffer.java 36 public abstract class DoubleBuffer extends Buffer implements
37 Comparable<DoubleBuffer> {
48 public static DoubleBuffer allocate(int capacity) {
65 public static DoubleBuffer wrap(double[] array) {
87 public static DoubleBuffer wrap(double[] array, int start, int doubleCount) {
89 DoubleBuffer buf = new DoubleArrayBuffer(array);
95 DoubleBuffer(int capacity) {
120 public abstract DoubleBuffer asReadOnlyBuffer();
133 public abstract DoubleBuffer compact();
147 public int compareTo(DoubleBuffer otherBuffer)
    [all...]
ByteArrayBuffer.java 416 @Override public final DoubleBuffer asDoubleBuffer() {
  /sdk/emulator/opengl/host/libs/Translator/EGL/
EglMacApi.cpp 40 EGLint doubleBuffer,colorSize;
42 getPixelFormatAttrib(*frmt,MAC_HAS_DOUBLE_BUFFER,&doubleBuffer);
43 if(!doubleBuffer) return NULL; //pixel double buffer
EglX11Api.cpp 93 int doubleBuffer;
112 IS_SUCCESS(glXGetFBConfigAttrib(dpy,*frmt,GLX_DOUBLEBUFFER,&doubleBuffer));
113 if (!doubleBuffer) return NULL;
  /external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/wgl/
stw_pixelformat.c 127 boolean doublebuffer,
160 if (doublebuffer)
193 if (doublebuffer)
242 unsigned doublebuffer = stw_pf_doublebuffer[db]; local
255 acc * 16, doublebuffer, samples);
  /external/jmonkeyengine/engine/src/core/com/jme3/util/
BufferUtils.java 97 } else if (buf instanceof DoubleBuffer) {
98 return clone((DoubleBuffer) buf);
127 }else if (buffer instanceof DoubleBuffer){
714 * Create a new DoubleBuffer of the specified size.
718 * @return the new DoubleBuffer
720 public static DoubleBuffer createDoubleBuffer(int size) {
721 DoubleBuffer buf = ByteBuffer.allocateDirect(8 * size).order(ByteOrder.nativeOrder()).asDoubleBuffer();
728 * Create a new DoubleBuffer of an appropriate size to hold the specified
736 * @return the requested new DoubleBuffer
738 public static DoubleBuffer createDoubleBuffer(DoubleBuffer buf, int size)
    [all...]
  /external/mesa3d/src/gallium/state_trackers/wgl/
stw_pixelformat.c 127 boolean doublebuffer,
160 if (doublebuffer)
193 if (doublebuffer)
242 unsigned doublebuffer = stw_pf_doublebuffer[db]; local
255 acc * 16, doublebuffer, samples);
  /art/test/070-nio-buffer/src/
Main.java 21 import java.nio.DoubleBuffer;
128 DoubleBuffer doubleBuf = directBuf.asDoubleBuffer();
  /dalvik/tests/070-nio-buffer/src/
Main.java 21 import java.nio.DoubleBuffer;
128 DoubleBuffer doubleBuf = directBuf.asDoubleBuffer();
  /libcore/luni/src/test/java/libcore/java/nio/
BufferTest.java 338 assertEquals(ByteOrder.nativeOrder(), DoubleBuffer.wrap(new double[10]).order());
339 assertEquals(ByteOrder.nativeOrder(), DoubleBuffer.wrap(new double[10]).asReadOnlyBuffer().order());
342 private void testDoubleBufferByteOrder(DoubleBuffer b, ByteOrder bo) throws Exception {
352 private DoubleBuffer allocateDoubleBuffer(ByteOrder order) {
357 testDoubleBufferByteOrder(DoubleBuffer.allocate(10), ByteOrder.nativeOrder());
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_gl.py 26 'dglopen', 'dither', 'dopup', 'doublebuffer', 'draw', 'draw2',
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_gl.py 26 'dglopen', 'dither', 'dopup', 'doublebuffer', 'draw', 'draw2',
  /libcore/benchmarks/src/benchmarks/regression/
ByteBufferBenchmark.java 153 DoubleBuffer src = ByteBufferBenchmark.newBuffer(byteOrder, aligned, bufferType).asDoubleBuffer();
304 DoubleBuffer dst = ByteBufferBenchmark.newBuffer(byteOrder, aligned, bufferType).asDoubleBuffer();
  /external/arduino/hardware/arduino/cores/arduino/
WString.cpp 141 // doubleBuffer();
  /external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/radeon/
radeon_context.h 306 * -- Need to doublebuffer for
  /external/mesa3d/src/mesa/drivers/dri/radeon/
radeon_context.h 306 * -- Need to doublebuffer for

Completed in 506 milliseconds

1 2