Home
last modified time | relevance | path

Searched refs:BufferType (Results 1 – 25 of 44) 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 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.java32 import android.widget.TextView.BufferType;
53 { "Enabled - StaticLayout", true, BufferType.NORMAL}, in layouts()
54 { "Disabled - StaticLayout", false, BufferType.NORMAL}, in layouts()
55 { "Enabled - DynamicLayout", true, BufferType.EDITABLE}, in layouts()
56 { "Disabled - DynamicLayout", false, BufferType.EDITABLE}, in layouts()
65 private final BufferType mBufferType;
68 BufferType bufferType) { in TextViewFallbackLineSpacingTest()
114 if (mBufferType == BufferType.NORMAL) { in testFallbackLineSpacing()
DTextViewTest.java40 import android.widget.TextView.BufferType;
105 mTextView.setText(originalText, TextView.BufferType.SPANNABLE); in testProcessTextActivityResultNonEditable()
129 mTextView.setText(originalText, TextView.BufferType.SPANNABLE); in testProcessTextActivityResultEditable()
147 mTextView.setText(originalText, TextView.BufferType.SPANNABLE); in testProcessTextActivityResultCancel()
166 mTextView.setText(originalText, TextView.BufferType.SPANNABLE); in testProcessTextActivityNoData()
281 mTextView.setText(text, BufferType.SPANNABLE); in testUseDynamicLayout_SPANNABLE()
286 mTextView.setText(text, BufferType.SPANNABLE); in testUseDynamicLayout_SPANNABLE()
290 mTextView.setText(precomputed, BufferType.SPANNABLE); in testUseDynamicLayout_SPANNABLE()
294 mTextView.setText(precomputed, BufferType.SPANNABLE); in testUseDynamicLayout_SPANNABLE()
307 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()
/frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/vo/
DTextViewBindingObject.java63 private TextView.BufferType mBufferType = TextView.BufferType.NORMAL;
129 public TextView.BufferType getBufferType() { in getBufferType()
278 mBufferType = TextView.BufferType.SPANNABLE; in changeValues()
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/
DCryptoPlugin.cpp33 using ::android::hardware::drm::V1_0::BufferType;
73 if (destination.type == BufferType::SHARED_MEMORY) { in decrypt()
97 if (destination.type == BufferType::SHARED_MEMORY) { in decrypt()
110 } else if (destination.type == BufferType::NATIVE_HANDLE) { in decrypt()
/frameworks/base/libs/hwui/
DPixelBuffer.h48 enum BufferType { kBufferType_Auto, kBufferType_CPU }; enum
66 BufferType type = kBufferType_Auto);
DPixelBuffer.cpp148 PixelBuffer* PixelBuffer::create(GLenum format, uint32_t width, uint32_t height, BufferType type) { in create()
/frameworks/av/include/media/
DOMXBuffer.h110 enum BufferType { enum
119 BufferType mBufferType;
/frameworks/av/media/libmedia/include/media/
DOMXBuffer.h110 enum BufferType { enum
119 BufferType mBufferType;
/frameworks/av/media/libmedia/
DOMXBuffer.cpp115 BufferType bufferType = (BufferType) parcel->readInt32(); in readFromParcel()
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/
DTextViewBindingAdapterTest.java250 private static TextView.BufferType getBufferType(TextView view) { in getBufferType()
253 return TextView.BufferType.EDITABLE; in getBufferType()
256 return TextView.BufferType.SPANNABLE; in getBufferType()
258 return TextView.BufferType.NORMAL; in getBufferType()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/widget/
DLinkTextView.java41 public void setText(CharSequence text, BufferType type) { in setText()
/frameworks/support/v7/appcompat/src/androidTest/java/androidx/appcompat/widget/
DAppCompatEditTextTest.java57 public void setText(CharSequence text, BufferType type) { in setText()
/frameworks/av/drm/libmediadrm/
DCryptoHal.cpp34 using ::android::hardware::drm::V1_0::BufferType;
367 hDestination.type = BufferType::SHARED_MEMORY; in decrypt()
375 hDestination.type = BufferType::NATIVE_HANDLE; in decrypt()
/frameworks/av/media/libstagefright/
DACodecBufferChannel.cpp174 dstBuffer.type = BufferType::NATIVE_HANDLE; in queueSecureInputBuffer()
177 dstBuffer.type = BufferType::SHARED_MEMORY; in queueSecureInputBuffer()
207 if (dstBuffer.type == BufferType::SHARED_MEMORY) { in queueSecureInputBuffer()
/frameworks/base/core/tests/coretests/src/android/text/method/
DForwardDeleteTest.java27 import android.widget.TextView.BufferType;
59 mTextView.setText(state.mText, BufferType.EDITABLE); in forwardDelete()
DBackspaceTest.java27 import android.widget.TextView.BufferType;
61 mTextView.setText(state.mText, BufferType.EDITABLE); in backspace()
/frameworks/base/apct-tests/perftests/core/src/android/widget/
DEditTextCursorMovementPerfTest.java88 editText.setText(mText, TextView.BufferType.EDITABLE); in testCursorMovement()
DEditTextBackspacePerfTest.java88 editText.setText(mText, TextView.BufferType.EDITABLE); in prepareTextForBackspace()
DEditTextLongTextPerfTest.java98 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/support/emoji/core/src/androidTest/java/androidx/emoji/util/
DKeyboardUtil.java139 textView.setText("", TextView.BufferType.EDITABLE); in initTextViewForSimulatedIme()

12