Home
last modified time | relevance | path

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

12345678910>>...23

/aosp14/frameworks/base/core/java/android/text/method/
H A 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()
75 protected boolean lineEnd(TextView widget, Spannable buffer) { in lineEnd()
80 protected boolean home(TextView widget, Spannable buffer) { in home()
[all …]
H A DArrowKeyMovementMethod.java34 private static boolean isSelecting(Spannable buffer) { in isSelecting()
70 protected boolean left(TextView widget, Spannable buffer) { in left()
83 protected boolean right(TextView widget, Spannable buffer) { in right()
96 protected boolean up(TextView widget, Spannable buffer) { in up()
109 protected boolean down(TextView widget, Spannable buffer) { in down()
122 protected boolean pageUp(TextView widget, Spannable buffer) { in pageUp()
176 protected boolean top(TextView widget, Spannable buffer) { in top()
186 protected boolean bottom(TextView widget, Spannable buffer) { in bottom()
209 protected boolean lineEnd(TextView widget, Spannable buffer) { in lineEnd()
240 protected boolean home(TextView widget, Spannable buffer) { in home()
[all …]
H A DBaseMovementMethod.java259 protected boolean left(TextView widget, Spannable buffer) { in left()
271 protected boolean right(TextView widget, Spannable buffer) { in right()
283 protected boolean up(TextView widget, Spannable buffer) { in up()
295 protected boolean down(TextView widget, Spannable buffer) { in down()
307 protected boolean pageUp(TextView widget, Spannable buffer) { in pageUp()
319 protected boolean pageDown(TextView widget, Spannable buffer) { in pageDown()
331 protected boolean top(TextView widget, Spannable buffer) { in top()
343 protected boolean bottom(TextView widget, Spannable buffer) { in bottom()
367 protected boolean lineEnd(TextView widget, Spannable buffer) { in lineEnd()
391 protected boolean home(TextView widget, Spannable buffer) { in home()
[all …]
H A 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()
209 public boolean onTouchEvent(TextView widget, Spannable buffer, in onTouchEvent()
/aosp14/system/core/libutils/include/utils/
H A DFlattenable.h44 static size_t align(void const*& buffer) { in align()
52 static size_t align(void*& buffer) { in align()
61 static void advance(void*& buffer, size_t& size, size_t offset) { in advance()
66 static void advance(void const*& buffer, size_t& size, size_t offset) { in advance()
73 static void write(void*& buffer, size_t& size, const T& value) { in write()
82 static void read(void const*& buffer, size_t& size, T& value) { in read()
135 void*& buffer, size_t& size, int*& fds, size_t& count) const { in flatten()
140 void const*& buffer, size_t& size, int const*& fds, size_t& count) { in unflatten()
179 inline status_t LightFlattenable<T>::flatten(void* buffer, size_t size) const { in flatten()
206 inline status_t flatten(void* buffer, size_t size) const { in flatten()
[all …]
/aosp14/frameworks/base/core/java/android/hardware/camera2/marshal/impl/
H A DMarshalQueryablePrimitive.java64 public T unmarshal(ByteBuffer buffer) { in unmarshal()
74 public void marshal(T value, ByteBuffer buffer) { in marshal()
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()
H A DMarshalQueryableRange.java76 public void marshal(Range<T> value, ByteBuffer buffer) { in marshal()
77 mNestedTypeMarshaler.marshal(value.getLower(), buffer); in marshal() local
78 mNestedTypeMarshaler.marshal(value.getUpper(), buffer); in marshal() local
82 public Range<T> unmarshal(ByteBuffer buffer) { in unmarshal()
/aosp14/frameworks/base/libs/hwui/tests/unit/
H A DCanvasOpTests.cpp74 CanvasOpBuffer buffer; in TEST() local
88 CanvasOpBuffer buffer; in TEST() local
128 CanvasOpBuffer buffer; in TEST() local
143 CanvasOpBuffer buffer; in TEST() local
159 CanvasOpBuffer buffer; in TEST() local
184 CanvasOpBuffer buffer; in TEST() local
202 CanvasOpBuffer buffer; in TEST() local
226 CanvasOpBuffer buffer; in TEST() local
241 CanvasOpBuffer buffer; in TEST() local
259 CanvasOpBuffer buffer; in TEST() local
[all …]
H A DAutoBackendTextureReleaseTests.cpp26 AHardwareBuffer* buffer; in allocHardwareBuffer() local
43 AHardwareBuffer* buffer = allocHardwareBuffer(); in RENDERTHREAD_TEST() local
61 AHardwareBuffer* buffer = allocHardwareBuffer(); in RENDERTHREAD_TEST() local
/aosp14/frameworks/base/core/tests/coretests/src/com/android/internal/util/
H A DRingBufferTest.java35 RingBuffer<String> buffer = new RingBuffer<>(String.class, 100); in testEmptyRingBuffer() local
43 RingBuffer<String> buffer = new RingBuffer<>(String.class, -10); in testIncorrectConstructorArguments() local
49 RingBuffer<String> buffer = new RingBuffer<>(String.class, 0); in testIncorrectConstructorArguments() local
57 RingBuffer<String> buffer = new RingBuffer<>(String.class, 100); in testRingBufferWithNoWrapping() local
71 RingBuffer<String> buffer = new RingBuffer<>(String.class, 1); in testRingBufferWithCapacity1() local
92 RingBuffer<String> buffer = new RingBuffer<>(String.class, capacity); in testRingBufferWithWrapping() local
133 RingBuffer<DummyClass1> buffer = new RingBuffer<>(DummyClass1.class, capacity); in testGetNextSlot() local
/aosp14/frameworks/base/core/jni/
H A Dandroid_hardware_HardwareBuffer.cpp62 explicit GraphicBufferWrapper(const sp<GraphicBuffer>& buffer) in GraphicBufferWrapper()
65 sp<GraphicBuffer> buffer; member in GraphicBufferWrapper
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
205 sp<GraphicBuffer> buffer = new GraphicBuffer(); in android_hardware_HardwareBuffer_read() local
222 GraphicBuffer* buffer = GraphicBufferWrapper_to_GraphicBuffer( in android_hardware_HardwareBuffer_getNativeHardwareBuffer() local
[all …]
/aosp14/system/core/debuggerd/libdebuggerd/test/
H A Ddump_memory_test.cpp181 uint8_t buffer[256]; in TEST_F() local
200 uint8_t buffer[256]; in TEST_F() local
220 uint8_t buffer[256]; in TEST_F() local
252 uint8_t buffer[104]; in TEST_F() local
271 uint8_t buffer[104]; in TEST_F() local
296 uint8_t buffer[106]; in TEST_F() local
325 uint8_t buffer[256]; in TEST_F() local
379 uint8_t buffer[256]; in TEST_F() local
402 uint8_t buffer[256]; in TEST_F() local
479 uint8_t buffer[256]; in TEST_F() local
[all …]
/aosp14/frameworks/base/graphics/java/android/graphics/fonts/
H A 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()
/aosp14/frameworks/base/native/webview/plat_support/
H A 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
/aosp14/frameworks/base/libs/androidfw/tests/
H A DBigBuffer_test.cpp27 BigBuffer buffer(4); in TEST() local
34 BigBuffer buffer(16); in TEST() local
46 BigBuffer buffer(16); in TEST() local
53 BigBuffer buffer(16); in TEST() local
87 BigBuffer buffer(16); in TEST() local
/aosp14/frameworks/base/core/java/android/hardware/
H A 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()
/aosp14/frameworks/base/services/core/java/com/android/server/graphics/fonts/
H A 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()
/aosp14/frameworks/base/core/java/android/hardware/usb/
H A DUsbRequest.java195 public boolean queue(ByteBuffer buffer, int length) { in queue()
211 /* package */ boolean queueIfConnectionOpen(ByteBuffer buffer, int length) { in queueIfConnectionOpen()
269 public boolean queue(@Nullable ByteBuffer buffer) { in queue()
285 /* package */ boolean queueIfConnectionOpen(@Nullable ByteBuffer buffer) { in queueIfConnectionOpen()
444 private native boolean native_queue(ByteBuffer buffer, int offset, int length); in native_queue()
445 private native boolean native_queue_array(byte[] buffer, int length, boolean out); in native_queue_array()
446 private native int native_dequeue_array(byte[] buffer, int length, boolean out); in native_dequeue_array()
447 private native boolean native_queue_direct(ByteBuffer buffer, int length, boolean out); in native_queue_direct()
/aosp14/frameworks/base/libs/protoutil/tests/
H A 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
/aosp14/system/core/fs_mgr/libsnapshot/libsnapshot_cow/
H A Dcow_compress.cpp44 std::basic_string<uint8_t> buffer(bound, '\0'); in Compress() local
62 std::basic_string<uint8_t> buffer(bound, '\0'); in Compress() local
81 std::basic_string<uint8_t> buffer(bound, '\0'); in Compress() local
106 bool CompressWorker::CompressBlocks(const void* buffer, size_t num_blocks, in CompressBlocks()
112 const void* buffer, size_t num_blocks, in CompressBlocks()
171 void CompressWorker::EnqueueCompressBlocks(const void* buffer, size_t num_blocks) { in EnqueueCompressBlocks()
/aosp14/frameworks/base/core/java/android/os/
H A DHidlMemoryUtil.java80 ByteBuffer buffer = shmem.mapReadWrite(); in byteArrayToHidlMemory() local
122 ByteBuffer buffer = shmem.mapReadWrite(); in byteListToHidlMemory() local
152 ByteBuffer buffer = getBuffer(mem); in hidlMemoryToByteArray() local
178 ByteBuffer buffer = getBuffer(mem); in hidlMemoryToByteList() local
/aosp14/frameworks/base/apct-tests/perftests/surfaceflinger/src/android/surfaceflinger/
H A DBufferFlinger.java42 GraphicBuffer buffer = GraphicBuffer.create(500, 500, in BufferFlinger() local
58 final GraphicBuffer buffer = mBufferQ.take(); in addBuffer() local
69 public void releaseCallback(SyncFence fence, GraphicBuffer buffer) { in releaseCallback()
/aosp14/system/core/fastboot/device/
H A Dtcp_client.cpp33 static uint64_t ExtractMessageLength(const void* buffer) { in ExtractMessageLength()
42 static void EncodeMessageLength(uint64_t length, void* buffer) { in EncodeMessageLength()
68 char buffer[8]; in Read() local
144 char buffer[kHandshakeLength + 1]; in ListenFastbootSocket() local
/aosp14/frameworks/base/media/java/android/media/midi/
H A 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()
/aosp14/system/core/libappfuse/
H A DFuseAppLoop.cc32 bool HandleLookUp(FuseAppLoop* loop, FuseBuffer* buffer, FuseAppLoopCallback* callback) { in HandleLookUp()
57 bool HandleGetAttr(FuseAppLoop* loop, FuseBuffer* buffer, FuseAppLoopCallback* callback) { in HandleGetAttr()
67 bool HandleRead(FuseAppLoop* loop, FuseBuffer* buffer, FuseAppLoopCallback* callback) { in HandleRead()
77 bool HandleWrite(FuseAppLoop* loop, FuseBuffer* buffer, FuseAppLoopCallback* callback) { in HandleWrite()
88 bool HandleMessage(FuseAppLoop* loop, FuseBuffer* buffer, int fd, FuseAppLoopCallback* callback) { in HandleMessage()
226 FuseBuffer buffer; in Start() local

12345678910>>...23