Home
last modified time | relevance | path

Searched refs:move (Results 1 – 25 of 68) sorted by relevance

123

/packages/apps/Launcher3/tests/src/com/android/launcher3/touch/
DSwipeDetectorTest.java81 mGenerator.move(0, 100, 100 - mTouchSlop); in testDragStart_verticalPositive()
91 mGenerator.move(0, 100, 100 + mTouchSlop); in testDragStart_verticalNegative()
99 mGenerator.move(0, 100 + mTouchSlop, 100); in testDragStart_failed()
110 mGenerator.move(0, 100 + mTouchSlop, 100); in testDragStart_horizontalPositive()
121 mGenerator.move(0, 100 - mTouchSlop, 100); in testDragStart_horizontalNegative()
132 mGenerator.move(0, 100 - mTouchSlop, 100); in testDragStart_horizontalRtlPositive()
143 mGenerator.move(0, 100 + mTouchSlop, 100); in testDragStart_horizontalRtlNegative()
151 mGenerator.move(0, 100, 100 + mTouchSlop); in testDrag()
159 mGenerator.move(0, 100, 100 + mTouchSlop); in testDragEnd()
160 mGenerator.move(0, 100, 100 + mTouchSlop * 2); in testDragEnd()
/packages/inputmethods/LatinIME/native/dicttoolkit/tests/utils/
Darguments_parser_test.cpp30 ArgumentsParser(std::move(optionSpecs), std::move(argumentSpecs)).validateSpecs()); in TEST()
41 ArgumentsParser(std::move(optionSpecs), std::move(argumentSpecs)).validateSpecs()); in TEST()
49 std::move(argumentSpecs)).validateSpecs()); in TEST()
58 std::move(argumentSpecs)).validateSpecs()); in TEST()
67 std::move(argumentSpecs)).validateSpecs()); in TEST()
100 ArgumentsParser(std::move(optionSpecs), std::move(argumentSpecs)); in TEST()
/packages/apps/Launcher3/tests/src/com/android/launcher3/testcomponent/
DTouchEventGenerator.java123 public TouchEventGenerator move(long ms) { in move() method in TouchEventGenerator
134 public TouchEventGenerator move() { in move() method in TouchEventGenerator
135 return move(TIME_INCREMENT_MS); in move()
141 public TouchEventGenerator move(int id, int x, int y, long ms) { in move() method in TouchEventGenerator
142 return position(id, x, y).move(ms); in move()
148 public TouchEventGenerator move(int id, int x, int y) { in move() method in TouchEventGenerator
149 return move(id, x, y, TIME_INCREMENT_MS); in move()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
DMessageMove.java168 final MessageMove move = movesMap.valueAt(i); in getMoves() local
170 if ((move.mServerId == null || move.mServerId.length() == 0) || in getMoves()
171 move.mSrcFolderKey == move.mDstFolderKey) { in getMoves()
172 unmovedMessages[unmovedMessagesCount] = move.mMessageKey; in getMoves()
175 moves.add(move); in getMoves()
/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/
Ddocumenttest.cpp365 Document b(std::move(a)); in TYPED_TEST()
378 Document c = std::move(b); in TYPED_TEST()
398 Document b(std::move(a)); in TYPED_TEST()
406 Document c(std::move(b)); in TYPED_TEST()
435 Document b(std::move(a));
439 Document c = std::move(b);
459 b = std::move(a); in TYPED_TEST()
473 c = std::move(b); in TYPED_TEST()
494 b = std::move(a); in TYPED_TEST()
503 c = std::move(b); in TYPED_TEST()
[all …]
Dstringbuffertest.cpp120 StringBuffer y(std::move(x)); in TEST()
126 StringBuffer z = std::move(y); in TEST()
144 y = std::move(x); in TEST()
Dvaluetest.cpp86 Value y(std::move(x)); in TEST()
92 Value z = std::move(y); in TEST()
132 x = std::move(y); in TEST()
137 y = std::move(Value().SetInt(1234)); in TEST()
769 …y.PushBack(std::move(Value(kArrayType).PushBack(Value(1), allocator).PushBack("foo", allocator)), … in TEST()
986 …o.AddMember("uint", std::move(Value().SetUint(1u)), allocator); // name is literal, value is rvalue in TEST()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/
Ddictionary_structure_with_buffer_policy_factory.cpp97 new StructurePolicy(std::move(dictBuffers))); in newPolicyForOnMemoryV4Dict()
126 headerFilePath, formatVersion, std::move(mmappedBuffer)); in newPolicyForDirectoryDict()
132 headerFilePath, formatVersion, std::move(mmappedBuffer)); in newPolicyForDirectoryDict()
157 DictBuffers::openVer4DictBuffers(dictPath, std::move(mmappedBuffer), formatVersion); in newPolicyForV4Dict()
165 new StructurePolicy(std::move(dictBuffers))); in newPolicyForV4Dict()
185 new PatriciaTriePolicy(std::move(mmappedBuffer))); in newPolicyForFileDict()
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
DDragGestureDetector.java84 move(event, false); in onTouchEvent()
91 move(event, true); in onTouchEvent()
104 private void move(MotionEvent event, boolean drop) { in move() method in DragGestureDetector
105 mTable.move(mTable.getFocus(), in move()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/
Dver4_dict_buffers.cpp65 return Ver4DictBuffersPtr(new Ver4DictBuffers(std::move(headerBuffer), std::move(bodyBuffer), in openVer4DictBuffers()
174 : mHeaderBuffer(std::move(headerBuffer)), mDictBuffer(std::move(bodyBuffer)), in Ver4DictBuffers()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/property/
Dunigram_property.h32 : mTargetCodePoints(std::move(targetCodePoints)), in ShortcutProperty()
63 mHistoricalInfo(historicalInfo), mShortcuts(std::move(shortcuts)) {} in UnigramProperty()
81 mHistoricalInfo(historicalInfo), mShortcuts(std::move(shortcuts)) {} in UnigramProperty()
/packages/inputmethods/LatinIME/native/jni/
Dcom_android_inputmethod_latin_BinaryDictionary.cpp66 new Dictionary(env, std::move(dictionaryStructureWithBufferPolicy)); in latinime_BinaryDictionary_open()
95 new Dictionary(env, std::move(dictionaryStructureWithBufferPolicy)); in latinime_BinaryDictionary_createOnMemory()
375 shortcuts.emplace_back(std::move(shortcutTargetCodePoints), shortcutProbability); in latinime_BinaryDictionary_addUnigramEntry()
381 1 /* count */), std::move(shortcuts)); in latinime_BinaryDictionary_addUnigramEntry()
580 std::move(dictionaryStructureWithBufferPolicy), dictFilePathChars); in latinime_BinaryDictionary_migrateNative()
601 std::move(dictionaryStructureWithBufferPolicy), dictFilePathChars); in latinime_BinaryDictionary_migrateNative()
/packages/inputmethods/LatinIME/native/dicttoolkit/src/command_executors/
Dheader_executor.cpp45 return ArgumentsParser(std::move(optionSpecs), std::move(argumentSpecs)); in getArgumentsParser()
Ddiff_executor.cpp45 return ArgumentsParser(std::move(optionSpecs), std::move(argumentSpecs)); in getArgumentsParser()
Dinfo_executor.cpp50 return ArgumentsParser(std::move(optionSpecs), std::move(argumentSpecs)); in getArgumentsParser()
Dmakedict_executor.cpp57 return ArgumentsParser(std::move(optionSpecs), std::move(argumentSpecs)); in getArgumentsParser()
/packages/inputmethods/LatinIME/native/dicttoolkit/src/utils/
Darguments_and_options.h35 : mIsValid(true), mOptions(std::move(options)), mArguments(std::move(arguments)) {} in ArgumentsAndOptions()
Darguments_parser.h102 : mOptionSpecs(std::move(optionSpecs)), mArgumentSpecs(std::move(argumentSpecs)) {} in ArgumentsParser()
Darguments_parser.cpp161 return ArgumentsAndOptions(std::move(options), std::move(arguments)); in parseArguments()
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/
Dstringbuffer.h42 GenericStringBuffer(GenericStringBuffer&& rhs) : stack_(std::move(rhs.stack_)) {} in GenericStringBuffer()
45 stack_ = std::move(rhs.stack_);
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/
Dver4_dict_buffers.cpp49 return Ver4DictBuffersPtr(new Ver4DictBuffers(dictPath, std::move(headerBuffer), isUpdatable, in openVer4DictBuffers()
131 : mHeaderBuffer(std::move(headerBuffer)), in Ver4DictBuffers()
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/
Dtutorial.md286 ![Assignment with move semantics.](diagram/move1.png)
312 To make RapidJSON simple and fast, we chose to use *move* semantics for assignment. It is similar t…
314 So, with move semantics, the above example becomes:
329 This is called move assignment operator in C++11. As RapidJSON supports C++03, it adopts move seman…
470 `MemberIterator RemoveMember(MemberIterator)` uses a "move-last" trick to achieve constant time com…
/packages/apps/Bluetooth/jni/
Dcom_android_bluetooth_avrcp_target.cpp97 cb.Run(curr_song_id, std::move(now_playing_list)); in GetNowPlayingList()
103 cb.Run(current_player, std::move(player_list)); in GetMediaPlayerList()
602 ret_list.push_back(std::move(temp)); in getMediaPlayerList()
707 callback.Run(std::move(ret_list)); in getFolderItemsResponseNative()
Dcom_android_bluetooth_gatt.cpp1112 std::move(vect_val)); in gattClientWriteCharacteristicNative()
1139 std::move(vect_val)); in gattClientWriteDescriptorNative()
1233 std::move(filt_params), base::Bind(&scan_filter_param_cb, client_if)); in gattClientScanFilterParamAddNative()
1279 sGattIf->scanner->ScanFilterAdd(filter_index, std::move(native_filters), in gattClientScanFilterAddNative()
1371 sGattIf->scanner->ScanFilterAdd(filter_index, std::move(native_filters), in gattClientScanFilterAddNative()
1589 sGattIf->server->add_service(server_if, std::move(db)); in gattServerAddServiceNative()
1616 /*confirm*/ 1, std::move(vect_val)); in gattServerSendIndicationNative()
1631 /*confirm*/ 0, std::move(vect_val)); in gattServerSendNotificationNative()
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
DConversationData.java154 public boolean move(final int offset) { in move() method in ConversationData.ReversedCursor
155 return super.move(-offset); in move()
340 cursor.move(position); in getLastMessage()

123