/frameworks/base/core/java/android/text/method/ |
D | ScrollingMovementMethod.java | 30 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 …]
|
D | ArrowKeyMovementMethod.java | 33 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 …]
|
D | BaseMovementMethod.java | 136 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 …]
|
D | LinkMovementMethod.java | 44 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()
|
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/ |
D | MarshalQueryablePrimitive.java | 64 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/vr/libpdx/private/pdx/rpc/ |
D | buffer_wrapper.h | 32 BufferWrapper(pointer buffer, size_type capacity, size_type size) in BufferWrapper() 37 BufferWrapper(pointer buffer, size_type size) in BufferWrapper() 113 BufferWrapper(const BufferType& buffer) : buffer_(buffer) {} in BufferWrapper() 114 BufferWrapper(const BufferType& buffer, const Allocator& allocator) in BufferWrapper() 116 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/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/ |
D | HSConnectionCapabilityElementTest.java | 48 private void appendProtocolPortTuple(ByteBuffer buffer, ProtocolPortTuple tuple) { in appendProtocolPortTuple() 61 ByteBuffer buffer = ByteBuffer.allocate(tuples.length * ProtocolPortTuple.RAW_BYTE_SIZE) in getTestBuffer() local 91 ByteBuffer buffer = ByteBuffer.allocate(ProtocolPortTuple.RAW_BYTE_SIZE - 1); in parseBufferWithLessThanMinimumSize() local 106 ByteBuffer buffer = ByteBuffer.allocate(ProtocolPortTuple.RAW_BYTE_SIZE + 1); in parseBufferWithIncompleteTupleBytes() local 121 ByteBuffer buffer = getTestBuffer(new ProtocolPortTuple[] {TEST_TUPLE1, TEST_TUPLE2}); in parseBufferWithTestData() local
|
D | ANQPParserTest.java | 182 ByteBuffer buffer = ByteBuffer.allocate(HSWanMetricsElement.EXPECTED_BUFFER_SIZE) in getHSWanMetricsPayload() local 261 ByteBuffer buffer = ByteBuffer.wrap(getVenueNamePayload(language, text)); in parseVenueNameElement() local 283 ByteBuffer buffer = ByteBuffer.wrap(new byte[] {(byte) ipAddressAvailability}); in parseIPAddressTypeAvailabilityElement() local 299 ByteBuffer buffer = ByteBuffer.wrap(getDomainNamePayload(testNames)); in parseDomainNameElement() local 316 ByteBuffer buffer = ByteBuffer.wrap(getRoamingConsortiumPayload(ois, oisLength)); in parseRoamingConsortium() local 333 ByteBuffer buffer = ByteBuffer.wrap(getNAIRealmPayload(testBytes)); in parseNAIRealmElement() local 353 ByteBuffer buffer = ByteBuffer.wrap(getThreeGPPNetworkPayload( in parseThreeGPPNetworkElement() local 367 ByteBuffer buffer = ByteBuffer.wrap( in parseNonHS20VendorSpecificElement() local 414 ByteBuffer buffer = ByteBuffer.wrap(getHSFriendlyNamePayload(language, text)); in parseHSFrendlyNameElement() local 441 ByteBuffer buffer = ByteBuffer.wrap(data); in parseHSWANMetricsElement() local [all …]
|
D | VenueNameElementTest.java | 97 ByteBuffer buffer = ByteBuffer.wrap(getTestData(new String[] {TEST_VENUE_NAME1})); in parseTruncatedBuffer() local 111 ByteBuffer buffer = ByteBuffer.wrap(getTestData(new String[0])); in parseBufferWithEmptyVenueName() local 128 ByteBuffer buffer = ByteBuffer.wrap( in parseBufferWithValidVenueNames() local 145 ByteBuffer buffer = ByteBuffer.wrap(getTestData(new String[] {text})); in parseBufferWithMaxLengthVenueName() local 166 ByteBuffer buffer = ByteBuffer.wrap(getTestData(new String[] {text})); in parseBufferWithVenueNameLengthExceedMax() local
|
D | NAIRealmDataTest.java | 52 ByteBuffer buffer = ByteBuffer.wrap(NAIRealmDataTestUtil.TEST_REAML_WITH_UTF8_DATA_BYTES); in parseTruncatedBuffer() local 65 ByteBuffer buffer = ByteBuffer.wrap(NAIRealmDataTestUtil.TEST_REAML_WITH_UTF8_DATA_BYTES); in parseBufferWithUTF8EncodedNAIRealmData() local 77 ByteBuffer buffer = ByteBuffer.wrap( in parseBufferWithNonUTF8EncodedNAIRealmData() local
|
D | HSWanMetricsElementTest.java | 49 ByteBuffer buffer = ByteBuffer.allocate(HSWanMetricsElement.EXPECTED_BUFFER_SIZE) in getTestBuffer() local 82 ByteBuffer buffer = ByteBuffer.allocate(HSWanMetricsElement.EXPECTED_BUFFER_SIZE - 1); in parseBufferWithLessThanExpectedSize() local 96 ByteBuffer buffer = ByteBuffer.allocate(HSWanMetricsElement.EXPECTED_BUFFER_SIZE + 1); in parseBufferWithMoreThanExpectedSize() local 110 ByteBuffer buffer = getTestBuffer(); in parseBufferWithTestData() local
|
D | HSFriendlyNameElementTest.java | 99 ByteBuffer buffer = ByteBuffer.allocate(testData.length - 1); in parseBufferWithTruncatedByte() local 114 ByteBuffer buffer = ByteBuffer.allocate(testData.length); in parseBufferWithDefaultTestData() local 140 ByteBuffer buffer = ByteBuffer.allocate(testData.length); in parseBufferWithMaxLengthOperatoreName() local 164 ByteBuffer buffer = ByteBuffer.allocate(testData.length); in parseBufferWithOperatorNameLengthExceedMax() local
|
D | RoamingConsortiumElementTest.java | 124 ByteBuffer buffer = ByteBuffer.wrap(getDefaultTestData()); in parseTruncatedBuffer() local 140 ByteBuffer buffer = ByteBuffer.wrap(getDefaultTestData()); in parseBufferWithDefaultTestData() local 152 ByteBuffer buffer = ByteBuffer.allocate(1); in parseBufferWithOILengthLessThanMinimum() local 166 ByteBuffer buffer = ByteBuffer.allocate(1); in parseBufferWithOILengthMoreThanMaximum() local
|
D | ProtocolPortTupleTest.java | 47 ByteBuffer buffer = ByteBuffer.allocate(ProtocolPortTuple.RAW_BYTE_SIZE) in getTestBuffer() local 74 ByteBuffer buffer = ByteBuffer.allocate(ProtocolPortTuple.RAW_BYTE_SIZE - 1); in parseBufferWithIncompleteData() local 88 ByteBuffer buffer = getTestBuffer(TEST_PROTOCOL, TEST_PORT, TEST_STATUS); in parseBufferWithTestData() local
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | ByteBufferReaderTest.java | 45 ByteBuffer buffer = ByteBuffer.wrap(data).order(ByteOrder.LITTLE_ENDIAN); in readIntegerWithBufferUnderflow() local 59 ByteBuffer buffer = ByteBuffer.wrap(data).order(ByteOrder.LITTLE_ENDIAN); in readIntegerExceedingMaximumLength() local 73 ByteBuffer buffer = ByteBuffer.wrap(data).order(ByteOrder.LITTLE_ENDIAN); in readIntegerLessThanMinimumLength() local 86 ByteBuffer buffer = ByteBuffer.wrap(data).order(ByteOrder.LITTLE_ENDIAN); in readIntegerWithMinimumSize() local 146 ByteBuffer buffer = ByteBuffer.wrap(expectedValue.getBytes(StandardCharsets.US_ASCII)); in readString() local 161 ByteBuffer buffer = ByteBuffer.allocate(expectedValue.length() + 1); in readStringWithByteLength() local
|
/frameworks/base/core/jni/ |
D | android_hardware_HardwareBuffer.cpp | 62 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 118 GraphicBuffer* buffer = GraphicBufferWrapper_to_GraphicBuffer(nativeObject); in android_hardware_HardwareBuffer_getWidth() local 124 GraphicBuffer* buffer = GraphicBufferWrapper_to_GraphicBuffer(nativeObject); in android_hardware_HardwareBuffer_getHeight() local 130 GraphicBuffer* buffer = GraphicBufferWrapper_to_GraphicBuffer(nativeObject); in android_hardware_HardwareBuffer_getFormat() local 137 GraphicBuffer* buffer = GraphicBufferWrapper_to_GraphicBuffer(nativeObject); in android_hardware_HardwareBuffer_getLayers() local 143 GraphicBuffer* buffer = GraphicBufferWrapper_to_GraphicBuffer(nativeObject); in android_hardware_HardwareBuffer_getUsage() local 153 GraphicBuffer* buffer = GraphicBufferWrapper_to_GraphicBuffer(nativeObject); in android_hardware_HardwareBuffer_write() local 164 sp<GraphicBuffer> buffer = new GraphicBuffer(); in android_hardware_HardwareBuffer_read() local [all …]
|
/frameworks/webview/chromium/plat_support/ |
D | graphic_buffer_impl.cpp | 38 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/native/libs/nativewindow/ |
D | AHardwareBuffer.cpp | 85 void AHardwareBuffer_acquire(AHardwareBuffer* buffer) { in AHardwareBuffer_acquire() 90 void AHardwareBuffer_release(AHardwareBuffer* buffer) { in AHardwareBuffer_release() 95 void AHardwareBuffer_describe(const AHardwareBuffer* buffer, in AHardwareBuffer_describe() 111 int AHardwareBuffer_lock(AHardwareBuffer* buffer, uint64_t usage, in AHardwareBuffer_lock() 133 int AHardwareBuffer_unlock(AHardwareBuffer* buffer, int32_t* fence) { in AHardwareBuffer_unlock() 143 int AHardwareBuffer_sendHandleToUnixSocket(const AHardwareBuffer* buffer, int socketFd) { in AHardwareBuffer_sendHandleToUnixSocket() 276 const AHardwareBuffer* buffer) { in AHardwareBuffer_getNativeHandle() 423 const GraphicBuffer* AHardwareBuffer_to_GraphicBuffer(const AHardwareBuffer* buffer) { in AHardwareBuffer_to_GraphicBuffer() 427 GraphicBuffer* AHardwareBuffer_to_GraphicBuffer(AHardwareBuffer* buffer) { in AHardwareBuffer_to_GraphicBuffer() 431 const ANativeWindowBuffer* AHardwareBuffer_to_ANativeWindowBuffer(const AHardwareBuffer* buffer) { in AHardwareBuffer_to_ANativeWindowBuffer() [all …]
|
/frameworks/compile/mclinker/unittests/ |
D | LEB128Test.cpp | 42 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/tools/aapt2/util/ |
D | BigBuffer_test.cpp | 24 BigBuffer buffer(4); in TEST() local 31 BigBuffer buffer(16); in TEST() local 43 BigBuffer buffer(16); in TEST() local 50 BigBuffer buffer(16); in TEST() local 84 BigBuffer buffer(16); in TEST() local
|
/frameworks/base/core/java/android/hardware/ |
D | SerialPort.java | 87 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/native/libs/vr/libbufferhub/include/private/dvr/ |
D | native_buffer.h | 28 explicit NativeBuffer(const std::shared_ptr<IonBuffer>& buffer) in NativeBuffer() 40 std::shared_ptr<IonBuffer> buffer() { return buffer_; } in buffer() function 63 NativeBufferProducer(const std::shared_ptr<BufferProducer>& buffer, in NativeBufferProducer() 77 explicit NativeBufferProducer(const std::shared_ptr<BufferProducer>& buffer) in NativeBufferProducer() 88 std::shared_ptr<BufferProducer> buffer() const { return buffer_; } in buffer() function 131 explicit NativeBufferConsumer(const std::shared_ptr<BufferConsumer>& buffer) in NativeBufferConsumer() 143 std::shared_ptr<BufferConsumer> buffer() const { return buffer_; } in buffer() function
|
/frameworks/base/libs/hwui/renderstate/ |
D | MeshState.cpp | 78 void MeshState::bindMeshBuffer(GLuint buffer) { in bindMeshBuffer() 92 void MeshState::genOrUpdateMeshBuffer(GLuint* buffer, GLsizeiptr size, in genOrUpdateMeshBuffer() 101 void MeshState::updateMeshBufferSubData(GLuint buffer, GLintptr offset, in updateMeshBufferSubData() 107 void MeshState::deleteMeshBuffer(GLuint buffer) { in deleteMeshBuffer() 166 void MeshState::bindIndicesBuffer(const GLuint buffer) { in bindIndicesBuffer()
|
/frameworks/av/media/libstagefright/rtsp/ |
D | AAVCAssembler.cpp | 69 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
|
/frameworks/base/core/java/android/hardware/usb/ |
D | UsbRequest.java | 182 public boolean queue(ByteBuffer buffer, int length) { in queue() 226 public boolean queue(@Nullable ByteBuffer buffer) { in queue() 350 private native boolean native_queue(ByteBuffer buffer, int offset, int length); in native_queue() 351 private native boolean native_queue_array(byte[] buffer, int length, boolean out); in native_queue_array() 352 private native int native_dequeue_array(byte[] buffer, int length, boolean out); in native_dequeue_array() 353 private native boolean native_queue_direct(ByteBuffer buffer, int length, boolean out); in native_queue_direct()
|