Home
last modified time | relevance | path

Searched defs:buffer (Results 1 – 25 of 1060) sorted by relevance

12345678910>>...43

/frameworks/base/core/java/android/text/method/
DScrollingMovementMethod.java30 protected boolean left(TextView widget, Spannable buffer) { in left()
35 protected boolean right(TextView widget, Spannable buffer) { in right()
40 protected boolean up(TextView widget, Spannable buffer) { in up()
45 protected boolean down(TextView widget, Spannable buffer) { in down()
50 protected boolean pageUp(TextView widget, Spannable buffer) { in pageUp()
55 protected boolean pageDown(TextView widget, Spannable buffer) { in pageDown()
60 protected boolean top(TextView widget, Spannable buffer) { in top()
65 protected boolean bottom(TextView widget, Spannable buffer) { in bottom()
70 protected boolean lineStart(TextView widget, Spannable buffer) { in lineStart()
75 protected boolean lineEnd(TextView widget, Spannable buffer) { in lineEnd()
[all …]
DArrowKeyMovementMethod.java33 private static boolean isSelecting(Spannable buffer) { in isSelecting()
38 private static int getCurrentLineTop(Spannable buffer, Layout layout) { in getCurrentLineTop()
51 protected boolean handleMovementKey(TextView widget, Spannable buffer, int keyCode, in handleMovementKey()
69 protected boolean left(TextView widget, Spannable buffer) { in left()
79 protected boolean right(TextView widget, Spannable buffer) { in right()
89 protected boolean up(TextView widget, Spannable buffer) { in up()
99 protected boolean down(TextView widget, Spannable buffer) { in down()
109 protected boolean pageUp(TextView widget, Spannable buffer) { in pageUp()
133 protected boolean pageDown(TextView widget, Spannable buffer) { in pageDown()
157 protected boolean top(TextView widget, Spannable buffer) { in top()
[all …]
DBaseMovementMethod.java136 protected int getMovementMetaState(Spannable buffer, KeyEvent event) { in getMovementMetaState()
160 protected boolean handleMovementKey(TextView widget, Spannable buffer, in handleMovementKey()
252 protected boolean left(TextView widget, Spannable buffer) { in left()
264 protected boolean right(TextView widget, Spannable buffer) { in right()
276 protected boolean up(TextView widget, Spannable buffer) { in up()
288 protected boolean down(TextView widget, Spannable buffer) { in down()
300 protected boolean pageUp(TextView widget, Spannable buffer) { in pageUp()
312 protected boolean pageDown(TextView widget, Spannable buffer) { in pageDown()
324 protected boolean top(TextView widget, Spannable buffer) { in top()
336 protected boolean bottom(TextView widget, Spannable buffer) { in bottom()
[all …]
DLinkMovementMethod.java49 protected boolean handleMovementKey(TextView widget, Spannable buffer, int keyCode, in handleMovementKey()
66 protected boolean up(TextView widget, Spannable buffer) { in up()
75 protected boolean down(TextView widget, Spannable buffer) { in down()
84 protected boolean left(TextView widget, Spannable buffer) { in left()
93 protected boolean right(TextView widget, Spannable buffer) { in right()
101 private boolean action(int what, TextView widget, Spannable buffer) { in action()
205 public boolean onTouchEvent(TextView widget, Spannable buffer, in onTouchEvent()
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/
DMarshalQueryablePrimitive.java64 public T unmarshal(ByteBuffer buffer) { in unmarshal()
74 public void marshal(T value, ByteBuffer buffer) { in marshal()
89 marshalPrimitive((Rational) value, buffer); in marshal() local
104 private void marshalPrimitive(int value, ByteBuffer buffer) { in marshalPrimitive()
108 private void marshalPrimitive(float value, ByteBuffer buffer) { in marshalPrimitive()
112 private void marshalPrimitive(double value, ByteBuffer buffer) { in marshalPrimitive()
116 private void marshalPrimitive(long value, ByteBuffer buffer) { in marshalPrimitive()
120 private void marshalPrimitive(Rational value, ByteBuffer buffer) { in marshalPrimitive()
125 private void marshalPrimitive(byte value, ByteBuffer buffer) { in marshalPrimitive()
129 private Object unmarshalObject(ByteBuffer buffer) { in unmarshalObject()
/frameworks/native/libs/gui/
DIGraphicBufferProducerFlattenables.cpp46 void*& buffer, size_t& size, int*& fds, size_t& count) const in flatten()
80 void const*& buffer, size_t& size, int const*& fds, size_t& count) in unflatten()
129 void*& buffer, size_t& size, int*& fds, size_t& count) const in flatten()
152 void const*& buffer, size_t& size, int const*& fds, size_t& count) in unflatten()
233 status_t IGraphicBufferProducer::DequeueBufferInput::flatten(void* buffer, size_t size) const { in flatten()
247 status_t IGraphicBufferProducer::DequeueBufferInput::unflatten(void const* buffer, size_t size) { in unflatten()
281 void*& buffer, size_t& size, int*& fds, size_t& count) const { in flatten()
302 void const*& buffer, size_t& size, int const*& fds, size_t& count) { in unflatten()
331 status_t IGraphicBufferProducer::AttachBufferOutput::flatten(void* buffer, size_t size) const { in flatten()
341 status_t IGraphicBufferProducer::AttachBufferOutput::unflatten(void const* buffer, size_t size) { in unflatten()
[all …]
/frameworks/native/libs/vr/libpdx/private/pdx/rpc/
Dbuffer_wrapper.h32 BufferWrapper(pointer buffer, size_type capacity, size_type size) in BufferWrapper()
37 BufferWrapper(pointer buffer, size_type size) in BufferWrapper()
113 explicit BufferWrapper(const BufferType& buffer) : buffer_(buffer) {} in BufferWrapper()
114 BufferWrapper(const BufferType& buffer, const Allocator& allocator) in BufferWrapper()
116 explicit BufferWrapper(BufferType&& buffer) : buffer_(std::move(buffer)) {} in BufferWrapper()
117 BufferWrapper(BufferType&& buffer, const Allocator& allocator) in BufferWrapper()
142 BufferType& buffer() { return buffer_; } in buffer() function
143 const BufferType& buffer() const { return buffer_; } in buffer() function
150 BufferWrapper<T*> WrapBuffer(T* buffer, SizeType size) { in WrapBuffer()
155 BufferWrapper<std::uint8_t*> WrapBuffer(void* buffer, SizeType size) { in WrapBuffer()
[all …]
/frameworks/base/libs/hwui/tests/unit/
DCanvasOpTests.cpp65 CanvasOpBuffer buffer; in TEST() local
79 CanvasOpBuffer buffer; in TEST() local
119 CanvasOpBuffer buffer; in TEST() local
134 CanvasOpBuffer buffer; in TEST() local
150 CanvasOpBuffer buffer; in TEST() local
175 CanvasOpBuffer buffer; in TEST() local
193 CanvasOpBuffer buffer; in TEST() local
217 CanvasOpBuffer buffer; in TEST() local
232 CanvasOpBuffer buffer; in TEST() local
250 CanvasOpBuffer buffer; in TEST() local
[all …]
/frameworks/native/services/surfaceflinger/tests/unittests/mock/system/window/
DMockNativeWindow.cpp28 struct ANativeWindowBuffer** buffer) { in dispatch_dequeueBuffer_DEPRECATED()
33 struct ANativeWindowBuffer* buffer) { in dispatch_lockBuffer_DEPRECATED()
38 struct ANativeWindowBuffer* buffer) { in dispatch_queueBuffer_DEPRECATED()
52 struct ANativeWindowBuffer* buffer) { in dispatch_cancelBuffer_DEPRECATED()
56 int dispatch_dequeueBuffer(struct ANativeWindow* window, struct ANativeWindowBuffer** buffer, in dispatch_dequeueBuffer()
61 int dispatch_queueBuffer(struct ANativeWindow* window, struct ANativeWindowBuffer* buffer, in dispatch_queueBuffer()
66 int dispatch_cancelBuffer(struct ANativeWindow* window, struct ANativeWindowBuffer* buffer, in dispatch_cancelBuffer()
/frameworks/base/native/webview/plat_support/
Dgraphic_buffer_impl.cpp38 GraphicBufferImpl* buffer = new GraphicBufferImpl( in Create() local
49 GraphicBufferImpl* buffer = reinterpret_cast<GraphicBufferImpl*>(buffer_id); in Release() local
55 GraphicBufferImpl* buffer = reinterpret_cast<GraphicBufferImpl*>(buffer_id); in MapStatic() local
61 GraphicBufferImpl* buffer = reinterpret_cast<GraphicBufferImpl*>(buffer_id); in UnmapStatic() local
67 GraphicBufferImpl* buffer = reinterpret_cast<GraphicBufferImpl*>(buffer_id); in GetNativeBufferStatic() local
73 GraphicBufferImpl* buffer = reinterpret_cast<GraphicBufferImpl*>(buffer_id); in GetStrideStatic() local
/frameworks/base/graphics/java/android/graphics/fonts/
DFontFileUtil.java71 public static final int analyzeStyle(@NonNull ByteBuffer buffer, in analyzeStyle()
150 public static long getRevision(@NonNull ByteBuffer buffer, @IntRange(from = 0) int index) { in getRevision()
164 public static String getPostScriptName(@NonNull ByteBuffer buffer, in getPostScriptName()
181 public static int isPostScriptType1Font(@NonNull ByteBuffer buffer, in isPostScriptType1Font()
190 public static int isCollectionFont(@NonNull ByteBuffer buffer) { in isCollectionFont()
204 private static native long nGetFontRevision(@NonNull ByteBuffer buffer, in nGetFontRevision()
208 private static native String nGetFontPostScriptName(@NonNull ByteBuffer buffer, in nGetFontPostScriptName()
212 private static native int nIsPostScriptType1Font(@NonNull ByteBuffer buffer, in nIsPostScriptType1Font()
/frameworks/base/tools/aapt2/util/
DBigBuffer_test.cpp26 BigBuffer buffer(4); in TEST() local
33 BigBuffer buffer(16); in TEST() local
45 BigBuffer buffer(16); in TEST() local
52 BigBuffer buffer(16); in TEST() local
86 BigBuffer buffer(16); in TEST() local
/frameworks/base/core/jni/
Dandroid_hardware_HardwareBuffer.cpp62 explicit GraphicBufferWrapper(const sp<GraphicBuffer>& buffer) in GraphicBufferWrapper()
65 sp<GraphicBuffer> buffer; member in GraphicBufferWrapper
85 sp<GraphicBuffer> buffer = new GraphicBuffer(width, height, pixelFormat, layers, in android_hardware_HardwareBuffer_create() local
100 sp<GraphicBuffer> buffer(android_graphics_GraphicBuffer_getNativeGraphicsBuffer(env, in android_hardware_HardwareBuffer_createFromGraphicBuffer() local
140 GraphicBuffer* buffer = GraphicBufferWrapper_to_GraphicBuffer(nativeObject); in android_hardware_HardwareBuffer_getWidth() local
146 GraphicBuffer* buffer = GraphicBufferWrapper_to_GraphicBuffer(nativeObject); in android_hardware_HardwareBuffer_getHeight() local
152 GraphicBuffer* buffer = GraphicBufferWrapper_to_GraphicBuffer(nativeObject); in android_hardware_HardwareBuffer_getFormat() local
159 GraphicBuffer* buffer = GraphicBufferWrapper_to_GraphicBuffer(nativeObject); in android_hardware_HardwareBuffer_getLayers() local
165 GraphicBuffer* buffer = GraphicBufferWrapper_to_GraphicBuffer(nativeObject); in android_hardware_HardwareBuffer_getUsage() local
170 GraphicBuffer* buffer = GraphicBufferWrapper_to_GraphicBuffer(nativeObject); in android_hardware_HardwareBuffer_estimateSize() local
[all …]
/frameworks/compile/mclinker/unittests/
DLEB128Test.cpp42 leb128::ByteType buffer[2]; in TEST_F() local
88 leb128::ByteType buffer[2]; in TEST_F() local
134 leb128::ByteType buffer[2]; in TEST_F() local
194 leb128::ByteType buffer[2]; in TEST_F() local
229 leb128::ByteType buffer[2]; in TEST_F() local
295 leb128::ByteType buffer[5]; in TEST_F() local
412 leb128::ByteType buffer[5]; in TEST_F() local
454 leb128::ByteType buffer[9]; in TEST_F() local
494 leb128::ByteType buffer[5]; in TEST_F() local
510 char buffer[5]; in TEST_F() local
/frameworks/base/core/java/android/hardware/
DSerialPort.java90 public int read(ByteBuffer buffer) throws IOException { in read()
109 public void write(ByteBuffer buffer, int length) throws IOException { in write()
128 private native int native_read_array(byte[] buffer, int length) throws IOException; in native_read_array()
129 private native int native_read_direct(ByteBuffer buffer, int length) throws IOException; in native_read_direct()
130 private native void native_write_array(byte[] buffer, int length) throws IOException; in native_write_array()
131 private native void native_write_direct(ByteBuffer buffer, int length) throws IOException; in native_write_direct()
/frameworks/native/services/surfaceflinger/CompositionEngine/mock/
DNativeWindow.cpp27 static int forwardDequeueBuffer(ANativeWindow* window, ANativeWindowBuffer** buffer, int* fenceFd) { in forwardDequeueBuffer()
31 static int forwardCancelBuffer(ANativeWindow* window, ANativeWindowBuffer* buffer, int fenceFd) { in forwardCancelBuffer()
35 static int forwardQueueBuffer(ANativeWindow* window, ANativeWindowBuffer* buffer, int fenceFd) { in forwardQueueBuffer()
89 static int forwardDequeueBufferDeprecated(ANativeWindow* window, ANativeWindowBuffer** buffer) { in forwardDequeueBufferDeprecated()
94 static int forwardCancelBufferDeprecated(ANativeWindow* window, ANativeWindowBuffer* buffer) { in forwardCancelBufferDeprecated()
98 static int forwardLockBufferDeprecated(ANativeWindow* window, ANativeWindowBuffer* buffer) { in forwardLockBufferDeprecated()
102 static int forwardQueueBufferDeprecated(ANativeWindow* window, ANativeWindowBuffer* buffer) { in forwardQueueBufferDeprecated()
/frameworks/native/libs/vr/libpdx/fuzz/
Dserialization_fuzzer.cpp113 Payload buffer = {ENCODING_TYPE_UINT8, fdp.ConsumeIntegral<uint8_t>()}; in FuzzDeserializeUint8() local
120 Payload buffer = {ENCODING_TYPE_UINT16, fdp.ConsumeIntegral<uint8_t>(), in FuzzDeserializeUint16() local
128 Payload buffer = {ENCODING_TYPE_UINT32, fdp.ConsumeIntegral<uint8_t>(), in FuzzDeserializeUint32() local
138 Payload buffer = { in FuzzDeserializeUint64() local
150 Payload buffer = {ENCODING_TYPE_INT8, fdp.ConsumeIntegral<uint8_t>()}; in FuzzDeserializeInt8() local
157 Payload buffer = {ENCODING_TYPE_INT16, fdp.ConsumeIntegral<uint8_t>(), in FuzzDeserializeInt16() local
165 Payload buffer = {ENCODING_TYPE_INT32, fdp.ConsumeIntegral<uint8_t>(), in FuzzDeserializeInt32() local
175 Payload buffer = {ENCODING_TYPE_INT64, in FuzzDeserializeInt64() local
190 Payload buffer = {ENCODING_TYPE_FLOAT32, fdp.ConsumeIntegral<uint8_t>(), in FuzzDeserializeFloat32() local
204 Payload buffer = { in FuzzDeserializeFloat64() local
[all …]
/frameworks/native/libs/nativewindow/
DAHardwareBuffer.cpp70 void AHardwareBuffer_acquire(AHardwareBuffer* buffer) { in AHardwareBuffer_acquire()
75 void AHardwareBuffer_release(AHardwareBuffer* buffer) { in AHardwareBuffer_release()
80 void AHardwareBuffer_describe(const AHardwareBuffer* buffer, in AHardwareBuffer_describe()
96 int AHardwareBuffer_lockAndGetInfo(AHardwareBuffer* buffer, uint64_t usage, in AHardwareBuffer_lockAndGetInfo()
151 int AHardwareBuffer_lock(AHardwareBuffer* buffer, uint64_t usage, in AHardwareBuffer_lock()
183 int AHardwareBuffer_lockPlanes(AHardwareBuffer* buffer, uint64_t usage, in AHardwareBuffer_lockPlanes()
231 int AHardwareBuffer_unlock(AHardwareBuffer* buffer, int32_t* fence) { in AHardwareBuffer_unlock()
241 int AHardwareBuffer_sendHandleToUnixSocket(const AHardwareBuffer* buffer, int socketFd) { in AHardwareBuffer_sendHandleToUnixSocket()
400 int AHardwareBuffer_getId(const AHardwareBuffer* buffer, uint64_t* outId) { in AHardwareBuffer_getId()
416 const AHardwareBuffer* buffer) { in AHardwareBuffer_getNativeHandle()
[all …]
/frameworks/base/services/core/java/com/android/server/graphics/fonts/
DOtfFontFileParser.java41 ByteBuffer buffer = mmap(file); in getPostScriptName() local
51 ByteBuffer buffer = mmap(file); in buildFontFileName() local
76 ByteBuffer buffer = mmap(file); in getRevision() local
86 ByteBuffer buffer = mmap(file); in tryToCreateTypeface() local
125 private static void unmap(ByteBuffer buffer) { in unmap()
/frameworks/base/libs/protoutil/tests/
DEncodedBuffer_test.cpp32 sp<EncodedBuffer> buffer = new EncodedBuffer(TEST_CHUNK_SIZE); in TEST() local
65 sp<EncodedBuffer> buffer = new EncodedBuffer(TEST_CHUNK_SIZE); in TEST() local
105 sp<EncodedBuffer> buffer = new EncodedBuffer(TEST_CHUNK_SIZE); in TEST() local
122 sp<EncodedBuffer> buffer = new EncodedBuffer(TEST_CHUNK_SIZE); in TEST() local
146 sp<EncodedBuffer> buffer = new EncodedBuffer(); in TEST() local
/frameworks/native/services/surfaceflinger/
DRefreshRateOverlay.cpp36 const sp<GraphicBuffer>& buffer, in drawRect()
59 const sp<GraphicBuffer>& buffer, in drawSegment()
87 const sp<GraphicBuffer>& buffer, in drawDigit()
123 sp<GraphicBuffer> buffer = in drawNumber() local
230 [&](const auto& buffer) -> std::shared_ptr<renderengine::ExternalTexture> { in getOrCreateBuffers()
259 auto buffer = getOrCreateBuffers(*mCurrentFps)[mFrame]; in changeRefreshRate() local
273 auto buffer = buffers[mFrame]; in onInvalidate() local
/frameworks/av/media/libmediatranscoding/transcoder/
DPassthroughTrackTranscoder.cpp48 uint8_t* buffer = it->second; in getBufferWithSize() local
62 uint8_t* buffer = new (std::nothrow) uint8_t[minimumBufferSize]; in getBufferWithSize() local
73 void PassthroughTrackTranscoder::BufferPool::returnBuffer(uint8_t* buffer) { in returnBuffer()
117 uint8_t* buffer = mBufferPool->getBufferWithSize(info.size); in runTranscodeLoop() local
/frameworks/minikin/tests/perftests/
DGraphemeBreak.cpp37 uint16_t buffer[12]; in BM_GraphemeBreak_Ascii() local
52 uint16_t buffer[12]; in BM_GraphemeBreak_Emoji() local
67 uint16_t buffer[12]; in BM_GraphemeBreak_Emoji_Flags() local
/frameworks/base/core/java/android/hardware/usb/
DUsbRequest.java193 public boolean queue(ByteBuffer buffer, int length) { in queue()
245 public boolean queue(@Nullable ByteBuffer buffer) { in queue()
396 private native boolean native_queue(ByteBuffer buffer, int offset, int length); in native_queue()
397 private native boolean native_queue_array(byte[] buffer, int length, boolean out); in native_queue_array()
398 private native int native_dequeue_array(byte[] buffer, int length, boolean out); in native_dequeue_array()
399 private native boolean native_queue_direct(ByteBuffer buffer, int length, boolean out); in native_queue_direct()
/frameworks/base/media/java/android/media/midi/
DMidiPortImpl.java97 public static int getPacketType(byte[] buffer, int bufferLength) { in getPacketType()
105 public static int getDataOffset(byte[] buffer, int bufferLength) { in getDataOffset()
114 public static int getDataSize(byte[] buffer, int bufferLength) { in getDataSize()
123 public static long getPacketTimestamp(byte[] buffer, int bufferLength) { in getPacketTimestamp()

12345678910>>...43