Home
last modified time | relevance | path

Searched refs:BufferType (Results 1 – 25 of 33) sorted by relevance

12

/frameworks/native/libs/vr/libpdx/private/pdx/rpc/
Dbuffer_wrapper.h102 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 …]
Dthread_local_buffer.h46 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*
Dpayload.h19 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/
DTextViewFallbackLineSpacingTest.java30 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()
DTextViewTest.java36 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/base/core/java/android/widget/
DEditText.java116 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()
DTextView.java700 private BufferType mBufferType = BufferType.NORMAL;
1406 BufferType bufferType = BufferType.EDITABLE;
1508 bufferType = BufferType.SPANNABLE;
1516 bufferType = BufferType.NORMAL;
1519 bufferType = BufferType.SPANNABLE;
1522 bufferType = BufferType.EDITABLE;
1536 if (bufferType == BufferType.NORMAL) {
1537 bufferType = BufferType.SPANNABLE;
5755 setText(mText, BufferType.EDITABLE); in append()
6096 public void setText(CharSequence text, BufferType type) { in setText()
[all …]
/frameworks/av/media/libmedia/include/media/
DOMXBuffer.h110 enum BufferType { enum
119 BufferType mBufferType;
/frameworks/av/include/media/
DOMXBuffer.h110 enum BufferType { enum
119 BufferType mBufferType;
/frameworks/av/media/libmedia/
DOMXBuffer.cpp115 BufferType bufferType = (BufferType) parcel->readInt32(); in readFromParcel()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/widget/
DLinkTextView.java41 public void setText(CharSequence text, BufferType type) { in setText()
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/
DCryptoPlugin.cpp33 using ::android::hardware::drm::V1_0::BufferType;
103 if (destination.type == BufferType::SHARED_MEMORY) { in decrypt_1_2()
/frameworks/av/drm/libmediadrm/
DCryptoHal.cpp33 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/
DForwardDeleteTest.java24 import android.widget.TextView.BufferType;
60 mTextView.setText(state.mText, BufferType.EDITABLE); in forwardDelete()
DBackspaceTest.java24 import android.widget.TextView.BufferType;
62 mTextView.setText(state.mText, BufferType.EDITABLE); in backspace()
/frameworks/av/media/libstagefright/
DACodecBufferChannel.cpp175 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/
DEditTextCursorMovementPerfTest.java89 editText.setText(mText, TextView.BufferType.EDITABLE); in testCursorMovement()
DEditTextBackspacePerfTest.java89 editText.setText(mText, TextView.BufferType.EDITABLE); in prepareTextForBackspace()
DEditTextLongTextPerfTest.java91 editText.setText(sb.toString(), TextView.BufferType.EDITABLE); in setupEditText()
/frameworks/opt/setupwizard/library/platform/src/com/android/setupwizardlib/view/
DRichTextView.java104 public void setText(CharSequence text, BufferType type) { in setText()
/frameworks/opt/setupwizard/library/gingerbread/src/com/android/setupwizardlib/view/
DRichTextView.java112 public void setText(CharSequence text, BufferType type) { in setText()
/frameworks/native/libs/vr/libpdx_default_transport/
Dpdx_benchmarks.cpp393 using BufferType = BufferWrapper< typedef in __anon1caffe9a0111::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/
DSoundTriggerTestActivity.java88 mDebugView.setText(mDebugView.getText(), TextView.BufferType.EDITABLE); in onCreate()
/frameworks/base/media/jni/
Dandroid_media_MediaDescrambler.cpp227 dstBuffer.type = BufferType::SHARED_MEMORY; in descramble()
/frameworks/av/media/codec2/sfplugin/
DCCodecBufferChannel.cpp463 dstBuffer.type = BufferType::NATIVE_HANDLE; in queueSecureInputBuffer()
466 dstBuffer.type = BufferType::SHARED_MEMORY; in queueSecureInputBuffer()
508 if (dstBuffer.type == BufferType::SHARED_MEMORY) { in queueSecureInputBuffer()

12