Searched refs:BufferType (Results 1 - 25 of 40) sorted by relevance

12

/frameworks/native/libs/vr/libpdx/private/pdx/rpc/
H A Dthread_local_buffer.h46 using BufferType = std::vector<T, Allocator>;
67 static BufferType& GetBuffer(std::size_t capacity = Capacity) {
76 static BufferType& GetEmptyBuffer() {
85 static BufferType& GetSizedBuffer(std::size_t size = Capacity) {
104 GetBufferGuard().reset(buffer_ = new BufferType(capacity));
115 static thread_local BufferType* buffer_;
117 static std::unique_ptr<BufferType>& GetBufferGuard() {
119 static thread_local std::unique_ptr<BufferType> buffer_guard;
127 typename ThreadLocalBuffer<T, Allocator, Capacity, Slot>::BufferType*
H A 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
[all...]
H A Dpayload.h19 using BufferType = typename MessageBuffer<Slot>::BufferType;
30 typename BufferType::iterator& Cursor() { return cursor_; }
34 typename BufferType::const_iterator& ConstCursor() { return const_cursor_; }
37 typename BufferType::const_iterator ConstEnd() { return buffer_.cend(); }
71 BufferType& buffer_;
72 typename BufferType::iterator cursor_;
73 typename BufferType::const_iterator const_cursor_;
121 using BufferType = typename ContainerType::BufferType;
[all...]
/frameworks/base/core/tests/coretests/src/android/widget/
H A DTextViewFallbackLineSpacingTest.java32 import android.widget.TextView.BufferType;
52 // name, enabled, BufferType
53 { "Enabled - StaticLayout", true, BufferType.NORMAL},
54 { "Disabled - StaticLayout", false, BufferType.NORMAL},
55 { "Enabled - DynamicLayout", true, BufferType.EDITABLE},
56 { "Disabled - DynamicLayout", false, BufferType.EDITABLE},
65 private final BufferType mBufferType;
68 BufferType bufferType) {
114 if (mBufferType == BufferType.NORMAL) {
H A DTextViewTest.java40 import android.widget.TextView.BufferType;
105 mTextView.setText(originalText, TextView.BufferType.SPANNABLE);
129 mTextView.setText(originalText, TextView.BufferType.SPANNABLE);
147 mTextView.setText(originalText, TextView.BufferType.SPANNABLE);
166 mTextView.setText(originalText, TextView.BufferType.SPANNABLE);
281 mTextView.setText(text, BufferType.SPANNABLE);
286 mTextView.setText(text, BufferType.SPANNABLE);
290 mTextView.setText(precomputed, BufferType.SPANNABLE);
294 mTextView.setText(precomputed, BufferType.SPANNABLE);
307 mTextView.setText(text, BufferType
[all...]
/frameworks/base/core/java/android/widget/
H A DEditText.java116 super.setText(text, BufferType.EDITABLE);
121 public void setText(CharSequence text, BufferType type) {
122 super.setText(text, BufferType.EDITABLE);
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/
H A DCryptoPlugin.cpp33 using ::android::hardware::drm::V1_0::BufferType;
73 if (destination.type == BufferType::SHARED_MEMORY) {
97 if (destination.type == BufferType::SHARED_MEMORY) {
110 } else if (destination.type == BufferType::NATIVE_HANDLE) {
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/widget/
H A DLinkTextView.java41 public void setText(CharSequence text, BufferType type) {
/frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/vo/
H A DTextViewBindingObject.java63 private TextView.BufferType mBufferType = TextView.BufferType.NORMAL;
129 public TextView.BufferType getBufferType() {
278 mBufferType = TextView.BufferType.SPANNABLE;
/frameworks/base/libs/hwui/
H A DPixelBuffer.h48 enum BufferType { kBufferType_Auto, kBufferType_CPU }; enum in class:android::uirenderer::PixelBuffer
66 BufferType type = kBufferType_Auto);
H A DPixelBuffer.cpp148 PixelBuffer* PixelBuffer::create(GLenum format, uint32_t width, uint32_t height, BufferType type) {
/frameworks/support/v7/appcompat/src/androidTest/java/androidx/appcompat/widget/
H A DAppCompatEditTextTest.java57 public void setText(CharSequence text, BufferType type) {
/frameworks/av/include/media/
H A DOMXBuffer.h110 enum BufferType { enum in class:android::OMXBuffer
119 BufferType mBufferType;
/frameworks/av/media/libmedia/
H A DOMXBuffer.cpp115 BufferType bufferType = (BufferType) parcel->readInt32();
/frameworks/av/media/libmedia/include/media/
H A DOMXBuffer.h110 enum BufferType { enum in class:android::OMXBuffer
119 BufferType mBufferType;
/frameworks/base/apct-tests/perftests/core/src/android/widget/
H A DEditTextBackspacePerfTest.java88 editText.setText(mText, TextView.BufferType.EDITABLE);
H A DEditTextCursorMovementPerfTest.java88 editText.setText(mText, TextView.BufferType.EDITABLE);
H A DEditTextLongTextPerfTest.java98 editText.setText(sb.toString(), TextView.BufferType.EDITABLE);
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/
H A DTextViewBindingAdapterTest.java250 private static TextView.BufferType getBufferType(TextView view) {
253 return TextView.BufferType.EDITABLE;
256 return TextView.BufferType.SPANNABLE;
258 return TextView.BufferType.NORMAL;
/frameworks/av/drm/libmediadrm/
H A DCryptoHal.cpp34 using ::android::hardware::drm::V1_0::BufferType;
367 hDestination.type = BufferType::SHARED_MEMORY;
375 hDestination.type = BufferType::NATIVE_HANDLE;
/frameworks/opt/setupwizard/library/gingerbread/src/com/android/setupwizardlib/view/
H A DRichTextView.java112 public void setText(CharSequence text, BufferType type) {
/frameworks/opt/setupwizard/library/platform/src/com/android/setupwizardlib/view/
H A DRichTextView.java104 public void setText(CharSequence text, BufferType type) {
/frameworks/support/emoji/core/src/androidTest/java/androidx/emoji/util/
H A DKeyboardUtil.java139 textView.setText("", TextView.BufferType.EDITABLE);
/frameworks/support/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/app/
H A DFragmentReceiveResultSupport.java114 mResults.setText(mResults.getText(), TextView.BufferType.EDITABLE);
/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/app/
H A DFragmentReceiveResultSupport.java114 mResults.setText(mResults.getText(), TextView.BufferType.EDITABLE);

Completed in 1581 milliseconds

12