/frameworks/native/libs/vr/libpdx/private/pdx/rpc/ |
D | buffer_wrapper.h | 102 using BufferType = typename std::vector<T, Allocator>; 103 using value_type = typename BufferType::value_type; 104 using size_type = typename BufferType::size_type; 105 using reference = typename BufferType::reference; 106 using const_reference = typename BufferType::const_reference; 107 using pointer = typename BufferType::pointer; 108 using const_pointer = typename BufferType::const_pointer; 109 using iterator = typename BufferType::iterator; 110 using const_iterator = typename BufferType::const_iterator; 113 explicit BufferWrapper(const BufferType& buffer) : buffer_(buffer) {} in BufferWrapper() [all …]
|
D | thread_local_buffer.h | 46 using BufferType = std::vector<T, Allocator>; 67 static BufferType& GetBuffer(std::size_t capacity = Capacity) { 76 static BufferType& GetEmptyBuffer() { in GetEmptyBuffer() 85 static BufferType& GetSizedBuffer(std::size_t size = Capacity) { 104 GetBufferGuard().reset(buffer_ = new BufferType(capacity)); in InitializeBuffer() 115 static thread_local BufferType* buffer_; 117 static std::unique_ptr<BufferType>& GetBufferGuard() { in GetBufferGuard() 119 static thread_local std::unique_ptr<BufferType> buffer_guard; in GetBufferGuard() 127 typename ThreadLocalBuffer<T, Allocator, Capacity, Slot>::BufferType*
|
D | payload.h | 19 using BufferType = typename MessageBuffer<Slot>::BufferType; 30 typename BufferType::iterator& Cursor() { return cursor_; } in Cursor() 34 typename BufferType::const_iterator& ConstCursor() { return const_cursor_; } in ConstCursor() 37 typename BufferType::const_iterator ConstEnd() { return buffer_.cend(); } in ConstEnd() 71 BufferType& buffer_; 72 typename BufferType::iterator cursor_; 73 typename BufferType::const_iterator const_cursor_; 121 using BufferType = typename ContainerType::BufferType; variable
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
D | TextViewFallbackLineSpacingTest.java | 30 import android.widget.TextView.BufferType; 54 { "Enabled - StaticLayout", true, BufferType.NORMAL}, in layouts() 55 { "Disabled - StaticLayout", false, BufferType.NORMAL}, in layouts() 56 { "Enabled - DynamicLayout", true, BufferType.EDITABLE}, in layouts() 57 { "Disabled - DynamicLayout", false, BufferType.EDITABLE}, in layouts() 66 private final BufferType mBufferType; 69 BufferType bufferType) { in TextViewFallbackLineSpacingTest() 115 if (mBufferType == BufferType.NORMAL) { in testFallbackLineSpacing()
|
D | TextViewTest.java | 36 import android.widget.TextView.BufferType; 108 mTextView.setText(originalText, TextView.BufferType.SPANNABLE); in testProcessTextActivityResultNonEditable() 132 mTextView.setText(originalText, TextView.BufferType.SPANNABLE); in testProcessTextActivityResultEditable() 150 mTextView.setText(originalText, TextView.BufferType.SPANNABLE); in testProcessTextActivityResultCancel() 169 mTextView.setText(originalText, TextView.BufferType.SPANNABLE); in testProcessTextActivityNoData() 285 mTextView.setText(text, BufferType.SPANNABLE); in testUseDynamicLayout_SPANNABLE() 290 mTextView.setText(text, BufferType.SPANNABLE); in testUseDynamicLayout_SPANNABLE() 294 mTextView.setText(precomputed, BufferType.SPANNABLE); in testUseDynamicLayout_SPANNABLE() 298 mTextView.setText(precomputed, BufferType.SPANNABLE); in testUseDynamicLayout_SPANNABLE() 311 mTextView.setText(text, BufferType.EDITABLE); in testUseDynamicLayout_EDITABLE() [all …]
|
/frameworks/libs/net/common/device/android/net/util/ |
D | FdEventsReader.java | 72 public abstract class FdEventsReader<BufferType> { 81 private final BufferType mBuffer; 93 protected FdEventsReader(@NonNull Handler h, @NonNull BufferType buffer) { in FdEventsReader() 128 protected abstract int recvBufSize(@NonNull BufferType buffer); in recvBufSize() 160 protected abstract int readPacket(@NonNull FileDescriptor fd, @NonNull BufferType buffer) in readPacket() 168 protected void handlePacket(@NonNull BufferType recvbuf, int length) {} in handlePacket()
|
/frameworks/base/core/java/android/widget/ |
D | EditText.java | 116 super.setText(text, BufferType.EDITABLE); in getText() 121 public void setText(CharSequence text, BufferType type) { in setText() 122 super.setText(text, BufferType.EDITABLE); in setText()
|
D | TextView.java | 702 private BufferType mBufferType = BufferType.NORMAL; 1411 BufferType bufferType = BufferType.EDITABLE; 1513 bufferType = BufferType.SPANNABLE; 1521 bufferType = BufferType.NORMAL; 1524 bufferType = BufferType.SPANNABLE; 1527 bufferType = BufferType.EDITABLE; 1541 if (bufferType == BufferType.NORMAL) { 1542 bufferType = BufferType.SPANNABLE; 5760 setText(mText, BufferType.EDITABLE); in append() 6101 public void setText(CharSequence text, BufferType type) { in setText() [all …]
|
/frameworks/av/media/libmedia/include/media/ |
D | OMXBuffer.h | 110 enum BufferType { enum 119 BufferType mBufferType;
|
/frameworks/av/media/libmedia/ |
D | OMXBuffer.cpp | 115 BufferType bufferType = (BufferType) parcel->readInt32(); in readFromParcel()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/widget/ |
D | LinkTextView.java | 41 public void setText(CharSequence text, BufferType type) { in setText()
|
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/ |
D | CryptoPlugin.cpp | 33 using ::android::hardware::drm::V1_0::BufferType; 103 if (destination.type == BufferType::SHARED_MEMORY) { in decrypt_1_2()
|
/frameworks/av/drm/libmediadrm/ |
D | CryptoHal.cpp | 33 using drm::V1_0::BufferType; 384 hDestination.type = BufferType::SHARED_MEMORY; in decrypt() 392 hDestination.type = BufferType::NATIVE_HANDLE; in decrypt()
|
/frameworks/base/core/tests/coretests/src/android/text/method/ |
D | ForwardDeleteTest.java | 24 import android.widget.TextView.BufferType; 60 mTextView.setText(state.mText, BufferType.EDITABLE); in forwardDelete()
|
D | BackspaceTest.java | 24 import android.widget.TextView.BufferType; 62 mTextView.setText(state.mText, BufferType.EDITABLE); in backspace()
|
/frameworks/av/media/libstagefright/ |
D | ACodecBufferChannel.cpp | 175 dstBuffer.type = BufferType::NATIVE_HANDLE; in queueSecureInputBuffer() 178 dstBuffer.type = BufferType::SHARED_MEMORY; in queueSecureInputBuffer() 220 if (dstBuffer.type == BufferType::SHARED_MEMORY) { in queueSecureInputBuffer()
|
/frameworks/base/apct-tests/perftests/core/src/android/widget/ |
D | EditTextCursorMovementPerfTest.java | 89 editText.setText(mText, TextView.BufferType.EDITABLE); in testCursorMovement()
|
D | EditTextLongTextPerfTest.java | 91 editText.setText(sb.toString(), TextView.BufferType.EDITABLE); in setupEditText()
|
D | EditTextBackspacePerfTest.java | 89 editText.setText(mText, TextView.BufferType.EDITABLE); in prepareTextForBackspace()
|
/frameworks/opt/setupwizard/library/platform/src/com/android/setupwizardlib/view/ |
D | RichTextView.java | 104 public void setText(CharSequence text, BufferType type) { in setText()
|
/frameworks/opt/setupwizard/library/gingerbread/src/com/android/setupwizardlib/view/ |
D | RichTextView.java | 112 public void setText(CharSequence text, BufferType type) { in setText()
|
/frameworks/native/libs/vr/libpdx_default_transport/ |
D | pdx_benchmarks.cpp | 393 using BufferType = BufferWrapper< typedef in __anon473f29b10111::BenchmarkService 396 int OnWriteVector(Message&, const BufferType& data) { return data.size(); } in OnWriteVector() 397 BufferType OnEchoVector(Message&, BufferType&& data) { in OnEchoVector()
|
/frameworks/base/tests/SoundTriggerTestApp/src/com/android/test/soundtrigger/ |
D | SoundTriggerTestActivity.java | 88 mDebugView.setText(mDebugView.getText(), TextView.BufferType.EDITABLE); in onCreate()
|
/frameworks/base/media/jni/ |
D | android_media_MediaDescrambler.cpp | 227 dstBuffer.type = BufferType::SHARED_MEMORY; in descramble()
|
/frameworks/av/media/codec2/sfplugin/ |
D | CCodecBufferChannel.cpp | 464 dstBuffer.type = BufferType::NATIVE_HANDLE; in queueSecureInputBuffer() 467 dstBuffer.type = BufferType::SHARED_MEMORY; in queueSecureInputBuffer() 509 if (dstBuffer.type == BufferType::SHARED_MEMORY) { in queueSecureInputBuffer()
|