/frameworks/native/libs/vr/libvrflinger/ |
D | acquired_buffer.cpp | 13 : buffer_(buffer), acquire_fence_(std::move(acquire_fence)) {} in AcquiredBuffer() 30 acquire_fence_ = std::move(fence); in AcquiredBuffer() 35 : buffer_(std::move(other.buffer_)), in AcquiredBuffer() 36 acquire_fence_(std::move(other.acquire_fence_)) {} in AcquiredBuffer() 44 buffer_ = std::move(other.buffer_); in operator =() 45 acquire_fence_ = std::move(other.acquire_fence_); in operator =() 73 return std::move(acquire_fence_); in ClaimAcquireFence() 77 return std::move(buffer_); in ClaimBuffer()
|
/frameworks/base/core/java/android/text/ |
D | Selection.java | 141 int move; in moveUp() local 146 move = layout.getOffsetForHorizontal(line - 1, h); in moveUp() 148 move = layout.getLineStart(line - 1); in moveUp() 151 setSelection(text, move); in moveUp() 187 int move; in moveDown() local 192 move = layout.getOffsetForHorizontal(line + 1, h); in moveDown() 194 move = layout.getLineStart(line + 1); in moveDown() 197 setSelection(text, move); in moveDown() 266 int move; in extendUp() local 271 move = layout.getOffsetForHorizontal(line - 1, h); in extendUp() [all …]
|
/frameworks/compile/mclinker/unittests/ |
D | BinTreeTest.cpp | 120 pos.move<InputTree::Inclusive>(); in TEST_F() 123 pos.move<InputTree::Inclusive>(); in TEST_F() 147 pos.move<InputTree::Inclusive>(); in TEST_F() 149 pos.move<InputTree::Positional>(); in TEST_F() 151 pos.move<InputTree::Positional>(); in TEST_F() 153 pos.move<InputTree::Positional>(); in TEST_F() 190 pos.move<InputTree::Inclusive>(); in TEST_F() 193 pos.move<InputTree::Inclusive>(); in TEST_F() 219 pos.move<InputTree::Inclusive>(); in TEST_F() 221 pos.move<InputTree::Positional>(); in TEST_F() [all …]
|
/frameworks/base/tools/aapt2/xml/ |
D | XmlDom.cpp | 69 stack->node_stack.top()->AppendChild(std::move(stack->last_text_node)); in FinishPendingText() 84 stack->node_stack.top()->AppendChild(std::move(node)); in AddToStack() 86 stack->root = std::move(node); in AddToStack() 109 AddToStack(stack, parser, std::move(ns)); in StartNamespaceHandler() 143 el->attributes.insert(iter, std::move(attribute)); in StartElementHandler() 146 el->comment = std::move(stack->pending_comment); in StartElementHandler() 147 AddToStack(stack, parser, std::move(el)); in StartElementHandler() 223 std::move(stack.root)); in Inflate() 256 el->attributes.push_back(std::move(attr)); in CopyAttributes() 294 new_node = std::move(node); in Inflate() [all …]
|
/frameworks/support/v7/recyclerview/jvm-tests/src/android/support/v7/util/ |
D | DiffUtilTest.java | 166 move(2, 0); in testGen7() 177 move(2, 0); in testGen8() 185 move(0, 2); in testGen9() 192 move(0, 1); in testGen10() 193 move(1, 2); in testGen10() 201 move(2, 0); in testGen11() 202 move(2, 3); in testGen11() 209 move(3, 0); in testGen12() 210 move(2, 1); in testGen12() 217 move(3, 2); in testGen13() [all …]
|
/frameworks/av/media/libmedia/ |
D | OMXBuffer.cpp | 176 mBufferType = std::move(source.mBufferType); in operator =() 177 mRangeOffset = std::move(source.mRangeOffset); in operator =() 178 mRangeLength = std::move(source.mRangeLength); in operator =() 179 mMem = std::move(source.mMem); in operator =() 180 mGraphicBuffer = std::move(source.mGraphicBuffer); in operator =() 181 mNativeHandle = std::move(source.mNativeHandle); in operator =() 182 mHidlMemory = std::move(source.mHidlMemory); in operator =()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
D | StorageNotification.java | 130 final MoveInfo move = new MoveInfo(); 131 move.moveId = moveId; 132 move.extras = extras; 134 move.packageName = extras.getString(Intent.EXTRA_PACKAGE_NAME); 135 move.label = extras.getString(Intent.EXTRA_TITLE); 136 move.volumeUuid = extras.getString(VolumeRecord.EXTRA_FS_UUID); 138 mMoves.put(moveId, move); 143 final MoveInfo move = mMoves.get(moveId); 144 if (move == null) { 150 onMoveFinished(move, status); [all …]
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | SystemGesturesPointerEventListener.java | 190 private int detectSwipe(MotionEvent move) { in detectSwipe() argument 191 final int historySize = move.getHistorySize(); in detectSwipe() 192 final int pointerCount = move.getPointerCount(); in detectSwipe() 194 final int pointerId = move.getPointerId(p); in detectSwipe() 198 final long time = move.getHistoricalEventTime(h); in detectSwipe() 199 final float x = move.getHistoricalX(p, h); in detectSwipe() 200 final float y = move.getHistoricalY(p, h); in detectSwipe() 206 final int swipe = detectSwipe(i, move.getEventTime(), move.getX(p), move.getY(p)); in detectSwipe()
|
/frameworks/base/tools/aapt2/compile/ |
D | PseudolocaleGenerator.cpp | 91 merged_spans.push_back(std::move(*span_iter)); in MergeSpans() 94 merged_spans.push_back(std::move(*untranslatable_iter)); in MergeSpans() 100 merged_spans.push_back(std::move(*span_iter)); in MergeSpans() 105 merged_spans.push_back(std::move(*untranslatable_iter)); in MergeSpans() 205 localized.str = std::move(new_string); in PseudolocalizeStyledString() 210 localized.spans.push_back(Span{std::move(span.tag.value()), span.first_char, span.last_char}); in PseudolocalizeStyledString() 234 localized->values[i] = std::move(sub_visitor.item); in Visit() 242 value = std::move(localized); in Visit() 273 item = std::move(localized); in Visit() 321 localized_value = std::move(visitor.value); in PseudolocalizeIfNeeded() [all …]
|
/frameworks/base/tools/aapt2/link/ |
D | PrivateAttributeMover.cpp | 36 *result = std::move(*new_end); in move_if() 44 *result = std::move(*first); in move_if() 49 *new_end = std::move(*first); in move_if() 85 priv_attr_type->entries = std::move(private_attr_entries); in Consume()
|
/frameworks/base/tools/aapt2/test/ |
D | Context.h | 121 context_->GetExternalSymbols()->AppendSource(std::move(src)); in AddSymbolSource() 130 std::unique_ptr<Context> Build() { return std::move(context_); } in Build() 141 util::make_unique<SymbolTable::Symbol>(id, std::move(attr), true); 144 symbol_source_->symbols_.push_back(std::move(symbol)); 151 util::make_unique<SymbolTable::Symbol>(id, std::move(attr), false); 154 symbol_source_->symbols_.push_back(std::move(symbol)); 159 return std::move(symbol_source_); in Build()
|
D | Builders.h | 102 return AddValue(name, {}, std::move(value)); in AddValue() 107 return AddValue(name, {}, id, std::move(value)); in AddValue() 113 CHECK(table_->AddResourceAllowMangled(res_name, id, config, {}, std::move(value), in AddValue() 128 std::unique_ptr<ResourceTable> Build() { return std::move(table_); } in Build() 171 std::unique_ptr<Value> Build() { return std::move(value_); } in Build() 197 std::unique_ptr<Attribute> Build() { return std::move(attr_); } in Build() 216 Style::Entry{Reference(ParseNameOrDie(str)), std::move(value)}); in AddItem() 222 AddItem(str, std::move(value)); in AddItem() 227 std::unique_ptr<Style> Build() { return std::move(style_); } in Build() 245 std::unique_ptr<Styleable> Build() { return std::move(styleable_); } in Build()
|
/frameworks/base/tools/aapt2/ |
D | DominatorTree.cpp | 47 return AddChild(std::move(new_child)); in TryAddChild() 56 new_child->children_.push_back(std::move(child)); in AddChild() 73 child->AddChild(std::move(new_child)); in AddChild() 79 children_.push_back(std::move(new_child)); in AddChild()
|
/frameworks/native/libs/vr/libpdx_uds/ |
D | client_channel_factory.cpp | 43 : socket_{std::move(socket)} {} in ClientChannelFactory() 54 new ClientChannelFactory{std::move(socket)}}; in Create() 130 socket_ = std::move(connection_info.channel_fd); in Connect() 153 LocalHandle event_fd = std::move(response.file_descriptors[ref]); in Connect() 155 std::move(socket_), std::move(event_fd))); in Connect()
|
D | client_channel.cpp | 23 *handle = std::move(response.file_descriptors[index]); in GetLocalFileHandle() 36 std::move(channel_info.data_fd), std::move(channel_info.event_fd)); in GetLocalChannelHandle() 46 request.file_descriptors.push_back(std::move(handle)); in PushFileHandle() 59 request.channels.push_back(std::move(channel_info)); in PushChannelHandle() 136 : channel_handle_{std::move(channel_handle)} { in ClientChannel() 143 new ClientChannel{std::move(channel_handle)}}; in Create() 227 status.SetValue(std::move(handle)); in SendWithFileHandle() 247 status.SetValue(std::move(handle)); in SendWithChannelHandle()
|
D | service_endpoint.cpp | 39 *handle = std::move(request.file_descriptors[index]); in GetLocalFileHandle() 52 std::move(channel_info.data_fd), std::move(channel_info.event_fd)); in GetLocalChannelHandle() 62 response.file_descriptors.push_back(std::move(handle)); in PushFileHandle() 75 response.channels.push_back(std::move(channel_info)); in PushChannelHandle() 87 channel_info.data_fd = std::move(data_fd); in PushChannelHandle() 88 channel_info.event_fd = std::move(event_fd); in PushChannelHandle() 89 response.channels.push_back(std::move(channel_info)); in PushChannelHandle() 165 Init(std::move(fd)); 168 Endpoint::Endpoint(LocalHandle socket_fd) { Init(std::move(socket_fd)); } in Endpoint() 203 socket_fd_ = std::move(socket_fd); in Init() [all …]
|
D | client_channel_tests.cpp | 48 : ServiceBase{"TestService", std::move(endpoint)} {} in TestService() 82 endpoint->RegisterNewChannelForTests(std::move(channel_socket)); in TestServiceRunner() 83 service_ = TestService::Create(std::move(endpoint)); in TestServiceRunner() 111 service_runner_.reset(new TestServiceRunner{std::move(service_channel)}); in SetUp() 112 auto factory = ClientChannelFactory::Create(std::move(client_channel)); in SetUp()
|
/frameworks/native/libs/vr/libpdx/private/pdx/ |
D | status.h | 35 Status(T&& value) : value_{std::move(value)} {} // NOLINT(runtime/explicit) in Status() 45 : value_{std::move(other.value_)}, error_{other.error_} { in Status() 53 value_ = std::move(other.value_); 63 value_ = std::move(value); in SetValue() 97 return std::move(value_); in take()
|
/frameworks/base/core/tests/coretests/src/android/transition/ |
D | AutoTransitionTest.java | 41 Transition move = autoTransition.getTransitionAt(1); in testFadeOutMoveFadeIn() local 42 assertNotNull(move); in testFadeOutMoveFadeIn() 43 assertTrue(move instanceof ChangeBounds); in testFadeOutMoveFadeIn()
|
/frameworks/base/tools/aapt2/util/ |
D | Maybe.h | 102 Maybe& move(Maybe<U>&& rhs); 142 new (&storage_) T(std::move(reinterpret_cast<T&>(rhs.storage_))); in Maybe() 154 new (&storage_) T(std::move(reinterpret_cast<U&>(rhs.storage_))); in Maybe() 197 return move(std::forward<Maybe<T>>(rhs)); 203 return move(std::forward<Maybe<U>>(rhs)); 208 Maybe<T>& Maybe<T>::move(Maybe<U>&& rhs) { in move() function 216 std::move(reinterpret_cast<U&>(rhs.storage_)); in move() 224 new (&storage_) T(std::move(reinterpret_cast<U&>(rhs.storage_))); in move()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | OpReorderer.java | 160 private void swapMoveAdd(List<UpdateOp> list, int move, UpdateOp moveOp, int add, in swapMoveAdd() argument 177 list.set(move, addOp); in swapMoveAdd() 181 void swapMoveUpdate(List<UpdateOp> list, int move, UpdateOp moveOp, int update, in swapMoveUpdate() argument 205 list.set(move, updateOp); in swapMoveUpdate() 207 list.remove(move); in swapMoveUpdate() 211 list.add(move, extraUp1); in swapMoveUpdate() 214 list.add(move, extraUp2); in swapMoveUpdate()
|
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
D | OpReorderer.java | 160 private void swapMoveAdd(List<UpdateOp> list, int move, UpdateOp moveOp, int add, in swapMoveAdd() argument 177 list.set(move, addOp); in swapMoveAdd() 181 void swapMoveUpdate(List<UpdateOp> list, int move, UpdateOp moveOp, int update, in swapMoveUpdate() argument 205 list.set(move, updateOp); in swapMoveUpdate() 207 list.remove(move); in swapMoveUpdate() 211 list.add(move, extraUp1); in swapMoveUpdate() 214 list.add(move, extraUp2); in swapMoveUpdate()
|
/frameworks/native/libs/vr/libpdx/ |
D | encoder_performance_test.cpp | 221 tests_.emplace_back(name, std::move(serialize_test), in AddTestFunc() 222 std::move(deserialize_test), data_size); in AddTestFunc() 233 tests_.emplace_back(name, std::move(serialize_test), in AddSerializationTest() 246 std::move(deserialize_test), data_size); in AddDeserializationTest() 268 tests_.emplace_back(name, std::move(serialize_test), in AddTest() 269 std::move(deserialize_test), data_size); in AddTest() 394 serialize_test{std::move(serialize_test)}, 395 deserialize_test{std::move(deserialize_test)}, 426 test_runner.AddTestFunc("--Baseline--", std::move(serialize_base_test), in main() 427 std::move(deserialize_base_test), len); in main() [all …]
|
/frameworks/base/tools/aapt2/proto/ |
D | TableProtoDeserializer.cpp | 172 return std::move(ref); in DeserializeItemFromPb() 250 attr->symbols.push_back(std::move(symbol)); in DeserializeValueFromPb() 252 value = std::move(attr); in DeserializeValueFromPb() 268 style->parent.value().SetSource(std::move(parent_source)); in DeserializeValueFromPb() 285 style->entries.push_back(std::move(entry)); in DeserializeValueFromPb() 287 value = std::move(style); in DeserializeValueFromPb() 296 styleable->entries.push_back(std::move(attr_ref)); in DeserializeValueFromPb() 298 value = std::move(styleable); in DeserializeValueFromPb() 311 array->items.push_back(std::move(item)); in DeserializeValueFromPb() 313 value = std::move(array); in DeserializeValueFromPb() [all …]
|
/frameworks/base/core/jni/android/graphics/ |
D | FontFamily.cpp | 73 builder->langId, builder->variant, std::move(builder->fonts)); in FontFamily_create() 77 return reinterpret_cast<jlong>(new FontFamilyWrapper(std::move(family))); in FontFamily_create() 107 std::unique_ptr<SkStreamAsset> fontData(new SkMemoryStream(std::move(data))); in addSkTypeface() 121 std::make_shared<MinikinFontSkia>(std::move(face), fontPtr, fontSize, ttcIndex, in addSkTypeface() 189 return addSkTypeface(builder, std::move(data), ttcIndex, weight, isItalic); in FontFamily_addFont() 211 return addSkTypeface(builder, std::move(data), ttcIndex, weight, isItalic); in FontFamily_addFontWeightStyle() 258 return addSkTypeface(builder, std::move(data), ttcIndex, weight, isItalic); in FontFamily_addFontFromAssetManager()
|