Home
last modified time | relevance | path

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

12345678910>>...22

/frameworks/base/core/java/android/text/method/
DScrollingMovementMethod.java29 protected boolean left(TextView widget, Spannable buffer) { in left()
34 protected boolean right(TextView widget, Spannable buffer) { in right()
39 protected boolean up(TextView widget, Spannable buffer) { in up()
44 protected boolean down(TextView widget, Spannable buffer) { in down()
49 protected boolean pageUp(TextView widget, Spannable buffer) { in pageUp()
54 protected boolean pageDown(TextView widget, Spannable buffer) { in pageDown()
59 protected boolean top(TextView widget, Spannable buffer) { in top()
64 protected boolean bottom(TextView widget, Spannable buffer) { in bottom()
69 protected boolean lineStart(TextView widget, Spannable buffer) { in lineStart()
74 protected boolean lineEnd(TextView widget, Spannable buffer) { in lineEnd()
[all …]
DArrowKeyMovementMethod.java34 private static boolean isSelecting(Spannable buffer) { in isSelecting()
39 private static int getCurrentLineTop(Spannable buffer, Layout layout) { in getCurrentLineTop()
52 protected boolean handleMovementKey(TextView widget, Spannable buffer, int keyCode, in handleMovementKey()
70 protected boolean left(TextView widget, Spannable buffer) { in left()
80 protected boolean right(TextView widget, Spannable buffer) { in right()
90 protected boolean up(TextView widget, Spannable buffer) { in up()
100 protected boolean down(TextView widget, Spannable buffer) { in down()
110 protected boolean pageUp(TextView widget, Spannable buffer) { in pageUp()
134 protected boolean pageDown(TextView widget, Spannable buffer) { in pageDown()
158 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.java44 protected boolean handleMovementKey(TextView widget, Spannable buffer, int keyCode, in handleMovementKey()
61 protected boolean up(TextView widget, Spannable buffer) { in up()
70 protected boolean down(TextView widget, Spannable buffer) { in down()
79 protected boolean left(TextView widget, Spannable buffer) { in left()
88 protected boolean right(TextView widget, Spannable buffer) { in right()
96 private boolean action(int what, TextView widget, Spannable buffer) { in action()
194 public boolean onTouchEvent(TextView widget, Spannable buffer, in onTouchEvent()
DTouch.java88 public static boolean onTouchEvent(TextView widget, Spannable buffer, in onTouchEvent()
196 public static int getInitialScrollX(TextView widget, Spannable buffer) { in getInitialScrollX()
205 public static int getInitialScrollY(TextView widget, Spannable buffer) { in getInitialScrollY()
218 static boolean isActivelySelecting(Spannable buffer) { in isActivelySelecting()
234 static boolean isSelectionStarted(Spannable buffer) { in isSelectionStarted()
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/
DMarshalQueryablePrimitive.java66 public T unmarshal(ByteBuffer buffer) { in unmarshal()
76 public void marshal(T value, ByteBuffer buffer) { in marshal()
91 marshalPrimitive((Rational) value, buffer); in marshal() local
106 private void marshalPrimitive(int value, ByteBuffer buffer) { in marshalPrimitive()
110 private void marshalPrimitive(float value, ByteBuffer buffer) { in marshalPrimitive()
114 private void marshalPrimitive(double value, ByteBuffer buffer) { in marshalPrimitive()
118 private void marshalPrimitive(long value, ByteBuffer buffer) { in marshalPrimitive()
122 private void marshalPrimitive(Rational value, ByteBuffer buffer) { in marshalPrimitive()
127 private void marshalPrimitive(byte value, ByteBuffer buffer) { in marshalPrimitive()
131 private Object unmarshalObject(ByteBuffer buffer) { in unmarshalObject()
DMarshalQueryableRange.java79 public void marshal(Range<T> value, ByteBuffer buffer) { in marshal()
80 mNestedTypeMarshaler.marshal(value.getLower(), buffer); in marshal() local
81 mNestedTypeMarshaler.marshal(value.getUpper(), buffer); in marshal() local
85 public Range<T> unmarshal(ByteBuffer buffer) { in unmarshal()
/frameworks/webview/chromium/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/compile/mclinker/unittests/
DLEB128Test.cpp47 leb128::ByteType buffer[2]; in TEST_F() local
93 leb128::ByteType buffer[2]; in TEST_F() local
139 leb128::ByteType buffer[2]; in TEST_F() local
199 leb128::ByteType buffer[2]; in TEST_F() local
235 leb128::ByteType buffer[2]; in TEST_F() local
301 leb128::ByteType buffer[5]; in TEST_F() local
418 leb128::ByteType buffer[5]; in TEST_F() local
460 leb128::ByteType buffer[9]; in TEST_F() local
500 leb128::ByteType buffer[5]; in TEST_F() local
516 char buffer[5]; in TEST_F() local
/frameworks/base/core/java/android/hardware/
DSerialPort.java87 public int read(ByteBuffer buffer) throws IOException { in read()
105 public void write(ByteBuffer buffer, int length) throws IOException { in write()
124 private native int native_read_array(byte[] buffer, int length) throws IOException; in native_read_array()
125 private native int native_read_direct(ByteBuffer buffer, int length) throws IOException; in native_read_direct()
126 private native void native_write_array(byte[] buffer, int length) throws IOException; in native_write_array()
127 private native void native_write_direct(ByteBuffer buffer, int length) throws IOException; in native_write_direct()
/frameworks/av/media/libstagefright/rtsp/
DAAVCAssembler.cpp69 sp<ABuffer> buffer = *queue->begin(); in addNALUnit() local
126 void AAVCAssembler::addSingleNALUnit(const sp<ABuffer> &buffer) { in addSingleNALUnit()
143 bool AAVCAssembler::addSingleTimeAggregationPacket(const sp<ABuffer> &buffer) { in addSingleTimeAggregationPacket()
184 sp<ABuffer> buffer = *queue->begin(); in addFragmentedNALUnit() local
230 const sp<ABuffer> &buffer = *it; in addFragmentedNALUnit() local
295 const sp<ABuffer> &buffer = *it; in addFragmentedNALUnit() local
DARTPWriter.cpp176 static void StripStartcode(MediaBuffer *buffer) { in StripStartcode()
299 sp<ABuffer> buffer = new ABuffer(65536); in onSendSR() local
311 void ARTPWriter::send(const sp<ABuffer> &buffer, bool isRTCP) { in send()
330 void ARTPWriter::addSR(const sp<ABuffer> &buffer) { in addSR()
369 void ARTPWriter::addSDES(const sp<ABuffer> &buffer) { in addSDES()
526 void ARTPWriter::makeH264SPropParamSets(MediaBuffer *buffer) { in makeH264SPropParamSets()
555 sp<ABuffer> buffer = new ABuffer(8); in sendBye() local
582 sp<ABuffer> buffer = new ABuffer(kMaxPacketSize); in sendAVCData() local
686 sp<ABuffer> buffer = new ABuffer(kMaxPacketSize); in sendH263Data() local
773 sp<ABuffer> buffer = new ABuffer(kMaxPacketSize); in sendAMRData() local
DARTPSource.cpp88 void ARTPSource::processRTPPacket(const sp<ABuffer> &buffer) { in processRTPPacket()
105 bool ARTPSource::queuePacket(const sp<ABuffer> &buffer) { in queuePacket()
166 void ARTPSource::addFIR(const sp<ABuffer> &buffer) { in addFIR()
216 void ARTPSource::addReceiverReport(const sp<ABuffer> &buffer) { in addReceiverReport()
/frameworks/av/media/libstagefright/
DMediaBufferGroup.cpp33 for (MediaBuffer *buffer = mFirstBuffer; buffer != NULL; in ~MediaBufferGroup() local
44 void MediaBufferGroup::add_buffer(MediaBuffer *buffer) { in add_buffer()
63 for (MediaBuffer *buffer = mFirstBuffer; in acquire_buffer() local
DMediaAdapter.cpp68 void MediaAdapter::signalBufferReturned(MediaBuffer *buffer) { in signalBufferReturned()
78 MediaBuffer **buffer, const ReadOptions * /* options */) { in read()
105 status_t MediaAdapter::pushBuffer(MediaBuffer *buffer) { in pushBuffer()
DSurfaceMediaSource.cpp100 char buffer[1024]; in dump() local
107 char* buffer, in dump()
262 static void passMetadataBuffer(MediaBuffer **buffer, in passMetadataBuffer()
279 MediaBuffer **buffer, const ReadOptions * /* options */) { in read()
383 static buffer_handle_t getMediaBufferHandle(MediaBuffer *buffer) { in getMediaBufferHandle()
391 void SurfaceMediaSource::signalBufferReturned(MediaBuffer *buffer) { in signalBufferReturned()
/frameworks/av/media/libstagefright/mpeg2ts/
DAnotherPacketSource.cpp92 sp<ABuffer> buffer = *it; in getFormat() local
108 status_t AnotherPacketSource::dequeueAccessUnit(sp<ABuffer> *buffer) { in dequeueAccessUnit()
154 const sp<ABuffer> buffer = *mBuffers.begin(); in read() local
199 void AnotherPacketSource::queueAccessUnit(const sp<ABuffer> &buffer) { in queueAccessUnit()
281 sp<ABuffer> buffer = new ABuffer(0); in queueDiscontinuity() local
325 const sp<ABuffer> &buffer = *it; in getBufferedDurationUs_l() local
362 sp<ABuffer> buffer = *it; in getEstimatedDurationUs() local
398 sp<ABuffer> buffer = *mBuffers.begin(); in nextBufferTime() local
/frameworks/av/services/audioflinger/
DTracks.cpp71 void *buffer, in TrackBase()
247 void AudioFlinger::ThreadBase::TrackBase::releaseBuffer(AudioBufferProvider::Buffer* buffer) in releaseBuffer()
313 sp<IMemory>* buffer) { in allocateTimedBuffer()
322 status_t AudioFlinger::TrackHandle::queueTimedBuffer(const sp<IMemory>& buffer, in queueTimedBuffer()
381 void *buffer, in Track()
505 void AudioFlinger::PlaybackThread::Track::dump(char* buffer, size_t size, bool active) in dump()
596 AudioBufferProvider::Buffer* buffer, int64_t pts __unused) in getNextBuffer()
713 ServerProxy::Buffer buffer; in start() local
997 void AudioFlinger::PlaybackThread::Track::setAuxBuffer(int EffectId, int32_t *buffer) in setAuxBuffer()
1198 size_t size, sp<IMemory>* buffer) { in allocateTimedBuffer()
[all …]
/frameworks/ex/framesequence/jni/
DStream.cpp42 size_t Stream::peek(void* buffer, size_t size) { in peek()
60 size_t Stream::read(void* buffer, size_t size) { in read()
82 size_t MemoryStream::doRead(void* buffer, size_t size) { in doRead()
90 size_t FileStream::doRead(void* buffer, size_t size) { in doRead()
/frameworks/base/core/java/android/hardware/usb/
DUsbDeviceConnection.java147 int index, byte[] buffer, int length, int timeout) { in controlTransfer()
172 byte[] buffer, int offset, int length, int timeout) { in controlTransfer()
195 byte[] buffer, int length, int timeout) { in bulkTransfer()
212 byte[] buffer, int offset, int length, int timeout) { in bulkTransfer()
245 private static void checkBounds(byte[] buffer, int start, int length) { in checkBounds()
261 int index, byte[] buffer, int offset, int length, int timeout); in native_control_request()
262 private native int native_bulk_request(int endpoint, byte[] buffer, in native_bulk_request()
DUsbRequest.java135 public boolean queue(ByteBuffer buffer, int length) { in queue()
180 private native boolean native_queue_array(byte[] buffer, int length, boolean out); in native_queue_array()
181 private native int native_dequeue_array(byte[] buffer, int length, boolean out); in native_dequeue_array()
182 private native boolean native_queue_direct(ByteBuffer buffer, int length, boolean out); in native_queue_direct()
/frameworks/base/media/jni/
Dandroid_media_ImageReader.cpp123 CpuConsumer::LockedBuffer *buffer = new CpuConsumer::LockedBuffer; in JNIImageReaderContext() local
159 CpuConsumer::LockedBuffer* buffer = *it; in getLockedBuffer() local
164 void JNIImageReaderContext::returnLockedBuffer(CpuConsumer::LockedBuffer* buffer) { in returnLockedBuffer()
261 const CpuConsumer::LockedBuffer* buffer) in Image_setBuffer()
289 static uint32_t Image_getJpegSize(CpuConsumer::LockedBuffer* buffer, bool usingRGBAOverride) in Image_getJpegSize()
338 static void Image_getLockedBufferInfo(JNIEnv* env, CpuConsumer::LockedBuffer* buffer, int idx, in Image_getLockedBufferInfo()
485 static jint Image_imageGetPixelStride(JNIEnv* env, CpuConsumer::LockedBuffer* buffer, int idx, in Image_imageGetPixelStride()
546 static jint Image_imageGetRowStride(JNIEnv* env, CpuConsumer::LockedBuffer* buffer, int idx, in Image_imageGetRowStride()
621 static int Image_getBufferWidth(CpuConsumer::LockedBuffer* buffer) { in Image_getBufferWidth()
630 static int Image_getBufferHeight(CpuConsumer::LockedBuffer* buffer) { in Image_getBufferHeight()
[all …]
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3DummyStream.cpp39 status_t Camera3DummyStream::getBufferLocked(camera3_stream_buffer *buffer) { in getBufferLocked()
46 const camera3_stream_buffer &buffer, in returnBufferLocked()
54 const camera3_stream_buffer &buffer, in returnBufferCheckedLocked()
/frameworks/native/libs/gui/
DSensor.cpp346 status_t Sensor::flatten(void* buffer, size_t size) const { in flatten()
370 status_t Sensor::unflatten(void const* buffer, size_t size) { in unflatten()
408 void Sensor::flattenString8(void*& buffer, size_t& size, in flattenString8()
416 bool Sensor::unflattenString8(void const*& buffer, size_t& size, String8& outputString8) { in unflattenString8()
/frameworks/av/media/libnbaio/
DPipe.cpp28 Pipe::Pipe(size_t maxFrames, const NBAIO_Format& format, void *buffer) : in Pipe()
46 ssize_t Pipe::write(const void *buffer, size_t count) in write()

12345678910>>...22